[arch-commits] Commit in giflib/repos/extra-x86_64 (3 files)
Levente Polyak
anthraxx at archlinux.org
Tue Apr 2 10:58:25 UTC 2019
Date: Tuesday, April 2, 2019 @ 10:58:25
Author: anthraxx
Revision: 349599
archrelease: copy trunk to extra-x86_64
Added:
giflib/repos/extra-x86_64/PKGBUILD
(from rev 349598, giflib/trunk/PKGBUILD)
giflib/repos/extra-x86_64/giflib-5.1.9-fix-missing-quantize-API-symbols.patch
(from rev 349598, giflib/trunk/giflib-5.1.9-fix-missing-quantize-API-symbols.patch)
Deleted:
giflib/repos/extra-x86_64/PKGBUILD
-----------------------------------------------------+
PKGBUILD | 66 ++++++++++--------
giflib-5.1.9-fix-missing-quantize-API-symbols.patch | 32 ++++++++
2 files changed, 70 insertions(+), 28 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2019-04-02 10:58:12 UTC (rev 349598)
+++ PKGBUILD 2019-04-02 10:58:25 UTC (rev 349599)
@@ -1,28 +0,0 @@
-# Maintainer: Jan de Groot <jgc at archlinux.org>
-# Contributor: Baptiste Daroussin <baptiste.daroussin at gmail.com>
-# Contributor: Grigorios Bouzakis <grbzks[at]gmail[dot]com>
-# Contributor: mightyjaym <jm.ambrosino at free.fr>
-
-pkgname=giflib
-pkgver=5.1.9
-pkgrel=1
-pkgdesc="A library for reading and writing gif images"
-url="http://sourceforge.net/projects/giflib/"
-arch=('x86_64')
-license=('MIT')
-depends=('glibc')
-makedepends=('xmlto' 'docbook-xml' 'docbook-xsl')
-source=(http://downloads.sourceforge.net/project/giflib/${pkgname}-${pkgver}.tar.gz)
-md5sums=('179336e739eeacee4cef2a8f789a0fcb')
-
-build() {
- cd ${pkgname}-${pkgver}
- make
-}
-
-package() {
- cd ${pkgname}-${pkgver}
- make PREFIX=/usr DESTDIR="${pkgdir}" install
-
- install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
-}
Copied: giflib/repos/extra-x86_64/PKGBUILD (from rev 349598, giflib/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-04-02 10:58:25 UTC (rev 349599)
@@ -0,0 +1,38 @@
+# 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>
+# Contributor: mightyjaym <jm.ambrosino at free.fr>
+
+pkgname=giflib
+pkgver=5.1.9
+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=(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
+}
+
+package() {
+ cd ${pkgname}-${pkgver}
+ make PREFIX=/usr DESTDIR="${pkgdir}" install
+ install -Dm 644 COPYING -t "${pkgdir}/usr/share/licenses/${pkgname}"
+}
+
+# vim: ts=2 sw=2 et:
Copied: giflib/repos/extra-x86_64/giflib-5.1.9-fix-missing-quantize-API-symbols.patch (from rev 349598, giflib/trunk/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:25 UTC (rev 349599)
@@ -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