69698ec11c
* gnome3: only maintain single GNOME 3 package set GNOME 3 was split into 3.10 and 3.12 in #2694. Unfortunately, we barely have the resources to update a single version of GNOME. Maintaining multiple versions just does not make sense. Additionally, it makes viewing history using most Git tools bothersome. This commit renames `pkgs/desktops/gnome-3/3.24` to `pkgs/desktops/gnome-3`, removes the config variable for choosing packageset (`environment.gnome3.packageSet`), updates the hint in maintainer script, and removes the `gnome3_24` derivation from `all-packages.nix`. Closes: #29329 * maintainers/scripts/gnome: Use fixed GNOME 3 directory Since we now allow only a single GNOME 3 package set, specifying the working directory is not necessary. This commit sets the directory to `pkgs/desktops/gnome-3`.
40 lines
1.4 KiB
Nix
40 lines
1.4 KiB
Nix
{ fetchurl, stdenv, pkgconfig, gnome3, python, dconf
|
|
, intltool, libsoup, libxml2, libsecret, icu, sqlite
|
|
, p11_kit, db, nspr, nss, libical, gperf, makeWrapper, valaSupport ? true,
|
|
vala_0_32, cmake, kerberos, openldap, webkitgtk, libaccounts-glib }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
inherit (import ./src.nix fetchurl) name src;
|
|
|
|
buildInputs = with gnome3;
|
|
[ pkgconfig glib python intltool libsoup libxml2 gtk gnome_online_accounts
|
|
(stdenv.lib.getLib dconf) gcr p11_kit libgweather libgdata gperf makeWrapper
|
|
icu sqlite gsettings_desktop_schemas cmake kerberos openldap webkitgtk
|
|
libaccounts-glib ]
|
|
++ stdenv.lib.optional valaSupport vala_0_32;
|
|
|
|
propagatedBuildInputs = [ libsecret nss nspr libical db ];
|
|
|
|
# uoa irrelevant for now
|
|
cmakeFlags = [ "-DENABLE_UOA=OFF" "-DENABLE_GOA=OFF" ]
|
|
++ stdenv.lib.optionals valaSupport [
|
|
"-DENABLE_VALA_BINDINGS=ON" "-DENABLE_INTROSPECTION=ON"
|
|
"-DCMAKE_SKIP_BUILD_RPATH=OFF" ];
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
preFixup = ''
|
|
for f in $(find $out/libexec/ -type f -executable); do
|
|
wrapProgram "$f" \
|
|
--prefix XDG_DATA_DIRS : "$GSETTINGS_SCHEMAS_PATH" \
|
|
--prefix GIO_EXTRA_MODULES : "${stdenv.lib.getLib dconf}/lib/gio/modules"
|
|
done
|
|
'';
|
|
|
|
meta = with stdenv.lib; {
|
|
platforms = platforms.linux;
|
|
maintainers = gnome3.maintainers;
|
|
};
|
|
|
|
}
|