summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Laine <jeremy.laine@m4x.org>2008-09-23 19:16:52 +0000
committerJeremy Laine <jeremy.laine@m4x.org>2008-09-23 19:16:52 +0000
commit936787f3c4b1e8d62d524012b3590c054ed4e316 (patch)
tree24c25c2a0822bc7cc667e7a948817eb985ebda1f
parentf906528b911bde96ba649c09194d2e3461d565e6 (diff)
orbit2: patch ORBit-2.0.pc.in instead of using sed on ORBit-2.0.pc (fixes QA issue)
-rw-r--r--packages/gnome/orbit2/pkgconfig-fix.patch12
-rw-r--r--packages/gnome/orbit2_2.14.12.bb13
2 files changed, 14 insertions, 11 deletions
diff --git a/packages/gnome/orbit2/pkgconfig-fix.patch b/packages/gnome/orbit2/pkgconfig-fix.patch
new file mode 100644
index 0000000000..f629e506dd
--- /dev/null
+++ b/packages/gnome/orbit2/pkgconfig-fix.patch
@@ -0,0 +1,12 @@
+diff -urN ORBit2-2.14.12.orig/ORBit-2.0.pc.in ORBit2-2.14.12/ORBit-2.0.pc.in
+--- ORBit2-2.14.12.orig/ORBit-2.0.pc.in 2008-01-29 13:45:22.000000000 +0100
++++ ORBit2-2.14.12/ORBit-2.0.pc.in 2008-09-23 20:13:07.000000000 +0200
+@@ -2,7 +2,7 @@
+ exec_prefix=@exec_prefix@
+ libdir=@libdir@
+ includedir=@includedir@
+-orbit_idl=@bindir@/orbit-idl-2@EXEEXT@
++orbit_idl=@exec_prefix@/bin/orbit-idl-2@EXEEXT@
+
+
+ Name: ORBit-2.0
diff --git a/packages/gnome/orbit2_2.14.12.bb b/packages/gnome/orbit2_2.14.12.bb
index 1ac0136e10..140776114d 100644
--- a/packages/gnome/orbit2_2.14.12.bb
+++ b/packages/gnome/orbit2_2.14.12.bb
@@ -1,9 +1,10 @@
LICENSE = "GPL"
-PR = "r0"
+PR = "r1"
DESCRIPTION = "CORBA ORB"
SECTION = "x11/gnome/libs"
SRC_URI = "http://ftp.gnome.org/pub/GNOME/sources/ORBit2/2.14/ORBit2-${PV}.tar.bz2 \
file://configure-lossage.patch;patch=1;pnum=1 \
+ file://pkgconfig-fix.patch;patch=1 \
file://gtk-doc.m4 \
file://gtk-doc.make"
DEPENDS = "libidl popt orbit2-native gtk-doc"
@@ -28,16 +29,6 @@ do_configure_prepend() {
install ${WORKDIR}/gtk-doc.make ./
}
-do_compile_append () {
- cp ORBit-2.0.pc ORBit-2.0.pc.old
- sed 's:^orbit_idl=.*/:orbit_idl=${STAGING_BINDIR_NATIVE}/:' < ORBit-2.0.pc > ORBit-2.0.pc.new
- mv ORBit-2.0.pc.new ORBit-2.0.pc
-}
-
-do_install_append () {
- mv ORBit-2.0.pc.old ORBit-2.0.pc
-}
-
do_stage() {
oe_libinstall -so -C src/orb libORBit-2 ${STAGING_LIBDIR}
oe_libinstall -so -C src/services/name libORBitCosNaming-2 ${STAGING_LIBDIR}