[arch-commits] Commit in atril/repos/community-x86_64 (4 files)

Brad Fanella cesura at archlinux.org
Sat Mar 30 01:23:05 UTC 2019


    Date: Saturday, March 30, 2019 @ 01:23:04
  Author: cesura
Revision: 446174

archrelease: copy trunk to community-x86_64

Added:
  atril/repos/community-x86_64/PKGBUILD
    (from rev 446172, atril/trunk/PKGBUILD)
Deleted:
  atril/repos/community-x86_64/PKGBUILD
  atril/repos/community-x86_64/comicsdocument.atril-backend.in.patch
  atril/repos/community-x86_64/configure.ac.patch

---------------------------------------+
 PKGBUILD                              |  109 ++++++++++++++------------------
 comicsdocument.atril-backend.in.patch |    8 --
 configure.ac.patch                    |   11 ---
 3 files changed, 49 insertions(+), 79 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-03-30 01:22:57 UTC (rev 446173)
+++ PKGBUILD	2019-03-30 01:23:04 UTC (rev 446174)
@@ -1,60 +0,0 @@
-# Maintainer: Brad Fanella <cesura at archlinux.org>
-# Contributor: Martin Wimpress <code at flexion.org>
-
-pkgname=atril
-pkgver=1.20.3
-pkgrel=2
-pkgdesc="MATE document viewer"
-url="https://mate-desktop.org"
-arch=('x86_64')
-license=('GPL')
-depends=('djvulibre' 'libspectre' 'libgxps' 'mathjax' 'poppler-glib' 'webkit2gtk')
-makedepends=('caja' 'gobject-introspection' 'intltool' 'itstool' 'texlive-bin')
-optdepends=('caja: Document Properties extension'
-            'texlive-bin: DVI support')
-groups=('mate-extra')
-conflicts=('atril-gtk3')
-replaces=('atril-gtk3')
-source=("https://pub.mate-desktop.org/releases/${pkgver%.*}/$pkgname-$pkgver.tar.xz"
-	"comicsdocument.atril-backend.in.patch"
-	"configure.ac.patch")
-sha256sums=('79dbcdf663a7a40194ece1b1ac3304a35b6828b0a68eed286c0e9c319dc77903'
-            '03775ab5cacae05d1e42c77cef8c6105fd822534408d48490b2ff014221f163b'
-            'a00899287858adf6e594944e408f7e58c30d7675c935b7efe742a5ceec1c17da')
-
-prepare() {
-	cd "$pkgname-$pkgver"
-
-	# Fix mathjax path
-	sed -i 's|/usr/share/javascript/mathjax|/usr/share/mathjax|' backend/epub/epub-document.c
-
-	# Fix FS#61128
-	patch -p0 < ../configure.ac.patch
-	patch -p0 < ../comicsdocument.atril-backend.in.patch
-}
-
-build() {
-	cd "$pkgname-$pkgver"
-	./configure \
-        	--prefix=/usr \
-        	--libexecdir=/usr/lib/${_pkgbase} \
-        	--with-gtk=2.0 \
-        	--enable-djvu \
-        	--enable-dvi \
-        	--enable-epub \
-        	--enable-t1lib \
-        	--enable-pixbuf \
-        	--enable-comics \
-        	--enable-xps \
-        	--enable-introspection
-
-    	#https://bugzilla.gnome.org/show_bug.cgi?id=656231
-    	sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
-
-    	make
-}
-
-package() {
-    	cd "$pkgname-$pkgver"
-    	make DESTDIR="$pkgdir" install
-}

