Skip to content

Conversation

@GeopJr
Copy link
Contributor

@GeopJr GeopJr commented Oct 10, 2025

Mostly in preparation for 49 (should probably do it for the non-nightly flatpak too for the ci) done

ffmpeg-full has been replaced by codecs-extra, GNOME 49 runtime autodownloads it so there's no need for manually setting it up anymore!

@Rafostar
Copy link
Owner

Hi. Thanks for PR. Seems to be failing due to:

cp: cannot stat '/usr/share/gnu-config/config.sub': No such file or directory
cp: cannot stat '/usr/share/gnu-config/config.guess': No such file or directory

Which is used in libdv build manifest. Any idea what happened to these files in 49? 🙃

@GeopJr
Copy link
Contributor Author

GeopJr commented Oct 10, 2025

From what I can tell, they were removed from the freedesktop runtime (which the other runtimes are based on) but I can't really tell why from the changelog :/ https://gitlab.com/freedesktop-sdk/freedesktop-sdk/-/releases/freedesktop-sdk-25.08.0

┬─[geopjr@UwU:~/P/clapper]─[09:48:16 PM]─[G:feat/remove-ffmpeg-from-nightly]
╰─>$ flatpak run --command=sh org.freedesktop.Sdk//25.08
[📦 org.freedesktop.Sdk ~]$ find / -name "config.sub"
find: ‘/proc/tty/driver’: Permission denied
/usr/share/autoconf/build-aux/config.sub
/usr/share/libtool/build-aux/config.sub
/usr/share/automake-1.18/config.sub
[📦 org.freedesktop.Sdk ~]$ exit
exit
┬─[geopjr@UwU:~/P/clapper]─[09:51:06 PM]─[G:feat/remove-ffmpeg-from-nightly]
╰─>$ flatpak run --command=sh org.freedesktop.Sdk//24.08
[📦 org.freedesktop.Sdk ~]$ find / -name "config.sub"
find: ‘/proc/tty/driver’: Permission denied
/usr/share/autoconf/build-aux/config.sub
/usr/share/automake-1.16/config.sub
/usr/share/libtool/build-aux/config.sub
/usr/share/gnu-config/config.sub
[📦 org.freedesktop.Sdk ~]$ exit

@GeopJr
Copy link
Contributor Author

GeopJr commented Oct 10, 2025

bundled libav with the gnu-config files here for the sake of testing, not sure what's the way forward
add a gnu config module? just add the files to the libav manifest?

edit:

uchardet with min cmake >=3.5 hasn't made it into a release yet https://gitlab.freedesktop.org/uchardet/uchardet/-/commit/6e163c978a7c13a6d3ff64a1e3dd4ba81d2d9e09, bundled

edit 2:

savannah managed to die when downloading a single file.... yeah bundling these is the way to go

@Rafostar
Copy link
Owner

I think we can just use configs from automake you found. Should be easy change from:

"cp -fp /usr/share/gnu-config/config.{sub,guess} ."

to:

"cp -fp /usr/share/automake-*/config.{sub,guess} ."

@GeopJr
Copy link
Contributor Author

GeopJr commented Oct 11, 2025

welp, no idea on why libgstsvtav1 is failing. I suspected gst-libav-stop-caching-codecs.patch which points to ffmpeg-full but removing it didn't seem to fix anything. FWIW those codecs are under:

[📦 dev.geopjr.Tuba ~]$ find / -name "libavcodec*"
find: ‘/proc/tty/driver’: Permission denied
/usr/lib/x86_64-linux-gnu/libavcodec.so.61.19.101
/usr/lib/x86_64-linux-gnu/codecs-extra/lib/libavcodec.so.61.19.101
/usr/lib/x86_64-linux-gnu/codecs-extra/lib/libavcodec.so.61
/usr/lib/x86_64-linux-gnu/libavcodec.so.61
[📦 dev.geopjr.Tuba ~]$ find / -name "libavformat*"
find: ‘/proc/tty/driver’: Permission denied
/usr/lib/x86_64-linux-gnu/libavformat.so.61
/usr/lib/x86_64-linux-gnu/libavformat.so.61.7.100
/usr/lib/x86_64-linux-gnu/codecs-extra/lib/libavformat.so.61
/usr/lib/x86_64-linux-gnu/codecs-extra/lib/libavformat.so.61.7.100
[📦 dev.geopjr.Tuba ~]$ find / -name "libswscale*"
find: ‘/proc/tty/driver’: Permission denied
/usr/lib/x86_64-linux-gnu/libswscale.so.8.3.100
/usr/lib/x86_64-linux-gnu/codecs-extra/lib/libswscale.so.8.3.100
/usr/lib/x86_64-linux-gnu/codecs-extra/lib/libswscale.so.8
/usr/lib/x86_64-linux-gnu/libswscale.so.8

they shouldn't need a gst_plugin_add_dependency_simple, right?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants