diff --git a/x11/Makefile b/x11/Makefile index ac6b625f72f7..5bcd76201bee 100644 --- a/x11/Makefile +++ b/x11/Makefile @@ -1,589 +1,590 @@ COMMENT = Ports to support the X window system SUBDIR += 3ddesktop SUBDIR += 9box SUBDIR += 9menu SUBDIR += aclip SUBDIR += admiral SUBDIR += alacritty SUBDIR += albert SUBDIR += alttab SUBDIR += aminal SUBDIR += antimicro SUBDIR += appmenu-registrar SUBDIR += appres SUBDIR += apwal SUBDIR += arandr SUBDIR += arcan-trayicon SUBDIR += aterm SUBDIR += autorandr SUBDIR += babl SUBDIR += bbappconf SUBDIR += bbdock SUBDIR += bbrun SUBDIR += beforelight SUBDIR += bemenu SUBDIR += bgrot SUBDIR += bgs SUBDIR += bitmap SUBDIR += bmpanel2 SUBDIR += brisk-menu SUBDIR += cde SUBDIR += cde-24 SUBDIR += cde-25 + SUBDIR += cde-devel SUBDIR += cinnamon SUBDIR += cinnamon-desktop SUBDIR += cinnamon-menus SUBDIR += cinnamon-screensaver SUBDIR += cinnamon-session SUBDIR += cl-clx SUBDIR += cl-clx-sbcl SUBDIR += clipman SUBDIR += compton-conf SUBDIR += conlecterm SUBDIR += controllermap SUBDIR += cool-retro-term SUBDIR += coreterminal SUBDIR += deforaos-desktop SUBDIR += deforaos-keyboard SUBDIR += deforaos-libdesktop SUBDIR += deforaos-locker SUBDIR += deforaos-panel SUBDIR += deskmenu SUBDIR += disman SUBDIR += dmenu SUBDIR += docker-tray SUBDIR += dsbautostart SUBDIR += dsbxinput SUBDIR += dwmblocks SUBDIR += dxpc SUBDIR += dzen2 SUBDIR += eaglemode SUBDIR += editres SUBDIR += elementary-terminal SUBDIR += emprint SUBDIR += erun SUBDIR += eterm SUBDIR += evilvte SUBDIR += evtest SUBDIR += fbdesk SUBDIR += fbpanel SUBDIR += find-cursor SUBDIR += fireflies SUBDIR += florence SUBDIR += flruler SUBDIR += fnott SUBDIR += foot SUBDIR += fpc-x11 SUBDIR += fstobdf SUBDIR += fuzzel SUBDIR += gdm SUBDIR += glcapsviewer SUBDIR += gmrun SUBDIR += gnome SUBDIR += gnome-clipboard-daemon SUBDIR += gnome-console SUBDIR += gnome-desktop SUBDIR += gnome-menus SUBDIR += gnome-pie SUBDIR += gnome-session SUBDIR += gnome-shell SUBDIR += gnome-shell-extensions SUBDIR += gnome-terminal SUBDIR += gnustep-app SUBDIR += grabc SUBDIR += grim SUBDIR += gromit SUBDIR += gromit-mpx SUBDIR += gskrab SUBDIR += gstreamer1-plugins-x SUBDIR += gstreamer1-plugins-ximagesrc SUBDIR += gtk-app-menu SUBDIR += gtk-theme-switch2 SUBDIR += gtkchtheme SUBDIR += gtkterm2 SUBDIR += guake SUBDIR += gxkb SUBDIR += hamclock SUBDIR += hhpc SUBDIR += hs-xmobar SUBDIR += hsetroot SUBDIR += i3blocks SUBDIR += i3lock-color SUBDIR += iceauth SUBDIR += ico SUBDIR += idesk SUBDIR += imwheel SUBDIR += innerspace SUBDIR += inputplug SUBDIR += j4-dmenu-desktop SUBDIR += jgmenu SUBDIR += kanshi SUBDIR += kb2mb2 SUBDIR += kde-baseapps SUBDIR += kde5 SUBDIR += kdisplay SUBDIR += keybinder SUBDIR += keybinder-gtk3 SUBDIR += keyboardcast SUBDIR += keynav SUBDIR += kf5-frameworkintegration SUBDIR += kf5-frameworks SUBDIR += kf5-kactivities SUBDIR += kf5-kactivities-stats SUBDIR += kf5-kded SUBDIR += kf5-kdelibs4support SUBDIR += kf5-kglobalaccel SUBDIR += kf5-kinit SUBDIR += kf5-krunner SUBDIR += kf5-kwayland SUBDIR += kf5-kwindowsystem SUBDIR += kf5-plasma-framework SUBDIR += kickoff SUBDIR += kitty SUBDIR += konsole SUBDIR += lavalauncher SUBDIR += lemonbar SUBDIR += lemonbar-xft SUBDIR += libICE SUBDIR += libSM SUBDIR += libX11 SUBDIR += libXScrnSaver SUBDIR += libXau SUBDIR += libXcm SUBDIR += libXcomposite SUBDIR += libXcursor SUBDIR += libXdamage SUBDIR += libXdmcp SUBDIR += libXext SUBDIR += libXfixes SUBDIR += libXi SUBDIR += libXinerama SUBDIR += libXpm SUBDIR += libXpresent SUBDIR += libXrandr SUBDIR += libXrender SUBDIR += libXres SUBDIR += libXtst SUBDIR += libXv SUBDIR += libXvMC SUBDIR += libXxf86dga SUBDIR += libXxf86vm SUBDIR += libdmx SUBDIR += libexo SUBDIR += libfakekey SUBDIR += libfm SUBDIR += libfm-extra SUBDIR += libfm-qt SUBDIR += libgnomekbd SUBDIR += libinput SUBDIR += libmatekbd SUBDIR += libsx SUBDIR += libsynaptics SUBDIR += libwacom SUBDIR += libxcb SUBDIR += libxcvt SUBDIR += libxdg-basedir SUBDIR += libxfce4menu SUBDIR += libxfce4util SUBDIR += libxkbcommon SUBDIR += libxkbfile SUBDIR += libxklavier SUBDIR += libxshmfence SUBDIR += lightdm SUBDIR += lightdm-gtk-greeter SUBDIR += lightdm-gtk-greeter-settings SUBDIR += lilyterm SUBDIR += linux-c7-libxkbcommon SUBDIR += linux-c7-pixman SUBDIR += linux-c7-xcb-util SUBDIR += linux-c7-xcb-util-image SUBDIR += linux-c7-xcb-util-keysyms SUBDIR += linux-c7-xorg-libs SUBDIR += linux-nvidia-libs SUBDIR += linux-nvidia-libs-304 SUBDIR += linux-nvidia-libs-340 SUBDIR += linux-nvidia-libs-390 SUBDIR += linux-nvidia-libs-470 SUBDIR += listres SUBDIR += lsw SUBDIR += luit SUBDIR += lumina SUBDIR += lumina-core SUBDIR += lumina-coreutils SUBDIR += lupe SUBDIR += lxde-meta SUBDIR += lxhotkey SUBDIR += lxmenu-data SUBDIR += lxpanel SUBDIR += lxqt-about SUBDIR += lxqt-globalkeys SUBDIR += lxqt-runner SUBDIR += lxrandr SUBDIR += ly SUBDIR += mako SUBDIR += mate SUBDIR += mate-applet-appmenu SUBDIR += mate-applets SUBDIR += mate-base SUBDIR += mate-desktop SUBDIR += mate-dock-applet SUBDIR += mate-menus SUBDIR += mate-panel SUBDIR += mate-screensaver SUBDIR += mate-session-manager SUBDIR += mate-terminal SUBDIR += menu-cache SUBDIR += menulibre SUBDIR += metalock SUBDIR += mkcomposecache SUBDIR += mlterm SUBDIR += mons SUBDIR += mrxvt SUBDIR += mrxvt-devel SUBDIR += multi-aterm SUBDIR += mxascii SUBDIR += mxico SUBDIR += nezd SUBDIR += nfy SUBDIR += numlockx SUBDIR += nvidia-driver SUBDIR += nvidia-driver-304 SUBDIR += nvidia-driver-340 SUBDIR += nvidia-driver-390 SUBDIR += nvidia-driver-470 SUBDIR += nvidia-hybrid-graphics SUBDIR += nvidia-secondary-driver SUBDIR += nvidia-secondary-driver-390 SUBDIR += nvidia-settings SUBDIR += nvidia-xconfig SUBDIR += nwg-bar SUBDIR += nwg-dock SUBDIR += nwg-drawer SUBDIR += nwg-launchers SUBDIR += nwg-look SUBDIR += nwg-menu SUBDIR += nxcomp SUBDIR += p5-Clipboard SUBDIR += p5-X11-GUITest SUBDIR += p5-X11-IdleTime SUBDIR += p5-X11-Protocol SUBDIR += p5-X11-Protocol-Other SUBDIR += p5-X11-Resolution SUBDIR += p5-X11-XCB SUBDIR += p5-X11-Xlib SUBDIR += p5-XTerm-Conf SUBDIR += pcdm SUBDIR += perwindowlayoutd SUBDIR += pipeglade SUBDIR += pixman SUBDIR += plank SUBDIR += plasma-wayland-protocols SUBDIR += plasma5-kactivitymanagerd SUBDIR += plasma5-kgamma5 SUBDIR += plasma5-kscreen SUBDIR += plasma5-kwayland-integration SUBDIR += plasma5-kwayland-server SUBDIR += plasma5-layer-shell-qt SUBDIR += plasma5-libkscreen SUBDIR += plasma5-plasma SUBDIR += plasma5-plasma-desktop SUBDIR += plasma5-plasma-integration SUBDIR += plasma5-plasma-workspace SUBDIR += pmenu SUBDIR += polybar SUBDIR += printscreen SUBDIR += py-caffeine-ng SUBDIR += py-i3-quickterm SUBDIR += py-i3ipc SUBDIR += py-pyscreenshot SUBDIR += py-python-xapp SUBDIR += py-pyvirtualdisplay SUBDIR += py-xcffib SUBDIR += py-xdot SUBDIR += qimageblitz SUBDIR += qt5-qev SUBDIR += qt5-x11extras SUBDIR += qterminal SUBDIR += radare-cutter SUBDIR += remontoire SUBDIR += rendercheck SUBDIR += rgb SUBDIR += rofi SUBDIR += rofi-calc SUBDIR += rofi-pass SUBDIR += rofi-wayland SUBDIR += roxterm SUBDIR += rsibreak SUBDIR += rubygem-gnome SUBDIR += runner SUBDIR += rxvt-unicode SUBDIR += sakura SUBDIR += sbxkb SUBDIR += screen-message SUBDIR += screengrab SUBDIR += screenkey SUBDIR += scripts SUBDIR += sddm SUBDIR += sdwmbar SUBDIR += sessreg SUBDIR += setlayout SUBDIR += setxkbmap SUBDIR += showkeys SUBDIR += showmethekey SUBDIR += simplestroke SUBDIR += sirula SUBDIR += slick-greeter SUBDIR += slim SUBDIR += slock SUBDIR += slop SUBDIR += slurp SUBDIR += smproxy SUBDIR += sprop SUBDIR += squeekboard SUBDIR += srandrd SUBDIR += sselp SUBDIR += stalonetray SUBDIR += startup-notification SUBDIR += sterm SUBDIR += stjerm SUBDIR += swarp SUBDIR += sway-audio-idle-inhibit SUBDIR += swaybg SUBDIR += swayfloatingswitcher SUBDIR += swayidle SUBDIR += swayimg SUBDIR += swaylock SUBDIR += swaylock-effects SUBDIR += swaync SUBDIR += swayr SUBDIR += swaysettings SUBDIR += sxhkd SUBDIR += sxpc SUBDIR += tabbed SUBDIR += taiga SUBDIR += temperature.app SUBDIR += terminal.app SUBDIR += terminator SUBDIR += terminology SUBDIR += thinglaunch SUBDIR += thingylaunch SUBDIR += tilda SUBDIR += tilix SUBDIR += tint SUBDIR += trayer SUBDIR += ulauncher SUBDIR += urxvt-font-size SUBDIR += urxvt-perls SUBDIR += vdesk SUBDIR += viewres SUBDIR += virglrenderer SUBDIR += virtboard SUBDIR += virtualgl SUBDIR += wallutils SUBDIR += wapanel SUBDIR += way-displays SUBDIR += waybar SUBDIR += wayland-logout SUBDIR += wayout SUBDIR += wbar SUBDIR += wcm SUBDIR += wdisplays SUBDIR += wdm SUBDIR += wev SUBDIR += wezterm SUBDIR += wf-shell SUBDIR += wl-clipboard SUBDIR += wl-mirror SUBDIR += wlogout SUBDIR += wlr-randr SUBDIR += wlrctl SUBDIR += wmappl SUBDIR += wmblob SUBDIR += wmbutton SUBDIR += wmcliphist SUBDIR += wmctrl SUBDIR += wmdrawer SUBDIR += wmfocus SUBDIR += wmsystemtray SUBDIR += wmutils-core SUBDIR += wmutils-opt SUBDIR += wob SUBDIR += wofi SUBDIR += workrave SUBDIR += wshowkeys SUBDIR += wtype SUBDIR += wvkbd SUBDIR += x-on-resize SUBDIR += x11perf SUBDIR += x3270 SUBDIR += xantfarm SUBDIR += xapp SUBDIR += xascii SUBDIR += xauth SUBDIR += xautolock SUBDIR += xautomation SUBDIR += xbacklight SUBDIR += xballoon SUBDIR += xbanish SUBDIR += xbiff SUBDIR += xbindkeys SUBDIR += xbitmaps SUBDIR += xbrightness SUBDIR += xcalc SUBDIR += xcalib SUBDIR += xcape SUBDIR += xcb SUBDIR += xcb-imdkit SUBDIR += xcb-proto SUBDIR += xcb-util SUBDIR += xcb-util-cursor SUBDIR += xcb-util-errors SUBDIR += xcb-util-image SUBDIR += xcb-util-keysyms SUBDIR += xcb-util-renderutil SUBDIR += xcb-util-wm SUBDIR += xcb-util-xrm SUBDIR += xclickroot SUBDIR += xclip SUBDIR += xclipboard SUBDIR += xcm SUBDIR += xcmd SUBDIR += xcmsdb SUBDIR += xcoloredit SUBDIR += xcolors SUBDIR += xconsole SUBDIR += xcursorgen SUBDIR += xcut SUBDIR += xdg-desktop-portal-wlr SUBDIR += xdialog SUBDIR += xditview SUBDIR += xdm SUBDIR += xdo SUBDIR += xdotool SUBDIR += xdpyinfo SUBDIR += xdriinfo SUBDIR += xdtm SUBDIR += xedit SUBDIR += xev SUBDIR += xeyes SUBDIR += xf86dga SUBDIR += xfce4-appmenu-plugin SUBDIR += xfce4-clipman-plugin SUBDIR += xfce4-conf SUBDIR += xfce4-dashboard SUBDIR += xfce4-docklike-plugin SUBDIR += xfce4-goodies SUBDIR += xfce4-screensaver SUBDIR += xfce4-screenshooter-plugin SUBDIR += xfce4-taskmanager SUBDIR += xfce4-terminal SUBDIR += xfce4-verve-plugin SUBDIR += xfce4-whiskermenu-plugin SUBDIR += xfd SUBDIR += xfishtank SUBDIR += xforward SUBDIR += xgamma SUBDIR += xgc SUBDIR += xhost SUBDIR += xidle SUBDIR += xinit SUBDIR += xinput SUBDIR += xkb-switch SUBDIR += xkbcomp SUBDIR += xkbctrl SUBDIR += xkbevd SUBDIR += xkbind SUBDIR += xkbprint SUBDIR += xkbset SUBDIR += xkbutils SUBDIR += xkeyboard-config SUBDIR += xkeycaps SUBDIR += xkeywrap SUBDIR += xkill SUBDIR += xload SUBDIR += xloadimage SUBDIR += xlockmore SUBDIR += xlogo SUBDIR += xlsatoms SUBDIR += xlsclients SUBDIR += xmag SUBDIR += xman SUBDIR += xmangekyou SUBDIR += xmascot SUBDIR += xmenu SUBDIR += xmessage SUBDIR += xmh SUBDIR += xmodmap SUBDIR += xmore SUBDIR += xmotd SUBDIR += xmsg SUBDIR += xmx SUBDIR += xnee SUBDIR += xnotify SUBDIR += xob SUBDIR += xorg SUBDIR += xorg-apps SUBDIR += xorg-cf-files SUBDIR += xorg-docs SUBDIR += xorg-libraries SUBDIR += xorg-minimal SUBDIR += xorgproto SUBDIR += xpr SUBDIR += xpra SUBDIR += xpra-html5 SUBDIR += xprintidle SUBDIR += xprompt SUBDIR += xprop SUBDIR += xrandr SUBDIR += xrdb SUBDIR += xrefresh SUBDIR += xrestop SUBDIR += xrootconsole SUBDIR += xrsh SUBDIR += xrsi SUBDIR += xscope SUBDIR += xscreensaver SUBDIR += xscreensaver.app SUBDIR += xsel-conrad SUBDIR += xset SUBDIR += xsetroot SUBDIR += xsettingsd SUBDIR += xskyroot SUBDIR += xsm SUBDIR += xsnow SUBDIR += xssstate SUBDIR += xstarroll SUBDIR += xstdcmap SUBDIR += xstroke SUBDIR += xtacy SUBDIR += xterm SUBDIR += xtermcontrol SUBDIR += xtermset SUBDIR += xtestpicture SUBDIR += xtitle SUBDIR += xtoolwait SUBDIR += xtrans SUBDIR += xtrlock SUBDIR += xtset SUBDIR += xvidtune SUBDIR += xvinfo SUBDIR += xvkbd SUBDIR += xvmcinfo SUBDIR += xvt SUBDIR += xwatchwin SUBDIR += xwd SUBDIR += xwininfo SUBDIR += xwinwrap SUBDIR += xwit SUBDIR += xwud SUBDIR += xxkb SUBDIR += xzoom SUBDIR += yad SUBDIR += yakuake SUBDIR += yalias SUBDIR += yeahconsole SUBDIR += yelp SUBDIR += zenity .include diff --git a/x11/cde-devel/Makefile b/x11/cde-devel/Makefile new file mode 100644 index 000000000000..87f8b0c5bb7e --- /dev/null +++ b/x11/cde-devel/Makefile @@ -0,0 +1,127 @@ +PORTNAME= cde +PORTVERSION= ${COMMIT_DATE} +CATEGORIES= x11 +.if !defined(MASTERDIR) +PKGNAMESUFFIX= -devel +.endif + +MAINTAINER= cy@FreeBSD.org +COMMENT= Common Desktop Environment + +USE_GITHUB= yes +GH_ACCOUNT= cschuber +GH_PROJECT= cdesktopenv-code +GH_TAGNAME= 47cc5d4a7 +COMMIT_DATE= 2022.07.31 + +LICENSE= LGPL21 + +BROKEN_mips64= fails to build: ./config/imake/imake: No such file or directory +BROKEN_powerpc64= fails to build: ./config/imake/imake: No such file or directory +BROKEN_i386= cannot bind to a temporary of type va_list + +WRKSRC_SUBDIR= ${PORTNAME} + +# For concurrent testing purposes only. Define DT_ID in make.conf to build +# a cde-25 pkg which will coexist with cde-24. +.if defined(CDE_CONCURRENT) && !defined(MASTERDIR) +DT_ID= ${PKGNAMESUFFIX} +.else +DT_ID= +.endif +PLIST_SUB= DT_ID=${DT_ID} + +BUILD_DEPENDS= ksh93:shells/ksh93 \ + bdftopcf:x11-fonts/bdftopcf \ + mkfontscale>=0:x11-fonts/mkfontscale \ + biconv:converters/iconv \ + ${LOCALBASE}/libdata/pkgconfig/fontconfig.pc:x11-fonts/fontconfig \ + ${LOCALBASE}/libdata/pkgconfig/freetype2.pc:print/freetype2 \ + onsgmls:textproc/opensp \ + xrdb:x11/xrdb +RUN_DEPENDS= ksh93:shells/ksh93 \ + ${LOCALBASE}/bin/fc-cache:x11-fonts/fontconfig \ + ${LOCALBASE}/libdata/pkgconfig/freetype2.pc:print/freetype2 \ + xrdb:x11/xrdb \ + xset:x11/xset + +USES= autoreconf:build iconv:wchar_t gmake jpeg libtool motif perl5 \ + shebangfix tcl:86 xorg +SHEBANG_LANG= pl +SHEBANG_FILES= programs/dtinfo/tools/bin/ccdate +DT_PREFIX= ${PREFIX}/dt${DT_ID} +USE_LDCONFIG= ${DT_PREFIX}/lib +USE_RC_SUBR= dtcms${DT_ID} dtlogin${DT_ID} +USE_XORG= ice sm x11 xau xdmcp xext xinerama xmu xscrnsaver xt + +GNU_CONFIGURE= yes +GNU_CONFIGURE_PREFIX= ${DT_PREFIX} +MANPREFIX= ${DT_PREFIX}/share +INFODIR= ${DT_PREFIX}/share/info +CONFIGURE_ARGS= --with-tcl=${LOCALBASE}/lib/tcl8.6 MAKE="gmake" +MAKE_ARGS+= PERL=${PERL} "LOCAL_LDFLAGS=${LDFLAGS}" +MAKE_JOBS_UNSAFE=yes +MAKE_ENV= MALLOC_CONF=junk:false +SUB_FILES= pkg-message +LDFLAGS+= -z muldefs #--allow-multiple-definition + +pre-configure: + @cd ${WRKSRC} && ./autogen.sh + +post-patch: + @if [ -f /usr/include/iconv.h ]; then \ + ${REINPLACE_CMD} -e 's!^[[:space:]]*const char .ip = (const char .) .bp!char *ip = *bp!' \ + ${WRKSRC}/programs/dtmail/libDtMail/Common/Session.C \ + ${WRKSRC}/programs/dtmail/libDtMail/RFC/RFCBodyPart.C; \ + fi + +# From shells/ksh93 + @${REINPLACE_CMD} -e 's|SF_FLAGS|SFIO_FLAGS|g' \ + ${WRKSRC}/programs/dtksh/ksh93/src/lib/libast/include/sfio*.h \ + ${WRKSRC}/programs/dtksh/ksh93/src/lib/libast/sfio/*.c \ + ${WRKSRC}/programs/dtksh/ksh93/src/lib/libast/sfio/*.h + +# Needed for armv6 + @${REINPLACE_CMD} -e 's|__va_copy|va_copy|g' \ + ${WRKSRC}/programs/dtksh/ksh93/src/lib/libast/hash/*.c \ + ${WRKSRC}/programs/dtksh/ksh93/src/lib/libast/sfio/*.c \ + ${WRKSRC}/programs/dtksh/ksh93/src/lib/libast/string/*.c + +# Fix all hardcoded path + @${REINPLACE_CMD} -e 's|/usr/bin/perl|${LOCALBASE}/bin/perl|g' \ + ${WRKSRC}/programs/dtinfo/tools/bin/ccdate + @${FIND} ${WRKSRC} -type f ! -path doc/common | \ + ${XARGS} ${REINPLACE_CMD} -e \ + 's|/usr/dt|${DT_PREFIX}|g ; \ + s|/etc/dt|${DT_PREFIX}/etc|g' + +# we need to remove a few LOCALBASE + @${REINPLACE_CMD} -e 's|${LOCALBASE}/etc/dtsr|/etc/dtsr|g' -e \ + 's|${LOCALBASE}/etc/dtinfo_start|/etc/dtinfo_start|g' \ + ${WRKSRC}/programs/tttypes/dtinfo_start.ptype \ + ${WRKSRC}/programs/tttypes/dtinfo.ptype + +# why redefine exit?? + @${REINPLACE_CMD} -e '/void exit/d' \ + ${WRKSRC}/lib/tt/bin/tt_type_comp/frozen.mp_types_lex.C +# (time_t*) NULL is apparently too C-ish + @${REINPLACE_CMD} -e 's,(time_t) *NULL,nullptr,' \ + ${WRKSRC}/programs/dtmail/libDtMail/Common/FileShare.C \ + ${WRKSRC}/programs/dtmail/libDtMail/RFC/RFCMailBox.C + +# chown is not supported as install as user + @${FIND} ${WRKSRC} -type f -name Makefile.am | ${XARGS} \ + ${REINPLACE_CMD} -e '/chown /d; /chgrp /d;' + +post-install: + @${INSTALL_DATA} ${WRKSRC}/lib/pam/libpam/pam.conf \ + ${STAGEDIR}${PREFIX}/etc/pam.d/cde${DT_ID}.conf + @${ECHO_CMD} MANPATH /usr/local/dt/share/man > ${STAGEDIR}/${PREFIX}/etc/man.d/cde${DT_ID}.conf + @${FIND} ${STAGEDIR}/${DT_PREFIX} -type f -exec ${SH} -c '${STRIP_CMD} {} > /dev/null 2>&1' \; + @cd ${WRKSRC}/examples && @${FIND} . | ${CPIO} -pd ${STAGEDIR}/${DT_PREFIX}/share + @cd ${STAGEDIR}/${DT_PREFIX}; ${LN} -s share/examples + # Only a problem on armv7 so far + ${FIND} ${STAGEDIR}/${DT_PREFIX} -type f -name 'ecp.*' -delete + + +.include diff --git a/x11/cde-devel/distinfo b/x11/cde-devel/distinfo new file mode 100644 index 000000000000..2e7967ae90d5 --- /dev/null +++ b/x11/cde-devel/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1659742825 +SHA256 (cschuber-cdesktopenv-code-2022.07.31-47cc5d4a7_GH0.tar.gz) = 624b96117320ca91d199eec39dd751c71f8675edcdb05f3f4d7cb29be2855c68 +SIZE (cschuber-cdesktopenv-code-2022.07.31-47cc5d4a7_GH0.tar.gz) = 57686131 diff --git a/x11/cde-devel/files/dtcms-devel.in b/x11/cde-devel/files/dtcms-devel.in new file mode 100644 index 000000000000..f8322fbca715 --- /dev/null +++ b/x11/cde-devel/files/dtcms-devel.in @@ -0,0 +1,26 @@ +#!/bin/sh + +# PROVIDE: dtcms +# REQUIRE: rpcbind +# KEYWORD: shutdown + +# Add the following line to /etc/rc.conf to enable dtcms: +# +# dtcms_enable=YES + +. /etc/rc.subr + +name=dtcms +rcvar=dtcms_enable +desc="CDE calendar manager service daemon" + +load_rc_config $name + +: ${dtcms_enable:=NO} + +start_precmd="force_depend rpcbind || exit 1" +pidfile=/var/run/dtcms.pid +command=/usr/sbin/daemon +command_args="-P $pidfile %%PREFIX%%/dt-devel/bin/rpc.cmsd" + +run_rc_command $1 diff --git a/x11/cde-devel/files/dtcms.in b/x11/cde-devel/files/dtcms.in new file mode 100644 index 000000000000..1afb03b937af --- /dev/null +++ b/x11/cde-devel/files/dtcms.in @@ -0,0 +1,26 @@ +#!/bin/sh + +# PROVIDE: dtcms +# REQUIRE: rpcbind +# KEYWORD: shutdown + +# Add the following line to /etc/rc.conf to enable dtcms: +# +# dtcms_enable=YES + +. /etc/rc.subr + +name=dtcms +rcvar=dtcms_enable +desc="CDE calendar manager service daemon" + +load_rc_config $name + +: ${dtcms_enable:=NO} + +start_precmd="force_depend rpcbind || exit 1" +pidfile=/var/run/dtcms.pid +command=/usr/sbin/daemon +command_args="-P $pidfile %%PREFIX%%/dt/bin/rpc.cmsd" + +run_rc_command $1 diff --git a/x11/cde-devel/files/dtlogin-devel.in b/x11/cde-devel/files/dtlogin-devel.in new file mode 100644 index 000000000000..40001b03837a --- /dev/null +++ b/x11/cde-devel/files/dtlogin-devel.in @@ -0,0 +1,34 @@ +#!/bin/sh + +# PROVIDE: dtlogin +# REQUIRE: LOGIN dbus dtspc +# KEYWORD: shutdown +# +# Add the following line to /etc/rc.conf to enable dtlogin: +# dtlogin_enable="YES" +# + +. /etc/rc.subr + +name=dtlogin +rcvar=dtlogin_enable +desc="Display manager for CDE" + +load_rc_config dtlogin + +: ${dtlogin_enable:=NO} + +command=%%PREFIX%%/dt-devel/bin/dtlogin +command_args=-daemon + +start_precmd=dtlogin_prestart + +dtlogin_prestart() +{ + if ! [ -f "%%PREFIX%%/etc/X11/Xwrapper.config" ]; then + echo "If dtlogin fails to start:" + echo "# echo allowed_users=anybody >> %%PREFIX%%/etc/X11/Xwrapper.config" + fi +} + +run_rc_command $1 diff --git a/x11/cde-devel/files/dtlogin.in b/x11/cde-devel/files/dtlogin.in new file mode 100644 index 000000000000..570282e43fdd --- /dev/null +++ b/x11/cde-devel/files/dtlogin.in @@ -0,0 +1,34 @@ +#!/bin/sh + +# PROVIDE: dtlogin +# REQUIRE: LOGIN dbus dtspc +# KEYWORD: shutdown +# +# Add the following line to /etc/rc.conf to enable dtlogin: +# dtlogin_enable="YES" +# + +. /etc/rc.subr + +name=dtlogin +rcvar=dtlogin_enable +desc="Display manager for CDE" + +load_rc_config dtlogin + +: ${dtlogin_enable:=NO} + +command=%%PREFIX%%/dt/bin/dtlogin +command_args=-daemon + +start_precmd=dtlogin_prestart + +dtlogin_prestart() +{ + if ! [ -f "%%PREFIX%%/etc/X11/Xwrapper.config" ]; then + echo "If dtlogin fails to start:" + echo "# echo allowed_users=anybody >> %%PREFIX%%/etc/X11/Xwrapper.config" + fi +} + +run_rc_command $1 diff --git a/x11/cde-devel/files/patch-configure.ac b/x11/cde-devel/files/patch-configure.ac new file mode 100644 index 000000000000..8aa1829c207c --- /dev/null +++ b/x11/cde-devel/files/patch-configure.ac @@ -0,0 +1,24 @@ +--- configure.ac.orig 2021-11-30 19:54:11.356382000 -0800 ++++ configure.ac 2021-11-30 20:19:10.923347000 -0800 +@@ -305,9 +305,6 @@ + AC_PATH_XTRA + + dnl check some compiler flags +-C_FLAG_CHECK([-Wno-format-truncation]) +-CXX_FLAG_CHECK([-Wno-format-truncation]) +- + C_FLAG_CHECK([-fno-strict-aliasing]) + CXX_FLAG_CHECK([-fno-strict-aliasing]) + +@@ -327,9 +324,9 @@ + dnl programs with full paths + + dnl - KSH, some systems call it as ksh93 +-AC_PATH_PROG(KSH, ksh) ++AC_PATH_PROG(KSH, ksh93) + if test -z "$ac_cv_path_KSH"; then +- AC_PATH_PROG(KSH, ksh93) ++ AC_PATH_PROG(KSH, ksh) + if test -z "$ac_cv_path_KSH"; then + MISSING_PROGS="[ksh or ksh93] ${MISSING_PROGS}" + fi diff --git a/x11/cde-devel/files/patch-lib_DtMmdb_StyleSheet_Makefile.am b/x11/cde-devel/files/patch-lib_DtMmdb_StyleSheet_Makefile.am new file mode 100644 index 000000000000..ee046fe0c058 --- /dev/null +++ b/x11/cde-devel/files/patch-lib_DtMmdb_StyleSheet_Makefile.am @@ -0,0 +1,19 @@ +--- lib/DtMmdb/StyleSheet/Makefile.am.orig 2022-02-15 09:36:38.828203000 -0800 ++++ lib/DtMmdb/StyleSheet/Makefile.am 2022-02-15 10:20:50.149152000 -0800 +@@ -41,14 +41,14 @@ + tokenStyle.C + + defParser.C: defParser.yy +- $(YACC) $(AM_YFLAGS) -p defParser -b defParser $< ++ $(YACC) $(AM_YFLAGS) -o defParser.tab.c -p defParser -b defParser $< + mv defParser.tab.c $@ + + defToken.C: defToken.ll + $(LEX) $(AM_LFLAGS) -P defParser -o $@ $< + + style.C: style.yy +- $(YACC) $(AM_YFLAGS) -p style -b style $< ++ $(YACC) $(AM_YFLAGS) -o style.tab.c -p style -b style $< + mv style.tab.c style.C + + tokenStyle.C: tokenStyle.ll diff --git a/x11/cde-devel/files/patch-programs_dtcm_dtcm_calendarA.c b/x11/cde-devel/files/patch-programs_dtcm_dtcm_calendarA.c new file mode 100644 index 000000000000..ab3f91b3887e --- /dev/null +++ b/x11/cde-devel/files/patch-programs_dtcm_dtcm_calendarA.c @@ -0,0 +1,11 @@ +--- programs/dtcm/dtcm/calendarA.c.orig 2021-07-03 12:35:15.000000000 -0700 ++++ programs/dtcm/dtcm/calendarA.c 2021-07-12 13:58:22.306477000 -0700 +@@ -2047,7 +2047,7 @@ + set_message(c->message_text, buf); + + sprintf(buf, "%s\n%s: %s, %s: %s", CATGETS(c->DT_catd, 1, 91, +- "rpc.cmsd is not responding for your user name.\nMake sure the inetd process is running and the entry\nin inetd.conf for rpc.cmsd is correct for your host."), ++ "rpc.cmsd is not responding for your user name.\nMake sure the inetd process is running and the entry\nin /etc/rc.conf for rpc.cmsd is correct for your host."), + nl_user, name, + nl_host, host); + diff --git a/x11/cde-devel/files/patch-programs_dtterm_Makefile.am b/x11/cde-devel/files/patch-programs_dtterm_Makefile.am new file mode 100644 index 000000000000..49e9dda2cdd7 --- /dev/null +++ b/x11/cde-devel/files/patch-programs_dtterm_Makefile.am @@ -0,0 +1,7 @@ +--- programs/dtterm/Makefile.am.orig 2021-11-25 16:40:19.896057000 -0800 ++++ programs/dtterm/Makefile.am 2021-11-25 17:19:24.691922000 -0800 +@@ -51,4 +51,3 @@ + if !HAS_UTEMPTER_LIBRARY + chmod 4755 $(DESTDIR)$(bindir)/dtterm + endif +- @TIC@ dtterm.ti diff --git a/x11/cde-devel/files/pkg-message.in b/x11/cde-devel/files/pkg-message.in new file mode 100644 index 000000000000..0473e1afad24 --- /dev/null +++ b/x11/cde-devel/files/pkg-message.in @@ -0,0 +1,36 @@ +[ +{ type: install + message: <