Date: Wednesday, October 1, 2014 @ 10:29:24 Author: bpiotrowski Revision: 119930
archrelease: copy trunk to community-i686, community-x86_64 Added: mupdf/repos/community-i686/PKGBUILD (from rev 119929, mupdf/trunk/PKGBUILD) mupdf/repos/community-i686/mupdf-1.5-openjpeg-2.1.0.patch (from rev 119929, mupdf/trunk/mupdf-1.5-openjpeg-2.1.0.patch) mupdf/repos/community-i686/mupdf.desktop (from rev 119929, mupdf/trunk/mupdf.desktop) mupdf/repos/community-i686/mupdf.install (from rev 119929, mupdf/trunk/mupdf.install) mupdf/repos/community-i686/mupdf.xpm (from rev 119929, mupdf/trunk/mupdf.xpm) mupdf/repos/community-x86_64/PKGBUILD (from rev 119929, mupdf/trunk/PKGBUILD) mupdf/repos/community-x86_64/mupdf-1.5-openjpeg-2.1.0.patch (from rev 119929, mupdf/trunk/mupdf-1.5-openjpeg-2.1.0.patch) mupdf/repos/community-x86_64/mupdf.desktop (from rev 119929, mupdf/trunk/mupdf.desktop) mupdf/repos/community-x86_64/mupdf.install (from rev 119929, mupdf/trunk/mupdf.install) mupdf/repos/community-x86_64/mupdf.xpm (from rev 119929, mupdf/trunk/mupdf.xpm) Deleted: mupdf/repos/community-i686/PKGBUILD mupdf/repos/community-i686/mupdf-1.5-openjpeg-2.1.0.patch mupdf/repos/community-i686/mupdf.desktop mupdf/repos/community-i686/mupdf.install mupdf/repos/community-i686/mupdf.xpm mupdf/repos/community-x86_64/PKGBUILD mupdf/repos/community-x86_64/mupdf-1.5-openjpeg-2.1.0.patch mupdf/repos/community-x86_64/mupdf.desktop mupdf/repos/community-x86_64/mupdf.install mupdf/repos/community-x86_64/mupdf.xpm -------------------------------------------------+ /PKGBUILD | 110 ++++++++++++++++++++++ /mupdf-1.5-openjpeg-2.1.0.patch | 26 +++++ /mupdf.desktop | 30 ++++++ /mupdf.install | 24 ++++ community-i686/PKGBUILD | 55 ----------- community-i686/mupdf-1.5-openjpeg-2.1.0.patch | 13 -- community-i686/mupdf.desktop | 15 --- community-i686/mupdf.install | 12 -- community-x86_64/PKGBUILD | 55 ----------- community-x86_64/mupdf-1.5-openjpeg-2.1.0.patch | 13 -- community-x86_64/mupdf.desktop | 15 --- community-x86_64/mupdf.install | 12 -- 12 files changed, 190 insertions(+), 190 deletions(-) Deleted: community-i686/PKGBUILD =================================================================== --- community-i686/PKGBUILD 2014-10-01 08:29:12 UTC (rev 119929) +++ community-i686/PKGBUILD 2014-10-01 08:29:24 UTC (rev 119930) @@ -1,55 +0,0 @@ -# $Id$ -# Maintainer: Bartłomiej Piotrowski <bpiotrow...@archlinux.org> -# Contributor: Brad Fanella <bradfane...@archlinux.us> -# Contributor: Stefan Husmann <stefan-husm...@t-online.de> -# Contributor: Pierre-Paul Paquin <pierrepaulpaq...@gmail.com> -# Contributor: xduugu - -pkgname=mupdf -pkgver=1.5 -pkgrel=2 -pkgdesc='Lightweight PDF and XPS viewer' -arch=('i686' 'x86_64') -url='http://mupdf.com' -license=('GPL3') -depends=('curl' 'desktop-file-utils' 'freetype2' 'jbig2dec' 'libjpeg' 'libxext' - 'openssl' 'openjpeg2') -install=mupdf.install -options=('staticlibs') -source=(http://mupdf.com/downloads/mupdf-$pkgver-source.tar.gz - mupdf.desktop - mupdf.xpm - mupdf-1.5-openjpeg-2.1.0.patch) -md5sums=('89bd4ddc74c266062ebf2702741bb173' - '39b54f82a763aac54e352315a0ee9037' - 'f3f35e7320bafde331250de1c99186a1' - '8e71587ad9b86e10c9144618ab43149b') - -prepare() { - cd $pkgname-$pkgver-source - rm -rf thirdparty/{curl,freetype,jpeg,zlib,jbig2dec,openjpeg} - patch -p1 -i ../mupdf-1.5-openjpeg-2.1.0.patch -} - -build() { - CFLAGS+=' -fPIC' - CXXFLAGS+=' -fPIC' - - cd $pkgname-$pkgver-source - make build=release CURL_LIBS='-lcurl -lpthread' -} - -package() { - cd $pkgname-$pkgver-source - make build=release prefix="$pkgdir"/usr install - install -Dm644 build/release/libmujs.a "$pkgdir"/usr/lib - - mv "$pkgdir"/usr/bin/mupdf-x11-curl "$pkgdir"/usr/bin/mupdf - rm "$pkgdir"/usr/bin/mupdf-x11 - - install -Dm644 ../mupdf.desktop "$pkgdir"/usr/share/applications/mupdf.desktop - install -Dm644 ../mupdf.xpm "$pkgdir"/usr/share/pixmaps/mupdf.xpm - - find "$pkgdir"/usr/include "$pkgdir"/usr/share "$pkgdir"/usr/lib \ - -type f -exec chmod -v 0644 {} + -} Copied: mupdf/repos/community-i686/PKGBUILD (from rev 119929, mupdf/trunk/PKGBUILD) =================================================================== --- community-i686/PKGBUILD (rev 0) +++ community-i686/PKGBUILD 2014-10-01 08:29:24 UTC (rev 119930) @@ -0,0 +1,55 @@ +# $Id$ +# Maintainer: Bartłomiej Piotrowski <bpiotrow...@archlinux.org> +# Contributor: Brad Fanella <bradfane...@archlinux.us> +# Contributor: Stefan Husmann <stefan-husm...@t-online.de> +# Contributor: Pierre-Paul Paquin <pierrepaulpaq...@gmail.com> +# Contributor: xduugu + +pkgname=mupdf +pkgver=1.6 +pkgrel=1 +pkgdesc='Lightweight PDF and XPS viewer' +arch=('i686' 'x86_64') +url='http://mupdf.com' +license=('GPL3') +depends=('curl' 'desktop-file-utils' 'freetype2' 'jbig2dec' 'libjpeg' 'libxext' + 'openssl' 'openjpeg2') +install=mupdf.install +options=('staticlibs') +source=(http://mupdf.com/downloads/mupdf-$pkgver-source.tar.gz + mupdf.desktop + mupdf.xpm + mupdf-1.5-openjpeg-2.1.0.patch) +md5sums=('8d69db41ae9e0b6807b76bb6ed70dc2f' + '39b54f82a763aac54e352315a0ee9037' + 'f3f35e7320bafde331250de1c99186a1' + '8e71587ad9b86e10c9144618ab43149b') + +prepare() { + cd $pkgname-$pkgver-source + rm -rf thirdparty/{curl,freetype,jpeg,zlib,jbig2dec,openjpeg} + patch -p1 -i ../mupdf-1.5-openjpeg-2.1.0.patch +} + +build() { + CFLAGS+=' -fPIC' + CXXFLAGS+=' -fPIC' + + cd $pkgname-$pkgver-source + make build=release CURL_LIBS='-lcurl -lpthread' +} + +package() { + cd $pkgname-$pkgver-source + make build=release prefix="$pkgdir"/usr install + install -Dm644 build/release/libmujs.a "$pkgdir"/usr/lib + + mv "$pkgdir"/usr/bin/mupdf-x11-curl "$pkgdir"/usr/bin/mupdf + rm "$pkgdir"/usr/bin/mupdf-x11 + + install -Dm644 ../mupdf.desktop "$pkgdir"/usr/share/applications/mupdf.desktop + install -Dm644 ../mupdf.xpm "$pkgdir"/usr/share/pixmaps/mupdf.xpm + + find "$pkgdir"/usr/include "$pkgdir"/usr/share "$pkgdir"/usr/lib \ + -type f -exec chmod -v 0644 {} + +} Deleted: community-i686/mupdf-1.5-openjpeg-2.1.0.patch =================================================================== --- community-i686/mupdf-1.5-openjpeg-2.1.0.patch 2014-10-01 08:29:12 UTC (rev 119929) +++ community-i686/mupdf-1.5-openjpeg-2.1.0.patch 2014-10-01 08:29:24 UTC (rev 119930) @@ -1,13 +0,0 @@ -diff --git a/source/fitz/load-jpx.c b/source/fitz/load-jpx.c -index dd7bf9e..b7c8680 100644 ---- a/source/fitz/load-jpx.c -+++ b/source/fitz/load-jpx.c -@@ -116,7 +116,7 @@ fz_load_jpx(fz_context *ctx, unsigned char *data, int size, fz_colorspace *defcs - opj_stream_set_read_function(stream, fz_opj_stream_read); - opj_stream_set_skip_function(stream, fz_opj_stream_skip); - opj_stream_set_seek_function(stream, fz_opj_stream_seek); -- opj_stream_set_user_data(stream, &sb); -+ opj_stream_set_user_data(stream, &sb, NULL); - /* Set the length to avoid an assert */ - opj_stream_set_user_data_length(stream, size); - Copied: mupdf/repos/community-i686/mupdf-1.5-openjpeg-2.1.0.patch (from rev 119929, mupdf/trunk/mupdf-1.5-openjpeg-2.1.0.patch) =================================================================== --- community-i686/mupdf-1.5-openjpeg-2.1.0.patch (rev 0) +++ community-i686/mupdf-1.5-openjpeg-2.1.0.patch 2014-10-01 08:29:24 UTC (rev 119930) @@ -0,0 +1,13 @@ +diff --git a/source/fitz/load-jpx.c b/source/fitz/load-jpx.c +index dd7bf9e..b7c8680 100644 +--- a/source/fitz/load-jpx.c ++++ b/source/fitz/load-jpx.c +@@ -116,7 +116,7 @@ fz_load_jpx(fz_context *ctx, unsigned char *data, int size, fz_colorspace *defcs + opj_stream_set_read_function(stream, fz_opj_stream_read); + opj_stream_set_skip_function(stream, fz_opj_stream_skip); + opj_stream_set_seek_function(stream, fz_opj_stream_seek); +- opj_stream_set_user_data(stream, &sb); ++ opj_stream_set_user_data(stream, &sb, NULL); + /* Set the length to avoid an assert */ + opj_stream_set_user_data_length(stream, size); + Deleted: community-i686/mupdf.desktop =================================================================== --- community-i686/mupdf.desktop 2014-10-01 08:29:12 UTC (rev 119929) +++ community-i686/mupdf.desktop 2014-10-01 08:29:24 UTC (rev 119930) @@ -1,15 +0,0 @@ -[Desktop Entry] -Name=MuPDF -GenericName=PDF file viewer -Exec=mupdf %f -TryExec=mupdf -Icon=mupdf -Terminal=false -Type=Application -MimeType=application/pdf;application/x-pdf;application/x-cbz;application/oxps;application/vnd.ms-xpsdocument;image/jpeg;image/pjpeg;image/png;image/tiff;image/x-tiff -Categories=Viewer;Graphics; -Actions=View -NoDisplay=true -[Desktop Action View] -Name=View with mupdf -Exec=mupdf %f Copied: mupdf/repos/community-i686/mupdf.desktop (from rev 119929, mupdf/trunk/mupdf.desktop) =================================================================== --- community-i686/mupdf.desktop (rev 0) +++ community-i686/mupdf.desktop 2014-10-01 08:29:24 UTC (rev 119930) @@ -0,0 +1,15 @@ +[Desktop Entry] +Name=MuPDF +GenericName=PDF file viewer +Exec=mupdf %f +TryExec=mupdf +Icon=mupdf +Terminal=false +Type=Application +MimeType=application/pdf;application/x-pdf;application/x-cbz;application/oxps;application/vnd.ms-xpsdocument;image/jpeg;image/pjpeg;image/png;image/tiff;image/x-tiff +Categories=Viewer;Graphics; +Actions=View +NoDisplay=true +[Desktop Action View] +Name=View with mupdf +Exec=mupdf %f Deleted: community-i686/mupdf.install =================================================================== --- community-i686/mupdf.install 2014-10-01 08:29:12 UTC (rev 119929) +++ community-i686/mupdf.install 2014-10-01 08:29:24 UTC (rev 119930) @@ -1,12 +0,0 @@ -post_install() { - update-desktop-database -q -} - -post_upgrade() { - post_install -} - -post_remove() { - post_install -} - Copied: mupdf/repos/community-i686/mupdf.install (from rev 119929, mupdf/trunk/mupdf.install) =================================================================== --- community-i686/mupdf.install (rev 0) +++ community-i686/mupdf.install 2014-10-01 08:29:24 UTC (rev 119930) @@ -0,0 +1,12 @@ +post_install() { + update-desktop-database -q +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} + Deleted: community-i686/mupdf.xpm =================================================================== (Binary files differ) Copied: mupdf/repos/community-i686/mupdf.xpm (from rev 119929, mupdf/trunk/mupdf.xpm) =================================================================== (Binary files differ) Deleted: community-x86_64/PKGBUILD =================================================================== --- community-x86_64/PKGBUILD 2014-10-01 08:29:12 UTC (rev 119929) +++ community-x86_64/PKGBUILD 2014-10-01 08:29:24 UTC (rev 119930) @@ -1,55 +0,0 @@ -# $Id$ -# Maintainer: Bartłomiej Piotrowski <bpiotrow...@archlinux.org> -# Contributor: Brad Fanella <bradfane...@archlinux.us> -# Contributor: Stefan Husmann <stefan-husm...@t-online.de> -# Contributor: Pierre-Paul Paquin <pierrepaulpaq...@gmail.com> -# Contributor: xduugu - -pkgname=mupdf -pkgver=1.5 -pkgrel=2 -pkgdesc='Lightweight PDF and XPS viewer' -arch=('i686' 'x86_64') -url='http://mupdf.com' -license=('GPL3') -depends=('curl' 'desktop-file-utils' 'freetype2' 'jbig2dec' 'libjpeg' 'libxext' - 'openssl' 'openjpeg2') -install=mupdf.install -options=('staticlibs') -source=(http://mupdf.com/downloads/mupdf-$pkgver-source.tar.gz - mupdf.desktop - mupdf.xpm - mupdf-1.5-openjpeg-2.1.0.patch) -md5sums=('89bd4ddc74c266062ebf2702741bb173' - '39b54f82a763aac54e352315a0ee9037' - 'f3f35e7320bafde331250de1c99186a1' - '8e71587ad9b86e10c9144618ab43149b') - -prepare() { - cd $pkgname-$pkgver-source - rm -rf thirdparty/{curl,freetype,jpeg,zlib,jbig2dec,openjpeg} - patch -p1 -i ../mupdf-1.5-openjpeg-2.1.0.patch -} - -build() { - CFLAGS+=' -fPIC' - CXXFLAGS+=' -fPIC' - - cd $pkgname-$pkgver-source - make build=release CURL_LIBS='-lcurl -lpthread' -} - -package() { - cd $pkgname-$pkgver-source - make build=release prefix="$pkgdir"/usr install - install -Dm644 build/release/libmujs.a "$pkgdir"/usr/lib - - mv "$pkgdir"/usr/bin/mupdf-x11-curl "$pkgdir"/usr/bin/mupdf - rm "$pkgdir"/usr/bin/mupdf-x11 - - install -Dm644 ../mupdf.desktop "$pkgdir"/usr/share/applications/mupdf.desktop - install -Dm644 ../mupdf.xpm "$pkgdir"/usr/share/pixmaps/mupdf.xpm - - find "$pkgdir"/usr/include "$pkgdir"/usr/share "$pkgdir"/usr/lib \ - -type f -exec chmod -v 0644 {} + -} Copied: mupdf/repos/community-x86_64/PKGBUILD (from rev 119929, mupdf/trunk/PKGBUILD) =================================================================== --- community-x86_64/PKGBUILD (rev 0) +++ community-x86_64/PKGBUILD 2014-10-01 08:29:24 UTC (rev 119930) @@ -0,0 +1,55 @@ +# $Id$ +# Maintainer: Bartłomiej Piotrowski <bpiotrow...@archlinux.org> +# Contributor: Brad Fanella <bradfane...@archlinux.us> +# Contributor: Stefan Husmann <stefan-husm...@t-online.de> +# Contributor: Pierre-Paul Paquin <pierrepaulpaq...@gmail.com> +# Contributor: xduugu + +pkgname=mupdf +pkgver=1.6 +pkgrel=1 +pkgdesc='Lightweight PDF and XPS viewer' +arch=('i686' 'x86_64') +url='http://mupdf.com' +license=('GPL3') +depends=('curl' 'desktop-file-utils' 'freetype2' 'jbig2dec' 'libjpeg' 'libxext' + 'openssl' 'openjpeg2') +install=mupdf.install +options=('staticlibs') +source=(http://mupdf.com/downloads/mupdf-$pkgver-source.tar.gz + mupdf.desktop + mupdf.xpm + mupdf-1.5-openjpeg-2.1.0.patch) +md5sums=('8d69db41ae9e0b6807b76bb6ed70dc2f' + '39b54f82a763aac54e352315a0ee9037' + 'f3f35e7320bafde331250de1c99186a1' + '8e71587ad9b86e10c9144618ab43149b') + +prepare() { + cd $pkgname-$pkgver-source + rm -rf thirdparty/{curl,freetype,jpeg,zlib,jbig2dec,openjpeg} + patch -p1 -i ../mupdf-1.5-openjpeg-2.1.0.patch +} + +build() { + CFLAGS+=' -fPIC' + CXXFLAGS+=' -fPIC' + + cd $pkgname-$pkgver-source + make build=release CURL_LIBS='-lcurl -lpthread' +} + +package() { + cd $pkgname-$pkgver-source + make build=release prefix="$pkgdir"/usr install + install -Dm644 build/release/libmujs.a "$pkgdir"/usr/lib + + mv "$pkgdir"/usr/bin/mupdf-x11-curl "$pkgdir"/usr/bin/mupdf + rm "$pkgdir"/usr/bin/mupdf-x11 + + install -Dm644 ../mupdf.desktop "$pkgdir"/usr/share/applications/mupdf.desktop + install -Dm644 ../mupdf.xpm "$pkgdir"/usr/share/pixmaps/mupdf.xpm + + find "$pkgdir"/usr/include "$pkgdir"/usr/share "$pkgdir"/usr/lib \ + -type f -exec chmod -v 0644 {} + +} Deleted: community-x86_64/mupdf-1.5-openjpeg-2.1.0.patch =================================================================== --- community-x86_64/mupdf-1.5-openjpeg-2.1.0.patch 2014-10-01 08:29:12 UTC (rev 119929) +++ community-x86_64/mupdf-1.5-openjpeg-2.1.0.patch 2014-10-01 08:29:24 UTC (rev 119930) @@ -1,13 +0,0 @@ -diff --git a/source/fitz/load-jpx.c b/source/fitz/load-jpx.c -index dd7bf9e..b7c8680 100644 ---- a/source/fitz/load-jpx.c -+++ b/source/fitz/load-jpx.c -@@ -116,7 +116,7 @@ fz_load_jpx(fz_context *ctx, unsigned char *data, int size, fz_colorspace *defcs - opj_stream_set_read_function(stream, fz_opj_stream_read); - opj_stream_set_skip_function(stream, fz_opj_stream_skip); - opj_stream_set_seek_function(stream, fz_opj_stream_seek); -- opj_stream_set_user_data(stream, &sb); -+ opj_stream_set_user_data(stream, &sb, NULL); - /* Set the length to avoid an assert */ - opj_stream_set_user_data_length(stream, size); - Copied: mupdf/repos/community-x86_64/mupdf-1.5-openjpeg-2.1.0.patch (from rev 119929, mupdf/trunk/mupdf-1.5-openjpeg-2.1.0.patch) =================================================================== --- community-x86_64/mupdf-1.5-openjpeg-2.1.0.patch (rev 0) +++ community-x86_64/mupdf-1.5-openjpeg-2.1.0.patch 2014-10-01 08:29:24 UTC (rev 119930) @@ -0,0 +1,13 @@ +diff --git a/source/fitz/load-jpx.c b/source/fitz/load-jpx.c +index dd7bf9e..b7c8680 100644 +--- a/source/fitz/load-jpx.c ++++ b/source/fitz/load-jpx.c +@@ -116,7 +116,7 @@ fz_load_jpx(fz_context *ctx, unsigned char *data, int size, fz_colorspace *defcs + opj_stream_set_read_function(stream, fz_opj_stream_read); + opj_stream_set_skip_function(stream, fz_opj_stream_skip); + opj_stream_set_seek_function(stream, fz_opj_stream_seek); +- opj_stream_set_user_data(stream, &sb); ++ opj_stream_set_user_data(stream, &sb, NULL); + /* Set the length to avoid an assert */ + opj_stream_set_user_data_length(stream, size); + Deleted: community-x86_64/mupdf.desktop =================================================================== --- community-x86_64/mupdf.desktop 2014-10-01 08:29:12 UTC (rev 119929) +++ community-x86_64/mupdf.desktop 2014-10-01 08:29:24 UTC (rev 119930) @@ -1,15 +0,0 @@ -[Desktop Entry] -Name=MuPDF -GenericName=PDF file viewer -Exec=mupdf %f -TryExec=mupdf -Icon=mupdf -Terminal=false -Type=Application -MimeType=application/pdf;application/x-pdf;application/x-cbz;application/oxps;application/vnd.ms-xpsdocument;image/jpeg;image/pjpeg;image/png;image/tiff;image/x-tiff -Categories=Viewer;Graphics; -Actions=View -NoDisplay=true -[Desktop Action View] -Name=View with mupdf -Exec=mupdf %f Copied: mupdf/repos/community-x86_64/mupdf.desktop (from rev 119929, mupdf/trunk/mupdf.desktop) =================================================================== --- community-x86_64/mupdf.desktop (rev 0) +++ community-x86_64/mupdf.desktop 2014-10-01 08:29:24 UTC (rev 119930) @@ -0,0 +1,15 @@ +[Desktop Entry] +Name=MuPDF +GenericName=PDF file viewer +Exec=mupdf %f +TryExec=mupdf +Icon=mupdf +Terminal=false +Type=Application +MimeType=application/pdf;application/x-pdf;application/x-cbz;application/oxps;application/vnd.ms-xpsdocument;image/jpeg;image/pjpeg;image/png;image/tiff;image/x-tiff +Categories=Viewer;Graphics; +Actions=View +NoDisplay=true +[Desktop Action View] +Name=View with mupdf +Exec=mupdf %f Deleted: community-x86_64/mupdf.install =================================================================== --- community-x86_64/mupdf.install 2014-10-01 08:29:12 UTC (rev 119929) +++ community-x86_64/mupdf.install 2014-10-01 08:29:24 UTC (rev 119930) @@ -1,12 +0,0 @@ -post_install() { - update-desktop-database -q -} - -post_upgrade() { - post_install -} - -post_remove() { - post_install -} - Copied: mupdf/repos/community-x86_64/mupdf.install (from rev 119929, mupdf/trunk/mupdf.install) =================================================================== --- community-x86_64/mupdf.install (rev 0) +++ community-x86_64/mupdf.install 2014-10-01 08:29:24 UTC (rev 119930) @@ -0,0 +1,12 @@ +post_install() { + update-desktop-database -q +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} + Deleted: community-x86_64/mupdf.xpm =================================================================== (Binary files differ) Copied: mupdf/repos/community-x86_64/mupdf.xpm (from rev 119929, mupdf/trunk/mupdf.xpm) =================================================================== (Binary files differ)