gnome3.bijiben: 3.27.1 → 3.28.0
This commit is contained in:
parent
40f9a3e9d2
commit
0e6fc5c4e6
|
@ -1,51 +1,55 @@
|
||||||
{ stdenv, meson, ninja, gettext, fetchurl, pkgconfig, glib
|
{ stdenv, meson, ninja, gettext, fetchurl, pkgconfig
|
||||||
, evolution-data-server, evolution, sqlite
|
|
||||||
, wrapGAppsHook, itstool, desktop-file-utils
|
, wrapGAppsHook, itstool, desktop-file-utils
|
||||||
, clutter-gtk, libuuid, webkitgtk, zeitgeist
|
, glib, gtk3, evolution-data-server
|
||||||
, gnome3, librsvg, gdk_pixbuf, libxml2 }:
|
, libuuid, webkitgtk, zeitgeist
|
||||||
|
, gnome3, libxml2 }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
let
|
||||||
|
version = "3.28.0";
|
||||||
|
in stdenv.mkDerivation rec {
|
||||||
name = "bijiben-${version}";
|
name = "bijiben-${version}";
|
||||||
version = "3.27.1";
|
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://gnome/sources/bijiben/${gnome3.versionBranch version}/${name}.tar.xz";
|
url = "mirror://gnome/sources/bijiben/${gnome3.versionBranch version}/${name}.tar.xz";
|
||||||
sha256 = "7b4623467f3cb745c4b268d6fb2d9da32cbc96ffb5b1bbf2a153b692e295ac64";
|
sha256 = "047w8kigrdmphd17dma2lldf6r60sgx3zybai9bz9yr0hm601kr6";
|
||||||
};
|
|
||||||
|
|
||||||
passthru = {
|
|
||||||
updateScript = gnome3.updateScript { packageName = "bijiben"; attrPath = "gnome3.bijiben"; };
|
|
||||||
};
|
};
|
||||||
|
|
||||||
doCheck = true;
|
doCheck = true;
|
||||||
|
|
||||||
patches = [
|
|
||||||
./no-update-icon-cache.patch
|
|
||||||
];
|
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
chmod +x meson_post_install.py
|
chmod +x build-aux/meson_post_install.py
|
||||||
patchShebangs meson_post_install.py
|
patchShebangs build-aux/meson_post_install.py
|
||||||
'';
|
'';
|
||||||
|
|
||||||
propagatedUserEnvPkgs = [ gnome3.gnome-themes-standard ];
|
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
meson ninja pkgconfig gettext itstool libxml2 desktop-file-utils wrapGAppsHook
|
meson ninja pkgconfig gettext itstool libxml2 desktop-file-utils wrapGAppsHook
|
||||||
];
|
];
|
||||||
buildInputs = [ glib clutter-gtk libuuid webkitgtk gnome3.tracker
|
|
||||||
gnome3.gnome-online-accounts zeitgeist
|
|
||||||
gnome3.gsettings-desktop-schemas
|
|
||||||
gdk_pixbuf gnome3.defaultIconTheme librsvg
|
|
||||||
evolution-data-server evolution sqlite ];
|
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
buildInputs = [
|
||||||
|
glib gtk3 libuuid webkitgtk gnome3.tracker
|
||||||
|
gnome3.gnome-online-accounts zeitgeist
|
||||||
|
gnome3.gsettings-desktop-schemas
|
||||||
|
evolution-data-server
|
||||||
|
gnome3.defaultIconTheme
|
||||||
|
];
|
||||||
|
|
||||||
|
mesonFlags = [
|
||||||
|
"-Dzeitgeist=true"
|
||||||
|
"-Dupdate_mimedb=false"
|
||||||
|
];
|
||||||
|
|
||||||
|
passthru = {
|
||||||
|
updateScript = gnome3.updateScript {
|
||||||
|
packageName = "bijiben";
|
||||||
|
attrPath = "gnome3.bijiben";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
homepage = https://wiki.gnome.org/Apps/Bijiben;
|
|
||||||
description = "Note editor designed to remain simple to use";
|
description = "Note editor designed to remain simple to use";
|
||||||
maintainers = gnome3.maintainers;
|
homepage = https://wiki.gnome.org/Apps/Bijiben;
|
||||||
license = licenses.gpl3;
|
license = licenses.gpl3;
|
||||||
|
maintainers = gnome3.maintainers;
|
||||||
platforms = platforms.linux;
|
platforms = platforms.linux;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,22 +0,0 @@
|
||||||
--- a/meson_post_install.py
|
|
||||||
+++ b/meson_post_install.py
|
|
||||||
@@ -7,10 +7,6 @@
|
|
||||||
if not os.environ.get('DESTDIR'):
|
|
||||||
datadir = sys.argv[1]
|
|
||||||
|
|
||||||
- icondir = os.path.join(datadir, 'icons', 'hicolor')
|
|
||||||
- print('Update icon cache...')
|
|
||||||
- subprocess.call(['gtk-update-icon-cache', '-f', '-t', icondir])
|
|
||||||
-
|
|
||||||
schemadir = os.path.join(datadir, 'glib-2.0', 'schemas')
|
|
||||||
print('Compile gsettings schemas...')
|
|
||||||
subprocess.call(['glib-compile-schemas', schemadir])
|
|
||||||
@@ -18,8 +14,3 @@
|
|
||||||
desktop_file = os.path.join(datadir, 'applications', 'org.gnome.bijiben.desktop')
|
|
||||||
print('Validate desktop file...')
|
|
||||||
subprocess.call(['desktop-file-validate', desktop_file])
|
|
||||||
-
|
|
||||||
- if sys.argv[2] == 'update-mimedb':
|
|
||||||
- mimedir = os.path.join(datadir, 'mime')
|
|
||||||
- print('Update mime database...')
|
|
||||||
- subprocess.call(['update-mime-database', mimedir])
|
|
Loading…
Reference in New Issue