summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2015-08-08 13:49:04 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2015-08-08 17:38:18 -0700
commit56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch)
tree3f91093cdb475e565ae857f1c5a7fd339e2d781e /app-misc/klavaro
downloadgentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip
proj/gentoo: Initial commit
This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'app-misc/klavaro')
-rw-r--r--app-misc/klavaro/Manifest1
-rw-r--r--app-misc/klavaro/files/klavaro-3.0.1-datadir.patch27
-rw-r--r--app-misc/klavaro/files/klavaro-3.0.1-out-of-source.patch11
-rw-r--r--app-misc/klavaro/files/klavaro-3.0.1-static.patch8
-rw-r--r--app-misc/klavaro/files/klavaro-desktop-keywords.patch11
-rw-r--r--app-misc/klavaro/klavaro-3.0.1.ebuild44
-rw-r--r--app-misc/klavaro/metadata.xml10
7 files changed, 112 insertions, 0 deletions
diff --git a/app-misc/klavaro/Manifest b/app-misc/klavaro/Manifest
new file mode 100644
index 000000000000..a2fca2ec1636
--- /dev/null
+++ b/app-misc/klavaro/Manifest
@@ -0,0 +1 @@
+DIST klavaro-3.01.tar.bz2 1140146 SHA256 ed71d522c29113d5d6517a65cbf95dafbe85ca4bb978139b804b98f128015e85 SHA512 5d58269867d2b39309e07ca9dd6c525d67acaca93dea0010332e39e8f3dd444070dbc75abad00ac4ca3fd4155f41cf871cb8ccee3dc332aa31f85c8b17d7c48b WHIRLPOOL 7c45bf861cdca5ee40bf525377ab679bc8d02b6fc3c6559ccd376896c53246bca32a569721e77f4003c19488cbcc88c6ec48a17ee54b1fb0a959c3c76b69d977
diff --git a/app-misc/klavaro/files/klavaro-3.0.1-datadir.patch b/app-misc/klavaro/files/klavaro-3.0.1-datadir.patch
new file mode 100644
index 000000000000..21047a197ccb
--- /dev/null
+++ b/app-misc/klavaro/files/klavaro-3.0.1-datadir.patch
@@ -0,0 +1,27 @@
+--- data/Makefile.am 2014-12-18 23:16:47.513887559 -0500
++++ data/Makefile.am 2014-12-18 23:16:59.060609420 -0500
+@@ -151,11 +151,11 @@
+ EXTRA_DIST = $(klavaro_data)
+ else
+ @INTLTOOL_DESKTOP_RULE@
+-desktopdir = $(prefix)/$(DATADIRNAME)/applications
++desktopdir = $(datadir)/applications
+ desktop_in_file = klavaro.desktop.in
+ desktop_DATA = $(desktop_in_file:.desktop.in=.desktop)
+ @INTLTOOL_XML_RULE@
+-appdatadir = $(prefix)/$(DATADIRNAME)/appdata
++appdatadir = $(datadir)/appdata
+ appdata_in_files = klavaro.appdata.xml.in
+ appdata_DATA = $(appdata_in_files:.xml.in=.xml)
+ DISTCLEANFILES = $(desktop_DATA) \
+--- src/Makefile.am 2014-12-18 23:17:35.956725053 -0500
++++ src/Makefile.am 2014-12-18 23:17:45.309501898 -0500
+@@ -20,7 +20,7 @@
+
+ AM_CPPFLAGS = @GTK_CFLAGS@ \
+ -DPACKAGE_DATA_DIR=\""$(datadir)"\" \
+- -DPACKAGE_LOCALE_DIR=\""$(prefix)/$(DATADIRNAME)/locale"\"
++ -DPACKAGE_LOCALE_DIR=\""$(datadir)/locale"\"
+
+ AM_CFLAGS = -Wextra \
+ -I$(top_srcdir)/gtkdatabox
diff --git a/app-misc/klavaro/files/klavaro-3.0.1-out-of-source.patch b/app-misc/klavaro/files/klavaro-3.0.1-out-of-source.patch
new file mode 100644
index 000000000000..5e4a9d48fbd1
--- /dev/null
+++ b/app-misc/klavaro/files/klavaro-3.0.1-out-of-source.patch
@@ -0,0 +1,11 @@
+--- src/Makefile.am 2014-09-05 10:26:56.000000000 -0400
++++ src/Makefile.am 2014-12-18 21:27:55.443335860 -0500
+@@ -29,7 +29,7 @@
+
+ klavaro_LDADD = @GTK_LIBS@ \
+ -lgmodule-2.0 \
+- $(top_srcdir)/gtkdatabox/libgtkdataboks.la
++ $(top_builddir)/gtkdatabox/libgtkdataboks.la
+
+ if IS_POSIX
+ AM_CFLAGS += -export-dynamic
diff --git a/app-misc/klavaro/files/klavaro-3.0.1-static.patch b/app-misc/klavaro/files/klavaro-3.0.1-static.patch
new file mode 100644
index 000000000000..010cd11de005
--- /dev/null
+++ b/app-misc/klavaro/files/klavaro-3.0.1-static.patch
@@ -0,0 +1,8 @@
+--- gtkdatabox/Makefile.am 2014-12-18 21:26:18.129806730 -0500
++++ gtkdatabox/Makefile.am 2014-12-18 21:26:30.528364491 -0500
+@@ -1,4 +1,4 @@
+-lib_LTLIBRARIES = libgtkdataboks.la
++noinst_LTLIBRARIES = libgtkdataboks.la
+ libgtkdataboks_la_SOURCES= \
+ gtkdatabox.c\
+ gtkdatabox_marshal.c\
diff --git a/app-misc/klavaro/files/klavaro-desktop-keywords.patch b/app-misc/klavaro/files/klavaro-desktop-keywords.patch
new file mode 100644
index 000000000000..fbf39ab954be
--- /dev/null
+++ b/app-misc/klavaro/files/klavaro-desktop-keywords.patch
@@ -0,0 +1,11 @@
+--- data/klavaro.desktop.in 2015-01-07 21:52:37.877646655 -0500
++++ data/klavaro.desktop.in 2015-01-07 21:52:56.391720366 -0500
+@@ -2,7 +2,7 @@
+ Name=Klavaro
+ _Comment=A very flexible and efficient touch typing tutor.
+ # Translators: these are keywords related to the program. CAI above means Computer Aided Instruction. Feel free to add and/or change the keywords in your language.
+-_Keywords=keyboard;typing;tutor;CAI
++_Keywords=keyboard;typing;tutor;CAI;
+
+ Exec=klavaro
+ Icon=klavaro
diff --git a/app-misc/klavaro/klavaro-3.0.1.ebuild b/app-misc/klavaro/klavaro-3.0.1.ebuild
new file mode 100644
index 000000000000..c3450a50dfce
--- /dev/null
+++ b/app-misc/klavaro/klavaro-3.0.1.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+AUTOTOOLS_AUTORECONF=yes
+
+inherit autotools-utils versionator
+
+MY_P="${PN}-$(delete_version_separator 2)"
+
+DESCRIPTION="Another free touch typing tutor program"
+HOMEPAGE="http://klavaro.sourceforge.net/"
+SRC_URI="mirror://sourceforge/project/${PN}/${MY_P}.tar.bz2"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE="+static-libs"
+
+RDEPEND="
+ net-misc/curl
+ x11-libs/cairo
+ x11-libs/gtk+:3
+ x11-libs/pango
+"
+# gtk+3 version needed
+# x11-libs/gtkdatabox
+
+DEPEND="${RDEPEND}
+ dev-util/intltool
+ >=sys-devel/gettext-0.18.3
+ dev-util/gtk-builder-convert
+ "
+
+PATCHES=(
+ "${FILESDIR}"/${P}-out-of-source.patch
+ "${FILESDIR}"/${P}-static.patch
+ "${FILESDIR}"/${P}-datadir.patch
+ "${FILESDIR}"/${PN}-desktop-keywords.patch
+ )
+
+S="${WORKDIR}"/${MY_P}
diff --git a/app-misc/klavaro/metadata.xml b/app-misc/klavaro/metadata.xml
new file mode 100644
index 000000000000..4f23a8c52bb3
--- /dev/null
+++ b/app-misc/klavaro/metadata.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer>
+ <email>maintainer-needed@gentoo.org</email>
+ </maintainer>
+ <upstream>
+ <remote-id type="sourceforge">klavaro</remote-id>
+ </upstream>
+</pkgmetadata>