From: "Lars Wendler" <polynomial-c@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/giflib/
Date: Mon, 11 Mar 2019 10:28:14 +0000 (UTC) [thread overview]
Message-ID: <1552300069.86280f54594a3554a290c453a5052ea33962f478.polynomial-c@gentoo> (raw)
commit: 86280f54594a3554a290c453a5052ea33962f478
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
AuthorDate: Mon Mar 11 10:27:49 2019 +0000
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Mon Mar 11 10:27:49 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=86280f54
media-libs/giflib: Bump to version 5.1.7
Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>
media-libs/giflib/Manifest | 1 +
media-libs/giflib/giflib-5.1.7.ebuild | 78 +++++++++++++++++++++++++++++++++++
2 files changed, 79 insertions(+)
diff --git a/media-libs/giflib/Manifest b/media-libs/giflib/Manifest
index a90902bd860..16fa3b5e19c 100644
--- a/media-libs/giflib/Manifest
+++ b/media-libs/giflib/Manifest
@@ -2,3 +2,4 @@ DIST giflib-4.1.6.tar.bz2 506050 BLAKE2B 154c95425a570a822447d1fc5bddbecf31fd814
DIST giflib-5.0.6.tar.bz2 621073 BLAKE2B ae162c281755cae4d00bcbd07273f7c7488ae67c42fef819abae1011eddf801bc4525e326417d3e8a036b18b75d7064de59ceda370e5ded956b22d319c67d3a9 SHA512 117e20319f2df32bdf094678cdececad2b6f33a40baff172d4df68ade86547825ebca81186071bff51e60126692df84dbd7bb5cc4877ba68448f7c47a2cc2491
DIST giflib-5.1.4.tar.bz2 639703 BLAKE2B 5176fbd94c37a86a7f7a3964b6b5f2637d76ba5d40e594a0db52a3a09e22b915a0388fc9bd2f1446dcf66b3b9c0d76741583e4d5d3f7362fa3997e8b26503fc4 SHA512 32b5e342056c210e6478e9cb3b6ceec9594dcfaf34feea1eb4dad633a081ed4465bceee578c19165907cb47cb83912ac359ceea666a8e07dbbb5420f9928f96d
DIST giflib-5.1.6.tar.gz 391894 BLAKE2B e961236459d7312b41668f19cfb26006af0f0dc1a9741abee3f00d8eeba0dceebe5b03709dfc8170c1b73a6687dd926c5ef92ac2817fe78ab65160e8012d9044 SHA512 a148e3ebee6ad00ac24eb2241e5d7f51c0a22e6e931ebd751ca57b921a2a3d1a17a6d1e0e949ca0401589b539ec1458a57a9e306fadaf03dcd2ec40c11ca28be
+DIST giflib-5.1.7.tar.gz 391525 BLAKE2B d994941f4da324f62a16af973b443660b6cf3ee764e9b7f8c165656037f11d482ccd141e9ac8a81ae1096faa4e264602191ebd039cbf5dd2f55e435aef0ab546 SHA512 b30c3707839a6d66a3e54d92607c303e5ca3d04d6a02d2037fdc8b80386f9a7fa4148727705014481c3c167bdfac2e99d7e4db1ff7f277b64bd2d9193a89f8b0
diff --git a/media-libs/giflib/giflib-5.1.7.ebuild b/media-libs/giflib/giflib-5.1.7.ebuild
new file mode 100644
index 00000000000..9f1609ae182
--- /dev/null
+++ b/media-libs/giflib/giflib-5.1.7.ebuild
@@ -0,0 +1,78 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit multilib-minimal toolchain-funcs
+
+DESCRIPTION="Library to handle, display and manipulate GIF images"
+HOMEPAGE="https://sourceforge.net/projects/giflib/"
+SRC_URI="mirror://sourceforge/giflib/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0/7"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+IUSE="doc static-libs"
+
+DEPEND="doc? ( app-text/xmlto )"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-5.1.6-gentoo.patch
+)
+
+src_prepare() {
+ default
+ multilib_copy_sources
+}
+
+multilib_src_compile() {
+ # Use reallocarray() from libc if available.
+ if $(tc-getCC) ${CPPFLAGS} ${CFLAGS} ${LDFLAGS} -D_GNU_SOURCE -o "${T}/reallocarray_test" -x c - <<< $'#include <stdlib.h>\nint main() {void *p = reallocarray(NULL, 0, 0);}' 2> /dev/null; then
+ local -x CPPFLAGS="${CPPFLAGS} -D_GNU_SOURCE -DHAVE_REALLOCARRAY"
+ sed -e "s/ openbsd-reallocarray\.c//" -i Makefile || die
+ rm openbsd-reallocarray.c || die
+ fi
+
+ emake \
+ CC="$(tc-getCC)" \
+ CFLAGS="${CFLAGS} -std=gnu99 -fPIC -Wno-format-truncation" \
+ LDFLAGS="${LDFLAGS}" \
+ OFLAGS="" \
+ all
+
+ if use doc && multilib_is_native_abi; then
+ emake -C doc
+ fi
+}
+
+multilib_src_install() {
+ emake \
+ DESTDIR="${D}" \
+ PREFIX="${EPREFIX}/usr" \
+ LIBDIR="${EPREFIX}/usr/$(get_libdir)" \
+ MANDIR="${EPREFIX}/usr/share/man/man1" \
+ install
+
+ if ! use static-libs ; then
+ find "${ED}" -name "*.a" -delete || die
+ fi
+
+ if use doc && multilib_is_native_abi; then
+ docinto html
+ dodoc doc/*.html
+ fi
+}
+
+multilib_src_install_all() {
+ docinto
+ dodoc ChangeLog NEWS README TODO
+ if use doc ; then
+ dodoc doc/*.txt
+ docinto html
+ dodoc -r doc/whatsinagif
+ fi
+}
+
+multilib_src_test() {
+ emake -j1 check
+}
next reply other threads:[~2019-03-11 10:28 UTC|newest]
Thread overview: 53+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-03-11 10:28 Lars Wendler [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-10-13 13:51 [gentoo-commits] repo/gentoo:master commit in: media-libs/giflib/ Andreas Sturmlechner
2024-10-12 23:53 Sam James
2024-09-24 15:22 Sam James
2024-09-23 7:34 Arthur Zamarin
2024-09-23 7:34 Arthur Zamarin
2024-09-23 7:13 Arthur Zamarin
2024-09-23 7:13 Arthur Zamarin
2024-09-23 6:02 Arthur Zamarin
2024-09-23 6:02 Arthur Zamarin
2024-09-23 5:46 Sam James
2023-10-07 3:47 Matt Turner
2022-05-14 3:42 WANG Xuerui
2021-01-25 22:05 Sam James
2021-01-14 12:29 Fabian Groffen
2020-10-19 19:15 Mike Gilbert
2020-06-12 7:33 Sergei Trofimovich
2020-05-16 21:28 David Seifert
2020-03-25 21:30 Thomas Deutschmann
2020-03-25 20:55 Thomas Deutschmann
2020-03-25 20:55 Thomas Deutschmann
2020-03-16 18:25 Sergei Trofimovich
2020-03-12 23:05 Mart Raudsepp
2020-03-10 8:35 Agostino Sarubbo
2020-03-09 12:42 Agostino Sarubbo
2020-03-09 12:41 Agostino Sarubbo
2020-03-09 12:39 Agostino Sarubbo
2020-03-09 11:17 Agostino Sarubbo
2020-03-09 10:49 Agostino Sarubbo
2020-03-09 10:23 Agostino Sarubbo
2020-03-08 23:22 Thomas Deutschmann
2020-03-08 21:22 Andreas Sturmlechner
2019-11-13 1:03 Aaron Bauman
2019-11-13 1:03 Aaron Bauman
2019-06-24 16:35 Lars Wendler
2019-02-15 7:49 Guilherme Amadio
2019-02-14 12:26 Lars Wendler
2018-03-29 22:32 Mart Raudsepp
2018-01-21 1:49 Aaron Bauman
2018-01-21 1:03 Aaron Bauman
2017-04-14 18:49 Michał Górny
2017-04-14 16:28 Michał Górny
2017-01-09 14:19 Jeroen Roovers
2016-11-29 17:35 Markus Meier
2016-11-19 13:55 Agostino Sarubbo
2016-11-19 13:53 Agostino Sarubbo
2016-11-15 14:53 Tobias Klausmann
2016-06-19 10:16 Andrew Savchenko
2016-04-03 15:51 Lars Wendler
2016-04-03 15:51 Lars Wendler
2016-03-17 19:58 Lars Wendler
2016-03-17 19:58 Lars Wendler
2016-01-11 13:25 Lars Wendler
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1552300069.86280f54594a3554a290c453a5052ea33962f478.polynomial-c@gentoo \
--to=polynomial-c@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox