You are not logged in.
Hi guys,
I tried to build my own package from Gimmie's SVN repo. I cobbled together the following PKGBUILD:
# Contributor: Lenni
arch=('i686' 'x86_64')
pkgname=gimmie-svn
pkgver=490
pkgrel=2
pkgdesc="GNOME Panel revisited"
url="http://beatniksoftware.com/gimmie/Main_Page"
depends=('gnome-desktop' 'libgnomecups' 'libwnck' 'dbus-python' 'gnome-python-desktop')
makedepends=('findutils' 'svn')
provides=('gimmie')
conflicts=('gimmie')
backup=()
license=('GPL')
source=()
md5sums=()
_svntrunk="http://svn.gnome.org/svn/gimmie/trunk"
_svnmod="gimmie"
build() {
cd $startdir/src
if [ -d $_svnmod/.svn ]; then
(cd $_svnmod && svn up -r $pkgver)
else
svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod
fi
msg "SVN checkout done or server timeout"
msg "Starting make..."
cp -r $_svnmod $_svnmod-build
cd $_svnmod-build
./autogen.sh --prefix=/usr
./configure --prefix=/usr
make || return 1
for i in `find -name "*.py"` `find -name "*.pyc"`; do
mkdir -p $startdir/pkg/usr/lib/`dirname "$i"`
cp -vp "$i" $startdir/pkg/usr/lib/`dirname "$i"` || return 1
done
for i in `find -name "*.so"`; do
mkdir -p $startdir/pkg/usr/lib/`dirname "$i"`
cp -vp "$i" $startdir/pkg/usr/lib/`dirname "$i"`/.. || return 1
done
# install Gimmie related data
mkdir -p $startdir/pkg/usr/etc/gconf/schemas &&
cp -vp ./data/gimmie.schemas $startdir/pkg/usr/etc/gconf/schemas/
mkdir -p $startdir/pkg/usr/lib/bonobo/servers &&
cp -vp ./data/GNOME_GimmieApplet.server $startdir/pkg/usr/lib/bonobo/servers/ || return 1
mkdir -p $startdir/pkg/usr/share/gnome-2.0/ui &&
cp -vp ./data/GNOME_GimmieApplet.xml $startdir/pkg/usr/share/gnome-2.0/ui/ || return 1
# install Gimmie icons
mkdir -p $startdir/pkg/usr/share/icons/hicolor/32x32/apps &&
cp -vp ./data/images/gimmie-32.png $startdir/pkg/usr/share/icons/hicolor/32x32/apps/ || return 1
mkdir -p $startdir/pkg/usr/share/icons/hicolor/48x48/apps &&
cp -vp ./data/images/gimmie.png $startdir/pkg/usr/share/icons/hicolor/48x48/apps/ || return 1
mkdir -p $startdir/pkg/usr/share/icons/hicolor/scalable/apps &&
cp -vp ./data/images/gimmie.svg $startdir/pkg/usr/share/icons/hicolor/scalable/apps/ || return 1
# install Gimmie panel applet
mkdir -p $startdir/pkg/usr/libexec &&
cp -vp ./gimmie/gimmie_applet $startdir/pkg/usr/libexec/ || return 1
# Python needs to know where Gimmie installed it's libraries
mkdir -p $startdir/pkg/usr/lib/python2.5/site-packages &&
ln -s /usr/lib/gimmie $startdir/pkg/usr/lib/python2.5/site-packages/gimmie || return 1
find $startdir/pkg -name ".libs" -type d -exec rm -vr {} \;
mkdir -vp $startdir/pkg/usr/bin && \
echo "exec python /usr/lib/gimmie/gimmie.py" >$startdir/pkg/usr/bin/gimmie && \
chmod 0755 $startdir/pkg/usr/bin/gimmie
}
and much to my surprise it compiled and spit out a package. However if I run it gimmie gives me the following error message:
** (gimmie.py:25081): WARNING **: IPP request failed with status 1280
** (gimmie.py:25081): WARNING **: IPP request failed with status 1280
Traceback (most recent call last):
File "/usr/lib/gimmie/gimmie.py", line 14, in <module>
from gimmie_library import DocumentsTopic
File "/usr/lib/gimmie/gimmie_library.py", line 21, in <module>
from gimmie_flickr import FlickrSource
File "/usr/lib/gimmie/gimmie_flickr.py", line 13, in <module>
import gtkmozembed
ImportError: No module named gtkmozembed
I posted that to the gimmie mailing list but I've been told to RTFM. Can anyone explain to me how to get gtkmozembed? Which packet is it in? Or do I just download it?
Last edited by lenni (2007-10-30 16:58:14)
Offline
Okay, Google is my friend. I found gtkmozemebd in the package gnome-python-extras.
Offline