[gentoo-commits] repo/gentoo:master commit in: games-util/wxchtdecoder/

2023-11-24 Thread Pacho Ramos
commit: 8ca1b0e84701b8ef05f44317459352d7c10a0ed5
Author: Pacho Ramos  gentoo  org>
AuthorDate: Fri Nov 24 13:30:10 2023 +
Commit: Pacho Ramos  gentoo  org>
CommitDate: Fri Nov 24 13:54:03 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8ca1b0e8

games-util/wxchtdecoder: works with wxGTK 3.2

And install a proper menu entry

Signed-off-by: Pacho Ramos  gentoo.org>

 .../wxchtdecoder/wxchtdecoder-1.5a-r2.ebuild   | 31 ++
 1 file changed, 31 insertions(+)

diff --git a/games-util/wxchtdecoder/wxchtdecoder-1.5a-r2.ebuild 
b/games-util/wxchtdecoder/wxchtdecoder-1.5a-r2.ebuild
new file mode 100644
index ..99400f1e5eea
--- /dev/null
+++ b/games-util/wxchtdecoder/wxchtdecoder-1.5a-r2.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+WX_GTK_VER="3.2-gtk3"
+inherit desktop wxwidgets
+
+DESCRIPTION="Program to decode .CHT files in Snes9x and ZSNES to plain text"
+HOMEPAGE="https://games.technoplaza.net/chtdecoder/;
+SRC_URI="mirror://gentoo/${P}.tar.bz2"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="x11-libs/wxGTK:${WX_GTK_VER}[X]"
+DEPEND=${RDEPEND}
+
+PATCHES=( "${FILESDIR}"/${P}-wxgtk.patch )
+
+src_configure() {
+   setup-wxwidgets
+   econf --with-wx-config="${WX_CONFIG}"
+}
+
+src_install() {
+   dobin source/wxchtdecoder
+   dodoc docs/wxchtdecoder.txt
+   make_desktop_entry ${PN} wxCHTDecoder application-vnd.nintendo.snes.rom
+}



[gentoo-commits] repo/gentoo:master commit in: games-util/wxchtdecoder/

2023-07-12 Thread Conrad Kostecki
commit: e96db30291ac4de55f1ae4db142887d2abf7ebbc
Author: Michael Mair-Keimberger  levelnine  at>
AuthorDate: Mon Jul 10 13:48:35 2023 +
Commit: Conrad Kostecki  gentoo  org>
CommitDate: Wed Jul 12 18:35:59 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e96db302

games-util/wxchtdecoder: use HTTPS, fix LICENSE

Signed-off-by: Michael Mair-Keimberger  levelnine.at>
Closes: https://github.com/gentoo/gentoo/pull/31824
Signed-off-by: Conrad Kostecki  gentoo.org>

 games-util/wxchtdecoder/wxchtdecoder-1.5a-r1.ebuild | 8 
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/games-util/wxchtdecoder/wxchtdecoder-1.5a-r1.ebuild 
b/games-util/wxchtdecoder/wxchtdecoder-1.5a-r1.ebuild
index 8e868e7bee79..42ce5c72bb37 100644
--- a/games-util/wxchtdecoder/wxchtdecoder-1.5a-r1.ebuild
+++ b/games-util/wxchtdecoder/wxchtdecoder-1.5a-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -6,11 +6,11 @@ EAPI=7
 WX_GTK_VER="3.0"
 inherit wxwidgets
 
-DESCRIPTION="A program to decode .CHT files in Snes9x and ZSNES to plain text"
-HOMEPAGE="http://games.technoplaza.net/chtdecoder/;
+DESCRIPTION="Program to decode .CHT files in Snes9x and ZSNES to plain text"
+HOMEPAGE="https://games.technoplaza.net/chtdecoder/;
 SRC_URI="mirror://gentoo/${P}.tar.bz2"
 
-LICENSE="GPL-2"
+LICENSE="GPL-2+"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
 



[gentoo-commits] repo/gentoo:master commit in: games-util/wxchtdecoder/

2021-04-04 Thread David Seifert
commit: 081adb0fa6ffd16ae609f8bdbdc2c72160488769
Author: David Seifert  gentoo  org>
AuthorDate: Sun Apr  4 21:10:50 2021 +
Commit: David Seifert  gentoo  org>
CommitDate: Sun Apr  4 21:10:50 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=081adb0f

