[gentoo-commits] repo/gentoo:master commit in: games-sports/bygfoot/

2024-03-17 Thread Sam James
commit: 56c21df07b0c1c8ff6b606c2b4284dd62eaa0c23
Author: Eli Schwartz  gmail  com>
AuthorDate: Mon Mar 18 01:17:21 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Mar 18 05:30:00 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=56c21df0

games-sports/bygfoot: mark as LTO-unsafe

Closes: https://bugs.gentoo.org/859232
Signed-off-by: Eli Schwartz  gmail.com>
Signed-off-by: Sam James  gentoo.org>

 games-sports/bygfoot/bygfoot-2.3.2-r1.ebuild | 12 ++--
 1 file changed, 10 insertions(+), 2 deletions(-)

diff --git a/games-sports/bygfoot/bygfoot-2.3.2-r1.ebuild 
b/games-sports/bygfoot/bygfoot-2.3.2-r1.ebuild
index add177573fb6..d73d04ec60fe 100644
--- a/games-sports/bygfoot/bygfoot-2.3.2-r1.ebuild
+++ b/games-sports/bygfoot/bygfoot-2.3.2-r1.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
 
-inherit desktop vcs-clean
+inherit desktop flag-o-matic vcs-clean
 
 DESCRIPTION="GTK+2 Soccer Management Game"
 HOMEPAGE="https://bygfoot.sourceforge.io/new/;
@@ -29,6 +29,14 @@ PATCHES=(
 )
 
 src_configure() {
+   # -Werror=lto-type-mismatch
+   # https://bugs.gentoo.org/859232
+   #
+   # Upstream sourceforge is inactive since 2021, and even that was a java 
port.
+   # The gtk / C project was last touched in 2014. Even if upstream was 
still
+   # around, it does not seem worth discussing the production C version.
+   filter-lto
+
econf --disable-gstreamer
 }
 



[gentoo-commits] repo/gentoo:master commit in: games-sports/bygfoot/

2024-03-17 Thread Sam James
commit: e60bb8a3edd14f915777b9321536e18350b27bee
Author: Eli Schwartz  gmail  com>
AuthorDate: Mon Mar 18 01:18:51 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Mar 18 05:30:01 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e60bb8a3

games-sports/bygfoot: update EAPI 7 -> 8

Signed-off-by: Eli Schwartz  gmail.com>
Signed-off-by: Sam James  gentoo.org>

 .../bygfoot/{bygfoot-2.3.2-r1.ebuild => bygfoot-2.3.2-r2.ebuild}| 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/games-sports/bygfoot/bygfoot-2.3.2-r1.ebuild 
b/games-sports/bygfoot/bygfoot-2.3.2-r2.ebuild
similarity index 99%
rename from games-sports/bygfoot/bygfoot-2.3.2-r1.ebuild
rename to games-sports/bygfoot/bygfoot-2.3.2-r2.ebuild
index d73d04ec60fe..2e4572f5 100644
--- a/games-sports/bygfoot/bygfoot-2.3.2-r1.ebuild
+++ b/games-sports/bygfoot/bygfoot-2.3.2-r2.ebuild
@@ -1,7 +1,7 @@
 # Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=7
+EAPI=8
 
 inherit desktop flag-o-matic vcs-clean
 



[gentoo-commits] repo/gentoo:master commit in: games-sports/bygfoot/

2022-01-23 Thread James Le Cuirot
commit: de934eb11177935d5dd4ff1d713c1c81f5d5765d
Author: Michael Mair-Keimberger  levelnine  at>
AuthorDate: Sat Jan 22 19:49:47 2022 +
Commit: James Le Cuirot  gentoo  org>
CommitDate: Sun Jan 23 21:00:51 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=de934eb1

