commit:     5663fc7c606dcb6937b16ee21bea86a4bcf1e1e8
Author:     Michael Vetter <jubalh <AT> iodoru <DOT> org>
AuthorDate: Tue Aug 27 07:20:18 2024 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Fri Sep 13 07:20:38 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5663fc7c

games-puzzle/nudoku: drop old 2.1.0

Signed-off-by: Michael Vetter <jubalh <AT> iodoru.org>
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 games-puzzle/nudoku/Manifest                       |  1 -
 .../nudoku/files/nudoku-2.1.0-include-locale.patch | 22 ------------
 .../nudoku/files/nudoku-2.1.0-ncurses-link.patch   | 41 ----------------------
 games-puzzle/nudoku/nudoku-2.1.0.ebuild            | 38 --------------------
 4 files changed, 102 deletions(-)

diff --git a/games-puzzle/nudoku/Manifest b/games-puzzle/nudoku/Manifest
index 4a7268524ad8..6d172891ebd7 100644
--- a/games-puzzle/nudoku/Manifest
+++ b/games-puzzle/nudoku/Manifest
@@ -1,2 +1 @@
-DIST nudoku-2.1.0.tar.gz 31592 BLAKE2B 
997ae3931fec3b6605858a35cdf6bc88296138c01a9138d229ed43a5262fdd5d15eb8a96dfdcf02e8eb6f7f416b84e4752edbb57319be50bfdae6c952217446b
 SHA512 
dde16d1dccc1cae8d156f57fccf8b112f3fee7d23b912b5cd7ecc092ecbf04a8e85f469e53fa02e6bd2d0b9498e4a65a219e1aad8091f82638dceab32f320670
 DIST nudoku-3.0.0.tar.gz 31578 BLAKE2B 
ff75b02e87b231c2ae3f1109e5f6c39efd37b5f9bc6cf11247dfc1098399e8dc647b144a186b3b9f62ffcb1e7c9dd37ba1a1ce4fa917829e8498e2eed48f80ea
 SHA512 
7a87bb73d2a440b361544681c7924c62284fc3d6ac0122ddda51f5539a837ceb89fc7fcef06b134599cd7a11e2ba37fa49df0f89d5d8ab4cd454551492cb6d6e

diff --git a/games-puzzle/nudoku/files/nudoku-2.1.0-include-locale.patch 
b/games-puzzle/nudoku/files/nudoku-2.1.0-include-locale.patch
deleted file mode 100644
index d4d1c89bd104..000000000000
--- a/games-puzzle/nudoku/files/nudoku-2.1.0-include-locale.patch
+++ /dev/null
@@ -1,22 +0,0 @@
-From ffe61c8cb6dcf6032960fa75ac2b66b5f1906e37 Mon Sep 17 00:00:00 2001
-From: Michael Vetter <[email protected]>
-Date: Thu, 23 Feb 2023 10:58:43 +0100
-Subject: [PATCH] Include locale.h
-
-See https://bugs.gentoo.org/895990
----
- src/main.c | 1 +
- 1 file changed, 1 insertion(+)
-
-diff --git a/src/main.c b/src/main.c
-index 74d6a0e..77a0a03 100644
---- a/src/main.c
-+++ b/src/main.c
-@@ -25,6 +25,7 @@ along with this program. If not, see 
<http://www.gnu.org/licenses/>.
- #include <ncurses.h>                  /* ncurses */
- #include <time.h>                             /* time */
- #include <string.h>                           /* strcmp, strlen */
-+#include <locale.h>                           /* setlocale */
- #include "sudoku.h"                           /* sudoku functions */
- #ifdef ENABLE_CAIRO
- #include "outp.h"                             /* output functions */

diff --git a/games-puzzle/nudoku/files/nudoku-2.1.0-ncurses-link.patch 
b/games-puzzle/nudoku/files/nudoku-2.1.0-ncurses-link.patch
deleted file mode 100644
index 0a4b2a13a0c4..000000000000
--- a/games-puzzle/nudoku/files/nudoku-2.1.0-ncurses-link.patch
+++ /dev/null
@@ -1,41 +0,0 @@
-Ensure we link against the correct ncurses libraries.
-https://bugs.gentoo.org/764470
---- a/src/Makefile.am
-+++ b/src/Makefile.am
-@@ -2,9 +2,9 @@
- #-DDEBUG
- 
- if HAVE_WIDE_NCURSES
--nudoku_LDADD = -lncursesw
-+nudoku_LDADD = ${ncursesw_LIBS}
- else
--nudoku_LDADD = -lncurses
-+nudoku_LDADD = ${ncurses_LIBS}
- endif
- bin_PROGRAMS = nudoku
- nudoku_SOURCES = main.c sudoku.c sudoku.h
-
---- a/configure.ac
-+++ b/configure.ac
-@@ -6,6 +6,9 @@ AC_INIT([nudoku], [2.1.0], [[email protected]])
- AC_CONFIG_SRCDIR([src/main.c])
- AM_INIT_AUTOMAKE([foreign])
- 
-+# Check for pkg-config
-+PKG_PROG_PKG_CONFIG()
-+
- # Checks for programs.
- AC_PROG_CC
- # Use C99.
-@@ -35,9 +38,9 @@ the cairo development libraries, or compile without support 
(--disable-cairo)
- fi
- 
- have_wide_ncurses=no
--AC_CHECK_LIB(ncursesw, initscr, [have_wide_ncurses=yes])
-+PKG_CHECK_MODULES([ncursesw], [ncursesw], [have_wide_ncurses=yes], [])
- if test $have_wide_ncurses = no; then
--   AC_CHECK_LIB(ncurses, initscr, [], [
-+   PKG_CHECK_MODULES([ncurses], [ncurses], [], [ 
-    echo "nudoku requires ncurses"
-    exit 1
-    ])

diff --git a/games-puzzle/nudoku/nudoku-2.1.0.ebuild 
b/games-puzzle/nudoku/nudoku-2.1.0.ebuild
deleted file mode 100644
index f4a69b9fc4c7..000000000000
--- a/games-puzzle/nudoku/nudoku-2.1.0.ebuild
+++ /dev/null
@@ -1,38 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit autotools
-
-DESCRIPTION="ncurses based sudoku game"
-HOMEPAGE="https://jubalh.github.io/nudoku/";
-SRC_URI="https://github.com/jubalh/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="GPL-3+"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="cairo"
-
-BDEPEND="virtual/pkgconfig"
-DEPEND="
-       cairo? ( x11-libs/cairo )
-       >=sys-devel/gettext-0.20
-       sys-libs/ncurses:=
-       virtual/libintl
-"
-RDEPEND="${DEPEND}"
-
-PATCHES=(
-       "${FILESDIR}/${PN}-2.1.0-ncurses-link.patch"
-       "${FILESDIR}/${PN}-2.1.0-include-locale.patch"
-)
-
-src_prepare() {
-       default
-       eautoreconf
-}
-
-src_configure() {
-       econf $(use_enable cairo)
-}

Reply via email to