summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2015-08-08 13:49:04 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2015-08-08 17:38:18 -0700
commit56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch)
tree3f91093cdb475e565ae857f1c5a7fd339e2d781e /media-gfx/gnofract4d
downloadgentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip
proj/gentoo: Initial commit
This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'media-gfx/gnofract4d')
-rw-r--r--media-gfx/gnofract4d/Manifest2
-rw-r--r--media-gfx/gnofract4d/files/gnofract4d-3.12-libpng14.patch47
-rw-r--r--media-gfx/gnofract4d/gnofract4d-3.13.ebuild52
-rw-r--r--media-gfx/gnofract4d/gnofract4d-3.14-r1.ebuild41
-rw-r--r--media-gfx/gnofract4d/gnofract4d-3.14.ebuild46
-rw-r--r--media-gfx/gnofract4d/metadata.xml8
6 files changed, 196 insertions, 0 deletions
diff --git a/media-gfx/gnofract4d/Manifest b/media-gfx/gnofract4d/Manifest
new file mode 100644
index 000000000000..e7d7464ccacc
--- /dev/null
+++ b/media-gfx/gnofract4d/Manifest
@@ -0,0 +1,2 @@
+DIST gnofract4d-3.13.tar.gz 859872 SHA256 99f6334ab19696505f0becbbe002c112db9c3188515a30961b3031e9f31154e8
+DIST gnofract4d-3.14.tar.gz 862499 SHA256 bdd8e950a98221054d52883d5303a435cbaa3d5d4239c36aff91598a6433d20a SHA512 cf3614f60a43f7ab20208fb1a62d3823495c84060d177d2926bad20a475e661d7ec45a7bc14e826229656027fe7c0f68aac093b6b0dc7912e84d8d8ec8ff81e5 WHIRLPOOL a4dd1f239ef0d9396288b335cd67c8d3ce0c858a18c0840ed3d07ac3fc4ba24d940f697f30b414fec82dc85843842c1173188077e2eb1b2b157997731f9733e8
diff --git a/media-gfx/gnofract4d/files/gnofract4d-3.12-libpng14.patch b/media-gfx/gnofract4d/files/gnofract4d-3.12-libpng14.patch
new file mode 100644
index 000000000000..f509fad57869
--- /dev/null
+++ b/media-gfx/gnofract4d/files/gnofract4d-3.12-libpng14.patch
@@ -0,0 +1,47 @@
+--- fract4d/c/imageIO.cpp
++++ fract4d/c/imageIO.cpp
+@@ -119,7 +119,7 @@
+ info_ptr = png_create_info_struct(png_ptr);
+ if(NULL == info_ptr)
+ {
+- png_destroy_write_struct(&png_ptr, png_infopp_NULL);
++ png_destroy_write_struct(&png_ptr, NULL);
+ return;
+ }
+
+@@ -312,7 +312,7 @@
+ info_ptr = png_create_info_struct(png_ptr);
+ if (info_ptr == NULL)
+ {
+- png_destroy_read_struct(&png_ptr, png_infopp_NULL, png_infopp_NULL);
++ png_destroy_read_struct(&png_ptr, NULL, NULL);
+ return;
+ }
+
+@@ -325,7 +325,7 @@
+ //printf("shutdown\n");
+ if(ok)
+ {
+- png_destroy_read_struct(&png_ptr, &info_ptr, png_infopp_NULL);
++ png_destroy_read_struct(&png_ptr, &info_ptr, NULL);
+ }
+ }
+
+@@ -351,7 +351,7 @@
+
+ //printf("get IHDR\n");
+ png_get_IHDR(png_ptr, info_ptr, &width, &height, &bit_depth, &color_type,
+- &interlace_type, int_p_NULL, int_p_NULL);
++ &interlace_type, (int *) NULL, (int *) NULL);
+
+ //printf("set res(%d,%d)\n",width,height);
+ if(!im->set_resolution(width, height, -1, -1))
+@@ -372,7 +372,7 @@
+ for (int y = 0; y < im->Yres(); y++)
+ {
+ png_bytep row = (png_bytep)(im->getBuffer() + im->row_length() * y);
+- png_read_rows(png_ptr, &row, png_bytepp_NULL, 1);
++ png_read_rows(png_ptr, &row, NULL, 1);
+ }
+ }
+ return true;
diff --git a/media-gfx/gnofract4d/gnofract4d-3.13.ebuild b/media-gfx/gnofract4d/gnofract4d-3.13.ebuild
new file mode 100644
index 000000000000..6c57656a82da
--- /dev/null
+++ b/media-gfx/gnofract4d/gnofract4d-3.13.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=3
+
+PYTHON_DEPEND="2:2.6"
+SUPPORT_PYTHON_ABIS="1"
+RESTRICT_PYTHON_ABIS="2.[45] 3.* *-jython"
+
+inherit distutils eutils fdo-mime
+
+DESCRIPTION="A program for drawing beautiful mathematically-based images known as fractals"
+HOMEPAGE="http://gnofract4d.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE=""
+
+RDEPEND="x11-libs/gtk+:2
+ >=media-libs/libpng-1.4
+ virtual/jpeg
+ >=dev-python/pygtk-2
+ >=gnome-base/gconf-2"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+PYTHON_MODNAME="fract4d fractutils fract4dgui"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${PN}-3.12-libpng14.patch
+ distutils_src_prepare
+}
+
+src_install() {
+ distutils_src_install
+ rm -rf "${D}"/usr/share/doc/${PN}
+}
+
+pkg_postinst() {
+ distutils_pkg_postinst
+ fdo-mime_desktop_database_update
+ fdo-mime_mime_database_update
+}
+
+pkg_postrm() {
+ distutils_pkg_postrm
+ fdo-mime_desktop_database_update
+ fdo-mime_mime_database_update
+}
diff --git a/media-gfx/gnofract4d/gnofract4d-3.14-r1.ebuild b/media-gfx/gnofract4d/gnofract4d-3.14-r1.ebuild
new file mode 100644
index 000000000000..03a737dd19e9
--- /dev/null
+++ b/media-gfx/gnofract4d/gnofract4d-3.14-r1.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+PYTHON_COMPAT=( python2_7 )
+
+inherit distutils-r1 fdo-mime
+
+DESCRIPTION="A program for drawing beautiful mathematically-based images known as fractals"
+HOMEPAGE="http://gnofract4d.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="x11-libs/gtk+:2
+ >=media-libs/libpng-1.4
+ virtual/jpeg
+ >=dev-python/pygtk-2[${PYTHON_USEDEP}]
+ >=gnome-base/gconf-2[${PYTHON_USEDEP}]"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+src_install() {
+ distutils-r1_src_install
+ rm -rf "${D}"/usr/share/doc/${PN}
+}
+
+pkg_postinst() {
+ fdo-mime_desktop_database_update
+ fdo-mime_mime_database_update
+}
+
+pkg_postrm() {
+ fdo-mime_desktop_database_update
+ fdo-mime_mime_database_update
+}
diff --git a/media-gfx/gnofract4d/gnofract4d-3.14.ebuild b/media-gfx/gnofract4d/gnofract4d-3.14.ebuild
new file mode 100644
index 000000000000..91f376a9b3a8
--- /dev/null
+++ b/media-gfx/gnofract4d/gnofract4d-3.14.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=3
+
+PYTHON_DEPEND="2:2.6"
+SUPPORT_PYTHON_ABIS="1"
+RESTRICT_PYTHON_ABIS="2.[45] 3.* *-jython"
+PYTHON_MODNAME="fract4d fractutils fract4dgui"
+
+inherit distutils eutils fdo-mime
+
+DESCRIPTION="A program for drawing beautiful mathematically-based images known as fractals"
+HOMEPAGE="http://gnofract4d.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="x11-libs/gtk+:2
+ >=media-libs/libpng-1.4
+ virtual/jpeg
+ >=dev-python/pygtk-2
+ >=gnome-base/gconf-2"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+src_install() {
+ distutils_src_install
+ rm -rf "${D}"/usr/share/doc/${PN}
+}
+
+pkg_postinst() {
+ distutils_pkg_postinst
+ fdo-mime_desktop_database_update
+ fdo-mime_mime_database_update
+}
+
+pkg_postrm() {
+ distutils_pkg_postrm
+ fdo-mime_desktop_database_update
+ fdo-mime_mime_database_update
+}
diff --git a/media-gfx/gnofract4d/metadata.xml b/media-gfx/gnofract4d/metadata.xml
new file mode 100644
index 000000000000..4e0171efad95
--- /dev/null
+++ b/media-gfx/gnofract4d/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>graphics</herd>
+ <upstream>
+ <remote-id type="sourceforge">gnofract4d</remote-id>
+ </upstream>
+</pkgmetadata>