commit:     3c264ab5450b091d0c59abb33f03b22e2cea23a1
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sat Feb 21 10:23:26 2026 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sat Feb 21 11:44:48 2026 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3c264ab5

sci-visualization/ggobi: drop 2.1.11-r1

Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 sci-visualization/ggobi/Manifest                   |  1 -
 .../files/ggobi-2.1.11-Wformat-security.patch      | 36 ------------
 .../ggobi/files/ggobi-2.1.8-plugindir.patch        | 11 ----
 .../ggobi/files/ggobi-2.1.9-as-needed.patch        | 61 --------------------
 sci-visualization/ggobi/ggobi-2.1.11-r1.ebuild     | 66 ----------------------
 5 files changed, 175 deletions(-)

diff --git a/sci-visualization/ggobi/Manifest b/sci-visualization/ggobi/Manifest
index a25cf60f5039..fa272906ae83 100644
--- a/sci-visualization/ggobi/Manifest
+++ b/sci-visualization/ggobi/Manifest
@@ -1,2 +1 @@
 DIST ggobi-2.1.12.tar.gz 1730589 BLAKE2B 
11ce66d66fc11ed3b7e7dde20e978348eaf8e8d42f46d99de014cd7efb23109d5e50ad2702fb492cdc4939b2c04bb17ff775918f26467e28eb2a1841117709ab
 SHA512 
f4096bf7acc05cf300f4b67f02d7ee7b942fc21cfa26203440f5fe47600b3bf3a9029b8005d757b32cbe047d6a4ec6bd375cdf6d791fa8e1658918f8655dca1c
-DIST ggobi_2.1.11.orig.tar.bz2 2787709 BLAKE2B 
e4b853f3212abda00150e6a3b3a344638225bdc564c109632c7ca2f9cb8cc41d35af9df1ee153d2ede3bd3191d9219e2bdd6bd6bc9c64f42447dfe17562361f1
 SHA512 
d34c6569d05d1e680101b62745012940c1e18c1588cd37b89b26b89e9eed9bab8fc53e0585a595b6cb4c9f2bb7d603ca4252cb6a6ba344bbc24e5cc5fd8a6dc1

diff --git a/sci-visualization/ggobi/files/ggobi-2.1.11-Wformat-security.patch 
b/sci-visualization/ggobi/files/ggobi-2.1.11-Wformat-security.patch
deleted file mode 100644
index 960d940a7908..000000000000
--- a/sci-visualization/ggobi/files/ggobi-2.1.11-Wformat-security.patch
+++ /dev/null
@@ -1,36 +0,0 @@
-Fix -Wformat -Werror=format-security errors caused by wrong fprintf calls
-See also: https://bugs.gentoo.org/show_bug.cgi?id=577430
-* utils_ui.c: In function ‘quick_message’:
-* utils_ui.c:192:29: error: format not a string literal and no format 
arguments [-Werror=format-security]
-*                              message);
-
---- ggobi-2.1.11/src/utils_ui.c
-+++ ggobi-2.1.11/src/utils_ui.c
-@@ -189,7 +189,7 @@
- 
-   dialog =
-     gtk_message_dialog_new (NULL, 0, GTK_MESSAGE_INFO, GTK_BUTTONS_OK,
--                            message);
-+                            "%s", message);
- 
-   if (modal)
-     gtk_window_set_modal (GTK_WINDOW (dialog), true);
---- ggobi-2.1.11/src/write_xml.c
-+++ ggobi-2.1.11/src/write_xml.c
-@@ -37,14 +37,14 @@
- write_xml_string(FILE *f, gchar *str)
- {
-   gchar *fmtstr = g_markup_printf_escaped("%s", str);
--  fprintf(f, fmtstr);
-+  fprintf(f, "%s", fmtstr);
-   g_free(fmtstr);
- }
- static void
- write_xml_string_fmt(FILE *f, gchar *fmt, gchar *str)
- {
-   gchar *fmtstr = g_markup_printf_escaped(fmt, str);
--  fprintf(f, fmtstr);
-+  fprintf(f, "%s", fmtstr);
-   g_free(fmtstr);
- }
- 

