[jhbuild] [3.2] Patch dbus-sharp pkg-config issues (GNOME bug 656964)



commit ec54f18869a5152cd2ef08492665f4025da9cec9
Author: Craig Keogh <cskeogh adam com au>
Date:   Tue Aug 23 21:12:24 2011 +0930

    [3.2] Patch dbus-sharp pkg-config issues (GNOME bug 656964)

 modulesets/gnome-apps-3.2.modules        |   10 ++++++----
 patches/dbus-sharp-0.7.0-pkgconfig.patch |   12 ++++++++++++
 2 files changed, 18 insertions(+), 4 deletions(-)
---
diff --git a/modulesets/gnome-apps-3.2.modules b/modulesets/gnome-apps-3.2.modules
index 6471a64..92f9968 100644
--- a/modulesets/gnome-apps-3.2.modules
+++ b/modulesets/gnome-apps-3.2.modules
@@ -325,15 +325,17 @@
     </dependencies>
   </autotools>
 
-  <tarball id="dbus-sharp" version="0.7.0">
-    <source href="https://github.com/downloads/mono/dbus-sharp/dbus-sharp-0.7.0.tar.gz";
+  <autotools id="dbus-sharp">
+    <branch repo="monogithub" module="dbus-sharp-0.7.0.tar.gz" version="0.7.0"
             hash="sha256:92529aef9063f477d1975947c6388c63d03234018f45d007c07716dd3e21dd41"
-            md5sum="1964fc341dcbaeda859c53cee295d042" size="127651"/>
+            md5sum="1964fc341dcbaeda859c53cee295d042" size="127651">
+      <patch file="dbus-sharp-0.7.0-pkgconfig.patch" strip="1"/>
+    </branch>
     <dependencies>
       <dep package="dbus"/>
       <dep package="mono"/>
     </dependencies>
-  </tarball>
+  </autotools>
 
   <tarball id="dbus-sharp-glib" version="0.5.0">
     <source href="https://github.com/downloads/mono/dbus-sharp/dbus-sharp-glib-0.5.0.tar.gz";
diff --git a/patches/dbus-sharp-0.7.0-pkgconfig.patch b/patches/dbus-sharp-0.7.0-pkgconfig.patch
new file mode 100644
index 0000000..5d7e457
--- /dev/null
+++ b/patches/dbus-sharp-0.7.0-pkgconfig.patch
@@ -0,0 +1,12 @@
+diff -ur dbus-sharp-0.7.0.orig/dbus-sharp-1.0.pc.in dbus-sharp-0.7.0/dbus-sharp-1.0.pc.in
+--- dbus-sharp-0.7.0.orig/dbus-sharp-1.0.pc.in	2010-09-14 18:47:49.000000000 +0930
++++ dbus-sharp-0.7.0/dbus-sharp-1.0.pc.in	2011-08-23 21:01:16.512717282 +0930
+@@ -1,7 +1,7 @@
+ prefix= prefix@
+ datadir=${prefix}/share
+ exec_prefix=${prefix}
+-libdir=${exec_prefix}/lib
++libdir= libdir@
+ session_bus_services_dir=${datadir}/dbus-1/services
+ 
+ Name: Managed DBus



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]