Successor of #14504. cc @Duncaen @kartik-ynwa
You can view, comment on, or merge this pull request online at:
https://github.com/voidlinux/void-packages/pull/14533
-- Commit Summary --
* gimp: update to 2.10.0
* gegl: update to 0.4.0.
* gimp: fix crossbuild
-- File Changes --
M common/shlibs (22)
M srcpkgs/gegl/template (14)
A srcpkgs/gimp/patches/fix-cross.patch (18)
M srcpkgs/gimp/template (56)
-- Patch Links --
https://github.com/voidlinux/void-packages/pull/14533.patch
https://github.com/voidlinux/void-packages/pull/14533.diff
gimp 2.10.2 relased ([here](https://www.gimp.org/news/2018/05/20/gimp-2-10-=
2-released/)), at the notes state sth about a bug-tracker-url (first time f=
or `github.com/void-linux/void-packages/issues`?):
> Packagers: set your bug tracker address
>
> As you know, we now have a debug dialog which may pop-up when crashes occ=
ur with debug information. This dialog opens our bug tracker in a browser.
> <...>
> This is why our configure script now has the `--with-bug-report-url` opti=
on, allowing you to set your own bug tracker web URL. This way, when people=
click the =E2=80=9COpen Bug Tracker=E2=80=9D button it will open the packa=
ge bug tracker instead.
--=20
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub:
https://github.com/voidlinux/void-packages/pull/14533#issuecomment-391087523=
I just built your branch @Gottox, but installation fails.
```
xi gimp
[*] Updating `https://repo.voidlinux.eu/current/x86_64-repodata' ...
gimp-2.10.0_1: broken, unresolvable shlib `libgegl-npd-0.4.so'
libgimp-2.10.0_1: broken, unresolvable shlib `libgegl-npd-0.4.so'
Transaction aborted due to unresolved shlibs.
```
just moving `"usr/lib/libgegl-${version%.*}.so"` might be enough
yes, gegl was built before gimp.
As stated, the problem is that the mentioned `libgegl-npd-0.4.so` is moved to `gegl-devel`, so the entry in `common/shlibs is wrong`. that's why it canot resolve.
Here's my simple fix. `libgegl-0.4.so` is the only symlink to a numbered .so, all others don't have versions.
Dunno what's preferred in such case, but all other .so files are kept in the `gegl`package then.
```
diff --git a/srcpkgs/gegl/template b/srcpkgs/gegl/template
index ac9001d290..7b6d43965f 100644
--- a/srcpkgs/gegl/template
+++ b/srcpkgs/gegl/template
@@ -22,6 +22,6 @@ gegl-devel_package() {
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
- vmove "usr/lib/*.so"
+ vmove "usr/lib/libgegl-${version%.*}.so"
}
}
```