summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2017-12-25 09:48:51 +0100
committerJeroen Roovers <jer@gentoo.org>2017-12-25 09:49:12 +0100
commitb45eb7d0faa64046eec1140eb21250bd8c584364 (patch)
treea71310d9c28baa5fd6a4b3fd5a9ae7bc85028263 /x11-misc
parentsec-policy: Release of SELinux policies 2.20170805-r4 (diff)
downloadgentoo-b45eb7d0faa64046eec1140eb21250bd8c584364.tar.gz
gentoo-b45eb7d0faa64046eec1140eb21250bd8c584364.tar.bz2
gentoo-b45eb7d0faa64046eec1140eb21250bd8c584364.zip
x11-misc/fracplanet: Old.
Package-Manager: Portage-2.3.19, Repoman-2.3.6
Diffstat (limited to 'x11-misc')
-rw-r--r--x11-misc/fracplanet/Manifest1
-rw-r--r--x11-misc/fracplanet/files/fracplanet-0.4.0-gcc6.patch44
-rw-r--r--x11-misc/fracplanet/files/fracplanet-0.4.0-gold.patch22
-rw-r--r--x11-misc/fracplanet/fracplanet-0.4.0-r1.ebuild50
4 files changed, 0 insertions, 117 deletions
diff --git a/x11-misc/fracplanet/Manifest b/x11-misc/fracplanet/Manifest
index 81485925d69c..d0af0f249e96 100644
--- a/x11-misc/fracplanet/Manifest
+++ b/x11-misc/fracplanet/Manifest
@@ -1,2 +1 @@
-DIST fracplanet-0.4.0.tar.gz 101700 BLAKE2B d222e342d3238f84b03f9637a3d11af1f27a7935fbb769ff093dd54ff10cafb80f1180eebcca93e5920b8f3f86da56f74d0ca42e692a998f969a2a03c22c97db SHA512 09eed764df60929e5aa22b3f5c34defa11a91c4f6b588259fe0c3c7736fa03a9d138e05fd6ec4800e7943f36e73949804d8a7ed3e29bda6ffdc883ecadf9abf6
DIST fracplanet-0.5.1.tar.gz 111911 BLAKE2B 81f5986bdf7a0ddc1a7ef8fd08bf07fbc23ae38ac1cdc452de6696354d291205cb1183d16c3a7fa8bfb250158229d84d94f3c24dafa09d20518fb5d19b31471f SHA512 40aeb6c33c2cb3403cc85193319a63bdc90637110c8bb40d9b0f4bd816a80018ca1cf81296337fc5a13fac583d7864adfde8d22dcc3a3cd65314c34ec63b508e
diff --git a/x11-misc/fracplanet/files/fracplanet-0.4.0-gcc6.patch b/x11-misc/fracplanet/files/fracplanet-0.4.0-gcc6.patch
deleted file mode 100644
index 4d760d672f8d..000000000000
--- a/x11-misc/fracplanet/files/fracplanet-0.4.0-gcc6.patch
+++ /dev/null
@@ -1,44 +0,0 @@
-Description: Fix compilation with gcc-6
-Author: Gert Wollny <gw.fossdev@gmail.com>
-Last-Updated: 2016-07-09
-Forwarded: No
-Bug-Debian: https://bugs.debian.org/811642
-
---- fracplanet-0.4.0.orig/image.cpp
-+++ fracplanet-0.4.0/image.cpp
-@@ -85,7 +85,7 @@ template <> bool Raster<uchar>::write_pg
- out.write(reinterpret_cast<const char*>(&(*(row->begin()))),row->size());
- }
- out.close();
-- return out;
-+ return out.good();
- }
-
- template <> bool Raster<ushort>::write_pgmfile(const std::string& filename,Progress* target) const
-@@ -101,7 +101,7 @@ template <> bool Raster<ushort>::write_p
- progress.step();
- for (const ushort* it=row->begin();it!=row->end();++it)
- {
-- const uchar p[2]={((*it)>>8),(*it)};
-+ const uchar p[2]={static_cast<uchar>((*it)>>8),static_cast<uchar>((*it) & 0x00FF)};
- if (m>=256)
- {
- // PGM spec is most significant byte first
-@@ -115,7 +115,7 @@ template <> bool Raster<ushort>::write_p
- }
- }
- out.close();
-- return out;
-+ return out.good();
- }
-
- template <> bool Raster<ByteRGBA>::write_ppmfile(const std::string& filename,Progress* target) const
-@@ -132,7 +132,7 @@ template <> bool Raster<ByteRGBA>::write
- out.write(reinterpret_cast<const char*>(&((*it).r)),3);
- }
- out.close();
-- return out;
-+ return out.good();
- }
-
-
diff --git a/x11-misc/fracplanet/files/fracplanet-0.4.0-gold.patch b/x11-misc/fracplanet/files/fracplanet-0.4.0-gold.patch
deleted file mode 100644
index 4a52d1c44a62..000000000000
--- a/x11-misc/fracplanet/files/fracplanet-0.4.0-gold.patch
+++ /dev/null
@@ -1,22 +0,0 @@
---- a/triangle_mesh_viewer.h
-+++ b/triangle_mesh_viewer.h
-@@ -24,6 +24,7 @@
- #ifndef _triangle_mesh_viewer_h_
- #define _triangle_mesh_viewer_h_
-
-+#include <GL/glu.h>
- #include "parameters_render.h"
- #include "random.h"
- #include "triangle_mesh.h"
-
---- a/fracplanet.pro
-+++ b/fracplanet.pro
-@@ -8,7 +8,7 @@
-
- HEADERS += $$system(ls *.h)
- SOURCES += $$system(ls *.cpp)
--LIBS += -lboost_program_options
-+LIBS += -lboost_program_options -lGLU
-
- DEFINES += QT_DLL
-
diff --git a/x11-misc/fracplanet/fracplanet-0.4.0-r1.ebuild b/x11-misc/fracplanet/fracplanet-0.4.0-r1.ebuild
deleted file mode 100644
index 798e453cef7c..000000000000
--- a/x11-misc/fracplanet/fracplanet-0.4.0-r1.ebuild
+++ /dev/null
@@ -1,50 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-inherit qmake-utils
-
-DESCRIPTION="Fractal planet and terrain generator"
-HOMEPAGE="https://sourceforge.net/projects/fracplanet/"
-SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-
-RDEPEND="
- dev-libs/boost:=
- dev-qt/qtcore:4
- dev-qt/qtgui:4
- dev-qt/qtopengl:4
- virtual/glu
- virtual/opengl
-"
-DEPEND="${RDEPEND}
- dev-libs/libxslt"
-
-S=${WORKDIR}/${PN}
-
-PATCHES=(
- "${FILESDIR}/${P}-gold.patch"
- "${FILESDIR}/${P}-gcc6.patch"
-)
-
-HTML_DOCS=( fracplanet.{htm,css} )
-
-src_configure() {
- eqmake4 fracplanet.pro
-}
-
-src_compile() {
- xsltproc -stringparam version ${PV} -html htm_to_qml.xsl fracplanet.htm \
- | sed 's/"/\\"/g' | sed 's/^/"/g' | sed 's/$/\\n"/g'> usage_text.h || die
- default
-}
-
-src_install() {
- dobin ${PN}
- doman man/man1/${PN}.1
- einstalldocs
-}