summaryrefslogtreecommitdiff
path: root/misc/fooseti/patches
diff options
context:
space:
mode:
authorjmmv <jmmv@pkgsrc.org>2002-12-28 15:37:37 +0000
committerjmmv <jmmv@pkgsrc.org>2002-12-28 15:37:37 +0000
commit3f9c32fcdaee37d0562a9fbd8890755085c8d433 (patch)
tree5a20f4cafa67e7bffdb7de8079c2b4ebed8409d2 /misc/fooseti/patches
parentefeb9f788a1f6f3d4c37961161e147a6bc447c31 (diff)
downloadpkgsrc-3f9c32fcdaee37d0562a9fbd8890755085c8d433.tar.gz
Initial import of fooseti, version 0.6.6.
fooseti is a simple frontend for the Seti@home client. It shows the current status of the client in a GTK+ window, allowing to start and stop it when wanted. Note that it does not support account configuration. Provided in PR pkg/19576 by Juan RP, with several changes by me.
Diffstat (limited to 'misc/fooseti/patches')
-rw-r--r--misc/fooseti/patches/patch-aa13
-rw-r--r--misc/fooseti/patches/patch-ab17
2 files changed, 30 insertions, 0 deletions
diff --git a/misc/fooseti/patches/patch-aa b/misc/fooseti/patches/patch-aa
new file mode 100644
index 00000000000..c1eff8dcd0f
--- /dev/null
+++ b/misc/fooseti/patches/patch-aa
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.1.1.1 2002/12/28 15:37:37 jmmv Exp $
+
+--- src/prefs.c.orig Sun Dec 23 17:34:14 2001
++++ src/prefs.c
+@@ -183,7 +183,7 @@ show_prefs()
+ if (seti.client != NULL)
+ gtk_entry_set_text(GTK_ENTRY(client), seti.client);
+ else
+- gtk_entry_set_text(GTK_ENTRY(client), "setiathome");
++ gtk_entry_set_text(GTK_ENTRY(client), PKG_BINDIR "/setiathome");
+
+ if (options.name)
+ gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(name_check), TRUE);
diff --git a/misc/fooseti/patches/patch-ab b/misc/fooseti/patches/patch-ab
new file mode 100644
index 00000000000..257566e596f
--- /dev/null
+++ b/misc/fooseti/patches/patch-ab
@@ -0,0 +1,17 @@
+$NetBSD: patch-ab,v 1.1.1.1 2002/12/28 15:37:37 jmmv Exp $
+
+--- src/fileIO.c.orig Mon Dec 24 02:15:53 2001
++++ src/fileIO.c
+@@ -344,10 +344,10 @@ runClient()
+ show_error(NULLPATH);
+ } // if the path is null
+ else {
+- client = g_strdup_printf("%s/%s", seti.path, seti.client);
++ client = g_strdup_printf("%s", seti.client);
+
+ if(!stat(client, &statBuf)) {
+- command = g_strdup_printf("cd %s ; ./%s %s &", seti.path, seti.client, data.args);
++ command = g_strdup_printf("cd %s ; %s %s &", seti.path, seti.client, data.args);
+ system(command);
+ g_free(command);
+ update();