[arch-commits] Commit in mupdf/repos (12 files)

2016-04-26 Thread Christian Hesse
Date: Tuesday, April 26, 2016 @ 13:23:03
  Author: eworm
Revision: 171886

archrelease: copy trunk to community-testing-i686, community-testing-x86_64

Added:
  mupdf/repos/community-testing-i686/
  mupdf/repos/community-testing-i686/PKGBUILD
(from rev 171885, mupdf/trunk/PKGBUILD)
  mupdf/repos/community-testing-i686/mupdf-1.5-openjpeg-2.1.0.patch
(from rev 171885, mupdf/trunk/mupdf-1.5-openjpeg-2.1.0.patch)
  mupdf/repos/community-testing-i686/mupdf.desktop
(from rev 171885, mupdf/trunk/mupdf.desktop)
  mupdf/repos/community-testing-i686/mupdf.install
(from rev 171885, mupdf/trunk/mupdf.install)
  mupdf/repos/community-testing-i686/mupdf.xpm
(from rev 171885, mupdf/trunk/mupdf.xpm)
  mupdf/repos/community-testing-x86_64/
  mupdf/repos/community-testing-x86_64/PKGBUILD
(from rev 171885, mupdf/trunk/PKGBUILD)
  mupdf/repos/community-testing-x86_64/mupdf-1.5-openjpeg-2.1.0.patch
(from rev 171885, mupdf/trunk/mupdf-1.5-openjpeg-2.1.0.patch)
  mupdf/repos/community-testing-x86_64/mupdf.desktop
(from rev 171885, mupdf/trunk/mupdf.desktop)
  mupdf/repos/community-testing-x86_64/mupdf.install
(from rev 171885, mupdf/trunk/mupdf.install)
  mupdf/repos/community-testing-x86_64/mupdf.xpm
(from rev 171885, mupdf/trunk/mupdf.xpm)

-+
 community-testing-i686/PKGBUILD |  124 ++
 community-testing-i686/mupdf-1.5-openjpeg-2.1.0.patch   |   13 +
 community-testing-i686/mupdf.desktop|   15 +
 community-testing-i686/mupdf.install|   12 +
 community-testing-x86_64/PKGBUILD   |  124 ++
 community-testing-x86_64/mupdf-1.5-openjpeg-2.1.0.patch |   13 +
 community-testing-x86_64/mupdf.desktop  |   15 +
 community-testing-x86_64/mupdf.install  |   12 +
 8 files changed, 328 insertions(+)

