1 |
jer 14/06/04 03:14:31 |
2 |
|
3 |
Added: easystroke-0.6.0-cellrendertextish.patch |
4 |
easystroke-0.6.0-desktop.patch |
5 |
easystroke-0.6.0-gentoo.patch |
6 |
Log: |
7 |
Initial commit (bug #253783 by ron widler). |
8 |
|
9 |
(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key A792A613) |
10 |
|
11 |
Revision Changes Path |
12 |
1.1 x11-misc/easystroke/files/easystroke-0.6.0-cellrendertextish.patch |
13 |
|
14 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/easystroke/files/easystroke-0.6.0-cellrendertextish.patch?rev=1.1&view=markup |
15 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/easystroke/files/easystroke-0.6.0-cellrendertextish.patch?rev=1.1&content-type=text/plain |
16 |
|
17 |
Index: easystroke-0.6.0-cellrendertextish.patch |
18 |
=================================================================== |
19 |
--- a/cellrenderertextish.c |
20 |
+++ b/cellrenderertextish.c |
21 |
@@ -599,7 +599,7 @@ |
22 |
_g_free0 (self->priv->path); |
23 |
self->priv->path = _tmp3_; |
24 |
g_signal_connect_object ((GtkCellEditable*) self, "editing-done", (GCallback) _cell_editable_accel_on_editing_done_gtk_cell_editable_editing_done, self, 0); |
25 |
- _tmp4_ = _ ("Key combination..."); |
26 |
+ _tmp4_ = ("Key combination..."); |
27 |
_tmp5_ = (GtkLabel*) gtk_label_new (_tmp4_); |
28 |
g_object_ref_sink (_tmp5_); |
29 |
label = _tmp5_; |
30 |
@@ -907,7 +907,7 @@ |
31 |
const gchar* _tmp10_; |
32 |
const gchar* _tmp11_ = NULL; |
33 |
_tmp10_ = item; |
34 |
- _tmp11_ = _ (_tmp10_); |
35 |
+ _tmp11_ = (_tmp10_); |
36 |
gtk_combo_box_text_append_text ((GtkComboBoxText*) self, _tmp11_); |
37 |
_g_free0 (item); |
38 |
} |
39 |
|
40 |
|
41 |
|
42 |
1.1 x11-misc/easystroke/files/easystroke-0.6.0-desktop.patch |
43 |
|
44 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/easystroke/files/easystroke-0.6.0-desktop.patch?rev=1.1&view=markup |
45 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/easystroke/files/easystroke-0.6.0-desktop.patch?rev=1.1&content-type=text/plain |
46 |
|
47 |
Index: easystroke-0.6.0-desktop.patch |
48 |
=================================================================== |
49 |
--- a/easystroke.desktop.in |
50 |
+++ b/easystroke.desktop.in |
51 |
@@ -6,7 +6,7 @@ |
52 |
Exec=easystroke |
53 |
Icon=easystroke |
54 |
Categories=GTK;Utility;Accessibility; |
55 |
-Actions=About;Enable;Disable;Quit |
56 |
+Actions=About;Enable;Disable;Quit; |
57 |
_Comment=Control your desktop using mouse gestures |
58 |
|
59 |
[Desktop Action About] |
60 |
|
61 |
|
62 |
|
63 |
1.1 x11-misc/easystroke/files/easystroke-0.6.0-gentoo.patch |
64 |
|
65 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/easystroke/files/easystroke-0.6.0-gentoo.patch?rev=1.1&view=markup |
66 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/easystroke/files/easystroke-0.6.0-gentoo.patch?rev=1.1&content-type=text/plain |
67 |
|
68 |
Index: easystroke-0.6.0-gentoo.patch |
69 |
=================================================================== |
70 |
--- a/Makefile |
71 |
+++ b/Makefile |
72 |
@@ -19,14 +19,14 @@ |
73 |
MENUDIR = $(PREFIX)/share/applications |
74 |
LOCALEDIR= $(PREFIX)/share/locale |
75 |
DFLAGS = |
76 |
-OFLAGS = -O2 |
77 |
-AOFLAGS = -O3 |
78 |
+#OFLAGS = -O2 |
79 |
+#AOFLAGS = -O3 |
80 |
STROKEFLAGS = -Wall -std=c99 $(DFLAGS) |
81 |
-CXXFLAGS = -Wall $(DFLAGS) -DLOCALEDIR=\"$(LOCALEDIR)\" `pkg-config gtkmm-3.0 dbus-glib-1 --cflags` |
82 |
-CFLAGS = -Wall $(DFLAGS) -DLOCALEDIR=\"$(LOCALEDIR)\" `pkg-config gtk+-3.0 --cflags` -DGETTEXT_PACKAGE='"easystroke"' |
83 |
-LDFLAGS = $(DFLAGS) |
84 |
+CXXFLAGS += -Wall $(DFLAGS) -DLOCALEDIR=\"$(LOCALEDIR)\" $(shell $(PKG_CONFIG) gtkmm-3.0 dbus-glib-1 --cflags) |
85 |
+CFLAGS += -Wall $(DFLAGS) -DLOCALEDIR=\"$(LOCALEDIR)\" $(shell $(PKG_CONFIG) gtk+-3.0 --cflags) -DGETTEXT_PACKAGE='"easystroke"' |
86 |
+#LDFLAGS = $(DFLAGS) |
87 |
|
88 |
-LIBS = $(DFLAGS) -lboost_serialization -lX11 -lXext -lXi -lXfixes -lXtst `pkg-config gtkmm-3.0 dbus-glib-1 --libs` |
89 |
+LIBS = $(DFLAGS) -lboost_serialization -lX11 -lXext -lXi -lXfixes -lXtst $(shell $(PKG_CONFIG) gtkmm-3.0 dbus-glib-1 --libs) |
90 |
|
91 |
BINARY = easystroke |
92 |
ICON = easystroke.svg |
93 |
@@ -60,7 +60,7 @@ |
94 |
include $(DEPFILES) |
95 |
|
96 |
$(BINARY): $(OFILES) |
97 |
- $(CXX) $(LDFLAGS) -o $@ $(OFILES) $(LIBS) |
98 |
+ $(CXX) $(CFLAGS) $(LDFLAGS) -o $@ $(OFILES) $(LIBS) |
99 |
|
100 |
stroke.o: stroke.c |
101 |
$(CC) $(STROKEFLAGS) $(AOFLAGS) -MT $@ -MMD -MP -MF $*.Po -o $@ -c $< |
102 |
@@ -119,7 +119,7 @@ |
103 |
help2man -N -n "X11 gesture recognition application" ./$(BINARY) > $@ |
104 |
|
105 |
install: all |
106 |
- install -Ds $(BINARY) $(DESTDIR)$(BINDIR)/$(BINARY) |
107 |
+ install -D $(BINARY) $(DESTDIR)$(BINDIR)/$(BINARY) |
108 |
install -D -m 644 $(ICON) $(DESTDIR)$(ICONDIR)/$(ICON) |
109 |
install -D -m 644 $(MENU) $(DESTDIR)$(MENUDIR)/$(MENU) |
110 |
for f in $(MOFILES); do \ |