wok rev 3559
Add poppler-data
get-foxit-reader: download, extract foxit-reader(use rpm package)
get-foxit-reader: download, extract foxit-reader(use rpm package)
author | Liu Peng <rocky@slitaz.org> |
---|---|
date | Wed Jun 24 20:27:09 2009 +0800 (2009-06-24) |
parents | 52621cb45fad d7f80a67feb1 |
children | da120b55e030 |
files | get-foxit-reader/stuff/get-foxit-reader poppler-data/receipt |
line diff
1.1 --- a/PolicyKit/receipt Wed Jun 24 18:02:11 2009 +0800 1.2 +++ b/PolicyKit/receipt Wed Jun 24 20:27:09 2009 +0800 1.3 @@ -44,7 +44,7 @@ 1.4 cp -a $_pkg/usr/bin $fs/usr 1.5 cp -a $_pkg/usr/etc $fs/usr 1.6 cp -a $_pkg/usr/libexec $fs/usr 1.7 - cp -a $_pkg/usr/var $fs/usr 1.8 + cp -a $_pkg/usr/var $fs 1.9 1.10 mkdir -p $fs/usr/share 1.11 cp -a $_pkg/usr/share/dbus-1 $fs/usr/share
2.1 --- a/PolicyKit0/receipt Wed Jun 24 18:02:11 2009 +0800 2.2 +++ b/PolicyKit0/receipt Wed Jun 24 20:27:09 2009 +0800 2.3 @@ -45,7 +45,7 @@ 2.4 cp -a $_pkg/usr/etc $fs/usr 2.5 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib 2.6 cp -a $_pkg/usr/libexec $fs/usr 2.7 - cp -a $_pkg/usr/var $fs/usr 2.8 + cp -a $_pkg/usr/var $fs 2.9 2.10 mkdir -p $fs/usr/share 2.11 cp -a $_pkg/usr/share/dbus-1 $fs/usr/share
3.1 --- a/get-foxit-reader/stuff/get-foxit-reader Wed Jun 24 18:02:11 2009 +0800 3.2 +++ b/get-foxit-reader/stuff/get-foxit-reader Wed Jun 24 20:27:09 2009 +0800 3.3 @@ -1,11 +1,11 @@ 3.4 #!/bin/sh 3.5 3.6 -# Get and install Tencent QQ for Linux 3.7 +# Get and install FoxitReader for Linux 3.8 3.9 PACKAGE="FoxitReader" 3.10 VERSION="1.0-1" 3.11 -TARBALL="$PACKAGE-$VERSION.i386.tar.bz2" 3.12 -URL="http://mirrors.foxitsoftware.com/pub/foxit/reader/desktop/linux/1.x/1.0/enu/$TARBALL" 3.13 +RPMPKG="$PACKAGE-$VERSION.i386.rpm" 3.14 +URL="http://mirrors.foxitsoftware.com/pub/foxit/reader/desktop/linux/1.x/1.0/enu/$RPMPKG" 3.15 CUR_DIR=$(pwd) 3.16 TEMP_DIR=/tmp/$PACKAGE-$VERSION-$$ 3.17 ROOT="$1" 3.18 @@ -30,18 +30,9 @@ 3.19 # Download the file 3.20 wget $URL 3.21 3.22 -tar xjf $TARBALL 3.23 -mkdir -p $PACKAGE-$VERSION/fs/usr/share/FoxitReader $PACKAGE-$VERSION/fs/usr/bin 3.24 -mv FoxitReader Readme.txt fum.fhd fpdfcjk.bin $PACKAGE-$VERSION/fs/usr/share/FoxitReader 3.25 - 3.26 -# Custom FoxitReader 3.27 -cat > $PACKAGE-$VERSION/fs/usr/bin/FoxitReader << "EOT" 3.28 -#!/bin/sh 3.29 -PAR=/usr/share/FoxitReader 3.30 -exec $PAR/FoxitReader $@ 3.31 -EOT 3.32 - 3.33 -chmod +x $PACKAGE-$VERSION/fs/usr/bin/FoxitReader 3.34 +rpm2cpio $RPMPKG | cpio -dium 3.35 +mkdir -p $PACKAGE-$VERSION/fs 3.36 +mv $TEMP_DIR/usr $PACKAGE-$VERSION/fs 3.37 3.38 cd $TEMP_DIR 3.39
4.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 4.2 +++ b/librsvg-dev/receipt Wed Jun 24 20:27:09 2009 +0800 4.3 @@ -0,0 +1,26 @@ 4.4 +# SliTaz package receipt. 4.5 + 4.6 +PACKAGE="librsvg-dev" 4.7 +VERSION="2.13.93" 4.8 +CATEGORY="misc" 4.9 +SHORT_DESC="SVG Rendering Library dev files" 4.10 +MAINTAINER="erjo@slitaz.org" 4.11 +DEPENDS="librsvg" 4.12 +TARBALL="$PACKAGE-$VERSION.tar.bz2" 4.13 +WEB_SITE="http://librsvg.sourceforge.net/" 4.14 +WANTED="librsvg" 4.15 + 4.16 +# Rules to gen a SliTaz package suitable for Tazpkg. 4.17 +genpkg_rules() 4.18 +{ 4.19 + mkdir -p $fs/usr $fs/usr/lib 4.20 + cp -a $_pkg/usr/include $fs/ 4.21 + cp -a $_pkg/usr/lib/*.*a $fs/usr/lib 4.22 + cp -a $_pkg/usr/lib/pkgconfig $fs/usr/lib 4.23 + cp -a $_pkg/usr/lib/gtk-2.0 $fs/usr/lib 4.24 + 4.25 + # remove *.*a files 4.26 + find $fs/usr/lib/gtk-2.0 -name "*.so*" -exec rm -f {} \; 4.27 + 4.28 +} 4.29 +
5.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 5.2 +++ b/librsvg/receipt Wed Jun 24 20:27:09 2009 +0800 5.3 @@ -0,0 +1,41 @@ 5.4 +# SliTaz package receipt. 5.5 + 5.6 +PACKAGE="librsvg" 5.7 +VERSION="2.13.93" 5.8 +CATEGORY="misc" 5.9 +SHORT_DESC="SVG Rendering Library" 5.10 +MAINTAINER="erjo@slitaz.org" 5.11 +DEPENDS="cairo freetype libxml2 pango fontconfig" 5.12 +BUILD_DEPENDS="cairo-dev freetype-dev libxml2-dev pango-dev fontconfig-dev" 5.13 +TARBALL="$PACKAGE-$VERSION.tar.bz2" 5.14 +WEB_SITE="http://librsvg.sourceforge.net/" 5.15 +WGET_URL="http://ftp.gnome.org/pub/GNOME/sources/librsvg/2.13/$TARBALL" 5.16 + 5.17 +# Rules to configure and make the package. 5.18 +compile_rules() 5.19 +{ 5.20 + cd $src 5.21 + ./configure \ 5.22 + --prefix=/usr \ 5.23 + --infodir=/usr/share/info \ 5.24 + --mandir=/usr/share/man \ 5.25 + $CONFIGURE_ARGS && 5.26 + make && make DESTDIR=$PWD/_pkg install 5.27 +} 5.28 + 5.29 +# Rules to gen a SliTaz package suitable for Tazpkg. 5.30 +genpkg_rules() 5.31 +{ 5.32 + mkdir -p $fs/usr $fs/usr/lib 5.33 + cp -a $_pkg/usr/bin $fs/usr 5.34 + cp -a $_pkg/usr/lib/*.so* $fs/usr/lib 5.35 + cp -a $_pkg/usr/lib/gtk-2.0 $fs/usr/lib 5.36 + 5.37 + # remove *.*a files 5.38 + find $fs/usr/lib/gtk-2.0 -name "*.*a" -exec rm -f {} \; 5.39 + 5.40 + # strip libs 5.41 + find $fs/usr/lib/gtk-2.0 -name "*.so" -exec strip -s {} \; 5.42 + 5.43 +} 5.44 +
6.1 --- a/mcabber-help/receipt Wed Jun 24 18:02:11 2009 +0800 6.2 +++ b/mcabber-help/receipt Wed Jun 24 20:27:09 2009 +0800 6.3 @@ -13,6 +13,6 @@ 6.4 genpkg_rules() 6.5 { 6.6 mkdir -p $fs/usr/share 6.7 - cp -a $_pkg/usr/share/mcabber $fs 6.8 + cp -a $_pkg/usr/share/mcabber $fs/usr/share 6.9 } 6.10
7.1 --- a/mcabber/receipt Wed Jun 24 18:02:11 2009 +0800 7.2 +++ b/mcabber/receipt Wed Jun 24 20:27:09 2009 +0800 7.3 @@ -25,6 +25,6 @@ 7.4 genpkg_rules() 7.5 { 7.6 mkdir -p $fs/usr 7.7 - cp -a $_pkg/usr/bin $fs 7.8 + cp -a $_pkg/usr/bin $fs/usr 7.9 } 7.10
8.1 --- a/mjpegtools/receipt Wed Jun 24 18:02:11 2009 +0800 8.2 +++ b/mjpegtools/receipt Wed Jun 24 20:27:09 2009 +0800 8.3 @@ -18,6 +18,14 @@ 8.4 compile_rules() 8.5 { 8.6 cd $src 8.7 + while read file; do 8.8 + [ -f done.$file ] && continue 8.9 + echo "Apply $file..." 8.10 + patch -p1 < ../stuff/$file || return 1 8.11 + touch done.$file 8.12 + done <<EOT 8.13 +gcc44.u 8.14 +EOT 8.15 ./configure \ 8.16 --prefix=/usr \ 8.17 --mandir=/usr/share/man \
9.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 9.2 +++ b/mjpegtools/stuff/gcc44.u Wed Jun 24 20:27:09 2009 +0800 9.3 @@ -0,0 +1,11 @@ 9.4 +--- mjpegtools-1.9.0/mplex/lpcmstrm_in.cpp 9.5 ++++ mjpegtools-1.9.0/mplex/lpcmstrm_in.cpp 9.6 +@@ -53,7 +53,7 @@ 9.7 + 9.8 + bool LPCMStream::Probe(IBitStream &bs ) 9.9 + { 9.10 +- char *last_dot = strrchr( bs.StreamName(), '.' ); 9.11 ++ const char *last_dot = strrchr( bs.StreamName(), '.' ); 9.12 + return 9.13 + last_dot != NULL 9.14 + && strcmp( last_dot+1, "lpcm") == 0;
10.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 10.2 +++ b/poppler-data/receipt Wed Jun 24 20:27:09 2009 +0800 10.3 @@ -0,0 +1,25 @@ 10.4 +# SliTaz package receipt. 10.5 + 10.6 +PACKAGE="poppler-data" 10.7 +VERSION="0.2.1" 10.8 +CATEGORY="office" 10.9 +SHORT_DESC="Poppler encoding data." 10.10 +MAINTAINER="rocky@slitaz.org" 10.11 +TARBALL="$PACKAGE-$VERSION.tar.gz" 10.12 +DEPENDS="poppler" 10.13 +WEB_SITE="http://poppler.freedesktop.org/" 10.14 +WGET_URL="http://poppler.freedesktop.org/$TARBALL" 10.15 + 10.16 +# Rules to configure and make the package. 10.17 +compile_rules() 10.18 +{ 10.19 + cd $src 10.20 + make datadir=/usr/share DESTDIR=$PWD/_pkg install 10.21 +} 10.22 + 10.23 +# Rules to gen a SliTaz package suitable for Tazpkg. 10.24 +genpkg_rules() 10.25 +{ 10.26 + mkdir -p $fs 10.27 + cp -a $_pkg/usr $fs/ 10.28 +}