[arch-commits] Commit in sxiv/repos (8 files)

Bartłomiej Piotrowski bpiotrowski at nymeria.archlinux.org
Tue May 27 09:44:36 UTC 2014


    Date: Tuesday, May 27, 2014 @ 11:44:35
  Author: bpiotrowski
Revision: 111958

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

Added:
  sxiv/repos/community-staging-i686/
  sxiv/repos/community-staging-i686/PKGBUILD
    (from rev 111957, sxiv/trunk/PKGBUILD)
  sxiv/repos/community-staging-i686/giflib-5.1.0.patch
    (from rev 111957, sxiv/trunk/giflib-5.1.0.patch)
  sxiv/repos/community-staging-i686/sxiv.install
    (from rev 111957, sxiv/trunk/sxiv.install)
  sxiv/repos/community-staging-x86_64/
  sxiv/repos/community-staging-x86_64/PKGBUILD
    (from rev 111957, sxiv/trunk/PKGBUILD)
  sxiv/repos/community-staging-x86_64/giflib-5.1.0.patch
    (from rev 111957, sxiv/trunk/giflib-5.1.0.patch)
  sxiv/repos/community-staging-x86_64/sxiv.install
    (from rev 111957, sxiv/trunk/sxiv.install)

---------------------------------------------+
 community-staging-i686/PKGBUILD             |   34 ++++++++++++++++++++++++++
 community-staging-i686/giflib-5.1.0.patch   |   15 +++++++++++
 community-staging-i686/sxiv.install         |    7 +++++
 community-staging-x86_64/PKGBUILD           |   34 ++++++++++++++++++++++++++
 community-staging-x86_64/giflib-5.1.0.patch |   15 +++++++++++
 community-staging-x86_64/sxiv.install       |    7 +++++
 6 files changed, 112 insertions(+)

Copied: sxiv/repos/community-staging-i686/PKGBUILD (from rev 111957, sxiv/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD	                        (rev 0)
+++ community-staging-i686/PKGBUILD	2014-05-27 09:44:35 UTC (rev 111958)
@@ -0,0 +1,34 @@
+# $Id$
+# Maintainer:  Bartłomiej Piotrowski <bpiotrowski at archlinux.org>
+# Contributor: Thomas Dziedzic < gostrc at gmail >
+# Contributor: Bert Muennich <muennich at informatik.hu-berlin.de>
+# Contributor: Brad Fanella <bradfanella at archlinux.us>
+
+pkgname=sxiv
+pkgver=1.2
+pkgrel=2
+pkgdesc='Simple X Image Viewer'
+arch=('i686' 'x86_64')
+license=('GPL2')
+install=sxiv.install
+url='https://github.com/muennich/sxiv'
+depends=('imlib2' 'desktop-file-utils')
+source=(https://github.com/muennich/sxiv/archive/v$pkgver.tar.gz
+        giflib-5.1.0.patch)
+md5sums=('9b79d3c70693d9abbc66295cf6f281a0'
+         '98a6c832655b90e57ff137df41a1fb90')
+
+prepare() {
+  cd $pkgname-$pkgver
+  patch -p1 -i ../giflib-5.1.0.patch
+}
+
+build() {
+  make -C $pkgname-$pkgver
+}
+
+package() {
+  cd $pkgname-$pkgver
+  make PREFIX="$pkgdir"/usr install
+  install -Dm644 sxiv.desktop "$pkgdir"/usr/share/applications/sxiv.desktop
+}

Copied: sxiv/repos/community-staging-i686/giflib-5.1.0.patch (from rev 111957, sxiv/trunk/giflib-5.1.0.patch)
===================================================================
--- community-staging-i686/giflib-5.1.0.patch	                        (rev 0)
+++ community-staging-i686/giflib-5.1.0.patch	2014-05-27 09:44:35 UTC (rev 111958)
@@ -0,0 +1,15 @@
+diff -rupN a/image.c b/image.c
+--- a/image.c	2014-04-24 20:40:26.000000000 +0200
++++ b/image.c	2014-05-27 11:39:41.786715632 +0200
+@@ -278,7 +278,11 @@ bool img_load_gif(img_t *img, const file
+ 		}
+ 	} while (rec != TERMINATE_RECORD_TYPE);
+ 
++#if defined(GIFLIB_MAJOR) && GIFLIB_MAJOR >= 5 && GIFLIB_MINOR >= 1
++	DGifCloseFile(gif, NULL);
++#else
+ 	DGifCloseFile(gif);
++#endif
+ 
+ 	if (err && !file->loaded)
+ 		warn("corrupted gif file: %s", file->name);

