wok rev 14429

fix openjpeg-dev, add openjpeg2, rebuild mupdf, move from undigest djvulibre, and finally add fbpdf-mupdf
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Apr 24 14:06:49 2013 +0000 (2013-04-24)
parents 2ae5ec27bd69
children 0174a8621d9d
files djvulibre-dev/receipt djvulibre/receipt fbpdf-mupdf/receipt mudraw/receipt mupdf-dev/receipt mupdf/description.txt mupdf/receipt openjpeg-dev/receipt openjpeg-tools/receipt openjpeg/receipt openjpeg2-dev/receipt openjpeg2/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/djvulibre-dev/receipt	Wed Apr 24 14:06:49 2013 +0000
     1.3 @@ -0,0 +1,20 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="djvulibre-dev"
     1.7 +VERSION="3.5.25.3"
     1.8 +CATEGORY="developement"
     1.9 +SHORT_DESC="A web-centric format and software platform for distributing documents and images, development files."
    1.10 +MAINTAINER="pascal.bellard@slitaz.org"
    1.11 +WEB_SITE="http://djvu.sourceforge.net/"
    1.12 +WANTED="djvulibre"
    1.13 +
    1.14 +DEPENDS="djvulibre"
    1.15 +
    1.16 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.17 +genpkg_rules()
    1.18 +{
    1.19 +	mkdir -p $fs/usr/lib
    1.20 +	cp -a $install/usr/include $fs/usr
    1.21 +	cp -a $install/usr/lib/*a $fs/usr/lib
    1.22 +	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
    1.23 +}
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/djvulibre/receipt	Wed Apr 24 14:06:49 2013 +0000
     2.3 @@ -0,0 +1,32 @@
     2.4 +# SliTaz package receipt.
     2.5 +
     2.6 +PACKAGE="djvulibre"
     2.7 +VERSION="3.5.25.3"
     2.8 +CATEGORY="office"
     2.9 +SHORT_DESC="A web-centric format and software platform for distributing documents and images."
    2.10 +MAINTAINER="pascal.bellard@slitaz.org"
    2.11 +WEB_SITE="http://djvu.sourceforge.net/"
    2.12 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    2.13 +WGET_URL="$SF_MIRROR/djvu/$TARBALL"
    2.14 +
    2.15 +DEPENDS="gcc-lib-base tiff jpeg"
    2.16 +BUILD_DEPENDS="tiff-dev jpeg-dev xdg-utils bash librsvg-apps"
    2.17 +
    2.18 +# Rules to configure and make the package.
    2.19 +compile_rules()
    2.20 +{
    2.21 +	./configure \
    2.22 +		--sysconfdir=/etc \
    2.23 +		$CONFIGURE_ARGS &&
    2.24 +	make &&
    2.25 +	make install
    2.26 +}
    2.27 +
    2.28 +# Rules to gen a SliTaz package suitable for Tazpkg.
    2.29 +genpkg_rules()
    2.30 +{
    2.31 +	mkdir -p $fs/usr/lib $fs/usr/share
    2.32 +	cp -a $install/usr/lib/*so* $fs/usr/lib
    2.33 +	cp -a $install/usr/bin $fs/usr
    2.34 +	cp -a $install/usr/share/djvu $fs/usr/share
    2.35 +}
     3.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.2 +++ b/fbpdf-mupdf/receipt	Wed Apr 24 14:06:49 2013 +0000
     3.3 @@ -0,0 +1,30 @@
     3.4 +# SliTaz package receipt.
     3.5 +
     3.6 +PACKAGE="fbpdf-mupdf"
     3.7 +PROVIDE="fbpdf"
     3.8 +VERSION="20130411"
     3.9 +CATEGORY="multimedia"
    3.10 +SHORT_DESC="PDF reader in frame buffer (mupdf based)"
    3.11 +MAINTAINER="pascal.bellard@slitaz.org"
    3.12 +WEB_SITE="http://repo.or.cz/w/fbpdf.git"
    3.13 +TARBALL="fbpdf-$VERSION.tar.gz"
    3.14 +WGET_URL="$WEB_SITE/snapshot/262662b256aa261c7eb5b06b4018591ce2dd6d44.tar.gz"
    3.15 +TAGS="pdf"
    3.16 +
    3.17 +DEPENDS="bzlib djvulibre freetype jbig2dec openjpeg"
    3.18 +BUILD_DEPENDS="djvulibre-dev mupdf-dev"
    3.19 +
    3.20 +# Rules to configure and make the package.
    3.21 +compile_rules()
    3.22 +{
    3.23 +	mkdir $DESTDIR
    3.24 +	make &&
    3.25 +	cp fbpdf fbdjvu $DESTDIR
    3.26 +}
    3.27 +
    3.28 +# Rules to gen a SliTaz package suitable for Tazpkg.
    3.29 +genpkg_rules()
    3.30 +{
    3.31 +	mkdir -p $fs/usr/bin
    3.32 +	cp $install/fb* $fs/usr/bin
    3.33 +}
     4.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     4.2 +++ b/mudraw/receipt	Wed Apr 24 14:06:49 2013 +0000
     4.3 @@ -0,0 +1,19 @@
     4.4 +# SliTaz package receipt.
     4.5 +
     4.6 +PACKAGE="mudraw"
     4.7 +VERSION="1.2"
     4.8 +CATEGORY="development"
     4.9 +SHORT_DESC="A lightweight PDF and XPS viewer (mudraw)"
    4.10 +MAINTAINER="al.bobylev@gmail.com"
    4.11 +LICENSE="GPL3"
    4.12 +WEB_SITE="http://mupdf.com/"
    4.13 +
    4.14 +DEPENDS="bzlib freetype jbig2dec openjpeg"
    4.15 +WANTED="mupdf"
    4.16 +
    4.17 +# Rules to gen a SliTaz package suitable for Tazpkg.
    4.18 +genpkg_rules()
    4.19 +{
    4.20 +	mkdir -p $fs/usr/bin
    4.21 +	cp -a $install/usr/bin/mudraw $fs/usr/bin
    4.22 +}
     5.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     5.2 +++ b/mupdf-dev/receipt	Wed Apr 24 14:06:49 2013 +0000
     5.3 @@ -0,0 +1,20 @@
     5.4 +# SliTaz package receipt.
     5.5 +
     5.6 +PACKAGE="mupdf-dev"
     5.7 +VERSION="1.2"
     5.8 +CATEGORY="development"
     5.9 +SHORT_DESC="Development files for mupdf"
    5.10 +MAINTAINER="al.bobylev@gmail.com"
    5.11 +LICENSE="GPL3"
    5.12 +WEB_SITE="http://mupdf.com/"
    5.13 +
    5.14 +DEPENDS="mupdf mudraw"
    5.15 +WANTED="mupdf"
    5.16 +
    5.17 +# Rules to gen a SliTaz package suitable for Tazpkg.
    5.18 +genpkg_rules()
    5.19 +{
    5.20 +	mkdir -p $fs/usr
    5.21 +	cp -a $install/usr/include $fs/usr
    5.22 +	cp -a $install/usr/lib $fs/usr
    5.23 +}
     6.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     6.2 +++ b/mupdf/description.txt	Wed Apr 24 14:06:49 2013 +0000
     6.3 @@ -0,0 +1,11 @@
     6.4 +The renderer in MuPDF is tailored for high quality anti-aliased graphics.
     6.5 +It renders text with metrics and spacing accurate to within fractions of a pixel
     6.6 +for the highest fidelity in reproducing the look of a printed page on screen.
     6.7 +
     6.8 +MuPDF is also small, fast, and yet complete. It supports PDF 1.7 with
     6.9 +transparency, encryption, hyperlinks, annotations, searching and more. It also
    6.10 +reads XPS and OpenXPS documents. MuPDF is written modularly, so features can be
    6.11 +added on by integrators if they so desire.
    6.12 +
    6.13 +Since the 1.2 release of MuPDF, we optionally support interactive features
    6.14 +such as form form filling, javascript and transitions.
     7.1 --- a/mupdf/receipt	Wed Apr 24 11:13:41 2013 +0200
     7.2 +++ b/mupdf/receipt	Wed Apr 24 14:06:49 2013 +0000
     7.3 @@ -1,28 +1,32 @@
     7.4  # SliTaz package receipt.
     7.5  
     7.6  PACKAGE="mupdf"
     7.7 -VERSION="0.7"
     7.8 +VERSION="1.2"
     7.9  CATEGORY="utilities"
    7.10 -SHORT_DESC="lightweight PDF viewer and toolkit written in portable C"
    7.11 +SHORT_DESC="A lightweight PDF and XPS viewer"
    7.12  MAINTAINER="jozee@slitaz.org"
    7.13 -TARBALL="$PACKAGE-$VERSION.tar.gz"
    7.14 -DEPENDS="freetype jpeg zlib jbig2dec openjpeg"
    7.15 -BUILD_DEPENDS="freetype-dev jpeg-dev openjpeg-dev jbig2dec-dev zlib-dev pkg-config xorg-libX11-dev xorg-libXext-dev xorg-xextproto ftjam"
    7.16 +LICENSE="GPL3"
    7.17  WEB_SITE="http://mupdf.com/"
    7.18 -WGET_URL="http://mupdf.com/download/$TARBALL"
    7.19 +TARBALL="$PACKAGE-$VERSION-source.zip"
    7.20 +WGET_URL="http://mupdf.googlecode.com/files/$TARBALL"
    7.21 +
    7.22 +#DEPENDS="freetype jpeg zlib jbig2dec openjpeg"
    7.23 +#BUILD_DEPENDS="freetype-dev jpeg-dev openjpeg-dev jbig2dec-dev zlib-dev pkg-config xorg-libX11-dev xorg-libXext-dev xorg-xextproto ftjam"
    7.24 +DEPENDS="bzlib freetype jbig2dec openjpeg xorg-libXext"
    7.25 +BUILD_DEPENDS="freetype-dev jbig2dec-dev jpeg-dev openjpeg-dev zlib-dev"
    7.26  
    7.27  # Rules to configure and make the package.  
    7.28  compile_rules()
    7.29  {
    7.30 -	cd $src
    7.31 -	sed -i 's| debug| release|g' Makefile
    7.32 +	# use system wide libraries instead of included ones
    7.33 +	rm -rf $src/thirdparty
    7.34  	make build=release
    7.35 -	make build=release prefix=$PWD/_pkg/usr install
    7.36 +	make build=release prefix=/usr install
    7.37  }
    7.38  
    7.39  # Rules to gen a SliTaz package suitable for Tazpkg.
    7.40  genpkg_rules()
    7.41  {
    7.42  	mkdir -p $fs/usr/bin
    7.43 -	cp -a $_pkg/usr/bin $fs/usr
    7.44 +	cp -a $install/usr/bin/mupdf $fs/usr/bin
    7.45  }
     8.1 --- a/openjpeg-dev/receipt	Wed Apr 24 11:13:41 2013 +0200
     8.2 +++ b/openjpeg-dev/receipt	Wed Apr 24 14:06:49 2013 +0000
     8.3 @@ -5,15 +5,17 @@
     8.4  CATEGORY="development"
     8.5  SHORT_DESC="devel files for openjpeg"
     8.6  MAINTAINER="slaxemulator@gmail.com"
     8.7 +WEB_SITE="http://www.openjpeg.org/"
     8.8 +
     8.9  DEPENDS="openjpeg"
    8.10 -WEB_SITE="http://www.openjpeg.org/"
    8.11  WANTED="openjpeg"
    8.12  
    8.13  # Rules to gen a SliTaz package suitable for Tazpkg.
    8.14  genpkg_rules()
    8.15  {
    8.16  	mkdir -p $fs/usr/lib
    8.17 -	cp -a $_pkg/usr/include $fs/usr
    8.18 -	cp -a $_pkg/usr/lib/*.*a $fs/usr/lib
    8.19 +	cp -a $install/usr/include $fs/usr
    8.20 +	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
    8.21 +	cp -a $install/usr/lib/*.la $fs/usr/lib
    8.22  }
    8.23  
     9.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     9.2 +++ b/openjpeg-tools/receipt	Wed Apr 24 14:06:49 2013 +0000
     9.3 @@ -0,0 +1,18 @@
     9.4 +# SliTaz package receipt.
     9.5 +
     9.6 +PACKAGE="openjpeg-tools"
     9.7 +VERSION="1.5.0"
     9.8 +CATEGORY="development"
     9.9 +SHORT_DESC="binary files for openjpeg"
    9.10 +MAINTAINER="al.bobylev@gmail.com"
    9.11 +WEB_SITE="http://www.openjpeg.org/"
    9.12 +
    9.13 +DEPENDS="glibc-base openjpeg tiff"
    9.14 +WANTED="openjpeg"
    9.15 +
    9.16 +# Rules to gen a SliTaz package suitable for Tazpkg.
    9.17 +genpkg_rules()
    9.18 +{
    9.19 +	mkdir -p $fs/usr
    9.20 +	cp -a $install/usr/bin $fs/usr
    9.21 +}
    10.1 --- a/openjpeg/receipt	Wed Apr 24 11:13:41 2013 +0200
    10.2 +++ b/openjpeg/receipt	Wed Apr 24 14:06:49 2013 +0000
    10.3 @@ -9,7 +9,7 @@
    10.4  WEB_SITE="http://www.openjpeg.org/"
    10.5  WGET_URL="http://openjpeg.googlecode.com/files/$TARBALL"
    10.6  
    10.7 -DEPENDS="glibc-base zlib tiff"
    10.8 +DEPENDS="glibc-base"
    10.9  BUILD_DEPENDS="zlib-dev tiff-dev coreutils-directory"
   10.10  
   10.11  # Rules to configure and make the package.
   10.12 @@ -30,6 +30,6 @@
   10.13  genpkg_rules()
   10.14  {
   10.15  	mkdir -p $fs/usr/lib
   10.16 -	cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
   10.17 +	cp -a $install/usr/lib/*.so* $fs/usr/lib
   10.18  }
   10.19  
    11.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    11.2 +++ b/openjpeg2-dev/receipt	Wed Apr 24 14:06:49 2013 +0000
    11.3 @@ -0,0 +1,21 @@
    11.4 +# SliTaz package receipt.
    11.5 +
    11.6 +PACKAGE="openjpeg2-dev"
    11.7 +VERSION="2.0.0"
    11.8 +CATEGORY="development"
    11.9 +SHORT_DESC="Development files for openjpeg (ver. 2.x)"
   11.10 +MAINTAINER="al.bobylev@gmail.com"
   11.11 +LICENSE="BSD3"
   11.12 +WEB_SITE="http://www.openjpeg.org/"
   11.13 +
   11.14 +DEPENDS="openjpeg2"
   11.15 +WANTED="openjpeg2"
   11.16 +
   11.17 +# Rules to gen a SliTaz package suitable for Tazpkg.
   11.18 +genpkg_rules()
   11.19 +{
   11.20 +	mkdir -p $fs/usr/lib
   11.21 +	cp -a $install/usr/include $fs/usr
   11.22 +	cp -a $install/usr/lib/openjpeg-* $fs/usr/lib
   11.23 +}
   11.24 +
    12.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    12.2 +++ b/openjpeg2/receipt	Wed Apr 24 14:06:49 2013 +0000
    12.3 @@ -0,0 +1,29 @@
    12.4 +# SliTaz package receipt.
    12.5 +
    12.6 +PACKAGE="openjpeg2"
    12.7 +VERSION="2.0.0"
    12.8 +CATEGORY="development"
    12.9 +SHORT_DESC="Open-source C-Library for JPEG 2000 (ver. 2.x)"
   12.10 +MAINTAINER="al.bobylev@gmail.com"
   12.11 +LICENSE="BSD3"
   12.12 +WEB_SITE="http://www.openjpeg.org/"
   12.13 +TARBALL="openjpeg-$VERSION.tar.gz"
   12.14 +WGET_URL="http://openjpeg.googlecode.com/files/$TARBALL"
   12.15 +
   12.16 +DEPENDS="glibc-base tiff zlib"
   12.17 +BUILD_DEPENDS="cmake tiff-dev"
   12.18 +
   12.19 +# Rules to configure and make the package.
   12.20 +compile_rules()
   12.21 +{
   12.22 +	cmake -DCMAKE_INSTALL_PREFIX=/usr . && make && make install
   12.23 +}
   12.24 +
   12.25 +# Rules to gen a SliTaz package suitable for Tazpkg.
   12.26 +genpkg_rules()
   12.27 +{
   12.28 +	mkdir -p $fs/usr/lib
   12.29 +	cp -a $install/usr/bin $fs/usr
   12.30 +	cp -a $install/usr/lib/*.so* $fs/usr/lib
   12.31 +}
   12.32 +