* [gentoo-commits] repo/gentoo:master commit in: sci-electronics/geda/, sci-electronics/geda/files/
@ 2020-12-28 14:16 David Seifert
0 siblings, 0 replies; 3+ messages in thread
From: David Seifert @ 2020-12-28 14:16 UTC (permalink / raw
To: gentoo-commits
commit: 0b12111fda0e3e00c201e5c52003259788f2ca15
Author: Jakov Smolic <jakov.smolic <AT> sartura <DOT> hr>
AuthorDate: Mon Dec 28 14:15:42 2020 +0000
Commit: David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Mon Dec 28 14:15:42 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0b12111f
sci-electronics/geda: Port to EAPI 7
Closes: https://bugs.gentoo.org/707892
Package-Manager: Portage-3.0.9, Repoman-3.0.1
Signed-off-by: Jakov Smolic <jakov.smolic <AT> sartura.hr>
Signed-off-by: David Seifert <soap <AT> gentoo.org>
.../geda/files/geda-1.9.2-fno-common.patch | 97 ++++++++++++++++++++++
sci-electronics/geda/geda-1.9.2-r1.ebuild | 75 ++++++++---------
2 files changed, 132 insertions(+), 40 deletions(-)
diff --git a/sci-electronics/geda/files/geda-1.9.2-fno-common.patch b/sci-electronics/geda/files/geda-1.9.2-fno-common.patch
new file mode 100644
index 00000000000..c509b42904a
--- /dev/null
+++ b/sci-electronics/geda/files/geda-1.9.2-fno-common.patch
@@ -0,0 +1,97 @@
+--- a/gschem/include/globals.h
++++ b/gschem/include/globals.h
+@@ -27,7 +27,7 @@
+ extern GList *global_window_list;
+
+ /* Manager for recently used files */
+-GtkRecentManager *recent_manager;
++extern GtkRecentManager *recent_manager;
+
+ /* colors */
+ extern GdkColor white;
+--- a/gschem/src/globals.c
++++ b/gschem/src/globals.c
+@@ -28,6 +28,8 @@
+ /* window list */
+ GList *global_window_list = NULL;
+
++GtkRecentManager *recent_manager = NULL;
++
+ char *rc_filename = NULL;
+ char *output_filename = NULL;
+
+--- a/gattrib/include/globals.h
++++ b/gattrib/include/globals.h
+@@ -88,7 +88,7 @@
+ * structs.h
+ */
+ /*------------------------------------------------------------------*/
+-TOPLEVEL *pr_current;
++extern TOPLEVEL *pr_current;
+
+ /*------------------------------------------------------------------*/
+ /*!
+@@ -97,7 +97,7 @@ TOPLEVEL *pr_current;
+ * callbacks. It is defined in structs.h
+ */
+ /*------------------------------------------------------------------*/
+-SHEET_DATA *sheet_head;
++extern SHEET_DATA *sheet_head;
+
+ /*------------------------------------------------------------------
+ * GTKsheet includes: stuff for dealing with windows.
+@@ -106,18 +106,18 @@ SHEET_DATA *sheet_head;
+ #define DEFAULT_SPACE 8
+ #define NUM_SHEETS 3 /* Components, Nets, and Pins */
+
+-GtkWidget *window; /* Main window */
+-GtkWidget *notebook;
++extern GtkWidget *window; /* Main window */
++extern GtkWidget *notebook;
+
+-GtkSheet **sheets; /* These are the spreadsheet widgets themselves */
++extern GtkSheet **sheets; /* These are the spreadsheet widgets themselves */
+
+-GtkWidget **scrolled_windows;
+-GtkWidget *entry;
+-GtkWidget *location;
+-GtkWidget *left_button;
+-GtkWidget *center_button;
+-GtkWidget *right_button;
+-GtkWidget *label;
++extern GtkWidget **scrolled_windows;
++extern GtkWidget *entry;
++extern GtkWidget *location;
++extern GtkWidget *left_button;
++extern GtkWidget *center_button;
++extern GtkWidget *right_button;
++extern GtkWidget *label;
+
+ /* command line switch settings */
+ extern int verbose_mode;
+--- a/gattrib/src/globals.c
++++ b/gattrib/src/globals.c
+@@ -34,6 +34,23 @@
+ #include "../include/prototype.h" /* function prototypes */
+ #include "../include/globals.h"
+
++TOPLEVEL *pr_current;
++
++SHEET_DATA *sheet_head;
++
++GtkWidget *window;
++GtkWidget *notebook;
++
++GtkSheet **sheets;
++
++GtkWidget **scrolled_windows;
++GtkWidget *entry;
++GtkWidget *location;
++GtkWidget *left_button;
++GtkWidget *center_button;
++GtkWidget *right_button;
++GtkWidget *label;
++
+ /* command line arguments */
+ int verbose_mode=FALSE; //!< Reflects the value of the command line flag
+ int quiet_mode=FALSE; //!< Reflects the value of the command line flag
diff --git a/sci-electronics/geda/geda-1.9.2-r1.ebuild b/sci-electronics/geda/geda-1.9.2-r1.ebuild
index b0b3ffbf999..c85d6f34977 100644
--- a/sci-electronics/geda/geda-1.9.2-r1.ebuild
+++ b/sci-electronics/geda/geda-1.9.2-r1.ebuild
@@ -1,46 +1,47 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
-inherit autotools eutils xdg-utils gnome2-utils versionator
+EAPI=7
+
+inherit autotools xdg
MY_PN=${PN}-gaf
MY_P=${MY_PN}-${PV}
DESCRIPTION="GPL Electronic Design Automation (gEDA):gaf core package"
HOMEPAGE="http://wiki.geda-project.org/geda:gaf"
-SRC_URI="http://ftp.geda-project.org/${MY_PN}/unstable/v$(get_version_component_range 1-2)/${PV}/${MY_P}.tar.gz"
+SRC_URI="http://ftp.geda-project.org/${MY_PN}/unstable/v$(ver_cut 1-2)/${PV}/${MY_P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ppc x86"
IUSE="debug doc examples nls stroke threads"
-CDEPEND="
+RDEPEND="
dev-libs/glib:2
+ dev-scheme/guile
+ sci-electronics/electronics-menu
+ x11-libs/cairo
+ x11-libs/gdk-pixbuf
x11-libs/gtk+:2
x11-libs/pango
- >=x11-libs/cairo-1.2.0
- x11-libs/gdk-pixbuf
- >=dev-scheme/guile-2.0.0
nls? ( virtual/libintl )
- stroke? ( >=dev-libs/libstroke-0.5.1 )"
+ stroke? ( dev-libs/libstroke )"
-DEPEND="${CDEPEND}
- sys-apps/groff
+DEPEND="${RDEPEND}
dev-util/desktop-file-utils
- x11-misc/shared-mime-info
+ x11-misc/shared-mime-info"
+BDEPEND="
+ sys-apps/groff
virtual/pkgconfig
- nls? ( >=sys-devel/gettext-0.16 )"
-
-RDEPEND="${CDEPEND}
- sci-electronics/electronics-menu"
-
-S=${WORKDIR}/${MY_P}
+ nls? ( sys-devel/gettext )"
-DOCS="AUTHORS NEWS README"
+S="${WORKDIR}/${MY_P}"
-PATCHES=( "${FILESDIR}"/${P}-guile-2.2.patch )
+PATCHES=(
+ "${FILESDIR}"/${P}-guile-2.2.patch
+ "${FILESDIR}"/${P}-fno-common.patch
+)
src_prepare() {
default
@@ -65,36 +66,30 @@ src_prepare() {
sed -i -e 's/sarlacc_schem_LDFLAGS =/sarlacc_schem_LDFLAGS = $(GIO_LIBS)/' \
contrib/sarlacc_schem/Makefile.am || die
+ rm docs/wiki/media/geda/gsch2pcb-libs.tar.gz || die
+
eautoreconf
}
src_configure() {
- econf \
- $(use_enable threads threads posix) \
- $(use_with stroke libstroke) \
- $(use_enable nls) \
- $(use_enable debug assert) \
- --disable-doxygen \
- --disable-rpath \
+ local myconf=(
+ --disable-doxygen
+ --disable-rpath
--disable-update-xdg-database
+ $(use_enable debug assert)
+ $(use_enable nls)
+ $(use_enable threads threads posix)
+ $(use_with stroke libstroke)
+ )
+
+ econf "${myconf[@]}"
}
src_test() {
emake -j1 check
}
-pkg_preinst() {
- gnome2_icon_savelist
-}
-
-pkg_postinst() {
- xdg_desktop_database_update
- xdg_mimeinfo_database_update
- gnome2_icon_cache_update
-}
-
-pkg_postrm() {
- xdg_desktop_database_update
- xdg_mimeinfo_database_update
- gnome2_icon_cache_update
+src_install() {
+ default
+ find "${ED}" -name '*.la' -delete || die
}
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-electronics/geda/, sci-electronics/geda/files/
@ 2022-03-02 19:27 Andrew Ammerlaan
0 siblings, 0 replies; 3+ messages in thread
From: Andrew Ammerlaan @ 2022-03-02 19:27 UTC (permalink / raw
To: gentoo-commits
commit: a060c466975c554fa26dec940b473e67b72bed62
Author: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
AuthorDate: Wed Mar 2 19:27:06 2022 +0000
Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Wed Mar 2 19:27:18 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a060c466
sci-electronics/geda: drop xorn completely
This is an optional CLI utility that is stuck on python2
Closes: https://bugs.gentoo.org/834496
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>
.../geda/files/geda-1.10.2-drop-xorn.patch | 60 ++++++++++++++++++++++
.../{geda-1.10.2.ebuild => geda-1.10.2-r1.ebuild} | 17 +++---
2 files changed, 68 insertions(+), 9 deletions(-)
diff --git a/sci-electronics/geda/files/geda-1.10.2-drop-xorn.patch b/sci-electronics/geda/files/geda-1.10.2-drop-xorn.patch
new file mode 100644
index 000000000000..f1532677bd53
--- /dev/null
+++ b/sci-electronics/geda/files/geda-1.10.2-drop-xorn.patch
@@ -0,0 +1,60 @@
+diff --git a/Makefile.am b/Makefile.am
+index 161083c..d54eded 100644
+--- a/Makefile.am
++++ b/Makefile.am
+@@ -2,7 +2,7 @@ if ENABLE_GATTRIB
+ GATTRIB_DIR=gattrib
+ endif
+ SUBDIRS = libgeda libgedacairo gaf gschem ${GATTRIB_DIR} \
+- gsymcheck gnetlist-legacy utils symbols docs examples contrib xorn
++ gsymcheck gnetlist-legacy utils symbols docs examples contrib
+
+ ACLOCAL_AMFLAGS = -I m4
+
+diff --git a/Makefile.in b/Makefile.in
+index 31778d8..59789e6 100644
+--- a/Makefile.in
++++ b/Makefile.in
+@@ -180,7 +180,7 @@ ETAGS = etags
+ CTAGS = ctags
+ CSCOPE = cscope
+ DIST_SUBDIRS = libgeda libgedacairo gaf gschem gattrib gsymcheck \
+- gnetlist-legacy utils symbols docs examples contrib xorn
++ gnetlist-legacy utils symbols docs examples contrib
+ am__DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/config.h.in \
+ $(top_srcdir)/build-tools/ar-lib \
+ $(top_srcdir)/build-tools/compile \
+@@ -454,7 +454,7 @@ top_builddir = @top_builddir@
+ top_srcdir = @top_srcdir@
+ @ENABLE_GATTRIB_TRUE@GATTRIB_DIR = gattrib
+ SUBDIRS = libgeda libgedacairo gaf gschem ${GATTRIB_DIR} \
+- gsymcheck gnetlist-legacy utils symbols docs examples contrib xorn
++ gsymcheck gnetlist-legacy utils symbols docs examples contrib
+
+ ACLOCAL_AMFLAGS = -I m4
+
+diff --git a/autogen.sh b/autogen.sh
+index 7b82f04..4d81174 100755
+--- a/autogen.sh
++++ b/autogen.sh
+@@ -225,4 +225,4 @@ fi
+ run_tool "$AUTOHEADER" &&
+ run_tool "$AUTOMAKE" -Wall --copy --add-missing --gnu &&
+ run_tool "$AUTOCONF" &&
+- (cd xorn && autoreconf -if))
++ )
+
+ #####################################################################
+diff --git a/configure.ac b/configure.ac
+index 1f19064..257ee20 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -197,8 +197,6 @@ AX_LIBGEDACAIRO([1:3:0])
+ export GEDADATADIR
+ export GEDARCDIR
+
+-AC_CONFIG_SUBDIRS([xorn])
+-
+ #####################################################################
+ # Generate output
+ #####################################################################
diff --git a/sci-electronics/geda/geda-1.10.2.ebuild b/sci-electronics/geda/geda-1.10.2-r1.ebuild
similarity index 87%
rename from sci-electronics/geda/geda-1.10.2.ebuild
rename to sci-electronics/geda/geda-1.10.2-r1.ebuild
index 535b6ce530a8..b573743f9c9e 100644
--- a/sci-electronics/geda/geda-1.10.2.ebuild
+++ b/sci-electronics/geda/geda-1.10.2-r1.ebuild
@@ -3,10 +3,9 @@
EAPI=8
-PYTHON_COMPAT=( python3_{8..10} )
DOCS_BUILDER="doxygen"
DOCS_DEPEND="media-gfx/graphviz"
-inherit autotools docs python-single-r1 xdg
+inherit autotools docs xdg
MY_PN=${PN}-gaf
MY_P=${MY_PN}-${PV}
@@ -19,12 +18,9 @@ S="${WORKDIR}/${MY_P}"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
-IUSE="debug examples fam nls stroke threads"
+IUSE="debug examples fam nls"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-# The Xorn python bindings aren't quite working
-RESTRICT="test"
-
RDEPEND="${PYTHON_DEPS}
dev-libs/glib:2
dev-scheme/guile
@@ -34,7 +30,6 @@ RDEPEND="${PYTHON_DEPS}
x11-libs/gtk+:2
x11-libs/pango
nls? ( virtual/libintl )
- stroke? ( dev-libs/libstroke )
fam? ( app-admin/gamin )
"
@@ -47,8 +42,14 @@ BDEPEND="
nls? ( sys-devel/gettext )
"
+# Xorn requires python2
+PATCHES=(
+ "${FILESDIR}/${P}-drop-xorn.patch"
+)
+
src_prepare() {
default
+ rm -r xorn || die
if ! use doc ; then
sed -i -e '/^SUBDIRS = /s/docs//' Makefile.in || die
@@ -85,8 +86,6 @@ src_configure() {
$(use_enable doc doxygen)
$(use_enable debug assert)
$(use_enable nls)
- $(use_enable threads threads posix)
- $(use_with stroke libstroke)
$(use_with fam libfam)
)
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-electronics/geda/, sci-electronics/geda/files/
@ 2024-03-12 6:45 Sam James
0 siblings, 0 replies; 3+ messages in thread
From: Sam James @ 2024-03-12 6:45 UTC (permalink / raw
To: gentoo-commits
commit: 5183cbdcacbf22defb6b4145b78340fbebb22bf2
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Mar 12 06:23:08 2024 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Mar 12 06:44:21 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5183cbdc
sci-electronics/geda: drop 1.9.2-r1, 1.10.2-r1
Signed-off-by: Sam James <sam <AT> gentoo.org>
sci-electronics/geda/Manifest | 1 -
.../geda/files/geda-1.9.2-fno-common.patch | 97 ----------------------
.../geda/files/geda-1.9.2-guile-2.2.patch | 16 ----
sci-electronics/geda/geda-1.10.2-r1.ebuild | 97 ----------------------
sci-electronics/geda/geda-1.9.2-r1.ebuild | 95 ---------------------
sci-electronics/geda/metadata.xml | 3 -
6 files changed, 309 deletions(-)
diff --git a/sci-electronics/geda/Manifest b/sci-electronics/geda/Manifest
index 4639d6ec8227..c84543cdf7b2 100644
--- a/sci-electronics/geda/Manifest
+++ b/sci-electronics/geda/Manifest
@@ -1,2 +1 @@
DIST geda-gaf-1.10.2.tar.gz 14441491 BLAKE2B d6ecc4bc1390ff457396ae406fdeee909418f63d8c50e537215fa0a1131cfda91339f44ddc2c91ca0f3772f4416be1c4448fea45336c78bb601fb9b4df399b14 SHA512 c7beabf019762d9d3b4faa63f1345fb064ebbb6e0203a6c5bcab6b740d20db9f3cedf85c2f99e3ab1cb5396c06886fad1dbd5201eb7bad9e77c03511cf23b1a1
-DIST geda-gaf-1.9.2.tar.gz 10612225 BLAKE2B d09accde32f672b984bc2541404efccc886edb15e985bab287b4a619f11fc10cfd2b3ce3074d82c1a61811c4df9e515ecfbc61bd537c6943188b130062bda97f SHA512 5e26ea2cffffe50bd4f0bdb4594af9cc4510386d29c715c2b4ea99c6522838a08cc2045bf65e8b1da01ab33a266fc9f03da42e28b8cc4d5c030001777ab077e3
diff --git a/sci-electronics/geda/files/geda-1.9.2-fno-common.patch b/sci-electronics/geda/files/geda-1.9.2-fno-common.patch
deleted file mode 100644
index c509b42904a8..000000000000
--- a/sci-electronics/geda/files/geda-1.9.2-fno-common.patch
+++ /dev/null
@@ -1,97 +0,0 @@
---- a/gschem/include/globals.h
-+++ b/gschem/include/globals.h
-@@ -27,7 +27,7 @@
- extern GList *global_window_list;
-
- /* Manager for recently used files */
--GtkRecentManager *recent_manager;
-+extern GtkRecentManager *recent_manager;
-
- /* colors */
- extern GdkColor white;
---- a/gschem/src/globals.c
-+++ b/gschem/src/globals.c
-@@ -28,6 +28,8 @@
- /* window list */
- GList *global_window_list = NULL;
-
-+GtkRecentManager *recent_manager = NULL;
-+
- char *rc_filename = NULL;
- char *output_filename = NULL;
-
---- a/gattrib/include/globals.h
-+++ b/gattrib/include/globals.h
-@@ -88,7 +88,7 @@
- * structs.h
- */
- /*------------------------------------------------------------------*/
--TOPLEVEL *pr_current;
-+extern TOPLEVEL *pr_current;
-
- /*------------------------------------------------------------------*/
- /*!
-@@ -97,7 +97,7 @@ TOPLEVEL *pr_current;
- * callbacks. It is defined in structs.h
- */
- /*------------------------------------------------------------------*/
--SHEET_DATA *sheet_head;
-+extern SHEET_DATA *sheet_head;
-
- /*------------------------------------------------------------------
- * GTKsheet includes: stuff for dealing with windows.
-@@ -106,18 +106,18 @@ SHEET_DATA *sheet_head;
- #define DEFAULT_SPACE 8
- #define NUM_SHEETS 3 /* Components, Nets, and Pins */
-
--GtkWidget *window; /* Main window */
--GtkWidget *notebook;
-+extern GtkWidget *window; /* Main window */
-+extern GtkWidget *notebook;
-
--GtkSheet **sheets; /* These are the spreadsheet widgets themselves */
-+extern GtkSheet **sheets; /* These are the spreadsheet widgets themselves */
-
--GtkWidget **scrolled_windows;
--GtkWidget *entry;
--GtkWidget *location;
--GtkWidget *left_button;
--GtkWidget *center_button;
--GtkWidget *right_button;
--GtkWidget *label;
-+extern GtkWidget **scrolled_windows;
-+extern GtkWidget *entry;
-+extern GtkWidget *location;
-+extern GtkWidget *left_button;
-+extern GtkWidget *center_button;
-+extern GtkWidget *right_button;
-+extern GtkWidget *label;
-
- /* command line switch settings */
- extern int verbose_mode;
---- a/gattrib/src/globals.c
-+++ b/gattrib/src/globals.c
-@@ -34,6 +34,23 @@
- #include "../include/prototype.h" /* function prototypes */
- #include "../include/globals.h"
-
-+TOPLEVEL *pr_current;
-+
-+SHEET_DATA *sheet_head;
-+
-+GtkWidget *window;
-+GtkWidget *notebook;
-+
-+GtkSheet **sheets;
-+
-+GtkWidget **scrolled_windows;
-+GtkWidget *entry;
-+GtkWidget *location;
-+GtkWidget *left_button;
-+GtkWidget *center_button;
-+GtkWidget *right_button;
-+GtkWidget *label;
-+
- /* command line arguments */
- int verbose_mode=FALSE; //!< Reflects the value of the command line flag
- int quiet_mode=FALSE; //!< Reflects the value of the command line flag
diff --git a/sci-electronics/geda/files/geda-1.9.2-guile-2.2.patch b/sci-electronics/geda/files/geda-1.9.2-guile-2.2.patch
deleted file mode 100644
index 631673367801..000000000000
--- a/sci-electronics/geda/files/geda-1.9.2-guile-2.2.patch
+++ /dev/null
@@ -1,16 +0,0 @@
---- geda-gaf-1.9.2/m4/geda-guile.m4
-+++ geda-gaf-1.9.2/m4/geda-guile.m4
-@@ -35,8 +35,13 @@
- GUILE_MIN_TEENY=`echo ${GUILE_MIN_VER} | sed -e 's;.*\.;;'`
-
- _found_pkg_config_guile=yes
-+ PKG_CHECK_MODULES(GUILE, [guile-2.2 >= $GUILE_MIN_VER],
-+ [GUILE_PKG_NAME=guile-2.2], [_found_pkg_config_guile=no])
-+
-+ if test "${_found_pkg_config_guile}" = "no" ; then
- PKG_CHECK_MODULES(GUILE, [guile-2.0 >= $GUILE_MIN_VER],
- [GUILE_PKG_NAME=guile-2.0], [_found_pkg_config_guile=no])
-+ fi
-
- if test "${_found_pkg_config_guile}" = "no" ; then
- PKG_CHECK_MODULES(GUILE, [guile-1.8 >= $GUILE_MIN_VER],
diff --git a/sci-electronics/geda/geda-1.10.2-r1.ebuild b/sci-electronics/geda/geda-1.10.2-r1.ebuild
deleted file mode 100644
index 314a941f9a7f..000000000000
--- a/sci-electronics/geda/geda-1.10.2-r1.ebuild
+++ /dev/null
@@ -1,97 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DOCS_BUILDER="doxygen"
-DOCS_DEPEND="
- media-gfx/graphviz
- media-gfx/imagemagick
- virtual/latex-base
-"
-inherit autotools docs xdg
-
-MY_PN=${PN}-gaf
-MY_P=${MY_PN}-${PV}
-
-DESCRIPTION="GPL Electronic Design Automation (gEDA):gaf core package"
-HOMEPAGE="http://wiki.geda-project.org/geda:gaf"
-SRC_URI="http://ftp.geda-project.org/${MY_PN}/stable/v$(ver_cut 1-2)/${PV}/${MY_P}.tar.gz"
-S="${WORKDIR}/${MY_P}"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86"
-IUSE="debug examples fam nls"
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-RDEPEND="${PYTHON_DEPS}
- dev-libs/glib:2
- dev-scheme/guile
- sci-electronics/electronics-menu
- x11-libs/cairo
- x11-libs/gdk-pixbuf
- x11-libs/gtk+:2
- x11-libs/pango
- nls? ( virtual/libintl )
- fam? ( app-admin/gamin )
-"
-
-DEPEND="${RDEPEND}
- dev-util/desktop-file-utils
- x11-misc/shared-mime-info"
-BDEPEND="
- sys-apps/groff
- virtual/pkgconfig
- nls? ( sys-devel/gettext )
-"
-
-# Xorn requires python2
-PATCHES=(
- "${FILESDIR}/${P}-drop-xorn.patch"
-)
-
-src_prepare() {
- default
- rm -r xorn || die
-
- if ! use doc ; then
- sed -i -e '/^SUBDIRS = /s/docs//' Makefile.in || die
- fi
- if ! use examples ; then
- sed -i -e 's/\texamples$//' Makefile.in || die
- fi
-
- # add missing GIO_LIB Bug #684870
- sed -i -e 's/gsymcheck_LDFLAGS =/gsymcheck_LDFLAGS = $(GIO_LIBS)/' \
- gsymcheck/src/Makefile.am || die
-
- sed -i -e 's/gnetlist_LDFLAGS =/gnetlist_LDFLAGS = $(GIO_LIBS)/' \
- gnetlist-legacy/src/Makefile.am || die
-
- sed -i -e 's/gschlas_LDFLAGS =/gschlas_LDFLAGS = $(GIO_LIBS)/' \
- utils/gschlas/Makefile.am || die
-
- sed -i -e 's/sarlacc_schem_LDFLAGS =/sarlacc_schem_LDFLAGS = $(GIO_LIBS)/' \
- contrib/sarlacc_schem/Makefile.am || die
-
- # remove compressed files, compressed by portage in install phase
- rm docs/wiki/media/geda/gsch2pcb-libs.tar.gz || die
- rm docs/wiki/media/geda/pcb_plugin_template.tar.gz || die
- rm docs/wiki/media/pcb/plugin_debug_window.tar.gz || die
-
- eautoreconf
-}
-
-src_configure() {
- local myconf=(
- --disable-rpath
- --disable-update-xdg-database
- $(use_enable doc doxygen)
- $(use_enable debug assert)
- $(use_enable nls)
- $(use_with fam libfam)
- )
-
- econf "${myconf[@]}"
-}
diff --git a/sci-electronics/geda/geda-1.9.2-r1.ebuild b/sci-electronics/geda/geda-1.9.2-r1.ebuild
deleted file mode 100644
index 06fbdeff605a..000000000000
--- a/sci-electronics/geda/geda-1.9.2-r1.ebuild
+++ /dev/null
@@ -1,95 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit autotools xdg
-
-MY_PN=${PN}-gaf
-MY_P=${MY_PN}-${PV}
-
-DESCRIPTION="GPL Electronic Design Automation (gEDA):gaf core package"
-HOMEPAGE="http://wiki.geda-project.org/geda:gaf"
-SRC_URI="http://ftp.geda-project.org/${MY_PN}/unstable/v$(ver_cut 1-2)/${PV}/${MY_P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 ~ppc ~x86"
-IUSE="debug doc examples nls stroke threads"
-
-RDEPEND="
- dev-libs/glib:2
- dev-scheme/guile
- sci-electronics/electronics-menu
- x11-libs/cairo
- x11-libs/gdk-pixbuf
- x11-libs/gtk+:2
- x11-libs/pango
- nls? ( virtual/libintl )
- stroke? ( dev-libs/libstroke )"
-
-DEPEND="${RDEPEND}
- dev-util/desktop-file-utils
- x11-misc/shared-mime-info"
-BDEPEND="
- sys-apps/groff
- virtual/pkgconfig
- nls? ( sys-devel/gettext )"
-
-S="${WORKDIR}/${MY_P}"
-
-PATCHES=(
- "${FILESDIR}"/${P}-guile-2.2.patch
- "${FILESDIR}"/${P}-fno-common.patch
-)
-
-src_prepare() {
- default
-
- if ! use doc ; then
- sed -i -e '/^SUBDIRS = /s/docs//' Makefile.in || die
- fi
- if ! use examples ; then
- sed -i -e 's/\texamples$//' Makefile.in || die
- fi
-
- # add missing GIO_LIB Bug #684870
- sed -i -e 's/gsymcheck_LDFLAGS =/gsymcheck_LDFLAGS = $(GIO_LIBS)/' \
- gsymcheck/src/Makefile.am || die
-
- sed -i -e 's/gnetlist_LDFLAGS =/gnetlist_LDFLAGS = $(GIO_LIBS)/' \
- gnetlist/src/Makefile.am || die
-
- sed -i -e 's/gschlas_LDFLAGS =/gschlas_LDFLAGS = $(GIO_LIBS)/' \
- utils/gschlas/Makefile.am || die
-
- sed -i -e 's/sarlacc_schem_LDFLAGS =/sarlacc_schem_LDFLAGS = $(GIO_LIBS)/' \
- contrib/sarlacc_schem/Makefile.am || die
-
- rm docs/wiki/media/geda/gsch2pcb-libs.tar.gz || die
-
- eautoreconf
-}
-
-src_configure() {
- local myconf=(
- --disable-doxygen
- --disable-rpath
- --disable-update-xdg-database
- $(use_enable debug assert)
- $(use_enable nls)
- $(use_enable threads threads posix)
- $(use_with stroke libstroke)
- )
-
- econf "${myconf[@]}"
-}
-
-src_test() {
- emake -j1 check
-}
-
-src_install() {
- default
- find "${ED}" -name '*.la' -delete || die
-}
diff --git a/sci-electronics/geda/metadata.xml b/sci-electronics/geda/metadata.xml
index 41090aecc004..db3ca30f3bbe 100644
--- a/sci-electronics/geda/metadata.xml
+++ b/sci-electronics/geda/metadata.xml
@@ -18,7 +18,4 @@
The gEDA/gaf suite (this package) provides schematic capture,
netlisting, bill of materials generation, and many other features.
</longdescription>
- <use>
- <flag name="stroke">enable mouse gesture support</flag>
- </use>
</pkgmetadata>
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2024-03-12 6:45 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-03-12 6:45 [gentoo-commits] repo/gentoo:master commit in: sci-electronics/geda/, sci-electronics/geda/files/ Sam James
-- strict thread matches above, loose matches on Subject: below --
2022-03-02 19:27 Andrew Ammerlaan
2020-12-28 14:16 David Seifert
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox