Re: Undigest cooker in place

[ Thread Index | Date Index | More lists.tuxfamily.org/slitaz Archives ]


I did 'diff newer older'.. now i'll do 'diff older newer'
I've added also /usr/share/gnome-2.0,applications,locale, don't know
if it's correct locale.

--- ../../wok-undigest/libbonoboui/receipt
+++ receipt
@@ -5,9 +5,10 @@
 CATEGORY="x-window"
 SHORT_DESC="The libbonoboui package contains libbonoboui libraries."
 MAINTAINER="pankso@xxxxxxxxxx"
-DEPENDS="glib gtk+ libgnome libgnomecanvas libglade GConf xorg-libXft"
+DEPENDS="glib gtk+ libgnome libgnomecanvas libglade GConf xorg-libXft
+xorg-libXdamage alsa-lib"
 BUILD_DEPENDS="glib-dev gtk+-dev libgnome-dev libgnomecanvas-dev libglade-dev \
-GConf-dev xorg-libXft-dev"
+GConf-dev xorg-libXft-dev xorg-libXdamage-dev alsa-lib-dev"
 TARBALL="$PACKAGE-$VERSION.tar.bz2"
 WEB_SITE="http://www.gnome.org/";
 WGET_URL="http://ftp.gnome.org/pub/gnome/sources/$PACKAGE/${VERSION%.*}/$TARBALL";
@@ -16,18 +17,25 @@
 compile_rules()
 {
 	cd $src
-	./configure && make && install
+	./configure \
+		--sysconfdir=/etc/gnome \
+		--libexecdir=/usr/lib/bonobo &&
+	make && make install
 }

 # Rules to gen a SliTaz package suitable for Tazpkg.
 genpkg_rules()
 {
 	mkdir -p $fs/usr/lib
+	mkdir -p $fs/usr/share
 	cp -a $_pkg/usr/bin $fs/usr
 	cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
 	cp -a $_pkg/usr/lib/bonobo* $fs/usr/lib
 	cp -a $_pkg/usr/lib/libglade $fs/usr/lib
+	cp -a $_pkg/usr/share/applications $fs/usr/share
+	cp -a $_pkg/usr/share/gnome-2.0 $fs/usr/share
+	cp -a $_pkg/usr/share/locale $fs/usr/share
+
 	# remove archive lib
-	find $fs/usr/lib -name *.*a -exec rm -f {} \;
+	find $fs/usr/lib -name "*.*a" -exec rm -f {} \;
 }
-

On Sat, May 28, 2011 at 8:31 PM, Christophe Lincoln <pankso@xxxxxxxxxx> wrote:
>
> Hi Daniele,
>
>> Hi, i've improved build deps and compile rules for libbonoboui, maybe
>> it needs improvement for $fs/usr/share.
>>
>> libbonoboui.diff (receipt is the newest)
>> --- receipt
>> +++ ../../wok-undigest/libbonoboui/receipt
>
> Wich command you use for making diff ? Newer should have the + so I
> just have to: patch receipt -i patch.diff
>
> - Christophe
>
> ---
> SliTaz GNU/Linux Mailing list - http://www.slitaz.org/
>
>

---
SliTaz GNU/Linux Mailing list - http://www.slitaz.org/


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/