Skip to content

Commit

Permalink
libsoup_2_4: Rename from libsoup
Browse files Browse the repository at this point in the history
The 2.4 ABI branch has not been supported by upstream for a while now but people still keep accidentally adding it to new packages.

haskellPackages.cabal2nix-unstable: 2024-10-17 -> 2024-12-04

This emits versioned libsoup_* attributes in hackage-packages.nix and
(unrelatedly) adds support for opencascade-*, thus closes #359831.
  • Loading branch information
jtojnar authored and sternenseemann committed Dec 4, 2024
1 parent c3b2190 commit 2476dd6
Show file tree
Hide file tree
Showing 75 changed files with 161 additions and 174 deletions.
4 changes: 2 additions & 2 deletions doc/hooks/tauri.section.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ In Nixpkgs, `cargo-tauri.hook` overrides the default build and install phases.
cargo-tauri,
darwin,
glib-networking,
libsoup,
libsoup_2_4,
nodejs,
npmHooks,
openssl,
Expand Down Expand Up @@ -54,7 +54,7 @@ rustPlatform.buildRustPackage rec {
[ openssl ]
++ lib.optionals stdenv.hostPlatform.isLinux [
glib-networking # Most Tauri apps need networking
libsoup
libsoup_2_4
webkitgtk_4_0
]
++ lib.optionals stdenv.hostPlatform.isDarwin (
Expand Down
4 changes: 2 additions & 2 deletions pkgs/applications/audio/pragha/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
, libcdio-paranoia, withCD ? true
, keybinder3, withKeybinder ? false
, libnotify, withLibnotify ? false
, libsoup, withLibsoup ? false
, libsoup_2_4, withLibsoup ? false
, libgudev, withGudev ? false # experimental
, libmtp, withMtp ? false # experimental
, xfce, withXfce4ui ? false
Expand Down Expand Up @@ -73,7 +73,7 @@ mkDerivation rec {
++ lib.optional withLibnotify libnotify
++ lib.optional withLastfm liblastfmSF
++ lib.optional withGlyr glyr
++ lib.optional withLibsoup libsoup
++ lib.optional withLibsoup libsoup_2_4
++ lib.optional withMtp libmtp
++ lib.optional withXfce4ui xfce.libxfce4ui
++ lib.optional withTotemPlParser totem-pl-parser
Expand Down
4 changes: 2 additions & 2 deletions pkgs/applications/graphics/inkscape/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
, librevenge
, librsvg
, libsigcxx
, libsoup
, libsoup_2_4
, libvisio
, libwpg
, libXft
Expand Down Expand Up @@ -155,7 +155,7 @@ stdenv.mkDerivation rec {
librevenge
librsvg # for loading icons
libsigcxx
libsoup
libsoup_2_4
libvisio
libwpg
libXft
Expand Down
4 changes: 2 additions & 2 deletions pkgs/applications/networking/browsers/surf/default.nix
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{ lib, stdenv, fetchgit
, pkg-config, wrapGAppsHook3
, glib, gcr, glib-networking, gsettings-desktop-schemas, gtk, libsoup, webkitgtk_4_0
, glib, gcr, glib-networking, gsettings-desktop-schemas, gtk, libsoup_2_4, webkitgtk_4_0
, xorg, dmenu, findutils, gnused, coreutils, gst_all_1
, patches ? null
}:
Expand All @@ -23,7 +23,7 @@ stdenv.mkDerivation rec {
glib-networking
gsettings-desktop-schemas
gtk
libsoup
libsoup_2_4
webkitgtk_4_0
] ++ (with gst_all_1; [
# Audio & video support for webkitgtk WebView
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
, vala, cmake, ninja, wrapGAppsHook4, pkg-config, gettext
, gobject-introspection, glib, gdk-pixbuf, gtk4, glib-networking
, libadwaita
, libnotify, libsoup, libgee
, libnotify, libsoup_2_4, libgee
, libsignal-protocol-c
, libgcrypt
, sqlite
Expand Down Expand Up @@ -62,7 +62,7 @@ stdenv.mkDerivation (finalAttrs: {
libnotify
gpgme
libgcrypt
libsoup
libsoup_2_4
pcre2
icu
libsignal-protocol-c
Expand Down Expand Up @@ -90,7 +90,7 @@ stdenv.mkDerivation (finalAttrs: {
"-DXGETTEXT_EXECUTABLE=${lib.getBin buildPackages.gettext}/bin/xgettext"
"-DMSGFMT_EXECUTABLE=${lib.getBin buildPackages.gettext}/bin/msgfmt"
"-DGLIB_COMPILE_RESOURCES_EXECUTABLE=${lib.getDev buildPackages.glib}/bin/glib-compile-resources"
"-DSOUP_VERSION=${lib.versions.major libsoup.version}"
"-DSOUP_VERSION=${lib.versions.major libsoup_2_4.version}"
];

# Undefined symbols for architecture arm64: "_gpg_strerror"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{ lib, stdenv, requireFile, makeWrapper, autoPatchelfHook, wrapGAppsHook3, which, more
, file, atk, alsa-lib, cairo, fontconfig, gdk-pixbuf, glib, webkitgtk_4_0, gtk2-x11, gtk3
, heimdal, krb5, libsoup, libvorbis, speex, openssl, zlib, xorg, pango, gtk2
, heimdal, krb5, libsoup_2_4, libvorbis, speex, openssl, zlib, xorg, pango, gtk2
, gnome2, mesa, nss, nspr, gtk_engines, freetype, dconf, libpng12, libxml2
, libjpeg, libredirect, tzdata, cacert, systemd, libcxx, symlinkJoin
, libpulseaudio, pcsclite, glib-networking, llvmPackages_12, opencv4
Expand Down Expand Up @@ -103,7 +103,7 @@ stdenv.mkDerivation rec {
libpng12
libpulseaudio
libsecret
libsoup
libsoup_2_4
libvorbis
libxml2
llvmPackages_12.libunwind
Expand Down
4 changes: 2 additions & 2 deletions pkgs/applications/office/grisbi/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
, libofx
, intltool
, wrapGAppsHook3
, libsoup
, libsoup_2_4
, adwaita-icon-theme
}:

Expand All @@ -24,7 +24,7 @@ stdenv.mkDerivation rec {
gtk
libgsf
libofx
libsoup
libsoup_2_4
adwaita-icon-theme
];

Expand Down
4 changes: 2 additions & 2 deletions pkgs/by-name/al/alcom/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
glib-networking,
google-fonts,
lib,
libsoup,
libsoup_2_4,
nodejs,
npmHooks,
openssl,
Expand Down Expand Up @@ -70,7 +70,7 @@ rustPlatform.buildRustPackage {
[ openssl ]
++ lib.optionals stdenv.hostPlatform.isLinux [
glib-networking
libsoup
libsoup_2_4
webkitgtk_4_0
]
++ dotnetSdk.packages
Expand Down
4 changes: 2 additions & 2 deletions pkgs/by-name/an/ansel/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
, isocodes
, libpsl
, libepoxy
, libsoup
, libsoup_2_4
, exiv2
, libXtst
, libthai
Expand Down Expand Up @@ -138,7 +138,7 @@ stdenv.mkDerivation {
libsecret
libselinux
libsepol
libsoup
libsoup_2_4
libsysprof-capture
libthai
libwebp
Expand Down
4 changes: 2 additions & 2 deletions pkgs/by-name/ar/ario/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
, gettext
, gtk3
, libmpdclient
, libsoup
, libsoup_2_4
, libxml2
, taglib
, wrapGAppsHook3
Expand Down Expand Up @@ -39,7 +39,7 @@ stdenv.mkDerivation rec {
dbus-glib
gtk3
libmpdclient
libsoup
libsoup_2_4
libxml2
taglib
];
Expand Down
4 changes: 2 additions & 2 deletions pkgs/by-name/aw/aws-workspaces/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
, webkitgtk_4_0
, librsvg
, gdk-pixbuf
, libsoup
, libsoup_2_4
, glib-networking
, graphicsmagick_q16
, libva
Expand Down Expand Up @@ -57,7 +57,7 @@ stdenv.mkDerivation (finalAttrs: {
webkitgtk_4_0
librsvg
gdk-pixbuf
libsoup
libsoup_2_4
glib-networking
graphicsmagick_q16
hiredis
Expand Down
4 changes: 2 additions & 2 deletions pkgs/by-name/ca/cargo-tauri_1/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
cargo-tauri,
cargo-tauri_1,
gtk3,
libsoup,
libsoup_2_4,
openssl,
webkitgtk_4_0,
}:
Expand Down Expand Up @@ -40,7 +40,7 @@ cargo-tauri.overrideAttrs (
[ openssl ]
++ lib.optionals stdenv.hostPlatform.isLinux [
gtk3
libsoup
libsoup_2_4
webkitgtk_4_0
];

Expand Down
4 changes: 2 additions & 2 deletions pkgs/by-name/ca/catppuccinifier-gui/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
cairo,
stdenv,
librsvg,
libsoup,
libsoup_2_4,
fetchzip,
openssl_3,
webkitgtk_4_0,
Expand Down Expand Up @@ -43,7 +43,7 @@ stdenv.mkDerivation {
gtk3
cairo
gdk-pixbuf
libsoup
libsoup_2_4
glib
dbus
openssl_3
Expand Down
4 changes: 2 additions & 2 deletions pkgs/by-name/da/darktable/package.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{ lib
, stdenv
, fetchurl
, libsoup
, libsoup_2_4
, graphicsmagick
, json-glib
, wrapGAppsHook3
Expand Down Expand Up @@ -86,7 +86,7 @@ stdenv.mkDerivation rec {
openexr_3
sqlite
libxslt
libsoup
libsoup_2_4
graphicsmagick
json-glib
openjpeg
Expand Down
4 changes: 2 additions & 2 deletions pkgs/by-name/de/desktop-postflop/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
, makeDesktopItem
, pkg-config
, gtk3
, libsoup
, libsoup_2_4
, webkitgtk_4_0
}:

Expand Down Expand Up @@ -57,7 +57,7 @@ rustPlatform.buildRustPackage rec {

buildInputs = [
gtk3
libsoup
libsoup_2_4
webkitgtk_4_0
];

Expand Down
4 changes: 2 additions & 2 deletions pkgs/by-name/dl/dleyna-renderer/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
, gupnp
, gupnp-av
, gupnp-dlna
, libsoup
, libsoup_2_4
, makeWrapper
, docbook-xsl-nons
, libxslt
Expand Down Expand Up @@ -57,7 +57,7 @@ stdenv.mkDerivation rec {
gupnp
gupnp-av
gupnp-dlna
libsoup
libsoup_2_4
];

preFixup = ''
Expand Down
4 changes: 2 additions & 2 deletions pkgs/by-name/dl/dleyna-server/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
, gupnp
, gupnp-av
, gupnp-dlna
, libsoup
, libsoup_2_4
}:

stdenv.mkDerivation rec {
Expand Down Expand Up @@ -51,7 +51,7 @@ stdenv.mkDerivation rec {
gupnp
gupnp-av
gupnp-dlna
libsoup
libsoup_2_4
];

preFixup = ''
Expand Down
4 changes: 2 additions & 2 deletions pkgs/by-name/en/en-croissant/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
makeBinaryWrapper,

openssl,
libsoup,
libsoup_2_4,
webkitgtk_4_0,
gst_all_1,
apple-sdk_11,
Expand Down Expand Up @@ -59,7 +59,7 @@ rustPlatform.buildRustPackage rec {
buildInputs =
lib.optionals stdenv.hostPlatform.isLinux [
openssl
libsoup
libsoup_2_4
webkitgtk_4_0
gst_all_1.gstreamer
gst_all_1.gst-plugins-base
Expand Down
4 changes: 2 additions & 2 deletions pkgs/by-name/fo/fondo/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
, gtk3
, libgee
, libhandy
, libsoup
, libsoup_2_4
, json-glib
, glib-networking
, desktop-file-utils
Expand Down Expand Up @@ -49,7 +49,7 @@ stdenv.mkDerivation rec {
json-glib
libgee
libhandy
libsoup
libsoup_2_4
pantheon.granite
];

Expand Down
4 changes: 2 additions & 2 deletions pkgs/by-name/ga/gamehub/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
, gtk3
, glib-networking
, libgee
, libsoup
, libsoup_2_4
, json-glib
, sqlite
, webkitgtk_4_0
Expand Down Expand Up @@ -46,7 +46,7 @@ stdenv.mkDerivation rec {
json-glib
libgee
libmanette
libsoup
libsoup_2_4
libXtst
sqlite
webkitgtk_4_0
Expand Down
6 changes: 3 additions & 3 deletions pkgs/by-name/ge/geocode-glib/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
, docbook-xsl-nons
, gobject-introspection
, gnome
, libsoup
, libsoup_2_4
, json-glib
, glib
, nixosTests
Expand Down Expand Up @@ -45,12 +45,12 @@ stdenv.mkDerivation rec {

buildInputs = [
glib
libsoup
libsoup_2_4
json-glib
];

mesonFlags = [
"-Dsoup2=${lib.boolToString (lib.versionOlder libsoup.version "2.99")}"
"-Dsoup2=${lib.boolToString (lib.versionOlder libsoup_2_4.version "2.99")}"
"-Dinstalled_test_prefix=${placeholder "installedTests"}"
];

Expand Down
Loading

0 comments on commit 2476dd6

Please sign in to comment.