Copied: mupdf/repos/community-testing-i686/PKGBUILD (from rev 171885, 
mupdf/trunk/PKGBUILD)
===
--- community-testing-i686/PKGBUILD (rev 0)
+++ community-testing-i686/PKGBUILD 2016-04-26 11:23:03 UTC (rev 171886)
@@ -0,0 +1,124 @@
+# $Id$
+# Maintainer: Christian Hesse 
+# Contributor: Bartłomiej Piotrowski 
+# Contributor: Brad Fanella 
+# Contributor: Stefan Husmann 
+# Contributor: Pierre-Paul Paquin 
+# Contributor: xduugu
+
+pkgbase=mupdf
+pkgname=(libmupdf mupdf mupdf-gl mupdf-tools)
+pkgver=1.9_a
+pkgrel=2
+pkgdesc='Lightweight PDF and XPS viewer'
+arch=('i686' 'x86_64')
+url='http://mupdf.com'
+license=('AGPL3')
+makedepends=('curl' 'desktop-file-utils' 'freetype2' 'glfw' 'harfbuzz'
+ 'jbig2dec' 'libjpeg' 'mesa-libgl' 'openjpeg2' 'openssl')
+install=mupdf.install
+# we need static libs for zathura-pdf-mupdf
+options=('staticlibs')
+source=(http://mupdf.com/downloads/mupdf-${pkgver/_/}-source.tar.gz
+mupdf-1.5-openjpeg-2.1.0.patch
+mupdf.desktop
+   mupdf.xpm)
+md5sums=('658b90788a57d858dcb069cf326e11c3'
+ '8e71587ad9b86e10c9144618ab43149b'
+ '39b54f82a763aac54e352315a0ee9037'
+ 'f3f35e7320bafde331250de1c99186a1')
+
+prepare() {
+  cd $pkgbase-${pkgver/_/}-source
+
+  # remove bundled packages, we want our system libraries
+  rm -rf thirdparty/{curl,freetype,glfw,harfbuzz,jbig2dec,jpeg,openjpeg,zlib}
+
+  patch -p1 -i ../mupdf-1.5-openjpeg-2.1.0.patch
+
+  sed '/^JBIG2DEC_CFLAGS :=/s|$| -I./include/mupdf|' -i Makethird
+}
+
+build() {
+  CFLAGS+=' -fPIC'
+  CXXFLAGS+=' -fPIC'
+  export CFLAGS CXXFLAGS
+
+  HAVE_GLFW='yes'
+  SYS_GLFW_CFLAGS="$(pkg-config --cflags glfw3)"
+  SYS_GLFW_LIBS="$(pkg-config --libs glfw3) -lGL"
+  export HAVE_GLFW SYS_GLFW_CFLAGS SYS_GLFW_LIBS
+
+  cd $pkgbase-${pkgver/_/}-source
+  make build=release
+}
+
+package_libmupdf() {
+  pkgdesc='Library for Lightweight PDF and XPS viewer'
+
+  cd $pkgbase-${pkgver/_/}-source
+
+  make build=release prefix="$pkgdir"/usr install
+
+  rm -rf "$pkgdir"/usr/{bin,share/man}
+  mv "$pkgdir"/usr/share/doc/mupdf "$pkgdir"/usr/share/doc/libmupdf
+
+  find "$pkgdir"/usr/include "$pkgdir"/usr/share "$pkgdir"/usr/lib \
+-type f -exec chmod 0644 {} +
+}
+
+package_mupdf() {
+  pkgdesc='Lightweight PDF and XPS viewer'
+  depends=('curl' 'desktop-file-utils' 'freetype2' 'harfbuzz' 'jbig2dec'
+   'libjpeg' 'openjpeg2' 'openssl')
+
+  cd $pkgbase-${pkgver/_/}-source
+
+  install -D -m0755 build/release/mupdf-x11-curl "$pkgdir"/usr/bin/mupdf
+
+  install -D -m0644 docs/man/mupdf.1 "$pkgdir"/usr/share/man/man1/mupdf.1
+
+  install -d "$pkgdir"/usr/share/doc/mupdf
+  install -m0644  README COPYING CHANGES "$pkgdir"/usr/share/doc/mupdf
+
+  install -D -m0644 ../mupdf.desktop 
"$pkgdir"/usr/share/applications/mupdf.desktop
+  install -D -m0644 ../mupdf.xpm 

[arch-commits] Commit in mupdf/repos (12 files)

2016-04-18 Thread Christian Hesse
Date: Monday, April 18, 2016 @ 16:03:27
  Author: eworm
Revision: 171354

archrelease: copy trunk to community-testing-i686, community-testing-x86_64

Added:
  mupdf/repos/community-testing-i686/
  mupdf/repos/community-testing-i686/PKGBUILD
(from rev 171353, mupdf/trunk/PKGBUILD)
  mupdf/repos/community-testing-i686/mupdf-1.5-openjpeg-2.1.0.patch
(from rev 171353, mupdf/trunk/mupdf-1.5-openjpeg-2.1.0.patch)
  mupdf/repos/community-testing-i686/mupdf.desktop
(from rev 171353, mupdf/trunk/mupdf.desktop)
  mupdf/repos/community-testing-i686/mupdf.install
(from rev 171353, mupdf/trunk/mupdf.install)
  mupdf/repos/community-testing-i686/mupdf.xpm
(from rev 171353, mupdf/trunk/mupdf.xpm)
  mupdf/repos/community-testing-x86_64/
  mupdf/repos/community-testing-x86_64/PKGBUILD
(from rev 171353, mupdf/trunk/PKGBUILD)
  mupdf/repos/community-testing-x86_64/mupdf-1.5-openjpeg-2.1.0.patch
(from rev 171353, mupdf/trunk/mupdf-1.5-openjpeg-2.1.0.patch)
  mupdf/repos/community-testing-x86_64/mupdf.desktop
(from rev 171353, mupdf/trunk/mupdf.desktop)
  mupdf/repos/community-testing-x86_64/mupdf.install
(from rev 171353, mupdf/trunk/mupdf.install)
  mupdf/repos/community-testing-x86_64/mupdf.xpm
(from rev 171353, mupdf/trunk/mupdf.xpm)

-+
 community-testing-i686/PKGBUILD |   60 ++
 community-testing-i686/mupdf-1.5-openjpeg-2.1.0.patch   |   13 +++
 community-testing-i686/mupdf.desktop|   15 +++
 community-testing-i686/mupdf.install|   12 ++
 community-testing-x86_64/PKGBUILD   |   60 ++
 community-testing-x86_64/mupdf-1.5-openjpeg-2.1.0.patch |   13 +++
 community-testing-x86_64/mupdf.desktop  |   15 +++
 community-testing-x86_64/mupdf.install  |   12 ++
 8 files changed, 200 insertions(+)

Copied: mupdf/repos/community-testing-i686/PKGBUILD (from rev 171353, 
mupdf/trunk/PKGBUILD)
===
--- community-testing-i686/PKGBUILD (rev 0)
+++ community-testing-i686/PKGBUILD 2016-04-18 14:03:27 UTC (rev 171354)
@@ -0,0 +1,60 @@
+# $Id$
+# Maintainer: Christian Hesse 
+# Contributor: Bartłomiej Piotrowski 
+# Contributor: Brad Fanella 
+# Contributor: Stefan Husmann 
+# Contributor: Pierre-Paul Paquin 
+# Contributor: xduugu
+
+pkgname=mupdf
+pkgver=1.9
+pkgrel=1
+pkgdesc='Lightweight PDF and XPS viewer'
+arch=('i686' 'x86_64')
+url='http://mupdf.com'
+license=('AGPL3')
+depends=('curl' 'desktop-file-utils' 'freetype2' 'jbig2dec' 'libjpeg' 'libxext'
+ 'openssl' 'openjpeg2' 'mesa' 'libgl' 'libxcursor' 'libxrandr'
+'libxinerama')
+makedepends=('mesa-libgl')
+install=mupdf.install
+# we need static libs for zathura-pdf-mupdf
+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=('6677c6386e8408a72826a0b7bc647a45'
+ '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
+
+  sed '/^JBIG2DEC_CFLAGS :=/s|$| -I./include/mupdf|' -i Makethird
+}
+
+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
+
+  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-testing-i686/mupdf-1.5-openjpeg-2.1.0.patch (from 
rev 171353, mupdf/trunk/mupdf-1.5-openjpeg-2.1.0.patch)
===
--- community-testing-i686/mupdf-1.5-openjpeg-2.1.0.patch   
(rev 0)
+++ community-testing-i686/mupdf-1.5-openjpeg-2.1.0.patch   2016-04-18 
14:03:27 UTC (rev 171354)
@@ -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);
+   

[arch-commits] Commit in mupdf/repos (12 files)

2014-04-17 Thread Sergej Pupykin
Date: Thursday, April 17, 2014 @ 12:54:08
  Author: spupykin
Revision: 109645

archrelease: copy trunk to community-i686, community-x86_64

Added:
  mupdf/repos/community-i686/PKGBUILD
(from rev 109644, mupdf/trunk/PKGBUILD)
  mupdf/repos/community-i686/mupdf-1.4-system-libcurl.patch
(from rev 109644, mupdf/trunk/mupdf-1.4-system-libcurl.patch)
  mupdf/repos/community-i686/mupdf.install
(from rev 109644, mupdf/trunk/mupdf.install)
  mupdf/repos/community-x86_64/PKGBUILD
(from rev 109644, mupdf/trunk/PKGBUILD)
  mupdf/repos/community-x86_64/mupdf-1.4-system-libcurl.patch
(from rev 109644, mupdf/trunk/mupdf-1.4-system-libcurl.patch)
  mupdf/repos/community-x86_64/mupdf.install
(from rev 109644, mupdf/trunk/mupdf.install)
Deleted:
  mupdf/repos/community-i686/PKGBUILD
  mupdf/repos/community-i686/mupdf-1.4-system-libcurl.patch
  mupdf/repos/community-i686/mupdf.install
  mupdf/repos/community-x86_64/PKGBUILD
  mupdf/repos/community-x86_64/mupdf-1.4-system-libcurl.patch
  mupdf/repos/community-x86_64/mupdf.install

