mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-16 14:29:05 -07:00
sci-electronics/geda: drop 1.9.2-r1, 1.10.2-r1
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
@@ -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],
|
||||
@@ -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[@]}"
|
||||
}
|
||||
@@ -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
|
||||
}
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user