head 1.9; access; symbols pkgsrc-2026Q2:1.9.0.6 pkgsrc-2026Q2-base:1.9 pkgsrc-2026Q1:1.9.0.4 pkgsrc-2026Q1-base:1.9 pkgsrc-2025Q4:1.9.0.2 pkgsrc-2025Q4-base:1.9 pkgsrc-2025Q3:1.7.0.4 pkgsrc-2025Q3-base:1.7 pkgsrc-2025Q2:1.7.0.2 pkgsrc-2025Q2-base:1.7 pkgsrc-2025Q1:1.6.0.10 pkgsrc-2025Q1-base:1.6 pkgsrc-2024Q4:1.6.0.8 pkgsrc-2024Q4-base:1.6 pkgsrc-2024Q3:1.6.0.6 pkgsrc-2024Q3-base:1.6 pkgsrc-2024Q2:1.6.0.4 pkgsrc-2024Q2-base:1.6 pkgsrc-2024Q1:1.6.0.2 pkgsrc-2024Q1-base:1.6 pkgsrc-2023Q4:1.4.0.2 pkgsrc-2023Q4-base:1.4 pkgsrc-2023Q3:1.3.0.2 pkgsrc-2023Q3-base:1.3 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.9 date 2025.11.27.20.31.27; author vins; state Exp; branches; next 1.8; commitid VYo6evm8qKBmtekG; 1.8 date 2025.11.17.11.01.36; author wiz; state Exp; branches; next 1.7; commitid riyAI0LyQsKiDTiG; 1.7 date 2025.04.24.14.15.59; author wiz; state Exp; branches; next 1.6; commitid A3VBjL8Zdd4LljSF; 1.6 date 2024.03.09.23.59.38; author vins; state Exp; branches; next 1.5; commitid 9A9k1YZDkNxdOx1F; 1.5 date 2024.01.18.20.57.03; author vins; state Exp; branches; next 1.4; commitid EeisGXi9u1KhrYUE; 1.4 date 2023.11.12.13.23.46; author wiz; state Exp; branches; next 1.3; commitid SjpNXQIV5XeZ3kME; 1.3 date 2023.07.03.10.45.57; author vins; state Exp; branches; next 1.2; commitid sKGJJbLdNv2eslvE; 1.2 date 2023.02.23.19.10.06; author vins; state Exp; branches; next 1.1; commitid QF9csaydvBZfqGeE; 1.1 date 2023.02.12.16.34.15; author vins; state Exp; branches; next ; commitid Y4fozulRGjRmUfdE; desc @@ 1.9 log @wm/cde: update to 2.5.3 # noteworthy changes This is mainly a bugfix release addressing various issues. * dtfile: use sh instead of ksh for find command * dthelp/parser: use standard ctype case functions * dtwm: add support for more mouse buttons * dtcm: Chase FreeBSD src bb421be6c117 which moved ftime(3) * tradcpp: fix bool issue with newer compilers (GCC 15) * fix: t_optmgmt: Incorrect options format * libDtWidget: Do not mix wide and narrow operations on the same stream * Made a workaround to not use the sh_access * DtTerm/TermPrimUtil: Use 6 'X's in mktemp template * DtTerm/TermPrimUtil: Use mkstemp instead of mktemp * lib/DtTerm: Fix copy&paste error * lib/DtTerm: Remove dead assignments, initializations and increments * DtTerm/TermPrim: check pointer before traversing * Add systemd service file for dtlogin * dtterm: Fix title and icon Sun esc seqs * tt/ttauth: Update print_help() * tt/mini_isam: explicitly declare compfunc parameters * Merge /u/runlevel5/cde/ branch print-help-gcc15 into master * ksh93: fix a compilation error on 32-bit system. * DtMmdb: replace Berkeley DB with LMDB. * dtdocbook: link to lmdb. * DtMmdb: replace ostring with std::string. * Fix some warnings. * DtMmdb: fix a crash occurs when creating bookmark. * dtcreate: make pop-ups work properly. * dtwm: manage windows properly to avoid potential segmentation faults. @ text @# $NetBSD: Makefile,v 1.8 2025/11/17 11:01:36 wiz Exp $ DISTNAME= cde-2.5.3 CATEGORIES= wm x11 MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=cdesktopenv/files/src/} MAINTAINER= vins@@NetBSD.org HOMEPAGE= https://cdesktopenv.sourceforge.net/ COMMENT= Common Desktop Environment LICENSE= gnu-lgpl-v2 USE_LANGUAGES= c c++ USE_LIBTOOL= yes USE_TOOLS+= aclocal autoconf automake autoreconf USE_TOOLS+= awk:run bdftopcf gettext gmake gzip ksh USE_TOOLS+= lex mkfontdir patch perl pkg-config yacc MAKE_JOBS_SAFE= no PTHREAD_AUTO_VARS= yes BUILDLINK_TRANSFORM+= rm:-pthread BUILDLINK_PASSTHRU_DIRS+= ${PREFIX}/dt/lib .include "../../mk/bsd.fast.prefs.mk" DEPENDS+= ksh93-[0-9]*:../../shells/ksh93 DEPENDS+= font-adobe-75dpi-[0-9]*:../../fonts/font-adobe-75dpi DEPENDS+= font-adobe-100dpi-[0-9]*:../../fonts/font-adobe-100dpi .if ${X11_TYPE} == "modular" DEPENDS+= xrdb-[0-9]*:../../x11/xrdb DEPENDS+= xset-[0-9]*:../../x11/xset DEPENDS+= sessreg-[0-9]*:../../x11/sessreg .endif TOOL_DEPENDS+= gettext-m4-[0-9]*:../../devel/gettext-m4 GNU_CONFIGURE= yes GNU_CONFIGURE_PREFIX= ${PREFIX}/dt CONFIGURE_ENV+= ac_cv_path_KSH=${PREFIX}/bin/ksh93 CONFIGURE_ENV+= GZIP=${GZIP_CMD:Q} CONFIGURE_ARGS+= MAKE=${MAKE_PROGRAM:Q} CONFIGURE_ARGS+= --with-x CONFIGURE_ARGS+= --with-tcl=${BUILDLINK_PREFIX.tcl}/lib CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR}/dt CONFIGURE_ARGS+= --with-utmp-file=${VARBASE}/run/utmp CONFIGURE_ARGS+= --with-wtmp-file=${VARBASE}/log/wtmp .include "options.mk" REPLACE_PERL+= programs/dtinfo/tools/bin/ccdate REPLACE_AWK+= programs/dtlogin/config/Xsession.src REPLACE_INTERPRETER+= dtksh REPLACE.dtksh.old= .*/bin/dtksh REPLACE.dtksh.new= ${PREFIX}/dt/bin/dtksh REPLACE_FILES.dtksh+= programs/dthelp/dthelpgen/dthelpgen.dtsh REPLACE_INTERPRETER+= tclsh REPLACE.tclsh.old= .*/bin/tclsh REPLACE.tclsh.new= ${PREFIX}/bin/tclsh REPLACE_FILES.tclsh+= programs/dtdocbook/tcl/docbook.tcl CHECK_BUILTIN.iconv:= yes .include "../../converters/libiconv/builtin.mk" CHECK_BUILTIN.iconv:= no .if ${USE_BUILTIN.iconv:tl} == no SUBST_CLASSES+= iconv SUBST_STAGE.iconv= pre-configure SUBST_FILES.iconv+= programs/dtmail/libDtMail/Common/Session.C SUBST_FILES.iconv+= programs/dtmail/libDtMail/RFC/RFCBodyPart.C SUBST_SED.iconv= -e 's!^[[:space:]]*const char .ip = (const char .) .bp!char *ip = *bp!' SUBST_MESSAGE.iconv= Fix for GNU iconv. .endif SUBST_CLASSES+= paths SUBST_STAGE.paths= pre-configure SUBST_FILES.paths+= configure.ac SUBST_FILES.paths+= pkgsrc/cde.desktop pkgsrc/startcde SUBST_FILES.paths+= pkgsrc/README.* programs/dtlogin/Makefile.am SUBST_VARS.paths= PKG_SYSCONFDIR PREFIX REAL_ROOT_GROUP VARBASE X11BASE SUBST_MESSAGE.paths= Replacing path placeholders. MAKE_ENV+= x_includes=${X11BASE}/include MAKE_FLAGS+= YACC=${YACC:Q} MAKE_FLAGS+= PERL=${PERL5:Q} MAKE_FLAGS+= LDFLAGS=${LDFLAGS:M*:Q} SPECIAL_PERMS+= ${PREFIX}/dt/bin/dtterm ${SETUID_ROOT_PERMS} SPECIAL_PERMS+= ${PREFIX}/dt/bin/dtapppgather ${SETUID_ROOT_PERMS} SPECIAL_PERMS+= ${PREFIX}/dt/bin/dtmail ${REAL_ROOT_USER} mail 2755 RCD_SCRIPTS= dtlogin EGDIR= ${PREFIX}/share/examples/${PKGBASE} .for i in .alias .dir CONF_FILES+= ${PREFIX}/dt/share/cde/fontaliases/fonts${i} \ ${PKG_SYSCONFDIR}/dt/config/xfonts/C/fonts${i} .endfor BUILD_DEFS+= VARBASE OWN_DIRS+= ${VARBASE}/dt .for d in dt/appconfig/appmanager dt/tmp spool/calendar OWN_DIRS+= ${VARBASE}/${d} OWN_DIRS_PERMS+= ${VARBASE}/${d} ${REAL_ROOT_USER} ${REAL_ROOT_GROUP} 0770 .endfor OWN_DIRS+= ${PKG_SYSCONFDIR}/dt/config OWN_DIRS+= ${PKG_SYSCONFDIR}/dt/config/Xsession.d OWN_DIRS+= ${PKG_SYSCONFDIR}/dt/config/xfonts/C MAKE_DIRS+= share/xsessions INSTALLATION_DIRS+= bin share/doc/${PKGBASE} post-extract: ${RUN}${MKDIR} ${WRKSRC}/pkgsrc ${RUN}${CP} ${FILESDIR}/startcde.sh ${WRKSRC}/pkgsrc/startcde .for f in cde.desktop README.* ${RUN}${CP} ${FILESDIR}/${f} ${WRKSRC}/pkgsrc .endfor pre-configure: ${RUN}${CHMOD} u+w ${WRKDIR}/* ${RUN}for f in `${FIND} ${WRKSRC} -type f | ${XARGS} ${GREP} -l '/usr/bin/X11'`; do \ ${ECHO} Replacing X11 binary path in $$f ; \ ${SED} -e 's:/usr/bin/X11:${X11BASE}/bin:g' $$f > $$f.pdone && ${MV} $$f.pdone $$f; \ done ${RUN}for f in `${FIND} ${WRKSRC} -type f | ${XARGS} ${GREP} -l '/usr/dt'`; do \ ${ECHO} Replacing CDE prefix in $$f ; \ ${SED} -e 's:/usr/dt:${PREFIX}/dt:g' $$f > $$f.pdone && ${MV} $$f.pdone $$f; \ done ${RUN}for f in `${FIND} ${WRKSRC} -type f | ${XARGS} ${GREP} -l '/etc/dt'`; do \ ${ECHO} Replacing CDE syscondir in $$f ; \ ${SED} -e 's:/etc/dt:${PKG_SYSCONFDIR}/dt:g' $$f > $$f.pdone && ${MV} $$f.pdone $$f; \ done ${RUN}set -e; cd ${WRKSRC} && autoreconf -fiv post-install: pam-install ${RUN}${FIND} ${DESTDIR}${PREFIX}/dt -type f -perm -111 -exec \ ${SH} -c '${STRIP} --strip-unneeded {} > /dev/null 2>&1' \; ${INSTALL_SCRIPT} ${WRKSRC}/pkgsrc/startcde ${DESTDIR}${PREFIX}/bin ${INSTALL_DATA} ${WRKSRC}/pkgsrc/cde.desktop \ ${DESTDIR}${PREFIX}/share/xsessions .for f in CONTRIBUTORS COPYING HISTORY README.md ${RUN}${MV} ${DESTDIR}${PREFIX}/dt/${f} \ ${DESTDIR}${PREFIX}/share/doc/${PKGBASE} .endfor .for r in README.* ${INSTALL_DATA} ${WRKSRC}/pkgsrc/${r} \ ${DESTDIR}${PREFIX}/share/doc/${PKGBASE} .endfor ${INSTALL_DATA} ${WRKSRC}/pkgsrc/cde.desktop \ ${DESTDIR}${PREFIX}/share/xsessions .include "../../x11/libXScrnSaver/buildlink3.mk" .include "../../x11/libXinerama/buildlink3.mk" .include "../../x11/libXrandr/buildlink3.mk" .include "../../x11/libXdmcp/buildlink3.mk" .include "../../x11/xbitmaps/buildlink3.mk" .include "../../x11/libXmu/buildlink3.mk" .include "../../x11/libXau/buildlink3.mk" .include "../../x11/libSM/buildlink3.mk" .include "../../converters/libiconv/buildlink3.mk" .include "../../devel/gettext-lib/buildlink3.mk" .include "../../databases/lmdb/buildlink3.mk" .include "../../textproc/opensp/buildlink3.mk" .include "../../fonts/fontconfig/buildlink3.mk" .include "../../lang/tcl/buildlink3.mk" .include "../../mk/pthread.buildlink3.mk" .include "../../mk/motif.buildlink3.mk" .include "../../mk/jpeg.buildlink3.mk" .include "../../mk/bsd.pkg.mk" @ 1.8 log @*: switch all sourceforge HOMEPAGEs to https @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.7 2025/04/24 14:15:59 wiz Exp $ d3 1 a3 2 DISTNAME= cde-2.5.2 PKGREVISION= 2 d62 4 a65 1 .if !empty(USE_BUILTIN.iconv:M[nN][oO]) d85 1 a85 1 MAKE_FLAGS+= LDFLAGS=${LDFLAGS:Q} d163 1 @ 1.7 log @*: recursive bump for jpeg -> libjpeg-turbo switch @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.6 2024/03/09 23:59:38 vins Exp $ d9 1 a9 1 HOMEPAGE= http://cdesktopenv.sourceforge.net/ @ 1.6 log @wm/cde: standardise pam policy files location @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.5 2024/01/18 20:57:03 vins Exp $ d4 1 a4 1 PKGREVISION= 1 @ 1.5 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 @d1 1 a1 1 # $NetBSD: Makefile,v 1.4 2023/11/12 13:23:46 wiz Exp $ d4 1 @ 1.4 log @*: revebump for new brotli option for freetype2 Addresses PR 57693 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.3 2023/07/03 10:45:57 vins Exp $ d3 1 a3 2 DISTNAME= cde-2.5.1 PKGREVISION= 3 d32 1 d44 2 d74 2 a75 3 SUBST_FILES.paths+= pkgsrc/startcde SUBST_FILES.paths+= pkgsrc/README.* SUBST_FILES.paths+= programs/dtlogin/Makefile.am d106 1 d112 1 a112 1 .for f in README.* d132 1 a132 1 post-install: d136 2 d139 1 a139 1 ${RUN}${MV} ${DESTDIR}${PREFIX}/dt/${f} \ d143 1 a143 1 ${INSTALL_DATA} ${WRKSRC}/pkgsrc/${r} \ d146 2 a155 2 .include "../../x11/libXext/buildlink3.mk" .include "../../x11/libX11/buildlink3.mk" a156 2 .include "../../x11/libICE/buildlink3.mk" .include "../../x11/libXt/buildlink3.mk" a161 1 .include "../../graphics/freetype2/buildlink3.mk" @ 1.3 log @wm/cde: revbump after shells/ksh93 update. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.2 2023/02/23 19:10:06 vins Exp $ d4 1 a4 1 PKGREVISION= 2 @ 1.2 log @wm/cde: few adjustments. * Move SPACIAL_PERMS for dtsession where they belong (systems w/o PAM support). * Change main package category fom x11 to wm (wip leftover). * Fix syntax of the hostname entry in /etc/hosts: addresses bug with ttsession coredumping upon startup. * Bump revision. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.1 2023/02/12 16:34:15 vins Exp $ d4 1 a4 1 PKGREVISION= 1 @ 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 @d1 1 a1 1 # $NetBSD$ d4 2 a5 1 CATEGORIES= x11 @