Merge pull request #100463 from jonafato/gnucash-4.2
gnucash: 3.10 -> 4.2
This commit is contained in:
commit
a149c03df8
|
@ -1,12 +0,0 @@
|
|||
Index: gnucash-3.6/gnucash/register/register-gnome/CMakeLists.txt
|
||||
===================================================================
|
||||
--- gnucash-3.6.orig/gnucash/register/register-gnome/CMakeLists.txt
|
||||
+++ gnucash-3.6/gnucash/register/register-gnome/CMakeLists.txt
|
||||
@@ -1,6 +1,7 @@
|
||||
add_subdirectory(test)
|
||||
|
||||
#GTK before 3.14 didn't have GDK_MODIFIER_INTENT_DEFAULT_MOD_MASK
|
||||
+include(CheckSymbolExists)
|
||||
check_symbol_exists(GDK_MODIFIER_INTENT_DEFAULT_MOD_MASK gdk/gdktypes.h have_mod_mask)
|
||||
if (NOT have_mod_mask)
|
||||
if (MAC_INTEGRATION)
|
|
@ -25,11 +25,11 @@ in
|
|||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "gnucash";
|
||||
version = "3.10";
|
||||
version = "4.2";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/gnucash/${pname}-${version}.tar.bz2";
|
||||
sha256 = "05kgg7mhizndwn7icnarqk3c19xrzfawf90y9nb3jdm6fv1741xn";
|
||||
sha256 = "020k1mm909dcgs52ls4v7xx3yn8gqazi9awyr81l6y7pkq1spn2n";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkgconfig makeWrapper cmake gtest ];
|
||||
|
@ -46,8 +46,6 @@ stdenv.mkDerivation rec {
|
|||
# glib-2.62 deprecations
|
||||
NIX_CFLAGS_COMPILE = "-DGLIB_DISABLE_DEPRECATION_WARNINGS";
|
||||
|
||||
patches = [ ./cmake_check_symbol_exists.patch ];
|
||||
|
||||
postPatch = ''
|
||||
patchShebangs .
|
||||
'';
|
||||
|
|
Loading…
Reference in New Issue