Christian Heusel pushed to branch main at Arch Linux / Packaging / Packages / 
imv


Commits:
95ec5e8c by Christian Heusel at 2025-02-10T20:28:33+01:00
upgpkg: 4.5.0-5: Rebuild for ICU 76.1

- - - - -


3 changed files:

- .SRCINFO
- PKGBUILD
- + imv-4.5.0-Link-to-the-common-ICU-library.patch


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,7 +1,7 @@
 pkgbase = imv
        pkgdesc = Image viewer for Wayland and X11
        pkgver = 4.5.0
-       pkgrel = 4
+       pkgrel = 5
        url = https://sr.ht/~exec64/imv/
        arch = x86_64
        license = GPL
@@ -19,6 +19,8 @@ pkgbase = imv
        depends = pango
        conflicts = renameutils
        source = 
imv-4.5.0.tar.gz::https://git.sr.ht/~exec64/imv/archive/v4.5.0.tar.gz
+       source = imv-4.5.0-Link-to-the-common-ICU-library.patch
        b2sums = 
100174071049ee711a868832ea297cc7fd43450145db9e71a631afb97d7d77574f37501b749734f47b3f2699d159ed05e5159fd9060c6f0a5de18b92708d9e9c
+       b2sums = 
c1e0b3e8fe4ffd8e1d930720a0f034cfb724e82cdd690eb917737345c86c45335fd82f6f7cbf93e49938f43f06746368d711a8adc4339ea9b90dbfa184254637
 
 pkgname = imv


=====================================
PKGBUILD
=====================================
@@ -3,7 +3,7 @@
 
 pkgname=imv
 pkgver=4.5.0
-pkgrel=4
+pkgrel=5
 pkgdesc='Image viewer for Wayland and X11'
 url='https://sr.ht/~exec64/imv/'
 arch=(x86_64)
@@ -11,8 +11,14 @@ license=(GPL)
 depends=(glu libheif libinih libjxl librsvg libxkbcommon libxkbcommon-x11 
pango)
 makedepends=(asciidoc cmake cmocka meson)
 conflicts=(renameutils)
-source=("$pkgname-$pkgver.tar.gz::https://git.sr.ht/~exec64/$pkgname/archive/v$pkgver.tar.gz";)
-b2sums=('100174071049ee711a868832ea297cc7fd43450145db9e71a631afb97d7d77574f37501b749734f47b3f2699d159ed05e5159fd9060c6f0a5de18b92708d9e9c')
+source=("$pkgname-$pkgver.tar.gz::https://git.sr.ht/~exec64/$pkgname/archive/v$pkgver.tar.gz";
+        imv-4.5.0-Link-to-the-common-ICU-library.patch)
+b2sums=('100174071049ee711a868832ea297cc7fd43450145db9e71a631afb97d7d77574f37501b749734f47b3f2699d159ed05e5159fd9060c6f0a5de18b92708d9e9c'
+        
'c1e0b3e8fe4ffd8e1d930720a0f034cfb724e82cdd690eb917737345c86c45335fd82f6f7cbf93e49938f43f06746368d711a8adc4339ea9b90dbfa184254637')
+
+prepare() {
+  patch -Np1 -d $pkgname-v$pkgver -i 
../imv-4.5.0-Link-to-the-common-ICU-library.patch
+}
 
 build() {
   export CFLAGS+=' -w'


=====================================
imv-4.5.0-Link-to-the-common-ICU-library.patch
=====================================
@@ -0,0 +1,27 @@
+From 859c3fd09c1b8c30998b03da9002e7f00b6670cc Mon Sep 17 00:00:00 2001
+From: Aleksei Bavshin <[email protected]>
+Date: Wed, 22 Jan 2025 00:50:53 -0800
+Subject: [PATCH imv] Link to the common ICU library
+
+Both the utext and the ubrk APIs are parts of the common library, so
+icu-uc should be the right dependency to use.
+---
+ meson.build | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/meson.build b/meson.build
+index ea3a653..9fa1b15 100644
+--- a/meson.build
++++ b/meson.build
+@@ -42,7 +42,7 @@ endif
+ 
+ _unicode = get_option('unicode')
+ if _unicode == 'icu'
+-  unicode_lib = dependency('icu-io')
++  unicode_lib = dependency('icu-uc')
+   add_project_arguments('-DIMV_USE_ICU', language: 'c')
+ elif _unicode == 'grapheme'
+   unicode_lib = cc.find_library('grapheme')
+-- 
+2.48.1
+



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/imv/-/commit/95ec5e8c02fb948a90f0da38cc4c2e5c6bd76991

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/imv/-/commit/95ec5e8c02fb948a90f0da38cc4c2e5c6bd76991
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to