diff --git a/x11/gdm/Makefile b/x11/gdm/Makefile index a4b8ebbeef1b..63b27b0b09f7 100644 --- a/x11/gdm/Makefile +++ b/x11/gdm/Makefile @@ -1,159 +1,159 @@ PORTNAME= gdm PORTVERSION= 42.0 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= x11 gnome MASTER_SITES= GNOME/sources/${PORTNAME}/${PORTVERSION:C/^([0-9]+)\..*/\1/} DIST_SUBDIR= gnome MAINTAINER= gnome@FreeBSD.org COMMENT= GNOME display manager WWW= https://www.gnome.org/projects/gdm/ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= iso-codes>=0:misc/iso-codes \ itstool:textproc/itstool \ zenity>=3.0.0:x11/zenity LIB_DEPENDS= libaccountsservice.so:sysutils/accountsservice \ libcanberra-gtk3.so:audio/libcanberra-gtk3 \ libcanberra.so:audio/libcanberra \ libck-connector.so:sysutils/consolekit2 \ libfribidi.so:converters/fribidi RUN_DEPENDS= at-spi2-core>=0:accessibility/at-spi2-core \ gnome-icon-theme-symbolic>=0:x11-themes/gnome-icon-theme-symbolic \ gnome-keyring-3:security/gnome-keyring \ gnome-session>=3.0.0:x11/gnome-session \ gnome-settings-daemon>=3.0.0:sysutils/gnome-settings-daemon \ iso-codes>=0:misc/iso-codes \ polkit-gnome>=0.105:sysutils/polkit-gnome \ zenity>=3.0.0:x11/zenity # used in scripts RUN_DEPENDS+= setxkbmap:x11/setxkbmap \ xhost:x11/xhost \ xmodmap:x11/xmodmap \ xrdb:x11/xrdb \ xsetroot:x11/xsetroot \ xterm:x11/xterm USERS= gdm GROUPS= gdm video PORTSCOUT= limitw:1,even USES= cpe gettext gnome libtool localbase:ldflags meson pathfix \ pkgconfig tar:xz xorg CPE_VENDOR= gnome CPE_PRODUCT= gnome_display_manager USE_GNOME= cairo dconf gtk30 intltool introspection USE_LDCONFIG= yes USE_XORG= x11 xau xcb xdmcp xorgproto USE_RC_SUBR= gdm USE_GNOME_SUBR= yes GLIB_SCHEMAS= org.gnome.login-screen.gschema.xml MESON_ARGS= -Dat-spi-registryd-dir=${PREFIX}/libexec \ -Dcustom-conf=${PREFIX}/etc/gdm/custom.conf \ -Ddbus-sys=${PREFIX}/etc/dbus-1/system.d \ -Ddefault-pam-config=none \ -Ddmconfdir=${PREFIX}/share/xsessions \ -Dgdm-xsession=true \ -Dgroup=gdm \ -Dinitial-vt=09 \ -Dlang-file=${PREFIX}/etc/gdm/locale.conf \ -Dlibaudit=disabled \ -Dlog-dir=/var/log/gdm \ -Dpid-file=/var/run/gdm.pid \ -Dplymouth=disabled \ -Dscreenshot-dir=/var/run/gdm/greeter \ -Dselinux=disabled \ -Dsysconfsubdir=gdm \ -Dsystemd-journal=false \ -Duser-display-server=false \ -Duser=gdm \ -Dwayland-support=false \ -Dworking-dir=/var/db/gdm \ -Dxauth-dir=/var/run/gdm # this is a hack until we can get our own pam dir and dir in order. CPPFLAGS+= -DHAS_SA_LEN -DWITH_CONSOLE_KIT=1 INSTALL_TARGET= install-strip SUB_FILES+= client.conf gdm-autologin gdm-launch-environment gdm-password \ locale.conf GDMDIR?= ${PREFIX}/etc/gdm GNOME_LOCALSTATEDIR= /var OPTIONS_DEFINE= IPV6 IPV6_MESON_ENABLE= ipv6 .include post-patch: @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' \ -e 's|%%LOCALBASE%%|${LOCALBASE}|g' \ -e 's|/bin/bash|/bin/sh|g' \ ${WRKSRC}/daemon/gdm-session-worker.c @${REINPLACE_CMD} -e 's|/usr/X11R6|${LOCALBASE}|g' \ -e 's|/usr/bin/X|${LOCALBASE}/bin/X|g' \ -e 's|/usr/bin/Xorg|${LOCALBASE}/bin/Xorg|g' \ ${WRKSRC}/meson.build ${WRKSRC}/daemon/*.c ${WRKSRC}/po/*.po @${REINPLACE_CMD} -e 's|/at-spi-registryd|/at-spi2-registryd|g' \ ${WRKSRC}/chooser/gdm-host-chooser.c \ ${WRKSRC}/chooser/chooser-main.c @${REINPLACE_CMD} -e 's|/etc/X11|${LOCALBASE}/etc/X11|g' \ ${WRKSRC}/data/Init.in \ ${WRKSRC}/data/PostLogin \ ${WRKSRC}/data/PostSession.in \ ${WRKSRC}/data/PreSession.in \ ${WRKSRC}/data/Xsession.in @${RM} ${WRKSRC}/data/applications/gdm-simple-greeter.desktop \ ${WRKSRC}/data/applications/gdm-simple-greeter.desktop.in \ ${WRKSRC}/data/applications/gnome-shell.desktop \ post-install: ${MV} ${STAGEDIR}${PREFIX}/etc/gdm/custom.conf \ ${STAGEDIR}${PREFIX}/etc/gdm/custom.conf.sample ${MV} ${STAGEDIR}${PREFIX}/etc/gdm/PostSession/Default \ ${STAGEDIR}${PREFIX}/etc/gdm/PostSession/Default.sample ${MV} ${STAGEDIR}${PREFIX}/etc/gdm/PreSession/Default \ ${STAGEDIR}${PREFIX}/etc/gdm/PreSession/Default.sample ${MV} ${STAGEDIR}${PREFIX}/etc/gdm/Init/Default \ ${STAGEDIR}${PREFIX}/etc/gdm/Init/Default.sample ${MV} ${STAGEDIR}${PREFIX}/etc/gdm/Xsession \ ${STAGEDIR}${PREFIX}/etc/gdm/Xsession.sample ${MV} ${STAGEDIR}${PREFIX}/etc/dbus-1/system.d/gdm.conf \ ${STAGEDIR}${PREFIX}/etc/dbus-1/system.d/gdm.conf.sample ${MKDIR} ${STAGEDIR}${PREFIX}/share/xsessions ${MKDIR} ${STAGEDIR}${PREFIX}/etc/gdm/Sessions ${MKDIR} ${STAGEDIR}${PREFIX}/etc/dm/Sessions ${MKDIR} ${STAGEDIR}${PREFIX}/etc/gdm/home ${MKDIR} ${STAGEDIR}${PREFIX}/etc/gdm/home/.pulse/ ${INSTALL_DATA} ${WRKDIR}/gdm-autologin \ ${STAGEDIR}${PREFIX}/etc/pam.d/gdm-autologin.sample ${INSTALL_DATA} ${WRKDIR}/gdm-launch-environment \ ${STAGEDIR}${PREFIX}/etc/pam.d/gdm-launch-environment.sample ${INSTALL_DATA} ${WRKDIR}/gdm-password \ ${STAGEDIR}${PREFIX}/etc/pam.d/gdm-password.sample ${INSTALL_DATA} ${WRKDIR}/client.conf \ ${STAGEDIR}${PREFIX}/etc/gdm/home/.pulse/client.conf.sample ${INSTALL_DATA} ${WRKDIR}/locale.conf \ ${STAGEDIR}${PREFIX}/etc/gdm/locale.conf.sample ${MKDIR} ${STAGEDIR}/var/cache/gdm ${MKDIR} ${STAGEDIR}/var/log/gdm ${MKDIR} ${STAGEDIR}/var/run/gdm ${MKDIR} ${STAGEDIR}/var/run/gdm/greeter @${RM} ${STAGEDIR}${PREFIX}/lib/udev/rules.d/61-gdm.rules @${RMDIR} ${STAGEDIR}${PREFIX}/lib/udev/rules.d @${RMDIR} ${STAGEDIR}${PREFIX}/lib/udev .include diff --git a/x11/gdm/pkg-install b/x11/gdm/pkg-install index 9c3cae51803c..87acd5ef6e32 100644 --- a/x11/gdm/pkg-install +++ b/x11/gdm/pkg-install @@ -1,37 +1,33 @@ #!/bin/sh case $2 in POST-INSTALL) USER=gdm GROUP=gdm CHMOD=/bin/chmod CHOWN=/usr/sbin/chown MKDIR=/bin/mkdir ${MKDIR} -p /var/gdm ${MKDIR} -p /var/log/gdm ${CHMOD} 1770 /var/log/gdm ${CHOWN} ${USER}:${GROUP} /var/log/gdm ${CHOWN} -R root:${GROUP} /var/gdm ${CHMOD} 1770 /var/gdm ${MKDIR} -p /var/run/gdm/greeter ${CHOWN} root:${GROUP} /var/run/gdm ${CHMOD} -R 1777 /var/run/gdm ${MKDIR} -p /var/cache/gdm ${CHMOD} 1755 /var/cache/gdm ${CHOWN} root:${GROUP} /var/cache/gdm ${CHOWN} root:wheel ${PKG_PREFIX}/share/gdm ${CHMOD} 0755 ${PKG_PREFIX}/share/gdm - gconftool-2 --direct --config-source=xml:merged:${PKG_PREFIX}/etc/gdm/home/.gconf.mandatory --recursive-unset / - ${CHOWN} -R ${USER}:${GROUP} ${PKG_PREFIX}/etc/gdm/home/.gconf.mandatory - ${CHMOD} 1750 ${PKG_PREFIX}/etc/gdm/home/.gconf.mandatory - ${CHMOD} 1640 ${PKG_PREFIX}/etc/gdm/home/.gconf.mandatory/*.xml ${MKDIR} -p ${PKG_PREFIX}/etc/gdm/Sessions ${MKDIR} -p ${PKG_PREFIX}/etc/dm/Sessions ${CHOWN} -R ${USER}:${GROUP} ${PKG_PREFIX}/etc/gdm/home exit 0 ;; esac diff --git a/x11/gdm/pkg-plist b/x11/gdm/pkg-plist index b08b7f532e11..f7a21c2cc988 100644 --- a/x11/gdm/pkg-plist +++ b/x11/gdm/pkg-plist @@ -1,215 +1,214 @@ bin/gdm-screenshot bin/gdmflexiserver @sample etc/dbus-1/system.d/gdm.conf.sample @sample %%ETCDIR%%/Init/Default.sample @sample %%ETCDIR%%/PostLogin/Default.sample @sample %%ETCDIR%%/PostSession/Default.sample @sample %%ETCDIR%%/PreSession/Default.sample @sample %%ETCDIR%%/Xsession.sample @sample %%ETCDIR%%/custom.conf.sample @sample %%ETCDIR%%/home/.pulse/client.conf.sample @sample %%ETCDIR%%/locale.conf.sample @sample etc/pam.d/gdm-autologin.sample @sample etc/pam.d/gdm-launch-environment.sample @sample etc/pam.d/gdm-password.sample include/gdm/gdm-client-glue.h include/gdm/gdm-client.h include/gdm/gdm-sessions.h include/gdm/gdm-user-switching.h lib/girepository-1.0/Gdm-1.0.typelib lib/libgdm.so lib/libgdm.so.1 lib/libgdm.so.1.0.0 lib/security/pam_gdm.so libdata/pkgconfig/gdm.pc libexec/gdm-host-chooser libexec/gdm-runtime-config libexec/gdm-session-worker libexec/gdm-simple-chooser libexec/gdm-wayland-session libexec/gdm-x-session sbin/gdm share/dconf/profile/gdm %%DATADIR%%/gdb-cmd %%DATADIR%%/gdm.schemas %%DATADIR%%/greeter-dconf-defaults %%DATADIR%%/greeter/applications/mime-dummy-handler.desktop %%DATADIR%%/greeter/applications/mimeapps.list %%DATADIR%%/greeter/autostart/orca-autostart.desktop %%DATADIR%%/locale.alias share/gir-1.0/Gdm-1.0.gir share/gnome-session/sessions/gnome-login.session share/help/C/gdm/index.docbook share/help/C/gdm/legal.xml share/help/ca/gdm/index.docbook share/help/ca/gdm/legal.xml share/help/cs/gdm/index.docbook share/help/cs/gdm/legal.xml share/help/de/gdm/index.docbook share/help/de/gdm/legal.xml share/help/el/gdm/index.docbook share/help/el/gdm/legal.xml share/help/en_GB/gdm/index.docbook share/help/en_GB/gdm/legal.xml share/help/es/gdm/index.docbook share/help/es/gdm/legal.xml share/help/eu/gdm/index.docbook share/help/eu/gdm/legal.xml share/help/fr/gdm/index.docbook share/help/fr/gdm/legal.xml share/help/gl/gdm/index.docbook share/help/gl/gdm/legal.xml share/help/hu/gdm/index.docbook share/help/hu/gdm/legal.xml share/help/id/gdm/index.docbook share/help/id/gdm/legal.xml share/help/it/gdm/index.docbook share/help/it/gdm/legal.xml share/help/ko/gdm/index.docbook share/help/ko/gdm/legal.xml share/help/oc/gdm/index.docbook share/help/oc/gdm/legal.xml share/help/pt_BR/gdm/index.docbook share/help/pt_BR/gdm/legal.xml share/help/ro/gdm/index.docbook share/help/ro/gdm/legal.xml share/help/ru/gdm/index.docbook share/help/ru/gdm/legal.xml share/help/sl/gdm/index.docbook share/help/sl/gdm/legal.xml share/help/sv/gdm/index.docbook share/help/sv/gdm/legal.xml share/help/te/gdm/index.docbook share/help/te/gdm/legal.xml share/help/tr/gdm/index.docbook share/help/tr/gdm/legal.xml share/help/uk/gdm/index.docbook share/help/uk/gdm/legal.xml share/help/zh_CN/gdm/index.docbook share/help/zh_CN/gdm/legal.xml share/locale/af/LC_MESSAGES/gdm.mo share/locale/am/LC_MESSAGES/gdm.mo share/locale/an/LC_MESSAGES/gdm.mo share/locale/ar/LC_MESSAGES/gdm.mo share/locale/as/LC_MESSAGES/gdm.mo share/locale/ast/LC_MESSAGES/gdm.mo share/locale/az/LC_MESSAGES/gdm.mo share/locale/be/LC_MESSAGES/gdm.mo share/locale/be@latin/LC_MESSAGES/gdm.mo share/locale/bg/LC_MESSAGES/gdm.mo share/locale/bn/LC_MESSAGES/gdm.mo share/locale/bn_IN/LC_MESSAGES/gdm.mo share/locale/br/LC_MESSAGES/gdm.mo share/locale/bs/LC_MESSAGES/gdm.mo share/locale/ca/LC_MESSAGES/gdm.mo share/locale/ca@valencia/LC_MESSAGES/gdm.mo share/locale/ckb/LC_MESSAGES/gdm.mo share/locale/crh/LC_MESSAGES/gdm.mo share/locale/cs/LC_MESSAGES/gdm.mo share/locale/csb/LC_MESSAGES/gdm.mo share/locale/cy/LC_MESSAGES/gdm.mo share/locale/da/LC_MESSAGES/gdm.mo share/locale/de/LC_MESSAGES/gdm.mo share/locale/dz/LC_MESSAGES/gdm.mo share/locale/el/LC_MESSAGES/gdm.mo share/locale/en@shaw/LC_MESSAGES/gdm.mo share/locale/en_CA/LC_MESSAGES/gdm.mo share/locale/en_GB/LC_MESSAGES/gdm.mo share/locale/eo/LC_MESSAGES/gdm.mo share/locale/es/LC_MESSAGES/gdm.mo share/locale/et/LC_MESSAGES/gdm.mo share/locale/eu/LC_MESSAGES/gdm.mo share/locale/fa/LC_MESSAGES/gdm.mo share/locale/fi/LC_MESSAGES/gdm.mo share/locale/fr/LC_MESSAGES/gdm.mo share/locale/fur/LC_MESSAGES/gdm.mo share/locale/fy/LC_MESSAGES/gdm.mo share/locale/ga/LC_MESSAGES/gdm.mo share/locale/gd/LC_MESSAGES/gdm.mo share/locale/gl/LC_MESSAGES/gdm.mo share/locale/gu/LC_MESSAGES/gdm.mo share/locale/gv/LC_MESSAGES/gdm.mo share/locale/he/LC_MESSAGES/gdm.mo share/locale/hi/LC_MESSAGES/gdm.mo share/locale/hr/LC_MESSAGES/gdm.mo share/locale/hu/LC_MESSAGES/gdm.mo share/locale/hy/LC_MESSAGES/gdm.mo share/locale/id/LC_MESSAGES/gdm.mo share/locale/is/LC_MESSAGES/gdm.mo share/locale/it/LC_MESSAGES/gdm.mo share/locale/ja/LC_MESSAGES/gdm.mo share/locale/ka/LC_MESSAGES/gdm.mo share/locale/kab/LC_MESSAGES/gdm.mo share/locale/kk/LC_MESSAGES/gdm.mo share/locale/km/LC_MESSAGES/gdm.mo share/locale/kn/LC_MESSAGES/gdm.mo share/locale/ko/LC_MESSAGES/gdm.mo share/locale/ku/LC_MESSAGES/gdm.mo share/locale/ky/LC_MESSAGES/gdm.mo share/locale/lt/LC_MESSAGES/gdm.mo share/locale/lv/LC_MESSAGES/gdm.mo share/locale/mai/LC_MESSAGES/gdm.mo share/locale/mg/LC_MESSAGES/gdm.mo share/locale/mi/LC_MESSAGES/gdm.mo share/locale/mjw/LC_MESSAGES/gdm.mo share/locale/mk/LC_MESSAGES/gdm.mo share/locale/ml/LC_MESSAGES/gdm.mo share/locale/mn/LC_MESSAGES/gdm.mo share/locale/mr/LC_MESSAGES/gdm.mo share/locale/ms/LC_MESSAGES/gdm.mo share/locale/nb/LC_MESSAGES/gdm.mo share/locale/nds/LC_MESSAGES/gdm.mo share/locale/ne/LC_MESSAGES/gdm.mo share/locale/nl/LC_MESSAGES/gdm.mo share/locale/nn/LC_MESSAGES/gdm.mo share/locale/nso/LC_MESSAGES/gdm.mo share/locale/oc/LC_MESSAGES/gdm.mo share/locale/or/LC_MESSAGES/gdm.mo share/locale/pa/LC_MESSAGES/gdm.mo share/locale/pl/LC_MESSAGES/gdm.mo share/locale/ps/LC_MESSAGES/gdm.mo share/locale/pt/LC_MESSAGES/gdm.mo share/locale/pt_BR/LC_MESSAGES/gdm.mo share/locale/ro/LC_MESSAGES/gdm.mo share/locale/ru/LC_MESSAGES/gdm.mo share/locale/rw/LC_MESSAGES/gdm.mo share/locale/si/LC_MESSAGES/gdm.mo share/locale/sk/LC_MESSAGES/gdm.mo share/locale/sl/LC_MESSAGES/gdm.mo share/locale/sq/LC_MESSAGES/gdm.mo share/locale/sr/LC_MESSAGES/gdm.mo share/locale/sr@latin/LC_MESSAGES/gdm.mo share/locale/sv/LC_MESSAGES/gdm.mo share/locale/sw/LC_MESSAGES/gdm.mo share/locale/ta/LC_MESSAGES/gdm.mo share/locale/te/LC_MESSAGES/gdm.mo share/locale/tg/LC_MESSAGES/gdm.mo share/locale/th/LC_MESSAGES/gdm.mo share/locale/tr/LC_MESSAGES/gdm.mo share/locale/ug/LC_MESSAGES/gdm.mo share/locale/uk/LC_MESSAGES/gdm.mo share/locale/uz/LC_MESSAGES/gdm.mo share/locale/uz@cyrillic/LC_MESSAGES/gdm.mo share/locale/vi/LC_MESSAGES/gdm.mo share/locale/wa/LC_MESSAGES/gdm.mo share/locale/xh/LC_MESSAGES/gdm.mo share/locale/zh_CN/LC_MESSAGES/gdm.mo share/locale/zh_HK/LC_MESSAGES/gdm.mo share/locale/zh_TW/LC_MESSAGES/gdm.mo share/locale/zu/LC_MESSAGES/gdm.mo @postexec mkdir -p %D/share/xsessions @postexec dconf update @postunexec dconf update @mode 1775 @dir etc/gdm/home @mode -@postunexec rm -rf %D/etc/gdm/home/.gconf* @dir %%ETCDIR%%/Sessions @dir etc/dm @dir etc/dm/Sessions @dir share/xsessions @dir /var/cache/gdm/ @dir /var/run/gdm/greeter @dir /var/run/gdm/ @dir /var/log/gdm/ @postunexec rm -fr /var/gdm