Copied: sxiv/repos/community-staging-i686/sxiv.install (from rev 111957, sxiv/trunk/sxiv.install)
===================================================================
--- community-staging-i686/sxiv.install	                        (rev 0)
+++ community-staging-i686/sxiv.install	2014-05-27 09:44:35 UTC (rev 111958)
@@ -0,0 +1,7 @@
+post_install () {
+  update-desktop-database -q
+}
+
+post_upgrade () {
+  update-desktop-database -q
+}

Copied: sxiv/repos/community-staging-x86_64/PKGBUILD (from rev 111957, sxiv/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2014-05-27 09:44:35 UTC (rev 111958)
@@ -0,0 +1,34 @@
+# $Id$
+# Maintainer:  Bartłomiej Piotrowski <bpiotrowski at archlinux.org>
+# Contributor: Thomas Dziedzic < gostrc at gmail >
+# Contributor: Bert Muennich <muennich at informatik.hu-berlin.de>
+# Contributor: Brad Fanella <bradfanella at archlinux.us>
+
+pkgname=sxiv
+pkgver=1.2
+pkgrel=2
+pkgdesc='Simple X Image Viewer'
+arch=('i686' 'x86_64')
+license=('GPL2')
+install=sxiv.install
+url='https://github.com/muennich/sxiv'
+depends=('imlib2' 'desktop-file-utils')
+source=(https://github.com/muennich/sxiv/archive/v$pkgver.tar.gz
+        giflib-5.1.0.patch)
+md5sums=('9b79d3c70693d9abbc66295cf6f281a0'
+         '98a6c832655b90e57ff137df41a1fb90')
+
+prepare() {
+  cd $pkgname-$pkgver
+  patch -p1 -i ../giflib-5.1.0.patch
+}
+
+build() {
+  make -C $pkgname-$pkgver
+}
+
+package() {
+  cd $pkgname-$pkgver
+  make PREFIX="$pkgdir"/usr install
+  install -Dm644 sxiv.desktop "$pkgdir"/usr/share/applications/sxiv.desktop
+}

Copied: sxiv/repos/community-staging-x86_64/giflib-5.1.0.patch (from rev 111957, sxiv/trunk/giflib-5.1.0.patch)
===================================================================
--- community-staging-x86_64/giflib-5.1.0.patch	                        (rev 0)
+++ community-staging-x86_64/giflib-5.1.0.patch	2014-05-27 09:44:35 UTC (rev 111958)
@@ -0,0 +1,15 @@
+diff -rupN a/image.c b/image.c
+--- a/image.c	2014-04-24 20:40:26.000000000 +0200
++++ b/image.c	2014-05-27 11:39:41.786715632 +0200
+@@ -278,7 +278,11 @@ bool img_load_gif(img_t *img, const file
+ 		}
+ 	} while (rec != TERMINATE_RECORD_TYPE);
+ 
++#if defined(GIFLIB_MAJOR) && GIFLIB_MAJOR >= 5 && GIFLIB_MINOR >= 1
++	DGifCloseFile(gif, NULL);
++#else
+ 	DGifCloseFile(gif);
++#endif
+ 
+ 	if (err && !file->loaded)
+ 		warn("corrupted gif file: %s", file->name);

Copied: sxiv/repos/community-staging-x86_64/sxiv.install (from rev 111957, sxiv/trunk/sxiv.install)
===================================================================
--- community-staging-x86_64/sxiv.install	                        (rev 0)
+++ community-staging-x86_64/sxiv.install	2014-05-27 09:44:35 UTC (rev 111958)
@@ -0,0 +1,7 @@
+post_install () {
+  update-desktop-database -q
+}
+
+post_upgrade () {
+  update-desktop-database -q
+}




More information about the arch-commits mailing list