pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/inputmethod/ibus-hangul



Module Name:    pkgsrc
Committed By:   adam
Date:           Sat Oct 10 11:26:50 UTC 2026

Modified Files:
        pkgsrc/inputmethod/ibus-hangul: Makefile PLIST distinfo
Added Files:
        pkgsrc/inputmethod/ibus-hangul/patches: patch-py-compile

Log Message:
ibus-hangul: updated to 1.5.5

1.5.5

Change default dist file format to xz

xz file format is much smaller than gz.

Update the rule to generate the ChangeLog

In order to generate the ChangeLog during out-of-tree builds,
$(top_srcdir) is used.


To generate a diff of this commit:
cvs rdiff -u -r1.31 -r1.32 pkgsrc/inputmethod/ibus-hangul/Makefile
cvs rdiff -u -r1.8 -r1.9 pkgsrc/inputmethod/ibus-hangul/PLIST
cvs rdiff -u -r1.9 -r1.10 pkgsrc/inputmethod/ibus-hangul/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/inputmethod/ibus-hangul/patches/patch-py-compile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/inputmethod/ibus-hangul/Makefile
diff -u pkgsrc/inputmethod/ibus-hangul/Makefile:1.31 pkgsrc/inputmethod/ibus-hangul/Makefile:1.32
--- pkgsrc/inputmethod/ibus-hangul/Makefile:1.31        Tue Sep 29 06:06:08 2026
+++ pkgsrc/inputmethod/ibus-hangul/Makefile     Sat Oct 10 11:26:50 2026
@@ -1,32 +1,35 @@
-# $NetBSD: Makefile,v 1.31 2026/09/29 06:06:08 wiz Exp $
-#
+# $NetBSD: Makefile,v 1.32 2026/10/10 11:26:50 adam Exp $
 
-DISTNAME=      ibus-hangul-1.5.0
-PKGREVISION=   10
+DISTNAME=      ibus-hangul-1.5.5
 CATEGORIES=    inputmethod korean
-MASTER_SITES=  ${MASTER_SITE_GITHUB:=choehwanjin/}
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=libhangul/}
+EXTRACT_SUFX=  .tar.xz
 GITHUB_RELEASE=        ${PKGVERSION_NOREV}
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
-HOMEPAGE=      https://github.com/ibus/ibus/wiki
+HOMEPAGE=      https://github.com/libhangul/ibus-hangul/wiki
 COMMENT=       Hangul engine for IBus input platform
 LICENSE=       gnu-gpl-v2
 
-GNU_CONFIGURE=         yes
 USE_LIBTOOL=           yes
 USE_PKGLOCALEDIR=      yes
-USE_TOOLS+=            pkg-config gmake msgfmt intltool
+USE_TOOLS+=            gmake intltool msgfmt pkg-config
+GNU_CONFIGURE=         yes
+TEST_TARGET=           check
 
 PY_PATCHPLIST=         yes
 
-# uses deprecated imp module
-PYTHON_VERSIONS_ACCEPTED=      311 310
+.include "../../mk/bsd.prefs.mk"
+# msgfmt: unknown option -- desktop
+.if ${OPSYS} == "NetBSD"
+TOOLS_PLATFORM.msgfmt=
+.endif
 
 .include "../../devel/gettext-lib/buildlink3.mk"
 .include "../../graphics/hicolor-icon-theme/buildlink3.mk"
-BUILDLINK_API_DEPENDS.libhangul+=      libhangul>=0.1.0
-.include "../../inputmethod/libhangul/buildlink3.mk"
 .include "../../inputmethod/ibus/buildlink3.mk"
+.include "../../inputmethod/libhangul/buildlink3.mk"
 .include "../../lang/python/application.mk"
 .include "../../lang/python/extension.mk"
+.include "../../x11/gtk3/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/inputmethod/ibus-hangul/PLIST
diff -u pkgsrc/inputmethod/ibus-hangul/PLIST:1.8 pkgsrc/inputmethod/ibus-hangul/PLIST:1.9
--- pkgsrc/inputmethod/ibus-hangul/PLIST:1.8    Wed May 15 14:33:13 2019
+++ pkgsrc/inputmethod/ibus-hangul/PLIST        Sat Oct 10 11:26:50 2026
@@ -1,8 +1,9 @@
-@comment $NetBSD: PLIST,v 1.8 2019/05/15 14:33:13 leot Exp $
+@comment $NetBSD: PLIST,v 1.9 2026/10/10 11:26:50 adam Exp $
 bin/ibus-setup-hangul
 libexec/ibus-engine-hangul
 libexec/ibus-setup-hangul
 share/applications/ibus-setup-hangul.desktop
+share/glib-2.0/schemas/org.freedesktop.ibus.engine.hangul.gschema.xml
 share/ibus-hangul/data/symbol.txt
 share/ibus-hangul/icons/ibus-hangul.png
 share/ibus-hangul/icons/ibus-hangul.svg
