pkgsrc-WIP-changes archive

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

gnome-tracker: Use CONF_FILES for etc/



Module Name:	pkgsrc-wip
Committed By:	Kamil Rytarowski <n54%gmx.com@localhost>
Pushed By:	kamil
Date:		Mon May 23 00:44:02 2016 +0200
Changeset:	d809ef527badd0e93108435c450073a1607f8101

Modified Files:
	gnome-tracker/Makefile
	gnome-tracker/PLIST

Log Message:
gnome-tracker: Use CONF_FILES for etc/

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

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

diffstat:
 gnome-tracker/Makefile | 16 ++++++++++++++++
 gnome-tracker/PLIST    | 10 +++++-----
 2 files changed, 21 insertions(+), 5 deletions(-)

diffs:
diff --git a/gnome-tracker/Makefile b/gnome-tracker/Makefile
index 2cb8717..db64882 100644
--- a/gnome-tracker/Makefile
+++ b/gnome-tracker/Makefile
@@ -19,6 +19,22 @@ USE_LIBTOOL=	yes
 USE_LANGUAGES=	c c++
 USE_TOOLS+=	pkg-config intltool gmake
 
+MAKE_DIRS+=	${PKG_SYSCONFDIR}/xdg/autostart
+EGDIR=		${PREFIX}/share/examples/${PKGBASE}
+CONF_FILES+=	${EGDIR}/xdg/autostart/tracker-extract.desktop \
+                ${PKG_SYSCONFDIR}/xdg/autostart/tracker-extract.desktop
+CONF_FILES+=	${EGDIR}/xdg/autostart/tracker-miner-apps.desktop \
+                ${PKG_SYSCONFDIR}/xdg/autostart/tracker-miner-apps.desktop
+CONF_FILES+=	${EGDIR}/xdg/autostart/tracker-miner-fs.desktop \
+                ${PKG_SYSCONFDIR}/xdg/autostart/tracker-miner-fs.desktop
+CONF_FILES+=	${EGDIR}/xdg/autostart/tracker-miner-user-guides.desktop \
+                ${PKG_SYSCONFDIR}/xdg/autostart/tracker-miner-user-guides.desktop
+CONF_FILES+=	${EGDIR}/xdg/autostart/tracker-store.desktop \
+                ${PKG_SYSCONFDIR}/xdg/autostart/tracker-store.desktop
+
+CONFIGURE_ARGS+=	--sysconfdir=${PKG_SYSCONFBASEDIR}
+INSTALL_MAKE_FLAGS+=	sysconfdir=${EGDIR}
+
 # Options?
 CONFIGURE_ARGS+=	--disable-miner-thunderbird
 CONFIGURE_ARGS+=	--disable-miner-firefox
diff --git a/gnome-tracker/PLIST b/gnome-tracker/PLIST
index 4e8d054..9cc6898 100644
--- a/gnome-tracker/PLIST
+++ b/gnome-tracker/PLIST
@@ -1,10 +1,5 @@
 @comment $NetBSD$
 bin/tracker
-etc/xdg/autostart/tracker-extract.desktop
-etc/xdg/autostart/tracker-miner-apps.desktop
-etc/xdg/autostart/tracker-miner-fs.desktop
-etc/xdg/autostart/tracker-miner-user-guides.desktop
-etc/xdg/autostart/tracker-store.desktop
 include/tracker-1.0/libtracker-control/tracker-control.h
 include/tracker-1.0/libtracker-control/tracker-miner-manager.h
 include/tracker-1.0/libtracker-miner/tracker-data-provider.h
@@ -73,6 +68,11 @@ share/dbus-1/services/org.freedesktop.Tracker1.Miner.Files.service
 share/dbus-1/services/org.freedesktop.Tracker1.Miner.Userguides.service
 share/dbus-1/services/org.freedesktop.Tracker1.Writeback.service
 share/dbus-1/services/org.freedesktop.Tracker1.service
+share/examples/gnome-tracker/xdg/autostart/tracker-extract.desktop
+share/examples/gnome-tracker/xdg/autostart/tracker-miner-apps.desktop
+share/examples/gnome-tracker/xdg/autostart/tracker-miner-fs.desktop
+share/examples/gnome-tracker/xdg/autostart/tracker-miner-user-guides.desktop
+share/examples/gnome-tracker/xdg/autostart/tracker-store.desktop
 share/glib-2.0/schemas/org.freedesktop.Tracker.DB.gschema.xml
 share/glib-2.0/schemas/org.freedesktop.Tracker.Extract.gschema.xml
 share/glib-2.0/schemas/org.freedesktop.Tracker.FTS.gschema.xml


Home | Main Index | Thread Index | Old Index