New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
media-gfx/gimp: 2.99.12 version bump (dev preview) #27064
Conversation
SRC_URI now uses download.gimp.org as ftp.gimp.org causes 'pkgdev manifest' certificate error Signed-off-by: Sergey Torokhov <torokhov-s-a@yandex.ru>
Use 'filter-lto' to allow build in LTO profiles. Add USE="sdl2" flag. Closes: https://bugs.gentoo.org/859901 Closes: https://bugs.gentoo.org/860246 Signed-off-by: Sergey Torokhov <torokhov-s-a@yandex.ru>
Pull Request assignmentSubmitter: @band-a-prend media-gfx/gimp: @band-a-prend, @gentoo/proxy-maint Linked bugsIn order to force reassignment and/or bug reference scan, please append Docs: Code of Conduct ● Copyright policy (expl.) ● Devmanual ● GitHub PRs ● Proxy-maint guide |
Pull request CI reportReport generated at: 2022-08-29 23:41 UTC There are existing issues already. Please look into the report to make sure none of them affect the packages in question: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, please throw in commit(s) to add Python 3.11 to needed packages if their test suites pass.
I'm a bit worried about the SIMD thing you mentioned. We need to make sure it will not try to use additional instructions like e.g. VSX on PPC if the user does not want it.
media-gfx/gimp/gimp-2.99.12.ebuild
Outdated
|
||
LUA_COMPAT=( luajit ) | ||
PYTHON_COMPAT=( python3_{8..10} ) | ||
GNOME2_EAUTORECONF=yes |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Drop.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.
|
||
DESCRIPTION="GNU Image Manipulation Program" | ||
HOMEPAGE="https://www.gimp.org/" | ||
SRC_URI="mirror://gimp/v2.99/${P}.tar.xz" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
New line after SRC_URI
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.
|
||
DEPEND=" | ||
${COMMON_DEPEND} | ||
>=dev-lang/perl-5.30.3 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think all of these are actually BDEPEND (after COMMON_DEPEND).
Also, you don't need autoconf/automake/libtool anymore. Maybe not even gettext & libtool (check).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh, I completely missed it with GNOME2_EAUTORECONF=yes
!
In update I dropped gtk-update-icon-cache
(now xdg.eclass is used anyway), dev-util/intltool
("NEWS" file mentions: "Full migration from intltool to gettext only."' ), autoconf
, automake
and libtool
(built is ok without last being installed).
Could test?
and vala?
conditions stay within DEPEND
?
media-gfx/gimp/gimp-2.99.12.ebuild
Outdated
# '/var/tmp/portage/media-gfx/gimp-2.99.12/temp/python3.10/bin/python3' | ||
sed -i -e 's:@PYTHON_PATH@:'${EPYTHON}':' plug-ins/python/pygimp.interp.in || die | ||
|
||
export CC_FOR_BUILD="$(tc-getBUILD_CC)" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You may not need this anymore.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Dropped (configure.ac parameter).
media-gfx/gimp/gimp-2.99.12.ebuild
Outdated
) | ||
} | ||
|
||
src_test() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You may be able to drop this.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removed.
media-gfx/gimp/gimp-2.99.12.ebuild
Outdated
if [[ -f ${plugin}/${plugin} ]]; then | ||
# NOTE: Folder and file name need to match for Gimp to load that plug-in | ||
# so "file-svg/file-svg" becomes "${prename}file-svg/${prename}file-svg" | ||
mv ${plugin}/{,${prename}}${plugin} || exit 1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fix indentation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.
cc @ionenwks in case you have any views on meson port, know you've been rocking gimp 3 a bit? |
Only gave it a quick look and used a bit, but meson version seems fine to me. And yeah, while I don't use it that much lately, I dropped gimp2 in favor of 3 since Jan 2021. Been happy with how it's been maintained 👍 |
In this release of Gimp dev-preview 2.99.12 the porting from Autotools to Meson build system take place. The Meson now is preferred by upstream. Due to diferences of configuration options withon configure.ac and meson_options.txt the some src_configuration options dropped 1. related to flags: USE="aqua cpu_flags_ppc_altivec cpu_flags_ppc_mmx cpu_flags_ppc_sse" 2. autotools configure options: GEGL="${EPREFIX}"/usr/bin/gegl-0.4 GDBUS_CODEGEN="${EPREFIX}"/usr/bin/gdbus-codegen --with-pdbgen Also some patches are dropped in src_prepare() phase: sed -i -e 's/== "xquartz"/= "xquartz"/' configure.ac || die #494864 sed 's:-DGIMP_DISABLE_DEPRECATED:-DGIMP_protect_DISABLE_DEPRECATED:g' -i configure.ac || die #615144 sed 's:-DGIMP_protect_DISABLE_DEPRECATED:-DGIMP_DISABLE_DEPRECATED:g' -i configure || die #615144 grep -F -q GIMP_DISABLE_DEPRECATED configure || die #615144, self-test The USE="X" adds conditional support of x11-libs/libXcursor. The FEATURES="test" now use x11-misc/xvfb-run instead virtualx.eclass to run tests. In addition USE="doc" now build related to gobject-introspection (g-ir-doc) plugin documentations. Early it's built was broken for autotools. Signed-off-by: Sergey Torokhov <torokhov-s-a@yandex.ru>
This change is to add PYTHON_COMPAT for media-gfx/gimp Signed-off-by: Sergey Torokhov <torokhov-s-a@yandex.ru>
…T 3.11 Signed-off-by: Sergey Torokhov <torokhov-s-a@yandex.ru>
There was a typo in meson.build: But currently there is no possibility to rule such options. I will create request to upstream about it. At least the media-libs/babl uses Meson too and allows to manage such cpu flags. |
Pull request CI reportReport generated at: 2022-08-31 21:51 UTC There are existing issues already. Please look into the report to make sure none of them affect the packages in question: |
Thanks! I don't see a reason to delay getting this in. It's natural for there to be quirks and bumps along the ride when porting to a new build system. |
In this release of Gimp dev-preview 2.99.12 the porting
from Autotools to Meson build system take place.
The Meson now is preferred by upstream.
Due to differences of configuration options withon configure.ac
and meson_options.txt the some src_configuration options dropped
related to flags:
USE="aqua cpu_flags_ppc_altivec cpu_flags_ppc_mmx cpu_flags_ppc_sse"
autotools configure options:
Also some patches are dropped in src_prepare() phase:
The
sed -i -e 's/== "xquartz"/= "xquartz"/' configure.ac || die #494864
actually doesn't do anything several releases.The
USE="X"
adds conditional support ofx11-libs/libXcursor
.The FEATURES="test" now use
x11-misc/xvfb-run
instead virtualx.eclass to run tests.In addition USE="doc" now build related to
gobject-introspection
(g-ir-doc)plugin documentations. Early it's built was broken for autotools.
The main configuration issue is that gimp meson.build (lines 178-198) states
And it's seems that MMX and SSE always switched off. I got disabled them during meson configuration while they were enabled with autotools. The SSE2 and SSE4_1 were switched on during configuration.
Should I left it as it is?
The Altivec(ppc) activates automatically.
On media-libs/gegl: 0.4.38 version bump (lto and sdl2):
Closes: https://bugs.gentoo.org/859901
Closes: https://bugs.gentoo.org/860246
P.S.
To add Python 3.11 I need to additionally test
dev-libs/gobject-introspection
after add Python 3.11 for it and changesPYTHON_REQ_USE="xml
toPYTHON_REQ_USE="xml(+)"
and thenmedia-libs/gegl
andmedia-gfx/gimp
again.If it's OK then I will add additional commit.