--- jags-0.22.1.orig/debian/changelog +++ jags-0.22.1/debian/changelog @@ -0,0 +1,90 @@ +jags (0.22.1-2.1build1) hardy; urgency=low + + * Rebuild for libglib1.2 -> libglib1.2ldbl transition. + + -- Luke Yelavich Wed, 05 Dec 2007 11:03:47 +1100 + +jags (0.22.1-2.1) unstable; urgency=low + + * NMU as part of the GCC 4.1 transition. + * Declare friends explicitly (closes: #355325). + + -- Martin Michlmayr Thu, 25 May 2006 17:59:50 +0200 + +jags (0.22.1-2) unstable; urgency=low + + * Upgrade to standards-version 3.6.1 + * Build-depend on debhelper >> 4.0.0; remove dh_testversion from + debian/rules + * Written basic manual page jags.1 + * Refer to common license file in debian/copyright + * Remove upstream INSTALL file from package + * Make scripts /usr/share/jags/plugins/ executable + + -- Remco van de Meent Wed, 4 Aug 2004 13:48:09 +0200 + +jags (0.22.1-1) unstable; urgency=low + + * New upstream release + + -- Remco van de Meent Sun, 28 Mar 2004 15:59:47 +0200 + +jags (0.20.2-2) unstable; urgency=medium + + * No root privileges needed anymore (closes: #145671) + * Delete empty directories after umount (closes: #145677) + * Strip trailing spaces (closes: #145679) + + -- Remco van de Meent Wed, 15 May 2002 18:49:32 +0200 + +jags (0.20.2-1) unstable; urgency=low + + * New upstream release + + -- Remco van de Meent Sun, 15 Jul 2001 18:32:53 +0200 + +jags (0.20.1-1) unstable; urgency=low + + * New upstream release (closes: #103844) + + -- Remco van de Meent Mon, 9 Jul 2001 20:37:06 +0200 + +jags (0.20-1) unstable; urgency=low + + * New upstream release + + -- Remco van de Meent Tue, 22 May 2001 21:59:47 +0200 + +jags (0.19-1) unstable; urgency=low + + * New upstream release + + -- Remco van de Meent Sat, 12 May 2001 23:59:46 +0200 + +jags (0.18.1-1) unstable; urgency=low + + * New upstream release + + -- Remco van de Meent Sat, 5 May 2001 19:59:12 +0200 + +jags (0.18-2) unstable; urgency=low + + * Added automake build-depends (closes: #92764) + + -- Remco van de Meent Wed, 18 Apr 2001 22:40:54 +0200 + +jags (0.18-1) unstable; urgency=low + + * New upstream release + + -- Remco van de Meent Mon, 26 Mar 2001 16:04:54 +0200 + +jags (0.17-1) unstable; urgency=low + + * Initial Release (closes: #88955) + + -- Remco van de Meent Thu, 8 Mar 2001 20:33:33 +0100 + +Local variables: +mode: debian-changelog +End: --- jags-0.22.1.orig/debian/control +++ jags-0.22.1/debian/control @@ -0,0 +1,15 @@ +Source: jags +Section: net +Priority: optional +Maintainer: Remco van de Meent +Build-Depends: debhelper (>> 4.0.0), libgtk1.2-dev, automake +Standards-Version: 3.6.1 + +Package: jags +Architecture: any +Depends: smbclient, samba-common, smbfs, ${shlibs:Depends} +Description: 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. --- jags-0.22.1.orig/debian/copyright +++ jags-0.22.1/debian/copyright @@ -0,0 +1,14 @@ +This package was debianized by Remco van de Meent on +Thu, 8 Mar 2001 20:33:33 +0100. + +It was downloaded from http://sumpan.campus.luth.se/software/jags/ + +Upstream author: Daniel Sundberg + +Copyright: + +GNU GPL + +The full text of the GNU GPL can be found in /usr/share/common-licenses on +Debian systems. + --- jags-0.22.1.orig/debian/dirs +++ jags-0.22.1/debian/dirs @@ -0,0 +1,3 @@ +usr/bin +usr/share/jags +usr/share/man/man1 --- jags-0.22.1.orig/debian/docs +++ jags-0.22.1/debian/docs @@ -0,0 +1,2 @@ +BUGS +TODO --- jags-0.22.1.orig/debian/jags.1 +++ jags-0.22.1/debian/jags.1 @@ -0,0 +1,20 @@ +.TH JAGS 1 +.SH NAME +jags \- Just Another Gnome Samba Client +.SH SYNOPSIS +\fBjags\fP [\-c \fIserver\fR] [\-\-nowindows] [\-h] +.SH DESCRIPTION +\fBjags\fP is Just Another Gtk+ Samba-client. It is a GUI frontend running over Samba and Smbmount using the GTK+ or Gtkmm and Gnomemm toolkits. It's easy to use and very configurable. +.SH OPTIONS +.TP +\fB\-c \fIserver\fR +Server to search for +.TP +\fB\-\-nowindows\fR +Just mount shares in config-file. Do not show Jags main-window. +.TP +\fB\-h\fR, \fB\-\-help\fR +List of options +.SH AUTHOR +\fBjags\fR was written by Daniel Sundberg . This manual page \fBjags\fR(1) was written for the Debian project by Remco van de Meent . + --- jags-0.22.1.orig/debian/rules +++ jags-0.22.1/debian/rules @@ -0,0 +1,91 @@ +#!/usr/bin/make -f +# Sample debian/rules that uses debhelper. +# GNU copyright 1997 to 1999 by Joey Hess. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +# This is the debhelper compatability version to use. +export DH_COMPAT=2 + +configure: configure-stamp +configure-stamp: + dh_testdir + # Add here commands to configure the package. + ./configure --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info + + touch configure-stamp + +build: configure-stamp build-stamp +build-stamp: + dh_testdir + + # Add here commands to compile the package. + $(MAKE) + #/usr/bin/docbook-to-man debian/jags.sgml > jags.1 + + touch build-stamp + +clean: + dh_testdir + dh_testroot + rm -f build-stamp configure-stamp + + # Add here commands to clean up after the build process. + -$(MAKE) distclean + rm -f src/*.o src/plugins/fixsmbcop src/jags src/plugins/*.o + + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + # Add here commands to install the package into debian/jags. + $(MAKE) install prefix=$(CURDIR)/debian/jags/usr PREFIX=$(CURDIR)/debian/jags/usr + + + +# Build architecture-independent files here. +binary-indep: build install +# We have nothing to do by default. + +# Build architecture-dependent files here. +binary-arch: build install + #dh_testversion 2 + dh_testdir + dh_testroot +# dh_installdebconf + dh_installdocs + dh_installexamples + dh_installmenu +# dh_installemacsen +# dh_installpam +# dh_installinit + dh_installcron + dh_installman debian/jags.1 + (cd $(CURDIR)/debian/jags/usr/share/man/man1/ && ln -s jags.1 fixsmbcop.1) + dh_installinfo + dh_undocumented + dh_installchangelogs CHANGES + dh_link + dh_strip + dh_compress + dh_fixperms + find $(CURDIR)/debian/jags/usr/share/jags/plugins -type f -exec chmod +x '{}' ';' + rm -f "$(CURDIR)/debian/jags/usr/share/jags/plugins/samba-2.0.7.plugin/]" + find $(CURDIR)/debian/jags/usr/share/jags/plugins -name echo.sh -exec chmod -x '{}' ';' + # You may want to make some executables suid here. +# dh_suidregister +# dh_makeshlibs + dh_installdeb +# dh_perl + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install configure --- jags-0.22.1.orig/plugins/list_shares.sh +++ jags-0.22.1/plugins/list_shares.sh @@ -12,5 +12,5 @@ if [ -z "$1" ]; then echo "Usage: list_sharess [COMPUTER]" else - smbclient -L $1 -N | cut -b 2-16 | fixsmbcop Sharename --------- _NEWLINE + smbclient -L $1 -N | awk '{print $1}' | fixsmbcop Sharename --------- _NEWLINE fi --- jags-0.22.1.orig/plugins/samba-2.0.7.plugin/list_shares.sh +++ jags-0.22.1/plugins/samba-2.0.7.plugin/list_shares.sh @@ -12,5 +12,5 @@ if [ -z "$1" ]; then echo "Usage: list_shares [COMPUTER]" else - smbclient -L $1 -N | cut -b 2-16 | fixsmbcop Sharename --------- _NEWLINE + smbclient -L $1 -N | awk '{print $1}' | fixsmbcop Sharename --------- _NEWLINE fi --- jags-0.22.1.orig/src/jagsabout.h +++ jags-0.22.1/src/jagsabout.h @@ -31,6 +31,9 @@ #include +class JagsAbout; +gint on_close(GtkWidget *widget, JagsAbout *about); + class JagsAbout { private: --- jags-0.22.1.orig/src/jagsmenubar.h +++ jags-0.22.1/src/jagsmenubar.h @@ -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: --- jags-0.22.1.orig/src/jagsmntswindow.h +++ jags-0.22.1/src/jagsmntswindow.h @@ -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: --- jags-0.22.1.orig/src/jagsmountwith.h +++ jags-0.22.1/src/jagsmountwith.h @@ -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; --- jags-0.22.1.orig/src/jagsprefsdialog.h +++ jags-0.22.1/src/jagsprefsdialog.h @@ -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 */ --- jags-0.22.1.orig/src/jagssearchdialog.h +++ jags-0.22.1/src/jagssearchdialog.h @@ -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; --- jags-0.22.1.orig/src/mainwindow.h +++ jags-0.22.1/src/mainwindow.h @@ -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: