iso-flags-png-320x240: Renamed and moved from cinnamon.iso-flags-png-320x420
The PNGs are under resolution 320x240 (instead of 320x420).
This commit is contained in:
parent
350a70036a
commit
c2fbd20fc6
@ -23,7 +23,7 @@
|
||||
, xapp
|
||||
, xdotool
|
||||
, xorg
|
||||
, iso-flags-png-320x420
|
||||
, iso-flags-png-320x240
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
@ -74,9 +74,6 @@ stdenv.mkDerivation rec {
|
||||
cinnamon-common
|
||||
libgnomekbd
|
||||
gnome.caribou
|
||||
|
||||
# things
|
||||
iso-flags-png-320x420
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
@ -85,7 +82,7 @@ stdenv.mkDerivation rec {
|
||||
-e s,/usr/share/locale,/run/current-system/sw/share/locale,g \
|
||||
-e s,/usr/lib/cinnamon-screensaver,$out/lib,g \
|
||||
-e s,/usr/share/cinnamon-screensaver,$out/share,g \
|
||||
-e s,/usr/share/iso-flag-png,${iso-flags-png-320x420}/share/iso-flags-png,g \
|
||||
-e s,/usr/share/iso-flag-png,${iso-flags-png-320x240}/share/iso-flags-png,g \
|
||||
{} +
|
||||
'';
|
||||
|
||||
|
@ -1,12 +1,6 @@
|
||||
{ config, pkgs, lib }:
|
||||
|
||||
lib.makeScope pkgs.newScope (self: with self; {
|
||||
iso-flags-png-320x420 = pkgs.iso-flags.overrideAttrs (p: p // {
|
||||
buildPhase = "make png-country-320x240-fancy";
|
||||
# installPhase = "mkdir -p $out/share && mv build/png-country-4x2-fancy/res-320x240 $out/share/iso-flags-png-320x420";
|
||||
installPhase = "mkdir -p $out/share && mv build/png-country-4x2-fancy/res-320x240 $out/share/iso-flags-png";
|
||||
});
|
||||
|
||||
iso-flags-svg = pkgs.iso-flags.overrideAttrs (p: p // {
|
||||
buildPhase = "mkdir -p $out/share";
|
||||
installPhase = "mv svg $out/share/iso-flags-svg";
|
||||
@ -42,6 +36,7 @@ lib.makeScope pkgs.newScope (self: with self; {
|
||||
}) // lib.optionalAttrs config.allowAliases {
|
||||
# Aliases need to be outside the scope or they will shadow the attributes from parent scope.
|
||||
bulky = lib.warn "cinnamon.bulky was moved to top-level. Please use pkgs.bulky directly." pkgs.bulky; # Added on 2024-07-14
|
||||
iso-flags-png-320x420 = lib.warn "cinnamon.iso-flags-png-320x420 was moved to top-level and renamed to pkgs.iso-flags-png-320x240." pkgs.iso-flags-png-320x240; # Added on 2024-07-14
|
||||
folder-color-switcher = lib.warn "cinnamon.folder-color-switcher was moved to top-level. Please use pkgs.folder-color-switcher directly." pkgs.folder-color-switcher; # Added on 2024-07-14
|
||||
mint-artwork = lib.warn "cinnamon.mint-artwork was moved to top-level. Please use pkgs.mint-artwork directly." pkgs.mint-artwork; # Added on 2024-07-14
|
||||
mint-cursor-themes = lib.warn "cinnamon.mint-cursor-themes was moved to top-level. Please use pkgs.mint-cursor-themes directly." pkgs.mint-cursor-themes; # Added on 2024-07-14
|
||||
|
@ -640,6 +640,7 @@ mapAliases ({
|
||||
ipfs-migrator-unwrapped = kubo-migrator-unwrapped; # Added 2022-09-27
|
||||
ipfs-migrator = kubo-migrator; # Added 2022-09-27
|
||||
iproute = iproute2; # moved from top-level 2021-03-14
|
||||
iso-flags-png-320x420 = lib.warn "iso-flags-png-320x420 has been renamed to iso-flags-png-320x240" iso-flags-png-320x240; # Added 2024-07-17
|
||||
|
||||
### J ###
|
||||
|
||||
|
@ -21274,6 +21274,15 @@ with pkgs;
|
||||
|
||||
iso-flags = callPackage ../data/icons/iso-flags { };
|
||||
|
||||
iso-flags-png-320x240 = iso-flags.overrideAttrs (oldAttrs: {
|
||||
buildFlags = [ "png-country-320x240-fancy" ];
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
mkdir -p $out/share && mv build/png-country-4x2-fancy/res-320x240 $out/share/iso-flags-png
|
||||
runHook postInstall
|
||||
'';
|
||||
});
|
||||
|
||||
isoimagewriter = libsForQt5.callPackage ../tools/misc/isoimagewriter {};
|
||||
|
||||
isort = with python3Packages; toPythonApplication isort;
|
||||
|
Loading…
Reference in New Issue
Block a user