[arch-commits] Commit in giflib/trunk (2 files)
Levente Polyak
anthraxx at archlinux.org
Tue Apr 2 10:58:13 UTC 2019
Date: Tuesday, April 2, 2019 @ 10:58:12
Author: anthraxx
Revision: 349598
upgpkg: giflib 5.1.9-2 (fix quantize symbol issues)
Added:
giflib/trunk/giflib-5.1.9-fix-missing-quantize-API-symbols.patch
Modified:
giflib/trunk/PKGBUILD
-----------------------------------------------------+
PKGBUILD | 24 +++++++++----
giflib-5.1.9-fix-missing-quantize-API-symbols.patch | 32 ++++++++++++++++++
2 files changed, 49 insertions(+), 7 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2019-04-02 08:25:01 UTC (rev 349597)
+++ PKGBUILD 2019-04-02 10:58:12 UTC (rev 349598)
@@ -1,3 +1,4 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
# Maintainer: Jan de Groot <jgc at archlinux.org>
# Contributor: Baptiste Daroussin <baptiste.daroussin at gmail.com>
# Contributor: Grigorios Bouzakis <grbzks[at]gmail[dot]com>
@@ -5,16 +6,24 @@
pkgname=giflib
pkgver=5.1.9
-pkgrel=1
-pkgdesc="A library for reading and writing gif images"
-url="http://sourceforge.net/projects/giflib/"
+pkgrel=2
+pkgdesc='Library for reading and writing gif images'
+url='https://sourceforge.net/projects/giflib/'
arch=('x86_64')
license=('MIT')
depends=('glibc')
+provides=('libgif.so')
makedepends=('xmlto' 'docbook-xml' 'docbook-xsl')
-source=(http://downloads.sourceforge.net/project/giflib/${pkgname}-${pkgver}.tar.gz)
-md5sums=('179336e739eeacee4cef2a8f789a0fcb')
+source=(https://downloads.sourceforge.net/project/giflib/${pkgname}-${pkgver}.tar.gz
+ giflib-5.1.9-fix-missing-quantize-API-symbols.patch)
+sha512sums=('b6350b39755e3eeba58b5fccf319bbaeee2db6564e13c8ce44d3652cc32d243c391def74b6b1529bc5e0d4573eff94b2ffa5faa90fc564a049122d3e23f1d184'
+ '5de1e8724f5221fa3637b4e6a482f650f7608673e2c9200233290018ec8a0bf1beea049b3979b5f57dbf2b2a5fda409324e636e9af10582fd01c71d92d4de3b3')
+prepare() {
+ cd ${pkgname}-${pkgver}
+ patch -Np1 < ../giflib-5.1.9-fix-missing-quantize-API-symbols.patch
+}
+
build() {
cd ${pkgname}-${pkgver}
make
@@ -23,6 +32,7 @@
package() {
cd ${pkgname}-${pkgver}
make PREFIX=/usr DESTDIR="${pkgdir}" install
+ install -Dm 644 COPYING -t "${pkgdir}/usr/share/licenses/${pkgname}"
+}
- install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
-}
+# vim: ts=2 sw=2 et:
Added: giflib-5.1.9-fix-missing-quantize-API-symbols.patch
===================================================================
--- giflib-5.1.9-fix-missing-quantize-API-symbols.patch (rev 0)
+++ giflib-5.1.9-fix-missing-quantize-API-symbols.patch 2019-04-02 10:58:12 UTC (rev 349598)
@@ -0,0 +1,32 @@
+From ff8d9a59e79b79657e64430730c35835a84db619 Mon Sep 17 00:00:00 2001
+From: anthraxx <levente at leventepolyak.net>
+Date: Tue, 2 Apr 2019 11:46:18 +0200
+Subject: [PATCH] fix missing quantize API symbols
+
+GifQuantizeBuffer is required by many libs and applications
+like mplayer, libgdiplus (mono) and others.
+---
+ Makefile | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/Makefile b/Makefile
+index e4ded69..17d0a5c 100644
+--- a/Makefile
++++ b/Makefile
+@@ -29,11 +29,11 @@ LIBPOINT=0
+ LIBVER=$(LIBMAJOR).$(LIBMINOR).$(LIBPOINT)
+
+ SOURCES = dgif_lib.c egif_lib.c gifalloc.c gif_err.c gif_font.c \
+- gif_hash.c openbsd-reallocarray.c
++ gif_hash.c openbsd-reallocarray.c quantize.c
+ HEADERS = gif_hash.h gif_lib.h gif_lib_private.h
+ OBJECTS = $(SOURCES:.c=.o)
+
+-USOURCES = qprintf.c quantize.c getarg.c
++USOURCES = qprintf.c getarg.c
+ UHEADERS = getarg.h
+ UOBJECTS = $(USOURCES:.c=.o)
+
+--
+2.21.0
+
More information about the arch-commits
mailing list