[gentoo-commits] repo/gentoo:master commit in: app-i18n/im-freewnn/

2024-06-08 Thread David Seifert
commit: 3efea148ceb43062cc35319c198663850dd581d1
Author: David Seifert  gentoo  org>
AuthorDate: Sat Jun  8 12:01:31 2024 +
Commit: David Seifert  gentoo  org>
CommitDate: Sat Jun  8 12:01:31 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3efea148

app-i18n/im-freewnn: update EAPI 6 -> 8

Signed-off-by: David Seifert  gentoo.org>

 ...im-freewnn-0.0.2-r3.ebuild => im-freewnn-0.0.2-r4.ebuild} | 12 ++--
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/app-i18n/im-freewnn/im-freewnn-0.0.2-r3.ebuild 
b/app-i18n/im-freewnn/im-freewnn-0.0.2-r4.ebuild
similarity index 85%
rename from app-i18n/im-freewnn/im-freewnn-0.0.2-r3.ebuild
rename to app-i18n/im-freewnn/im-freewnn-0.0.2-r4.ebuild
index 4668c3f0f2a1..75c8b2d07e01 100644
--- a/app-i18n/im-freewnn/im-freewnn-0.0.2-r3.ebuild
+++ b/app-i18n/im-freewnn/im-freewnn-0.0.2-r4.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI="6"
+EAPI=8
 
 inherit autotools gnome2-utils prefix
 
@@ -12,11 +12,12 @@ 
SRC_URI="http://bonobo.gnome.gr.jp/~nakai/immodule/${P}.tar.gz";
 LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="amd64 ppc ppc64 x86"
-IUSE=""
 
-RDEPEND="app-i18n/freewnn
+RDEPEND="
+   app-i18n/freewnn
x11-libs/gtk+:2"
-DEPEND="${RDEPEND}
+DEPEND="${RDEPEND}"
+BDEPEND="
sys-devel/gettext
virtual/pkgconfig"
 
@@ -30,7 +31,6 @@ src_prepare() {
default
eprefixify ${PN}.c
 
-   mv configure.{in,ac} || die
eautoreconf
 }
 



[gentoo-commits] repo/gentoo:master commit in: app-i18n/im-freewnn/

2021-04-22 Thread Sam James
commit: 25f911cd51c3c44c92001610a7c37ec18191a008
Author: Sam James  gentoo  org>
AuthorDate: Thu Apr 22 12:16:49 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Apr 22 12:17:46 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=25f911cd

app-i18n/im-freewnn: Stabilize 0.0.2-r3 ppc, #783927

Signed-off-by: Sam James  gentoo.org>

 app-i18n/im-freewnn/im-freewnn-0.0.2-r3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-i18n/im-freewnn/im-freewnn-0.0.2-r3.ebuild 
b/app-i18n/im-freewnn/im-freewnn-0.0.2-r3.ebuild
index 99a1807541d..0e0fd4bb6e7 100644
--- a/app-i18n/im-freewnn/im-freewnn-0.0.2-r3.ebuild
+++ b/app-i18n/im-freewnn/im-freewnn-0.0.2-r3.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="http://bonobo.gnome.gr.jp/~nakai/immodule/${P}.tar.gz";
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="amd64 ~ppc ppc64 ~x86"
+KEYWORDS="amd64 ppc ppc64 ~x86"
 IUSE=""
 
 RDEPEND="app-i18n/freewnn



[gentoo-commits] repo/gentoo:master commit in: app-i18n/im-freewnn/

2021-04-22 Thread Sam James
commit: b49c560afcc9c2e9fe298fd10addeed026d18e70
Author: Sam James  gentoo  org>
AuthorDate: Thu Apr 22 12:15:15 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Apr 22 12:17:34 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b49c560a

app-i18n/im-freewnn: Stabilize 0.0.2-r3 ppc64, #783927

Signed-off-by: Sam James  gentoo.org>

 app-i18n/im-freewnn/im-freewnn-0.0.2-r3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-i18n/im-freewnn/im-freewnn-0.0.2-r3.ebuild 
