diff options
author | Michael Olbrich <m.olbrich@pengutronix.de> | 2010-07-05 17:37:23 +0200 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2010-07-05 17:37:23 +0200 |
commit | e797fabb28117e2f40de7a5b4c123910976331fa (patch) | |
tree | eb414b8f554c9ba2bc0a3fa6e17e4d7ba33a7ee4 /patches | |
parent | 8f42dd6a5ad1043821f9fc52662217a8f437fa75 (diff) | |
download | ptxdist-e797fabb28117e2f40de7a5b4c123910976331fa.tar.gz ptxdist-e797fabb28117e2f40de7a5b4c123910976331fa.tar.xz |
[dbus] make sure pkgconfig produces the correct daemondir
(this was broken by ccc059c5f27245a361aae2b66cbe855a5798810e)
Diffstat (limited to 'patches')
-rw-r--r-- | patches/dbus-1.2.24/0003-make-dbus-1.pc-relocatable.patch | 51 | ||||
-rw-r--r-- | patches/dbus-1.2.24/make-pkgconfig-file-relocatable.diff | 25 | ||||
-rw-r--r-- | patches/dbus-1.2.24/series | 2 |
3 files changed, 52 insertions, 26 deletions
diff --git a/patches/dbus-1.2.24/0003-make-dbus-1.pc-relocatable.patch b/patches/dbus-1.2.24/0003-make-dbus-1.pc-relocatable.patch new file mode 100644 index 000000000..6a3f7fc56 --- /dev/null +++ b/patches/dbus-1.2.24/0003-make-dbus-1.pc-relocatable.patch @@ -0,0 +1,51 @@ +From 0ceaf99bf18517bf76eb0cd4400a569daa0224ec Mon Sep 17 00:00:00 2001 +From: Michael Olbrich <m.olbrich@pengutronix.de> +Date: Mon, 5 Jul 2010 17:04:38 +0200 +Subject: [PATCH 3/3] make dbus-1.pc relocatable + +Don't use expanded paths in dbus-1.pc.in + +Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de> +--- + configure.in | 3 +++ + dbus-1.pc.in | 6 +++--- + 2 files changed, 6 insertions(+), 3 deletions(-) + +diff --git a/configure.in b/configure.in +index 486c612..fd744a0 100644 +--- a/configure.in ++++ b/configure.in +@@ -1365,10 +1365,13 @@ AC_DEFINE_UNQUOTED(DBUS_DATADIR,"$DBUS_DATADIR", [Directory for installing DBUS + #### Directory to install dbus-daemon + if test -z "$with_dbus_daemondir" ; then + DBUS_DAEMONDIR=$EXPANDED_BINDIR ++ RELATIVE_DBUS_DAEMONDIR=$bindir + else + DBUS_DAEMONDIR=$with_dbus_daemondir ++ RELATIVE_DBUS_DAEMONDIR=$with_dbus_daemondir + fi + AC_SUBST(DBUS_DAEMONDIR) ++AC_SUBST(RELATIVE_DBUS_DAEMONDIR) + AC_DEFINE_UNQUOTED(DBUS_DAEMONDIR,"$DBUS_DAEMONDIR", [Directory for installing the DBUS daemon]) + + #### Directory to install the other binaries +diff --git a/dbus-1.pc.in b/dbus-1.pc.in +index 866f81c..1cb1b8d 100644 +--- a/dbus-1.pc.in ++++ b/dbus-1.pc.in +@@ -3,9 +3,9 @@ exec_prefix=@exec_prefix@ + libdir=@libdir@ + includedir=@includedir@ + system_bus_default_address=@DBUS_SYSTEM_BUS_DEFAULT_ADDRESS@ +-sysconfdir=@EXPANDED_SYSCONFDIR@ +-session_bus_services_dir=@EXPANDED_DATADIR@/dbus-1/services +-daemondir=@DBUS_DAEMONDIR@ ++sysconfdir=@sysconfdir@ ++session_bus_services_dir=@datadir@/dbus-1/services ++daemondir=@RELATIVE_DBUS_DAEMONDIR@ + + Name: dbus + Description: Free desktop message bus +-- +1.7.1 + diff --git a/patches/dbus-1.2.24/make-pkgconfig-file-relocatable.diff b/patches/dbus-1.2.24/make-pkgconfig-file-relocatable.diff deleted file mode 100644 index b262bf9bf..000000000 --- a/patches/dbus-1.2.24/make-pkgconfig-file-relocatable.diff +++ /dev/null @@ -1,25 +0,0 @@ -From: Michael Olbrich <m.olbrich@pengutronix.de> -Subject: make dbus-1.pc relocatable - -Don't use expanded paths in dbus-1.pc.in - -Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de> ---- - dbus-1.pc.in | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -Index: b/dbus-1.pc.in -=================================================================== ---- a/dbus-1.pc.in -+++ b/dbus-1.pc.in -@@ -3,8 +3,8 @@ exec_prefix=@exec_prefix@ - libdir=@libdir@ - includedir=@includedir@ - system_bus_default_address=@DBUS_SYSTEM_BUS_DEFAULT_ADDRESS@ --sysconfdir=@EXPANDED_SYSCONFDIR@ --session_bus_services_dir=@EXPANDED_DATADIR@/dbus-1/services -+sysconfdir=@sysconfdir@ -+session_bus_services_dir=@datadir@/dbus-1/services - daemondir=@DBUS_DAEMONDIR@ - - Name: dbus diff --git a/patches/dbus-1.2.24/series b/patches/dbus-1.2.24/series index b40f40483..9d94ee130 100644 --- a/patches/dbus-1.2.24/series +++ b/patches/dbus-1.2.24/series @@ -1,3 +1,3 @@ 0001-dbus-daemon-launch-helper-fix-build-with-libxml.patch 0002-dbus-change-DBUS_MACHINE_UUID_FILE-path.patch -make-pkgconfig-file-relocatable.diff +0003-make-dbus-1.pc-relocatable.patch |