git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #60352 from dtzWill/fix/fontmanager-0.7.5

font-manager: "0.7.5" -> actual 0.7.5

commitebc9db29d757dfb83c0bd7c6af3ef773e70f399f authorworldofpeace <worldofpeace@users.noreply.github.com> dateSun 28 Apr 2019, 05:49 (8 years ago) parenta2104409540f35
2 files changed+2−19
pkgs/applications/misc/font-manager/correct-post-install.patch−13 pkgs/applications/misc/font-manager/default.nix+2−6
pkgs/applications/misc/font-manager/correct-post-install.patchdeleted−13
@@ -1,13 +0,0 @@
1−diff --git a/meson_post_install.py b/meson_post_install.py
2−index 8d00e70..c28d19e 100644
3−--- a/meson_post_install.py
4−+++ b/meson_post_install.py
5−@@ -7,7 +7,7 @@ prefix = environ['MESON_INSTALL_PREFIX']
6− data_dir = path.join(prefix, 'share')
7− schema_dir = path.join(data_dir, 'glib-2.0', 'schemas')
8−
9−-if not environ['DESTDIR']:
10−+if not environ.get('DESTDIR'):
11− print('Compiling gsettings schemas...')
12− call(['glib-compile-schemas', schema_dir])
13− print('Updating desktop database...')
pkgs/applications/misc/font-manager/default.nix+2−6
@@ -10,8 +10,8 @@ stdenv.mkDerivation rec {
1010 src = fetchFromGitHub {
1111 owner = "FontManager";
1212 repo = "master";
13− rev = "cc057f3e93f5b1033b04decee03cdb44177e48b3";
14− sha256 = "1xg80bi2465p5r8zfmb34iga9yqs3is1k4f13hw0ligvhb58gas0";
13+ rev = version;
14+ sha256 = "16hma8rrkam6ngn5vbdaryn31vdixvii6920g9z928gylz9xkd3g";
1515 };
1616
1717 nativeBuildInputs = [
@@ -38,10 +38,6 @@ stdenv.mkDerivation rec {
3838 gnome3.adwaita-icon-theme
3939 ];
4040
41− patches = [
42− ./correct-post-install.patch
43− ];
44−
4541 mesonFlags = [
4642 "-Ddisable_pycompile=true"
4743 ];