logo

overlay

Personnal gentoo overlay
commit: ba2c579116f479193f3d4f5f6f808a867f0288ec
parent: 50c3ad79135604976c1047fba2b5dc8b79d66b40
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Wed,  4 Oct 2017 21:36:43 +0200

app-misc/kanatest: Import from ::gentoo

Diffstat:

app-misc/kanatest/Manifest | 8++++++++
app-misc/kanatest/files/kanatest-0.4.8+gtk-2.22.patch | 23+++++++++++++++++++++++
app-misc/kanatest/files/kanatest-0.4.8-autoconf.patch | 13+++++++++++++
app-misc/kanatest/files/kanatest-0.4.8-cflags.patch | 13+++++++++++++
app-misc/kanatest/kanatest-0.4.8.ebuild | 40++++++++++++++++++++++++++++++++++++++++
app-misc/kanatest/metadata.xml | 8++++++++
6 files changed, 105 insertions(+), 0 deletions(-)

diff --git a/app-misc/kanatest/Manifest b/app-misc/kanatest/Manifest @@ -0,0 +1,8 @@ +AUX kanatest-0.4.8+gtk-2.22.patch 967 SHA256 9edd7f678175120232db936bcc4b58064d1087ac9af71f70e9bb7c694ff42fa1 SHA512 d996ba512c7b10d8971cd5f7ee1bd25517f1847f3f4466e25b3217fbff23c6164ac51e5d29bc4ed6f6e02251e02f00b5d430e004d50b8f00eab468efc4f51def WHIRLPOOL 796624aac45856c16a7de6fa67e9a5a28c7c97f6c2ab42cef2e8894ffff20d3418105d0c7767d009df1c1d8cf332798bb8ecac58a1952d7d644b014bffa5c5ee +AUX kanatest-0.4.8-autoconf.patch 363 SHA256 22b620a76fa1820cb4fedf1dd04a6601a962942191cdabf879fdc5e5db4e7fbf SHA512 25dff41e539ce5b758799df673735407c13560762a091a886e552c26be4dd7191bcd867523756e1f0b52066c13774ee16d5b1a32deb94e0355a9ae1396d0cf54 WHIRLPOOL a1d70c83a7764e848a85f5d91e91f3a8655f99de35512f10046b27fa5fcce1373233eadfd7d968fc44c41ec322ae5922a866ff72a426133d50612ac26d74a7b9 +AUX kanatest-0.4.8-cflags.patch 432 SHA256 e453cc52e43815e6751a36f2cb43b0e8163f673ffdd8f265e506bfacc0a32f4f SHA512 7d1d9ffda261a918d37b76fac63e641428c41ac225845cfe58b1bf5e4c8908447c56340f581b918ef55d34754f7b795d4cd0fb1eb03ea6327e43b719a95a367d WHIRLPOOL 57ce02f96928e031c1ce168135e0896434405698922fe113930797ad76d1e24855a47bc020109e7d7a68f3186f16afc95909b9669085a17ad054af0fafb428c0 +DIST kanatest-0.4.8.tar.gz 302154 SHA256 a31682604bc6db9c0cb2e15429b8a5b64c04f1ed96df912cab71d4337567c513 SHA512 c52a5e4104c17eae29f03f30abd7f003c83757e04298427112593603eab0edf7d7927b0567a053f2ea3b8aac66921546180c452d84ef6b3cdc2a361f14cbac47 WHIRLPOOL f828297eab1c381c201d1c31fc1e58b5af0a1dd4e9007b0e36c77f97d1d8e9c6ee679afda2defa0bd5f3fa9fdbd8d2a033c98e9e823cec2d8161e9b72e207a0a +EBUILD kanatest-0.4.8.ebuild 956 SHA256 2a2a0ca533cb6ee9411548d1ea1a07aa7d752df9ee940c82413dc80232ac1de9 SHA512 df15f6d6a70bbf03f6432d47967997a19bb0e31b1f6cbc4037a5580c1f6fee12f3312a2b8af1baa0010640922506997f00dc288d053151b2ffbf5b861cb83036 WHIRLPOOL a1c3b8e8152d46e68d18496f53f8ac56c7cd68c7086d391fb25e4be15444ac82e75556e756c21550a2dacd8bde0403183cba257bf1228cb6c53d6b2039929fb9 +MISC ChangeLog 2544 SHA256 0f3fe448512582b30e9def5681b1def0ffdd985b54c5d24eb8c72dc3cce40d5d SHA512 46d1d59af4028f89a10d2becd69e8d4b9e906a0decf031bc345a5880391ed5d2659ea5b55914cc663957add9c1efd54b2d63fdd28c7e7ed36df94fb7594761f8 WHIRLPOOL 215788addee9f964169f736fce7da75ef9666521dcc61a3a461762e3123e55d6f8e382ceea4ac79a1d7e1c89c7ab4c1a2445aed84d36df2f7985ad86a36ae274 +MISC ChangeLog-2015 4554 SHA256 7ebd92187edc8423d651702f63b651586d15a5e837482beed167ed805e9f7485 SHA512 18a6fb80143937a52d17e334289dd4a9eed25a89e7a812ac4b56ce1b0f2222beef9bade54ae93a5ae66cad4b7423f7abaf4e34d5b67b28fd44fba12a3d369b36 WHIRLPOOL 216f411519edfcb6034fa500389afb5c1c35d95333f2d2d9ce7a90bff09c2c5941cfc787b39add65aa3cf4f56282d00ce4393267e2e78517f33e6d0029da3c95 +MISC metadata.xml 230 SHA256 5fc421627b578ee2d1317320525119c0b406026597bb1d054f96254a241bf96a SHA512 74065bee639a38ecdef7c32280ed43a8f1627362cd8e97e714a09bcf116ae8bc4c61b2ab13c31bd02a22ae8a5a201263981ee519a0b6ba9df81a4d5f3cd94eb1 WHIRLPOOL b3c1363540645200abd5bf0b5b7fb3cae0b738bfd359f7b13b56d97650f9381fccede1e3f867dbc736461ee7c7906725a3c53eabd9ac99929d5c7c520a831082 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 @@ -0,0 +1,23 @@ +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 @@ -0,0 +1,13 @@ +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 @@ -0,0 +1,13 @@ +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/kanatest-0.4.8.ebuild b/app-misc/kanatest/kanatest-0.4.8.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +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() { + epatch \ + "${FILESDIR}"/${P}+gtk-2.22.patch \ + "${FILESDIR}"/${P}-autoconf.patch \ + "${FILESDIR}"/${P}-cflags.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 @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer type="project"> + <email>cjk@gentoo.org</email> + <name>Cjk</name> +</maintainer> +</pkgmetadata>