PackageKit/PackageKit_release.patch

90 lines
3.1 KiB
Diff

--- etc/PackageKit.conf.in
+++ etc/PackageKit.conf.in
@@ -23,7 +23,7 @@
# Shut down the daemon after this many seconds idle. 0 means don't shutdown.
#
# default=300
-ShutdownTimeout=300
+ShutdownTimeout=15
# Default backend, as chosen in the configure script. This will be used where
# no --backend="foo" option is given to the daemon.
--- data/Makefile.am
+++ data/Makefile.am
@@ -10,12 +10,6 @@
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = packagekit.pc
-cronfiledir = ${SYSCONFDIR}/cron.daily
-cronfile_SCRIPTS = packagekit-background.cron
-
-crondatadir = ${SYSCONFDIR}/sysconfig
-crondata_SCRIPTS = packagekit-background
-
pmutilsdir = $(libdir)/pm-utils/sleep.d
pmutils_DATA = 95packagekit
@@ -27,9 +21,6 @@
dbusdir = ${SYSCONFDIR}/dbus-1/system.d
dist_dbus_DATA = \
org.freedesktop.PackageKit.conf \
- org.freedesktop.PackageKitTestBackend.conf \
- org.freedesktop.PackageKitYumBackend.conf \
- org.freedesktop.PackageKitAptBackend.conf \
$(NULL)
servicemaindir = $(DBUS_SERVICES_DIR)
@@ -38,24 +29,6 @@
$(servicemain_DATA): $(servicemain_in_files) Makefile
@sed -e "s|\@servicedir\@|$(sbindir)|" -e "s|\@PACKAGEKIT_USER\@|$(PACKAGEKIT_USER)|" $< > $@
-serviceyumdir = $(DBUS_SERVICES_DIR)
-serviceyum_in_files = org.freedesktop.PackageKitYumBackend.service.in
-serviceyum_DATA = $(serviceyum_in_files:.service.in=.service)
-$(serviceyum_DATA): $(serviceyum_in_files) Makefile
- @sed -e "s|\@servicedir\@|$(libexecdir)|" -e "s|\@PK_BACKEND_USER\@|$(PK_BACKEND_USER)|" $< > $@
-
-servicetestdir = $(DBUS_SERVICES_DIR)
-servicetest_in_files = org.freedesktop.PackageKitTestBackend.service.in
-servicetest_DATA = $(servicetest_in_files:.service.in=.service)
-$(servicetest_DATA): $(servicetest_in_files) Makefile
- @sed -e "s|\@servicedir\@|$(libexecdir)|" -e "s|\@PK_BACKEND_USER\@|$(PK_BACKEND_USER)|" $< > $@
-
-serviceaptdir = $(DBUS_SERVICES_DIR)
-serviceapt_in_files = org.freedesktop.PackageKitAptBackend.service.in
-serviceapt_DATA = $(serviceapt_in_files:.service.in=.service)
-$(serviceapt_DATA): $(serviceapt_in_files) Makefile
- @sed -e "s|\@servicedir\@|$(libexecdir)|" -e "s|\@PK_BACKEND_USER\@|$(PK_BACKEND_USER)|" $< > $@
-
localcachedir = $(localstatedir)/run/PackageKit
localcache_DATA = \
job_count.dat \
@@ -68,17 +41,9 @@
EXTRA_DIST = \
95packagekit \
- packagekit-background \
- packagekit-background.cron \
org.freedesktop.PackageKit.conf.in \
- org.freedesktop.PackageKitTestBackend.conf.in \
- org.freedesktop.PackageKitYumBackend.conf.in \
- org.freedesktop.PackageKitAptBackend.conf.in \
packagekit.pc.in \
$(servicemain_in_files) \
- $(serviceyum_in_files) \
- $(servicetest_in_files) \
- $(serviceapt_in_files) \
$(mime_in_files) \
$(localcache_DATA) \
$(database_DATA) \
@@ -93,9 +58,6 @@
DISTCLEANFILES = \
$(mime_DATA) \
org.freedesktop.PackageKit.service \
- org.freedesktop.PackageKitTestBackend.service \
- org.freedesktop.PackageKitYumBackend.service \
- org.freedesktop.PackageKitAptBackend.service \
$(NULL)
MAINTAINERCLEANFILES = \