Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master grimoire by Thomas Orgis (3143ed61f10e8ca14aa5b4a92aea4698d6ee53ba)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Thomas Orgis <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master grimoire by Thomas Orgis (3143ed61f10e8ca14aa5b4a92aea4698d6ee53ba)
  • Date: Sat, 6 May 2017 22:08:52 +0000

GIT changes to master grimoire by Thomas Orgis <sobukus AT sourcemage.org>:

ChangeLog | 4 ++++
graphics/apngasm/BUILD | 5 +++++
graphics/apngasm/DEPENDS | 5 +++++
graphics/apngasm/DETAILS | 20 ++++++++++++++++++++
graphics/apngasm/HISTORY | 2 ++
graphics/apngasm/INSTALL | 1 +
graphics/apngasm/PRE_BUILD | 3 +++
graphics/apngdis/BUILD | 1 +
graphics/apngdis/DEPENDS | 3 +++
graphics/apngdis/DETAILS | 26 ++++++++++++++++++++++++++
graphics/apngdis/HISTORY | 2 ++
graphics/apngdis/INSTALL | 1 +
graphics/apngdis/PRE_BUILD | 3 +++
libs/zopfli/BUILD | 5 ++++-
libs/zopfli/DETAILS | 1 +
libs/zopfli/HISTORY | 4 ++++
libs/zopfli/INSTALL | 5 +++++
17 files changed, 90 insertions(+), 1 deletion(-)

New commits:
commit 3143ed61f10e8ca14aa5b4a92aea4698d6ee53ba
Author: Thomas Orgis <sobukus AT sourcemage.org>
Commit: Thomas Orgis <sobukus AT sourcemage.org>

apngdis: spell created

commit a2ac3949476d387a0c9ae346bb9722d3afc77097
Author: Thomas Orgis <sobukus AT sourcemage.org>
Commit: Thomas Orgis <sobukus AT sourcemage.org>

apngasm: new spell

commit d983acfcf3b27aef6dc9d0554f5989d0729543ec
Author: Thomas Orgis <sobukus AT sourcemage.org>
Commit: Thomas Orgis <sobukus AT sourcemage.org>

zopfli: make libzopfli usable by others

commit acaa07d7c2ef4e085e38a025d9acca354bc6bb7a
Author: Thomas Orgis <sobukus AT sourcemage.org>
Commit: Thomas Orgis <sobukus AT sourcemage.org>

zopfli: avoid parallel make breakage

diff --git a/ChangeLog b/ChangeLog
index 268696e..aee5727 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2017-05-06 Thomas Orgis <sobukus AT sourcemage.org>
+ * graphics/apngasm: new spell, APNG assembler
+ * graphics/apngdis: new spell, APNG disassembler
+
2017-05-06 Treeve Jelbert <treeve AT sourcemage.org>
* security-libs/libseccomp: spell added

