sm-commit AT lists.ibiblio.org
Subject: Source Mage code commit list
List archive
[[SM-Commit] ] GIT changes to master grimoire by Pavel Vinogradov (ed568bad12df97bd67f1e3ba3bb76ba468716c1b)
- From: Pavel Vinogradov <scm AT sourcemage.org>
- To: sm-commit AT lists.ibiblio.org, sm-commit AT lists.sourcemage.org
- Subject: [[SM-Commit] ] GIT changes to master grimoire by Pavel Vinogradov (ed568bad12df97bd67f1e3ba3bb76ba468716c1b)
- Date: Wed, 11 Mar 2026 16:36:05 +0000
GIT changes to master grimoire by Pavel Vinogradov <public AT sourcemage.org>:
ChangeLog | 3 +++
graphics-libs/giflib6/BUILD | 1 +
graphics-libs/giflib6/CONFLICTS | 2 ++
graphics-libs/giflib6/DEPENDS | 4 ++++
graphics-libs/giflib6/DETAILS | 18 ++++++++++++++++++
graphics-libs/giflib6/HISTORY | 4 ++++
graphics-libs/giflib6/PRE_BUILD | 8 ++++++++
graphics-libs/giflib6/PROVIDES | 1 +
graphics-libs/giflib6/UP_TRIGGERS | 14 ++++++++++++++
9 files changed, 55 insertions(+)
New commits:
commit ed568bad12df97bd67f1e3ba3bb76ba468716c1b
Author: Pavel Vinogradov <public AT sourcemage.org>
Commit: Pavel Vinogradov <public AT sourcemage.org>
graphics-libs/giflib6: new spell, giflib 6.x branch
diff --git a/ChangeLog b/ChangeLog
index f59562a..eb5f2c7 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,6 @@
+2026-03-11 Pavel Vinogradov <public AT sourcemage.org>
+ * graphics-libs/giflib6: new spell, giflib 6.x branch
+
2026-03-10 Ismael Luceno <ismael AT sourcemage.org>
* libs/libdispatch: new spell, Apple's Grand Central Dispatch (GCD)
concurrency library
diff --git a/graphics-libs/giflib6/BUILD b/graphics-libs/giflib6/BUILD
new file mode 100755
index 0000000..6dfecc1
--- /dev/null
+++ b/graphics-libs/giflib6/BUILD
@@ -0,0 +1 @@
+default_build_make
diff --git a/graphics-libs/giflib6/CONFLICTS b/graphics-libs/giflib6/CONFLICTS
new file mode 100755
index 0000000..49ef912
--- /dev/null
+++ b/graphics-libs/giflib6/CONFLICTS
@@ -0,0 +1,2 @@
+conflicts giflib n &&
+conflicts giflib5 n
diff --git a/graphics-libs/giflib6/DEPENDS b/graphics-libs/giflib6/DEPENDS
new file mode 100755
index 0000000..483b639
--- /dev/null
+++ b/graphics-libs/giflib6/DEPENDS
@@ -0,0 +1,4 @@
+optional_depends xmlto "" "" "for html documentation" &&
+if is_depends_enabled "${SPELL}" "xmlto"; then
+ depends imagemagick
+fi
diff --git a/graphics-libs/giflib6/DETAILS b/graphics-libs/giflib6/DETAILS
new file mode 100755
index 0000000..717d23d
--- /dev/null
+++ b/graphics-libs/giflib6/DETAILS
@@ -0,0 +1,18 @@
+ SPELL="giflib6"
+ SPELLX="${SPELL//6}"
+ VERSION="6.1.2"
+
SOURCE_HASH="sha512:523cf2a9941c6ddb903bf5ec22ecbf5a283c9470c1c85229360ab4137227a9e4a64b799e3ff0ca1f9f3b9de0fafe197a43fccd3c043239e76561f7b5ede59193"
+ SOURCE="${SPELLX}-${VERSION}.tar.gz"
+SOURCE_DIRECTORY="${BUILD_DIRECTORY}/${SPELLX}-${VERSION}"
+ SOURCE_URL[0]="https://downloads.sourceforge.net/${SPELLX}/${SOURCE}"
+# Watch: https://sourceforge.net/projects/giflib/files/
giflib-([0-9.]+)[.]tar
+ LICENSE[0]="MIT"
+ WEB_SITE="http://giflib.sourceforge.net/"
+ KEYWORDS="images graphics libs"
+ ENTERED="20260311"
+ SHORT="giflib is a non-LZQ library for compressed GIF images"
+cat << EOF
+giflib is a library for reading and writing gif images. It is API and ABI
+compatible with libungif which was in wide use while the LZW compression
+algorithm was patented.
+EOF
diff --git a/graphics-libs/giflib6/HISTORY b/graphics-libs/giflib6/HISTORY
new file mode 100644
index 0000000..6eeb4d8
--- /dev/null
+++ b/graphics-libs/giflib6/HISTORY
@@ -0,0 +1,4 @@
+2026-03-11 Pavel Vinogradov <public AT sourcemage.org>
+ * BUILD, CONFLICTS, DEPENDS, DETAILS, PRE_BUILD, PROVIDES,
UP_TRIGGERS:
+ ccreated/derived from giflib5 spell, version 6.1.2
+
diff --git a/graphics-libs/giflib6/PRE_BUILD b/graphics-libs/giflib6/PRE_BUILD
new file mode 100755
index 0000000..c37c74c
--- /dev/null
+++ b/graphics-libs/giflib6/PRE_BUILD
@@ -0,0 +1,8 @@
+default_pre_build &&
+cd "${SOURCE_DIRECTORY}" &&
+
+sed -e "/OFLAGS =/s|= .*$|= ${CFLAGS}|" \
+ -e "/LDFLAGS =/s|= .*$|= ${LDFLAGS}|" \
+ -e "/PREFIX/s|/local||" \
+ -e "s|soname -Wl,|soname |" \
+ -i Makefile
diff --git a/graphics-libs/giflib6/PROVIDES b/graphics-libs/giflib6/PROVIDES
new file mode 100755
index 0000000..7dd1ee9
--- /dev/null
+++ b/graphics-libs/giflib6/PROVIDES
@@ -0,0 +1 @@
+GIFLIB
diff --git a/graphics-libs/giflib6/UP_TRIGGERS
b/graphics-libs/giflib6/UP_TRIGGERS
new file mode 100755
index 0000000..51cfcf8
--- /dev/null
+++ b/graphics-libs/giflib6/UP_TRIGGERS
@@ -0,0 +1,14 @@
+# up_trigger stuff that still uses old giflib so it's not broken afterwards
+
+if spell_ok giflib ||
+ spell_ok giflib5; then
+ message "Switching from giflib or giflib5 to giflib6 requires recompiling
spells using giflib/5"
+ message "Figuring out what spells need to be recast, this may take a
while."
+ local dependees="$(show_up_depends giflib) $(show_up_depends giflib5)" &&
+ for each in ${dependees}; do
+ if gaze install $each | xargs readelf -d 2> /dev/null |
+ grep -q "NEEDED.*libgif"; then
+ up_trigger $each cast_self
+ fi
+ done
+fi
- [[SM-Commit] ] GIT changes to master grimoire by Pavel Vinogradov (ed568bad12df97bd67f1e3ba3bb76ba468716c1b), Pavel Vinogradov, 03/11/2026
Archive powered by MHonArc 2.6.24.