summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2014-06-04 03:14:33 +0000
committerJeroen Roovers <jer@gentoo.org>2014-06-04 03:14:33 +0000
commit06c1955eb52dc0edb0dab95b6adddb128786d79b (patch)
treea918629fb4c3f378f0f02277bc25b31743da5616 /x11-misc
parentInitial commit (bug #253783 by ron widler). (diff)
downloadhistorical-06c1955eb52dc0edb0dab95b6adddb128786d79b.tar.gz
historical-06c1955eb52dc0edb0dab95b6adddb128786d79b.tar.bz2
historical-06c1955eb52dc0edb0dab95b6adddb128786d79b.zip
Initial commit (bug #253783 by ron widler).
Package-Manager: portage-2.2.10/cvs/Linux x86_64 Manifest-Sign-Key: 0xA792A613
Diffstat (limited to 'x11-misc')
-rw-r--r--x11-misc/easystroke/Manifest14
-rw-r--r--x11-misc/easystroke/easystroke-0.6.0.ebuild59
-rw-r--r--x11-misc/easystroke/files/easystroke-0.6.0-cellrendertextish.patch20
-rw-r--r--x11-misc/easystroke/files/easystroke-0.6.0-desktop.patch11
-rw-r--r--x11-misc/easystroke/files/easystroke-0.6.0-gentoo.patch41
-rw-r--r--x11-misc/easystroke/metadata.xml5
6 files changed, 148 insertions, 2 deletions
diff --git a/x11-misc/easystroke/Manifest b/x11-misc/easystroke/Manifest
index 25ae1f234124..0acbc1832c8f 100644
--- a/x11-misc/easystroke/Manifest
+++ b/x11-misc/easystroke/Manifest
@@ -1,7 +1,17 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA256
+
AUX easystroke-0.6.0-cellrendertextish.patch 718 SHA256 3cbc030f918afdde366b401e38f8693851fc070addfa7df6fc1f5c571edcd504 SHA512 2feacef4d9b1707dd1e20a2e84b78313744bc9ce9b2a7d0070cab47b691ec2cfd1e1616aaf1c30a722ae5ecb16c230b6a647965da4194f2700262977eedb8b9f WHIRLPOOL 05d034af4dbec0a8340c160bcc4a51f5cb1e28d801d20891f8f7e12884357b7ac5d3448629acb2cdf781d934b73c99b72a90767a9520aa69791e803f870f9610
AUX easystroke-0.6.0-desktop.patch 294 SHA256 09019df4e9e5c7c94851d83f12fcde0dd5953970e7d06b7d7e2f02b86ee4c922 SHA512 082b353b21fdb7754a3b94519a426f69c67caca32977657bdc09ca158d783612a454b2fc08949cb9cb2ee2d1c3ce07d6f7915e782f50c3829f456e31f6330471 WHIRLPOOL 6498ae7407aa58fa3b8c6d073cb22fa70ccf15297287b19897c29ebd4503fcdf645b29f674b4f8017f3603ac602cbda2ff67186982bb7595a3c3c3d5c8bf80cc
AUX easystroke-0.6.0-gentoo.patch 1672 SHA256 3bcf989e34442a6295a2c19ee4a092034012fc3462da331c40cde00bc543190e SHA512 e44b7d01506242985ec2b53d4f267425d7877649d4ca734ade93a68b9d52b03af1cf7fc9eab81617d2459cbe27eb88f4f82754416a910fc01e1b0de9b34486a8 WHIRLPOOL 24bb3584dab7c3ae3041fed08283f824bd7fdccedb7668b8eb6784fd8c81a4c1142fbfa080f59b6770f742adac944467d79eed2731a5a577d8603692ecd52691
DIST easystroke-0.6.0.tar.gz 121358 SHA256 f4c37adbc4dd405a24badb9e6be20d3223b4087ff9caed2c15ff71674051d0fd SHA512 a74cbdfd2b56e6b20d895297e80fb63f3d8ac938235ecf7067f984d087004af22a5ea0116ae20b948e238b02a06b14044a7025d65840f0c8d00542332387c921 WHIRLPOOL d1305449563d599c5159ebddb2fdc6c17f2e79d8a1ea5186cff9f6785545cb2941413fb498347da8801ac665e20f1aa252270bcc88e93d97111ae253924d7b18
-EBUILD easystroke-0.6.0.ebuild 1125 SHA256 555dd470c857c2c4f2890e8e145099344b4d8e4cc8b50739bfaeb1733e73906e SHA512 3777aacc23b94b45ff4647ac450f4842b3733a6492de42d166f26ef61433f396aa3689dec6516b0550027b1dcfe1ea932df814833e38c0ce2dbf71dcf40ad60d WHIRLPOOL bb448dab40dac725e1553bd153fb5a1e2aee4a6cc6d0cbd04101bbb38435b79a1be3bb5f5334b46050e3667dab6cc3f72ab407a25c970a6532ead94b70df70e8
-MISC ChangeLog 420 SHA256 2baf22fee3395de5d1b500ac8a46f53b4d9770a1eac466407349a36bc4a5fab2 SHA512 6bf3ba371ab27175382e35f1a95fb75d05fb97e8d2f260c646e94dd84edc7a2c3b846cdca334012c9964e8ac6a9d5f31e99d1988895626ab9411620896bbb9d8 WHIRLPOOL 4b2dd88357afe352d58b1af11f98f1ae63fa953392363dcb5d89191c85cfc380bbabc261563fe27323e9def388f8716d26565e6997718af98df46773b1502fe5
+EBUILD easystroke-0.6.0.ebuild 1227 SHA256 7691e97cd3ac167c0972792641abc7fc8970394e50835b1e94925c62434e0b75 SHA512 4a8616bf5d2e4b33374caf908bcce50189dc7e06a1b7d72e4398dc61bf296df2197945d8b4ef8a634cc34778a54949e0dcf44bd49df771c4e284b33e716f1ac0 WHIRLPOOL 0921a94a3a77127c5321a9971f7cd9ba1ad1a46e980be8d76fee5f1f49b17020bd882772fa39a99314bbd5d8f02e18f22f92bfe424af9edd198d713104ea9371
+MISC ChangeLog 508 SHA256 e6ebe1ebf521e2293fe106542f82d9f33d26366da9f21496647fcb0aae12d476 SHA512 db761db972871610e0998aed72fecbbefe240c87650b4de263d48525890f6d03ff6216bde68f721c2a13a60eb780765abef0b09c84557bc2a607335bb7fdb7f9 WHIRLPOOL 13c475dbcc98f48ba9e59ea4239c0db1c9c946bab68a0ac3fcad3b343d532017d3221ff762678947df7d416205ad4f422f699a44a7963c954204bc6e8114710d
MISC metadata.xml 165 SHA256 d7da9ed29b7afb87ac00580d48a49d248f89c92269e9a7791782dc72f4490aec SHA512 243d1391ff105563c9bf0f75b1eab39434cfb69e084e81cebf6e4eb3aa391cd7e36210b2c3808895bf876dd761eb72330144af2a81e467453c60b37ccdf0e63c WHIRLPOOL f63c52b91f14d86972c7de46b5a50b2d47822a1347d627e05845027ff75299dc79a135988141e1dec933925c4e0213287ef6933ed76ed2fd3fcdff3757c1766b
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.22 (GNU/Linux)
+
+iEYEAREIAAYFAlOOjxkACgkQVWmRsqeSphOm+gCcCGxvFj2PD/wqhfcUsF8MTcWA
+dm0An0V7lkR3Tq6NGx5c6HoFY+ML4Ia8
+=HxrH
+-----END PGP SIGNATURE-----
diff --git a/x11-misc/easystroke/easystroke-0.6.0.ebuild b/x11-misc/easystroke/easystroke-0.6.0.ebuild
new file mode 100644
index 000000000000..80c07be4b2f6
--- /dev/null
+++ b/x11-misc/easystroke/easystroke-0.6.0.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/easystroke/easystroke-0.6.0.ebuild,v 1.1 2014/06/04 03:14:31 jer Exp $
+
+EAPI=5
+inherit eutils toolchain-funcs
+
+DESCRIPTION="a gesture-recognition application for X11"
+HOMEPAGE="http://sourceforge.net/apps/trac/easystroke/"
+SRC_URI="mirror://sourceforge/project/${PN}/${PN}/${PV}/${P}.tar.gz"
+
+LICENSE="ISC"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+RDEPEND="
+ dev-cpp/gtkmm:3.0
+ dev-libs/boost
+ dev-libs/dbus-glib
+ dev-libs/glib:2
+ x11-libs/libX11
+ x11-libs/libXext
+ x11-libs/libXfixes
+ x11-libs/libXi
+ x11-libs/libXtst
+"
+DEPEND="
+ ${RDEPEND}
+ dev-util/intltool
+ sys-devel/gettext
+"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-cellrendertextish.patch
+ epatch "${FILESDIR}"/${P}-desktop.patch
+ epatch "${FILESDIR}"/${P}-gentoo.patch
+
+ tc-export CC CXX PKG_CONFIG
+
+ strip-linguas -i po/
+
+ local es_lingua lang
+ for es_lingua in $( printf "%s\n" po/*.po ); do
+ lang=${es_lingua/po\/}
+ has ${lang/.po/} ${LINGUAS} || rm ${es_lingua}
+ done
+}
+
+src_compile() {
+ emake \
+ AOFLAGS='' \
+ LDFLAGS="${LDFLAGS}" \
+ PREFIX=/usr
+}
+
+src_install() {
+ emake DESTDIR="${D}" PREFIX=/usr install
+}
diff --git a/x11-misc/easystroke/files/easystroke-0.6.0-cellrendertextish.patch b/x11-misc/easystroke/files/easystroke-0.6.0-cellrendertextish.patch
new file mode 100644
index 000000000000..8664ed736bae
--- /dev/null
+++ b/x11-misc/easystroke/files/easystroke-0.6.0-cellrendertextish.patch
@@ -0,0 +1,20 @@
+--- a/cellrenderertextish.c
++++ b/cellrenderertextish.c
+@@ -599,7 +599,7 @@
+ _g_free0 (self->priv->path);
+ self->priv->path = _tmp3_;
+ g_signal_connect_object ((GtkCellEditable*) self, "editing-done", (GCallback) _cell_editable_accel_on_editing_done_gtk_cell_editable_editing_done, self, 0);
+- _tmp4_ = _ ("Key combination...");
++ _tmp4_ = ("Key combination...");
+ _tmp5_ = (GtkLabel*) gtk_label_new (_tmp4_);
+ g_object_ref_sink (_tmp5_);
+ label = _tmp5_;
+@@ -907,7 +907,7 @@
+ const gchar* _tmp10_;
+ const gchar* _tmp11_ = NULL;
+ _tmp10_ = item;
+- _tmp11_ = _ (_tmp10_);
++ _tmp11_ = (_tmp10_);
+ gtk_combo_box_text_append_text ((GtkComboBoxText*) self, _tmp11_);
+ _g_free0 (item);
+ }
diff --git a/x11-misc/easystroke/files/easystroke-0.6.0-desktop.patch b/x11-misc/easystroke/files/easystroke-0.6.0-desktop.patch
new file mode 100644
index 000000000000..c9a75a2c4b78
--- /dev/null
+++ b/x11-misc/easystroke/files/easystroke-0.6.0-desktop.patch
@@ -0,0 +1,11 @@
+--- a/easystroke.desktop.in
++++ b/easystroke.desktop.in
+@@ -6,7 +6,7 @@
+ Exec=easystroke
+ Icon=easystroke
+ Categories=GTK;Utility;Accessibility;
+-Actions=About;Enable;Disable;Quit
++Actions=About;Enable;Disable;Quit;
+ _Comment=Control your desktop using mouse gestures
+
+ [Desktop Action About]
diff --git a/x11-misc/easystroke/files/easystroke-0.6.0-gentoo.patch b/x11-misc/easystroke/files/easystroke-0.6.0-gentoo.patch
new file mode 100644
index 000000000000..ee95b21486c1
--- /dev/null
+++ b/x11-misc/easystroke/files/easystroke-0.6.0-gentoo.patch
@@ -0,0 +1,41 @@
+--- a/Makefile
++++ b/Makefile
+@@ -19,14 +19,14 @@
+ MENUDIR = $(PREFIX)/share/applications
+ LOCALEDIR= $(PREFIX)/share/locale
+ DFLAGS =
+-OFLAGS = -O2
+-AOFLAGS = -O3
++#OFLAGS = -O2
++#AOFLAGS = -O3
+ STROKEFLAGS = -Wall -std=c99 $(DFLAGS)
+-CXXFLAGS = -Wall $(DFLAGS) -DLOCALEDIR=\"$(LOCALEDIR)\" `pkg-config gtkmm-3.0 dbus-glib-1 --cflags`
+-CFLAGS = -Wall $(DFLAGS) -DLOCALEDIR=\"$(LOCALEDIR)\" `pkg-config gtk+-3.0 --cflags` -DGETTEXT_PACKAGE='"easystroke"'
+-LDFLAGS = $(DFLAGS)
++CXXFLAGS += -Wall $(DFLAGS) -DLOCALEDIR=\"$(LOCALEDIR)\" $(shell $(PKG_CONFIG) gtkmm-3.0 dbus-glib-1 --cflags)
++CFLAGS += -Wall $(DFLAGS) -DLOCALEDIR=\"$(LOCALEDIR)\" $(shell $(PKG_CONFIG) gtk+-3.0 --cflags) -DGETTEXT_PACKAGE='"easystroke"'
++#LDFLAGS = $(DFLAGS)
+
+-LIBS = $(DFLAGS) -lboost_serialization -lX11 -lXext -lXi -lXfixes -lXtst `pkg-config gtkmm-3.0 dbus-glib-1 --libs`
++LIBS = $(DFLAGS) -lboost_serialization -lX11 -lXext -lXi -lXfixes -lXtst $(shell $(PKG_CONFIG) gtkmm-3.0 dbus-glib-1 --libs)
+
+ BINARY = easystroke
+ ICON = easystroke.svg
+@@ -60,7 +60,7 @@
+ include $(DEPFILES)
+
+ $(BINARY): $(OFILES)
+- $(CXX) $(LDFLAGS) -o $@ $(OFILES) $(LIBS)
++ $(CXX) $(CFLAGS) $(LDFLAGS) -o $@ $(OFILES) $(LIBS)
+
+ stroke.o: stroke.c
+ $(CC) $(STROKEFLAGS) $(AOFLAGS) -MT $@ -MMD -MP -MF $*.Po -o $@ -c $<
+@@ -119,7 +119,7 @@
+ help2man -N -n "X11 gesture recognition application" ./$(BINARY) > $@
+
+ install: all
+- install -Ds $(BINARY) $(DESTDIR)$(BINDIR)/$(BINARY)
++ install -D $(BINARY) $(DESTDIR)$(BINDIR)/$(BINARY)
+ install -D -m 644 $(ICON) $(DESTDIR)$(ICONDIR)/$(ICON)
+ install -D -m 644 $(MENU) $(DESTDIR)$(MENUDIR)/$(MENU)
+ for f in $(MOFILES); do \
diff --git a/x11-misc/easystroke/metadata.xml b/x11-misc/easystroke/metadata.xml
new file mode 100644
index 000000000000..40838bc36783
--- /dev/null
+++ b/x11-misc/easystroke/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>desktop-misc</herd>
+</pkgmetadata>