b/app-i18n/im-freewnn/im-freewnn-0.0.2-r3.ebuild
index 72a758bf7e7..99a1807541d 100644
--- a/app-i18n/im-freewnn/im-freewnn-0.0.2-r3.ebuild
+++ b/app-i18n/im-freewnn/im-freewnn-0.0.2-r3.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="http://bonobo.gnome.gr.jp/~nakai/immodule/${P}.tar.gz";
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="amd64 ~ppc ~ppc64 ~x86"
+KEYWORDS="amd64 ~ppc ppc64 ~x86"
 IUSE=""
 
 RDEPEND="app-i18n/freewnn



[gentoo-commits] repo/gentoo:master commit in: app-i18n/im-freewnn/

2021-04-21 Thread Sam James
commit: efc78b0410f89817d060ef2f2251508bfa1cc4e0
Author: Sam James  gentoo  org>
AuthorDate: Wed Apr 21 18:52:33 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Apr 21 18:52:33 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=efc78b04

app-i18n/im-freewnn: Stabilize 0.0.2-r3 amd64, #783927

Signed-off-by: Sam James  gentoo.org>

 app-i18n/im-freewnn/im-freewnn-0.0.2-r3.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/app-i18n/im-freewnn/im-freewnn-0.0.2-r3.ebuild 
b/app-i18n/im-freewnn/im-freewnn-0.0.2-r3.ebuild
index 9057c74300c..72a758bf7e7 100644
--- a/app-i18n/im-freewnn/im-freewnn-0.0.2-r3.ebuild
+++ b/app-i18n/im-freewnn/im-freewnn-0.0.2-r3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="6"
@@ -11,7 +11,7 @@ 
SRC_URI="http://bonobo.gnome.gr.jp/~nakai/immodule/${P}.tar.gz";
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+KEYWORDS="amd64 ~ppc ~ppc64 ~x86"
 IUSE=""
 
 RDEPEND="app-i18n/freewnn



[gentoo-commits] repo/gentoo:master commit in: app-i18n/im-freewnn/

2017-07-23 Thread Akinori Hattori
commit: dc44848ba9721091526ba2151f7b68aac76e8116
Author: Akinori Hattori  gentoo  org>
AuthorDate: Sun Jul 23 12:57:05 2017 +
Commit: Akinori Hattori  gentoo  org>
CommitDate: Sun Jul 23 12:57:05 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dc44848b

app-i18n/im-freewnn: update to EAPI 6

Package-Manager: Portage-2.3.6, Repoman-2.3.1

 app-i18n/im-freewnn/im-freewnn-0.0.2-r2.ebuild | 32 +++---
 app-i18n/im-freewnn/metadata.xml   |  8 +++
 2 files changed, 17 insertions(+), 23 deletions(-)

diff --git a/app-i18n/im-freewnn/im-freewnn-0.0.2-r2.ebuild 
b/app-i18n/im-freewnn/im-freewnn-0.0.2-r2.ebuild
index 5c50e7d3cc4..04bc5f5a3e3 100644
--- a/app-i18n/im-freewnn/im-freewnn-0.0.2-r2.ebuild
+++ b/app-i18n/im-freewnn/im-freewnn-0.0.2-r2.ebuild
@@ -1,8 +1,9 @@
 # Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=5
-inherit autotools eutils gnome2-utils multilib prefix
+EAPI="6"
+
+inherit autotools gnome2-utils ltprune prefix
 
 DESCRIPTION="Japanese FreeWnn input method module for GTK+2"
 HOMEPAGE="http://bonobo.gnome.gr.jp/~nakai/immodule/";
@@ -13,27 +14,20 @@ SLOT="0"
 KEYWORDS="amd64 ppc ppc64 x86"
 IUSE=""
 
-RDEPEND="
-   dev-libs/glib:2
-   x11-libs/pango
-   >=x11-libs/gtk+-2.4:2
-   >=app-i18n/freewnn-1.1.1_alpha21-r1
-"
+RDEPEND="app-i18n/freewnn
+   x11-libs/gtk+:2"
 DEPEND="${RDEPEND}
-   virtual/pkgconfig
-"
+   sys-devel/gettext
+   virtual/pkgconfig"
 
