logo

overlay

My own overlay for experimentations, use with caution, no support is provided git clone https://hacktivis.me/git/overlay.git
commit: 2059150e2089a2bf0409cd775e367e544e8f8ca1
parent 18f211cf5ca34e7bb69685b3ba4eac6f3adfba75
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Thu,  3 Aug 2023 05:52:34 +0200

app-misc/kanatest: treeclean

Diffstat:

Dapp-misc/kanatest/Manifest1-
Dapp-misc/kanatest/files/kanatest-0.4.8+gtk-2.22.patch23-----------------------
Dapp-misc/kanatest/files/kanatest-0.4.8-autoconf.patch13-------------
Dapp-misc/kanatest/files/kanatest-0.4.8-cflags.patch13-------------
Dapp-misc/kanatest/files/kanatest-0.4.8-no_datetime.patch13-------------
Dapp-misc/kanatest/kanatest-0.4.8.ebuild42------------------------------------------
Dapp-misc/kanatest/metadata.xml8--------
7 files changed, 0 insertions(+), 113 deletions(-)

diff --git a/app-misc/kanatest/Manifest b/app-misc/kanatest/Manifest @@ -1 +0,0 @@ -DIST kanatest-0.4.8.tar.gz 302154 BLAKE2B b5bc8668f2526abef3ec576c5781b16d7c226f744613a38010125bcb1c977f0fc0b58809ba2a468a216f4b4d7b974e0d12693eea9754cc4a0ce75efcedfb1333 SHA512 c52a5e4104c17eae29f03f30abd7f003c83757e04298427112593603eab0edf7d7927b0567a053f2ea3b8aac66921546180c452d84ef6b3cdc2a361f14cbac47 diff --git a/app-misc/kanatest/files/kanatest-0.4.8+gtk-2.22.patch b/app-misc/kanatest/files/kanatest-0.4.8+gtk-2.22.patch @@ -1,23 +0,0 @@ -Index: kanatest-0.4.8/Makefile.am -=================================================================== ---- kanatest-0.4.8.orig/Makefile.am -+++ kanatest-0.4.8/Makefile.am -@@ -1,5 +1,5 @@ - SUBDIRS = src po data --ACLOCAL_AMFLAGS = -I m4 -Wall -+ACLOCAL_AMFLAGS = -Wall - - EXTRA_DIST = README AUTHORS TRANSLATORS COPYING ChangeLog - -Index: kanatest-0.4.8/src/Makefile.am -=================================================================== ---- kanatest-0.4.8.orig/src/Makefile.am -+++ kanatest-0.4.8/src/Makefile.am -@@ -1,6 +1,5 @@ - REVISION := $(shell if test -e .svn; then echo -DREV=\"`LC_ALL=C svn info | sed -n '/^Rev/p'| sed -e 's/^Revision:\ //'`\"; fi;) --AM_CPPFLAGS = -Wall -DLOCALEDIR=\"$(datadir)/locale\" $(REVISION) \ -- -DGDK_PIXBUF_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -+AM_CPPFLAGS = -Wall -DLOCALEDIR=\"$(datadir)/locale\" $(REVISION) - bin_PROGRAMS = kanatest - kanatest_SOURCES = about.c about.h \ - chart.c chart.h \ diff --git a/app-misc/kanatest/files/kanatest-0.4.8-autoconf.patch b/app-misc/kanatest/files/kanatest-0.4.8-autoconf.patch @@ -1,13 +0,0 @@ -diff --git a/configure.ac b/configure.ac -index eca7a05..b5ac45c 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -3,7 +3,7 @@ - - AC_PREREQ(2.59) - AC_INIT([Kanatest], [0.4.8], [pasp@users.sf.net]) --AM_INIT_AUTOMAKE([-Wall -Werror foreign]) -+AM_INIT_AUTOMAKE([-Wall -Wno-portability -Werror foreign]) - AC_CONFIG_SRCDIR([src/about.c]) - AC_CONFIG_HEADER([config.h]) - diff --git a/app-misc/kanatest/files/kanatest-0.4.8-cflags.patch b/app-misc/kanatest/files/kanatest-0.4.8-cflags.patch @@ -1,13 +0,0 @@ -diff --git a/configure.ac b/configure.ac -index b5ac45c..c2c6d18 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -38,7 +38,7 @@ AC_CHECK_LIB(xml2, - [], - [AC_MSG_ERROR(You do not appear to have libxml2 installed.)]) - --CFLAGS="$BUILD_CFLAGS -Wall $PLATFORM_CFLAGS -D_GNU_SOURCE" -+CFLAGS="$CFLAGS $BUILD_CFLAGS -Wall $PLATFORM_CFLAGS -D_GNU_SOURCE" - CXXFLAGS="$CFLAGS" - CPPFLAGS="$gtk_CFLAGS $xml_CFLAGS" - LIBS="$gtk_LIBS $xml_LIBS" diff --git a/app-misc/kanatest/files/kanatest-0.4.8-no_datetime.patch b/app-misc/kanatest/files/kanatest-0.4.8-no_datetime.patch @@ -1,13 +0,0 @@ ---- kanatest-0.4.8/src/about.c -+++ kanatest-0.4.8/src/about.c -@@ -237,8 +237,8 @@ - gui_url_insert_link(&appGUI->about_links_list, &appGUI->about_link_index, appGUI->about_textview, - &iter, NULL, 0, "http://clay.ll.pl/kanatest", TRUE, appGUI); - gtk_text_buffer_insert (entry_buffer, &iter, "\n", -1); -- g_snprintf (buffer, BUFFER_SIZE, "\n(%s %s, %s)\n\n", _("compiled on"), __DATE__, __TIME__); -- gtk_text_buffer_insert_with_tags_by_name (entry_buffer, &iter, buffer, -1, "center", "italic", NULL); -+// g_snprintf (buffer, BUFFER_SIZE, "\n(%s %s, %s)\n\n", _("compiled on"), __DATE__, __TIME__); -+// gtk_text_buffer_insert_with_tags_by_name (entry_buffer, &iter, buffer, -1, "center", "italic", NULL); - - g_snprintf (buffer, BUFFER_SIZE, "\n%s:\n", _("Programming")); - gtk_text_buffer_insert_with_tags_by_name (entry_buffer, &iter, buffer, -1, "bold", NULL); diff --git a/app-misc/kanatest/kanatest-0.4.8.ebuild b/app-misc/kanatest/kanatest-0.4.8.ebuild @@ -1,42 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 -inherit autotools eutils gnome2-utils - -DESCRIPTION="Visual flashcard tool for memorizing the Japanese Hiragana and Katakana alphabet" -HOMEPAGE="http://www.clayo.org/kanatest/" -SRC_URI="http://www.clayo.org/${PN}/${P}.tar.gz" - -LICENSE="GPL-2 GPL-2+" -SLOT="0" -KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" -IUSE="" - -RDEPEND=">=x11-libs/gtk+-2.12:2= - dev-libs/libxml2:=" -DEPEND="${RDEPEND} - virtual/pkgconfig" - -DOCS="AUTHORS TRANSLATORS ChangeLog README" - -src_prepare() { - default - epatch \ - "${FILESDIR}"/${P}+gtk-2.22.patch \ - "${FILESDIR}"/${P}-autoconf.patch \ - "${FILESDIR}"/${P}-cflags.patch \ - "${FILESDIR}"/${P}-no_datetime.patch - - sed -i \ - -e '/Encoding/d' \ - -e '/^Categories/s:Application;::' \ - -e '/^Icon/s:.png::' \ - data/${PN}.desktop || die - - eautoreconf -} - -pkg_preinst() { gnome2_icon_savelist; } -pkg_postinst() { gnome2_icon_cache_update; } -pkg_postrm() { gnome2_icon_cache_update; } diff --git a/app-misc/kanatest/metadata.xml b/app-misc/kanatest/metadata.xml @@ -1,8 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person"> - <email>contact@hacktivis.me</email> - <name>Haelwenn (lanodan) Monnier</name> - </maintainer> -</pkgmetadata>