bookworm vs trixie discussion for mobian in pinephone regular.
#55
(04-25-2025, 08:21 PM)Kevin Kofler Wrote: Probably never. Someone needs to package it in a third-party repository.

The way to package this is:
1. clone https://github.com/kkofler/gtk
2. generate the patch: git diff 4.18.4..gtk-4-18-4-gl2 >gtk-4.18.4-gles2.patch
3. remove the 2 hunks that delete binary PNGs from the patch – the release tarball apparently has some PNG optimizer run on them, so they do not match the version in git and applying the patch fails
4. get the packaging sources for GTK 4 (version 4.18.4 if possible) for your distribution
5. add the patch to the package and make sure it gets applied (this varies from distribution to distribution)
6. after applying the patch, add another line to the build-time package scriptlets to manually delete the PNGs whose deletion was removed from the patch in 3: rm -f testsuite/gsk/compare/huge-height-hdr.png testsuite/gsk/compare/huge-width-hdr.png (though I think you will get away without doing that, the PNGs will just not be used)
7. build the modified package and upload it to a repository

I have done that for Fedora here: https://copr.fedorainfracloud.org/coprs/....18-gles2/

For Debian, see https://wiki.debian.org/Packaging for the distribution-specific packaging instructions (steps 4 to 7).

Maybe there's something I don't understand. Could Megapixels use the GSK renderer based on Vulkan to solve this problem?
  Reply


Messages In This Thread
RE: bookworm vs trixie discussion for mobian in pinephone regular. - by anonymous - 04-27-2025, 11:31 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  cryptocurrency on mobian/pinephone biketool 33 50,396 06-30-2025, 02:57 PM
Last Post: biketool
  XLibre for Mobian Hiraghm 1 281 06-30-2025, 01:38 AM
Last Post: Haroldkent
  Axolotl on PinePhone / Mobian arno_nuehm 223 244,278 06-25-2025, 01:19 PM
Last Post: anonymous
  VoIP account on mobian dialer j_s 0 185 06-15-2025, 04:19 PM
Last Post: j_s
  Mobian Pinephone Notification LED biketool 2 372 06-07-2025, 03:19 PM
Last Post: KC9UDX
  Vivaldi Web browser nearly native for Mobian biketool 3 751 05-06-2025, 02:19 AM
Last Post: biketool
  troubleshooting sleep/wake button on trixie biketool 5 995 05-04-2025, 08:11 PM
Last Post: Kevin Kofler
  mobian calamares fail merom 2 819 04-29-2025, 02:10 PM
Last Post: mdk
  New camera app gnome-snapshot working on trixie? vusra 4 1,033 04-11-2025, 02:53 AM
Last Post: vusra
  Pinephone seems tobe using 4G data instead of Wifi data grump_fiddle_reinstall 7 2,863 02-20-2025, 02:47 PM
Last Post: puffchumpy

Forum Jump:


Users browsing this thread: 1 Guest(s)