summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKacper Kowalik <xarthisius@gentoo.org>2011-07-16 09:27:41 +0000
committerKacper Kowalik <xarthisius@gentoo.org>2011-07-16 09:27:41 +0000
commit6c27f2722c17aa316cfa9b0bad3dd7e714f07d24 (patch)
treee8fad6a83b3a340e2685a7e8eec450b23a641cb8 /media-gfx
parent[bump] dev-perl/HTML-Format-2.90.0 (diff)
downloadgentoo-2-6c27f2722c17aa316cfa9b0bad3dd7e714f07d24.tar.gz
gentoo-2-6c27f2722c17aa316cfa9b0bad3dd7e714f07d24.tar.bz2
gentoo-2-6c27f2722c17aa316cfa9b0bad3dd7e714f07d24.zip
Version bump wrt #375317
(Portage version: 2.2.0_alpha45/cvs/Linux x86_64)
Diffstat (limited to 'media-gfx')
-rw-r--r--media-gfx/mandelbulber/ChangeLog8
-rw-r--r--media-gfx/mandelbulber/files/mandelbulber-1.05-overflow.patch11
-rw-r--r--media-gfx/mandelbulber/mandelbulber-1.05.ebuild49
3 files changed, 67 insertions, 1 deletions
diff --git a/media-gfx/mandelbulber/ChangeLog b/media-gfx/mandelbulber/ChangeLog
index 67471fbb96fb..a2cba0f4b391 100644
--- a/media-gfx/mandelbulber/ChangeLog
+++ b/media-gfx/mandelbulber/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for media-gfx/mandelbulber
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/mandelbulber/ChangeLog,v 1.3 2011/04/27 20:19:09 xarthisius Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/mandelbulber/ChangeLog,v 1.4 2011/07/16 09:27:41 xarthisius Exp $
+
+*mandelbulber-1.05 (16 Jul 2011)
+
+ 16 Jul 2011; Kacper Kowalik <xarthisius@gentoo.org>
+ +mandelbulber-1.05.ebuild, +files/mandelbulber-1.05-overflow.patch:
+ Version bump wrt #375317
*mandelbulber-1.00 (27 Apr 2011)
diff --git a/media-gfx/mandelbulber/files/mandelbulber-1.05-overflow.patch b/media-gfx/mandelbulber/files/mandelbulber-1.05-overflow.patch
new file mode 100644
index 000000000000..af4170fa65a2
--- /dev/null
+++ b/media-gfx/mandelbulber/files/mandelbulber-1.05-overflow.patch
@@ -0,0 +1,11 @@
+--- src/callbacks.cpp
++++ src/callbacks.cpp
+@@ -1663,7 +1663,7 @@
+ {
+ const char *filename = gtk_file_chooser_get_preview_filename(file_chooser);
+
+- char string[12];
++ char string[13];
+
+ FILE *fileSettings = fopen(filename, "r");
+ if (fileSettings)
diff --git a/media-gfx/mandelbulber/mandelbulber-1.05.ebuild b/media-gfx/mandelbulber/mandelbulber-1.05.ebuild
new file mode 100644
index 000000000000..859633c3c720
--- /dev/null
+++ b/media-gfx/mandelbulber/mandelbulber-1.05.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/mandelbulber/mandelbulber-1.05.ebuild,v 1.1 2011/07/16 09:27:41 xarthisius Exp $
+
+EAPI=4
+
+inherit eutils toolchain-funcs
+
+MY_P=${PN}${PV}
+
+DESCRIPTION="Tool to render 3D fractals"
+HOMEPAGE="http://sites.google.com/site/mandelbulber/home"
+SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="x11-libs/gtk+:2
+ >=media-libs/libsndfile-1
+ >=media-libs/libpng-1.4
+ virtual/jpeg"
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig"
+
+S=${WORKDIR}/${MY_P}
+
+src_prepare() {
+ # https://sourceforge.net/tracker/?func=detail&aid=3368617&group_id=303080&atid=1277701
+ # https://sourceforge.net/tracker/?func=detail&aid=3368618&group_id=303080&atid=1277701
+ epatch "${FILESDIR}"/${PN}-1.00-qa.patch \
+ "${FILESDIR}"/${P}-overflow.patch
+}
+
+src_compile() {
+ emake CXX="$(tc-getCXX)" -C makefiles all || die
+}
+
+src_install() {
+ dobin makefiles/${PN}
+ dodoc README NEWS
+ insinto /usr/share/${PN}
+ doins -r usr/share/*
+}
+
+pkg_postinst() {
+ elog "Before you run ${PN} please copy /usr/share/${PN}/* to \${HOME}/.${PN}"
+}