[gentoo-commits] repo/gentoo:master commit in: media-gfx/gozer/, media-gfx/gozer/files/

2023-10-01 Thread David Seifert
commit: 8540d29e1a7e96241bb845e3083fe577df2a26e7
Author: Brahmajit Das  gmail  com>
AuthorDate: Sun Oct  1 16:57:31 2023 +
Commit: David Seifert  gentoo  org>
CommitDate: Sun Oct  1 16:57:31 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8540d29e

media-gfx/gozer: Fix call to undeclared library function strcmp

Closes: https://github.com/gentoo/gentoo/pull/33148
Closes: https://bugs.gentoo.org/896210
Signed-off-by: Brahmajit Das  gmail.com>
Signed-off-by: David Seifert  gentoo.org>

 media-gfx/gozer/files/gozer-0.7-fix-build-with-clang16.patch | 11 +++
 media-gfx/gozer/{gozer-0.7-r4.ebuild => gozer-0.7-r5.ebuild} |  3 ++-
 2 files changed, 13 insertions(+), 1 deletion(-)

diff --git a/media-gfx/gozer/files/gozer-0.7-fix-build-with-clang16.patch 
b/media-gfx/gozer/files/gozer-0.7-fix-build-with-clang16.patch
new file mode 100644
index ..1a42a15839a6
--- /dev/null
+++ b/media-gfx/gozer/files/gozer-0.7-fix-build-with-clang16.patch
@@ -0,0 +1,11 @@
+Bug: https://bugs.gentoo.org/896210
+--- a/src/getopt.c
 b/src/getopt.c