@@ -23,3 +24,4 @@ share/icons/hicolor/scalable/apps/ibus-h
 share/icons/hicolor/scalable/apps/ibus-setup-hangul.svg
 share/locale/ko/LC_MESSAGES/ibus-hangul.mo
 share/locale/zh_CN/LC_MESSAGES/ibus-hangul.mo
+share/metainfo/org.freedesktop.ibus.engine.hangul.metainfo.xml

Index: pkgsrc/inputmethod/ibus-hangul/distinfo
diff -u pkgsrc/inputmethod/ibus-hangul/distinfo:1.9 pkgsrc/inputmethod/ibus-hangul/distinfo:1.10
--- pkgsrc/inputmethod/ibus-hangul/distinfo:1.9 Tue Oct 26 10:49:34 2021
+++ pkgsrc/inputmethod/ibus-hangul/distinfo     Sat Oct 10 11:26:50 2026
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.9 2021/10/26 10:49:34 nia Exp $
+$NetBSD: distinfo,v 1.10 2026/10/10 11:26:50 adam Exp $
 
-BLAKE2s (ibus-hangul-1.5.0.tar.gz) = 4d9a6655a1bb8f301fe4add89384c41e0ecf49738cf13eef60fb72d0987471c6
-SHA512 (ibus-hangul-1.5.0.tar.gz) = a9bef9ad887d1b41555af12e7589a9c4c69ddf4f61890907d90cbab6b9bf4cb6df4739c54d34ee1b2507486a1cb568f826bb4641e9ccee8ccfa11ff2d7e962bb
-Size (ibus-hangul-1.5.0.tar.gz) = 505707 bytes
+BLAKE2s (ibus-hangul-1.5.5.tar.xz) = ed0df7f8825c27db9cffa53819189f9ba47a40caa16af26a793ba64efaa5efbd
+SHA512 (ibus-hangul-1.5.5.tar.xz) = c95900b8f47fc69dda04b6a41a1965a6d3a293727749b72bd234d6e899558dffce669df29a4e8c9dcc53d9f7b6cb18e84c4b0c55ef143731a894e0b5693c0722
+Size (ibus-hangul-1.5.5.tar.xz) = 356120 bytes
+SHA1 (patch-py-compile) = 6d716746f11a7d61afe53609aa6cfa68c405c6c3

Added files:

Index: pkgsrc/inputmethod/ibus-hangul/patches/patch-py-compile
diff -u /dev/null pkgsrc/inputmethod/ibus-hangul/patches/patch-py-compile:1.1
--- /dev/null   Sat Oct 10 11:26:51 2026
+++ pkgsrc/inputmethod/ibus-hangul/patches/patch-py-compile     Sat Oct 10 11:26:50 2026
@@ -0,0 +1,45 @@
+$NetBSD: patch-py-compile,v 1.1 2026/10/10 11:26:50 adam Exp $
+
+Fix for Python 3.12 and newer.
+
+--- py-compile.orig    2026-10-10 11:14:52.563548666 +0000
++++ py-compile
+@@ -116,7 +116,7 @@ $PYTHON -c "
+ fi
+ 
+ $PYTHON -c "
+-import sys, os, py_compile, imp
++import sys, os, py_compile, importlib.util
+ 
+ files = '''$files'''
+ 
+@@ -129,15 +129,12 @@ for file in files.split():
+           continue
+     sys.stdout.write(file)
+     sys.stdout.flush()
+-    if hasattr(imp, 'get_tag'):
+-        py_compile.compile(filepath, imp.cache_from_source(filepath), path)
+-    else:
+-        py_compile.compile(filepath, filepath + 'c', path)
++    py_compile.compile(filepath, importlib.util.cache_from_source(filepath), path)
+ sys.stdout.write('\n')" || exit $?
+ 
+ # this will fail for python < 1.5, but that doesn't matter ...
+ $PYTHON -O -c "
+-import sys, os, py_compile, imp
++import sys, os, py_compile, importlib.util
+ 
+ # pypy does not use .pyo optimization
+ if hasattr(sys, 'pypy_translation_info'):
+@@ -153,10 +150,7 @@ for file in files.split():
+           continue
+     sys.stdout.write(file)
+     sys.stdout.flush()
+-    if hasattr(imp, 'get_tag'):
+-        py_compile.compile(filepath, imp.cache_from_source(filepath, False), path)
+-    else:
+-        py_compile.compile(filepath, filepath + 'o', path)
++    py_compile.compile(filepath, importlib.util.cache_from_source(filepath, False), path)
+ sys.stdout.write('\n')" 2>/dev/null || :
+ 
+ # Local Variables:



Home | Main Index | Thread Index | Old Index