Skip to content

luakit: 2.3.3 -> 2.4.0, add maintainer - #383092

Merged
jtojnar merged 1 commit into
NixOS:masterfrom
griffi-gh:luakit-240
Apr 21, 2025
Merged

jtojnar merged 1 commit into
NixOS:masterfrom
griffi-gh:luakit-240

Conversation

@griffi-gh

@griffi-gh griffi-gh commented Feb 18, 2025 •

Copy link
Copy Markdown
Member

Update luakit to 2.4.0, added myself as a maintainer

closes #383087

Things done

  • Built on platform(s)
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)
    • sandbox = relaxed
    • sandbox = true
  • Tested, as applicable:
  • Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
  • Tested basic functionality of all binary files (usually in ./result/bin/)
  • 25.05 Release Notes (or backporting 24.11 and 25.05 Release notes)
    • (Package updates) Added a release notes entry if the change is major or breaking
    • (Module updates) Added a release notes entry if the change is significant
    • (Module addition) Added a release notes entry if adding a new NixOS module
  • Fits CONTRIBUTING.md.

Add a 👍 reaction to pull requests you find important.

@griffi-gh griffi-gh self-assigned this Feb 18, 2025
@github-actions github-actions Bot added 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 1 This PR causes 1 package to rebuild on Linux. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. labels Feb 18, 2025

@donovanglover donovanglover left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@donovanglover donovanglover added 8.has: upstream changes reviewed Reviewer checked the changelogs/commit logs associated with the release and did not find any issues. 12.approvals: 1 This PR was reviewed and approved by one person. labels Feb 18, 2025
@griffi-gh

griffi-gh commented Feb 18, 2025 •

Copy link
Copy Markdown
Member Author

This might be an issue though, right?

❯ nix why-depends -f . luakit libsoup_3
/nix/store/5bg2kvvnsyaca22svkk71dn799w2myg6-luakit-2.4.0
└───/nix/store/7zqdxvrn2g3y72gjwbcvjw7myycv0fkz-libsoup-3.6.4
❯ nix why-depends -f . luakit libsoup_2_4
/nix/store/5bg2kvvnsyaca22svkk71dn799w2myg6-luakit-2.4.0
└───/nix/store/8isr6bmmh0fldf13yjq5yzhhli3wnank-gst-plugins-bad-1.24.10
    └───/nix/store/nlxc3x16prbbr9hp2pq3kdpgk7ghsdhj-libnice-0.1.22
        └───/nix/store/n0q6wh1c032v0cz71zslglb991684qag-gupnp-igd-1.2.0
            └───/nix/store/ia6mjw5liggs8xnqkms4knw4bj1blwj3-gssdp-1.4.1
                └───/nix/store/19r87cja0zcs7dyn83bviq22llhkrx8j-libsoup-2.74.3

i mean doesn't this also link against both soup2 and soup3, which is not supported?
cant find anything that would be affected by this (the browser seemingly works fine, including video playback)
for reference: #265771 (review)

its prooobably fine ...

@griffi-gh

griffi-gh commented Feb 20, 2025 •

Copy link
Copy Markdown
Member Author

also TODO, this is a breaking change, needs release note.

The default WebKit data and cache subdirectories are now used. If you use any website which uses IndexedDB or local storage and wish to retain the saved information, you will need to manually move the corresponding directories to their new locations. Specifically, the mapping is as follows:
$XDG_DATA_HOME/luakit/local_storage -> $XDG_DATA_HOME/luakit/localstorage
$XDG_DATA_HOME/luakit/indexeddb -> $XDG_DATA_HOME/luakit/databases/indexeddb

Done.

@griffi-gh
griffi-gh force-pushed the luakit-240 branch 2 times, most recently from 90d4023 to 710a2ac Compare February 20, 2025 18:18
@github-actions github-actions Bot added 6.topic: nixos Issues or PRs affecting NixOS modules, or package usability issues specific to NixOS 8.has: changelog This PR adds or changes release notes 8.has: documentation This PR adds or changes documentation and removed 10.rebuild-linux: 1 This PR causes 1 package to rebuild on Linux. labels Feb 20, 2025
@wegank wegank removed the 12.approvals: 1 This PR was reviewed and approved by one person. label Feb 21, 2025

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is not very actionable. Probably almost no one knows if they use those techs or not. We should rather mention the directories which should be moved.

@wegank wegank added the 2.status: merge conflict This PR has merge conflicts with the target branch label Apr 2, 2025
@ofborg ofborg Bot removed the 2.status: merge conflict This PR has merge conflicts with the target branch label Apr 6, 2025
@github-actions github-actions Bot added 10.rebuild-darwin: 1 This PR causes 1 package to rebuild on Darwin. 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. and removed 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. labels Apr 6, 2025
@wegank wegank added the 2.status: merge conflict This PR has merge conflicts with the target branch label Apr 7, 2025
@GrimmTheShrimp

GrimmTheShrimp commented Apr 12, 2025 •

Copy link
Copy Markdown
Contributor

i mean doesn't this also link against both soup2 and soup3, which is not supported?
cant find anything that would be affected by this (the browser seemingly works fine, including video playback)
for reference: #265771 (review)

its prooobably fine ...

Probably not. luakit is already pulling libsoup_3 via gst-plugins-good. After #395063, the libnice will be libsoup_3 too.

@GrimmTheShrimp

GrimmTheShrimp commented Apr 12, 2025 •

Copy link
Copy Markdown
Contributor

Also, related: #360897
Hence pinging @jtojnar

@GrimmTheShrimp
GrimmTheShrimp requested a review from jtojnar April 12, 2025 08:40
@jtojnar

jtojnar commented Apr 13, 2025 •

Copy link
Copy Markdown
Member