-pkg_setup() {
-   # An arch specific config directory is used on multilib systems
-   has_multilib_profile && GTK2_CONFDIR="/etc/gtk-2.0/${CHOST}"
-   GTK2_CONFDIR=${GTK2_CONFDIR:=/etc/gtk-2.0/}
-}
+PATCHES=(
+   "${FILESDIR}"/${P}-as-needed.patch
+   "${FILESDIR}"/${PN}-headers.patch
+   "${FILESDIR}"/${PN}-wnnenvrc.patch
+)
 
 src_prepare() {
-   epatch "${FILESDIR}"/${PN}-wnnenvrc.patch
-   # bug #298744
-   epatch "${FILESDIR}/${P}-as-needed.patch"
-   epatch "${FILESDIR}"/${PN}-headers.patch
+   default
eprefixify ${PN}.c
 
mv configure.{in,ac} || die

diff --git a/app-i18n/im-freewnn/metadata.xml b/app-i18n/im-freewnn/metadata.xml
index c921b96adf6..e1a49f49888 100644
--- a/app-i18n/im-freewnn/metadata.xml
+++ b/app-i18n/im-freewnn/metadata.xml
@@ -1,8 +1,8 @@
 
 http://www.gentoo.org/dtd/metadata.dtd";>
 
-
-   c...@gentoo.org
-   Cjk
-
+  
+c...@gentoo.org
+Cjk
+  
 



[gentoo-commits] repo/gentoo:master commit in: app-i18n/im-freewnn/, app-i18n/im-freewnn/files/

2017-07-23 Thread Akinori Hattori
commit: c8186106910e089a73288876cca11b5c41787782
Author: Akinori Hattori  gentoo  org>
AuthorDate: Sun Jul 23 12:58:17 2017 +
Commit: Akinori Hattori  gentoo  org>
CommitDate: Sun Jul 23 12:58:17 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c8186106

app-i18n/im-freewnn: fix immodules path

Package-Manager: Portage-2.3.6, Repoman-2.3.1

 app-i18n/im-freewnn/files/im-freewnn-gentoo.patch | 112 ++
 app-i18n/im-freewnn/im-freewnn-0.0.2-r3.ebuild|  48 ++
 2 files changed, 160 insertions(+)

diff --git a/app-i18n/im-freewnn/files/im-freewnn-gentoo.patch 
b/app-i18n/im-freewnn/files/im-freewnn-gentoo.patch
new file mode 100644
index 000..90e042fc419
--- /dev/null
+++ b/app-i18n/im-freewnn/files/im-freewnn-gentoo.patch
@@ -0,0 +1,112 @@
+--- a/Makefile.am
 b/Makefile.am
+@@ -1,4 +1,4 @@
+-moduledir = ${libdir}/gtk-2.0/2.4.0/immodules
++moduledir = ${libdir}/gtk-2.0/${GTK_BINARY_VERSION}/immodules
+ ## Makefile.am for gtk+/modules/input 
+ if PLATFORM_WIN32
+ no_undefined = -no-undefined
+@@ -6,11 +6,11 @@
+ 
+ SUBDIRS = po
+ 
+-INCLUDES = @GTK_DEP_CFLAGS@ -I/usr/include/wnn 
-DIM_LOCALEDIR=\"${datadir}/locale\"
++INCLUDES = @GTK_DEP_CFLAGS@ -DIM_LOCALEDIR=\"${datadir}/locale\"
+ 
+ DEPS =
+ 
+-LDADDS = @GTK_DEP_LIBS@ -lcrypt
++LDADDS = @GTK_DEP_LIBS@
+ 
+ EXTRA_DIST=   \
+   im-freewnn.spec
+@@ -38,7 +38,7 @@
+   candwin.h \
+   candwin.c
+ 
+-im_freewnn_la_LIBADD = $(LDADDS) -lcrypt
++im_freewnn_la_LIBADD = $(LDADDS)
+ 
+ module_LTLIBRARIES =  \
+   im-freewnn.la
+--- a/configure.in
 b/configure.in
+@@ -21,8 +21,10 @@
+ 
+ GTK_DEP_CFLAGS=`pkg-config gtk+-2.0 --cflags`
+ GTK_DEP_LIBS=`pkg-config gtk+-2.0 --libs`
++GTK_BINARY_VERSION=`pkg-config gtk+-2.0 --variable=gtk_binary_version`
+ AC_SUBST(GTK_DEP_CFLAGS)
+ AC_SUBST(GTK_DEP_LIBS)
++AC_SUBST(GTK_BINARY_VERSION)
+ 
+ LT_RELEASE=$GTK_MAJOR_VERSION.$GTK_MINOR_VERSION
+ LT_CURRENT=2
+@@ -48,11 +50,9 @@
+ AM_CONDITIONAL(PLATFORM_WIN32, test "$platform_win32" = "yes")
+ 
+ dnl FreeWnn check
+-ldflags_backup="$LDFLAGS"
+-LDFLAGS="$LDFLAGS -lcrypt"
+ AC_CHECK_HEADER(wnn/jlib.h,,)
++AC_CHECK_LIB(crypt, crypt,,)
+ AC_CHECK_LIB(wnn, jl_open_lang,,)
+-LDFLAGS="$ldflags_backup"
+ 
+ AC_OUTPUT([
+ Makefile
+--- a/freewnn-modewin.h
 b/freewnn-modewin.h
+@@ -23,7 +23,7 @@
+ 
+ #include 
+ 
+-#include 
++#include 
+ 
+ #include "freewnn-register-win.h"
+ #include "freewnn-config.h"
+--- a/freewnn-register-win.c
 b/freewnn-register-win.c
+@@ -18,7 +18,7 @@
+  *
+  */
+ 
+-#include 
++#include 
+ #include 
+ 
+ #include 
+--- a/freewnn-register-win.h
 b/freewnn-register-win.h
+@@ -22,7 +22,7 @@
+ #define _FREEWNN_REGIST_WIN
+ 
+ #include 
+-#include 
++#include 
+ 
+ typedef struct _FreeWnnRegisterWin FreeWnnRegisterWin;
+ 
+--- a/freewnn-utils.h
 b/freewnn-utils.h
+@@ -18,7 +18,7 @@
+  * Boston, MA 02111-1307, USA.
+  */
+ 
+-#include 
++#include 
+ #include 
+ 
+ w_char* char2wchar(unsigned char* str);
+--- a/im-freewnn.h
 b/im-freewnn.h
+@@ -26,7 +26,7 @@
+ 
+ #include 
+ #include 
+-#include 
++#include 
+ 
+ #include "freewnn-modewin.h"
+ #include "freewnn-utils.h"

diff --git a/app-i18n/im-freewnn/im-freewnn-0.0.2-r3.ebuild 
b/app-i18n/im-freewnn/im-freewnn-0.0.2-r3.ebuild
new file mode 100644
index 000..9057c74300c
--- /dev/null
+++ b/app-i18n/im-freewnn/im-freewnn-0.0.2-r3.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+
+inherit autotools gnome2-utils ltprune prefix
+
+DESCRIPTION="Japanese FreeWnn input method module for GTK+2"
+HOMEPAGE="http://bonobo.gnome.gr.jp/~nakai/immodule/";
+SRC_URI="http://bonobo.gnome.gr.jp/~nakai/immodule/${P}.tar.gz";
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+IUSE=""
+
+RDEPEND="app-i18n/freewnn
+   x11-libs/gtk+:2"
+DEPEND="${RDEPEND}
+   sys-devel/gettext
+   virtual/pkgconfig"
+
+PATCHES=(
+   "${FILESDIR}"/${PN}-gentoo.patch
+   "${FILESDIR}"/${PN}-headers.patch
+   "${FILESDIR}"/${PN}-wnnenvrc.patch
+)
+
+src_prepare() {
+   default
+   eprefixify ${PN}.c
+
+   mv configure.{in,ac} || die
+   eautoreconf
+}
+
+src_install() {
+   default
+   prune_libtool_files --modules
+}
+
+pkg_postinst() {
+   gnome2_query_immodules_gtk2
+}
+
+pkg_postrm() {
+   gnome2_query_immodules_gtk2
+}



[gentoo-commits] repo/gentoo:master commit in: app-i18n/im-freewnn/files/, app-i18n/im-freewnn/

2017-07-23 Thread Akinori Hattori
commit: d08229cddbe06ace4b777dd9c8f00651665c0e13
Author: Akinori Hattori  gentoo  org>
AuthorDate: Sun Jul 23 12:52:01 2017 +
Commit: Akinori Hattori  gentoo  org>
CommitDate: Sun Jul 23 12:52:01 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d08229cd

app-i18n/im-freewnn: update patches

Package-Manager: Portage-2.3.6, Repoman-2.3.1

 ...it-declaration.patch => im-freewnn-headers.patch} | 12 
 app-i18n/im-freewnn/files/im-freewnn-wnnenvrc.patch  | 11 +++
 .../im-freewnn/files/im-freewnn-wnnrc-gentoo.diff| 20 
 app-i18n/im-freewnn/im-freewnn-0.0.2-r2.ebuild   | 11 ++-
 4 files changed, 25 insertions(+), 29 deletions(-)

diff --git 
a/app-i18n/im-freewnn/files/im-freewnn-0.0.2-implicit-declaration.patch 
b/app-i18n/im-freewnn/files/im-freewnn-headers.patch
similarity index 68%
rename from 
app-i18n/im-freewnn/files/im-freewnn-0.0.2-implicit-declaration.patch
rename to app-i18n/im-freewnn/files/im-freewnn-headers.patch
index c52618924c9..290aee97bd8 100644
--- a/app-i18n/im-freewnn/files/im-freewnn-0.0.2-implicit-declaration.patch
+++ b/app-i18n/im-freewnn/files/im-freewnn-headers.patch
@@ -1,5 +1,3 @@
-diff --git a/freewnn-utils.c b/freewnn-utils.c
-index 3cf63b3..0e871d6 100644
 --- a/freewnn-utils.c
 +++ b/freewnn-utils.c
 @@ -18,6 +18,9 @@
@@ -12,8 +10,6 @@ index 3cf63b3..0e871d6 100644
  #include "freewnn-utils.h"
  #include "kata2hkata.h"
  
-diff --git a/im-freewnn.c b/im-freewnn.c
-index b56d63c..833582e 100644
 --- a/im-freewnn.c
 +++ b/im-freewnn.c
 @@ -26,6 +26,7 @@
@@ -24,3 +20,11 @@ index b56d63c..833582e 100644
  
  #include 
  #include "keytable.h"
+@@ -33,6 +34,7 @@
+ #include 
+ 
+ #include "im-freewnn-intl.h"
++#include "freewnn-utils-ui.h"
+ #include "convtable.h"
+ #include "im-freewnn.h"
+ 

diff --git a/app-i18n/im-freewnn/files/im-freewnn-wnnenvrc.patch 
b/app-i18n/im-freewnn/files/im-freewnn-wnnenvrc.patch
new file mode 100644
index 000..6b3c7076990
--- /dev/null
+++ b/app-i18n/im-freewnn/files/im-freewnn-wnnenvrc.patch
@@ -0,0 +1,11 @@
+--- a/im-freewnn.c
 b/im-freewnn.c
+@@ -236,7 +236,7 @@
+ return;
+   }
+ 
+-  jl_set_env_wnnrc(wenv, "/etc/FreeWnn/ja/wnnenvrc", printConfirm, 
printError);
++  jl_set_env_wnnrc(wenv, 
"@GENTOO_PORTAGE_EPREFIX@/usr/lib/wnn/ja_JP/wnnenvrc", printConfirm, 
printError);
+ 
+   cf->modewin = freewnn_modewin_new(cf->wnnbuf, &cf->functable);
+   cf->candwin = candwin_new();

diff --git a/app-i18n/im-freewnn/files/im-freewnn-wnnrc-gentoo.diff 
b/app-i18n/im-freewnn/files/im-freewnn-wnnrc-gentoo.diff
deleted file mode 100644
index ae7d629edc2..000
--- a/app-i18n/im-freewnn/files/im-freewnn-wnnrc-gentoo.diff
+++ /dev/null
@@ -1,20 +0,0 @@
 im-freewnn.c   2004-08-05 09:47:08.0 +0900
-+++ im-freewnn.c-wnnrc 2004-08-05 21:55:50.540038392 +0900
-@@ -53,7 +53,7 @@
-   { 0, NULL },
- };
- 
--static const gchar* ideos = " 
、。,.・:;?!゛゜´`¨^ ̄_ヽヾゝゞ〃仝々〆〇ー―‐/\〜‖|…‥‘’“”()〔〕[]{}〈〉《》「」『』【】+−±×÷=≠<>≦≧∞∴♂♀°′″℃¥$¢£%#&*@§☆★○●◎◇∧∨¬⇒⇔∀∃∠⊥⌒∂∇≡≒≪≫√∽∝∵∫∬ʼn♯♭♪†‡¶◯ゎゐゑヮヰヱヴヵヶΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠΡΣΤΥΦΧΨΩαβγδεζηθικλμνξοπρστυφχψωАБВГДЕЁЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдеёжзийклмнопрстуфхцчшщъыьэюя─│┌┐┘└├┬┤┴┼━┃┏┓┛┗┣┳┫┻╋┠┯┨┷┿┝┰┥┸╂";
-+static const gchar* ideos = " 
、。,.・:;?!゛゜´`¨^ ̄_ヽヾゝゞ〃仝々〆〇ー―‐/\??|…‥‘’“”()〔〕[]{}〈〉《》「」『』【】+?±×÷=≠<>≦≧∞∴♂♀°′″℃¥$??%#&*@§☆★○●◎◇∧∨?⇒⇔∀∃∠⊥⌒∂∇≡≒≪≫√∽∝∵∫∬ʼn♯♭♪†‡¶◯ゎゐゑヮヰヱヴヵヶΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠΡΣΤΥΦΧΨΩαβγδεζηθικλμνξοπρστυφχψωАБВГДЕЁЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдеёжзийклмнопрстуфхцчшщъыьэюя─│┌┐┘└├┬┤┴┼━┃┏┓┛┗┣┳┫┻╋┠┯┨┷┿┝┰┥┸╂";
- 
- #ifdef BUFSIZ
- #undef BUFSIZ
-@@ -236,7 +236,7 @@
- return;
-   }
- 
--  jl_set_env_wnnrc(wenv, "/etc/FreeWnn/ja/wnnenvrc", printConfirm, 
printError);
-+  jl_set_env_wnnrc(wenv, "/usr/lib/wnn/ja_JP/wnnenvrc", printConfirm, 
printError);
- 
-   cf->modewin = freewnn_modewin_new(cf->wnnbuf, &cf->functable);
-   cf->candwin = candwin_new();

