Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package ibus-cangjie for openSUSE:Factory 
checked in at 2026-01-26 11:05:43
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ibus-cangjie (Old)
 and      /work/SRC/openSUSE:Factory/.ibus-cangjie.new.1928 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ibus-cangjie"

Mon Jan 26 11:05:43 2026 rev:4 rq:1329059 version:2.5

Changes:
--------
--- /work/SRC/openSUSE:Factory/ibus-cangjie/ibus-cangjie.changes        
2025-03-19 22:34:50.124933842 +0100
+++ /work/SRC/openSUSE:Factory/.ibus-cangjie.new.1928/ibus-cangjie.changes      
2026-01-26 11:05:48.346739266 +0100
@@ -1,0 +2,33 @@
+Mon Jan 19 14:22:02 UTC 2026 - Cliff Zhao <[email protected]>
+
+- Update to 2.5:
+  * ibus-cangjie will now display the code to type when entering a
+    wildcard in the code. Contribution from 2017 by NCHL on github.
+  * The code is now type checked, to avoid future mistakes.
+  * Wrote some contribution guidelines.
+  * Added/improved the zh_HK translations.
+  * Added a new zh_CN translation.
+  * Added an about dialog to show support information.
+  * The minimum meson version is now 1.3.2, which is in
+    Ubuntu LTS 24.04.
+  * Improved the restart procedure.
+  * Used the prefered / operator instead of the deprecated join_paths
+    function in the meson buildsystem files.
+  * Improved the unit testing.
+  * ibus-cangjie is now properly installed into libexec dir, as
+    requested by our Debian friends.
+  * Code is now passed through a linter, eiter manually or in the CI.
+  * Added a passthrough mode with a simple shortcut to access.
+  * Properly display the translated name of the input method in
+    input method selection dialog.
+- Modify ibus-cangjie.spec:
+  To fit ibus-cangjie transfer the build script to meson and ninja.
+- Drop ibus-cangjie-fix_import_version.patch:
+  Upstream has merged 6b46d4c6, means 2.5 edition already have this
+  modification.
+- Drop ibus-cangjie-py312.patch:
+  Factory could build ibus-cangjie 2.5 edition successfully, and 2.5
+  edition no-longer have "py-compile", So don't need this patch after
+  the update.
+
+-------------------------------------------------------------------

Old:
----
  ibus-cangjie-2.4.tar.xz
  ibus-cangjie-fix_import_version.patch
  ibus-cangjie-py312.patch

New:
----
  ibus-cangjie-2.5.tar.bz2

----------(Old B)----------
  Old:  To fit ibus-cangjie transfer the build script to meson and ninja.
- Drop ibus-cangjie-fix_import_version.patch:
  Upstream has merged 6b46d4c6, means 2.5 edition already have this
  Old:  modification.
- Drop ibus-cangjie-py312.patch:
  Factory could build ibus-cangjie 2.5 edition successfully, and 2.5
----------(Old E)----------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ ibus-cangjie.spec ++++++
--- /var/tmp/diff_new_pack.Uo4Wn1/_old  2026-01-26 11:05:49.030767886 +0100
+++ /var/tmp/diff_new_pack.Uo4Wn1/_new  2026-01-26 11:05:49.030767886 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package ibus-cangjie
 #
-# Copyright (c) 2025 SUSE LLC
+# Copyright (c) 2026 SUSE LLC and contributors
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -18,25 +18,21 @@
 
 %global module_name ibus_cangjie
 Name:           ibus-cangjie
-Version:        2.4
+Version:        2.5
 Release:        0
 Summary:        An IBus engine for users of the Cangjie and Quick input methods
 License:        GPL-3.0-only
 Group:          System/I18n/Chinese
 URL:            http://cangjians.github.io/projects/%{name}
-Source:         
https://github.com/Cangjians/%{name}/releases/download/v2.4/%{name}-%{version}.tar.xz
-# PATCH-FIX-OPENSUSE fix_import_version.patch [email protected]
-# Use python3 'gi' coding import format to insure it can be built success in 
openSUSE build env.
-Patch0:         ibus-cangjie-fix_import_version.patch
-# PATCH-FIX-UPSTREAM -- py312 dropped imp module
-Patch1:         ibus-cangjie-py312.patch
-BuildRequires:  autoconf
-BuildRequires:  automake
+Source:         
https://gitlab.freedesktop.org/cangjie/%{name}/-/archive/2.5/%{name}-%{version}.tar.bz2
+BuildRequires:  %{python_module coverage}
+BuildRequires:  desktop-file-utils
 BuildRequires:  fdupes
 BuildRequires:  ibus-devel
 BuildRequires:  intltool
 BuildRequires:  libcangjie-data
 BuildRequires:  libtool
