tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
gnome3.bijiben: 3.27.1 → 3.28.0
Jan Tojnar
8 years ago
0e6fc5c4
40f9a3e9
+31
-49
2 changed files
expand all
collapse all
unified
split
pkgs
desktops
gnome-3
apps
bijiben
default.nix
no-update-icon-cache.patch
+31
-27
pkgs/desktops/gnome-3/apps/bijiben/default.nix
···
1
-
{ stdenv, meson, ninja, gettext, fetchurl, pkgconfig, glib
2
-
, evolution-data-server, evolution, sqlite
3
, wrapGAppsHook, itstool, desktop-file-utils
4
-
, clutter-gtk, libuuid, webkitgtk, zeitgeist
5
-
, gnome3, librsvg, gdk_pixbuf, libxml2 }:
0
6
7
-
stdenv.mkDerivation rec {
0
0
8
name = "bijiben-${version}";
9
-
version = "3.27.1";
10
11
src = fetchurl {
12
url = "mirror://gnome/sources/bijiben/${gnome3.versionBranch version}/${name}.tar.xz";
13
-
sha256 = "7b4623467f3cb745c4b268d6fb2d9da32cbc96ffb5b1bbf2a153b692e295ac64";
14
-
};
15
-
16
-
passthru = {
17
-
updateScript = gnome3.updateScript { packageName = "bijiben"; attrPath = "gnome3.bijiben"; };
18
};
19
20
doCheck = true;
21
22
-
patches = [
23
-
./no-update-icon-cache.patch
24
-
];
25
-
26
postPatch = ''
27
-
chmod +x meson_post_install.py
28
-
patchShebangs meson_post_install.py
29
'';
30
-
31
-
propagatedUserEnvPkgs = [ gnome3.gnome-themes-standard ];
32
33
nativeBuildInputs = [
34
meson ninja pkgconfig gettext itstool libxml2 desktop-file-utils wrapGAppsHook
35
];
36
-
buildInputs = [ glib clutter-gtk libuuid webkitgtk gnome3.tracker
37
-
gnome3.gnome-online-accounts zeitgeist
38
-
gnome3.gsettings-desktop-schemas
39
-
gdk_pixbuf gnome3.defaultIconTheme librsvg
40
-
evolution-data-server evolution sqlite ];
0
0
0
0
0
0
0
0
41
42
-
enableParallelBuilding = true;
0
0
0
0
0
43
44
meta = with stdenv.lib; {
0
45
homepage = https://wiki.gnome.org/Apps/Bijiben;
46
-
description = "Note editor designed to remain simple to use";
47
maintainers = gnome3.maintainers;
48
-
license = licenses.gpl3;
49
platforms = platforms.linux;
50
};
51
}
···
1
+
{ stdenv, meson, ninja, gettext, fetchurl, pkgconfig
0
2
, wrapGAppsHook, itstool, desktop-file-utils
3
+
, glib, gtk3, evolution-data-server
4
+
, libuuid, webkitgtk, zeitgeist
5
+
, gnome3, libxml2 }:
6
7
+
let
8
+
version = "3.28.0";
9
+
in stdenv.mkDerivation rec {
10
name = "bijiben-${version}";
0
11
12
src = fetchurl {
13
url = "mirror://gnome/sources/bijiben/${gnome3.versionBranch version}/${name}.tar.xz";
14
+
sha256 = "047w8kigrdmphd17dma2lldf6r60sgx3zybai9bz9yr0hm601kr6";
0
0
0
0
15
};
16
17
doCheck = true;
18
0
0
0
0
19
postPatch = ''
20
+
chmod +x build-aux/meson_post_install.py
21
+
patchShebangs build-aux/meson_post_install.py
22
'';
0
0
23
24
nativeBuildInputs = [
25
meson ninja pkgconfig gettext itstool libxml2 desktop-file-utils wrapGAppsHook
26
];
27
+
28
+
buildInputs = [
29
+
glib gtk3 libuuid webkitgtk gnome3.tracker
30
+
gnome3.gnome-online-accounts zeitgeist
31
+
gnome3.gsettings-desktop-schemas
32
+
evolution-data-server
33
+
gnome3.defaultIconTheme
34
+
];
35
+
36
+
mesonFlags = [
37
+
"-Dzeitgeist=true"
38
+
"-Dupdate_mimedb=false"
39
+
];
40
41
+
passthru = {
42
+
updateScript = gnome3.updateScript {
43
+
packageName = "bijiben";
44
+
attrPath = "gnome3.bijiben";
45
+
};
46
+
};
47
48
meta = with stdenv.lib; {
49
+
description = "Note editor designed to remain simple to use";
50
homepage = https://wiki.gnome.org/Apps/Bijiben;
51
+
license = licenses.gpl3;
52
maintainers = gnome3.maintainers;
0
53
platforms = platforms.linux;
54
};
55
}
-22
pkgs/desktops/gnome-3/apps/bijiben/no-update-icon-cache.patch
···
1
-
--- a/meson_post_install.py
2
-
+++ b/meson_post_install.py
3
-
@@ -7,10 +7,6 @@
4
-
if not os.environ.get('DESTDIR'):
5
-
datadir = sys.argv[1]
6
-
7
-
- icondir = os.path.join(datadir, 'icons', 'hicolor')
8
-
- print('Update icon cache...')
9
-
- subprocess.call(['gtk-update-icon-cache', '-f', '-t', icondir])
10
-
-
11
-
schemadir = os.path.join(datadir, 'glib-2.0', 'schemas')
12
-
print('Compile gsettings schemas...')
13
-
subprocess.call(['glib-compile-schemas', schemadir])
14
-
@@ -18,8 +14,3 @@
15
-
desktop_file = os.path.join(datadir, 'applications', 'org.gnome.bijiben.desktop')
16
-
print('Validate desktop file...')
17
-
subprocess.call(['desktop-file-validate', desktop_file])
18
-
-
19
-
- if sys.argv[2] == 'update-mimedb':
20
-
- mimedir = os.path.join(datadir, 'mime')
21
-
- print('Update mime database...')
22
-
- subprocess.call(['update-mime-database', mimedir])
···
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0