Summary: | graphics/gegl: g_random_* function always returns same random number sequence | ||||||
---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | Tatsuki Makino <tatsuki_makino> | ||||
Component: | Individual Port(s) | Assignee: | freebsd-gnome (Nobody) <gnome> | ||||
Status: | Closed FIXED | ||||||
Severity: | Affects Only Me | CC: | vvd | ||||
Priority: | --- | Flags: | bugzilla:
maintainer-feedback?
(gnome) |
||||
Version: | Latest | ||||||
Hardware: | Any | ||||||
OS: | Any | ||||||
Attachments: |
|
Is it upstream bug? If yes, did you report it upstream? (In reply to VVD from comment #1) Yes, probably upstream bug. But doesn't this happen in the Windows or Linux version of GIMP? That hasn't been pointed out yet. And I have not yet reported this issue upstream. Additionally, I would like to ask someone to report on my behalf :) Because I have already used attachment 216736 [details] to make sure the problem is remedied, but I don't know if that's the right way to fix it. So could someone please inspect it and report it upstream? I correct my comment #2. I sent an email to the developer within GEGL. The fix was applied upstream. https://gitlab.gnome.org/GNOME/gegl/-/commit/8fbdf0c5637a7e7c72db944982c5afd0c1b9ceb6 After the next release, attachment 216736 [details] will no longer be required. gegl-0.4.26.tar.xz already exists. It includes this fix. |
Created attachment 216736 [details] patch to fix graphics/gegl Random number sequence is always the same because the seed of g_random_* function is set to a fixed value. It affects everything linked to libgegl. For example: mkdir ~/.config/GIMP/2.10/splashes ln -s /usr/local/share/gimp/images/gimp-splash.png ~/.config/GIMP/2.10/splashes/ find ~/collection_of_cute_cats -type f -iname \*.jpg -print0 | xargs -0 -J % cp % ~/.config/GIMP/2.10/splashes/ gimp --new-instance & gimp --new-instance & gimp --new-instance & gimp --new-instance & gimp --new-instance &