diff options
author | Andreas Baumann | 2023-12-30 11:52:16 +0100 |
---|---|---|
committer | Andreas Baumann | 2023-12-30 11:52:16 +0100 |
commit | 859aad14cea6b72619c73b0a2e5163678c523008 (patch) | |
tree | 2c331585c1332d7133c2a8c756b8b0f1b8982e68 | |
parent | 0d5ea8c67abb135ff726f74539c296e994222a3a (diff) | |
download | aur-859aad14cea6b72619c73b0a2e5163678c523008.tar.gz |
switch the a new intergration branch, readded fastmode, added qoi and farbfeld support
-rw-r--r-- | .SRCINFO | 8 | ||||
-rw-r--r-- | PKGBUILD | 14 | ||||
-rw-r--r-- | gif_main.patch | 44 |
3 files changed, 8 insertions, 58 deletions
@@ -1,7 +1,7 @@ pkgbase = meh-git pkgdesc = A minimal image viewer using raw XLib. - pkgver = 0.3.27.g426bd3d - pkgrel = 2 + pkgver = 0.3.37.gd941ee8 + pkgrel = 3 url = http://www.johnhawthorn.com/meh/ arch = i686 arch = x86_64 @@ -13,9 +13,7 @@ pkgbase = meh-git depends = libpng optdepends = imagemagick conflicts = meh - source = git+https://github.com/afarah1/meh.git - source = gif_main.patch + source = git+https://github.com/andreasbaumann/meh.git#branch=integration md5sums = SKIP - md5sums = 38367b30851491dc818a2da365f55adc pkgname = meh-git @@ -2,8 +2,8 @@ # Maintainer: Stefan Husmann <stefan-husmann@t-online.de> pkgname=meh-git -pkgver=0.3.27.g426bd3d -pkgrel=2 +pkgver=0.3.37.gd941ee8 +pkgrel=3 pkgdesc="A minimal image viewer using raw XLib." arch=('i686' 'x86_64') url="http://www.johnhawthorn.com/meh/" @@ -12,8 +12,8 @@ depends=('libxext' 'libjpeg' 'giflib' 'libpng') makedepends=('git') optdepends=('imagemagick') conflicts=('meh') -source=('git+https://github.com/afarah1/meh.git' gif_main.patch) -md5sums=('SKIP' '38367b30851491dc818a2da365f55adc') +source=('git+https://github.com/andreasbaumann/meh.git#branch=integration') +md5sums=('SKIP') _gitname=meh pkgver () { @@ -21,11 +21,6 @@ pkgver () { git describe --tags |sed s+-+.+g | cut -c2- } -prepare() { - cd "$srcdir/$_gitname" - patch -Np1 < "$srcdir"/gif_main.patch -} - build() { cd $srcdir/$_gitname make PREFIX=/usr @@ -38,3 +33,4 @@ package() { } + diff --git a/gif_main.patch b/gif_main.patch deleted file mode 100644 index 63b27c4e54ff..000000000000 --- a/gif_main.patch +++ /dev/null @@ -1,44 +0,0 @@ -diff -Naur meh/src/gif.c meh.new/src/gif.c ---- meh/src/gif.c 2015-09-27 21:35:45.745053456 +0200 -+++ meh.new/src/gif.c 2015-10-11 00:35:49.251559414 +0200 -@@ -1,4 +1,3 @@ -- - #include <stdio.h> - #include <stdlib.h> - #include <string.h> -@@ -97,14 +96,14 @@ - void gif_close(struct image *img){ - struct gif_t *g = (struct gif_t *)img; - #if defined(GIFLIB_MAJOR) && defined(GIFLIB_MINOR) && (GIFLIB_MAJOR == 5 && GIFLIB_MINOR >= 1) -- int ret; -+ int ret, ErrorCode; - #endif - - #if defined(GIFLIB_MAJOR) && defined(GIFLIB_MINOR) && (GIFLIB_MAJOR == 5 && GIFLIB_MINOR >= 1) -- DGifCloseFile(g->gif,&ret); -+ ret = DGifCloseFile(g->gif, &ErrorCode); - if(ret != GIF_OK) { - #if defined(GIFLIB_MAJOR) && GIFLIB_MAJOR >= 5 -- fprintf(stderr, "GIFLIB: %s\n", GifErrorString(ret)); -+ fprintf(stderr, "GIFLIB: %s\n", GifErrorString(ErrorCode)); - #elif defined(GIFLIB_MAJOR) && defined(GIFLIB_MINOR) && ((GIFLIB_MAJOR == 4 && GIFLIB_MINOR >= 2) || GIFLIB_MAJOR > 4) - fprintf(stderr, "GIFLIB: %s\n", GifErrorString()); - #else -@@ -123,4 +122,3 @@ - gif_read, - gif_close - }; -- -diff -Naur meh/src/main.c meh.new/src/main.c ---- meh/src/main.c 2015-09-27 21:35:45.745053456 +0200 -+++ meh.new/src/main.c 2015-10-11 00:33:43.315710489 +0200 -@@ -1,4 +1,3 @@ -- - #define _GNU_SOURCE - #include <unistd.h> - -@@ -329,4 +328,3 @@ - return 0; - } - -- |