mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-01 15:11:25 +00:00
artha: fix libgio-2.0 underlinking
This commit is contained in:
parent
6b0d3da79f
commit
9e551aee94
@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, dbus-glib, gtk2, pkgconfig, wordnet }:
|
||||
{ stdenv, autoreconfHook, fetchurl, dbus-glib, gtk2, pkgconfig, wordnet }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "artha-${version}";
|
||||
@ -9,9 +9,13 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "0qr4ihl7ma3cq82xi1fpzvf74mm9vsg0j035xvmcp3r6rmw2fycx";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkgconfig ];
|
||||
nativeBuildInputs = [ autoreconfHook pkgconfig ];
|
||||
buildInputs = [ dbus-glib gtk2 wordnet ];
|
||||
|
||||
patches = [
|
||||
./gio-underlink.patch
|
||||
];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "An offline thesaurus based on WordNet";
|
||||
homepage = http://artha.sourceforge.net;
|
||||
|
13
pkgs/applications/misc/artha/gio-underlink.patch
Normal file
13
pkgs/applications/misc/artha/gio-underlink.patch
Normal file
@ -0,0 +1,13 @@
|
||||
diff --git a/src/Makefile.am b/src/Makefile.am
|
||||
index 0236d72..bcc1182 100644
|
||||
--- a/src/Makefile.am
|
||||
+++ b/src/Makefile.am
|
||||
@@ -38,7 +38,7 @@ artha_LDADD = libwni.a $(WORDNET_LIB)
|
||||
|
||||
if POSIX
|
||||
AM_CFLAGS += @libdbus_CFLAGS@
|
||||
-artha_LDADD += -lX11 -ldbus-1 -ldbus-glib-1 -lgtk-x11-2.0 \
|
||||
+artha_LDADD += -lX11 -ldbus-1 -ldbus-glib-1 -lgio-2.0 -lgtk-x11-2.0 \
|
||||
-lgdk-x11-2.0 -lgmodule-2.0 -lgobject-2.0 -lglib-2.0
|
||||
else
|
||||
artha_LDADD += @GTK_LIBS@
|
Loading…
Reference in New Issue
Block a user