Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 928557 - media-gfx/gimp-9999 - stuff moved to new gimp-data repository
Summary: media-gfx/gimp-9999 - stuff moved to new gimp-data repository
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Sergey Torokhov
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2024-04-04 04:33 UTC by jospezial
Modified: 2024-04-14 00:43 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description jospezial 2024-04-04 04:33:24 UTC
https://gitlab.gnome.org/GNOME/gimp/-/merge_requests/1373/commits

https://gitlab.gnome.org/GNOME/gimp/-/commit/42171503d4793612ca35919c517f057c68e35bcd#34fa2d7dbfd7cbacf575045ce385c0ea4df2b492
"data, plug-ins: logo images moved to gimp-data repository."

causes

sed: can't read data/images/meson.build: No such file or directory
 * ERROR: media-gfx/gimp-9999::gentoo failed (prepare phase):
 *   (no error message)
 * 
 * Call stack:
 *     ebuild.sh, line 136:  Called src_prepare
 *   environment, line 3953:  Called die
 * The specific snippet of code:
 *       sed -i -e "s/'gimp-@0@'.format(gimp_app_version)/'gimp-${PVR}'/" data/images/meson.build || die

The line was added to the live ebuild in
https://github.com/gentoo/gentoo/commit/ea8ed037f7557a6871719a0a09859c3377802945
Bug 905586
Comment 1 tacokoneko 2024-04-12 12:58:21 UTC
I experienced this problem and I successfully temporarily worked around it by doing editing line 142 of /var/db/repos/gentoo/media-gfx/gimp/gimp-9999.ebuild  to have "gimp-data" instead of "data"  and then i enabled the vector-icons USE flag and now gimp-9999 built successfully for me after doing both of those things.
Comment 2 Sergey Torokhov 2024-04-13 06:40:51 UTC
@jospezial 
Thanks for report!
Comment 3 Sergey Torokhov 2024-04-13 06:45:25 UTC
(In reply to tacokoneko from comment #1)
> I experienced this problem and I successfully temporarily worked around it
> by doing editing line 142 of
> /var/db/repos/gentoo/media-gfx/gimp/gimp-9999.ebuild  to have "gimp-data"
> instead of "data"  and then i enabled the vector-icons USE flag and now
> gimp-9999 built successfully for me after doing both of those things.

@tacokoneko,
Thanks for tip.
Actually there should be replacement of "data/images/meson.build" with "gimp-data/images/logo/meson.build" to avoid QA notice about wrong installation path and to install symlink into proper place.
Comment 4 Larry the Git Cow gentoo-dev 2024-04-14 00:43:16 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f6dc1d7623523c4e9ba7d062521db041834164aa

commit f6dc1d7623523c4e9ba7d062521db041834164aa
Author:     Sergey Torokhov <torokhov-s-a@yandex.ru>
AuthorDate: 2024-04-13 06:34:14 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-04-14 00:42:01 +0000

    media-gfx/gimp: 9999, fix moving data in new directory
    
    Closes: https://bugs.gentoo.org/928557
    
    Signed-off-by: Sergey Torokhov <torokhov-s-a@yandex.ru>
    Signed-off-by: Sam James <sam@gentoo.org>

 media-gfx/gimp/gimp-9999.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)