games-sports/bygfoot: use https

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Michael Mair-Keimberger  levelnine.at>
Signed-off-by: James Le Cuirot  gentoo.org>

 games-sports/bygfoot/bygfoot-2.3.2-r1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/games-sports/bygfoot/bygfoot-2.3.2-r1.ebuild 
b/games-sports/bygfoot/bygfoot-2.3.2-r1.ebuild
index 6a48c7824293..add177573fb6 100644
--- a/games-sports/bygfoot/bygfoot-2.3.2-r1.ebuild
+++ b/games-sports/bygfoot/bygfoot-2.3.2-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -6,7 +6,7 @@ EAPI=7
 inherit desktop vcs-clean
 
 DESCRIPTION="GTK+2 Soccer Management Game"
-HOMEPAGE="http://bygfoot.sourceforge.net/;
+HOMEPAGE="https://bygfoot.sourceforge.io/new/;
 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
 
 LICENSE="GPL-2"



[gentoo-commits] repo/gentoo:master commit in: games-sports/bygfoot/files/, games-sports/bygfoot/

2020-11-22 Thread David Seifert
commit: 1ca14cc34b96ee959fd35bf5732c351d6dad0acf
Author: David Seifert  gentoo  org>
AuthorDate: Sun Nov 22 16:43:56 2020 +
Commit: David Seifert  gentoo  org>
CommitDate: Sun Nov 22 16:43:56 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1ca14cc3

games-sports/bygfoot: Port to EAPI 7

Closes: https://bugs.gentoo.org/707646
Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: David Seifert  gentoo.org>

 games-sports/bygfoot/bygfoot-2.3.2-r1.ebuild   |  27 +-
 .../bygfoot/files/bygfoot-2.3.2-Makefile.patch |  57 +++
 .../bygfoot/files/bygfoot-2.3.2-fno-common.patch   | 496 +
 3 files changed, 565 insertions(+), 15 deletions(-)

diff --git a/games-sports/bygfoot/bygfoot-2.3.2-r1.ebuild 
b/games-sports/bygfoot/bygfoot-2.3.2-r1.ebuild
index 9ed990aea67..6a48c782429 100644
--- a/games-sports/bygfoot/bygfoot-2.3.2-r1.ebuild
+++ b/games-sports/bygfoot/bygfoot-2.3.2-r1.ebuild
@@ -1,9 +1,9 @@
 # Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
+EAPI=7
 
-inherit eutils vcs-clean
+inherit desktop vcs-clean
 
 DESCRIPTION="GTK+2 Soccer Management Game"
 HOMEPAGE="http://bygfoot.sourceforge.net/;
@@ -12,35 +12,32 @@ SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
 LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
-IUSE=""
 
 RDEPEND="
app-arch/zip
media-libs/freetype:2
x11-libs/gtk+:2
virtual/libintl"
-DEPEND="${RDEPEND}
+DEPEND="${RDEPEND}"
+BDEPEND="
sys-devel/gettext
virtual/pkgconfig"
 
-src_prepare() {
-   default
-
-   sed -i \
-   -e 's:$(gnulocaledir):/usr/share/locale:' \
-   -e 
'/PACKAGE_LOCALE_DIR/s:\$(prefix)/\$(DATADIRNAME):/usr/share:' \
-   -e '/bygfoot_LDADD/s/$/ -lm/' \
-   po/Makefile.in.in src/Makefile.in || die
-}
+PATCHES=(
+   "${FILESDIR}"/${P}-Makefile.patch
+   "${FILESDIR}"/${P}-fno-common.patch
+)
 
 src_configure() {
econf --disable-gstreamer
 }
 
 src_install() {
-   emake DESTDIR="${D}" install
+   default
+   dodoc UPDATE
+
esvn_clean "${D}"
-   dodoc AUTHORS ChangeLog README TODO UPDATE
+
newicon support_files/pixmaps/bygfoot_icon.png ${PN}.png
make_desktop_entry ${PN} Bygfoot
 }