Copied: atril/repos/community-x86_64/PKGBUILD (from rev 446172, atril/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-03-30 01:23:04 UTC (rev 446174)
@@ -0,0 +1,49 @@
+# Maintainer: Brad Fanella <cesura at archlinux.org>
+# Contributor: Martin Wimpress <code at flexion.org>
+
+pkgname=atril
+pkgver=1.22.0
+pkgrel=1
+pkgdesc="MATE document viewer"
+url="https://mate-desktop.org"
+arch=('x86_64')
+license=('GPL')
+depends=('djvulibre' 'libspectre' 'libgxps' 'mathjax' 'poppler-glib' 'webkit2gtk' 'caja' 'texlive-bin')
+makedepends=('gobject-introspection' 'intltool' 'itstool')
+groups=('mate-extra')
+conflicts=('atril-gtk3')
+replaces=('atril-gtk3')
+source=("https://pub.mate-desktop.org/releases/${pkgver%.*}/$pkgname-$pkgver.tar.xz")
+sha256sums=('ab73bfd922df8b87bf4abea1a2d06d6380e9437257ef2fa0158f668e894ca4f5')
+
+prepare() {
+	cd "$pkgname-$pkgver"
+
+	# Fix mathjax path
+	sed -i 's|/usr/share/javascript/mathjax|/usr/share/mathjax|' backend/epub/epub-document.c
+}
+
+build() {
+	cd "$pkgname-$pkgver"
+	./configure \
+        	--prefix=/usr \
+        	--libexecdir=/usr/lib/${_pkgbase} \
+        	--enable-djvu \
+        	--enable-dvi \
+        	--enable-epub \
+        	--enable-t1lib \
+        	--enable-pixbuf \
+        	--enable-comics \
+        	--enable-xps \
+        	--enable-introspection
+
+    	#https://bugzilla.gnome.org/show_bug.cgi?id=656231
+    	sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+
+    	make
+}
+
+package() {
+    	cd "$pkgname-$pkgver"
+    	make DESTDIR="$pkgdir" install
+}

Deleted: comicsdocument.atril-backend.in.patch
===================================================================
--- comicsdocument.atril-backend.in.patch	2019-03-30 01:22:57 UTC (rev 446173)
+++ comicsdocument.atril-backend.in.patch	2019-03-30 01:23:04 UTC (rev 446174)
@@ -1,8 +0,0 @@
---- backend/comics/comicsdocument.atril-backend.in.orig	2018-12-19 21:56:58.967629664 -0600
-+++ backend/comics/comicsdocument.atril-backend.in	2018-12-19 21:57:16.687554873 -0600
-@@ -1,4 +1,4 @@
- [Atril Backend]
- Module=comicsdocument
- _TypeDescription=Comic Books
--MimeType=application/x-cbr;application/x-cbz;application/x-cb7;application/x-cbt;application/vnd.comicbook+zip;application/vnd.rar;
-+MimeType=application/x-cbr;application/x-cbz;application/x-cb7;application/x-cbt;application/vnd.comicbook+zip;application/vnd.comicbook-rar;

Deleted: configure.ac.patch
===================================================================
--- configure.ac.patch	2019-03-30 01:22:57 UTC (rev 446173)
+++ configure.ac.patch	2019-03-30 01:23:04 UTC (rev 446174)
@@ -1,11 +0,0 @@
---- configure.ac.orig	2018-12-19 21:53:32.977910976 -0600
-+++ configure.ac	2018-12-19 21:56:20.418981753 -0600
-@@ -639,7 +639,7 @@
-     ATRIL_MIME_TYPES="${ATRIL_MIME_TYPES}image/tiff;"
- fi
- if test "x$enable_comics" = "xyes"; then
--    ATRIL_MIME_TYPES="${ATRIL_MIME_TYPES}application/x-cbr;application/x-cbz;application/x-cb7;application/x-cbt;application/vnd.comicbook+zip;application/vnd.rar;"
-+    ATRIL_MIME_TYPES="${ATRIL_MIME_TYPES}application/x-cbr;application/x-cbz;application/x-cb7;application/x-cbt;application/vnd.comicbook+zip;application/vnd-comicbook.rar;"
- fi
- if test "x$enable_pixbuf" = "xyes"; then
-     ATRIL_MIME_TYPES="${ATRIL_MIME_TYPES}image/*;"



More information about the arch-commits mailing list