mirror of
https://git.yoctoproject.org/poky
synced 2026-05-01 06:32:11 +02:00
libowl: Use autotools_stage instead of broken custom staging function
This patch also fixes claws-mail, leafpad, pcmanfm, pimlico and puzzles recipes using the proper include for owlwindowmenu.h Signed-off-by: Enric Balletbo i Serra <eballetbo@gmail.com> Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
This commit is contained in:
committed by
Richard Purdie
parent
915d91845f
commit
86e45a8c0c
@@ -3,7 +3,7 @@ DESCRIPTION = "Mail user agent"
|
||||
#DEPENDS = "gtk+ gpgme libetpan libgnomeprint aspell openssl"
|
||||
DEPENDS = "gtk+ libetpan openssl libowl"
|
||||
LICENSE = "GPL"
|
||||
PR = "r4"
|
||||
PR = "r5"
|
||||
|
||||
SRC_URI = "\
|
||||
${SOURCEFORGE_MIRROR}/sylpheed-claws/claws-mail-${PV}.tar.bz2 \
|
||||
|
||||
@@ -22,7 +22,7 @@ Index: claws-mail-2.9.1/src/gtk/menu.c
|
||||
-#include <hildon-widgets/hildon-program.h>
|
||||
-#include <gtk/gtkmain.h>
|
||||
-#endif
|
||||
+#include "owlwindowmenu.h"
|
||||
+#include <libowl/owlwindowmenu.h>
|
||||
|
||||
static void connect_accel_change_signals(GtkWidget* widget, GtkWidget *wid2) ;
|
||||
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
*/
|
||||
|
||||
#include "leafpad.h"
|
||||
+#include "owlwindowmenu.h"
|
||||
+#include <libowl/owlwindowmenu.h>
|
||||
+
|
||||
/*
|
||||
static void cb_scroll_event(GtkAdjustment *adj, GtkWidget *view)
|
||||
|
||||
@@ -3,7 +3,7 @@ DEPENDS = "gtk+ intltool-native libowl"
|
||||
SRC_URI = "http://savannah.nongnu.org/download/${PN}/${PN}-${PV}.tar.gz \
|
||||
file://owl-menu.patch;patch=1 \
|
||||
file://leafpad.desktop"
|
||||
PR = "r7"
|
||||
PR = "r8"
|
||||
|
||||
inherit autotools pkgconfig
|
||||
|
||||
|
||||
@@ -21,19 +21,4 @@ SRC_URI = "svn://svn.o-hand.com/repos/misc/trunk;module=${PN};proto=http"
|
||||
|
||||
S = "${WORKDIR}/${PN}"
|
||||
|
||||
inherit autotools pkgconfig
|
||||
|
||||
do_compile_prepend() {
|
||||
# have to unstage the library first so that the tests build
|
||||
rm -f ${STAGING_LIBDIR}/libowl.*
|
||||
rm -f ${STAGING_INCDIR}/owl*.h
|
||||
}
|
||||
|
||||
do_stage() {
|
||||
headers=`eval ls libowl/owl*.h`
|
||||
for header in $headers; do
|
||||
hdr_base=`eval basename $header`
|
||||
install -m 644 $header ${STAGING_INCDIR}/$hdr_base
|
||||
done
|
||||
install -m 644 libowl/.libs/libowl.a ${STAGING_LIBDIR}/
|
||||
}
|
||||
inherit autotools_stage pkgconfig
|
||||
|
||||
@@ -38,7 +38,7 @@ Index: pcmanfm-0.3.2-beta/src/main.c
|
||||
#include "glade-support.h"
|
||||
#include "settings.h"
|
||||
|
||||
+#include "owlwindowmenu.h"
|
||||
+#include "libowl/owlwindowmenu.h"
|
||||
+
|
||||
static char* init_path = NULL;
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@ SECTION = "x11"
|
||||
PRIORITY = "optional"
|
||||
DEPENDS = "gtk+ libowl startup-notification"
|
||||
|
||||
PR="r2"
|
||||
PR="r3"
|
||||
|
||||
SRC_URI = "${SOURCEFORGE_MIRROR}/pcmanfm/pcmanfm-${PV}.tar.gz \
|
||||
file://gnome-fs-directory.png \
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
require contacts.inc
|
||||
|
||||
PR="r0"
|
||||
PR="r1"
|
||||
|
||||
SRC_URI = "http://pimlico-project.org/sources/${PN}/${PN}-${PV}.tar.gz \
|
||||
file://stock_contact.png \
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
require dates.inc
|
||||
|
||||
PR = "r1"
|
||||
|
||||
SRC_URI = "http://pimlico-project.org/sources/dates/dates-${PV}.tar.gz \
|
||||
file://dates-owl-window-menu.patch;patch=1 \
|
||||
"
|
||||
|
||||
@@ -34,7 +34,7 @@ Index: contacts-0.9/src/contacts-main.c
|
||||
#include <libgnomevfs/gnome-vfs.h>
|
||||
#endif
|
||||
|
||||
+#include "owlwindowmenu.h"
|
||||
+#include <libowl/owlwindowmenu.h>
|
||||
+
|
||||
#include "bacon-message-connection.h"
|
||||
#include "contacts-defs.h"
|
||||
|
||||
@@ -58,7 +58,7 @@
|
||||
#include <gconf/gconf-client.h>
|
||||
|
||||
+#include <gtk/gtkmenuitem.h>
|
||||
+#include "owlwindowmenu.h"
|
||||
+#include <libowl/owlwindowmenu.h>
|
||||
#include "dates_types.h"
|
||||
#include "dates_platform.h"
|
||||
#include "dates_callbacks.h"
|
||||
|
||||
@@ -32,7 +32,7 @@ Index: src/gtk/main.c
|
||||
#include <libecal/e-cal.h>
|
||||
#include <glib/gi18n.h>
|
||||
#include <gtk/gtk.h>
|
||||
+#include <owlwindowmenu.h>
|
||||
+#include <libowl/owlwindowmenu.h>
|
||||
|
||||
#include <libkoto/ical-util.h>
|
||||
#include <libkoto/koto-actions.h>
|
||||
|
||||
@@ -4,4 +4,4 @@ SRC_URI = "http://pimlico-project.org/sources/${PN}/${PN}-${PV}.tar.gz \
|
||||
file://fix_configure.patch;patch=1;status=merged \
|
||||
file://tasks-owl.diff;patch=1;pnum=0"
|
||||
|
||||
PR = "r1"
|
||||
PR = "r2"
|
||||
|
||||
@@ -6,7 +6,7 @@ Index: src/gtk.c
|
||||
#include <gdk/gdkx.h>
|
||||
#include <gdk-pixbuf/gdk-pixbuf.h>
|
||||
|
||||
+#include <owlwindowmenu.h>
|
||||
+#include <libowl/owlwindowmenu.h>
|
||||
+
|
||||
#include <librsvg/rsvg.h>
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@ SECTION = "x11"
|
||||
DEPENDS = "gtk+ gconf intltool-native librsvg libowl"
|
||||
|
||||
PV = "0.1+svnr${SRCREV}"
|
||||
PR = "r7"
|
||||
PR = "r8"
|
||||
|
||||
bindir = "/usr/games"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user