diff options
Diffstat (limited to 'sci-visualization/ggobi')
5 files changed, 57 insertions, 26 deletions
diff --git a/sci-visualization/ggobi/Manifest b/sci-visualization/ggobi/Manifest index 20e166f5e1bc..030f37af88ac 100644 --- a/sci-visualization/ggobi/Manifest +++ b/sci-visualization/ggobi/Manifest @@ -1,7 +1,7 @@ -AUX ggobi-2.1.10-desktop.patch 394 BLAKE2B 9d94b1a457cc3f64e23b943a323146f3dbab5f2422f856355dabd1e53cdaa4e327e56874c001ad7b72c3faed9f7ab34cc496d75768d84dc41c361f0983257d39 SHA512 db54bb75d8a56a51e3731f6f01cb1a8986aa8fc70a5959ac9ebbb604e55b6367f7bcd48837c09f3e933c1e20bd5b6901007285976cd2b93999a277613e3b3065 +AUX ggobi-2.1.10-desktop.patch 321 BLAKE2B 68dd4823b4e1fbe102664c0223791eb65c247cdfe3dbcf976fb93bb124937d709c5a811127effffa9df145b71f5c04cc5fa6a566362d1681c5a778e59849b591 SHA512 7690993229af30fecb375769a54090ca3c5a026fe5a5d0672d03c01c1000923a0a707aafe755e44749077a5383b6a8930a7fd387d4c3b31c560c0ed65daaa5f2 AUX ggobi-2.1.11-Wformat-security.patch 1109 BLAKE2B e629aa6d52caecb00c962f531ea3afb151efb5f0dbb813e8142706de6860792449c4cbc8cfacb70a020c81010ee19fb0c0f2346da60a57dac103b4e079c11565 SHA512 18162cc1ab6e8065de5602b54058f4ee11f9cb25d8ab0ed3bc176802687009f9d75c7c3a9909cd3439544c8989de0d53e3bd9744183f44fc07e8b6ba456200e5 -AUX ggobi-2.1.8-plugindir.patch 499 BLAKE2B 9e436b43ff668d49f83d718dd6b296c8ef19ec5c8a6654a0629de6c947dd8794422c023ccbdf8545a2b4292af22bc6554b2006aaf0a550773982a511c704e4b3 SHA512 07108552ac0bda21fec8b7aa83e25a51abd1fcc6630347d1e1348b467a0d246c91f6400d148b6781961a8e38eb31a0c96a86de0df48984a351c072f950d2be11 -AUX ggobi-2.1.9-as-needed.patch 1716 BLAKE2B 113e51badbfedcc06265af6859256db11f1b9833e5aab336d498ca9a40bb93e495eb23fe328312878cf47e7bc2fbd5e4a25c42fb6ff5053d07879a010ac63641 SHA512 6e96f461e71630b68ba0ecc48fa94f8b7ab211cd26c95b91d65604a23c3fa13b20316e90397f857857c21cd8ddc6a8f67efcc7ec62a8d2c48c349b532aad8797 +AUX ggobi-2.1.8-plugindir.patch 426 BLAKE2B fe043ae4458c441cc0e5164023e6ffa0e75ce005a80c9740d236975d6bca02fc89dd0d87c79d318f54e08318c8d3726c00fe2c2413c41dbdfe1876de43c173c6 SHA512 3e55ca6e23d888907428d36a23583cc9067fa91204f7aa0328529039ab390ef55b62bd290b56053f70bb5b12d26e144f0dd96cedfae5b4ca426bc24d48b4ea48 +AUX ggobi-2.1.9-as-needed.patch 2157 BLAKE2B 17d09319c9328badb9b5e96bfda2bd56aae0a9f77696b9f5c8a5a858c255a127bca074cc0e74aa94b61193c4ccaadf4b11b1437650043198ed3bf382b9ef8711 SHA512 ed3ebacd819473df3a4bf712c749d354a5589a2a533d880811732da8e7d71122aaebdcea1da73056bd1aada4c2b695a9e6cb60db7f8daddbce1a2d84e670d502 DIST ggobi_2.1.11.orig.tar.bz2 2787709 BLAKE2B e4b853f3212abda00150e6a3b3a344638225bdc564c109632c7ca2f9cb8cc41d35af9df1ee153d2ede3bd3191d9219e2bdd6bd6bc9c64f42447dfe17562361f1 SHA512 d34c6569d05d1e680101b62745012940c1e18c1588cd37b89b26b89e9eed9bab8fc53e0585a595b6cb4c9f2bb7d603ca4252cb6a6ba344bbc24e5cc5fd8a6dc1 -EBUILD ggobi-2.1.11.ebuild 1353 BLAKE2B 11d873b0912d86f12526b120829347e86a32e752eb47b44c4851802a9dcce53e96b89ae1e649d8ebd27f13d9afb740627191c3dc62252d4827573410fa16e7f9 SHA512 39d4bd9bc3e4dc7fc1fd85b5c6917f92e3d1ce0649bf722a92490d7ac90a4ebe65253133fc25aad04621ad5b0ae345f26ebfd3687cd7ce152b689aaec3ee1cd7 +EBUILD ggobi-2.1.11.ebuild 1397 BLAKE2B 8d29be7911d17b820a03fd4599e644e30fa082fe2be42687947919f52a229acb7778b55b3c73ea9079746947102240461166e9f42da3e26461420166796c37d8 SHA512 7273dff694d4baf1841c744db6efa31a624919cb610cb580b1a85a29f41c2fc93b756be9e787581d3f4cdfe76449b73772f781be1b9afb7a53e2a5e282e73650 MISC metadata.xml 624 BLAKE2B cea18e65c4dcf76c174bd3bc9a6c6f8299ac11adfaecc60eb6ef2f4a225fb61d79e3a2d888ea2812466e773543db72afe032c13a1ffa7526669bb8e48872610e SHA512 81e5eddaf2de7b9ff5f2e3c6cf5f555586c140101fb5562419daf02127132a9a35928e95cdc4916b51715953a27a516f5dae72f2ed1a5e31110ff0cd7a1d7f16 diff --git a/sci-visualization/ggobi/files/ggobi-2.1.10-desktop.patch b/sci-visualization/ggobi/files/ggobi-2.1.10-desktop.patch index 388cb85c975c..c41581e3c599 100644 --- a/sci-visualization/ggobi/files/ggobi-2.1.10-desktop.patch +++ b/sci-visualization/ggobi/files/ggobi-2.1.10-desktop.patch @@ -1,5 +1,5 @@ ---- xdg/ggobi.desktop.orig 2013-02-24 22:20:02.616872402 -0800 -+++ xdg/ggobi.desktop 2013-02-24 22:20:13.293924862 -0800 +--- a/xdg/ggobi.desktop ++++ b/xdg/ggobi.desktop @@ -6,6 +6,6 @@ Comment=Multivariate interactive graphics for exploratory data analysis TryExec=ggobi diff --git a/sci-visualization/ggobi/files/ggobi-2.1.8-plugindir.patch b/sci-visualization/ggobi/files/ggobi-2.1.8-plugindir.patch index 0476f47a816d..bd831f61ce8a 100644 --- a/sci-visualization/ggobi/files/ggobi-2.1.8-plugindir.patch +++ b/sci-visualization/ggobi/files/ggobi-2.1.8-plugindir.patch @@ -1,5 +1,5 @@ ---- plugins/Makefile.plugin.orig 2009-12-14 22:15:01.000000000 +0000 -+++ plugins/Makefile.plugin 2009-12-14 22:15:16.000000000 +0000 +--- a/plugins/Makefile.plugin ++++ b/plugins/Makefile.plugin @@ -2,7 +2,7 @@ # Every plugin provides a single library to GGobi, define it here. diff --git a/sci-visualization/ggobi/files/ggobi-2.1.9-as-needed.patch b/sci-visualization/ggobi/files/ggobi-2.1.9-as-needed.patch index 3bec9b55c21d..bc6ef01e4075 100644 --- a/sci-visualization/ggobi/files/ggobi-2.1.9-as-needed.patch +++ b/sci-visualization/ggobi/files/ggobi-2.1.9-as-needed.patch @@ -1,5 +1,5 @@ ---- configure.ac.orig 2012-06-26 05:46:07.000000000 +0100 -+++ configure.ac 2012-06-26 05:46:44.000000000 +0100 +--- a/configure.ac ++++ b/configure.ac @@ -178,6 +178,8 @@ echo "Looking for gtk2" @@ -10,8 +10,8 @@ AC_SUBST(GTK_CFLAGS) AC_SUBST(GTK_LIBS) ---- src/Makefile.am.orig 2012-06-26 04:53:20.000000000 +0100 -+++ src/Makefile.am 2012-06-26 04:54:04.000000000 +0100 +--- a/src/Makefile.am ++++ b/src/Makefile.am @@ -4,7 +4,6 @@ libggobi_la_GOBHEADERS = $(libggobi_la_GOBS:%.gob=ggobi-%.h) libggobi_la_GOBOBJECTS = $(libggobi_la_GOBS:%.gob=ggobi-%.lo) @@ -38,3 +38,24 @@ ggobi_LDFLAGS = -mwindows -s endif +--- a/plugins/GraphLayout/configure.ac ++++ b/plugins/GraphLayout/configure.ac +@@ -44,6 +44,7 @@ + AC_MSG_RESULT(no)]) + + AC_MSG_CHECKING([whether Graphviz API is based on cgraph]) ++save_CFLAGS="${CFLAGS}" + CFLAGS=$LIBGVC_CFLAGS + AC_COMPILE_IFELSE([AC_LANG_SOURCE([ + #include <gvc.h> +@@ -53,8 +54,10 @@ + return 0; + } + ])], graphviz_new_api=yes, graphviz_new_api=no) ++CFLAGS="${save_CFLAGS}" + AC_MSG_RESULT($graphviz_new_api) + if test "$graphviz_new_api" = "yes"; then ++ CFLAGS="${CFLAGS} ${LIBGVC_CFLAGS}" + AC_DEFINE(HAVE_CGRAPH,[1],[define for cgraph-based graphviz]) + fi + diff --git a/sci-visualization/ggobi/ggobi-2.1.11.ebuild b/sci-visualization/ggobi/ggobi-2.1.11.ebuild index a3a40cec5a40..4898989152c8 100644 --- a/sci-visualization/ggobi/ggobi-2.1.11.ebuild +++ b/sci-visualization/ggobi/ggobi-2.1.11.ebuild @@ -1,8 +1,9 @@ # Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=5 -inherit epatch autotools xdg +EAPI=7 + +inherit autotools xdg DESCRIPTION="Visualization program for exploring high-dimensional data" HOMEPAGE="http://www.ggobi.org/" @@ -19,26 +20,28 @@ RDEPEND=" dev-libs/libxml2:2 media-gfx/graphviz x11-libs/gtk+:2" -DEPEND="${RDEPEND} - virtual/pkgconfig" +DEPEND="${RDEPEND}" +BDEPEND="virtual/pkgconfig" + +PATCHES=( + "${FILESDIR}"/${PN}-2.1.8-plugindir.patch + "${FILESDIR}"/${PN}-2.1.9-as-needed.patch + "${FILESDIR}"/${PN}-2.1.10-desktop.patch + "${FILESDIR}"/${PN}-2.1.11-Wformat-security.patch +) src_prepare() { - sed -i \ - -e 's|ND_coord_i|ND_coord|' \ - plugins/GraphLayout/graphviz.c || die + default + sed -e 's|ND_coord_i|ND_coord|' \ + -i plugins/GraphLayout/graphviz.c || die rm m4/libtool.m4 m4/lt*m4 plugins/*/aclocal.m4 || die - epatch \ - "${FILESDIR}"/${PN}-2.1.8-plugindir.patch \ - "${FILESDIR}"/${PN}-2.1.9-as-needed.patch \ - "${FILESDIR}"/${PN}-2.1.10-desktop.patch \ - "${FILESDIR}"/${PN}-2.1.11-Wformat-security.patch + # need the ${S} for recursivity lookup AT_M4DIR="${S}"/m4 eautoreconf } src_configure() { econf \ - --docdir="${EPREFIX}/usr/share/doc/${PF}" \ --disable-rpath \ $(use_enable nls) \ $(use_with !minimal all-plugins) @@ -50,7 +53,14 @@ src_compile() { src_install() { default + insinto /etc/xdg/ggobi doins ggobirc - use doc || rm "${ED}"/usr/share/doc/${PF}/*.pdf + + if ! use doc; then + rm "${ED}"/usr/share/doc/${PF}/*.pdf || die + fi + + # no static archives + find "${ED}" -name '*.la' -delete || die } |