summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGraeme Gregory <dp@xora.org.uk>2006-02-27 16:36:08 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2006-02-27 16:36:08 +0000
commita57caf41363da33d64559a93c3915aa193d2a7a6 (patch)
treed2ba521ddd037203af8e16d0c51a4f8b2ac00bc9
parent33831da957d614e45f01abde50d0c60a94be4508 (diff)
fbpanel_4.3.bb : Add fbpanel, a lightweight gtk+ based panel
-rw-r--r--packages/fbpanel/.mtn2git_empty0
-rw-r--r--packages/fbpanel/fbpanel-4.3/.mtn2git_empty0
-rw-r--r--packages/fbpanel/fbpanel-4.3/makefile.common.patch13
-rw-r--r--packages/fbpanel/fbpanel_4.3.bb31
4 files changed, 44 insertions, 0 deletions
diff --git a/packages/fbpanel/.mtn2git_empty b/packages/fbpanel/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/fbpanel/.mtn2git_empty
diff --git a/packages/fbpanel/fbpanel-4.3/.mtn2git_empty b/packages/fbpanel/fbpanel-4.3/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/fbpanel/fbpanel-4.3/.mtn2git_empty
diff --git a/packages/fbpanel/fbpanel-4.3/makefile.common.patch b/packages/fbpanel/fbpanel-4.3/makefile.common.patch
new file mode 100644
index 0000000000..13807b063a
--- /dev/null
+++ b/packages/fbpanel/fbpanel-4.3/makefile.common.patch
@@ -0,0 +1,13 @@
+--- fbpanel-4.3/Makefile.common.orig 2006-02-27 15:01:37.000000000 +0000
++++ fbpanel-4.3/Makefile.common 2006-02-27 15:02:04.000000000 +0000
+@@ -83,8 +83,8 @@
+ # compile flags
+
+ RM = rm -f
+-CC = gcc
+-AR = ar
++#CC = gcc
++#AR = ar
+ LIBS = $(shell pkg-config --libs gtk+-2.0 gdk-pixbuf-2.0 gdk-pixbuf-xlib-2.0) -L/usr/X11R6/lib -lXmu
+ INCS2 = $(shell pkg-config --cflags gtk+-2.0 gdk-pixbuf-2.0 gdk-pixbuf-xlib-2.0)
+ INCS := $(INCS2:-I%=-isystem %)
diff --git a/packages/fbpanel/fbpanel_4.3.bb b/packages/fbpanel/fbpanel_4.3.bb
new file mode 100644
index 0000000000..c237172ac8
--- /dev/null
+++ b/packages/fbpanel/fbpanel_4.3.bb
@@ -0,0 +1,31 @@
+DESCRIPTION = "A gtk based panel application"
+SECTION = "x11"
+LICENSE = "GPL"
+DEPENDS = "gtk+"
+HOMEPAGE = "http://fbpanel.sourceforge.net/"
+MAINTAINER = "Graeme Gregory <dp@xora.org.uk>"
+SRC_URI = "${SOURCEFORGE_MIRROR}/fbpanel/fbpanel-${PV}.tgz \
+ file://makefile.common.patch;patch=1 "
+
+PR = "r0"
+
+do_configure () {
+ ./configure --prefix=/usr --cpu=on
+}
+
+do_compile () {
+ oe_runmake CHATTY=1 STATIC_PLUGINS=1
+}
+
+do_install () {
+ install -d ${D}${bindir}
+ install -m 0755 fbpanel ${D}${bindir}
+ install -d ${D}${datadir}/fbpanel/
+ #install -d ${D}${datadir}/fbpanel/plugins
+ #install -m 644 plugins/*.so ${D}${datadir}/fbpanel/plugins
+ #install -m 644 systray/tray.so ${D}${datadir}/fbpanel/plugins
+ install -m 644 config/default ${D}${datadir}/fbpanel/default
+ install -d ${D}${datadir}/fbpanel/images
+ install -m 644 config/images/* ${D}${datadir}/fbpanel/images
+}
+