From b648b2699837646cbcc1a170836721b1b37795c1 Mon Sep 17 00:00:00 2001 From: Jose V Beneyto Date: Thu, 14 Jan 2010 09:21:24 +0100 Subject: [PATCH] pypanel: initial import (verified compilation) --- pypanel/.footprint | 10 ++++++++++ pypanel/.md5sum | 1 + pypanel/Pkgfile | 28 ++++++++++++++++++++++++++++ 3 files changed, 39 insertions(+) create mode 100644 pypanel/.footprint create mode 100644 pypanel/.md5sum create mode 100644 pypanel/Pkgfile diff --git a/pypanel/.footprint b/pypanel/.footprint new file mode 100644 index 0000000..2663ffc --- /dev/null +++ b/pypanel/.footprint @@ -0,0 +1,10 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/bin/ +-rwxr-xr-x root/root usr/bin/pypanel +drwxr-xr-x root/root usr/lib/ +drwxr-xr-x root/root usr/lib/python2.6/ +drwxr-xr-x root/root usr/lib/python2.6/site-packages/ +-rwxr-xr-x root/root usr/lib/python2.6/site-packages/ppmodule.so +drwxr-xr-x root/root usr/lib/python2.6/site-packages/pypanel/ +-rw-r--r-- root/root usr/lib/python2.6/site-packages/pypanel/ppicon.png +-rw-r--r-- root/root usr/lib/python2.6/site-packages/pypanel/pypanelrc diff --git a/pypanel/.md5sum b/pypanel/.md5sum new file mode 100644 index 0000000..965af23 --- /dev/null +++ b/pypanel/.md5sum @@ -0,0 +1 @@ +f1f9a2ed80be72ab36e748833618daba PyPanel-2.4.tar.gz diff --git a/pypanel/Pkgfile b/pypanel/Pkgfile new file mode 100644 index 0000000..fc9da3a --- /dev/null +++ b/pypanel/Pkgfile @@ -0,0 +1,28 @@ +# Description: A lightweight panel/taskbar for X11 +# URL: http://pypanel.sourceforge.net +# Packager: Johannes Winkelmann, jw at tks6 dot net +# Maintainer: Johannes Winkelmann, jw at tks6 dot net +# Arch Maintainer: CRUX-ARM System Team, crux-arm at mikeux dot dyndns dot org +# Depends on: python-xlib imlib2 + +name=pypanel +version=2.4 +release=1 +source=(http://dl.sourceforge.net/sourceforge/pypanel/PyPanel-$version.tar.gz) + +build() { + cd PyPanel-$version + + $CC $CFLAGS -pthread -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DIMLIB2_FIX=1 \ + -I$CLFS/usr/X11R6/include -I$CLFS/usr/include/freetype2 -I$CLFS/usr/include/python2.6 \ + -c ppmodule.c -o ppmodule.o -Wall + + $CC $CFLAGS -pthread -shared ppmodule.o -L$CLFS/usr/lib -L$CLFS/usr/lib/xorg \ + -lfreetype -lz -lXft -lImlib2 -lX11 -lXext -ldl -lm -lpython2.6 \ + -o ppmodule.so + + install -D -m 0755 ppmodule.so $PKG/usr/lib/python2.6/site-packages/ppmodule.so + install -D -m 0755 $name $PKG/usr/bin/$name + install -d $PKG/usr/lib/python2.6/site-packages/pypanel + install -m 0644 ppicon.png pypanelrc $PKG/usr/lib/python2.6/site-packages/$name +} -- 2.26.2