-+
 /PKGBUILD   |  120 ++
 /mupdf-1.4-system-libcurl.patch |   52 +
 /mupdf.install  |   24 
 community-i686/PKGBUILD |   59 --
 community-i686/mupdf-1.4-system-libcurl.patch   |   26 
 community-i686/mupdf.install|   12 --
 community-x86_64/PKGBUILD   |   59 --
 community-x86_64/mupdf-1.4-system-libcurl.patch |   26 
 community-x86_64/mupdf.install  |   12 --
 9 files changed, 196 insertions(+), 194 deletions(-)

Deleted: community-i686/PKGBUILD
===
--- community-i686/PKGBUILD 2014-04-17 10:46:12 UTC (rev 109644)
+++ community-i686/PKGBUILD 2014-04-17 10:54:08 UTC (rev 109645)
@@ -1,59 +0,0 @@
-# $Id$
-# Maintainer:  Bartłomiej Piotrowski nos...@bpiotrowski.pl
-# 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.4
-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')
-install=mupdf.install
-options=('staticlibs')
-source=(http://mupdf.com/downloads/mupdf-$pkgver-source.tar.gz
-mupdf-1.4-system-libcurl.patch)
-md5sums=('0f6840a7020db0c833b0c090ca1864ec'
- 'b9fa68f059cfcd0b95c1166c83fd2ec5')
-
-prepare() {
-  cd $pkgname-$pkgver-source
-  rm -rf thirdparty/{curl,freetype,jpeg,zlib,jbig2dec}
-  patch -p1 -i ../mupdf-1.4-system-libcurl.patch
-
-  cd platform/debian
-  sed -i -e 's/mupdf.xpm/mupdf/' \
--e 's/application\/x-pdf/application\/x-pdf/' \
--e 's/mupdf-select-file/mupdf/' \
--e 's/^$/NoDisplay=true/' \
-mupdf.desktop
-}
-
-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
-
-  mv $pkgdir/usr/bin/mupdf-x11-curl $pkgdir/usr/bin/mupdf
-  rm $pkgdir/usr/bin/mupdf-x11
-
-  cd platform/debian
-  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 | xargs chmod -v 0644
-}

