aboutsummaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorPietro Cerutti <gahr@FreeBSD.org>2014-01-08 09:19:59 +0000
committerPietro Cerutti <gahr@FreeBSD.org>2014-01-08 09:19:59 +0000
commit7665941c752eb7abd8bb13f8c3f5ec162158bb84 (patch)
treecf34ea90b63a8566350085db48b96048efb6957e /net
parente15297181b799597283b9be67b03fc68910c497a (diff)
downloadports-7665941c752eb7abd8bb13f8c3f5ec162158bb84.tar.gz
ports-7665941c752eb7abd8bb13f8c3f5ec162158bb84.zip
Notes
Diffstat (limited to 'net')
-rw-r--r--net/jags/Makefile10
-rw-r--r--net/jags/files/patch-src_jagsabout.h9
-rw-r--r--net/jags/files/patch-src_jagsmenubar.h26
-rw-r--r--net/jags/files/patch-src_jagsmntswindow.h17
-rw-r--r--net/jags/files/patch-src_jagsmountwith.h10
-rw-r--r--net/jags/files/patch-src_jagsmountwithcommand.h10
-rw-r--r--net/jags/files/patch-src_jagsprefsdialog.h13
-rw-r--r--net/jags/files/patch-src_jagssearchdialog.h16
-rw-r--r--net/jags/files/patch-src_mainwindow.cpp4
-rw-r--r--net/jags/files/patch-src_mainwindow.h15
10 files changed, 120 insertions, 10 deletions
diff --git a/net/jags/Makefile b/net/jags/Makefile
index 4fdacce21add..65223f6a961b 100644
--- a/net/jags/Makefile
+++ b/net/jags/Makefile
@@ -16,16 +16,10 @@ SAMBA_PORT?= net/samba36
CONFLICTS= jags-1.*
-USE_GMAKE= yes
+USES= gmake
USE_XORG= xi xext x11
USE_GNOME= gtk12
GNU_CONFIGURE= yes
-
-NO_STAGE= yes
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} >= 700042
CFLAGS+= -ffriend-injection
-.endif
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/net/jags/files/patch-src_jagsabout.h b/net/jags/files/patch-src_jagsabout.h
new file mode 100644
index 000000000000..5fc8e81baaec
--- /dev/null
+++ b/net/jags/files/patch-src_jagsabout.h
@@ -0,0 +1,9 @@
+--- ./src/jagsabout.h.orig 2003-09-04 23:14:54.000000000 +0200
++++ ./src/jagsabout.h 2014-01-08 10:20:11.000000000 +0100
+@@ -42,4 +42,6 @@
+
+ };
+
++gint on_close(GtkWidget *widget, JagsAbout *about);
++
+ #endif
diff --git a/net/jags/files/patch-src_jagsmenubar.h b/net/jags/files/patch-src_jagsmenubar.h
new file mode 100644
index 000000000000..fd053118316b
--- /dev/null
+++ b/net/jags/files/patch-src_jagsmenubar.h
@@ -0,0 +1,26 @@
+--- ./src/jagsmenubar.h.orig 2003-09-04 23:14:54.000000000 +0200
++++ ./src/jagsmenubar.h 2014-01-08 10:20:11.000000000 +0100
+@@ -105,4 +105,23 @@
+
+ };
+
++gint mount_and_browse(GtkMenuItem *item, JagsMenuBar *jmb);
++gint browse(GtkMenuItem *item, JagsMenuBar *jmb);
++gint mount(GtkMenuItem *item, JagsMenuBar *jmb);
++gint mount_with(GtkMenuItem *item, JagsMenuBar *jmb);
++gint mount_with_command(GtkMenuItem *item, JagsMenuBar *jmb);
++gint preferences(GtkMenuItem *item, JagsConfig *conf);
++gint about(GtkMenuItem *item, JagsMenuBar *jmb);
++gint my_search(GtkMenuItem *item, JagsMenuBar *jmb);
++gint umount(GtkMenuItem *item, JagsMenuBar *jmb);
++gint mnts_window(GtkMenuItem *item, JagsMenuBar *jmb);
++gint bookmark_menu(GtkMenuItem *item, JagsMenuBar *jmb);
++gint bookmark_add(GtkMenuItem *item, JagsMenuBar *jmb);
++gint bookmark_edit(GtkMenuItem *item, JagsMenuBar *jmb);
++gint bookmark_selected(GtkMenuItem *item, JagsMenuBar *jmb);
++gint bookmarks_add_edit(GtkMenuItem *item, JagsMenuBar *jmb);
++void bookmarks_radio_local_toggle (GtkWidget *widget, gpointer data);
++gint bookmarks_edit_add_close(GtkWidget *widget, gpointer data);
++gint bookmarks_edit_add_ok(GtkWidget *widget, gpointer data);
++
+ #endif
diff --git a/net/jags/files/patch-src_jagsmntswindow.h b/net/jags/files/patch-src_jagsmntswindow.h
new file mode 100644
index 000000000000..90b304f19198
--- /dev/null
+++ b/net/jags/files/patch-src_jagsmntswindow.h
@@ -0,0 +1,17 @@
+--- ./src/jagsmntswindow.h.orig 2003-09-04 23:14:54.000000000 +0200
++++ ./src/jagsmntswindow.h 2014-01-08 10:20:11.000000000 +0100
+@@ -64,4 +64,14 @@
+
+ };
+
++gint close_mntswindow(GtkWidget *widget, JagsMntsWindow *me);
++gint toggle_automount(GtkWidget *widget, JagsMntsWindow *me);
++gint unmount_share(GtkWidget *widget, JagsMntsWindow *me);
++gint mnts_browse(GtkWidget *widget, JagsMntsWindow *me);
++gint change_mnt_path(GtkWidget *widget, JagsMntsWindow *me);
++void selection_made(GtkWidget *, gint, gint, GdkEventButton *,
++ gpointer, JagsMntsWindow *);
++gint mw_button_press(GtkWidget *widget, GdkEventButton *event,
++ JagsMntsWindow *me);
++
+ #endif
diff --git a/net/jags/files/patch-src_jagsmountwith.h b/net/jags/files/patch-src_jagsmountwith.h
new file mode 100644
index 000000000000..6dc1977d22d3
--- /dev/null
+++ b/net/jags/files/patch-src_jagsmountwith.h
@@ -0,0 +1,10 @@
+--- ./src/jagsmountwith.h.orig 2003-09-04 23:14:54.000000000 +0200
++++ ./src/jagsmountwith.h 2014-01-08 10:20:11.000000000 +0100
+@@ -50,4 +50,7 @@
+ void browse(void);
+ };
+
++gint on_mount_with_ok(GtkWidget *, JagsMountWith *);
++gint on_mount_with_cancel(GtkWidget *, JagsMountWith *);
++
+ #endif
diff --git a/net/jags/files/patch-src_jagsmountwithcommand.h b/net/jags/files/patch-src_jagsmountwithcommand.h
new file mode 100644
index 000000000000..02a5196b4f86
--- /dev/null
+++ b/net/jags/files/patch-src_jagsmountwithcommand.h
@@ -0,0 +1,10 @@
+--- ./src/jagsmountwithcommand.h.orig 2003-09-04 23:14:54.000000000 +0200
++++ ./src/jagsmountwithcommand.h 2014-01-08 10:20:11.000000000 +0100
+@@ -45,5 +45,7 @@
+ ~JagsMountWithCommand();
+ };
+
++gint on_mount_with_command_ok(GtkWidget *, JagsMountWithCommand *);
++gint on_mount_with_command_cancel(GtkWidget *, JagsMountWithCommand *);
+
+ #endif
diff --git a/net/jags/files/patch-src_jagsprefsdialog.h b/net/jags/files/patch-src_jagsprefsdialog.h
new file mode 100644
index 000000000000..9052e0ede661
--- /dev/null
+++ b/net/jags/files/patch-src_jagsprefsdialog.h
@@ -0,0 +1,13 @@
+--- ./src/jagsprefsdialog.h.orig 2003-09-04 23:14:54.000000000 +0200
++++ ./src/jagsprefsdialog.h 2014-01-08 10:20:11.000000000 +0100
+@@ -57,4 +57,10 @@
+ ~JagsPrefsDialog();
+ };
+
++gint onPluginsChanged(GtkWidget *, GdkEvent *, JagsPrefsDialog *pd);
++gint on_cancel(GtkWidget *widget, JagsConfig *conf);
++gint on_apply(GtkWidget *widget, JagsConfig *conf2);
++gint on_close(GtkWidget *widget, JagsConfig *conf);
++void on_toggle_sound(GtkWidget *widget, JagsConfig *conf);
++
+ #endif
diff --git a/net/jags/files/patch-src_jagssearchdialog.h b/net/jags/files/patch-src_jagssearchdialog.h
new file mode 100644
index 000000000000..b0c76f0c0fb5
--- /dev/null
+++ b/net/jags/files/patch-src_jagssearchdialog.h
@@ -0,0 +1,16 @@
+--- ./src/jagssearchdialog.h.orig 2003-09-04 23:14:54.000000000 +0200
++++ ./src/jagssearchdialog.h 2014-01-08 10:20:11.000000000 +0100
+@@ -52,6 +52,13 @@
+ void set_string(gchar *s);
+ };
+
++gint search_clicked(GtkWidget *widget, JagsSearchDialog *me);
++gint on_close(GtkWidget *widget, JagsSearchDialog *me);
++gint onn_collapse(GtkWidget *item, JagsSearchDialog *mw);
++gint expandd_server(GtkWidget *widget, JagsSearchDialog *mw);
++gint onn_share_selected(GtkTree *tree, GtkWidget *widget, gpointer data, JagsSearchDialog *mw);
++gint check_dd_click(GtkWidget *widget, GdkEventButton *event, JagsSearchDialog *mw);
++gint button_presss (GtkWidget *widget, GdkEventButton *event, JagsSearchDialog *mw);
+
+
+ #endif
diff --git a/net/jags/files/patch-src_mainwindow.cpp b/net/jags/files/patch-src_mainwindow.cpp
index 08442e2c35e8..247f72712740 100644
--- a/net/jags/files/patch-src_mainwindow.cpp
+++ b/net/jags/files/patch-src_mainwindow.cpp
@@ -1,5 +1,5 @@
---- src/mainwindow.cpp.orig 2008-09-16 14:27:01.000000000 +0200
-+++ src/mainwindow.cpp 2008-09-16 14:58:48.000000000 +0200
+--- ./src/mainwindow.cpp.orig 2003-09-04 23:14:54.000000000 +0200
++++ ./src/mainwindow.cpp 2014-01-08 10:20:11.000000000 +0100
@@ -299,6 +299,8 @@
gchar *workgroup = NULL, *command = NULL, *comment = NULL, *comment2 = NULL;
gint h;
diff --git a/net/jags/files/patch-src_mainwindow.h b/net/jags/files/patch-src_mainwindow.h
new file mode 100644
index 000000000000..def2783971fb
--- /dev/null
+++ b/net/jags/files/patch-src_mainwindow.h
@@ -0,0 +1,15 @@
+--- ./src/mainwindow.h.orig 2003-09-04 23:14:54.000000000 +0200
++++ ./src/mainwindow.h 2014-01-08 10:20:11.000000000 +0100
+@@ -59,5 +59,12 @@
+
+ gint on_collapse(GtkWidget *item, MainWindow *mw);
+ gint check_server_click(GtkWidget *widget, GdkEventButton *event, MainWindow *mw);
++gint expand_network(GtkWidget *widget, MainWindow *mw);
++gint expand_workgroup(GtkWidget *widget, MainWindow *mw);
++gint expand_server(GtkWidget *widget, GtkTree *root_tree);
++gint on_share_selected(GtkTree *tree, GtkWidget *widget, gpointer data);
++gint on_workgroup_selected(GtkTree *tree, GtkWidget *widget, GtkTree *root_tree);
++gint check_d_click(GtkWidget *widget, GdkEventButton *event, MainWindow *mw);
++gint button_press(GtkWidget *, GdkEventButton *, MainWindow *mw);
+
+ #endif