[arch-commits] Commit in sxiv/trunk (PKGBUILD giflib-5.1.0.patch)
Bartłomiej Piotrowski
bpiotrowski at archlinux.org
Sat Oct 25 12:51:43 UTC 2014
Date: Saturday, October 25, 2014 @ 14:51:42
Author: bpiotrowski
Revision: 121395
upgpkg: sxiv 1.3-1
new upstream release
Modified:
sxiv/trunk/PKGBUILD
Deleted:
sxiv/trunk/giflib-5.1.0.patch
--------------------+
PKGBUILD | 14 ++++++--------
giflib-5.1.0.patch | 15 ---------------
2 files changed, 6 insertions(+), 23 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2014-10-25 12:21:52 UTC (rev 121394)
+++ PKGBUILD 2014-10-25 12:51:42 UTC (rev 121395)
@@ -5,22 +5,20 @@
# Contributor: Brad Fanella <bradfanella at archlinux.us>
pkgname=sxiv
-pkgver=1.2
-pkgrel=3
+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')
-source=(https://github.com/muennich/sxiv/archive/v$pkgver.tar.gz
- giflib-5.1.0.patch)
-md5sums=('9b79d3c70693d9abbc66295cf6f281a0'
- '98a6c832655b90e57ff137df41a1fb90')
+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
- patch -p1 -i ../giflib-5.1.0.patch
+ ln -s config.def.h config.h
}
build() {
Deleted: giflib-5.1.0.patch
===================================================================
--- giflib-5.1.0.patch 2014-10-25 12:21:52 UTC (rev 121394)
+++ giflib-5.1.0.patch 2014-10-25 12:51:42 UTC (rev 121395)
@@ -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);
More information about the arch-commits
mailing list