summaryrefslogtreecommitdiff
path: root/net/jags
diff options
context:
space:
mode:
Diffstat (limited to 'net/jags')
-rw-r--r--net/jags/Makefile23
-rw-r--r--net/jags/distinfo2
-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.cpp56
-rw-r--r--net/jags/files/patch-src_mainwindow.h15
-rw-r--r--net/jags/pkg-descr8
-rw-r--r--net/jags/pkg-plist71
13 files changed, 0 insertions, 276 deletions
diff --git a/net/jags/Makefile b/net/jags/Makefile
deleted file mode 100644
index 2ce63f28f1e4..000000000000
--- a/net/jags/Makefile
+++ /dev/null
@@ -1,23 +0,0 @@
-# Created by: Patrick Li <pat@databits.net>
-# $FreeBSD$
-
-PORTNAME= jags
-PORTVERSION= 0.22.1
-PORTREVISION= 11
-CATEGORIES= net
-MASTER_SITES= SF/${PORTNAME}/Jags/${PORTNAME}-${PORTVERSION}
-
-MAINTAINER= ports@FreeBSD.org
-COMMENT= JAGS - Just Another GTK+ Samba Client
-
-DEPRECATED= Uses obsolete glib12
-EXPIRATION_DATE= 2018-12-20
-
-CONFLICTS= jags-1.*
-
-USES= gmake samba:run # smbclient
-USE_XORG= xi xext x11
-USE_GNOME= gtk12
-GNU_CONFIGURE= yes
-
-.include <bsd.port.mk>
diff --git a/net/jags/distinfo b/net/jags/distinfo
deleted file mode 100644
index 702779e2cf89..000000000000
--- a/net/jags/distinfo
+++ /dev/null
@@ -1,2 +0,0 @@
-SHA256 (jags-0.22.1.tar.gz) = 96ca815fa1a97c258a6ff8d587fea11d3e2e10875b0596d8d5d5fe081c96f455
-SIZE (jags-0.22.1.tar.gz) = 351518
diff --git a/net/jags/files/patch-src_jagsabout.h b/net/jags/files/patch-src_jagsabout.h
deleted file mode 100644
index 5fc8e81baaec..000000000000
--- a/net/jags/files/patch-src_jagsabout.h
+++ /dev/null
@@ -1,9 +0,0 @@
---- ./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
deleted file mode 100644
index fd053118316b..000000000000
--- a/net/jags/files/patch-src_jagsmenubar.h
+++ /dev/null
@@ -1,26 +0,0 @@
---- ./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
deleted file mode 100644
index 90b304f19198..000000000000
--- a/net/jags/files/patch-src_jagsmntswindow.h
+++ /dev/null
@@ -1,17 +0,0 @@
---- ./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
deleted file mode 100644
index 6dc1977d22d3..000000000000
--- a/net/jags/files/patch-src_jagsmountwith.h
+++ /dev/null
@@ -1,10 +0,0 @@
---- ./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
deleted file mode 100644
index 02a5196b4f86..000000000000
--- a/net/jags/files/patch-src_jagsmountwithcommand.h
+++ /dev/null
@@ -1,10 +0,0 @@
---- ./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
deleted file mode 100644
index 9052e0ede661..000000000000
--- a/net/jags/files/patch-src_jagsprefsdialog.h
+++ /dev/null
@@ -1,13 +0,0 @@
---- ./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
deleted file mode 100644
index b0c76f0c0fb5..000000000000
--- a/net/jags/files/patch-src_jagssearchdialog.h
+++ /dev/null
@@ -1,16 +0,0 @@
---- ./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
deleted file mode 100644
index 247f72712740..000000000000
--- a/net/jags/files/patch-src_mainwindow.cpp
+++ /dev/null
@@ -1,56 +0,0 @@
---- ./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;
-
-+ if(!parent_tree)
-+ return FALSE;
-
- if (GTK_TREE(parent_tree)->children)
- gtk_tree_remove_items(GTK_TREE(parent_tree),
-@@ -349,11 +351,15 @@
-
- while (glist->next) {
- //---get the string width in pixels----------------------------------
-- h = gdk_string_width(style->font, "DDDDDDDDDDDDDDDDD") -
-- gdk_string_width(style->font, (gchar *)glist->next->data);
-- h /= gdk_string_width(style->font, "D");
-+ if(style) {
-+ h = gdk_string_width(style->font, "DDDDDDDDDDDDDDDDD") -
-+ gdk_string_width(style->font, (gchar *)glist->next->data);
-+ h /= gdk_string_width(style->font, "D");
-+ comment = g_strnfill(h, 0x20);
-+ } else {
-+ comment = NULL;
-+ }
-
-- comment = g_strnfill(h, 0x20);
- comment2 = g_strescape(g_strconcat((gchar *)glist->next->data, comment,
- (gchar *)glist2->next->data, NULL));
- g_free(comment);
-@@ -414,6 +420,9 @@
- gchar *ShareName = new gchar[100];
- gint h;
-
-+ if(!parent_tree)
-+ return FALSE;
-+
- /* Get the text on this treeitem into "workgroup" */
- item = GTK_TREE(parent_tree)->tree_owner;
- server = g_strdup_printf("%s", gtk_tree_item_get_text(item));
-@@ -478,9 +487,11 @@
- while (glist->next) {
- if (g_strncasecmp((gchar *)glist->next->data, "Error", 5)) {
- g_strdup_printf(ShareName,"%s", (gchar *)glist->next->data);
-- h = gdk_string_width(style->font, "DDDDDDDDDDDDDDDDDDD") -
-- gdk_string_width(style->font, (gchar *)glist->next->data);
-- h /= gdk_string_width(style->font, " ");
-+ if (style) {
-+ h = gdk_string_width(style->font, "DDDDDDDDDDDDDDDDDDD") -
-+ gdk_string_width(style->font, (gchar *)glist->next->data);
-+ h /= gdk_string_width(style->font, " ");
-+ }
- comment = g_strnfill(h, 0x20);
- comment2 = g_strconcat((gchar *)glist->next->data, comment,
- (gchar *)glist3->next->data, NULL);
diff --git a/net/jags/files/patch-src_mainwindow.h b/net/jags/files/patch-src_mainwindow.h
deleted file mode 100644
index def2783971fb..000000000000
--- a/net/jags/files/patch-src_mainwindow.h
+++ /dev/null
@@ -1,15 +0,0 @@
---- ./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
diff --git a/net/jags/pkg-descr b/net/jags/pkg-descr
deleted file mode 100644
index 846311ae9c6a..000000000000
--- a/net/jags/pkg-descr
+++ /dev/null
@@ -1,8 +0,0 @@
-Jags is a Gtk+ based windows network neighbourhood browser. The
-program parses the output from smbclient ( part of the samba-package
-) and use this to display a graphic view of the network. This
-program does the parsing with help from shell- scripts. This means
-that it's easy to change the functionality of the program and you
-can edit this without touching the source-code.
-
-WWW: http://jags.sourceforge.net
diff --git a/net/jags/pkg-plist b/net/jags/pkg-plist
deleted file mode 100644
index 251443d15e3e..000000000000
--- a/net/jags/pkg-plist
+++ /dev/null
@@ -1,71 +0,0 @@
-bin/jags
-bin/fixsmbcop
-%%DATADIR%%/pixmaps/Makefile.am
-%%DATADIR%%/pixmaps/about.xpm
-%%DATADIR%%/pixmaps/apply.xpm
-%%DATADIR%%/pixmaps/blank.xpm
-%%DATADIR%%/pixmaps/browse.xpm
-%%DATADIR%%/pixmaps/cancel.xpm
-%%DATADIR%%/pixmaps/computer.xpm
-%%DATADIR%%/pixmaps/exit.xpm
-%%DATADIR%%/pixmaps/i-bookmark.xpm
-%%DATADIR%%/pixmaps/ipc.xpm
-%%DATADIR%%/pixmaps/mount.xpm
-%%DATADIR%%/pixmaps/network.xpm
-%%DATADIR%%/pixmaps/new_item.xpm
-%%DATADIR%%/pixmaps/ok.xpm
-%%DATADIR%%/pixmaps/pass.xpm
-%%DATADIR%%/pixmaps/printer.xpm
-%%DATADIR%%/pixmaps/search.xpm
-%%DATADIR%%/pixmaps/settings.xpm
-%%DATADIR%%/pixmaps/smbnet.xpm
-%%DATADIR%%/pixmaps/unmount.xpm
-%%DATADIR%%/plugins/samba-2.0.7.cyrillic.plugin/cat_outfile.sh
-%%DATADIR%%/plugins/samba-2.0.7.cyrillic.plugin/echo.sh
-%%DATADIR%%/plugins/samba-2.0.7.cyrillic.plugin/fetch_master_browser.sh
-%%DATADIR%%/plugins/samba-2.0.7.cyrillic.plugin/fetch_master_browser_remote.sh
-%%DATADIR%%/plugins/samba-2.0.7.cyrillic.plugin/fetch_remote_browser_workgroup.sh
-%%DATADIR%%/plugins/samba-2.0.7.cyrillic.plugin/is_server_online.sh
-%%DATADIR%%/plugins/samba-2.0.7.cyrillic.plugin/list_masterbrowsers.sh
-%%DATADIR%%/plugins/samba-2.0.7.cyrillic.plugin/list_servers.sh
-%%DATADIR%%/plugins/samba-2.0.7.cyrillic.plugin/list_shares_remote.sh
-%%DATADIR%%/plugins/samba-2.0.7.cyrillic.plugin/list_workgroups.sh
-%%DATADIR%%/plugins/samba-2.0.7.cyrillic.plugin/ls_mnts.sh
-%%DATADIR%%/plugins/samba-2.0.7.cyrillic.plugin/ls_mnts_load.sh
-%%DATADIR%%/plugins/samba-2.0.7.cyrillic.plugin/mount_share.sh
-%%DATADIR%%/plugins/samba-2.0.7.cyrillic.plugin/mount_share_remote.sh
-%%DATADIR%%/plugins/samba-2.0.7.cyrillic.plugin/mount_share_with_remote.sh
-%%DATADIR%%/plugins/samba-2.0.7.cyrillic.plugin/search.sh
-%%DATADIR%%/plugins/samba-2.0.7.cyrillic.plugin/umount.sh
-%%DATADIR%%/plugins/samba-2.0.7.plugin/]
-%%DATADIR%%/plugins/samba-2.0.7.plugin/cat_outfile.sh
-%%DATADIR%%/plugins/samba-2.0.7.plugin/echo.sh
-%%DATADIR%%/plugins/samba-2.0.7.plugin/fetch_master_browser.sh
-%%DATADIR%%/plugins/samba-2.0.7.plugin/fetch_master_browser_remote.sh
-%%DATADIR%%/plugins/samba-2.0.7.plugin/fetch_remote_browser_workgroup.sh
-%%DATADIR%%/plugins/samba-2.0.7.plugin/is_server_online.sh
-%%DATADIR%%/plugins/samba-2.0.7.plugin/list_masterbrowsers.sh
-%%DATADIR%%/plugins/samba-2.0.7.plugin/list_servercomments.sh
-%%DATADIR%%/plugins/samba-2.0.7.plugin/list_servers.sh
-%%DATADIR%%/plugins/samba-2.0.7.plugin/list_shares.sh
-%%DATADIR%%/plugins/samba-2.0.7.plugin/list_shares_remote.sh
-%%DATADIR%%/plugins/samba-2.0.7.plugin/list_workgroups.sh
-%%DATADIR%%/plugins/samba-2.0.7.plugin/ls_mnts.sh
-%%DATADIR%%/plugins/samba-2.0.7.plugin/ls_mnts_load.sh
-%%DATADIR%%/plugins/samba-2.0.7.plugin/mount_share.sh
-%%DATADIR%%/plugins/samba-2.0.7.plugin/mount_share_remote.sh
-%%DATADIR%%/plugins/samba-2.0.7.plugin/search.sh
-%%DATADIR%%/plugins/samba-2.0.7.plugin/mount_share_with.sh
-%%DATADIR%%/plugins/samba-2.0.7.plugin/mount_share_with_remote.sh
-%%DATADIR%%/plugins/samba-2.0.7.plugin/umount.sh
-%%DATADIR%%/sounds/apply2.ogg
-%%DATADIR%%/sounds/exit2.ogg
-%%DATADIR%%/sounds/jags2.ogg
-%%DATADIR%%/sounds/nothing2.ogg
-%%DATADIR%%/sounds/password2.ogg
-%%DATADIR%%/sounds/settings2.ogg
-%%DATADIR%%/sounds/share2.ogg
-%%DATADIR%%/sounds/unmall2.ogg
-%%DATADIR%%/jags.conf.sample
-@dir %%DATADIR%%/plugins/freebsd-samba-2.0.7.plugin
-@dir %%DATADIR%%/plugins/offline.plugin