wok-next rev 12419

Up: pidgin to 2.10.3.
author Christopher Rogers <slaxemulator@gmail.com>
date Sat Apr 21 09:18:59 2012 +0000 (2012-04-21)
parents ae3c4782f920
children 55013648b5d3
files libpurple-dev/receipt pidgin-dev/receipt pidgin/receipt
line diff
     1.1 --- a/libpurple-dev/receipt	Fri Apr 20 18:40:22 2012 +0200
     1.2 +++ b/libpurple-dev/receipt	Sat Apr 21 09:18:59 2012 +0000
     1.3 @@ -1,7 +1,7 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="libpurple-dev"
     1.7 -VERSION="2.10.0"
     1.8 +VERSION="2.10.3"
     1.9  CATEGORY="development"
    1.10  SHORT_DESC="Purple library devel files."
    1.11  MAINTAINER="mallory@skyrock.com"
    1.12 @@ -12,8 +12,8 @@
    1.13  genpkg_rules()
    1.14  {
    1.15  	mkdir -p $fs/usr/lib/pkgconfig $fs/usr/lib/purple-2 $fs/usr/include/libpurple
    1.16 -	cp -a $_pkg/usr/lib/libpurple.la $fs/usr/lib
    1.17 -	cp -a $_pkg/usr/lib/purple-2/*.la $fs/usr/lib/purple-2
    1.18 -	cp -a $_pkg/usr/lib/pkgconfig/purple.pc $fs/usr/lib/pkgconfig
    1.19 -	cp -a $_pkg/usr/include/libpurple $fs/usr/include
    1.20 +	cp -a $install/usr/lib/libpurple.la $fs/usr/lib
    1.21 +	cp -a $install/usr/lib/purple-2/*.la $fs/usr/lib/purple-2
    1.22 +	cp -a $install/usr/lib/pkgconfig/purple.pc $fs/usr/lib/pkgconfig
    1.23 +	cp -a $install/usr/include/libpurple $fs/usr/include
    1.24  }
     2.1 --- a/pidgin-dev/receipt	Fri Apr 20 18:40:22 2012 +0200
     2.2 +++ b/pidgin-dev/receipt	Sat Apr 21 09:18:59 2012 +0000
     2.3 @@ -1,7 +1,7 @@
     2.4  # SliTaz package receipt.
     2.5  
     2.6  PACKAGE="pidgin-dev"
     2.7 -VERSION="2.10.1"
     2.8 +VERSION="2.10.3"
     2.9  CATEGORY="development"
    2.10  SHORT_DESC="Pidgin devel files."
    2.11  MAINTAINER="mallory@skyrock.com"
    2.12 @@ -12,8 +12,8 @@
    2.13  genpkg_rules()
    2.14  {
    2.15  	mkdir -p $fs/usr/lib/pkgconfig $fs/usr/lib/pidgin $fs/usr/include/pidgin $fs/usr/share
    2.16 -	cp -a $_pkg/usr/lib/pidgin/*.la $fs/usr/lib/pidgin
    2.17 -	cp -a $_pkg/usr/lib/pkgconfig/pidgin.pc $fs/usr/lib/pkgconfig
    2.18 -	cp -a $_pkg/usr/include/pidgin $fs/usr/include
    2.19 -	cp -a $_pkg/usr/share/aclocal $fs/usr/share
    2.20 +	cp -a $install/usr/lib/pidgin/*.la $fs/usr/lib/pidgin
    2.21 +	cp -a $install/usr/lib/pkgconfig/pidgin.pc $fs/usr/lib/pkgconfig
    2.22 +	cp -a $install/usr/include/pidgin $fs/usr/include
    2.23 +	cp -a $install/usr/share/aclocal $fs/usr/share
    2.24  }
     3.1 --- a/pidgin/receipt	Fri Apr 20 18:40:22 2012 +0200
     3.2 +++ b/pidgin/receipt	Sat Apr 21 09:18:59 2012 +0000
     3.3 @@ -1,36 +1,37 @@
     3.4  # SliTaz package receipt.
     3.5  
     3.6  PACKAGE="pidgin"
     3.7 -VERSION="2.10.1"
     3.8 +VERSION="2.10.3"
     3.9  CATEGORY="network"
    3.10  SHORT_DESC="Instant messaging client using GTK+."
    3.11  MAINTAINER="pankso@slitaz.org"
    3.12 -DEPENDS="gtk+ gnutls libgcrypt libgpg-error \
    3.13 -xorg-libXdamage libxml2 libxcb xcb-util libidn libtasn1 nss gmp"
    3.14 -BUILD_DEPENDS="gtk+-dev libgcrypt-dev gnutls-dev \
    3.15 -libgpg-error-dev libxml2-dev libxcb-dev \
    3.16 -libidn-dev libtasn1-dev intltool expat-dev nss-dev \
    3.17 -xcb-util-dev optipng gmp-dev"
    3.18  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    3.19  WEB_SITE="http://www.pidgin.im/"
    3.20  WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    3.21  
    3.22 +DEPENDS="gtk+ gnutls libgcrypt libgpg-error startup-notification gmp \
    3.23 +xorg-libXdamage libxml2 libxcb xcb-util libidn ncursesw libtasn1 nss"
    3.24 +BUILD_DEPENDS="gtk+-dev libgcrypt-dev gnutls-dev \
    3.25 +startup-notification-dev libgpg-error-dev libxml2-dev libxcb-dev \
    3.26 +libidn-dev libtasn1-dev intltool expat-dev nss-dev \
    3.27 +ncursesw-dev xcb-util-dev gmp-dev"
    3.28 +
    3.29  # Rules to configure and make the package.
    3.30  compile_rules()
    3.31  {
    3.32  	cd $src
    3.33 -	find | grep .png | xargs optipng -o7
    3.34  	touch pidgin.desktop
    3.35  	MSGFMT=/usr/bin/msgfmt
    3.36 +	
    3.37 +	# Pidgin doesn't explicitly link to libm
    3.38 +	export LDFLAGS="-Wl,--copy-dt-needed-entries"
    3.39  	./configure \
    3.40  		--prefix=/usr \
    3.41  		--infodir=/usr/share/info \
    3.42  		--mandir=/usr/share/man \
    3.43  		--disable-perl \
    3.44 -		--disable-consoleui \
    3.45  		--disable-screensaver \
    3.46  		--disable-gtkspell \
    3.47 -		--disable-startup-notification \
    3.48  		--disable-gstreamer \
    3.49  		--disable-gstreamer-interfaces \
    3.50  		--disable-meanwhile \
    3.51 @@ -43,26 +44,24 @@
    3.52  		--disable-vv \
    3.53  		--disable-idn \
    3.54  		--disable-sm \
    3.55 -		--enable-trayicon-compat \
    3.56  		$CONFIGURE_ARGS &&
    3.57 -	make $MAKEFLAGS &&
    3.58 -	make DESTDIR=$PWD/_pkg install
    3.59 +	make -j 4 &&
    3.60 +	make install
    3.61  }
    3.62  
    3.63  # Rules to gen a SliTaz package suitable for Tazpkg.
    3.64  genpkg_rules()
    3.65  {
    3.66 -	mkdir -p $fs/usr/lib $fs/usr/share/pixmaps $fs/usr/share/applications
    3.67 -    cp -a $_pkg/usr/bin $fs/usr
    3.68 -    cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
    3.69 -    cp -a $_pkg/usr/lib/pidgin $fs/usr/lib
    3.70 -    cp -a $_pkg/usr/lib/purple-2 $fs/usr/lib
    3.71 +	mkdir -p $fs/usr/lib $fs/usr/share/pixmaps
    3.72 +    cp -a $install/usr/bin $fs/usr
    3.73 +    cp -a $install/usr/lib/*.so* $fs/usr/lib
    3.74 +    cp -a $install/usr/lib/pidgin $fs/usr/lib
    3.75 +    cp -a $install/usr/lib/purple-2 $fs/usr/lib
    3.76      rm $fs/usr/lib/pidgin/*.la
    3.77      rm $fs/usr/lib/purple-2/*.la
    3.78 -    cp -a $stuff/pidgin.desktop $fs/usr/share/applications
    3.79 -    cp -a $_pkg/usr/share/purple $fs/usr/share
    3.80 -    cp -a $_pkg/usr/share/pixmaps/pidgin $fs/usr/share/pixmaps
    3.81 -    cp -a $_pkg/usr/share/icons/hicolor/24x24/apps/* $fs/usr/share/pixmaps
    3.82 +    cp -a $install/usr/share/purple $fs/usr/share
    3.83 +    cp -a $install/usr/share/pixmaps/pidgin $fs/usr/share/pixmaps
    3.84 +    cp -a $install/usr/share/icons/hicolor/24x24/apps/* $fs/usr/share/pixmaps
    3.85  	# Cook wanted
    3.86  	echo "Cook: pidgin-dev"
    3.87  	echo "Cook: libpurple-dev"