games-util/wxchtdecoder: Port to EAPI 7

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

 games-util/wxchtdecoder/wxchtdecoder-1.5a-r1.ebuild | 19 +--
 1 file changed, 9 insertions(+), 10 deletions(-)

diff --git a/games-util/wxchtdecoder/wxchtdecoder-1.5a-r1.ebuild 
b/games-util/wxchtdecoder/wxchtdecoder-1.5a-r1.ebuild
index 0a8fbabae6b..8e868e7bee7 100644
--- a/games-util/wxchtdecoder/wxchtdecoder-1.5a-r1.ebuild
+++ b/games-util/wxchtdecoder/wxchtdecoder-1.5a-r1.ebuild
@@ -1,9 +1,10 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=5
+EAPI=7
+
 WX_GTK_VER="3.0"
-inherit eutils wxwidgets
+inherit wxwidgets
 
 DESCRIPTION="A program to decode .CHT files in Snes9x and ZSNES to plain text"
 HOMEPAGE="http://games.technoplaza.net/chtdecoder/;
@@ -12,17 +13,15 @@ SRC_URI="mirror://gentoo/${P}.tar.bz2"
 LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
-IUSE=""
 
-DEPEND="x11-libs/wxGTK:${WX_GTK_VER}[X]"
-RDEPEND=${DEPEND}
+RDEPEND="x11-libs/wxGTK:${WX_GTK_VER}[X]"
+DEPEND=${RDEPEND}
 