+BuildRequires:  meson >= 1.3.2
 BuildRequires:  python3 >= 3.4
 BuildRequires:  python3-cangjie >= 1.2
 BuildRequires:  python3-gobject
@@ -56,42 +52,58 @@
 %autosetup -p1
 
 %build
-%configure --srcdir=%{_builddir}/%{name}-%{version}
-make %{?_smp_mflags}
+%meson
+%meson_build
 
 %install
-%make_install
-
+%meson_install
 %fdupes -s %{buildroot}/%{python3_sitelib}/
 
-rename cangjie\. ibus-setup-cangjie\. 
%{buildroot}%{_datadir}/icons/hicolor/*/intl/*
-rename quick\. ibus-setup-quick\. 
%{buildroot}%{_datadir}/icons/hicolor/*/intl/*
-
-%suse_update_desktop_file -G 'IBus Cangjie Setup' ibus-setup-cangjie Utility 
DesktopUtility System
-%suse_update_desktop_file ibus-setup-quick Utility DesktopUtility System
+cangjie_docdir=%{buildroot}%{_datadir}/doc/%{name}
+suse_docdir=%{buildroot}%{_docdir}/%{name}
+doc_files=(AUTHORS README.md)
+
+if [ ! -d "$suse_docdir" ]; then
+    mkdir -p "$suse_docdir"
+fi
+
+for file in "${doc_files[@]}"; do
+    if [ -e "$cangjie_docdir/$file" ]; then
+        mv "$cangjie_docdir/$file" "$suse_docdir"
+    fi
+done
+
+if [ -d "$cangjie_docdir" ] && \
+   [ -z "$(ls -A "$cangjie_docdir")" ]; then
+    rmdir "$cangjie_docdir"
+fi
 
 %find_lang %{name}
 
-%check
-make %{?_smp_mflags} check
-
 %files -f %{name}.lang
 %defattr(-,root,root)
 %doc AUTHORS README.md
 %license COPYING
 %{_bindir}/ibus-setup-cangjie
-%{_prefix}/lib/%{name}
-%{_prefix}/lib/%{name}/ibus-engine-cangjie
 %{python3_sitelib}/%{module_name}
-%{_datadir}/%{name}
+%{_libexecdir}/ibus-engine-cangjie
+%dir %{_datadir}/%{name}/
 %{_datadir}/%{name}/setup.ui
-%dir %{_datadir}/appdata
-%{_datadir}/appdata/cangjie.appdata.xml
-%{_datadir}/appdata/quick.appdata.xml
-%{_datadir}/ibus/component/cangjie.xml
-%{_datadir}/ibus/component/quick.xml
+%{_datadir}/%{name}/setup.css
+%{_datadir}/ibus/component/org.freedesktop.cangjie.ibus.Cangjie.xml
+%{_datadir}/ibus/component/org.freedesktop.cangjie.ibus.Quick.xml
 %{_datadir}/applications/ibus-setup-cangjie.desktop
 %{_datadir}/applications/ibus-setup-quick.desktop
-%{_datadir}/glib-2.0/schemas/org.cangjians.ibus.*.gschema.xml
-%{_datadir}/icons/hicolor/*/intl/*
+%{_datadir}/applications/org.freedesktop.cangjie.ibus.cangjie-setup.desktop
+%{_datadir}/applications/org.freedesktop.cangjie.ibus.quick-setup.desktop
+%{_datadir}/glib-2.0/schemas/org.cangjians.ibus.cangjie.gschema.xml
+%{_datadir}/glib-2.0/schemas/org.cangjians.ibus.quick.gschema.xml
+%{_datadir}/glib-2.0/schemas/org.freedesktop.cangjie.ibus.Cangjie.gschema.xml
+%{_datadir}/glib-2.0/schemas/org.freedesktop.cangjie.ibus.Quick.gschema.xml
+%{_datadir}/metainfo/org.freedesktop.cangjie.ibus.Cangjie.metainfo.xml
+%{_datadir}/metainfo/org.freedesktop.cangjie.ibus.Quick.metainfo.xml
+%{_datadir}/icons/hicolor/16x16/intl/org.freedesktop.cangjie.ibus.Cangjie.png
+%{_datadir}/icons/hicolor/16x16/intl/org.freedesktop.cangjie.ibus.Quick.png
+%{_datadir}/icons/hicolor/scalable/intl/org.freedesktop.cangjie.ibus.Cangjie.svg
+%{_datadir}/icons/hicolor/scalable/intl/org.freedesktop.cangjie.ibus.Quick.svg
 

++++++ ibus-cangjie-2.4.tar.xz -> ibus-cangjie-2.5.tar.bz2 ++++++
++++ 29288 lines of diff (skipped)

Reply via email to