Skip to content
This repository has been archived by the owner on Aug 22, 2022. It is now read-only.

Commit

Permalink
packagekit: systemd & aptcc:
Browse files Browse the repository at this point in the history
  • Loading branch information
attuska committed Jan 15, 2020
1 parent efccf3f commit ba3c4be
Show file tree
Hide file tree
Showing 3 changed files with 59 additions and 1 deletion.
2 changes: 1 addition & 1 deletion packagekit/compile
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ ub_compile \
--enable-gtk-module \
--enable-gstreamer-plugin \
--disable-gtk-doc \
--disable-systemd
--enable-systemd
12 changes: 12 additions & 0 deletions packagekit/patches/define-gettext-package.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
diff -Nur orig/contrib/command-not-found/pk-command-not-found.c mod/contrib/command-not-found/pk-command-not-found.c
--- orig/contrib/command-not-found/pk-command-not-found.c 2018-11-02 17:42:32.000000000 +0100
+++ mod/contrib/command-not-found/pk-command-not-found.c 2020-01-15 11:00:13.861473477 +0100
@@ -57,7 +57,7 @@

/* bash reserved code */
#define EXIT_COMMAND_NOT_FOUND 127
-
+#define GETTEXT_PACKAGE "Packagekit"
/**
*
* Swizzle ordering, e.g. amke -> make
46 changes: 46 additions & 0 deletions packagekit/patches/no-debhelper.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
diff -Nur orig/backends/aptcc/Makefile.am mod/backends/aptcc/Makefile.am
--- orig/backends/aptcc/Makefile.am 2019-11-19 19:51:16.000000000 +0100
+++ mod/backends/aptcc/Makefile.am 2020-01-15 10:42:32.856853014 +0100
@@ -45,42 +45,6 @@
aptconfdir = ${SYSCONFDIR}/apt/apt.conf.d
aptconf_DATA = 20packagekit

-if HAVE_SYSTEMD
-libexec_PROGRAMS = pk-debconf-helper
-pk_debconf_helper_SOURCES = \
- pk-debconf-helper.c
-
-pk_debconf_helper_LDADD = \
- $(GLIB_LIBS) \
- $(GIO_LIBS) \
- $(SYSTEMD_LIBS) \
- $(PK_GLIB2_LIBS)
-
-pk_debconf_helper_LDFLAGS = \
- $(PIE_LDFLAGS)
-
-pk_debconf_helper_CFLAGS = \
- $(WARNINGFLAGS_C)
-pk_debconf_helper_CPPFLAGS = \
- $(PIE_CFLAGS) \
- $(GLIB_CFLAGS) \
- $(GIO_CFLAGS) \
- $(SYSTEMD_CFLAGS) \
- -DI_KNOW_THE_PACKAGEKIT_GLIB2_API_IS_SUBJECT_TO_CHANGE \
- -DPK_COMPILATION \
- -DG_LOG_DOMAIN=\"PackageKit\" \
- -I$(top_builddir)/lib \
- -I$(top_srcdir) \
- -I$(top_srcdir)/lib
-systemdservice_in_files = \
- pk-debconf-helper.service.in \
- pk-debconf-helper.socket.in
-
-systemduserservicedir = $(systemduserunitdir)
-systemduserservice_DATA = pk-debconf-helper.socket \
- pk-debconf-helper.service
-endif
-
EXTRA_DIST = 20packagekit \
pkg-list.h \
apt-intf.h \

0 comments on commit ba3c4be

Please sign in to comment.