pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

lxsession: Handle config file properly.



Module Name:	pkgsrc-wip
Committed By:	youri <youri.mout%gmail.com@localhost>
Pushed By:	youri
Date:		Tue Apr 5 17:53:13 2016 +0200
Changeset:	49f57239b253b2aaa8ab76a1350d0a6e375847c8

Modified Files:
	lxsession/Makefile
	lxsession/PLIST

Log Message:
lxsession: Handle config file properly.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=49f57239b253b2aaa8ab76a1350d0a6e375847c8

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 lxsession/Makefile |  9 +++++++++
 lxsession/PLIST    | 23 ++++++++++++++++++++++-
 2 files changed, 31 insertions(+), 1 deletion(-)

diffs:
diff --git a/lxsession/Makefile b/lxsession/Makefile
index 5c24d55..cec6bc1 100644
--- a/lxsession/Makefile
+++ b/lxsession/Makefile
@@ -10,14 +10,23 @@ HOMEPAGE=	http://lxde.org/
 COMMENT=	Session manager for LXDE
 LICENSE=	gnu-gpl-v2
 
+LXDE_CONF=	share/examples/lxde
 GNU_CONFIGURE=	yes
+CONFIGURE_ARGS+=	--sysconfdir=${PREFIX}/${LXDE_CONF}
 INSTALLATION_DIRS=	share/doc/lxsession
 USE_TOOLS+=	intltool msgfmt pkg-config
 
+PKG_SYSCONFSUBDIR=	xdg
+MAKE_DIRS+=	${PKG_SYSCONFDIR}/autostart
+
+CONF_FILES+=	${LXDE_CONF}/xdg/autostart/lxpolkit.desktop \
+		${PKG_SYSCONFDIR}/autostart/lxpolkit.desktop
+
 post-install:
 	${INSTALL_DATA} ${WRKSRC}/README \
 		${DESTDIR}${PREFIX}/share/doc/lxsession/
 
+.include "../../sysutils/desktop-file-utils/desktopdb.mk"
 .include "../../sysutils/dbus/buildlink3.mk"
 .include "../../sysutils/dbus-glib/buildlink3.mk"
 .include "../../wip/polkit/buildlink3.mk"
diff --git a/lxsession/PLIST b/lxsession/PLIST
index 1887286..f9894bb 100644
--- a/lxsession/PLIST
+++ b/lxsession/PLIST
@@ -1,13 +1,34 @@
-@comment $NetBSD: PLIST,v 1.1 2013/02/01 01:31:37 reed Exp $
+@comment $NetBSD$
+bin/lxclipboard
 bin/lxlock
+bin/lxpolkit
 bin/lxsession
+bin/lxsession-db
+bin/lxsession-default
+bin/lxsession-default-apps
+bin/lxsession-default-terminal
+bin/lxsession-edit
 bin/lxsession-logout
+bin/lxsession-xdg-autostart
+bin/lxsession-xsettings
+bin/lxsettings-daemon
+man/man1/lxclipboard.1
+man/man1/lxlock.1
+man/man1/lxsession-default-apps.1
+man/man1/lxsession-default-terminal.1
+man/man1/lxsession-default.1
 man/man1/lxsession-logout.1
 man/man1/lxsession.1
+share/applications/lxsession-default-apps.desktop
+share/applications/lxsession-edit.desktop
 share/doc/lxsession/README
+share/examples/lxde/xdg/autostart/lxpolkit.desktop
 share/lxsession/images/gnome-session-hibernate.png
 share/lxsession/images/gnome-session-reboot.png
 share/lxsession/images/gnome-session-suspend.png
 share/lxsession/images/gnome-session-switch.png
 share/lxsession/images/system-log-out.png
 share/lxsession/images/system-shutdown.png
+share/lxsession/ui/lxpolkit.ui
+share/lxsession/ui/lxsession-default-apps.ui
+share/lxsession/ui/lxsession-edit.ui


Home | Main Index | Thread Index | Old Index