diff --git a/games-sports/bygfoot/files/bygfoot-2.3.2-Makefile.patch 
b/games-sports/bygfoot/files/bygfoot-2.3.2-Makefile.patch
new file mode 100644
index 000..306428a5005
--- /dev/null
+++ b/games-sports/bygfoot/files/bygfoot-2.3.2-Makefile.patch
@@ -0,0 +1,57 @@
+--- a/po/Makefile.in.in
 b/po/Makefile.in.in
+@@ -28,7 +28,7 @@
+ datarootdir = @datarootdir@
+ datadir = @datadir@
+ libdir = @libdir@
+-localedir = $(libdir)/locale
++localedir = @localedir@
+ gnulocaledir = $(datadir)/locale
+ gettextsrcdir = $(datadir)/glib-2.0/gettext/po
+ subdir = po
+@@ -129,7 +129,6 @@
+   for cat in $$catalogs; do \
+ cat=`basename $$cat`; \
+ case "$$cat" in \
+-  *.gmo) destdir=$(gnulocaledir);; \
+   *) destdir=$(localedir);; \
+ esac; \
+ lang=`echo $$cat | sed 's/\$(CATOBJEXT)$$//'`; \
+@@ -183,8 +182,6 @@
+ lang=`echo $$cat | sed 's/\$(CATOBJEXT)$$//'`; \
+ rm -f 
$(DESTDIR)$(localedir)/$$lang/LC_MESSAGES/$(GETTEXT_PACKAGE)$(INSTOBJEXT); \
+ rm -f 
$(DESTDIR)$(localedir)/$$lang/LC_MESSAGES/$(GETTEXT_PACKAGE)$(INSTOBJEXT).m; \
+-rm -f 
$(DESTDIR)$(gnulocaledir)/$$lang/LC_MESSAGES/$(GETTEXT_PACKAGE)$(INSTOBJEXT); \
+-rm -f 
$(DESTDIR)$(gnulocaledir)/$$lang/LC_MESSAGES/$(GETTEXT_PACKAGE)$(INSTOBJEXT).m; 
\
+   done
+   if test "$(PACKAGE)" = "glib"; then \
+ rm -f $(DESTDIR)$(gettextsrcdir)/Makefile.in.in; \
+--- a/src/Makefile.in
 b/src/Makefile.in
+@@ -206,7 +206,7 @@
+ AM_CFLAGS = -Wall #-fprofile-arcs -ftest-coverage -pg
+ INCLUDES = \
+   -DPACKAGE_DATA_DIR=\""$(datadir)"\" \
+-  -DPACKAGE_LOCALE_DIR=\""$(prefix)/$(DATADIRNAME)/locale"\" \
++  -DPACKAGE_LOCALE_DIR=\""$(localedir)"\" \
+   @PACKAGE_CFLAGS@ @GST_CFLAGS@
+ 
+ bygfoot_SOURCES = \
+@@ -289,7 +289,7 @@
+   xml_team.c file.h free.h main.h misc.h option.h player.h team.h 
variables.h xml_team.h \
+   youth_academy.c free.h maths.h name.h option.h player.h team.h user.h 
youth_academy.h 
+ 
+-bygfoot_LDADD = @PACKAGE_LIBS@ @GST_LIBS@ $(INTLLIBS) 
++bygfoot_LDADD = @PACKAGE_LIBS@ @GST_LIBS@ $(INTLLIBS) -lm
+ all: all-am
+ 
+ .SUFFIXES:
+@@ -348,7 +348,7 @@
+   -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
+ bygfoot$(EXEEXT): $(bygfoot_OBJECTS) $(bygfoot_DEPENDENCIES) 
+   @rm -f bygfoot$(EXEEXT)
+-  $(LINK) $(bygfoot_OBJECTS) $(bygfoot_LDADD) $(LIBS)
++  $(LINK) $(bygfoot_OBJECTS) $(bygfoot_LDADD) $(LIBS) -lm
+ 
+ mostlyclean-compile:
+   -rm -f *.$(OBJEXT)

