gnome3.gedit: 3.30.2 -> 3.32.0
- port to meson - now require perl at build time - now require itstool - parallal building fails
This commit is contained in:
parent
2cf79a4561
commit
96da79305e
@ -1,28 +1,43 @@
|
|||||||
{ stdenv, intltool, fetchurl
|
{ stdenv, meson, fetchurl, python3
|
||||||
, pkgconfig, gtk3, glib, adwaita-icon-theme
|
, pkgconfig, gtk3, glib, adwaita-icon-theme
|
||||||
, libpeas, gtksourceview, gsettings-desktop-schemas
|
, libpeas, gtksourceview4, gsettings-desktop-schemas
|
||||||
, wrapGAppsHook, itstool, libsoup, libxml2
|
, wrapGAppsHook, ninja, libsoup, libxml2
|
||||||
, gnome3, gspell }:
|
, gnome3, gspell, perl, itstool, desktop-file-utils }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "gedit-${version}";
|
name = "gedit-${version}";
|
||||||
version = "3.30.2";
|
version = "3.32.0";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://gnome/sources/gedit/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
|
url = "mirror://gnome/sources/gedit/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
|
||||||
sha256 = "0qwig35hzvjaqic9x92jcpmycnvcybsbnbiw6rppryx0arwb3wza";
|
sha256 = "1lray9vvbcrnhjv5cr5fc4bqfd68km2x79cj50byyqn9cnlf5qn9";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ pkgconfig wrapGAppsHook intltool itstool libxml2 ];
|
nativeBuildInputs = [
|
||||||
|
pkgconfig wrapGAppsHook meson ninja libxml2
|
||||||
|
python3 perl itstool desktop-file-utils
|
||||||
|
];
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
gtk3 glib
|
gtk3 glib
|
||||||
adwaita-icon-theme libsoup
|
adwaita-icon-theme libsoup
|
||||||
libpeas gtksourceview
|
libpeas gtksourceview4
|
||||||
gsettings-desktop-schemas gspell
|
gsettings-desktop-schemas gspell
|
||||||
];
|
];
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
postPatch = ''
|
||||||
|
chmod +x build-aux/meson/post_install.py
|
||||||
|
chmod +x plugins/externaltools/scripts/gedit-tool-merge.pl
|
||||||
|
patchShebangs build-aux/meson/post_install.py
|
||||||
|
patchShebangs plugins/externaltools/scripts/gedit-tool-merge.pl
|
||||||
|
'';
|
||||||
|
|
||||||
|
mesonFlags = [
|
||||||
|
"--buildtype=plain" # don't require git
|
||||||
|
];
|
||||||
|
|
||||||
|
# Reliably fails to generate gedit-file-browser-enum-types.h in time
|
||||||
|
enableParallelBuilding = false;
|
||||||
|
|
||||||
passthru = {
|
passthru = {
|
||||||
updateScript = gnome3.updateScript {
|
updateScript = gnome3.updateScript {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user