Gentoo Archives: gentoo-commits

From: David Seifert <soap@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-i18n/x-unikey/, app-i18n/x-unikey/files/, profiles/
Date: Mon, 17 Apr 2017 07:51:09
Message-Id: 1492415383.b3c1f7cd01ea842f4e081a092f897e1981b425b6.soap@gentoo
1 commit: b3c1f7cd01ea842f4e081a092f897e1981b425b6
2 Author: David Seifert <soap <AT> gentoo <DOT> org>
3 AuthorDate: Mon Apr 17 07:49:43 2017 +0000
4 Commit: David Seifert <soap <AT> gentoo <DOT> org>
5 CommitDate: Mon Apr 17 07:49:43 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b3c1f7cd
7
8 app-i18n/x-unikey: Remove from tree
9
10 app-i18n/x-unikey/Manifest | 1 -
11 app-i18n/x-unikey/files/01x-unikey | 9 ---
12 app-i18n/x-unikey/files/x-unikey-1.0.4-gcc43.patch | 12 ----
13 app-i18n/x-unikey/files/x-unikey-1.0.4-gcc44.patch | 31 ---------
14 .../x-unikey/files/x-unikey-1.0.4-gentoo.patch | 20 ------
15 app-i18n/x-unikey/metadata.xml | 11 ----
16 app-i18n/x-unikey/x-unikey-1.0.4-r2.ebuild | 77 ----------------------
17 profiles/package.mask | 1 -
18 8 files changed, 162 deletions(-)
19
20 diff --git a/app-i18n/x-unikey/Manifest b/app-i18n/x-unikey/Manifest
21 deleted file mode 100644
22 index be3c40cefd4..00000000000
23 --- a/app-i18n/x-unikey/Manifest
24 +++ /dev/null
25 @@ -1 +0,0 @@
26 -DIST x-unikey-1.0.4.tar.bz2 561391 SHA256 aa7dd444853538bcba0f24c4c19692c34d4553a1df213a260c2628a7116b2dd9 SHA512 47abe4087957c4926550a0121d5cdc7b760f39691fae91c8e0562fc0f4577c22a04192667d362c9838b87fd97d2111afef1260fc88d8234bc5656bab248b5b06 WHIRLPOOL 144788e4a43e55c5a30fbb11eba6953d147823d3229550cbec370d583fd1a74e97f68c3e14b1988074788561f4e0adb836829f06ab88b1f725051dd3840256d9
27
28 diff --git a/app-i18n/x-unikey/files/01x-unikey b/app-i18n/x-unikey/files/01x-unikey
29 deleted file mode 100644
30 index 595b6a183b5..00000000000
31 --- a/app-i18n/x-unikey/files/01x-unikey
32 +++ /dev/null
33 @@ -1,9 +0,0 @@
34 -# x-unikey works only with *.UTF-8 locales
35 -#LANG=en_US.UTF-8
36 -
37 -# Uncomment this if you use XIM.
38 -#GTK_IM_MODULE="xim"
39 -#XMODIFIERS="@im=unikey"
40 -
41 -# If you use unikey-gtk only, then comment this
42 -#GTK_IM_MODULE="unikey"
43
44 diff --git a/app-i18n/x-unikey/files/x-unikey-1.0.4-gcc43.patch b/app-i18n/x-unikey/files/x-unikey-1.0.4-gcc43.patch
45 deleted file mode 100644
46 index c7e46ff686b..00000000000
47 --- a/app-i18n/x-unikey/files/x-unikey-1.0.4-gcc43.patch
48 +++ /dev/null
49 @@ -1,12 +0,0 @@
50 -diff -Naur x-unikey-1.0.4.orig/src/ukengine/usrkeymap.cpp x-unikey-1.0.4/src/ukengine/usrkeymap.cpp
51 ---- x-unikey-1.0.4.orig/src/ukengine/usrkeymap.cpp 2008-12-18 00:39:38.000000000 +0900
52 -+++ x-unikey-1.0.4/src/ukengine/usrkeymap.cpp 2008-12-18 00:38:56.000000000 +0900
53 -@@ -23,6 +23,8 @@
54 -
55 - #include "stdafx.h"
56 - #include <iostream>
57 -+#include <cstring>
58 -+
59 - using namespace std;
60 -
61 - #include <ctype.h>
62
63 diff --git a/app-i18n/x-unikey/files/x-unikey-1.0.4-gcc44.patch b/app-i18n/x-unikey/files/x-unikey-1.0.4-gcc44.patch
64 deleted file mode 100644
65 index 5e59ca131b7..00000000000
66 --- a/app-i18n/x-unikey/files/x-unikey-1.0.4-gcc44.patch
67 +++ /dev/null
68 @@ -1,31 +0,0 @@
69 -diff -ur x-unikey-1.0.4.orig/src/ukengine/mactab.cpp x-unikey-1.0.4/src/ukengine/mactab.cpp
70 ---- x-unikey-1.0.4.orig/src/ukengine/mactab.cpp 2006-04-09 14:46:02.000000000 +0300
71 -+++ x-unikey-1.0.4/src/ukengine/mactab.cpp 2009-08-10 14:50:50.000000000 +0300
72 -@@ -287,7 +287,7 @@
73 - char key[MAX_MACRO_KEY_LEN];
74 -
75 - // Parse the input item
76 -- char * pos = strchr(item, ':');
77 -+ const char * pos = strchr(item, ':');
78 - if (pos == NULL)
79 - return -1;
80 - int keyLen = (int)(pos - item);
81 -diff -ur x-unikey-1.0.4.orig/src/ukengine/usrkeymap.cpp x-unikey-1.0.4/src/ukengine/usrkeymap.cpp
82 ---- x-unikey-1.0.4.orig/src/ukengine/usrkeymap.cpp 2006-04-09 02:31:40.000000000 +0300
83 -+++ x-unikey-1.0.4/src/ukengine/usrkeymap.cpp 2009-08-10 14:48:44.000000000 +0300
84 -@@ -21,6 +21,8 @@
85 - * Boston, MA 02111-1307, USA.
86 - */
87 -
88 -+#include <stdio.h>
89 -+
90 - #include "stdafx.h"
91 - #include <iostream>
92 - using namespace std;
93 -@@ -262,4 +264,4 @@
94 - return i;
95 - }
96 - return -1;
97 --}
98 -\ No newline at end of file
99 -+}
100
101 diff --git a/app-i18n/x-unikey/files/x-unikey-1.0.4-gentoo.patch b/app-i18n/x-unikey/files/x-unikey-1.0.4-gentoo.patch
102 deleted file mode 100644
103 index e3bef43b98b..00000000000
104 --- a/app-i18n/x-unikey/files/x-unikey-1.0.4-gentoo.patch
105 +++ /dev/null
106 @@ -1,20 +0,0 @@
107 ---- x-unikey-1.0.4.orig/src/unikey-gtk/Makefile.am 2005-10-16 12:39:15.000000000 +0900
108 -+++ x-unikey-1.0.4/src/unikey-gtk/Makefile.am 2008-12-18 00:48:37.000000000 +0900
109 -@@ -34,7 +34,7 @@
110 -
111 - install-data-hook:
112 - gtk-query-immodules-2.0 \
113 -- > @gtk_sysconfdir@/gtk.immodules
114 -+ > $(DESTDIR)@gtk_sysconfdir@/gtk.immodules
115 -
116 - ## $(moduledir)/im-vn.la \
117 - ## @GTK_PREFIX@/lib/gtk-2.0/@GTK_VERSION@/immodules/*.la \
118 -@@ -42,7 +42,7 @@
119 -
120 - uninstall-hook:
121 - gtk-query-immodules-2.0 > \
122 -- @gtk_sysconfdir@/gtk.immodules
123 -+ $(DESTDIR)@gtk_sysconfdir@/gtk.immodules
124 - ## @GTK_PREFIX@/lib/gtk-2.0/@GTK_VERSION@/immodules/*.la \
125 -
126 -
127
128 diff --git a/app-i18n/x-unikey/metadata.xml b/app-i18n/x-unikey/metadata.xml
129 deleted file mode 100644
130 index 7d34bdcad69..00000000000
131 --- a/app-i18n/x-unikey/metadata.xml
132 +++ /dev/null
133 @@ -1,11 +0,0 @@
134 -<?xml version="1.0" encoding="UTF-8"?>
135 -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
136 -<pkgmetadata>
137 - <maintainer type="project">
138 - <email>cjk@g.o</email>
139 - <name>Cjk</name>
140 - </maintainer>
141 - <upstream>
142 - <remote-id type="sourceforge">unikey</remote-id>
143 - </upstream>
144 -</pkgmetadata>
145
146 diff --git a/app-i18n/x-unikey/x-unikey-1.0.4-r2.ebuild b/app-i18n/x-unikey/x-unikey-1.0.4-r2.ebuild
147 deleted file mode 100644
148 index ce41d759bf7..00000000000
149 --- a/app-i18n/x-unikey/x-unikey-1.0.4-r2.ebuild
150 +++ /dev/null
151 @@ -1,77 +0,0 @@
152 -# Copyright 1999-2015 Gentoo Foundation
153 -# Distributed under the terms of the GNU General Public License v2
154 -
155 -EAPI=5
156 -
157 -inherit autotools eutils multilib gnome2-utils
158 -
159 -DESCRIPTION="Vietnamese X Input Method"
160 -HOMEPAGE="http://www.unikey.org/"
161 -SRC_URI="mirror://sourceforge/unikey/${P}.tar.bz2"
162 -
163 -LICENSE="GPL-2"
164 -SLOT="0"
165 -KEYWORDS="~amd64 ~ppc x86"
166 -IUSE="nls gtk"
167 -
168 -RDEPEND="x11-libs/libX11
169 - x11-libs/libSM
170 - x11-libs/libICE
171 - gtk? ( >=x11-libs/gtk+-2.2:2 )
172 - nls? ( virtual/libintl )"
173 -DEPEND="${RDEPEND}
174 - dev-libs/glib
175 - virtual/pkgconfig
176 - nls? ( sys-devel/gettext )"
177 -
178 -pkg_setup() {
179 - # An arch specific config directory is used on multilib systems
180 - has_multilib_profile && GTK2_CONFDIR="/etc/gtk-2.0/${CHOST}"
181 - GTK2_CONFDIR=${GTK2_CONFDIR:=/etc/gtk-2.0/}
182 -}
183 -
184 -src_prepare() {
185 - epatch "${FILESDIR}"/${P}-gcc43.patch \
186 - "${FILESDIR}"/${P}-gcc44.patch \
187 - "${FILESDIR}"/${P}-gentoo.patch
188 - eautoreconf
189 -}
190 -
191 -src_configure() {
192 - local myconf
193 - # --with-gtk-sysconfdir to prevent sandbox violation only
194 - use gtk && myconf="--with-unikey-gtk --with-gtk-sysconfdir=${GTK2_CONFDIR}"
195 - econf ${myconf}
196 -}
197 -
198 -src_install() {
199 - if use gtk;then
200 - dodir "${GTK2_CONFDIR}"
201 -# emake DESTDIR="${D}" install -C src/unikey-gtk || die
202 - fi
203 -# dobin src/xim/ukxim src/gui/unikey
204 - emake DESTDIR="${D}" install
205 - doenvd "${FILESDIR}/01x-unikey"
206 -
207 - dodoc AUTHORS CREDITS ChangeLog NEWS README TODO
208 - cd doc
209 - dodoc README1ST keymap-syntax manual options ukmacro \
210 - unikey-manual-0.9.pdf unikey.png unikeyrc
211 -}
212 -
213 -pkg_postinst() {
214 - elog
215 - elog "Go to /etc/env.d/01x-unikey and uncomment appropriate lines"
216 - elog "to enable x-unikey"
217 - elog
218 - if use gtk; then
219 - gnome2_query_immodules_gtk2
220 - elog "If you want to use x-unikey as the default gtk+ input method,"
221 - elog "change GTK_IM_MODULE in /etc/env.d/01x-unikey to \"unikey\""
222 - elog
223 - fi
224 -}
225 -
226 -pkg_postrm() {
227 - use gtk && gnome2_query_immodules_gtk2
228 -}
229
230 diff --git a/profiles/package.mask b/profiles/package.mask
231 index 64c6844c435..8f37bb70b3d 100644
232 --- a/profiles/package.mask
233 +++ b/profiles/package.mask
234 @@ -187,7 +187,6 @@ dev-java/swidgets
235 # invokes undefined behaviour, last release in 2004.
236 # Masked for removal in 30 days. Bug #593942, #593976.
237 app-text/uvconv
238 -app-i18n/x-unikey
239
240 # Michael Palimaka <kensington@g.o> (11 Mar 2017)
241 # Fails to build. Dead upstream.