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

Bartłomiej Piotrowski bpiotrowski at archlinux.org
Sat Oct 25 12:51:53 UTC 2014


    Date: Saturday, October 25, 2014 @ 14:51:53
  Author: bpiotrowski
Revision: 121396

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

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

-------------------------------------+
 /PKGBUILD                           |   66 ++++++++++++++++++++++++++++++++++
 /sxiv.install                       |   24 ++++++++++++
 community-i686/PKGBUILD             |   35 ------------------
 community-i686/giflib-5.1.0.patch   |   15 -------
 community-i686/sxiv.install         |   12 ------
 community-x86_64/PKGBUILD           |   35 ------------------
 community-x86_64/giflib-5.1.0.patch |   15 -------
 community-x86_64/sxiv.install       |   12 ------
 8 files changed, 90 insertions(+), 124 deletions(-)

Deleted: community-i686/PKGBUILD
===================================================================
--- community-i686/PKGBUILD	2014-10-25 12:51:42 UTC (rev 121395)
+++ community-i686/PKGBUILD	2014-10-25 12:51:53 UTC (rev 121396)
@@ -1,35 +0,0 @@
-# $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=3
-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' 'xdg-utils' 'hicolor-icon-theme')
-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=/usr DESTDIR="$pkgdir" install
-  make -C icon PREFIX=/usr DESTDIR="$pkgdir" install
-  install -Dm644 sxiv.desktop "$pkgdir"/usr/share/applications/sxiv.desktop
-}

Copied: sxiv/repos/community-i686/PKGBUILD (from rev 121395, sxiv/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD	                        (rev 0)
+++ community-i686/PKGBUILD	2014-10-25 12:51:53 UTC (rev 121396)
@@ -0,0 +1,33 @@
+# $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.3
+pkgrel=1
+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' 'xdg-utils' 'hicolor-icon-theme' 'libexif')
+source=(https://github.com/muennich/sxiv/archive/v$pkgver.tar.gz)
+md5sums=('af4c832ae3857fc177691aa624ad6017')
+
+prepare() {
+  cd $pkgname-$pkgver
+  ln -s config.def.h config.h
+}
+
+build() {
+  make -C $pkgname-$pkgver
+}
+
+package() {
+  cd $pkgname-$pkgver
+  make PREFIX=/usr DESTDIR="$pkgdir" install
+  make -C icon PREFIX=/usr DESTDIR="$pkgdir" install
+  install -Dm644 sxiv.desktop "$pkgdir"/usr/share/applications/sxiv.desktop
+}

Deleted: community-i686/giflib-5.1.0.patch
===================================================================
--- community-i686/giflib-5.1.0.patch	2014-10-25 12:51:42 UTC (rev 121395)
+++ community-i686/giflib-5.1.0.patch	2014-10-25 12:51:53 UTC (rev 121396)
@@ -1,15 +0,0 @@
-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);

Deleted: community-i686/sxiv.install
===================================================================
--- community-i686/sxiv.install	2014-10-25 12:51:42 UTC (rev 121395)
+++ community-i686/sxiv.install	2014-10-25 12:51:53 UTC (rev 121396)
@@ -1,12 +0,0 @@
-post_install() {
-  xdg-icon-resource forceupdate --theme hicolor &> /dev/null
-  update-desktop-database -q
-}
-
-post_upgrade() {
-  post_install
-}
-
-post_remove() {
-  post_install
-}

Copied: sxiv/repos/community-i686/sxiv.install (from rev 121395, sxiv/trunk/sxiv.install)
===================================================================
--- community-i686/sxiv.install	                        (rev 0)
+++ community-i686/sxiv.install	2014-10-25 12:51:53 UTC (rev 121396)
@@ -0,0 +1,12 @@
+post_install() {
+  xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+  update-desktop-database -q
+}
+
+post_upgrade() {
+  post_install
+}
+
+post_remove() {
+  post_install
+}

Deleted: community-x86_64/PKGBUILD
===================================================================
--- community-x86_64/PKGBUILD	2014-10-25 12:51:42 UTC (rev 121395)
+++ community-x86_64/PKGBUILD	2014-10-25 12:51:53 UTC (rev 121396)
@@ -1,35 +0,0 @@
-# $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=3
-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' 'xdg-utils' 'hicolor-icon-theme')
-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=/usr DESTDIR="$pkgdir" install
-  make -C icon PREFIX=/usr DESTDIR="$pkgdir" install
-  install -Dm644 sxiv.desktop "$pkgdir"/usr/share/applications/sxiv.desktop
-}

Copied: sxiv/repos/community-x86_64/PKGBUILD (from rev 121395, sxiv/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2014-10-25 12:51:53 UTC (rev 121396)
@@ -0,0 +1,33 @@
+# $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.3
+pkgrel=1
+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' 'xdg-utils' 'hicolor-icon-theme' 'libexif')
+source=(https://github.com/muennich/sxiv/archive/v$pkgver.tar.gz)
+md5sums=('af4c832ae3857fc177691aa624ad6017')
+
+prepare() {
+  cd $pkgname-$pkgver
+  ln -s config.def.h config.h
+}
+
+build() {
+  make -C $pkgname-$pkgver
+}
+
+package() {
+  cd $pkgname-$pkgver
+  make PREFIX=/usr DESTDIR="$pkgdir" install
+  make -C icon PREFIX=/usr DESTDIR="$pkgdir" install
+  install -Dm644 sxiv.desktop "$pkgdir"/usr/share/applications/sxiv.desktop
+}

Deleted: community-x86_64/giflib-5.1.0.patch
===================================================================
--- community-x86_64/giflib-5.1.0.patch	2014-10-25 12:51:42 UTC (rev 121395)
+++ community-x86_64/giflib-5.1.0.patch	2014-10-25 12:51:53 UTC (rev 121396)
@@ -1,15 +0,0 @@
-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);

Deleted: community-x86_64/sxiv.install
===================================================================
--- community-x86_64/sxiv.install	2014-10-25 12:51:42 UTC (rev 121395)
+++ community-x86_64/sxiv.install	2014-10-25 12:51:53 UTC (rev 121396)
@@ -1,12 +0,0 @@
-post_install() {
-  xdg-icon-resource forceupdate --theme hicolor &> /dev/null
-  update-desktop-database -q
-}
-
-post_upgrade() {
-  post_install
-}
-
-post_remove() {
-  post_install
-}

Copied: sxiv/repos/community-x86_64/sxiv.install (from rev 121395, sxiv/trunk/sxiv.install)
===================================================================
--- community-x86_64/sxiv.install	                        (rev 0)
+++ community-x86_64/sxiv.install	2014-10-25 12:51:53 UTC (rev 121396)
@@ -0,0 +1,12 @@
+post_install() {
+  xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+  update-desktop-database -q
+}
+
+post_upgrade() {
+  post_install
+}
+
+post_remove() {
+  post_install
+}



More information about the arch-commits mailing list