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


Commits:
ed241812 by Christian Heusel at 2024-05-05T23:04:51+02:00
upgpkg: 0.4.48-3: include upstream repro patch

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,7 +1,7 @@
 pkgbase = gegl
        pkgdesc = Graph based image processing framework
        pkgver = 0.4.48
-       pkgrel = 2
+       pkgrel = 3
        url = https://www.gegl.org/
        arch = x86_64
        license = GPL-3.0-or-later OR LGPL-3.0-or-later


=====================================
PKGBUILD
=====================================
@@ -4,7 +4,7 @@
 
 pkgname=gegl
 pkgver=0.4.48
-pkgrel=2
+pkgrel=3
 pkgdesc='Graph based image processing framework'
 arch=('x86_64')
 url='https://www.gegl.org/'
@@ -20,6 +20,13 @@ optdepends=('ffmpeg: FFmpeg Frame Loader and FFmpeg Frame 
Saver plugins'
 source=("git+https://gitlab.gnome.org/GNOME/gegl.git#tag=GEGL_${pkgver//./_}";)
 sha256sums=('bed1b1f0348519a175422800564c65c372b125b4230a0207342911bf07f34ded')
 
+prepare() {
+  cd "${pkgname}"
+  # https://gitlab.archlinux.org/archlinux/packaging/packages/gegl/-/issues/1
+  # https://gitlab.gnome.org/GNOME/gegl/-/issues/368
+  git cherry-pick --mainline 1 --no-commit 
ab6c62963dff7c7d464f4453f2f3f554221e5c16 
a54105e15c9012933b5d830a32aef76f4e04290e
+}
+
 pkgver() {
   cd "${pkgname}"
   git describe --tags | sed 's/^GEGL_//;s/_$//;s/_/./g;s/-/+/g'
@@ -43,9 +50,4 @@ check() {
 package() {
   cd build
   DESTDIR="${pkgdir}" ninja install
-
-  # strip the default tile size to make the package reproducible
-  # https://gitlab.gnome.org/GNOME/gegl/-/issues/368#note_2074468
-  sed -i "/tile-cache-size/ s/default-value=\".*\"/default-value=\"\"/" 
"${pkgdir}/usr/share/gir-1.0/Gegl-${pkgver%.*}.gir"
-  sed -i "/Default value/ s;<td>[[:digit:]]*</td>;<td></td>;" 
"${pkgdir}/usr/share/doc/gegl-${pkgver%.*}/property.Config.tile-cache-size.html"
 }



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/gegl/-/commit/ed241812dac1c34cd4b0cbce7d88523aa3311ea2

-- 
This project does not include diff previews in email notifications.
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/gegl/-/commit/ed241812dac1c34cd4b0cbce7d88523aa3311ea2
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to