+@@ -40,6 +40,7 @@
+ #endif
+ 
+ #include 
++#include 
+ 
+ /* Comment out all this code if we are using the GNU C Library, and are not
+actually compiling the library itself.  This code is part of the GNU C

diff --git a/media-gfx/gozer/gozer-0.7-r4.ebuild 
b/media-gfx/gozer/gozer-0.7-r5.ebuild
similarity index 86%
rename from media-gfx/gozer/gozer-0.7-r4.ebuild
rename to media-gfx/gozer/gozer-0.7-r5.ebuild
index f14a25fce9c2..6dd3168d57a0 100644
--- a/media-gfx/gozer/gozer-0.7-r4.ebuild
+++ b/media-gfx/gozer/gozer-0.7-r5.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -24,6 +24,7 @@ DEPEND="
 
 PATCHES=(
"${FILESDIR}"/${P}-fix-build-system.patch
+   "${FILESDIR}"/${P}-fix-build-with-clang16.patch
 )
 
 src_prepare() {



[gentoo-commits] repo/gentoo:master commit in: media-gfx/gozer/

2022-07-15 Thread Sam James
commit: 824b2d0538da807e43b9c195302f074379899310
Author: Sam James  gentoo  org>
AuthorDate: Fri Jul 15 07:05:08 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Jul 15 07:05:33 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=824b2d05

media-gfx/gozer: EAPI 8

Signed-off-by: Sam James  gentoo.org>

 .../gozer/{gozer-0.7-r3.ebuild => gozer-0.7-r4.ebuild}   | 16 ++--
 1 file changed, 10 insertions(+), 6 deletions(-)

diff --git a/media-gfx/gozer/gozer-0.7-r3.ebuild 
b/media-gfx/gozer/gozer-0.7-r4.ebuild
similarity index 75%
rename from media-gfx/gozer/gozer-0.7-r3.ebuild
rename to media-gfx/gozer/gozer-0.7-r4.ebuild
index eb15f0c92d2d..f14a25fce9c2 100644
--- a/media-gfx/gozer/gozer-0.7-r3.ebuild
+++ b/media-gfx/gozer/gozer-0.7-r4.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
+EAPI=8
 
 inherit autotools
 
@@ -12,19 +12,23 @@ SRC_URI="http://www.linuxbrit.co.uk/downloads/${P}.tar.gz";
 LICENSE="feh LGPL-2+"
 SLOT="0"
 KEYWORDS="amd64 ppc x86"
-IUSE=""
 
 RDEPEND="
media-libs/giblib
-   media-libs/imlib2"
+   media-libs/imlib2
+"
 DEPEND="
${RDEPEND}
-   x11-libs/libXext"
+   x11-libs/libXext
+"
 
-PATCHES=( "${FILESDIR}"/${P}-fix-build-system.patch )
+PATCHES=(
+   "${FILESDIR}"/${P}-fix-build-system.patch
+)
 
 src_prepare() {
default
+
mv configure.{in,ac} || die
eautoreconf
 }



[gentoo-commits] repo/gentoo:master commit in: media-gfx/gozer/

2018-04-18 Thread David Seifert
commit: 0a1ca71d09b9cbb49d0c94c5a69b9811fa29485c
Author: David Seifert  gentoo  org>
AuthorDate: Wed Apr 18 19:56:44 2018 +
Commit: David Seifert  gentoo  org>
CommitDate: Wed Apr 18 19:57:29 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0a1ca71d

media-gfx/gozer: Remove old

Closes: https://bugs.gentoo.org/648250
Package-Manager: Portage-2.3.30, Repoman-2.3.9

 media-gfx/gozer/gozer-0.7-r2.ebuild | 34 --
 1 file changed, 34 deletions(-)

diff --git a/media-gfx/gozer/gozer-0.7-r2.ebuild 
b/media-gfx/gozer/gozer-0.7-r2.ebuild
deleted file mode 100644
index db1e762db93..000
--- a/media-gfx/gozer/gozer-0.7-r2.ebuild
+++ /dev/null
@@ -1,34 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="2"
-
-inherit autotools
-
-DESCRIPTION="tool for rendering arbitrary text as graphics, using ttfs and 
styles"
-HOMEPAGE="http://www.linuxbrit.co.uk/gozer/";
-SRC_URI="http://www.linuxbrit.co.uk/downloads/${P}.tar.gz";
-
-LICENSE="feh LGPL-2+"
-SLOT="0"
-KEYWORDS="amd64 ppc x86"
-IUSE=""
-
-DEPEND="x11-libs/libXext
-   >=media-libs/giblib-1.2.1"
-RDEPEND=">=media-libs/giblib-1.2.1
-   media-libs/imlib2"
-
-src_prepare() {
-   sed -i src/Makefile.am \
-   -e 's|-g -O3|$(CFLAGS)|g' \
-   -e '/LDFLAGS/s|=|+=|g' \
-   || die "sed src/Makefile.am"
-   eautoreconf
-}
-
-src_install() {
-   emake install DESTDIR="${D}" || die
-   rm -rf "${D}"/usr/doc
-   dodoc TODO README AUTHORS ChangeLog
-}



[gentoo-commits] repo/gentoo:master commit in: media-gfx/gozer/files/, media-gfx/gozer/

2018-04-18 Thread David Seifert
commit: 1184156dec55cc4ca0133c7b9464f63a91e2709c
Author: David Seifert  gentoo  org>
AuthorDate: Wed Apr 18 19:54:16 2018 +
Commit: David Seifert  gentoo  org>
CommitDate: Wed Apr 18 19:57:18 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1184156d

media-gfx/gozer: [QA] Cleanup ebuild

Package-Manager: Portage-2.3.30, Repoman-2.3.9

 .../gozer/files/gozer-0.7-fix-build-system.patch   | 51 ++
 media-gfx/gozer/gozer-0.7-r3.ebuild| 21 -
 2 files changed, 59 insertions(+), 13 deletions(-)

diff --git a/media-gfx/gozer/files/gozer-0.7-fix-build-system.patch 
b/media-gfx/gozer/files/gozer-0.7-fix-build-system.patch
new file mode 100644
index 000..6102fe9c64c
--- /dev/null
+++ b/media-gfx/gozer/files/gozer-0.7-fix-build-system.patch
@@ -0,0 +1,51 @@
+--- a/Makefile.am
 b/Makefile.am
+@@ -5,14 +5,9 @@
+ # A list of all the files in the current directory which can be regenerated
+ MAINTAINERCLEANFILES = Makefile.in gozer.spec
+ 
+-LDFLAGS   = -L/usr/X11R6/lib -L/usr/lib -L/usr/local/lib
+-INCLUDES  = -I/usr/X11R6/include \
+-$(X_CFLAGS) -I$(prefix)/include -I$(includedir) -I.
+-
+ man_MANS = gozer.1
+ 
+-docs_DATA = README AUTHORS ChangeLog TODO
+-docsdir = $(prefix)/doc/@PACKAGE@
++doc_DATA = README AUTHORS ChangeLog TODO
+ 
+ EXTRA_DIST = \
+ gozer.spec gozer.1 $(docs_DATA)
+--- a/src/fonts/Makefile.am
 b/src/fonts/Makefile.am
+@@ -8,6 +8,6 @@
+ fonts_DATA = \
+ helmetr.ttf
+ 
+-fontsdir=$(prefix)/share/@PACKAGE@/fonts
++fontsdir=$(prefix)/share/$(PACKAGE)/fonts
+ 
+ EXTRA_DIST = $(fonts_DATA)
+--- a/src/Makefile.am
 b/src/Makefile.am
+@@ -1,15 +1,13 @@
+ # A list of all the files in the current directory which can be regenerated
+-MAINTAINERCLEANFILES = Makefile.in
++MAINTAINERCLEANFILES = Makefile.in
+ 
+ SUBDIRS = fonts
+ 
+-LDFLAGS   = -L/usr/X11R6/lib
+-INCLUDES  = -g -O3 -Wall -I/usr/X11R6/include \
+-$(X_CFLAGS) -I$(prefix)/include -I$(includedir) -I. \
+--DPREFIX=\""$(prefix)"\" @GIBLIB_CFLAGS@
+-LIBOBJS = @LIBOBJS@
++AM_CPPFLAGS = -Wall -I/usr/X11R6/include \
++  $(X_CFLAGS) -I$(prefix)/include -I$(includedir) -I. \
++  -DPREFIX=\""$(prefix)"\" $(GIBLIB_CFLAGS)
+ 
+ bin_PROGRAMS  = gozer
+ gozer_SOURCES   = main.c getopt.c getopt1.c getopt.h gozer.h \
+ options.c options.h debug.h utils.c utils.h imlib.c structs.h
+-gozer_LDADD = @GIBLIB_LIBS@
++gozer_LDADD = $(GIBLIB_LIBS) -L/usr/X11R6/lib

diff --git a/media-gfx/gozer/gozer-0.7-r3.ebuild 
b/media-gfx/gozer/gozer-0.7-r3.ebuild
index 05e8079d3ba..64e0751606c 100644
--- a/media-gfx/gozer/gozer-0.7-r3.ebuild
+++ b/media-gfx/gozer/gozer-0.7-r3.ebuild
@@ -14,22 +14,17 @@ SLOT="0"
 KEYWORDS="amd64 ~ppc x86"
 IUSE=""
 
-DEPEND="x11-libs/libXext
-   >=media-libs/giblib-1.2.1"
-RDEPEND=">=media-libs/giblib-1.2.1
+RDEPEND="
+   media-libs/giblib
media-libs/imlib2"
+DEPEND="
+   ${RDEPEND}
+   x11-libs/libXext"
+
+PATCHES=( "${FILESDIR}"/${P}-fix-build-system.patch )
 
 src_prepare() {
default
-   sed -i src/Makefile.am \
-   -e 's|-g -O3|$(CFLAGS)|g' \
-   -e '/LDFLAGS/s|=|+=|g' \
-   || die "sed src/Makefile.am"
+   mv configure.{in,ac} || die
eautoreconf
 }
-
-src_install() {
-   emake install DESTDIR="${D}"
-   rm -rf "${D}"/usr/doc || die
-   dodoc TODO README AUTHORS ChangeLog
-}



[gentoo-commits] repo/gentoo:master commit in: media-gfx/gozer/

2018-04-18 Thread David Seifert
commit: 9a0e9a95ed612c9c05c7f44ddcf29ba0e36db0b9
Author: David Seifert  gentoo  org>
AuthorDate: Wed Apr 18 19:55:24 2018 +
Commit: David Seifert  gentoo  org>
CommitDate: Wed Apr 18 19:57:23 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9a0e9a95

media-gfx/gozer: Mark ppc stable, #648250

Package-Manager: Portage-2.3.30, Repoman-2.3.9

 media-gfx/gozer/gozer-0.7-r3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-gfx/gozer/gozer-0.7-r3.ebuild 
b/media-gfx/gozer/gozer-0.7-r3.ebuild
index 64e0751606c..eb15f0c92d2 100644
--- a/media-gfx/gozer/gozer-0.7-r3.ebuild
+++ b/media-gfx/gozer/gozer-0.7-r3.ebuild
@@ -11,7 +11,7 @@ SRC_URI="http://www.linuxbrit.co.uk/downloads/${P}.tar.gz";
 
 LICENSE="feh LGPL-2+"
 SLOT="0"
-KEYWORDS="amd64 ~ppc x86"
+KEYWORDS="amd64 ppc x86"
 IUSE=""
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: media-gfx/gozer/

2018-02-20 Thread Thomas Deutschmann
commit: 5ae1c95b4a91ea75ec1d98f98660dfe43da2ed48
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Wed Feb 21 02:56:11 2018 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Wed Feb 21 02:56:11 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5ae1c95b

media-gfx/gozer: x86 stable (bug #648250)

Package-Manager: Portage-2.3.24, Repoman-2.3.6

 media-gfx/gozer/gozer-0.7-r3.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/media-gfx/gozer/gozer-0.7-r3.ebuild 
b/media-gfx/gozer/gozer-0.7-r3.ebuild
index 32cb422209c..fd1d68d3554 100644
--- a/media-gfx/gozer/gozer-0.7-r3.ebuild
+++ b/media-gfx/gozer/gozer-0.7-r3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -11,7 +11,7 @@ SRC_URI="http://www.linuxbrit.co.uk/downloads/${P}.tar.gz";
 
 LICENSE="feh LGPL-2+"
 SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86"
+KEYWORDS="~amd64 ~ppc x86"
 IUSE=""
 
 DEPEND="x11-libs/libXext



[gentoo-commits] repo/gentoo:master commit in: media-gfx/gozer/

2017-08-06 Thread Amy Liffey
commit: ca1e1d408f43ae8dc68e411794123b809b80c5b1
Author: Amy Liffey  gentoo  org>
AuthorDate: Sun Aug  6 08:23:10 2017 +
Commit: Amy Liffey  gentoo  org>
CommitDate: Sun Aug  6 08:23:10 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ca1e1d40

media-gfx/gozer: eapi bump to 6

Package-Manager: Portage-2.3.6, Repoman-2.3.1

 media-gfx/gozer/gozer-0.7-r3.ebuild | 35 +++
 1 file changed, 35 insertions(+)

diff --git a/media-gfx/gozer/gozer-0.7-r3.ebuild 
b/media-gfx/gozer/gozer-0.7-r3.ebuild
new file mode 100644
index 000..32cb422209c
--- /dev/null
+++ b/media-gfx/gozer/gozer-0.7-r3.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit autotools
+
+DESCRIPTION="tool for rendering arbitrary text as graphics, using ttfs and 
styles"
+HOMEPAGE="http://www.linuxbrit.co.uk/gozer/";
+SRC_URI="http://www.linuxbrit.co.uk/downloads/${P}.tar.gz";
+
+LICENSE="feh LGPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE=""
+
+DEPEND="x11-libs/libXext
+   >=media-libs/giblib-1.2.1"
+RDEPEND=">=media-libs/giblib-1.2.1
+   media-libs/imlib2"
+
+src_prepare() {
+   default
+   sed -i src/Makefile.am \
+   -e 's|-g -O3|$(CFLAGS)|g' \
+   -e '/LDFLAGS/s|=|+=|g' \
+   || die "sed src/Makefile.am"
+   eautoreconf
+}
+
+src_install() {
+   emake install DESTDIR="${D}"
+   rm -rf "${D}"/usr/doc || die
+   dodoc TODO README AUTHORS ChangeLog
+}