Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-mathematics/genius/, sci-mathematics/genius/files/
Date: Tue, 30 Aug 2022 17:25:32
Message-Id: 1661880313.78738eca4dfef0cb67fae02b3077e1cc701b2d66.asturm@gentoo
1 commit: 78738eca4dfef0cb67fae02b3077e1cc701b2d66
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Tue Aug 30 17:22:46 2022 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Tue Aug 30 17:25:13 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=78738eca
7
8 sci-mathematics/genius: drop 1.0.25, EAPI-6--
9
10 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
11
12 sci-mathematics/genius/Manifest | 1 -
13 .../files/genius-1.0.25-vte-conf-fixes.patch | 173 ---------------------
14 sci-mathematics/genius/genius-1.0.25.ebuild | 58 -------
15 3 files changed, 232 deletions(-)
16
17 diff --git a/sci-mathematics/genius/Manifest b/sci-mathematics/genius/Manifest
18 index 2acad4cb90fb..f993b393f99c 100644
19 --- a/sci-mathematics/genius/Manifest
20 +++ b/sci-mathematics/genius/Manifest
21 @@ -1,3 +1,2 @@
22 -DIST genius-1.0.25.tar.xz 2935920 BLAKE2B 9e5a58e15a1e53a64b10c662f1dea91ec80987d1be3ec208aaff76f59d1f9f5b2f9b2b1a2d6bede9c2cae5258038b2995b3bce6600471d088653b1392a1a8eb1 SHA512 ecd01acceb4cea3cb9796edaebc983ed7c0ee618737d98755882a845ddc07e1307851ef9fba75714bc33868556f03c004e03c3b9c42425293cb59a86b8af17a9
23 DIST genius-1.0.27.tar.xz 2918348 BLAKE2B 6fcbcc270bb90fb3e949cb1f2707a32ff6d1282a17ef2bd90984427b472395d8f54852414b71b4acb212c28c3a0f313111dc1e8a63915668de7525d231141aa0 SHA512 e0361f8bb6aacf1e631046a61f8e3492212f33b152afa881947a882575ad64917bd80e3ba125d706bd89096b8684ad135f7bddc93fa9f164c2ec8e06140af348
24 DIST genius-reference.pdf 1024944 BLAKE2B e0058fbd266a4ed4bf29306520ac64b7ff9a970fa79b5132f5556b61a97dd985fe916c888d0d5a678528ef231a9c66310dc2affe01491c7848451b3d54f58274 SHA512 04af3870104d2320b1d4b345d74d713a0dfcdf8a228002506508f437659b3ef6037ead0b1f6b37cc335692150750b58c4007fdaaddd9540233474ccd10dac285
25
26 diff --git a/sci-mathematics/genius/files/genius-1.0.25-vte-conf-fixes.patch b/sci-mathematics/genius/files/genius-1.0.25-vte-conf-fixes.patch
27 deleted file mode 100644
28 index 54d3a65c7ff3..000000000000
29 --- a/sci-mathematics/genius/files/genius-1.0.25-vte-conf-fixes.patch
30 +++ /dev/null
31 @@ -1,173 +0,0 @@
32 -From 3b0ffaf91894a70d5d3eefcf587a258cdc818a8f Mon Sep 17 00:00:00 2001
33 -From: Mart Raudsepp <leio@g.o>
34 -Date: Fri, 13 Mar 2020 00:37:32 +0200
35 -Subject: [PATCH] Clean up vte configure.ac handling
36 -
37 ----
38 - configure.ac | 113 +-----------------------------------------------
39 - src/Makefile.am | 2 -
40 - 2 files changed, 2 insertions(+), 113 deletions(-)
41 -
42 -diff --git a/configure.ac b/configure.ac
43 -index 6c70c5c9..9d8e76a8 100644
44 ---- a/configure.ac
45 -+++ b/configure.ac
46 -@@ -19,9 +19,9 @@ PKG_PROG_PKG_CONFIG
47 -
48 - dnl ================= Requirements ================================================
49 -
50 -+VTE_REQUIRED=0.50.0
51 - GTK_REQUIRED=3.21.4
52 - GLIB_REQUIRED=2.41.1
53 --PANGO_REQUIRED=1.22.0
54 - GTKSOURCEVIEW4_REQUIRED=3.99.7
55 - GIO_REQUIRED=2.16.0
56 -
57 -@@ -123,7 +123,7 @@ PKG_CHECK_MODULES(GLIB, glib-2.0 >= $GLIB_REQUIRED)
58 - AC_SUBST(GLIB_CFLAGS)
59 - AC_SUBST(GLIB_LIBS)
60 -
61 --GENIUS_MODULES="amtk-5 gtk+-3.0 >= $GTK_REQUIRED gio-2.0 >= $GIO_REQUIRED"
62 -+GENIUS_MODULES="amtk-5 gtk+-3.0 >= $GTK_REQUIRED gio-2.0 >= $GIO_REQUIRED vte-2.91 >= $VTE_REQUIRED"
63 -
64 - if test "x$use_gnome" = "xyes" ; then
65 - echo "
66 -@@ -260,115 +260,6 @@ AC_ARG_ENABLE(update-mimedb,
67 - AM_CONDITIONAL(ENABLE_UPDATE_MIMEDB, test x$enable_update_mimedb = xyes)
68 -
69 -
70 --####
71 --# VTE STUFF, this is all temporary pending a port to gtk 3.0 in the star trek future
72 --# FIXME: OK this happened, so things ought to be properly "whacked" (removed)
73 --
74 --AC_PATH_PROG([GLIB_MKENUMS],[glib-mkenums])
75 --AC_DEFINE_UNQUOTED(VTE_DEFAULT_EMULATION,"xterm",[The default terminal type to be emulated.])
76 --VTE_DEFAULT_EMULATION="xterm"
77 --AC_SUBST(VTE_DEFAULT_EMULATION)
78 --
79 --# Check for headers.
80 --AC_CHECK_HEADERS(sys/select.h sys/syslimits.h sys/termios.h sys/un.h sys/wait.h stropts.h termios.h wchar.h)
81 --AC_HEADER_TIOCGWINSZ
82 --
83 --# Check for PTY handling functions.
84 --AC_CHECK_FUNCS([cfmakeraw fork setsid setpgid getpgid getpt grantpt unlockpt ptsname ptsname_r tcgetattr tcsetattr])
85 --
86 --# Pull in the right libraries for various functions which might not be
87 --# bundled into an exploded libc.
88 --AC_CHECK_FUNC(socket,[have_socket=1],AC_CHECK_LIB(socket,socket,[have_socket=1; LIBS="$LIBS -lsocket"]))
89 --AC_CHECK_FUNC(socketpair,[have_socketpair=1],AC_CHECK_LIB(socket,socketpair,[have_socketpair=1; LIBS="$LIBS -lsocket"]))
90 --AC_CHECK_FUNC(recvmsg,[have_recvmsg=1],AC_CHECK_LIB(socket,recvmsg,[have_recvmsg=1; LIBS="$LIBS -lsocket -lnsl"]))
91 --if test x$have_socket = x1 ; then
92 -- AC_DEFINE(HAVE_SOCKET,1,[Define if you have the socket function.])
93 --fi
94 --if test x$have_socketpair = x1 ; then
95 -- AC_DEFINE(HAVE_SOCKETPAIR,1,[Define if you have the socketpair function.])
96 --fi
97 --if test x$have_recvmsg = x1 ; then
98 -- AC_DEFINE(HAVE_RECVMSG,1,[Define if you have the recvmsg function.])
99 --fi
100 --AC_CHECK_FUNC(floor,,AC_CHECK_LIB(m,floor,LIBS=["$LIBS -lm"]))
101 --AC_CHECK_FUNCS([ceil floor])
102 --
103 --# Look for tgetent
104 --
105 --AC_CHECK_FUNC([tgetent],[vte_cv_termcap_lib=libc],
106 -- [AC_CHECK_LIB([ncurses],[tgetent],[vte_cv_termcap_lib=libncurses],
107 -- [AC_CHECK_LIB([tinfo],[tgetent],[vte_cv_termcap_lib=libtinfo],
108 -- [AC_CHECK_LIB([curses],[tgetent],[vte_cv_termcap_lib=libcurses],
109 -- [AC_CHECK_LIB([termcap],[tgetent],[vte_cv_termcap_lib=libtermcap],
110 -- [vte_cv_termcap_lib=])])])])])
111 --
112 --case "$vte_cv_termcap_lib" in
113 -- libc) # FIXME: which headers to include here?
114 -- ;;
115 -- libncurses) # We need ncurses.h and term.h, or ncurses/curses.h and ncurses/term.h
116 -- AC_CHECK_HEADERS([ncurses.h term.h],[],
117 -- [AC_CHECK_HEADERS([ncurses/curses.h ncurses/term.h],[],
118 -- [AC_MSG_ERROR([ncurses headers not found])])])
119 -- LIBS="-lncurses $LIBS"
120 -- ;;
121 -- libtinfo) # Need ncurses/curses.h and ncurses/term.h
122 -- AC_CHECK_HEADERS([ncurses.h term.h],[],
123 -- [AC_CHECK_HEADERS([ncurses/curses.h ncurses/term.h],[],
124 -- [AC_MSG_ERROR([ncurses headers not found])])])
125 -- LIBS="-ltinfo $LIBS"
126 -- ;;
127 -- libcurses) # Need curses.h and term.h
128 -- AC_CHECK_HEADERS([curses.h term.h],[],
129 -- [AC_MSG_ERROR([curses headers not found])],
130 -- [[#ifdef HAVE_CURSES_H
131 -- #include <curses.h>
132 -- #endif]])
133 -- LIBS="-lcurses $LIBS"
134 -- ;;
135 -- libtermcap) # Need termcap.h
136 -- AC_CHECK_HEADERS([termcap.h],[],
137 -- [AC_MSG_ERROR([termcap headers not found])])
138 -- LIBS="-ltermcap $LIBS"
139 -- ;;
140 -- *) AC_MSG_ERROR([tgetent not found in any library]) ;;
141 --esac
142 --
143 --# Search for the required modules.
144 --
145 --# We have a direct dependency on X11 on gdk-x11, see bug #613525
146 --AC_MSG_CHECKING([for GDK target])
147 --GDK_TARGET="$($PKG_CONFIG --variable target gdk-3.0)"
148 --AC_MSG_RESULT([$GDK_TARGET])
149 --case "$GDK_TARGET" in
150 -- x11) PLATFORM_PKGS="x11 cairo-xlib" ;;
151 -- *) PLATFORM_PKGS="" ;;
152 --esac
153 --
154 --VTE_PKGS="vte-2.91"
155 --PKG_CHECK_MODULES([VTE],[$VTE_PKGS])
156 --AC_SUBST([VTE_PKGS])
157 --
158 --wcs_funcs_includes="
159 --#ifdef HAVE_STRING_H
160 --# if !STDC_HEADERS && HAVE_MEMORY_H
161 --# include <memory.h>
162 --# endif
163 --# include <string.h>
164 --#else
165 --# ifdef HAVE_STRINGS_H
166 --# include <strings.h>
167 --# endif
168 --#endif
169 --#ifdef HAVE_WCHAR_H
170 --# include <wchar.h>
171 --#endif
172 --"
173 --
174 --AC_CHECK_TYPES(wint_t, AC_DEFINE(HAVE_WINT_T, , [Defined when the wint_t type is supported]), ,$wcs_funcs_includes)
175 --
176 --
177 --########
178 --
179 - AC_OUTPUT([
180 - genius.spec
181 - Makefile
182 -diff --git a/src/Makefile.am b/src/Makefile.am
183 -index 8408becd..f58eb689 100644
184 ---- a/src/Makefile.am
185 -+++ b/src/Makefile.am
186 -@@ -22,7 +22,6 @@ AM_CPPFLAGS = \
187 - -I$(top_builddir)/ve \
188 - -I$(top_builddir)/gtkextra \
189 - $(WARN_CFLAGS) \
190 -- $(VTE_CFLAGS) \
191 - $(BINRELOC_CFLAGS) \
192 - $(GMP_INCLUDEDIR) \
193 - $(GENIUS_CFLAGS) \
194 -@@ -102,7 +101,6 @@ gnome_genius_LDADD = \
195 - @LEXLIB@ \
196 - $(INTLLIBS) \
197 - $(GENIUS_LIBS) \
198 -- $(VTE_LIBS) \
199 - $(GENIUS_NOGUI_LIBS) \
200 - $(GSV_LIBS) \
201 - @READLINE_LIB@ \
202 ---
203 -2.20.1
204 -
205
206 diff --git a/sci-mathematics/genius/genius-1.0.25.ebuild b/sci-mathematics/genius/genius-1.0.25.ebuild
207 deleted file mode 100644
208 index c99f76f27f46..000000000000
209 --- a/sci-mathematics/genius/genius-1.0.25.ebuild
210 +++ /dev/null
211 @@ -1,58 +0,0 @@
212 -# Copyright 1999-2021 Gentoo Authors
213 -# Distributed under the terms of the GNU General Public License v2
214 -
215 -EAPI=6
216 -GNOME2_LA_PUNT="yes"
217 -GNOME2_EAUTORECONF="yes"
218 -
219 -inherit gnome2
220 -
221 -DESCRIPTION="Genius Mathematics Tool and the GEL Language"
222 -HOMEPAGE="https://www.jirka.org/genius.html"
223 -SRC_URI="${SRC_URI}
224 - doc? ( https://www.jirka.org/${PN}-reference.pdf )"
225 -
226 -LICENSE="GPL-3+"
227 -SLOT="0"
228 -KEYWORDS="amd64 ~arm64 ~x86"
229 -IUSE="doc +gui"
230 -
231 -RDEPEND="
232 - >=dev-libs/glib-2.41.1:2
233 - dev-libs/gmp:0=
234 - dev-libs/mpfr:0=
235 - sys-libs/ncurses:0=
236 - sys-libs/readline:0=
237 - gui? (
238 - >=x11-libs/gtk+-3.21.4:3
239 - >=x11-libs/gtksourceview-3.99.7:4
240 - gui-libs/amtk:5
241 - >=x11-libs/vte-0.50.0:2.91 )
242 -"
243 -DEPEND="${RDEPEND}
244 - dev-util/gtk-update-icon-cache
245 - dev-util/intltool
246 - sys-devel/autoconf-archive
247 - sys-devel/flex
248 - virtual/yacc
249 -" # eautoreconf needs sys-devel/autoconf-archive
250 -# dev-util/gtk-update-icon-cache because configure checks for it for some reason and never calls it with DESTDIR set..
251 -
252 -PATCHES=(
253 - "${FILESDIR}/${PN}-1.0.24-no_scrollkeeper.patch"
254 - "${FILESDIR}/${P}-vte-conf-fixes.patch"
255 -)
256 -
257 -src_configure() {
258 - # Unrecognized --disable-scrollkeeper warning comes from gnome2.eclass adding it based on grep, but upstream has them commented out in .ac with "#" instead of "dnl"
259 - gnome2_src_configure \
260 - $(use_enable gui gnome) \
261 - --enable-nls \
262 - --disable-extra-gcc-optimization \
263 - --disable-static
264 -}
265 -
266 -src_install() {
267 - use doc && DOCS+=" ${DISTDIR}/${PN}-reference.pdf"
268 - gnome2_src_install
269 -}