summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVasil Yonkov2010-10-02 08:12:12 +0300
committerVasil Yonkov2010-10-02 08:12:12 +0300
commit24a00b1e30b17f9ead50e8d13bac20001e698285 (patch)
treed5325a7e65371430b86b1aefd42829ac81eba8ef
parent6f86e7d22155c791abe7eca19ca43deec2fbc512 (diff)
Revert "giflib: removed due to deprecation"
This reverts commit f2991d0b41e61504d3aeb5ade43368ef1bb67187.
-rwxr-xr-xgraphics-libs/giflib/CONFLICTS1
-rwxr-xr-xgraphics-libs/giflib/DETAILS17
-rw-r--r--graphics-libs/giflib/HISTORY29
-rwxr-xr-xgraphics-libs/giflib/UP_TRIGGERS12
4 files changed, 59 insertions, 0 deletions
diff --git a/graphics-libs/giflib/CONFLICTS b/graphics-libs/giflib/CONFLICTS
new file mode 100755
index 0000000000..339238cfd4
--- /dev/null
+++ b/graphics-libs/giflib/CONFLICTS
@@ -0,0 +1 @@
+conflicts libungif y
diff --git a/graphics-libs/giflib/DETAILS b/graphics-libs/giflib/DETAILS
new file mode 100755
index 0000000000..80663b8f39
--- /dev/null
+++ b/graphics-libs/giflib/DETAILS
@@ -0,0 +1,17 @@
+ SPELL=giflib
+ VERSION=4.1.6
+ SOURCE_HASH=sha512:f47954218ed7d3415cc195a1031a688fcb7dd2bc2b394491830e6b5f5332903ed7c4433b795cd3da9ac53bfc969fe94bec2a4e66b15c0385c732c01b1b7e5057
+ SOURCE=$SPELL-$VERSION.tar.bz2
+SOURCE_DIRECTORY=$BUILD_DIRECTORY/$SPELL-$VERSION
+ SOURCE_URL[0]=$SOURCEFORGE_URL/$SPELL/$SOURCE
+# SOURCE_GPG="gurus.gpg:${SOURCE}.sig"
+ LICENSE[0]=MIT
+ WEB_SITE=http://sourceforge.net/projects/giflib/
+ KEYWORDS="images graphics libs"
+ ENTERED=20010922
+ 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/giflib/HISTORY b/graphics-libs/giflib/HISTORY
new file mode 100644
index 0000000000..75ae7411cb
--- /dev/null
+++ b/graphics-libs/giflib/HISTORY
@@ -0,0 +1,29 @@
+2008-07-12 Vlad Glagolev <stealth@sourcemage.org>
+ * PROVIDES: removed, useless since deprecation of libungif
+
+2007-11-14 Arwed v. Merkatz <v.merkatz@gmx.net>
+ * UP_TRIGGERS: added to up_trigger dependant spells on the switch
+ from libungif to libgif
+
+2007-11-11 Jaka Kranjc <lynxlynxlynx@sourcemage.org>
+ * CONFLICTS: make it default to y for deprecation
+
+2007-11-11 Treeve Jelbert <treeve@sourcemage.org>
+ * DETAILS: version 4.1.6
+ new website & url
+ update desc
+ * PRE_BUILD, DEPENDS: deleted, not needed
+
+2006-09-21 Juuso Alasuutari <iuso@sourcemage.org>
+ * PROVIDES: [automated] Fixed invalid entries.
+
+2006-05-15 Eric Sandall <sandalle@sourcemage.org>
+ * DETAILS: Filled in long description
+ Added 'non-LZW' to SHORT
+ Removed UPDATED
+
+2006-03-12 Karsten Behrmann <BearPerson@sourcemage.org>
+ * DETAILS: (automated) Add KEYWORDS
+
+2005-12-05 Robin Cook <rcook@wyrms.net>
+ * Initial spell
diff --git a/graphics-libs/giflib/UP_TRIGGERS b/graphics-libs/giflib/UP_TRIGGERS
new file mode 100755
index 0000000000..2fc524e71c
--- /dev/null
+++ b/graphics-libs/giflib/UP_TRIGGERS
@@ -0,0 +1,12 @@
+# up_trigger stuff that still uses libungif so it's not broken afterwards
+
+if spell_ok libungif; then
+ message "Switching from libungif to libgif requires recompiling spells using libungif..."
+ message "Figuring out what spells need to be recast, this may take a while."
+ for each in $(show_up_depends libungif); do
+ if gaze install $each | xargs readelf -d 2> /dev/null |
+ grep -q "NEEDED.*libungif"; then
+ up_trigger $each cast_self
+ fi
+ done
+fi