diff --git a/app-i18n/im-freewnn/im-freewnn-0.0.2-r2.ebuild 
b/app-i18n/im-freewnn/im-freewnn-0.0.2-r2.ebuild
index ecb37772d3c..5c50e7d3cc4 100644
--- a/app-i18n/im-freewnn/im-freewnn-0.0.2-r2.ebuild
+++ b/app-i18n/im-freewnn/im-freewnn-0.0.2-r2.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2013 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
-inherit autotools eutils gnome2-utils multilib
+inherit autotools eutils gnome2-utils multilib prefix
 
 DESCRIPTION="Japanese FreeWnn input method module for GTK+2"
 HOMEPAGE="http://bonobo.gnome.gr.jp/~nakai/immodule/";
@@ -30,12 +30,13 @@ pkg_setup() {
 }
 
 src_prepare() {
-   epatch "${FILESDIR}/${PN}-wnnrc-gentoo.diff"
+   epatch "${FILESDIR}"/${PN}-wnnenvrc.patch
# bug #298744
epatch "${FILESDIR}/${P}-as-needed.patch"
-   epatch "${FILESDIR}/${P}-implicit-declaration.patch"
+   epatch "${FILESDIR}"/${PN}-headers.patch
+   eprefixify ${PN}.c
 
-   mv configure.in configure.ac || die
+   mv configure.{in,ac}

[gentoo-commits] repo/gentoo:master commit in: app-i18n/im-freewnn/

2016-01-17 Thread Mikle Kolyada
commit: ee8536965528e05170bc029697c5d557aea70df2
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Sun Jan 17 19:12:43 2016 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Sun Jan 17 19:12:43 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ee853696

app-i18n/im-freewnn: Drop old

Package-Manager: portage-2.2.26

 app-i18n/im-freewnn/im-freewnn-0.0.2-r1.ebuild | 52 --
 1 file changed, 52 deletions(-)

diff --git a/app-i18n/im-freewnn/im-freewnn-0.0.2-r1.ebuild 
b/app-i18n/im-freewnn/im-freewnn-0.0.2-r1.ebuild
deleted file mode 100644
index ff6a98f..000
--- a/app-i18n/im-freewnn/im-freewnn-0.0.2-r1.ebuild
+++ /dev/null
@@ -1,52 +0,0 @@
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI="1"
-
-inherit autotools eutils gnome2-utils multilib
-
-DESCRIPTION="Japanese FreeWnn input method module for GTK+2"
-HOMEPAGE="http://bonobo.gnome.gr.jp/~nakai/immodule/";
-SRC_URI="http://bonobo.gnome.gr.jp/~nakai/immodule/${P}.tar.gz";
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 ppc ppc64 x86"
-IUSE=""
-
-RDEPEND="dev-libs/glib
-   x11-libs/pango
-   >=x11-libs/gtk+-2.4:2
-   >=app-i18n/freewnn-1.1.1_alpha21-r1"
-DEPEND="${RDEPEND}
-   virtual/pkgconfig"
-
-pkg_setup() {
-   # An arch specific config directory is used on multilib systems
-   has_multilib_profile && GTK2_CONFDIR="/etc/gtk-2.0/${CHOST}"
-   GTK2_CONFDIR=${GTK2_CONFDIR:=/etc/gtk-2.0/}
-}
-
-src_unpack() {
-   unpack ${A}
-   cd "${S}"
-   epatch "${FILESDIR}/${PN}-wnnrc-gentoo.diff"
-   # bug #298744
-   epatch "${FILESDIR}/${P}-as-needed.patch"
-   epatch "${FILESDIR}/${P}-implicit-declaration.patch"
-   eautoreconf
-}
-
-src_install() {
-   emake DESTDIR="${D}" install || die
-   dodoc AUTHORS ChangeLog NEWS README
-}
-
-pkg_postinst() {
-   gnome2_query_immodules_gtk2
-}
-
-pkg_postrm() {
-   gnome2_query_immodules_gtk2
-}



[gentoo-commits] repo/gentoo:master commit in: app-i18n/im-freewnn/

2016-01-17 Thread Mikle Kolyada
commit: 895a320e1012d35c4ef400eac52c566100c81317
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Sun Jan 17 19:11:38 2016 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Sun Jan 17 19:11:38 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=895a320e

app-i18n/im-freewnn: ppc64 stable wrt bug #566230

Package-Manager: portage-2.2.26

 app-i18n/im-freewnn/im-freewnn-0.0.2-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-i18n/im-freewnn/im-freewnn-0.0.2-r2.ebuild 
b/app-i18n/im-freewnn/im-freewnn-0.0.2-r2.ebuild
index 3222ccb..1c905af 100644
--- a/app-i18n/im-freewnn/im-freewnn-0.0.2-r2.ebuild
+++ b/app-i18n/im-freewnn/im-freewnn-0.0.2-r2.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="http://bonobo.gnome.gr.jp/~nakai/immodule/${P}.tar.gz";
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="amd64 ppc ~ppc64 x86"
+KEYWORDS="amd64 ppc ppc64 x86"
 IUSE=""
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: app-i18n/im-freewnn/

2015-12-26 Thread Agostino Sarubbo
commit: 2098cdd1b07e68cab7f03eebc3ceb3a9b5e9d181
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Sat Dec 26 10:34:24 2015 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Sat Dec 26 10:34:24 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2098cdd1

app-i18n/im-freewnn: ppc stable wrt bug #566230

Package-Manager: portage-2.2.24
RepoMan-Options: --include-arches="ppc"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 app-i18n/im-freewnn/im-freewnn-0.0.2-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-i18n/im-freewnn/im-freewnn-0.0.2-r2.ebuild 
b/app-i18n/im-freewnn/im-freewnn-0.0.2-r2.ebuild
index 9d04d6d..3222ccb 100644
--- a/app-i18n/im-freewnn/im-freewnn-0.0.2-r2.ebuild
+++ b/app-i18n/im-freewnn/im-freewnn-0.0.2-r2.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="http://bonobo.gnome.gr.jp/~nakai/immodule/${P}.tar.gz";
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="amd64 ~ppc ~ppc64 x86"
+KEYWORDS="amd64 ppc ~ppc64 x86"
 IUSE=""
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: app-i18n/im-freewnn/

2015-12-24 Thread Agostino Sarubbo
commit: 079fe68a63b777cc19a6afabd1da6fa506efc350
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Thu Dec 24 22:12:35 2015 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Thu Dec 24 22:12:35 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=079fe68a

app-i18n/im-freewnn: x86 stable wrt bug #566230

Package-Manager: portage-2.2.24
RepoMan-Options: --include-arches="x86"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 app-i18n/im-freewnn/im-freewnn-0.0.2-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-i18n/im-freewnn/im-freewnn-0.0.2-r2.ebuild 
b/app-i18n/im-freewnn/im-freewnn-0.0.2-r2.ebuild
index d092a02..9d04d6d 100644
--- a/app-i18n/im-freewnn/im-freewnn-0.0.2-r2.ebuild
+++ b/app-i18n/im-freewnn/im-freewnn-0.0.2-r2.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="http://bonobo.gnome.gr.jp/~nakai/immodule/${P}.tar.gz";
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="amd64 ~ppc ~ppc64 ~x86"
+KEYWORDS="amd64 ~ppc ~ppc64 x86"
 IUSE=""
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: app-i18n/im-freewnn/

2015-12-14 Thread Agostino Sarubbo
commit: ffbbdc3ce5950be2fc9bdb948ad59c85c426ec33
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Mon Dec 14 14:11:52 2015 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Mon Dec 14 14:11:52 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ffbbdc3c

app-i18n/im-freewnn: amd64 stable wrt bug #566230

Package-Manager: portage-2.2.24
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 app-i18n/im-freewnn/im-freewnn-0.0.2-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-i18n/im-freewnn/im-freewnn-0.0.2-r2.ebuild 
b/app-i18n/im-freewnn/im-freewnn-0.0.2-r2.ebuild
index 253d3c2..d092a02 100644
--- a/app-i18n/im-freewnn/im-freewnn-0.0.2-r2.ebuild
+++ b/app-i18n/im-freewnn/im-freewnn-0.0.2-r2.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="http://bonobo.gnome.gr.jp/~nakai/immodule/${P}.tar.gz";
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+KEYWORDS="amd64 ~ppc ~ppc64 ~x86"
 IUSE=""
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: app-i18n/im-freewnn/

2015-11-21 Thread Pacho Ramos
commit: b92ceb656447b395da33987df9fd03dc34a45a53
Author: Pacho Ramos  gentoo  org>
AuthorDate: Sat Nov 21 14:37:16 2015 +
Commit: Pacho Ramos  gentoo  org>
CommitDate: Sat Nov 21 14:40:05 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b92ceb65

app-i18n/im-freewnn: Bump EAPI, fix RDEPEND, drop .la files

Package-Manager: portage-2.2.24

 app-i18n/im-freewnn/im-freewnn-0.0.2-r2.ebuild | 54 ++
 1 file changed, 54 insertions(+)

diff --git a/app-i18n/im-freewnn/im-freewnn-0.0.2-r2.ebuild 
b/app-i18n/im-freewnn/im-freewnn-0.0.2-r2.ebuild
new file mode 100644
index 000..253d3c2
--- /dev/null
+++ b/app-i18n/im-freewnn/im-freewnn-0.0.2-r2.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit autotools eutils gnome2-utils multilib
+
+DESCRIPTION="Japanese FreeWnn input method module for GTK+2"
+HOMEPAGE="http://bonobo.gnome.gr.jp/~nakai/immodule/";
+SRC_URI="http://bonobo.gnome.gr.jp/~nakai/immodule/${P}.tar.gz";
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+IUSE=""
+
+RDEPEND="
+   dev-libs/glib:2
+   x11-libs/pango
+   >=x11-libs/gtk+-2.4:2
+   >=app-i18n/freewnn-1.1.1_alpha21-r1
+"
+DEPEND="${RDEPEND}
+   virtual/pkgconfig
+"
+
+pkg_setup() {
+   # An arch specific config directory is used on multilib systems
+   has_multilib_profile && GTK2_CONFDIR="/etc/gtk-2.0/${CHOST}"
+   GTK2_CONFDIR=${GTK2_CONFDIR:=/etc/gtk-2.0/}
+}
+
+src_prepare() {
+   epatch "${FILESDIR}/${PN}-wnnrc-gentoo.diff"
+   # bug #298744
+   epatch "${FILESDIR}/${P}-as-needed.patch"
+   epatch "${FILESDIR}/${P}-implicit-declaration.patch"
+
+   mv configure.in configure.ac || die
+   eautoreconf
+}
+
+src_install() {
+   default
+   prune_libtool_files --modules
+}
+
+pkg_postinst() {
+   gnome2_query_immodules_gtk2
+}
+
+pkg_postrm() {
+   gnome2_query_immodules_gtk2
+}