1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-25 00:51:21 +00:00

- Fix build on 10 (clang) [1]

- STAGE-clean

PR:		185419[1]
Submitted by:	Michael Gmelin <freebsd@grem.de>
This commit is contained in:
Pietro Cerutti 2014-01-08 09:19:59 +00:00
parent e15297181b
commit 7665941c75
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=339078
10 changed files with 120 additions and 10 deletions

View File

@ -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>

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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;

View File

@ -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