git: 48e8d817c56a - main - x11/lightdm: update to 1.32.0
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 13 Aug 2022 19:50:06 UTC
The branch main has been updated by tcberner: URL: https://cgit.FreeBSD.org/ports/commit/?id=48e8d817c56ae860e53a4afd531c9fef4ecc7b79 commit 48e8d817c56ae860e53a4afd531c9fef4ecc7b79 Author: Olivier Duchateau <duchateau.olivier@gmail.com> AuthorDate: 2022-08-13 19:34:28 +0000 Commit: Tobias C. Berner <tcberner@FreeBSD.org> CommitDate: 2022-08-13 19:38:08 +0000 x11/lightdm: update to 1.32.0 - Update to 1.32.0 - Remove unneeded patch (check in configure script) - Remove AppArmor files (specifics to Linux) Changelog: https://github.com/canonical/lightdm/releases/tag/1.32.0 PR: 265818 --- x11/lightdm/Makefile | 5 +- x11/lightdm/distinfo | 6 +- x11/lightdm/files/patch-data_Makefile.in | 147 +++++++++++++++++++++++++++++++ x11/lightdm/files/patch-src_lightdm.c | 11 +++ x11/lightdm/files/patch-src_process.c | 11 --- x11/lightdm/pkg-plist | 5 +- 6 files changed, 164 insertions(+), 21 deletions(-) diff --git a/x11/lightdm/Makefile b/x11/lightdm/Makefile index c476eaf11108..46ef01da27f6 100644 --- a/x11/lightdm/Makefile +++ b/x11/lightdm/Makefile @@ -1,8 +1,7 @@ PORTNAME= lightdm -PORTVERSION= 1.30.0 -PORTREVISION= 3 +PORTVERSION= 1.32.0 CATEGORIES= x11 -MASTER_SITES= https://github.com/CanonicalLtd/${PORTNAME}/releases/download/${DISTVERSIONPREFIX}${DISTVERSION}/ +MASTER_SITES= https://github.com/canonical/${PORTNAME}/releases/download/${DISTVERSIONPREFIX}${DISTVERSION}/ MAINTAINER= desktop@FreeBSD.org COMMENT= Lightweight Display Manager diff --git a/x11/lightdm/distinfo b/x11/lightdm/distinfo index 022d54bad452..596b60919c52 100644 --- a/x11/lightdm/distinfo +++ b/x11/lightdm/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1559844986 -SHA256 (lightdm-1.30.0.tar.xz) = a118779650a3a5b20f05d53c4f9e377b484fbc1810a6b0914a60840d9a581f95 -SIZE (lightdm-1.30.0.tar.xz) = 509220 +TIMESTAMP = 1660386883 +SHA256 (lightdm-1.32.0.tar.xz) = 12f5ab432748f0387c7cf8b94430495a558a035a4f8465e5181af6faff133e4b +SIZE (lightdm-1.32.0.tar.xz) = 518168 diff --git a/x11/lightdm/files/patch-data_Makefile.in b/x11/lightdm/files/patch-data_Makefile.in new file mode 100644 index 000000000000..149327f29935 --- /dev/null +++ b/x11/lightdm/files/patch-data_Makefile.in @@ -0,0 +1,147 @@ +--- data/Makefile.in.orig 2022-07-18 03:38:31 UTC ++++ data/Makefile.in +@@ -99,7 +99,6 @@ am__aclocal_m4_deps = $(top_srcdir)/m4/gtk-doc.m4 \ + am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ + $(ACLOCAL_M4) + DIST_COMMON = $(srcdir)/Makefile.am \ +- $(dist_apparmor_profile_abstractions_DATA) \ + $(dist_completions_DATA) $(dist_conf_DATA) $(dist_dbus_DATA) \ + $(dist_dbusconf_DATA) $(dist_init_DATA) $(dist_pam_DATA) \ + $(am__DIST_COMMON) +@@ -155,16 +154,13 @@ am__uninstall_files_from_dir = { \ + } + man1dir = $(mandir)/man1 + am__installdirs = "$(DESTDIR)$(man1dir)" \ +- "$(DESTDIR)$(apparmor_profiledir)" \ +- "$(DESTDIR)$(apparmor_profile_abstractionsdir)" \ + "$(DESTDIR)$(completionsdir)" "$(DESTDIR)$(confdir)" \ + "$(DESTDIR)$(dbusdir)" "$(DESTDIR)$(dbusconfdir)" \ + "$(DESTDIR)$(initdir)" "$(DESTDIR)$(pamdir)" \ + "$(DESTDIR)$(polkitdir)" + NROFF = nroff + MANS = $(dist_man1_MANS) +-DATA = $(apparmor_profile_DATA) \ +- $(dist_apparmor_profile_abstractions_DATA) \ ++DATA = \ + $(dist_completions_DATA) $(dist_conf_DATA) $(dist_dbus_DATA) \ + $(dist_dbusconf_DATA) $(dist_init_DATA) $(dist_pam_DATA) \ + $(polkit_DATA) +@@ -375,15 +371,7 @@ dist_pam_DATA = pam/lightdm \ + + completionsdir = $(datadir)/bash-completion/completions + dist_completions_DATA = bash-completion/dm-tool bash-completion/lightdm +-apparmor_profiledir = $(sysconfdir)/apparmor.d +-apparmor_profile_DATA = \ +- lightdm-guest-session + +-apparmor_profile_abstractionsdir = $(apparmor_profiledir)/abstractions +-dist_apparmor_profile_abstractions_DATA = \ +- apparmor/abstractions/lightdm \ +- apparmor/abstractions/lightdm_chromium-browser +- + accountsservice_interface = org.freedesktop.DisplayManager.AccountsService.xml + dbusdir = $(datadir)/dbus-1/interfaces + dist_dbus_DATA = \ +@@ -476,48 +464,6 @@ uninstall-man1: + } | sed -e 's,.*/,,;h;s,.*\.,,;s,^[^1][0-9a-z]*$$,1,;x' \ + -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,'`; \ + dir='$(DESTDIR)$(man1dir)'; $(am__uninstall_files_from_dir) +-install-apparmor_profileDATA: $(apparmor_profile_DATA) +- @$(NORMAL_INSTALL) +- @list='$(apparmor_profile_DATA)'; test -n "$(apparmor_profiledir)" || list=; \ +- if test -n "$$list"; then \ +- echo " $(MKDIR_P) '$(DESTDIR)$(apparmor_profiledir)'"; \ +- $(MKDIR_P) "$(DESTDIR)$(apparmor_profiledir)" || exit 1; \ +- fi; \ +- for p in $$list; do \ +- if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ +- echo "$$d$$p"; \ +- done | $(am__base_list) | \ +- while read files; do \ +- echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(apparmor_profiledir)'"; \ +- $(INSTALL_DATA) $$files "$(DESTDIR)$(apparmor_profiledir)" || exit $$?; \ +- done +- +-uninstall-apparmor_profileDATA: +- @$(NORMAL_UNINSTALL) +- @list='$(apparmor_profile_DATA)'; test -n "$(apparmor_profiledir)" || list=; \ +- files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ +- dir='$(DESTDIR)$(apparmor_profiledir)'; $(am__uninstall_files_from_dir) +-install-dist_apparmor_profile_abstractionsDATA: $(dist_apparmor_profile_abstractions_DATA) +- @$(NORMAL_INSTALL) +- @list='$(dist_apparmor_profile_abstractions_DATA)'; test -n "$(apparmor_profile_abstractionsdir)" || list=; \ +- if test -n "$$list"; then \ +- echo " $(MKDIR_P) '$(DESTDIR)$(apparmor_profile_abstractionsdir)'"; \ +- $(MKDIR_P) "$(DESTDIR)$(apparmor_profile_abstractionsdir)" || exit 1; \ +- fi; \ +- for p in $$list; do \ +- if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ +- echo "$$d$$p"; \ +- done | $(am__base_list) | \ +- while read files; do \ +- echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(apparmor_profile_abstractionsdir)'"; \ +- $(INSTALL_DATA) $$files "$(DESTDIR)$(apparmor_profile_abstractionsdir)" || exit $$?; \ +- done +- +-uninstall-dist_apparmor_profile_abstractionsDATA: +- @$(NORMAL_UNINSTALL) +- @list='$(dist_apparmor_profile_abstractions_DATA)'; test -n "$(apparmor_profile_abstractionsdir)" || list=; \ +- files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ +- dir='$(DESTDIR)$(apparmor_profile_abstractionsdir)'; $(am__uninstall_files_from_dir) + install-dist_completionsDATA: $(dist_completions_DATA) + @$(NORMAL_INSTALL) + @list='$(dist_completions_DATA)'; test -n "$(completionsdir)" || list=; \ +@@ -708,7 +654,7 @@ check-am: all-am + check: check-am + all-am: Makefile $(MANS) $(DATA) + installdirs: +- for dir in "$(DESTDIR)$(man1dir)" "$(DESTDIR)$(apparmor_profiledir)" "$(DESTDIR)$(apparmor_profile_abstractionsdir)" "$(DESTDIR)$(completionsdir)" "$(DESTDIR)$(confdir)" "$(DESTDIR)$(dbusdir)" "$(DESTDIR)$(dbusconfdir)" "$(DESTDIR)$(initdir)" "$(DESTDIR)$(pamdir)" "$(DESTDIR)$(polkitdir)"; do \ ++ for dir in "$(DESTDIR)$(man1dir)" "$(DESTDIR)$(completionsdir)" "$(DESTDIR)$(confdir)" "$(DESTDIR)$(dbusdir)" "$(DESTDIR)$(dbusconfdir)" "$(DESTDIR)$(initdir)" "$(DESTDIR)$(pamdir)" "$(DESTDIR)$(polkitdir)"; do \ + test -z "$$dir" || $(MKDIR_P) "$$dir"; \ + done + install: install-am +@@ -762,9 +708,8 @@ info: info-am + + info-am: + +-install-data-am: install-apparmor_profileDATA \ +- install-dist_apparmor_profile_abstractionsDATA \ +- install-dist_completionsDATA install-dist_confDATA \ ++install-data-am: install-dist_completionsDATA \ ++ install-dist_confDATA \ + install-dist_dbusDATA install-dist_dbusconfDATA \ + install-dist_initDATA install-dist_pamDATA install-man \ + install-polkitDATA +@@ -812,9 +757,8 @@ ps: ps-am + + ps-am: + +-uninstall-am: uninstall-apparmor_profileDATA \ +- uninstall-dist_apparmor_profile_abstractionsDATA \ +- uninstall-dist_completionsDATA uninstall-dist_confDATA \ ++uninstall-am: uninstall-dist_completionsDATA \ ++ uninstall-dist_confDATA \ + uninstall-dist_dbusDATA uninstall-dist_dbusconfDATA \ + uninstall-dist_initDATA uninstall-dist_pamDATA uninstall-man \ + uninstall-polkitDATA +@@ -826,8 +770,8 @@ uninstall-man: uninstall-man1 + .PHONY: all all-am check check-am clean clean-generic clean-libtool \ + cscopelist-am ctags-am distclean distclean-generic \ + distclean-libtool distdir dvi dvi-am html html-am info info-am \ +- install install-am install-apparmor_profileDATA install-data \ +- install-data-am install-dist_apparmor_profile_abstractionsDATA \ ++ install install-am install-data \ ++ install-data-am \ + install-dist_completionsDATA install-dist_confDATA \ + install-dist_dbusDATA install-dist_dbusconfDATA \ + install-dist_initDATA install-dist_pamDATA install-dvi \ +@@ -838,8 +782,7 @@ uninstall-man: uninstall-man1 + installcheck installcheck-am installdirs maintainer-clean \ + maintainer-clean-generic mostlyclean mostlyclean-generic \ + mostlyclean-libtool pdf pdf-am ps ps-am tags-am uninstall \ +- uninstall-am uninstall-apparmor_profileDATA \ +- uninstall-dist_apparmor_profile_abstractionsDATA \ ++ uninstall-am \ + uninstall-dist_completionsDATA uninstall-dist_confDATA \ + uninstall-dist_dbusDATA uninstall-dist_dbusconfDATA \ + uninstall-dist_initDATA uninstall-dist_pamDATA uninstall-man \ diff --git a/x11/lightdm/files/patch-src_lightdm.c b/x11/lightdm/files/patch-src_lightdm.c new file mode 100644 index 000000000000..99f72cd044b1 --- /dev/null +++ b/x11/lightdm/files/patch-src_lightdm.c @@ -0,0 +1,11 @@ +--- src/lightdm.c.orig 2022-07-10 21:17:23 UTC ++++ src/lightdm.c +@@ -813,7 +813,7 @@ main (int argc, char **argv) + if (!config_has_key (config_get_instance (), "XDMCPServer", "hostname")) + config_set_string (config_get_instance (), "XDMCPServer", "hostname", g_get_host_name ()); + if (!config_has_key (config_get_instance (), "LightDM", "logind-check-graphical")) +- config_set_boolean (config_get_instance (), "LightDM", "logind-check-graphical", TRUE); ++ config_set_boolean (config_get_instance (), "LightDM", "logind-check-graphical", FALSE); + + /* Override defaults */ + if (log_dir) diff --git a/x11/lightdm/files/patch-src_process.c b/x11/lightdm/files/patch-src_process.c deleted file mode 100644 index ef18f78fb2a9..000000000000 --- a/x11/lightdm/files/patch-src_process.c +++ /dev/null @@ -1,11 +0,0 @@ ---- src/process.c.orig 2018-08-30 00:28:55 UTC -+++ src/process.c -@@ -73,6 +73,8 @@ static GHashTable *processes = NULL; - static pid_t signal_pid; - static int signal_pipe[2]; - -+extern char **environ; -+ - Process * - process_get_current (void) - { diff --git a/x11/lightdm/pkg-plist b/x11/lightdm/pkg-plist index dba56a27e66a..4813332c3660 100644 --- a/x11/lightdm/pkg-plist +++ b/x11/lightdm/pkg-plist @@ -1,8 +1,4 @@ bin/dm-tool -etc/apparmor.d/abstractions/lightdm -etc/apparmor.d/abstractions/lightdm_chromium-browser -etc/apparmor.d/lightdm-guest-session -etc/dbus-1/system.d/org.freedesktop.DisplayManager.conf %%ETCDIR%%/Xsession @sample %%ETCDIR%%/keys.conf.sample @sample %%ETCDIR%%/lightdm.conf.sample @@ -32,6 +28,7 @@ share/accountsservice/interfaces/org.freedesktop.DisplayManager.AccountsService. share/bash-completion/completions/dm-tool share/bash-completion/completions/lightdm share/dbus-1/interfaces/org.freedesktop.DisplayManager.AccountsService.xml +share/dbus-1/system.d/org.freedesktop.DisplayManager.conf %%VAPI%%share/gir-1.0/LightDM-1.gir %%PORTDOCS%%share/gtk-doc/html/lightdm-gobject-1/LightDMGreeter.html %%PORTDOCS%%share/gtk-doc/html/lightdm-gobject-1/LightDMLanguage.html