diff --git a/sci-visualization/ggobi/files/ggobi-2.1.8-plugindir.patch 
b/sci-visualization/ggobi/files/ggobi-2.1.8-plugindir.patch
deleted file mode 100644
index bd831f61ce8a..000000000000
--- a/sci-visualization/ggobi/files/ggobi-2.1.8-plugindir.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- a/plugins/Makefile.plugin
-+++ b/plugins/Makefile.plugin
-@@ -2,7 +2,7 @@
- 
- # Every plugin provides a single library to GGobi, define it here.
- # Its name should start with 'lib' and end with '.la'.
--plugindir = $(datadir)/ggobi/plugins/$(PACKAGE_NAME)
-+plugindir = $(libdir)/ggobi/plugins/$(PACKAGE_NAME)
- plugin_LTLIBRARIES        = plugin.la
- 
- # Most plugins will only require GGobi and its dependencies (gtk, libxml2)

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
deleted file mode 100644
index bc6ef01e4075..000000000000
--- a/sci-visualization/ggobi/files/ggobi-2.1.9-as-needed.patch
+++ /dev/null
@@ -1,61 +0,0 @@
---- a/configure.ac
-+++ b/configure.ac
-@@ -178,6 +178,8 @@
-  echo "Looking for gtk2"
- 
- PKG_CHECK_MODULES(GTK, [gtk+-2.0 >= 2.6.0])
-+AC_CHECK_LIB(m,sqrt)
-+PKG_CHECK_MODULES(GMODULE, [gmodule-2.0 >= 2.0])
- 
- AC_SUBST(GTK_CFLAGS)
- AC_SUBST(GTK_LIBS)
-
---- 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)
- libggobi_la_GOBSTAMPS = $(libggobi_la_GOBS:%.gob=.%.gob.stamp)
--libggobi_la_LDFLAGS  = @GTK_LIBS@ @LIBXML_LIBS@
- libggobi_la_BUILT = array.c ash1d.c barchart.c barchartClass.c \
-   barchart_ui.c brush.c brush_api.c brush_bins.c brush_init.c brush_link.c \
-   brush_ui.c color.c color_ui.c cpanel.c display.c display_tree.c 
display_ui.c \
-@@ -27,7 +26,7 @@
-   write_csv.c write_xml.c wvis.c wvis_ui.c xlines.c xyplot.c \
-   xyplot_ui.c $(libggobi_la_GOBSOURCES)
- libggobi_la_SOURCES = $(libggobi_la_BUILT) $(libggobi_la_GOBSTAMPS)
--libggobi_la_LIBADD = $(libggobi_la_GOBOBJECTS)
-+libggobi_la_LIBADD = $(libggobi_la_GOBOBJECTS) @GTK_LIBS@ @LIBXML_LIBS@ 
@GMODULE_LIBS@
- libggobi_la_DEPENDENCIES = $(libggobi_la_GOBOBJECTS)
- pkginclude_HEADERS = GGobiAPI.h ggobiClass.h tour1d_pp.h GGobiApp.h \
-   noop-toggle.h tour2d_pp.h GGobiEvents.h parcoordsClass.h tour_pp.h \
-@@ -59,7 +58,7 @@
- # Windows specific
- if OS_WIN32
- libggobi_la_DEPENDENCIES+=libggobi.def
--libggobi_la_LDFLAGS+=-Wc,-s -no-undefined -export-symbols libggobi.def
-+libggobi_la_LDFLAGS=-Wc,-s -no-undefined -export-symbols libggobi.def
- 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-r1.ebuild 
b/sci-visualization/ggobi/ggobi-2.1.11-r1.ebuild
deleted file mode 100644
index bda0ae45e96c..000000000000
--- a/sci-visualization/ggobi/ggobi-2.1.11-r1.ebuild
+++ /dev/null
@@ -1,66 +0,0 @@
-# Copyright 1999-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit autotools xdg
-
-DESCRIPTION="Visualization program for exploring high-dimensional data"
-HOMEPAGE="http://www.ggobi.org/";
-# source code release is not well published
-#SRC_URI="http://www.ggobi.org/downloads/${P}.tar.bz2";
-SRC_URI="mirror://debian/pool/main/g/${PN}/${PN}_${PV}.orig.tar.bz2"
-
-LICENSE="CPL-1.0"
-SLOT="0"
-KEYWORDS="amd64 ~x86"
-IUSE="doc minimal nls"
-
-RDEPEND="
-       dev-libs/libxml2:2=
-       media-gfx/graphviz
-       x11-libs/gtk+:2"
-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() {
-       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
-
-       # need the ${S} for recursivity lookup
-       AT_M4DIR="${S}"/m4 eautoreconf
-}
-
-src_configure() {
-       econf \
-               --disable-rpath \
-               $(use_enable nls) \
-               $(use_with !minimal all-plugins)
-}
-
-src_compile() {
-       emake all ggobirc
-}
-
-src_install() {
-       default
-
-       insinto /etc/xdg/ggobi
-       doins ggobirc
-
-       if ! use doc; then
-               rm "${ED}"/usr/share/doc/${PF}/*.pdf || die
-       fi
-
-       # no static archives
-       find "${ED}" -name '*.la' -delete || die
-}

Reply via email to