head 1.7; access; symbols pkgsrc-2026Q1:1.7.0.4 pkgsrc-2026Q1-base:1.7 pkgsrc-2025Q4:1.7.0.2 pkgsrc-2025Q4-base:1.7 pkgsrc-2025Q3:1.6.0.4 pkgsrc-2025Q3-base:1.6 pkgsrc-2025Q2:1.6.0.2 pkgsrc-2025Q2-base:1.6 pkgsrc-2025Q1:1.5.0.2 pkgsrc-2025Q1-base:1.5 pkgsrc-2024Q4:1.4.0.8 pkgsrc-2024Q4-base:1.4 pkgsrc-2024Q3:1.4.0.6 pkgsrc-2024Q3-base:1.4 pkgsrc-2024Q2:1.4.0.4 pkgsrc-2024Q2-base:1.4 pkgsrc-2024Q1:1.4.0.2 pkgsrc-2024Q1-base:1.4 pkgsrc-2023Q4:1.2.0.8 pkgsrc-2023Q4-base:1.2 pkgsrc-2023Q3:1.2.0.6 pkgsrc-2023Q3-base:1.2 pkgsrc-2023Q2:1.2.0.4 pkgsrc-2023Q2-base:1.2 pkgsrc-2023Q1:1.2.0.2 pkgsrc-2023Q1-base:1.2; locks; strict; comment @# @; 1.7 date 2025.10.26.08.11.05; author vins; state Exp; branches; next 1.6; commitid uFTz7PzI7hWVo3gG; 1.6 date 2025.05.08.19.10.34; author vins; state Exp; branches; next 1.5; commitid VeZfHxDSiLf8y8UF; 1.5 date 2025.01.13.05.29.07; author vins; state Exp; branches; next 1.4; commitid YpRhCmselZgtHhFF; 1.4 date 2024.03.09.23.59.38; author vins; state Exp; branches; next 1.3; commitid 9A9k1YZDkNxdOx1F; 1.3 date 2024.01.18.20.57.03; author vins; state Exp; branches; next 1.2; commitid EeisGXi9u1KhrYUE; 1.2 date 2023.02.23.21.38.48; author vins; state Exp; branches; next 1.1; commitid GpNpOdpQr6BVeHeE; 1.1 date 2023.02.12.16.34.15; author vins; state Exp; branches; next ; commitid Y4fozulRGjRmUfdE; desc @@ 1.7 log @we/cde: again, add verbosity to the READMEs to avoid confusion Following a discussion on r/NetBSD. @ text @+---------------------------------------------------------------------- | First steps with CDE on pkgsrc +---------------------------------------------------------------------- To add the required authenticaion policies to your PAM configuration, import the policy files provided with the package: $ for i in cde dtlogin dtsession; do > cp @@PREFIX@@/share/examples/pam.d/$i /etc/pam.d > done ----------------------------------------------------------------------- To provide support for CDE font aliases, the required font paths must appended to the standard X server configuration. This can be done by creating a `99-fonts.conf' file with the following content: Section "Files" FontPath "@@PREFIX@@/share/fonts/100dpi/" FontPath "@@PREFIX@@/share/fonts/75dpi/" FontPath "@@PREFIX@@/dt/share/cde/fontaliases" EndSection Place the file inside either: - /etc/X11/xorg.conf.d # native X11 - @@PREFIX@@/etc/X11/xorg.conf.d # modular X11 NB: Create the xorg.conf.d target directory if it doesn't exist already. ----------------------------------------------------------------------- For ttsession to work, your hostname needs to be aliased to the localhost and the loopback address inside /etc/hosts. NOTE: in the example below, replace "hostname" with your actual host's name, as returned by hostname(1). Replace the wildcard in "localhost.*" with your domain name if you have any, or leave it blank. ::1 hostname localhost localhost.* 127.0.0.1 hostname localhost localhost.* ----------------------------------------------------------------------- To better access CDE applications: * Add dt/bin to your shell PATH: $ export PATH=$PATH:${PREFIX}/dt/bin * Add ${PREFIX}/dt/man to /etc/man.conf and run `makemandb'. ----------------------------------------------------------------------- To start the Common Desktop Environment, $ env LANG=C startx ${PREFIX}/dt/bin/Xsession Or use the provided `@@PREFIX@@/bin/startcde' script. Your user should be part of the '@@REAL_ROOT_GROUP@@' group to allow CDE to create the required directories upon startup. ----------------------------------------------------------------------- To start the Dt Login Manager, $ cp @@PREFIX@@/share/examples/rc.d/dtlogin /etc/rc.d $ service dtlogin onestart To enable the dtlogin service at startup, $ echo dtlogin=YES >> /etc/rc.conf ------------------------------------------------------------------------ NOTE: For better scrolling, consider adding this to your ~/.Xresources file *saveLines: 32000 *scrollBar: True @ 1.6 log @wm/cde: more verbose documentation @ text @d36 5 a40 1 localhost and the loopback address inside /etc/hosts: @ 1.5 log @wm/cde: README revision (NFC) @ text @d35 8 @ 1.4 log @wm/cde: standardise pam policy files location @ text @d31 2 d35 1 a35 1 To better access CDE applications, adjust your environment as follows: d37 1 d39 2 a40 1 $ export MANPATH=$MANPATH:${PREFIX}/dt/man @ 1.3 log @wm/cde: update to 2.5.2 This is mainly a bugfix release addressing various issues. Noticeably, this release included a fix to a bug reported on #netbsd irc by a couple of of users, resulting in a frozen display on saved sessions. # pkgsrc changes * Add session file for CDE to use with other display managers. * Update dtlogin service script and README. * Explcitely set utmp/wtmp file paths. * Use a PHONY target instead of pre-install for PAM files. * Remove redundant dependencies. # upstream changes (since 2.5.1) ### 2.5.2 (stable) 11/18/2023 Shortlog: Cy Schubert (1): * Fix build under LLVM15 Jon Trulson (9): * Apply various patches from Giacomo Comes * Patch from Giacomo Comes: rename ksh manpage to ksh-cde * Add DesktopNames=CDE to cde.desktop * pgadmin.dt: set icon from pgadmin to pgadmin3 * dtfile/dterror.ds: fix script defines typo * dtksh: enable SHOPT_ECHOPRINT * dticon, dtpad, dtterm: fix session save issues (sprintf bogosity) lib/DtHelp: strmove(): return memmove() result * .gitignore: add new locations of dtsession/dtlogin PAM files Peter Howkins (3): * (Pascal Stumpf) Makefile.am change several places where ${prefix} Dshould be $(CDE_INSTALLATION_TOP) * (Pascal Stumpf) CDE doesn't provide the ksh binary, don't install the manpage for it * (Pascal Stumpf) dtlogin: On OpenBSD start X as root (it drops privileges later) hyousatsu (15): * DtTerm: fix a segfault by allocating a string dynamically. * dtwm: fix a title bar resizing issue. * dtwm: fix compiler warnings. * dtwm: add support for _NET_WM_VISIBLE_NAME and _NET_WM_VISIBLE_ICON_NAME. * dtwm: optimize EWMH processing. * localized: fix the character encoding errors in zh_TW.UTF-8. * dtwm: add a new feature -- window rename. * dtwm: optimize EWMH processing. * dtwm: support _NET_WM_STATE_ABOVE and _NET_WM_STATE_BELOW. * dtsession: change the maximum size of cover dialog to fullscreen. * dtlogin: use sessreg to manage utmp/wtmp. * dtwm: fix a segfault. * dtstyle: make the style manager recognize wheel mouse correctly. * tt: make the ttserver process events properly. * dtsession: fix a crash. @ text @d7 4 a10 2 $ cp @@PREFIX@@/share/examples/cde/pam.d/* /etc/pam.d @ 1.2 log @wm/cde: add note for scrolling on dtterm. @ text @d1 9 d11 1 d31 1 a31 1 To use CDE applications, adjust your environment as follows: d33 2 a34 2 $ export PATH=$PATH:${PREFIX}/dt/bin $ export MANPATH=$MANPATH:${PREFIX}/dt/man d40 1 a40 1 $ env LANG=C startx ${PREFIX}/dt/bin/Xsession @ 1.1 log @wm/cde: import package from wip. The Common Desktop Environment (CDE) is a desktop environment for Unix and OpenVMS, based on the Motif widget toolkit. It was part of the UNIX 98 Workstation Product Standard, and was for a long time the Unix desktop associated with commercial Unix workstations. It helped to influence early implementations of successor projects such as KDE and GNOME desktop environment, which largely replaced CDE following the turn of the century. After a long history as proprietary software, CDE was released as free software on August 6, 2012, under the GNU Lesser General Public License, version 2.0 or later. Since its release as free software, CDE has been been ported to Linux, illumos and BSD derivatives. @ text @d9 3 a11 3 FontPath "${PREFIX}/share/fonts/100dpi/" FontPath "${PREFIX}/share/fonts/75dpi/" FontPath "${PREFIX}/dt/share/cde/fontaliases" d46 9 @