tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
artha: fix libgio-2.0 underlinking
Piotr Bogdan
7 years ago
9e551aee
6b0d3da7
+19
-2
2 changed files
expand all
collapse all
unified
split
pkgs
applications
misc
artha
default.nix
gio-underlink.patch
+6
-2
pkgs/applications/misc/artha/default.nix
···
1
1
-
{ stdenv, fetchurl, dbus-glib, gtk2, pkgconfig, wordnet }:
1
1
+
{ stdenv, autoreconfHook, fetchurl, dbus-glib, gtk2, pkgconfig, wordnet }:
2
2
3
3
stdenv.mkDerivation rec {
4
4
name = "artha-${version}";
···
9
9
sha256 = "0qr4ihl7ma3cq82xi1fpzvf74mm9vsg0j035xvmcp3r6rmw2fycx";
10
10
};
11
11
12
12
-
nativeBuildInputs = [ pkgconfig ];
12
12
+
nativeBuildInputs = [ autoreconfHook pkgconfig ];
13
13
buildInputs = [ dbus-glib gtk2 wordnet ];
14
14
+
15
15
+
patches = [
16
16
+
./gio-underlink.patch
17
17
+
];
14
18
15
19
meta = with stdenv.lib; {
16
20
description = "An offline thesaurus based on WordNet";
+13
pkgs/applications/misc/artha/gio-underlink.patch
···
1
1
+
diff --git a/src/Makefile.am b/src/Makefile.am
2
2
+
index 0236d72..bcc1182 100644
3
3
+
--- a/src/Makefile.am
4
4
+
+++ b/src/Makefile.am
5
5
+
@@ -38,7 +38,7 @@ artha_LDADD = libwni.a $(WORDNET_LIB)
6
6
+
7
7
+
if POSIX
8
8
+
AM_CFLAGS += @libdbus_CFLAGS@
9
9
+
-artha_LDADD += -lX11 -ldbus-1 -ldbus-glib-1 -lgtk-x11-2.0 \
10
10
+
+artha_LDADD += -lX11 -ldbus-1 -ldbus-glib-1 -lgio-2.0 -lgtk-x11-2.0 \
11
11
+
-lgdk-x11-2.0 -lgmodule-2.0 -lgobject-2.0 -lglib-2.0
12
12
+
else
13
13
+
artha_LDADD += @GTK_LIBS@