fbpanel_4.3.bb : Add fbpanel, a lightweight gtk+ based panel
authorGraeme Gregory <dp@xora.org.uk>
Mon, 27 Feb 2006 16:36:08 +0000 (16:36 +0000)
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>
Mon, 27 Feb 2006 16:36:08 +0000 (16:36 +0000)
packages/fbpanel/.mtn2git_empty [new file with mode: 0644]
packages/fbpanel/fbpanel-4.3/.mtn2git_empty [new file with mode: 0644]
packages/fbpanel/fbpanel-4.3/makefile.common.patch [new file with mode: 0644]
packages/fbpanel/fbpanel_4.3.bb [new file with mode: 0644]

diff --git a/packages/fbpanel/.mtn2git_empty b/packages/fbpanel/.mtn2git_empty
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/packages/fbpanel/fbpanel-4.3/.mtn2git_empty b/packages/fbpanel/fbpanel-4.3/.mtn2git_empty
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/packages/fbpanel/fbpanel-4.3/makefile.common.patch b/packages/fbpanel/fbpanel-4.3/makefile.common.patch
new file mode 100644 (file)
index 0000000..13807b0
--- /dev/null
@@ -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 (file)
index 0000000..c237172
--- /dev/null
@@ -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
+}
+