Copied: mupdf/repos/community-i686/PKGBUILD (from rev 109644, 
mupdf/trunk/PKGBUILD)
===
--- community-i686/PKGBUILD (rev 0)
+++ community-i686/PKGBUILD 2014-04-17 10:54:08 UTC (rev 109645)
@@ -0,0 +1,60 @@
+# $Id$
+# Maintainer:  Bartłomiej Piotrowski nos...@bpiotrowski.pl
+# 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.4
+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')
+install=mupdf.install
+options=('staticlibs')
+source=(http://mupdf.com/downloads/mupdf-$pkgver-source.tar.gz
+mupdf-1.4-system-libcurl.patch)
+md5sums=('0f6840a7020db0c833b0c090ca1864ec'
+ 'b9fa68f059cfcd0b95c1166c83fd2ec5')
+
+prepare() {
+  cd $pkgname-$pkgver-source
+  rm -rf thirdparty/{curl,freetype,jpeg,zlib,jbig2dec}
+  patch -p1 -i ../mupdf-1.4-system-libcurl.patch
+
+  cd platform/debian
+  sed -i -e 's/mupdf.xpm/mupdf/' \
+-e 

[arch-commits] Commit in mupdf/repos (12 files)

2013-10-27 Thread Bartłomiej Piotrowski
Date: Sunday, October 27, 2013 @ 11:47:47
  Author: bpiotrowski
Revision: 99335

archrelease: copy trunk to community-i686, community-x86_64

Added:
  mupdf/repos/community-i686/PKGBUILD
(from rev 99334, mupdf/trunk/PKGBUILD)
  mupdf/repos/community-i686/mupdf-1.3-system-libcurl.patch
(from rev 99334, mupdf/trunk/mupdf-1.3-system-libcurl.patch)
  mupdf/repos/community-i686/mupdf.install
(from rev 99334, mupdf/trunk/mupdf.install)
  mupdf/repos/community-x86_64/PKGBUILD
(from rev 99334, mupdf/trunk/PKGBUILD)
  mupdf/repos/community-x86_64/mupdf-1.3-system-libcurl.patch
(from rev 99334, mupdf/trunk/mupdf-1.3-system-libcurl.patch)
  mupdf/repos/community-x86_64/mupdf.install
(from rev 99334, mupdf/trunk/mupdf.install)
Deleted:
  mupdf/repos/community-i686/PKGBUILD
  mupdf/repos/community-i686/mupdf-1.3-system-libcurl.patch
  mupdf/repos/community-i686/mupdf.install
  mupdf/repos/community-x86_64/PKGBUILD
  mupdf/repos/community-x86_64/mupdf-1.3-system-libcurl.patch
  mupdf/repos/community-x86_64/mupdf.install

-+
 /PKGBUILD   |  112 ++
 /mupdf-1.3-system-libcurl.patch |   42 
 /mupdf.install  |   24 
 community-i686/PKGBUILD |   55 --
 community-i686/mupdf-1.3-system-libcurl.patch   |   21 
 community-i686/mupdf.install|   12 --
 community-x86_64/PKGBUILD   |   55 --
 community-x86_64/mupdf-1.3-system-libcurl.patch |   21 
 community-x86_64/mupdf.install  |   12 --
 9 files changed, 178 insertions(+), 176 deletions(-)

Deleted: community-i686/PKGBUILD
===
--- community-i686/PKGBUILD 2013-10-27 10:47:30 UTC (rev 99334)
+++ community-i686/PKGBUILD 2013-10-27 10:47:47 UTC (rev 99335)
@@ -1,55 +0,0 @@
-# $Id$
-# Maintainer:  Bartłomiej Piotrowski nos...@bpiotrowski.pl
-# 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.3
-pkgrel=6
-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')
-install=mupdf.install
-source=(https://mupdf.googlecode.com/files/$pkgname-$pkgver-source.tar.gz
-mupdf-1.3-system-libcurl.patch)
-sha256sums=('aba8b31bee9cc0a16abedab5e31c81c65996cba5591e62a50a79bea2a63d4478'
-'41a3b6df736f971e91c066e73afac286eec8fa37af244a55df52e8b173646f42')
-
-prepare() {
-  cd $pkgname-$pkgver-source
-  rm -rf thirdparty/{curl,freetype,jpeg,zlib,jbig2dec}
-  patch -Np1 -i ../mupdf-1.3-system-libcurl.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
-
-  mv $pkgdir/usr/bin/mupdf-x11-curl $pkgdir/usr/bin/mupdf
-  rm $pkgdir/usr/bin/mupdf-x11
-
-  cd platform/debian
-  sed -i -e 's/mupdf.xpm/mupdf/' \
- -e 's/application\/x-pdf/application\/x-pdf/' \
- -e 's/mupdf-select-file/mupdf/' \
- -e 's/^$/NoDisplay=true/' \
-mupdf.desktop
-  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 | xargs chmod -v 0644
-}

Copied: mupdf/repos/community-i686/PKGBUILD (from rev 99334, 
mupdf/trunk/PKGBUILD)
===
--- community-i686/PKGBUILD (rev 0)
+++ community-i686/PKGBUILD 2013-10-27 10:47:47 UTC (rev 99335)
@@ -0,0 +1,56 @@
+# $Id$
+# Maintainer:  Bartłomiej Piotrowski nos...@bpiotrowski.pl
+# 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.3
+pkgrel=7
+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')
+install=mupdf.install
+options=('staticlibs')
+source=(https://mupdf.googlecode.com/files/$pkgname-$pkgver-source.tar.gz
+mupdf-1.3-system-libcurl.patch)
+sha256sums=('aba8b31bee9cc0a16abedab5e31c81c65996cba5591e62a50a79bea2a63d4478'
+'41a3b6df736f971e91c066e73afac286eec8fa37af244a55df52e8b173646f42')
+
+prepare() {
+  cd $pkgname-$pkgver-source
+  rm -rf thirdparty/{curl,freetype,jpeg,zlib,jbig2dec}
+  patch 

[arch-commits] Commit in mupdf/repos (12 files)

2013-10-26 Thread Bartłomiej Piotrowski
Date: Saturday, October 26, 2013 @ 16:31:26
  Author: bpiotrowski
Revision: 99257

archrelease: copy trunk to community-i686, community-x86_64

Added:
  mupdf/repos/community-i686/PKGBUILD
(from rev 99256, mupdf/trunk/PKGBUILD)
  mupdf/repos/community-i686/mupdf-1.3-system-libcurl.patch
(from rev 99256, mupdf/trunk/mupdf-1.3-system-libcurl.patch)
  mupdf/repos/community-i686/mupdf.install
(from rev 99256, mupdf/trunk/mupdf.install)
  mupdf/repos/community-x86_64/PKGBUILD
(from rev 99256, mupdf/trunk/PKGBUILD)
  mupdf/repos/community-x86_64/mupdf-1.3-system-libcurl.patch
(from rev 99256, mupdf/trunk/mupdf-1.3-system-libcurl.patch)
  mupdf/repos/community-x86_64/mupdf.install
(from rev 99256, mupdf/trunk/mupdf.install)
Deleted:
  mupdf/repos/community-i686/PKGBUILD
  mupdf/repos/community-i686/mupdf-1.3-system-libcurl.patch
  mupdf/repos/community-i686/mupdf.install
  mupdf/repos/community-x86_64/PKGBUILD
  mupdf/repos/community-x86_64/mupdf-1.3-system-libcurl.patch
  mupdf/repos/community-x86_64/mupdf.install

-+
 /PKGBUILD   |  110 ++
 /mupdf-1.3-system-libcurl.patch |   42 
 /mupdf.install  |   24 
 community-i686/PKGBUILD |   55 ---
 community-i686/mupdf-1.3-system-libcurl.patch   |   21 
 community-i686/mupdf.install|   12 --
 community-x86_64/PKGBUILD   |   55 ---
 community-x86_64/mupdf-1.3-system-libcurl.patch |   21 
 community-x86_64/mupdf.install  |   12 --
 9 files changed, 176 insertions(+), 176 deletions(-)

Deleted: community-i686/PKGBUILD
===
--- community-i686/PKGBUILD 2013-10-26 14:31:22 UTC (rev 99256)
+++ community-i686/PKGBUILD 2013-10-26 14:31:26 UTC (rev 99257)
@@ -1,55 +0,0 @@
-# $Id$
-# Maintainer:  Bartłomiej Piotrowski nos...@bpiotrowski.pl
-# 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.3
-pkgrel=5
-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')
-install=mupdf.install
-source=(https://mupdf.googlecode.com/files/$pkgname-$pkgver-source.tar.gz
-mupdf-1.3-system-libcurl.patch)
-sha256sums=('aba8b31bee9cc0a16abedab5e31c81c65996cba5591e62a50a79bea2a63d4478'
-'41a3b6df736f971e91c066e73afac286eec8fa37af244a55df52e8b173646f42')
-
-prepare() {
-  cd $pkgname-$pkgver-source
-  rm -rf thirdparty/{curl,freetype,jpeg,zlib,jbig2dec}
-  patch -Np1 -i ../mupdf-1.3-system-libcurl.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
-
-  mv $pkgdir/usr/bin/mupdf-x11-curl $pkgdir/usr/bin/mupdf
-  rm $pkgdir/usr/bin/mupdf-x11
-
-  cd platform/debian
-  sed -i -e 's/mupdf.xpm/mupdf/' \
- -e 's/application\/x-pdf/application\/x-pdf/' \
- -e 's/mupdf-select-file/mupdf/' \
- -e 's/^$/NoDisplay=true/' \
-mupdf.desktop
-  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 | xargs chmod -v 0644
-}

Copied: mupdf/repos/community-i686/PKGBUILD (from rev 99256, 
mupdf/trunk/PKGBUILD)
===
--- community-i686/PKGBUILD (rev 0)
+++ community-i686/PKGBUILD 2013-10-26 14:31:26 UTC (rev 99257)
@@ -0,0 +1,55 @@
+# $Id$
+# Maintainer:  Bartłomiej Piotrowski nos...@bpiotrowski.pl
+# 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.3
+pkgrel=6
+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')
+install=mupdf.install
+source=(https://mupdf.googlecode.com/files/$pkgname-$pkgver-source.tar.gz
+mupdf-1.3-system-libcurl.patch)
+sha256sums=('aba8b31bee9cc0a16abedab5e31c81c65996cba5591e62a50a79bea2a63d4478'
+'41a3b6df736f971e91c066e73afac286eec8fa37af244a55df52e8b173646f42')
+
+prepare() {
+  cd $pkgname-$pkgver-source
+  rm -rf thirdparty/{curl,freetype,jpeg,zlib,jbig2dec}
+  patch -Np1 -i