Skip to content

Commit

Permalink
flam3-3.1.1 (rebuild with gcc-12.4.0)
Browse files Browse the repository at this point in the history
  • Loading branch information
fd00 committed Jan 30, 2025
1 parent 804687f commit b8ea26a
Show file tree
Hide file tree
Showing 3 changed files with 88 additions and 65 deletions.
50 changes: 28 additions & 22 deletions flam3/README
Original file line number Diff line number Diff line change
@@ -1,37 +1,39 @@
flam3
------------------------------------------
Command-line tools and API to manipulate and render genomes for the Electric
Sheep. Basically it reads XML parameter sets and writes PNG images. It can
also run the genetic algorithm including mutation and crossover.
Sheep. Basically it reads XML parameter sets and writes PNG images. It can also
run the genetic algorithm including mutation and crossover.

Runtime requirements:
cygwin-2.9.0-3
cygwin-devel-2.9.0-3
libflam3-devel-3.1.1-1bl1
libflam3_0-3.1.1-1bl1
libjpeg-devel-1.5.0-1
libjpeg8-1.5.0-1
libpng-devel-1.6.30-2
libpng16-1.6.30-2
libxml2-2.9.4-2
libxml2-devel-2.9.4-2
pkg-config-0.29.1-1
cygwin-3.5.7-1
cygwin-devel-3.5.7-1
libflam3-devel-3.1.1-1bl2
libflam3_0-3.1.1-1bl2
libjpeg8-3.1.0-1
libpng-devel-1.6.42-1
libpng16-1.6.42-1
libxml2-2.10.4-2
libxml2-devel-2.10.4-2
pkg-config-2.3.0-1

Build requirements:
(besides corresponding -devel packages)
autoconf-13-1
automake-10-1
binutils-2.29-1
cygport-0.24.1-1
gcc-core-6.4.0-1
libtool-2.4.6-5
make-4.2.1-2
autoconf-15-2
automake-20240607-1
binutils-2.43.1-1
cygport-0.36.9-1
gcc-core-12.4.0-3
libjpeg-devel-3.1.0-1
libpng-devel-1.6.42-1
libtool-2.5.4-1
libxml2-devel-2.10.4-2
make-4.4.1-2

Canonical website:
http://www.flam3.com/
https://flam3.com/

Canonical download:
https://github.com/scottdraves/flam3/archive/v3.1.1.tar.gz
https://github.com/scottdraves/flam3/archive/refs/tags/v3.1.1.tar.gz

-------------------------------------------

Expand Down Expand Up @@ -59,6 +61,7 @@ Files included in the binary package:
/usr/bin/flam3-render.exe
/usr/share/doc/Cygwin/flam3.README
/usr/share/doc/flam3/COPYING
/usr/share/doc/flam3/COPYING.txt
/usr/share/doc/flam3/README.txt
/usr/share/flam3/flam3-palettes.xml
/usr/share/man/man1/flam3-animate.1.gz
Expand All @@ -81,6 +84,9 @@ Files included in the binary package:

Port Notes:

----- version 3.1.1-1bl2 -----
Rebuild with gcc-12.4.0

----- version 3.1.1-1bl1 -----
Version bump.

Expand Down
43 changes: 0 additions & 43 deletions flam3/flam3-3.1.1-1bl1.cygport

This file was deleted.

60 changes: 60 additions & 0 deletions flam3/flam3-3.1.1-1bl2.cygport
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
HOMEPAGE="https://${PN}.com/"
SRC_URI="https://github.com/scottdraves/${PN}/archive/refs/tags/v${PV}.tar.gz"
PATCH_URI="
https://sources.debian.org/data/main/f/flam3/3.1.1%2Bds2-2/debian/patches/001-manpage_whatis_fix.patch
https://sources.debian.org/data/main/f/flam3/3.1.1%2Bds2-2/debian/patches/002-libxml.patch
https://sources.debian.org/data/main/f/flam3/3.1.1%2Bds2-2/debian/patches/003-ljpeg.patch
https://sources.debian.org/data/main/f/flam3/3.1.1%2Bds2-2/debian/patches/004-flam3.patch
https://sources.debian.org/data/main/f/flam3/3.1.1%2Bds2-2/debian/patches/005-readme.patch
https://sources.debian.org/data/main/f/flam3/3.1.1%2Bds2-2/debian/patches/006-icu67.patch
https://sources.debian.org/data/main/f/flam3/3.1.1%2Bds2-2/debian/patches/007-autoconf.patch
https://sources.debian.org/data/main/f/flam3/3.1.1%2Bds2-2/debian/patches/008-stringop-truncation.patch
https://sources.debian.org/data/main/f/flam3/3.1.1%2Bds2-2/debian/patches/009-defaults.patch
"

CATEGORY="Libs"
SUMMARY="The Flame renderer, the basis for the Electric Sheep"
DESCRIPTION="Command-line tools and API to manipulate and render genomes for the Electric
Sheep. Basically it reads XML parameter sets and writes PNG images. It can
also run the genetic algorithm including mutation and crossover."

LICENSE="GPL-3.0-or-later"
LICENSE_SPDX="SPDX-License-Identifier: GPL-3.0-or-later"
LICENSE_URI="COPYING"

BUILD_REQUIRES="libjpeg-devel libpng-devel libxml2-devel"

CYGCONF_ARGS="
--includedir=/usr/include/${PN}
"

src_test()
{
cd ${B}
env flam3_palettes=${S}/flam3-palettes.xml \
template=${S}/vidres.flam3 repeat=10 ./flam3-genome > new.flam3
./flam3-render < new.flam3
env flam3_palettes=${S}/flam3-palettes.xml \
sequence=${S}/test.flam3 nframes=20 ./flam3-genome > seq.flam3
./flam3-animate < seq.flam3
}

PKG_NAMES="
${PN}
lib${PN}_0
lib${PN}-devel
"
flam3_CONTENTS="
usr/bin/*.exe
usr/share
"
libflam3_0_CONTENTS="
usr/bin/cyg*-0.dll
"
libflam3_devel_CONTENTS="
usr/include
usr/lib
"
flam3_SUMMARY="${SUMMARY} (utilities)"
libflam3_0_SUMMARY="${SUMMARY} (runtime)"
libflam3_devel_SUMMARY="${SUMMARY} (development)"

0 comments on commit b8ea26a

Please sign in to comment.