diff --git a/games-sports/bygfoot/files/bygfoot-2.3.2-fno-common.patch 

[gentoo-commits] repo/gentoo:master commit in: games-sports/bygfoot/

2020-02-12 Thread David Seifert
commit: 4fbf825c3bf247c1c0f5f630024ffcbe27eaf2bf
Author: David Seifert  gentoo  org>
AuthorDate: Wed Feb 12 18:02:44 2020 +
Commit: David Seifert  gentoo  org>
CommitDate: Wed Feb 12 18:02:44 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4fbf825c

games-sports/bygfoot: [QA] inherit vcs-clean.eclass directly

Package-Manager: Portage-2.3.88, Repoman-2.3.20
Signed-off-by: David Seifert  gentoo.org>

 games-sports/bygfoot/bygfoot-2.3.2-r1.ebuild | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/games-sports/bygfoot/bygfoot-2.3.2-r1.ebuild 
b/games-sports/bygfoot/bygfoot-2.3.2-r1.ebuild
index ea344fe4a07..9ed990aea67 100644
--- a/games-sports/bygfoot/bygfoot-2.3.2-r1.ebuild
+++ b/games-sports/bygfoot/bygfoot-2.3.2-r1.ebuild
@@ -1,8 +1,9 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
-inherit eutils
+
+inherit eutils vcs-clean
 
 DESCRIPTION="GTK+2 Soccer Management Game"
 HOMEPAGE="http://bygfoot.sourceforge.net/;



[gentoo-commits] repo/gentoo:master commit in: games-sports/bygfoot/

2016-09-22 Thread Austin English
commit: 7ab9320b159a47dc4a580d033021dfe50dace049
Author: Austin English  gentoo  org>
AuthorDate: Thu Sep 22 18:31:47 2016 +
Commit: Austin English  gentoo  org>
CommitDate: Thu Sep 22 19:27:56 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7ab9320b

games-sports/bygfoot: remove deprecated games eclass

Also update to EAPI 6

Gentoo-Bug: https://bugs.gentoo.org/574082

Package-Manager: portage-2.3.0

 games-sports/bygfoot/bygfoot-2.3.2-r1.ebuild | 46 
 1 file changed, 46 insertions(+)

diff --git a/games-sports/bygfoot/bygfoot-2.3.2-r1.ebuild 
b/games-sports/bygfoot/bygfoot-2.3.2-r1.ebuild
new file mode 100644
index ..c2b6591
--- /dev/null
+++ b/games-sports/bygfoot/bygfoot-2.3.2-r1.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+inherit eutils
+
+DESCRIPTION="GTK+2 Soccer Management Game"
+HOMEPAGE="http://bygfoot.sourceforge.net/;
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE=""
+
+RDEPEND="
+   app-arch/zip
+   media-libs/freetype:2
+   x11-libs/gtk+:2
+   virtual/libintl"
+DEPEND="${RDEPEND}
+   sys-devel/gettext
+   virtual/pkgconfig"
+
+src_prepare() {
+   default
+
+   sed -i \
+   -e 's:$(gnulocaledir):/usr/share/locale:' \
+   -e 
'/PACKAGE_LOCALE_DIR/s:\$(prefix)/\$(DATADIRNAME):/usr/share:' \
+   -e '/bygfoot_LDADD/s/$/ -lm/' \
+   po/Makefile.in.in src/Makefile.in || die
+}
+
+src_configure() {
+   econf --disable-gstreamer
+}
+
+src_install() {
+   emake DESTDIR="${D}" install
+   esvn_clean "${D}"
+   dodoc AUTHORS ChangeLog README TODO UPDATE
+   newicon support_files/pixmaps/bygfoot_icon.png ${PN}.png
+   make_desktop_entry ${PN} Bygfoot
+}