jags stable port information

Package: jags
Version: 0.22.1
Revision: 1002
GCC: 4.0
Maintainer: None
Source: mirror:sourceforge:%n/%n-%v.tar.bz2
Source-MD5: 7f8a6e0c92aac43268c1fc753ac5a9c0
BuildDepends: glib, gtk+, libgettext8-dev, gettext-bin, gettext-tools, x11-dev
Depends: glib-shlibs, gtk+-shlibs, libgettext8-shlibs, x11
PatchFile: %n.patch
PatchFile-MD5: 32795f3120a0dfb9a543f09b2226dbb2
ConfigureParams: --disable-dependency-tracking
InstallScript: <<
make install prefix=%i
mkdir -p -m 755 %i/lib/%n
install -m 755 upgrade %i/lib/%n
<<
DocFiles: AUTHORS BUGS CHANGES COPYING TODO
Description: Windows Network Neighbourhood browser GUI
DescDetail: <<
Jags - Just Another GTK+ Samba Client

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.
<<
DescUsage: <<
This is jags %v. If you have previously used an older version in this
account, you should run %p/lib/%n/upgrade in order to update your
person jags configs and preference files.
<<
DescPackaging: <<
Originally packaged by Matt Stephenson.
<<
DescPort: <<
Use debian's patch for gcc4.1 (declare friends explicitly).
See: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=355325

Fix #include ordering in jagsmoutwith.cpp so don't get glib1's
hacked NULL definition that is breaks c++ type strictness
<<
License: GPL
Homepage: http://jags.sourceforge.net

jags stable port .patch

diff -Nurd '-x*~' jags-0.22.1.orig/src/jagsabout.h jags-0.22.1/src/jagsabout.h
--- jags-0.22.1.orig/src/jagsabout.h 2003-09-04 17:14:54.000000000 -0400
+++ jags-0.22.1/src/jagsabout.h 2012-02-27 12:25:07.000000000 -0500
@@ -31,6 +31,9 @@

#include

+class JagsAbout;
+gint on_close(GtkWidget *widget, JagsAbout *about);
+
class JagsAbout
{
private:
diff -Nurd '-x*~' jags-0.22.1.orig/src/jagsmenubar.h jags-0.22.1/src/jagsmenubar.h
--- jags-0.22.1.orig/src/jagsmenubar.h 2003-09-04 17:14:54.000000000 -0400
+++ jags-0.22.1/src/jagsmenubar.h 2012-02-27 12:25:07.000000000 -0500
@@ -41,6 +41,26 @@
#include "mount.h"
#include "mainwindow.h"

+class JagsMenuBar;
+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);
+
class JagsMenuBar
{
private:
diff -Nurd '-x*~' jags-0.22.1.orig/src/jagsmntswindow.h jags-0.22.1/src/jagsmntswindow.h
--- jags-0.22.1.orig/src/jagsmntswindow.h 2003-09-04 17:14:54.000000000 -0400
+++ jags-0.22.1/src/jagsmntswindow.h 2012-02-27 12:25:07.000000000 -0500
@@ -36,6 +36,17 @@
#include "jagsconfig.h"
#include "mount.h"

+class JagsMntsWindow;
+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);
+
class JagsMntsWindow
{
private:
diff -Nurd '-x*~' jags-0.22.1.orig/src/jagsmountwith.cpp jags-0.22.1/src/jagsmountwith.cpp
--- jags-0.22.1.orig/src/jagsmountwith.cpp 2003-09-04 17:14:54.000000000 -0400
+++ jags-0.22.1/src/jagsmountwith.cpp 2012-02-27 12:39:46.000000000 -0500
@@ -17,8 +17,8 @@
**
*/

-#include
#include
+#include
#include "jagsmountwith.h"
#include "jagsconfig.h"
#include "gtk_common.h"
diff -Nurd '-x*~' jags-0.22.1.orig/src/jagsmountwith.h jags-0.22.1/src/jagsmountwith.h
--- jags-0.22.1.orig/src/jagsmountwith.h 2003-09-04 17:14:54.000000000 -0400
+++ jags-0.22.1/src/jagsmountwith.h 2012-02-27 12:25:07.000000000 -0500
@@ -37,6 +37,10 @@
#define __JAGSMOUNTWITH_H


+class JagsMountWith;
+gint on_mount_with_ok(GtkWidget *, JagsMountWith *);
+gint on_mount_with_cancel(GtkWidget *, JagsMountWith *);
+
class JagsMountWith {
private:
gchar *server_name, *share_name;
diff -Nurd '-x*~' jags-0.22.1.orig/src/jagsprefsdialog.h jags-0.22.1/src/jagsprefsdialog.h
--- jags-0.22.1.orig/src/jagsprefsdialog.h 2003-09-04 17:14:54.000000000 -0400
+++ jags-0.22.1/src/jagsprefsdialog.h 2012-02-27 12:25:07.000000000 -0500
@@ -36,6 +36,13 @@
#include "jagsconfig.h"


+class 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);
+
class JagsPrefsDialog {
private:
/* Change these to provate again */
diff -Nurd '-x*~' jags-0.22.1.orig/src/jagssearchdialog.h jags-0.22.1/src/jagssearchdialog.h
--- jags-0.22.1.orig/src/jagssearchdialog.h 2003-09-04 17:14:54.000000000 -0400
+++ jags-0.22.1/src/jagssearchdialog.h 2012-02-27 12:25:07.000000000 -0500
@@ -33,6 +33,15 @@
#include "jagsmenubar.h"
#include "mount.h"

+class JagsSearchDialog;
+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);
+
class JagsSearchDialog {
private:
Mount *mnt;
diff -Nurd '-x*~' jags-0.22.1.orig/src/mainwindow.h jags-0.22.1/src/mainwindow.h
--- jags-0.22.1.orig/src/mainwindow.h 2003-09-04 17:14:54.000000000 -0400
+++ jags-0.22.1/src/mainwindow.h 2012-02-27 12:25:07.000000000 -0500
@@ -37,6 +37,15 @@

#include

+class MainWindow;
+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);
+
class MainWindow
{
private:

jags _unstable_ port .patch