gnome-sharp: 2.24.1 -> 2.24.4

This commit is contained in:
obadz 2018-12-24 23:56:49 +00:00
parent cd46319bdc
commit f7cc6f04b2
2 changed files with 27 additions and 20 deletions

View File

@ -1,11 +0,0 @@
--- a/sample/gnomevfs/Makefile.in 2009-03-03 16:09:52.000000000 +0000
+++ b/sample/gnomevfs/Makefile.in 2014-10-14 13:35:51.020427244 +0100
@@ -218,7 +218,7 @@
@ENABLE_GNOMEVFS_FALSE@EXTRA_TARGETS =
@ENABLE_GNOMEVFS_TRUE@@ENABLE_MONOGETOPTIONS_FALSE@EXTRA_TARGETS =
-@ENABLE_GNOMEVFS_TRUE@@ENABLE_MONOGETOPTIONS_TRUE@EXTRA_TARGETS = TestXfer.exe
+@ENABLE_GNOMEVFS_TRUE@@ENABLE_MONOGETOPTIONS_TRUE@EXTRA_TARGETS =
assemblies = ../../gnomevfs/gnome-vfs-sharp.dll
references = $(GTKSHARP_LIBS) $(addprefix /r:, $(assemblies))
noinst_SCRIPTS = $(TARGETS) $(EXTRA_TARGETS)

View File

@ -1,17 +1,35 @@
{stdenv, fetchurl, pkgconfig, gtk2, mono, gtk-sharp-2_0, gnome2}:
{ stdenv
, lib
, fetchFromGitHub
, pkgconfig
, gtk2
, mono
, gtk-sharp-2_0
, gnome2
, autoconf
, automake
, libtool
, which
}:
stdenv.mkDerivation {
name = "gnome-sharp-2.24.1";
src = fetchurl {
url = http://ftp.gnome.org/pub/gnome/sources/gnome-sharp/2.24/gnome-sharp-2.24.1.tar.gz;
sha256 = "0cfvs7hw67fp0wimskqd0gdfx323gv6hi0c5pf59krnmhdrl6z8p";
stdenv.mkDerivation rec {
name = "gnome-sharp-${version}";
version = "2.24.4";
src = fetchFromGitHub {
owner = "mono";
repo = "gnome-sharp";
rev = "${version}";
sha256 = "15jsm6n0sih0nf3w8vmvik97q7l3imz4vkdzmp9k7bssiz4glj1z";
};
nativeBuildInputs = [ pkgconfig ];
nativeBuildInputs = [ pkgconfig autoconf automake libtool which ];
buildInputs = [ gtk2 mono gtk-sharp-2_0 ]
++ (with gnome2; [ libart_lgpl gnome_vfs libgnome libgnomecanvas libgnomeui]);
++ (with gnome2; [ libart_lgpl gnome_vfs libgnome libgnomecanvas libgnomeui ]);
patches = [ ./Makefile.in.patch ];
preConfigure = ''
./bootstrap-${lib.versions.majorMinor version}
'';
dontStrip = true;