Looking at the dependency chain, I do not think it likely for the libsoup 2.4 to contaminate the process space:

$ nix why-depends  --all --precise .#gst_all_1.gst-plugins-bad .#libsoup_2_4
/nix/store/2n83imxvsvz6wvikqf92121x3zpj306i-gst-plugins-bad-1.24.10
└───lib/libgstwebrtcnice-1.0.so.0.2410.0: …streamer-1.24.10/lib:/nix/store/cgl5sjvbg8smql87r9mf0n5vqcp27bc2-libnice-0.1.22/lib:/nix/store/r…
    → /nix/store/cgl5sjvbg8smql87r9mf0n5vqcp27bc2-libnice-0.1.22
    └───lib/libnice.so.10.14.0: …hh8-gnutls-3.8.9/lib:/nix/store/fb040iayf2qxazqhyxym80ab4jbqsvgy-gupnp-igd-1.2.0/lib:/nix/store/…
        → /nix/store/fb040iayf2qxazqhyxym80ab4jbqsvgy-gupnp-igd-1.2.0
        ├───lib/libgupnp-igd-1.0.so.4.2.1: …3ij9-glib-2.82.5/lib:/nix/store/idjfhdy33jihklwvipybnjjxg8idf3v7-gssdp-1.4.1/lib:/nix/store/kc4n…
        │   → /nix/store/idjfhdy33jihklwvipybnjjxg8idf3v7-gssdp-1.4.1
        │   └───lib/libgssdp-1.2.so.0.104.1: …3ij9-glib-2.82.5/lib:/nix/store/n5zlckilylcj90xj2z6kf6av7dig72pa-libsoup-2.74.3/lib:/nix/store/r…
        │       → /nix/store/n5zlckilylcj90xj2z6kf6av7dig72pa-libsoup-2.74.3
        └───lib/libgupnp-igd-1.0.so.4.2.1: …f3v7-gssdp-1.4.1/lib:/nix/store/kc4nhp41xn4g9v0nafhqfwzs379a61z5-gupnp-1.4.4/lib:/nix/store/rmy6…
            → /nix/store/kc4nhp41xn4g9v0nafhqfwzs379a61z5-gupnp-1.4.4
            ├───lib/libgupnp-1.2.so.1.104.4: …7-libxml2-2.13.6/lib:/nix/store/n5zlckilylcj90xj2z6kf6av7dig72pa-libsoup-2.74.3/lib:/nix/store/r…
            │   → /nix/store/n5zlckilylcj90xj2z6kf6av7dig72pa-libsoup-2.74.3
            └───lib/libgupnp-1.2.so.1.104.4: …nimal-2.40.4-lib/lib:/nix/store/idjfhdy33jihklwvipybnjjxg8idf3v7-gssdp-1.4.1/lib:/nix/store/rhl3…
                → /nix/store/idjfhdy33jihklwvipybnjjxg8idf3v7-gssdp-1.4.1

libgstwebrtcnice-1.0.so is a library, not a plug-in. In Debian, the only thing using it appears to be webrtc plug-in:

And as this is a leaf package, there is nothing else the change could break in Nixpkgs.

@GrimmTheShrimp

Copy link
Copy Markdown
Contributor

we could target this pr to libsoup-updates branch to be safe, but i am not sure that is actually necessary

@jtojnar

jtojnar commented Apr 13, 2025

Copy link
Copy Markdown
Member

Looking into it some more, webrtc plug-in does not even start without libnice element being on GST_PLUGIN_SYSTEM_PATH_1_0 so I think we can safely ignore stuff depending on libsoup_2_4 only through gst_all_1.gst-plugins-bad without also having libnice in buildInputs (or propagated from one of the dependencies):

$ GST_PLUGIN_SYSTEM_PATH_1_0= nix-shell -I nixpkgs=$PWD -p gst_all_1.gstreamer gst_all_1.gst-plugins-base gst_all_1.gst-plugins-good gst_all_1.gst-plugins-bad --run 'gst-launch-1.0 webrtcbin'
Setting pipeline to PAUSED ...
ERROR: from element /GstPipeline:pipeline0/GstWebRTCBin:webrtcbin0: Your GStreamer installation is missing a plug-in.
Additional debug info:
../ext/webrtc/gstwebrtcbin.c(154): _have_nice_elements (): /GstPipeline:pipeline0/GstWebRTCBin:webrtcbin0:
libnice elements are not available
ERROR: pipeline doesn't want to preroll.
Failed to set pipeline to PAUSED.
Setting pipeline to NULL ...
Freeing pipeline ...

$ GST_PLUGIN_SYSTEM_PATH_1_0= nix-shell -I nixpkgs=$PWD -p gst_all_1.gstreamer gst_all_1.gst-plugins-base gst_all_1.gst-plugins-good gst_all_1.gst-plugins-bad libnice --run 'gst-launch-1.0 webrtcbin'
Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
^Chandling interrupt.
Interrupt: Stopping pipeline ...
Execution ended after 0:00:05.766099953
Setting pipeline to NULL ...
Freeing pipeline ...

@ofborg ofborg Bot removed the 2.status: merge conflict This PR has merge conflicts with the target branch label Apr 21, 2025
@github-actions github-actions Bot added 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. and removed 10.rebuild-darwin: 1 This PR causes 1 package to rebuild on Darwin. 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. labels Apr 21, 2025
@jtojnar
jtojnar merged commit 0649cb9 into NixOS:master Apr 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

6.topic: nixos Issues or PRs affecting NixOS modules, or package usability issues specific to NixOS 8.has: changelog This PR adds or changes release notes 8.has: documentation This PR adds or changes documentation 8.has: upstream changes reviewed Reviewer checked the changelogs/commit logs associated with the release and did not find any issues. 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Update Request: luakit 2.3.3 → 2.4.0

6 participants