diff --git a/graphics/apngasm/BUILD b/graphics/apngasm/BUILD
new file mode 100755
index 0000000..e3a509b
--- /dev/null
+++ b/graphics/apngasm/BUILD
@@ -0,0 +1,5 @@
+LIBS= &&
+if is_depends_enabled $SPELL zopfli; then
+ LIBS="$LIBS -lzopfli"
+fi &&
+g++ $CPPFLAGS $CXXFLAGS $OPTS $LDFLAGS -o apngasm *.cpp -lpng -lz $LIBS
diff --git a/graphics/apngasm/DEPENDS b/graphics/apngasm/DEPENDS
new file mode 100755
index 0000000..f11c115
--- /dev/null
+++ b/graphics/apngasm/DEPENDS
@@ -0,0 +1,5 @@
+depends -sub CXX gcc &&
+depends libpng &&
+depends zlib &&
+optional_depends zopfli "-DFEATURE_ZOPFLI" "" \
+ "zopfli compression"
diff --git a/graphics/apngasm/DETAILS b/graphics/apngasm/DETAILS
new file mode 100755
index 0000000..cc3e136
--- /dev/null
+++ b/graphics/apngasm/DETAILS
@@ -0,0 +1,20 @@
+ SPELL=apngasm
+ VERSION=2.91
+ SOURCE=$SPELL-$VERSION-src-only.zip
+ SOURCE_URL[0]=https://downloads.sourceforge.net/sourceforge/$SPELL/$SOURCE
+
SOURCE_HASH=sha512:5134d154b48fe84b86c221efdb4e89b9aaf61faad9b13780a0e51f8d2831e43e3069ed5be85c6644c66c4921133ec54cd6415896ec699bbb4b7c6187191526ae
+SOURCE_DIRECTORY="$BUILD_DIRECTORY/$SPELL-$VERSION"
+ WEB_SITE=http://apngasm.sourceforge.net
+ ENTERED=20170506
+ LICENSE[0]=ZLIB
+ KEYWORDS="graphics"
+ SHORT="APNG Assembler creates APNG animation from PNG/TGA image
sequence."
+cat << EOF
+A number of optimization techniques used to make APNG files as small as
possible:
+inter-frame optimization utilizing alpha-blend and dispose operations,
smaller
+than the full-size subframes, dirty transparency, color type and palette
optimizations,
+and various compression options: zlib, 7zip, Zopfli.
+
+Command-line version is available for all major OSes, as well as GUI version
for
+Windows. C++ source code is available under zlib license
+EOF
diff --git a/graphics/apngasm/HISTORY b/graphics/apngasm/HISTORY
new file mode 100644
index 0000000..85436f1
--- /dev/null
+++ b/graphics/apngasm/HISTORY
@@ -0,0 +1,2 @@
+2017-05-06 Thomas Orgis <sobukus AT sourcemage.org>
+ * DETAILS, DEPENDS, PRE_BUILD, BUILD, INSTALL: spell created
diff --git a/graphics/apngasm/INSTALL b/graphics/apngasm/INSTALL
new file mode 100755
index 0000000..d0eb0c7
--- /dev/null
+++ b/graphics/apngasm/INSTALL
@@ -0,0 +1 @@
+cp apngasm "$INSTALL_ROOT/usr/bin/"
diff --git a/graphics/apngasm/PRE_BUILD b/graphics/apngasm/PRE_BUILD
new file mode 100755
index 0000000..11fa756
--- /dev/null
+++ b/graphics/apngasm/PRE_BUILD
@@ -0,0 +1,3 @@
+mkdir -p "$SOURCE_DIRECTORY" &&
+cd "$SOURCE_DIRECTORY" &&
+unpack_file
diff --git a/graphics/apngdis/BUILD b/graphics/apngdis/BUILD
new file mode 100755
index 0000000..9be4446
--- /dev/null
+++ b/graphics/apngdis/BUILD
@@ -0,0 +1 @@
+g++ $CPPFLAGS $CXXFLAGS $OPTS $LDFLAGS -o apngdis *.cpp -lpng -lz
diff --git a/graphics/apngdis/DEPENDS b/graphics/apngdis/DEPENDS
new file mode 100755
index 0000000..80bb995
--- /dev/null
+++ b/graphics/apngdis/DEPENDS
@@ -0,0 +1,3 @@
+depends -sub CXX gcc &&
+depends libpng &&
+depends zlib
diff --git a/graphics/apngdis/DETAILS b/graphics/apngdis/DETAILS
new file mode 100755
index 0000000..b52c11a
--- /dev/null
+++ b/graphics/apngdis/DETAILS
@@ -0,0 +1,26 @@
+ SPELL=apngdis
+ VERSION=2.8
+ SOURCE=$SPELL-$VERSION-src-only.zip
+ SOURCE_URL[0]=https://downloads.sourceforge.net/sourceforge/$SPELL/$SOURCE
+
SOURCE_HASH=sha512:e785e22df9e37f7377619dd46c96f23f47f07b4c41f9569e0f08584b7fbec2b04ab3a2f9e01a52994c62959834ff5173452ab84a794fdd509464f82d256ebf81
+SOURCE_DIRECTORY="$BUILD_DIRECTORY/$SPELL-$VERSION"
+ WEB_SITE=http://apngdis.sourceforge.net
+ ENTERED=20170506
+ LICENSE[0]=ZLIB
+ KEYWORDS="graphics"
+ SHORT="APNG Disassembler deconstructs APNG file into a sequence
of PNG frames."
+cat << EOF
+APNG Disassembler deconstructs APNG file into a sequence of PNG frames.
+
+Command line: apngdis anim.png [name]
+
+Decoding is implemented by parsing all chunks in the APNG file, remuxing
+them into a sequence of static PNG images, as shown in the diagram below,
+and then using regular (unpatched) libpng to decode them.
+
+Then, after processing blend/dispose operations, we finally get a vector
+of full-size frames in 32 bpp as the result.
+
+Command-line version is available for all major OSes, there is also a GUI
+version for Windows. C++ source code is available under zlib license.
+EOF
diff --git a/graphics/apngdis/HISTORY b/graphics/apngdis/HISTORY
new file mode 100644
index 0000000..85436f1
--- /dev/null
+++ b/graphics/apngdis/HISTORY
@@ -0,0 +1,2 @@
+2017-05-06 Thomas Orgis <sobukus AT sourcemage.org>
+ * DETAILS, DEPENDS, PRE_BUILD, BUILD, INSTALL: spell created
diff --git a/graphics/apngdis/INSTALL b/graphics/apngdis/INSTALL
new file mode 100755
index 0000000..8f6af99
--- /dev/null
+++ b/graphics/apngdis/INSTALL
@@ -0,0 +1 @@
+cp apngdis "$INSTALL_ROOT/usr/bin/"
diff --git a/graphics/apngdis/PRE_BUILD b/graphics/apngdis/PRE_BUILD
new file mode 100755
index 0000000..11fa756
--- /dev/null
+++ b/graphics/apngdis/PRE_BUILD
@@ -0,0 +1,3 @@
+mkdir -p "$SOURCE_DIRECTORY" &&
+cd "$SOURCE_DIRECTORY" &&
+unpack_file
diff --git a/libs/zopfli/BUILD b/libs/zopfli/BUILD
index 6dfecc1..110f7c5 100755
--- a/libs/zopfli/BUILD
+++ b/libs/zopfli/BUILD
@@ -1 +1,4 @@
-default_build_make
+# Build of version 1.0.1 buggy with parallel make.
+make_single &&
+default_build_make &&
+make_normal
diff --git a/libs/zopfli/DETAILS b/libs/zopfli/DETAILS
index a417cba..af0586e 100755
--- a/libs/zopfli/DETAILS
+++ b/libs/zopfli/DETAILS
@@ -6,6 +6,7 @@
SOURCE_DIRECTORY="${BUILD_DIRECTORY}/${SPELL}-${SPELL}-${VERSION}"
WEB_SITE="https://github.com/google/zopfli";
LICENSE[0]=Apache
+ PATCHLEVEL=1
ENTERED=20170318
SHORT="a compression library that performs very good but slow
deflat or zlib compression"
cat << EOF
diff --git a/libs/zopfli/HISTORY b/libs/zopfli/HISTORY
index fd2dab2..1f10c30 100644
--- a/libs/zopfli/HISTORY
+++ b/libs/zopfli/HISTORY
@@ -1,3 +1,7 @@
+2017-05-06 Thomas Orgis <sobukus AT sourcemage.org>
+ * BUILD: serial make, breakage otherwise
+ * INSTALL: make libzopfli usable for others
+
2017-03-18 Florian Franzmann <siflfran AT hawo.stw.uni-erlangen.de>
* 0001-fix-Makefile.patch, BUILD, DETAILS, INSTALL, PRE_BUILD: spell
created

diff --git a/libs/zopfli/INSTALL b/libs/zopfli/INSTALL
index 4d1ea0e..69d9a01 100755
--- a/libs/zopfli/INSTALL
+++ b/libs/zopfli/INSTALL
@@ -8,9 +8,14 @@ install -m644 -o root -g root \
"${SOURCE_DIRECTORY}/libzopflipng.so.1.0.0" \
"${INSTALL_ROOT}/usr/lib/" &&

+install -m644 -o root -g root \
+ "${SOURCE_DIRECTORY}/src/zopfli/zopfli.h" \
+ "${INSTALL_ROOT}/usr/include/" &&
+
cd "${INSTALL_ROOT}/usr/lib" &&
ln -sfn libzopfli.so.1.0.1 libzopfli.so.1.0 &&
ln -sfn libzopfli.so.1.0.1 libzopfli.so.1 &&
+ln -sfn libzopfli.so.1 libzopfli.so &&

ln -sfn libzopflipng.so.1.0.0 libzopflipng.so.1.0 &&
ln -sfn libzopflipng.so.1.0.0 libzopflipng.so.1



  • [SM-Commit] GIT changes to master grimoire by Thomas Orgis (3143ed61f10e8ca14aa5b4a92aea4698d6ee53ba), Thomas Orgis, 05/06/2017

Archive powered by MHonArc 2.6.24.

Top of Page