diff options
author | ume <ume@FreeBSD.org> | 2007-04-05 16:47:00 +0000 |
---|---|---|
committer | ume <ume@FreeBSD.org> | 2007-04-05 16:47:00 +0000 |
commit | 147f437a396c4e18e908e3a623d975083e972444 (patch) | |
tree | 443b7ae5ac410977a763ae4228f25d75d9fc2544 /japanese/scim-uim | |
parent | b3458a00683d581b00331e0fdb5324947126dba9 (diff) | |
download | FreeBSD-ports-147f437a396c4e18e908e3a623d975083e972444.zip FreeBSD-ports-147f437a396c4e18e908e3a623d975083e972444.tar.gz |
- Unmark BROKEN by removing obsoleted codes. [1]
- Fix plist after upgrading scim to 1.4.5.
PR: ports/111005 [1]
Submitted by: Seiya Yanagita<s_yanagita__at__ybb.ne.jp> (maintainer)
Diffstat (limited to 'japanese/scim-uim')
-rw-r--r-- | japanese/scim-uim/Makefile | 7 | ||||
-rw-r--r-- | japanese/scim-uim/files/extra-patch-aa | 42 | ||||
-rw-r--r-- | japanese/scim-uim/files/extra-patch-ab | 12 | ||||
-rw-r--r-- | japanese/scim-uim/pkg-plist | 9 |
4 files changed, 61 insertions, 9 deletions
diff --git a/japanese/scim-uim/Makefile b/japanese/scim-uim/Makefile index 151580c..69e8aa6 100644 --- a/japanese/scim-uim/Makefile +++ b/japanese/scim-uim/Makefile @@ -7,7 +7,7 @@ PORTNAME= scim-uim PORTVERSION= 0.1.4 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= japanese MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \ http://freedesktop.org/~suzhe/sources/ @@ -20,8 +20,6 @@ BUILD_DEPENDS= scim:${PORTSDIR}/textproc/scim LIB_DEPENDS= uim:${PORTSDIR}/textproc/uim RUN_DEPENDS= ${BUILD_DEPENDS} -BROKEN= Does not compile - USE_AUTOTOOLS= libtool:15 USE_GNOME= lthack USE_X_LIB= yes @@ -34,12 +32,13 @@ CONFIGURE_ENV= PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \ .include <bsd.port.pre.mk> +EXTRA_PATCHES= ${FILESDIR}/extra-patch-aa ${FILESDIR}/extra-patch-ab .if ${OSVERSION} < 500035 BUILD_DEPENDS+= ${LOCALBASE}/lib/libstlport_gcc.so:${PORTSDIR}/devel/stlport RUN_DEPENDS+= ${LOCALBASE}/lib/libstlport_gcc.so:${PORTSDIR}/devel/stlport CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include -I${LOCALBASE}/include/stlport" \ LDFLAGS="-L${LOCALBASE}/lib -lstlport_gcc -lintl ${PTHREAD_LIBS}" -EXTRA_PATCHES= ${FILESDIR}/extra-patch-4-stable +EXTRA_PATCHES+= ${FILESDIR}/extra-patch-4-stable .else CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include -D__STDC_ISO_10646__" \ LDFLAGS="-L${LOCALBASE}/lib -lintl" diff --git a/japanese/scim-uim/files/extra-patch-aa b/japanese/scim-uim/files/extra-patch-aa new file mode 100644 index 0000000..3440e4e --- /dev/null +++ b/japanese/scim-uim/files/extra-patch-aa @@ -0,0 +1,42 @@ +--- src/scim_uim_imengine.cpp.orig Mon Aug 8 12:08:34 2005 ++++ src/scim_uim_imengine.cpp Mon Mar 26 17:12:57 2007 +@@ -823,39 +823,6 @@ + } + } + +-void +-UIMInstance::uim_surrounding_text_request_cb (void *ptr) +-{ +- UIMInstance *this_ptr = static_cast <UIMInstance *> (ptr); +- if (this_ptr) { +- +- SCIM_DEBUG_IMENGINE(2) << "uim_surrounding_text_request_cb.\n"; +- +- WideString wstr; +- int cursor; +- +- if (this_ptr->get_surrounding_text (wstr, cursor)) { +- String str = utf8_wcstombs (wstr); +- uim_set_surrounding_text (this_ptr->m_uc, str.c_str (), cursor, wstr.length ()); +- } +- } +-} +- +-int +-UIMInstance::uim_surrounding_text_delete_cb (void *ptr, int offset, int len) +-{ +- UIMInstance *this_ptr = static_cast <UIMInstance *> (ptr); +- int ret = -1; +- +- if (this_ptr) { +- SCIM_DEBUG_IMENGINE(2) << "uim_surrounding_text_delete_cb.\n"; +- +- if (this_ptr->delete_surrounding_text (offset, len)) +- ret = 0; +- } +- +- return ret; +-} + /* + vi:ts=4:nowrap:ai:expandtab + */ diff --git a/japanese/scim-uim/files/extra-patch-ab b/japanese/scim-uim/files/extra-patch-ab new file mode 100644 index 0000000..1987de4 --- /dev/null +++ b/japanese/scim-uim/files/extra-patch-ab @@ -0,0 +1,12 @@ +--- src/scim_uim_imengine.h.orig Mon Mar 26 17:12:19 2007 ++++ src/scim_uim_imengine.h Mon Mar 26 17:12:55 2007 +@@ -104,9 +104,6 @@ + static void uim_cand_select_cb (void *ptr, int index); + static void uim_cand_shift_page_cb (void *ptr, int dir); + static void uim_cand_deactive_cb (void *ptr); +- +- static void uim_surrounding_text_request_cb (void *ptr); +- static int uim_surrounding_text_delete_cb (void *ptr, int offset, int len); + }; + #endif + /* diff --git a/japanese/scim-uim/pkg-plist b/japanese/scim-uim/pkg-plist index 841d226..89240f4 100644 --- a/japanese/scim-uim/pkg-plist +++ b/japanese/scim-uim/pkg-plist @@ -1,6 +1,5 @@ -lib/scim-1.0/IMEngine/uim.a -lib/scim-1.0/IMEngine/uim.la -lib/scim-1.0/IMEngine/uim.so +lib/scim-1.0/1.4.0/IMEngine/uim.a +lib/scim-1.0/1.4.0/IMEngine/uim.la +lib/scim-1.0/1.4.0/IMEngine/uim.so share/scim/icons/scim-uim.png -@dirrmtry lib/scim-1.0/IMEngine -@dirrmtry lib/scim-1.0/icons +@dirrmtry share/scim/icons |