-src_prepare() {
-   epatch "${FILESDIR}"/${P}-wxgtk.patch
-}
+PATCHES=( "${FILESDIR}"/${P}-wxgtk.patch )
 
 src_configure() {
-   econf --with-wx-config=${WX_CONFIG}
+   setup-wxwidgets
+   econf --with-wx-config="${WX_CONFIG}"
 }
 
 src_install() {



[gentoo-commits] repo/gentoo:master commit in: games-util/wxchtdecoder/

2015-12-28 Thread Michael Sterrett
commit: 99bfbca72dde0a60e774da9e0afdcf4f12ee9897
Author: Michael Sterrett  gentoo  org>
AuthorDate: Tue Dec 29 03:57:07 2015 +
Commit: Michael Sterrett  gentoo  org>
CommitDate: Tue Dec 29 07:40:39 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=99bfbca7

old

Package-Manager: portage-2.2.24

 games-util/wxchtdecoder/wxchtdecoder-1.5a.ebuild | 28 
 1 file changed, 28 deletions(-)

diff --git a/games-util/wxchtdecoder/wxchtdecoder-1.5a.ebuild 
b/games-util/wxchtdecoder/wxchtdecoder-1.5a.ebuild
deleted file mode 100644
index b084ba9..000
--- a/games-util/wxchtdecoder/wxchtdecoder-1.5a.ebuild
+++ /dev/null
@@ -1,28 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-WX_GTK_VER="2.8"
-inherit wxwidgets
-
-DESCRIPTION="A program to decode .CHT files in Snes9x and ZSNES to plain text"
-HOMEPAGE="http://games.technoplaza.net/chtdecoder/;
-SRC_URI="mirror://gentoo/${P}.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 x86"
-IUSE=""
-
-DEPEND="x11-libs/wxGTK:2.8[X]"
-RDEPEND=${DEPEND}
-
-src_configure() {
-   econf --with-wx-config=${WX_CONFIG}
-}
-
-src_install() {
-   dobin source/wxchtdecoder
-   dodoc docs/wxchtdecoder.txt
-}



[gentoo-commits] repo/gentoo:master commit in: games-util/wxchtdecoder/

2015-12-16 Thread Agostino Sarubbo
commit: 21f6d4d60dec1457978d001d1f9aa8b09cde3b3c
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Wed Dec 16 10:11:59 2015 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Wed Dec 16 10:11:59 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=21f6d4d6

games-util/wxchtdecoder: amd64 stable wrt bug #568358

Package-Manager: portage-2.2.24
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 games-util/wxchtdecoder/wxchtdecoder-1.5a-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/games-util/wxchtdecoder/wxchtdecoder-1.5a-r1.ebuild 
b/games-util/wxchtdecoder/wxchtdecoder-1.5a-r1.ebuild
index 71c8386..8522a25 100644
--- a/games-util/wxchtdecoder/wxchtdecoder-1.5a-r1.ebuild
+++ b/games-util/wxchtdecoder/wxchtdecoder-1.5a-r1.ebuild
@@ -12,7 +12,7 @@ SRC_URI="mirror://gentoo/${P}.tar.bz2"
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="amd64 ~x86"
 IUSE=""
 
 DEPEND="x11-libs/wxGTK:${WX_GTK_VER}[X]"



[gentoo-commits] repo/gentoo:master commit in: games-util/wxchtdecoder/files/, games-util/wxchtdecoder/

2015-11-15 Thread Michael Sterrett
commit: 2e197ba407044d0df69b4c391e6f21f02faef6b5
Author: Michael Sterrett  gentoo  org>
AuthorDate: Sun Nov 15 19:34:57 2015 +
Commit: Michael Sterrett  gentoo  org>
CommitDate: Sun Nov 15 19:34:57 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2e197ba4

rev bump to work with wxGTK:3.0 (bug #564090)

Package-Manager: portage-2.2.20.1

 .../files/wxchtdecoder-1.5a-wxgtk.patch| 37 ++
 .../wxchtdecoder/wxchtdecoder-1.5a-r1.ebuild   | 32 +++
 2 files changed, 69 insertions(+)

diff --git a/games-util/wxchtdecoder/files/wxchtdecoder-1.5a-wxgtk.patch 
b/games-util/wxchtdecoder/files/wxchtdecoder-1.5a-wxgtk.patch
new file mode 100644
index 000..1eb61fe
--- /dev/null
+++ b/games-util/wxchtdecoder/files/wxchtdecoder-1.5a-wxgtk.patch
@@ -0,0 +1,37 @@
+--- wxchtdecoder-1.5a.orig/source/chtdecoder.cc
 wxchtdecoder-1.5a/source/chtdecoder.cc
+@@ -64,26 +64,26 @@
+ const wxSize *CHTDecoder::APP_SIZE = new wxSize(640, 480);
+ 
+ namespace {
+-const wxCmdLineEntryDesc CMDLINE_DESC[] = {
++wxCmdLineEntryDesc CMDLINE_DESC[] = {
+ { 
+-wxCMD_LINE_SWITCH, wxT("h"), wxT("help"),
+-wxT("display usage information"), wxCMD_LINE_VAL_STRING,
++wxCMD_LINE_SWITCH, "h", "help",
++"display usage information", wxCMD_LINE_VAL_STRING,
+ wxCMD_LINE_OPTION_HELP
+ },
+   
+ { 
+-wxCMD_LINE_SWITCH, wxT("v"), wxT("version"),
+-wxT("display version information"), wxCMD_LINE_VAL_STRING,
++wxCMD_LINE_SWITCH, "v", "version",
++"display version information", wxCMD_LINE_VAL_STRING,
+ wxCMD_LINE_OPTION_HELP 
+ },
+   
+ {
+-wxCMD_LINE_SWITCH, wxT("f"), wxT("force-open"),
+-wxT("force opening of possibly invalid .CHT files")
++wxCMD_LINE_SWITCH, "f", "force-open",
++"force opening of possibly invalid .CHT files"
+ },
+ 
+ {
+-wxCMD_LINE_PARAM, 0, 0, wxT(".CHT file(s)"),
++wxCMD_LINE_PARAM, 0, 0, ".CHT file(s)",
+ wxCMD_LINE_VAL_STRING, wxCMD_LINE_PARAM_MULTIPLE
+ },
+ 

diff --git a/games-util/wxchtdecoder/wxchtdecoder-1.5a-r1.ebuild 
b/games-util/wxchtdecoder/wxchtdecoder-1.5a-r1.ebuild
new file mode 100644
index 000..71c8386
--- /dev/null
+++ b/games-util/wxchtdecoder/wxchtdecoder-1.5a-r1.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+WX_GTK_VER="3.0"
+inherit eutils wxwidgets
+
+DESCRIPTION="A program to decode .CHT files in Snes9x and ZSNES to plain text"
+HOMEPAGE="http://games.technoplaza.net/chtdecoder/;
+SRC_URI="mirror://gentoo/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="x11-libs/wxGTK:${WX_GTK_VER}[X]"
+RDEPEND=${DEPEND}
+
+src_prepare() {
+   epatch "${FILESDIR}"/${P}-wxgtk.patch
+}
+
+src_configure() {
+   econf --with-wx-config=${WX_CONFIG}
+}
+
+src_install() {
+   dobin source/wxchtdecoder
+   dodoc docs/wxchtdecoder.txt
+}