pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
gdm: Install only libgdm by default, add gdm-login option for the daemon
Module Name: pkgsrc-wip
Committed By: Dan Cîrnaț <dan%alt.md@localhost>
Pushed By: cirnatdan
Date: Fri Apr 16 11:51:25 2021 +0200
Changeset: 130aa03afde2272a1cba1cf36126f21aa0be5651
Modified Files:
gdm/Makefile
gdm/PLIST
Added Files:
gdm/options.mk
Log Message:
gdm: Install only libgdm by default, add gdm-login option for the daemon
Option gdm-login will install the full gdm package, including daemon and
configs. Introduced because the daemon is not production-ready
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=130aa03afde2272a1cba1cf36126f21aa0be5651
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
gdm/Makefile | 32 +----
gdm/PLIST | 374 ++++++++++++++++++++++++++++-----------------------------
gdm/options.mk | 83 +++++++++++++
3 files changed, 272 insertions(+), 217 deletions(-)
diffs:
diff --git a/gdm/Makefile b/gdm/Makefile
index c75173d8b5..f2b7605e0f 100644
--- a/gdm/Makefile
+++ b/gdm/Makefile
@@ -11,6 +11,7 @@ COMMENT= Gnome Display Manager
LICENSE= gnu-gpl-v2
DEPENDS+= zenity>=3.32.0:../../x11/zenity
+CONFLICTS= gdm-2.[0-9]*
USE_PKGLOCALEDIR= YES
GNU_CONFIGURE= YES
@@ -35,7 +36,6 @@ MESON_ARGS+= -Duser-display-server=false
MESON_ARGS+= -Duser=${GDMOWN}
MESON_ARGS+= -Dgroup=${GDMGRP}
MESON_ARGS+= -Ddbus-sys=${PREFIX}/share/examples/dbus-1/system.d
-MESON_ARGS+= -Dinitial-vt=05
MESON_ARGS+= -Dgdm-xsession=true
MESON_ARGS+= -Dwayland-support=false
MESON_ARGS+= -Ddefault-path="/usr/local/bin:/usr/local/sbin:${PREFIX}/bin:${PREFIX}/sbin:/usr/bin:/usr/sbin:/bin/sbin"
@@ -44,24 +44,7 @@ INSTALL_MAKE_FLAGS+= GDM_CUSTOM_CONF=${EGDIR}/custom.conf
INSTALL_MAKE_FLAGS+= sysconfdir=${EGDIR}
MAKE_ENV+= CHMOD=${CHMOD:Q} CHOWN=${CHOWN:Q}
-OWN_DIRS= ${PKG_SYSCONFDIR}/Init
-OWN_DIRS+= ${PKG_SYSCONFDIR}/PostLogin
-OWN_DIRS+= ${PKG_SYSCONFDIR}/PostSession
-OWN_DIRS+= ${PKG_SYSCONFDIR}/PreSession
-OWN_DIRS+= ${PKG_SYSCONFDIR}/dm
-OWN_DIRS+= ${PKG_SYSCONFDIR}/modules
-OWN_DIRS+= ${VARBASE}/lib/gdm
-OWN_DIRS+= ${VARBASE}/log/gdm
-
-PKG_SYSCONFSUBDIR= gdm
-EGDIR= ${PREFIX}/share/examples/gdm
-CONF_FILES= ${EGDIR}/custom.conf ${PKG_SYSCONFDIR}/custom.conf
-CONF_FILES+= ${EGDIR}/Xsession ${PKG_SYSCONFDIR}/Xsession
-CONF_FILES+= ${PREFIX}/share/examples/dbus-1/system.d/gdm.conf ${PKG_SYSCONFBASE}/dbus-1/system.d/gdm.conf
-
-RCD_SCRIPTS= gdm
-
-.include "../../mk/bsd.prefs.mk"
+.include "options.mk"
.if ${OPSYS} == "SunOS"
CFLAGS+= -DSunOS
@@ -91,17 +74,6 @@ GDMGRP= daemon
MESON_ARGS+= -Dinitial-vt=5
.endif
-INSTALLATION_DIRS+= share/pixmaps
-INSTALLATION_DIRS+= share/gdm/BuiltInSessions
-INSTALLATION_DIRS+= share/examples/pam.d
-
-post-install:
- ${INSTALL_DATA} ${FILESDIR}/NetBSD.xpm ${DESTDIR}${PREFIX}/share/pixmaps
- ${INSTALL_DATA} ${FILESDIR}/custom.desktop \
- ${DESTDIR}${PREFIX}/share/gdm/BuiltInSessions
- ${INSTALL_DATA} ${FILESDIR}/gdm-* ${DESTDIR}/${PREFIX}/share/examples/pam.d
- ${CHMOD} +x ${DESTDIR}${PREFIX}/share/examples/gdm/Xsession
-
.include "../../devel/meson/build.mk"
.include "../../sysutils/gsettings-desktop-schemas/buildlink3.mk"
.include "../../security/openpam/buildlink3.mk"
diff --git a/gdm/PLIST b/gdm/PLIST
index 64ca35939a..f49e333ac9 100644
--- a/gdm/PLIST
+++ b/gdm/PLIST
@@ -1,7 +1,7 @@
@comment $NetBSD$
-bin/gdm-screenshot
-bin/gdmflexiserver
-share/examples/dbus-1/system.d/gdm.conf
+${PLIST.gnome-login}bin/gdm-screenshot
+${PLIST.gnome-login}bin/gdmflexiserver
+${PLIST.gnome-login}share/examples/dbus-1/system.d/gdm.conf
include/gdm/gdm-client-glue.h
include/gdm/gdm-client.h
include/gdm/gdm-sessions.h
@@ -11,189 +11,189 @@ lib/libgdm.so
lib/libgdm.so.1
lib/libgdm.so.1.0.0
lib/pkgconfig/gdm.pc
-lib/security/pam_gdm.so
-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
-share/examples/gdm/Init/Default
-share/examples/gdm/PostLogin/Default.sample
-share/examples/gdm/PostSession/Default
-share/examples/gdm/PreSession/Default
-share/examples/gdm/Xsession
-share/examples/gdm/custom.conf
-share/examples/pam.d/gdm-launch-environment
-share/gdm/BuiltInSessions/custom.desktop
-share/gdm/gdb-cmd
-share/gdm/gdm.schemas
-share/gdm/greeter-dconf-defaults
-share/gdm/greeter/applications/mime-dummy-handler.desktop
-share/gdm/greeter/applications/mimeapps.list
-share/gdm/greeter/autostart/orca-autostart.desktop
-share/gdm/locale.alias
+${PLIST.gnome-login}lib/security/pam_gdm.so
+${PLIST.gnome-login}libexec/gdm-host-chooser
+${PLIST.gnome-login}libexec/gdm-runtime-config
+${PLIST.gnome-login}libexec/gdm-session-worker
+${PLIST.gnome-login}libexec/gdm-simple-chooser
+${PLIST.gnome-login}libexec/gdm-wayland-session
+${PLIST.gnome-login}libexec/gdm-x-session
+${PLIST.gnome-login}sbin/gdm
+${PLIST.gnome-login}share/dconf/profile/gdm
+${PLIST.gnome-login}share/examples/gdm/Init/Default
+${PLIST.gnome-login}share/examples/gdm/PostLogin/Default.sample
+${PLIST.gnome-login}share/examples/gdm/PostSession/Default
+${PLIST.gnome-login}share/examples/gdm/PreSession/Default
+${PLIST.gnome-login}share/examples/gdm/Xsession
+${PLIST.gnome-login}share/examples/gdm/custom.conf
+${PLIST.gnome-login}share/examples/pam.d/gdm-launch-environment
+${PLIST.gnome-login}share/gdm/BuiltInSessions/custom.desktop
+${PLIST.gnome-login}share/gdm/gdb-cmd
+${PLIST.gnome-login}share/gdm/gdm.schemas
+${PLIST.gnome-login}share/gdm/greeter-dconf-defaults
+${PLIST.gnome-login}share/gdm/greeter/applications/mime-dummy-handler.desktop
+${PLIST.gnome-login}share/gdm/greeter/applications/mimeapps.list
+${PLIST.gnome-login}share/gdm/greeter/autostart/orca-autostart.desktop
+${PLIST.gnome-login}share/gdm/locale.alias
share/gir-1.0/Gdm-1.0.gir
share/glib-2.0/schemas/org.gnome.login-screen.gschema.xml
-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
-share/pixmaps/NetBSD.xpm
+${PLIST.gnome-login}share/gnome-session/sessions/gnome-login.session
+${PLIST.gnome-login}share/help/C/gdm/index.docbook
+${PLIST.gnome-login}share/help/C/gdm/legal.xml
+${PLIST.gnome-login}share/help/ca/gdm/index.docbook
+${PLIST.gnome-login}share/help/ca/gdm/legal.xml
+${PLIST.gnome-login}share/help/cs/gdm/index.docbook
+${PLIST.gnome-login}share/help/cs/gdm/legal.xml
+${PLIST.gnome-login}share/help/de/gdm/index.docbook
+${PLIST.gnome-login}share/help/de/gdm/legal.xml
+${PLIST.gnome-login}share/help/el/gdm/index.docbook
+${PLIST.gnome-login}share/help/el/gdm/legal.xml
+${PLIST.gnome-login}share/help/en_GB/gdm/index.docbook
+${PLIST.gnome-login}share/help/en_GB/gdm/legal.xml
+${PLIST.gnome-login}share/help/es/gdm/index.docbook
+${PLIST.gnome-login}share/help/es/gdm/legal.xml
+${PLIST.gnome-login}share/help/eu/gdm/index.docbook
+${PLIST.gnome-login}share/help/eu/gdm/legal.xml
+${PLIST.gnome-login}share/help/fr/gdm/index.docbook
+${PLIST.gnome-login}share/help/fr/gdm/legal.xml
+${PLIST.gnome-login}share/help/gl/gdm/index.docbook
+${PLIST.gnome-login}share/help/gl/gdm/legal.xml
+${PLIST.gnome-login}share/help/hu/gdm/index.docbook
+${PLIST.gnome-login}share/help/hu/gdm/legal.xml
+${PLIST.gnome-login}share/help/id/gdm/index.docbook
+${PLIST.gnome-login}share/help/id/gdm/legal.xml
+${PLIST.gnome-login}share/help/it/gdm/index.docbook
+${PLIST.gnome-login}share/help/it/gdm/legal.xml
+${PLIST.gnome-login}share/help/ko/gdm/index.docbook
+${PLIST.gnome-login}share/help/ko/gdm/legal.xml
+${PLIST.gnome-login}share/help/oc/gdm/index.docbook
+${PLIST.gnome-login}share/help/oc/gdm/legal.xml
+${PLIST.gnome-login}share/help/pt_BR/gdm/index.docbook
+${PLIST.gnome-login}share/help/pt_BR/gdm/legal.xml
+${PLIST.gnome-login}share/help/ro/gdm/index.docbook
+${PLIST.gnome-login}share/help/ro/gdm/legal.xml
+${PLIST.gnome-login}share/help/ru/gdm/index.docbook
+${PLIST.gnome-login}share/help/ru/gdm/legal.xml
+${PLIST.gnome-login}share/help/sl/gdm/index.docbook
+${PLIST.gnome-login}share/help/sl/gdm/legal.xml
+${PLIST.gnome-login}share/help/sv/gdm/index.docbook
+${PLIST.gnome-login}share/help/sv/gdm/legal.xml
+${PLIST.gnome-login}share/help/te/gdm/index.docbook
+${PLIST.gnome-login}share/help/te/gdm/legal.xml
+${PLIST.gnome-login}share/help/tr/gdm/index.docbook
+${PLIST.gnome-login}share/help/tr/gdm/legal.xml
+${PLIST.gnome-login}share/help/uk/gdm/index.docbook
+${PLIST.gnome-login}share/help/uk/gdm/legal.xml
+${PLIST.gnome-login}share/help/zh_CN/gdm/index.docbook
+${PLIST.gnome-login}share/help/zh_CN/gdm/legal.xml
+${PLIST.gnome-login}share/locale/af/LC_MESSAGES/gdm.mo
+${PLIST.gnome-login}share/locale/am/LC_MESSAGES/gdm.mo
+${PLIST.gnome-login}share/locale/an/LC_MESSAGES/gdm.mo
+${PLIST.gnome-login}share/locale/ar/LC_MESSAGES/gdm.mo
+${PLIST.gnome-login}share/locale/as/LC_MESSAGES/gdm.mo
+${PLIST.gnome-login}share/locale/ast/LC_MESSAGES/gdm.mo
+${PLIST.gnome-login}share/locale/az/LC_MESSAGES/gdm.mo
+${PLIST.gnome-login}share/locale/be/LC_MESSAGES/gdm.mo
+${PLIST.gnome-login}share/locale/be@latin/LC_MESSAGES/gdm.mo
+${PLIST.gnome-login}share/locale/bg/LC_MESSAGES/gdm.mo
+${PLIST.gnome-login}share/locale/bn/LC_MESSAGES/gdm.mo
+${PLIST.gnome-login}share/locale/bn_IN/LC_MESSAGES/gdm.mo
+${PLIST.gnome-login}share/locale/br/LC_MESSAGES/gdm.mo
+${PLIST.gnome-login}share/locale/bs/LC_MESSAGES/gdm.mo
+${PLIST.gnome-login}share/locale/ca/LC_MESSAGES/gdm.mo
+${PLIST.gnome-login}share/locale/ca@valencia/LC_MESSAGES/gdm.mo
+${PLIST.gnome-login}share/locale/ckb/LC_MESSAGES/gdm.mo
+${PLIST.gnome-login}share/locale/crh/LC_MESSAGES/gdm.mo
+${PLIST.gnome-login}share/locale/cs/LC_MESSAGES/gdm.mo
+${PLIST.gnome-login}share/locale/csb/LC_MESSAGES/gdm.mo
+${PLIST.gnome-login}share/locale/cy/LC_MESSAGES/gdm.mo
+${PLIST.gnome-login}share/locale/da/LC_MESSAGES/gdm.mo
+${PLIST.gnome-login}share/locale/de/LC_MESSAGES/gdm.mo
+${PLIST.gnome-login}share/locale/dz/LC_MESSAGES/gdm.mo
+${PLIST.gnome-login}share/locale/el/LC_MESSAGES/gdm.mo
+${PLIST.gnome-login}share/locale/en@shaw/LC_MESSAGES/gdm.mo
+${PLIST.gnome-login}share/locale/en_CA/LC_MESSAGES/gdm.mo
+${PLIST.gnome-login}share/locale/en_GB/LC_MESSAGES/gdm.mo
+${PLIST.gnome-login}share/locale/eo/LC_MESSAGES/gdm.mo
+${PLIST.gnome-login}share/locale/es/LC_MESSAGES/gdm.mo
+${PLIST.gnome-login}share/locale/et/LC_MESSAGES/gdm.mo
+${PLIST.gnome-login}share/locale/eu/LC_MESSAGES/gdm.mo
+${PLIST.gnome-login}share/locale/fa/LC_MESSAGES/gdm.mo
+${PLIST.gnome-login}share/locale/fi/LC_MESSAGES/gdm.mo
+${PLIST.gnome-login}share/locale/fr/LC_MESSAGES/gdm.mo
+${PLIST.gnome-login}share/locale/fur/LC_MESSAGES/gdm.mo
+${PLIST.gnome-login}share/locale/fy/LC_MESSAGES/gdm.mo
+${PLIST.gnome-login}share/locale/ga/LC_MESSAGES/gdm.mo
+${PLIST.gnome-login}share/locale/gd/LC_MESSAGES/gdm.mo
+${PLIST.gnome-login}share/locale/gl/LC_MESSAGES/gdm.mo
+${PLIST.gnome-login}share/locale/gu/LC_MESSAGES/gdm.mo
+${PLIST.gnome-login}share/locale/gv/LC_MESSAGES/gdm.mo
+${PLIST.gnome-login}share/locale/he/LC_MESSAGES/gdm.mo
+${PLIST.gnome-login}share/locale/hi/LC_MESSAGES/gdm.mo
+${PLIST.gnome-login}share/locale/hr/LC_MESSAGES/gdm.mo
+${PLIST.gnome-login}share/locale/hu/LC_MESSAGES/gdm.mo
+${PLIST.gnome-login}share/locale/hy/LC_MESSAGES/gdm.mo
+${PLIST.gnome-login}share/locale/id/LC_MESSAGES/gdm.mo
+${PLIST.gnome-login}share/locale/is/LC_MESSAGES/gdm.mo
+${PLIST.gnome-login}share/locale/it/LC_MESSAGES/gdm.mo
+${PLIST.gnome-login}share/locale/ja/LC_MESSAGES/gdm.mo
+${PLIST.gnome-login}share/locale/ka/LC_MESSAGES/gdm.mo
+${PLIST.gnome-login}share/locale/kab/LC_MESSAGES/gdm.mo
+${PLIST.gnome-login}share/locale/kk/LC_MESSAGES/gdm.mo
+${PLIST.gnome-login}share/locale/km/LC_MESSAGES/gdm.mo
+${PLIST.gnome-login}share/locale/kn/LC_MESSAGES/gdm.mo
+${PLIST.gnome-login}share/locale/ko/LC_MESSAGES/gdm.mo
+${PLIST.gnome-login}share/locale/ku/LC_MESSAGES/gdm.mo
+${PLIST.gnome-login}share/locale/ky/LC_MESSAGES/gdm.mo
+${PLIST.gnome-login}share/locale/lt/LC_MESSAGES/gdm.mo
+${PLIST.gnome-login}share/locale/lv/LC_MESSAGES/gdm.mo
+${PLIST.gnome-login}share/locale/mai/LC_MESSAGES/gdm.mo
+${PLIST.gnome-login}share/locale/mg/LC_MESSAGES/gdm.mo
+${PLIST.gnome-login}share/locale/mi/LC_MESSAGES/gdm.mo
+${PLIST.gnome-login}share/locale/mjw/LC_MESSAGES/gdm.mo
+${PLIST.gnome-login}share/locale/mk/LC_MESSAGES/gdm.mo
+${PLIST.gnome-login}share/locale/ml/LC_MESSAGES/gdm.mo
+${PLIST.gnome-login}share/locale/mn/LC_MESSAGES/gdm.mo
+${PLIST.gnome-login}share/locale/mr/LC_MESSAGES/gdm.mo
+${PLIST.gnome-login}share/locale/ms/LC_MESSAGES/gdm.mo
+${PLIST.gnome-login}share/locale/nb/LC_MESSAGES/gdm.mo
+${PLIST.gnome-login}share/locale/nds/LC_MESSAGES/gdm.mo
+${PLIST.gnome-login}share/locale/ne/LC_MESSAGES/gdm.mo
+${PLIST.gnome-login}share/locale/nl/LC_MESSAGES/gdm.mo
+${PLIST.gnome-login}share/locale/nn/LC_MESSAGES/gdm.mo
+${PLIST.gnome-login}share/locale/nso/LC_MESSAGES/gdm.mo
+${PLIST.gnome-login}share/locale/oc/LC_MESSAGES/gdm.mo
+${PLIST.gnome-login}share/locale/or/LC_MESSAGES/gdm.mo
+${PLIST.gnome-login}share/locale/pa/LC_MESSAGES/gdm.mo
+${PLIST.gnome-login}share/locale/pl/LC_MESSAGES/gdm.mo
+${PLIST.gnome-login}share/locale/ps/LC_MESSAGES/gdm.mo
+${PLIST.gnome-login}share/locale/pt/LC_MESSAGES/gdm.mo
+${PLIST.gnome-login}share/locale/pt_BR/LC_MESSAGES/gdm.mo
+${PLIST.gnome-login}share/locale/ro/LC_MESSAGES/gdm.mo
+${PLIST.gnome-login}share/locale/ru/LC_MESSAGES/gdm.mo
+${PLIST.gnome-login}share/locale/rw/LC_MESSAGES/gdm.mo
+${PLIST.gnome-login}share/locale/si/LC_MESSAGES/gdm.mo
+${PLIST.gnome-login}share/locale/sk/LC_MESSAGES/gdm.mo
+${PLIST.gnome-login}share/locale/sl/LC_MESSAGES/gdm.mo
+${PLIST.gnome-login}share/locale/sq/LC_MESSAGES/gdm.mo
+${PLIST.gnome-login}share/locale/sr/LC_MESSAGES/gdm.mo
+${PLIST.gnome-login}share/locale/sr@latin/LC_MESSAGES/gdm.mo
+${PLIST.gnome-login}share/locale/sv/LC_MESSAGES/gdm.mo
+${PLIST.gnome-login}share/locale/sw/LC_MESSAGES/gdm.mo
+${PLIST.gnome-login}share/locale/ta/LC_MESSAGES/gdm.mo
+${PLIST.gnome-login}share/locale/te/LC_MESSAGES/gdm.mo
+${PLIST.gnome-login}share/locale/tg/LC_MESSAGES/gdm.mo
+${PLIST.gnome-login}share/locale/th/LC_MESSAGES/gdm.mo
+${PLIST.gnome-login}share/locale/tr/LC_MESSAGES/gdm.mo
+${PLIST.gnome-login}share/locale/ug/LC_MESSAGES/gdm.mo
+${PLIST.gnome-login}share/locale/uk/LC_MESSAGES/gdm.mo
+${PLIST.gnome-login}share/locale/uz/LC_MESSAGES/gdm.mo
+${PLIST.gnome-login}share/locale/uz@cyrillic/LC_MESSAGES/gdm.mo
+${PLIST.gnome-login}share/locale/vi/LC_MESSAGES/gdm.mo
+${PLIST.gnome-login}share/locale/wa/LC_MESSAGES/gdm.mo
+${PLIST.gnome-login}share/locale/xh/LC_MESSAGES/gdm.mo
+${PLIST.gnome-login}share/locale/zh_CN/LC_MESSAGES/gdm.mo
+${PLIST.gnome-login}share/locale/zh_HK/LC_MESSAGES/gdm.mo
+${PLIST.gnome-login}share/locale/zh_TW/LC_MESSAGES/gdm.mo
+${PLIST.gnome-login}share/locale/zu/LC_MESSAGES/gdm.mo
+${PLIST.gnome-login}share/pixmaps/NetBSD.xpm
diff --git a/gdm/options.mk b/gdm/options.mk
new file mode 100644
index 0000000000..35c38ce15b
--- /dev/null
+++ b/gdm/options.mk
@@ -0,0 +1,83 @@
+PKG_OPTIONS_VAR= PKG_OPTIONS.gdm
+PKG_SUPPORTED_OPTIONS= gdm-login
+.include "../../mk/bsd.prefs.mk"
+
+.include "../../mk/bsd.options.mk"
+
+# Package-specific option-handling
+
+###
+### gdm-login
+### enables the daemon and gui greeter (experimental)
+###
+.if !empty(PKG_OPTIONS:Mgdm-login)
+
+OWN_DIRS= ${PKG_SYSCONFDIR}/Init
+OWN_DIRS+= ${PKG_SYSCONFDIR}/PostLogin
+OWN_DIRS+= ${PKG_SYSCONFDIR}/PostSession
+OWN_DIRS+= ${PKG_SYSCONFDIR}/PreSession
+OWN_DIRS+= ${PKG_SYSCONFDIR}/dm
+OWN_DIRS+= ${PKG_SYSCONFDIR}/modules
+OWN_DIRS+= ${VARBASE}/lib/gdm
+OWN_DIRS+= ${VARBASE}/log/gdm
+
+PKG_SYSCONFSUBDIR= gdm
+EGDIR= ${PREFIX}/share/examples/gdm
+CONF_FILES= ${EGDIR}/custom.conf ${PKG_SYSCONFDIR}/custom.conf
+CONF_FILES+= ${EGDIR}/Xsession ${PKG_SYSCONFDIR}/Xsession
+CONF_FILES+= ${PREFIX}/share/examples/dbus-1/system.d/gdm.conf ${PKG_SYSCONFBASE}/dbus-1/system.d/gdm.conf
+
+RCD_SCRIPTS= gdm
+
+
+INSTALLATION_DIRS+= share/pixmaps
+INSTALLATION_DIRS+= share/gdm/BuiltInSessions
+INSTALLATION_DIRS+= share/examples/pam.d
+
+post-install:
+ ${INSTALL_DATA} ${FILESDIR}/NetBSD.xpm ${DESTDIR}${PREFIX}/share/pixmaps
+ ${INSTALL_DATA} ${FILESDIR}/custom.desktop \
+ ${DESTDIR}${PREFIX}/share/gdm/BuiltInSessions
+ ${INSTALL_DATA} ${FILESDIR}/gdm-* ${DESTDIR}/${PREFIX}/share/examples/pam.d
+ ${CHMOD} +x ${DESTDIR}${PREFIX}/share/examples/gdm/Xsession
+
+PLIST_VARS+= gdm-login
+.else
+# only install libgdm, without the daemon and login screen
+INSTALLATION_DIRS+= include/gdm
+INSTALLATION_DIRS+= lib/girepository-1.0
+INSTALLATION_DIRS+= lib/
+INSTALLATION_DIRS+= lib/pkgconfig
+INSTALLATION_DIRS+= share/gir-1.0 share/glib-2.0/schemas
+
+INSTALL_DIRS= # disable meson install
+
+do-install:
+ ${INSTALL} ${WRKSRC}/output/libgdm/gdm-client-glue.h \
+ ${DESTDIR}${PREFIX}/include/gdm
+ ${INSTALL} ${WRKSRC}/libgdm/gdm-client.h \
+ ${DESTDIR}${PREFIX}/include/gdm
+ ${INSTALL} ${WRKSRC}/libgdm/gdm-sessions.h \
+ ${DESTDIR}${PREFIX}/include/gdm
+ ${INSTALL} ${WRKSRC}/libgdm/gdm-user-switching.h \
+ ${DESTDIR}${PREFIX}/include/gdm
+
+ ${INSTALL} ${WRKSRC}/output/libgdm/Gdm-1.0.typelib \
+ ${DESTDIR}${PREFIX}/lib/girerepository-1.0
+ ${INSTALL} ${WRKSRC}/output/libgdm/libgdm.so \
+ ${DESTDIR}${PREFIX}/lib
+ ${INSTALL} ${WRKSRC}/output/libgdm/libgdm.so.1 \
+ ${DESTDIR}${PREFIX}/lib
+ ${INSTALL} ${WRKSRC}/output/libgdm/libgdm.so.1.0.0 \
+ ${DESTDIR}${PREFIX}/lib
+
+ ${INSTALL} ${WRKSRC}/output/meson-private/gdm.pc \
+ ${DESTDIR}${PREFIX}/lib/pkgconfig
+
+ ${INSTALL} ${WRKSRC}/output/libgdm/Gdm-1.0.gir \
+ ${DESTDIR}${PREFIX}/share/gir-1.0
+ ${INSTALL} ${WRKSRC}/data/org.gnome.login-screen.gschema.xml \
+ ${DESTDIR}${PREFIX}/share/glib-2.0/schemas
+
+BUILDLINK_DEPMETHOD.openpam= build
+.endif
\ No newline at end of file
Home |
Main Index |
Thread Index |
Old Index