Author: ewl-guest Date: 2009-02-28 23:46:49 +0000 (Sat, 28 Feb 2009) New Revision: 8020
Added: trunk/freemind/debian/README.source trunk/freemind/debian/freemind-doc.README.Debian trunk/freemind/debian/freemind-doc.docs Removed: trunk/freemind/debian/freemind.README.Debian trunk/freemind/debian/freemind.TODO trunk/freemind/debian/freemind.docs trunk/freemind/debian/urlsee trunk/freemind/debian/urlsee.sgml Modified: trunk/freemind/debian/changelog trunk/freemind/debian/control trunk/freemind/debian/freemind.desktop trunk/freemind/debian/freemind.install trunk/freemind/debian/freemind.links trunk/freemind/debian/freemind.manpages trunk/freemind/debian/freemind.menu trunk/freemind/debian/patches/03_freemind_sh.patch trunk/freemind/debian/patches/04_freemind_properties.patch trunk/freemind/debian/patches/20_plug_svg.patch trunk/freemind/debian/rules Log: Many changes to bump the version to 0.9.0~rc1 Added: trunk/freemind/debian/README.source =================================================================== --- trunk/freemind/debian/README.source (rev 0) +++ trunk/freemind/debian/README.source 2009-02-28 23:46:49 UTC (rev 8020) @@ -0,0 +1,5 @@ +Use the target get-orig-source from debian/rules to create the source file +within the current directory. The sources will be downloaded from the CVS +repository of FreeMind, so be prepared. + +-- Eric Lavarde <[email protected]>, Sat, 28 Feb 2009 20:37:14 +0100 Modified: trunk/freemind/debian/changelog =================================================================== --- trunk/freemind/debian/changelog 2009-02-28 23:42:48 UTC (rev 8019) +++ trunk/freemind/debian/changelog 2009-02-28 23:46:49 UTC (rev 8020) @@ -1,6 +1,11 @@ freemind (0.9.0~rc1-1) unstable; urgency=low * New upstream version. + * Move FreeMind to "Applications/Office" section in the menu. + * Bump policy version to 3.8.0 (Homepage field, README.source) + * Remove urlsee (replaced simply by xdg-open). + * Move all documentation (.mm, .pdf, .odt) to new freemind-doc package. + * Use OpenJDK to compile, and move the whole thing to main. -- Eric Lavarde <[email protected]> Sun, 22 Feb 2009 17:36:28 +0100 Modified: trunk/freemind/debian/control =================================================================== --- trunk/freemind/debian/control 2009-02-28 23:42:48 UTC (rev 8019) +++ trunk/freemind/debian/control 2009-02-28 23:46:49 UTC (rev 8020) @@ -1,17 +1,18 @@ Source: freemind -Section: contrib/text +Section: editors Priority: optional Maintainer: Debian Java Maintainers <[email protected]> Uploaders: Eric Lavarde <[email protected]> Build-Depends-Indep: docbook-to-man, ant, ant-optional, openjdk-6-jdk, imagemagick, libcommons-lang-java, libbatik-java (>= 1.6), rhino, libforms-java, groovy, libjibx-java, libxsd2jibx-java, simplyhtml Build-Depends: debhelper (>= 5.0), cdbs (>= 0.4.8) -Standards-Version: 3.7.2.2 +Homepage: http://freemind.sourceforge.net/ +Standards-Version: 3.8.0.0 Package: freemind Architecture: all -Depends: openjdk-6-jre | sun-java5-jre | sun-java6-jre | java2-runtime, libcommons-lang-java, libforms-java, libjibx-java, simplyhtml -Recommends: mozilla-browser | www-browser -Suggests: freemind-plugins-help, freemind-plugins-svg, freemind-plugins-script, java-package +Depends: openjdk-6-jre | sun-java5-jre | sun-java6-jre | java2-runtime, libcommons-lang-java, libforms-java, libjibx-java, simplyhtml, ${misc:Depends} +Recommends: freemind-doc, xdg-utils +Suggests: freemind-plugins-help, freemind-plugins-svg, freemind-plugins-script, freemind-browser Conflicts: freemind-plugins-time (<< ${binary:Version}) Replaces: freemind-plugins-time Description: Java Program for creating and viewing Mindmaps @@ -21,14 +22,24 @@ things, just two different descriptions of a single application. Often used for knowledge and content management. . - Home: http://freemind.sourceforge.net/ - (and http://freemind.sourceforge.net/wiki/index.php/FreeMind_on_Linux) - . - Use java-package to create a required Sun/Blackdown Java Runtime package. - FreeMind doesn't work with free (and incomplete) Java implementations. + FreeMind doesn't work with classpath based Java implementations. Use OpenJDK + (or Sun's Java), and check freemind(1) for more information. +Package: freemind-doc +Section: doc +Architecture: all +Depends: ${misc:Depends} +Recommends: evince | openoffice.org-writer | abiword | kword | pdf-viewer +Suggests: freemind +Description: Documentation for FreeMind + This package contains on one hand the FreeMind Documentation Mindmap as + accessed through the menu 'Help -> Documentation', on the other hand the + FreeMind Key Mapping reference, either in PDF (accessible through the menu + 'Help -> Key Documentation PDF') or in OpenDocument format (editable). + Package: freemind-browser Architecture: all +Depends: ${misc:Depends} Recommends: thttpd | httpd Suggests: freemind Description: Java Applet for publishing Mindmaps produced with FreeMind @@ -37,33 +48,27 @@ Package: freemind-plugins-svg Architecture: all -Depends: openjdk-6-jre | sun-java5-jre | sun-java6-jre | java2-runtime, freemind (= ${binary:Version}), libbatik-java (>= 1.6), rhino +Depends: openjdk-6-jre | sun-java5-jre | sun-java6-jre | java2-runtime, freemind (= ${binary:Version}), libbatik-java (>= 1.6), rhino, ${misc:Depends} Description: Java Plugin for FreeMind to export Mindmaps to SVG and PDF This plugin will add two menu points 'File -> Export -> SVG-Export' and 'File -> Export -> PDF-Export'. Package: freemind-plugins-help Architecture: all -Depends: openjdk-6-jre | sun-java5-jre | sun-java6-jre | java2-runtime, freemind (= ${binary:Version}) +Depends: openjdk-6-jre | sun-java5-jre | sun-java6-jre | java2-runtime, freemind (= ${binary:Version}), ${misc:Depends} Description: Java Plugin for FreeMind to show an extended online help This plugin will add a menu point 'Help -> Online Help'. - . - This plugin will only work if you download JavaHelp (non free) from - http://java.sun.com/products/javahelp/ and copy jhall.jar to - /usr/local/share/java. Package: freemind-plugins-script Architecture: all -Depends: openjdk-6-jre | sun-java5-jre | sun-java6-jre | java2-runtime, freemind (= ${binary:Version}), groovy +Depends: openjdk-6-jre | sun-java5-jre | sun-java6-jre | java2-runtime, freemind (= ${binary:Version}), groovy, ${misc:Depends} Description: Java Plugin for FreeMind to add scripting capabilities This plugin will add the menu points 'Tools -> Evaluate' and 'Tools -> Script Editor...'. - . - This feature is rather new and not well documented. Check the README file. #Package: freemind-plugins-collab-jabber #Architecture: all -#Depends: openjdk-6-jre | sun-java5-jre | sun-java6-jre | java2-runtime, freemind (= ${binary:Version}), libcommons-logging-java, libcrimson-java, liboro-java, libgnujaxp-java, libjdom0-java, liblog4j1.2-java +#Depends: openjdk-6-jre | sun-java5-jre | sun-java6-jre | java2-runtime, freemind (= ${binary:Version}), libcommons-logging-java, libcrimson-java, liboro-java, libgnujaxp-java, libjdom0-java, liblog4j1.2-java, ${misc:Depends} #Description: Java Plugin for FreeMind to collaborate over Jabber. # This plugin will add a menu point 'Tools -> Start Collaboration Mode'. # . Copied: trunk/freemind/debian/freemind-doc.README.Debian (from rev 8012, trunk/freemind/debian/freemind.README.Debian) =================================================================== --- trunk/freemind/debian/freemind-doc.README.Debian (rev 0) +++ trunk/freemind/debian/freemind-doc.README.Debian 2009-02-28 23:46:49 UTC (rev 8020) @@ -0,0 +1,7 @@ +freemind for Debian +------------------- + +freemind.mm is the FreeMind help file, itself in FreeMind format. +To read it, start FreeMind and call the menu point 'Help -> Documentation'. + +-- Eric Lavarde <[email protected]>, Sun, 05 Dec 2004 21:14:14 +0100 Property changes on: trunk/freemind/debian/freemind-doc.README.Debian ___________________________________________________________________ Name: svn:mergeinfo + Copied: trunk/freemind/debian/freemind-doc.docs (from rev 8012, trunk/freemind/debian/freemind.docs) =================================================================== --- trunk/freemind/debian/freemind-doc.docs (rev 0) +++ trunk/freemind/debian/freemind-doc.docs 2009-02-28 23:46:49 UTC (rev 8020) @@ -0,0 +1,3 @@ +bin/dist/doc/*.mm +bin/dist/doc/*.pdf +bin/dist/doc/*.odt Property changes on: trunk/freemind/debian/freemind-doc.docs ___________________________________________________________________ Name: svn:mergeinfo + Deleted: trunk/freemind/debian/freemind.README.Debian =================================================================== --- trunk/freemind/debian/freemind.README.Debian 2009-02-28 23:42:48 UTC (rev 8019) +++ trunk/freemind/debian/freemind.README.Debian 2009-02-28 23:46:49 UTC (rev 8020) @@ -1,7 +0,0 @@ -freemind for Debian -------------------- - -freemind.mm is the FreeMind help file, itself in FreeMind format. -To read it, start FreeMind and call the menu point 'Help -> Documentation'. - --- Eric Lavarde <[email protected]>, Sun, 05 Dec 2004 21:14:14 +0100 Deleted: trunk/freemind/debian/freemind.TODO =================================================================== --- trunk/freemind/debian/freemind.TODO 2009-02-28 23:42:48 UTC (rev 8019) +++ trunk/freemind/debian/freemind.TODO 2009-02-28 23:46:49 UTC (rev 8020) @@ -1,12 +0,0 @@ -- find a way to replace freemind-plugins-help through a free alternative - (because javahelp2 is not free). -- migrate FreeMind to a *free* java engine. -- get Debian packages for all jar files coming as binary with freemind: - ./lib/ant/lib/jaxb-api.jar - ./lib/ant/lib/jax-qname.jar - ./lib/ant/lib/jaxb-impl.jar - ./lib/ant/lib/jaxb-libs.jar - ./lib/ant/lib/jaxb-xjc.jar - ./lib/ant/lib/namespace.jar - ./lib/ant/lib/xsdlib.jar - ./plugins/collaboration/jabber/muse.jar Modified: trunk/freemind/debian/freemind.desktop =================================================================== --- trunk/freemind/debian/freemind.desktop 2009-02-28 23:42:48 UTC (rev 8019) +++ trunk/freemind/debian/freemind.desktop 2009-02-28 23:46:49 UTC (rev 8020) @@ -2,7 +2,6 @@ Version=1.0 Encoding=UTF-8 Name=FreeMind -Comment= Exec=/usr/bin/freemind Terminal=false Icon=/usr/share/pixmaps/FreeMindWindowIcon.xpm @@ -11,4 +10,3 @@ Categories=Application;Office; GenericName=FreeMind Comment=A free mind mapping tool - Deleted: trunk/freemind/debian/freemind.docs =================================================================== --- trunk/freemind/debian/freemind.docs 2009-02-28 23:42:48 UTC (rev 8019) +++ trunk/freemind/debian/freemind.docs 2009-02-28 23:46:49 UTC (rev 8020) @@ -1,3 +0,0 @@ -bin/dist/doc/freemind.mm -bin/dist/doc/freemind_de.mm -bin/dist/doc/freemind_es.mm Modified: trunk/freemind/debian/freemind.install =================================================================== --- trunk/freemind/debian/freemind.install 2009-02-28 23:42:48 UTC (rev 8019) +++ trunk/freemind/debian/freemind.install 2009-02-28 23:46:49 UTC (rev 8020) @@ -5,4 +5,3 @@ freemind/images/FreeMindWindowIcon.xpm usr/share/pixmaps bin/dist/accessories/* usr/share/freemind/accessories debian/freemind.desktop usr/share/applications -debian/urlsee usr/bin Modified: trunk/freemind/debian/freemind.links =================================================================== --- trunk/freemind/debian/freemind.links 2009-02-28 23:42:48 UTC (rev 8019) +++ trunk/freemind/debian/freemind.links 2009-02-28 23:46:49 UTC (rev 8020) @@ -1,2 +1,4 @@ usr/share/freemind/freemind.sh usr/bin/freemind usr/share/freemind/lib/freemind.jar usr/share/java/freemind-0.9.0.jar +usr/share/doc/freemind-doc/ usr/share/freemind/doc +usr/share/doc/freemind-browser/browser/ usr/share/freemind/browser Modified: trunk/freemind/debian/freemind.manpages =================================================================== --- trunk/freemind/debian/freemind.manpages 2009-02-28 23:42:48 UTC (rev 8019) +++ trunk/freemind/debian/freemind.manpages 2009-02-28 23:46:49 UTC (rev 8020) @@ -1,2 +1 @@ freemind.1 -urlsee.1 Modified: trunk/freemind/debian/freemind.menu =================================================================== --- trunk/freemind/debian/freemind.menu 2009-02-28 23:42:48 UTC (rev 8019) +++ trunk/freemind/debian/freemind.menu 2009-02-28 23:46:49 UTC (rev 8020) @@ -1,3 +1,3 @@ -?package(freemind):needs="X11" section="Apps/Text"\ +?package(freemind):needs="X11" section="Applications/Office"\ icon="/usr/share/pixmaps/FreeMindWindowIcon.xpm"\ title="FreeMind" command="/usr/bin/freemind" Modified: trunk/freemind/debian/patches/03_freemind_sh.patch =================================================================== --- trunk/freemind/debian/patches/03_freemind_sh.patch 2009-02-28 23:42:48 UTC (rev 8019) +++ trunk/freemind/debian/patches/03_freemind_sh.patch 2009-02-28 23:46:49 UTC (rev 8020) @@ -1,7 +1,19 @@ -diff -Nur freemind-0.9.0~beta9/freemind/freemind.sh freemind-0.9.0~beta9.new/freemind/freemind.sh ---- freemind-0.9.0~beta9/freemind/freemind.sh 2006-10-29 21:31:53.000000000 +0100 -+++ freemind-0.9.0~beta9.new/freemind/freemind.sh 2007-03-23 18:24:55.000000000 +0100 -@@ -79,7 +79,8 @@ +diff -Nur -x '*.orig' -x '*~' freemind-0.9.0~rc1/freemind/freemind.sh freemind-0.9.0~rc1.new/freemind/freemind.sh +--- freemind-0.9.0~rc1/freemind/freemind.sh 2008-05-21 21:15:18.000000000 +0200 ++++ freemind-0.9.0~rc1.new/freemind/freemind.sh 2009-02-28 22:04:38.000000000 +0100 +@@ -77,9 +77,9 @@ + then + "$JAVACMD" -version >&2 + fi +- if (! "${JAVACMD}" -version 2>&1 | grep -qe 'Java(TM)') ++ if (! "${JAVACMD}" -version 2>&1 | grep -qe 'Java(TM)' -e 'OpenJDK') + then +- _error "Your Java is not a derivative from Sun's code," \ ++ _error "Your Java is not deemed to be fully compatible," \ + "=======================================" \ + "FREEMIND WILL MOST PROBABLY *NOT* WORK," \ + "=======================================" \ +@@ -92,7 +92,8 @@ return 0 else _error "Couldn't find a java virtual machine," \ @@ -11,7 +23,7 @@ return 1 fi } -@@ -169,11 +170,13 @@ +@@ -194,11 +195,13 @@ # you want to add a new Look&Feel jar (the motif one is so ugly...). # CLASSPATH="${ADD_JARS}:${CLASSPATH}:${freedir}/lib/freemind.jar:\ @@ -27,5 +39,5 @@ +/usr/share/java/commons-lang.jar:\ +/usr/share/java/forms.jar:\ ${freedir}" - _debug "Calling: '${JAVACMD} -Dfreemind.base.dir=${freedir} -cp ${CLASSPATH} freemind.main.FreeMindStarter $@'." - "${JAVACMD}" -Dfreemind.base.dir="${freedir}" -cp "${CLASSPATH}" freemind.main.FreeMindStarter "$@" + if [ "${JAVA_TYPE}" = "sun" ] + then Modified: trunk/freemind/debian/patches/04_freemind_properties.patch =================================================================== --- trunk/freemind/debian/patches/04_freemind_properties.patch 2009-02-28 23:42:48 UTC (rev 8019) +++ trunk/freemind/debian/patches/04_freemind_properties.patch 2009-02-28 23:46:49 UTC (rev 8020) @@ -1,6 +1,6 @@ -diff -Nur -x '*.orig' -x '*~' freemind-0.9.0~rc1/freemind/freemind.properties freemind-0.9.0~rc1.new/freemind/freemind.properties ---- freemind-0.9.0~rc1/freemind/freemind.properties 2008-12-14 22:05:29.000000000 +0100 -+++ freemind-0.9.0~rc1.new/freemind/freemind.properties 2009-02-22 20:01:56.000000000 +0100 +diff -Nur -x '*.orig' -x '*~' freemind-0.9.0~rc1.obsolete.0.852600127299414/freemind/freemind.properties freemind-0.9.0~rc1.obsolete.0.852600127299414.new/freemind/freemind.properties +--- freemind-0.9.0~rc1.obsolete.0.852600127299414/freemind/freemind.properties 2008-12-14 22:05:29.000000000 +0100 ++++ freemind-0.9.0~rc1.obsolete.0.852600127299414.new/freemind/freemind.properties 2009-02-28 22:48:19.000000000 +0100 @@ -1,53 +1,557 @@ -#/*$Id: freemind.properties,v 1.36.14.16.2.64 2008/12/14 21:05:29 christianfoltin Exp $*/ -*- mode:sh -*- #This is the language that should be used in the program. "automatic" tries to load the current user's language. @@ -457,8 +457,8 @@ +links = relative + +#The URL of the documentation mindmap (.mm) -+docmapurl = file:/usr/share/doc/freemind/freemind.mm -+docmapurl_since_version_0_7_0 = file:/usr/share/doc/freemind/freemind.mm ++docmapurl = ./doc/freemind.mm ++docmapurl_since_version_0_7_0 = ./doc/freemind.mm + +#This is a hash that maps endings of files to programs which should be used to open them. +#It is only used by the application,not by the applet. @@ -653,7 +653,7 @@ +# The Browse Mode +# +#The URL of the map that is loaded when browsemode starts up -+browsemode_initial_map = file:/usr/share/doc/freemind/freemind.mm ++browsemode_initial_map = ./doc/freemind.mm +# +# The default browser setting +# @@ -675,7 +675,7 @@ +# Here the default browser for other operating systems goes: +# +# other is typically Linux: -+default_browser_command_other_os = xdg-open {0} ++default_browser_command_other_os = xdg-open "{0}" +# +# and MAC: (thanks to Nick!) +#default_browser_command_mac = open -a /Applications/Safari.app {0} Modified: trunk/freemind/debian/patches/20_plug_svg.patch =================================================================== --- trunk/freemind/debian/patches/20_plug_svg.patch 2009-02-28 23:42:48 UTC (rev 8019) +++ trunk/freemind/debian/patches/20_plug_svg.patch 2009-02-28 23:46:49 UTC (rev 8020) @@ -1,6 +1,6 @@ --- freemind-0.8.0/freemind/plugins/ExportSvg.xml 2005-10-22 15:07:23.000000000 +0000 +++ ExportSvg.xml 2005-10-22 15:07:04.000000000 +0000 -@@ -1,27 +1,15 @@ +@@ -1,27 +1,16 @@ <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <plugin label="plugins/ExportPdf"> <plugin_classpath jar="svg/svg_plugin.jar"/> Modified: trunk/freemind/debian/rules =================================================================== --- trunk/freemind/debian/rules 2009-02-28 23:42:48 UTC (rev 8019) +++ trunk/freemind/debian/rules 2009-02-28 23:46:49 UTC (rev 8020) @@ -13,17 +13,20 @@ DEB_JARS := ant-antlr ant-apache-bcel ant-apache-bsf ant-apache-log4j ant-apache-oro ant-apache-regexp ant-commons-logging ant-javamail ant-jdepend ant-nodeps ant-swing ant-jmf ant-apache-resolver ant-commons-net ant-jsch ant-junit ant-trax DEB_ANT_BUILD_TARGET := dist doc browser DEB_BUILDDIR := freemind -DEB_COMPRESS_EXCLUDE := .mm +DEB_COMPRESS_EXCLUDE := .mm .pdf +DEB_INSTALL_DOCS_ALL = -Xlicense build: /usr/bin/docbook-to-man debian/freemind.sgml > freemind.1 - /usr/bin/docbook-to-man debian/urlsee.sgml > urlsee.1 # chmod +x bin/dist/freemind.sh # seems to be unnecessary convert freemind/images/FreeMindWindowIcon.png freemind/images/FreeMindWindowIcon.xpm +binary-install/freemind:: + dh_desktop -pfreemind + clean:: -rm -f freemind/images/FreeMindWindowIcon.xpm - -rm -f urlsee.1 freemind.1 + -rm -f freemind.1 -rmdir bin buildxml-clean:: Deleted: trunk/freemind/debian/urlsee =================================================================== --- trunk/freemind/debian/urlsee 2009-02-28 23:42:48 UTC (rev 8019) +++ trunk/freemind/debian/urlsee 2009-02-28 23:46:49 UTC (rev 8020) @@ -1,133 +0,0 @@ -#!/bin/sh -# Small wrapper script around 'see' and some other commands in order to be -# able to handle URLs. -# Use the environment variables SEECMD, BROWSER, MAILER and FILEMGR -# to control which commands are used per preference respectively for local -# files, remote URLs, mailto URLs or local files URLs (i.e. file:/). -# (c) Eric Lavarde 2005, placed under GPLv2 license - -if [ -n "${DEBUG}" ] -then # due to the fact that FreeMind discards any output. - exec >${TMPDIR:=/tmp}/urlsee.log 2>&1 -fi - -_debug() { - if [ -n "${DEBUG}" ] - then - echo "DEBUG: $1" >&2 - shift - for text in "$@" - do - echo " ${text}" >&2 - done - fi -} - -_error() { - echo "ERROR: $1" >&2 - shift - for text in "$@" - do - echo " ${text}" >&2 - done -} - -try_all_cmds() { - local file cmd - file="$1" - shift - for cmd in "$...@}" - do - cmd=$(which "${cmd}") - if [ -x "${cmd}" ] - then - _debug "CALLING ${cmd}" "${file}" - exec "${cmd}" "${file}" - fi - done -} - -if [ -z "$1" ] -then - _error "Parameter missing." "Usage: $0 <URL or filename>" - exit 1 -else - FILENAME="$1" -fi - -### we start with the most generic and portable possibility ### -if [ -x $(which xdg-open) ] -then - _debug "exec xdg-open ${FILENAME}" - exec xdg-open "${FILENAME}" -fi - -### if this wasn't possible, we try with desktop specific commands ### - -# try KDE with kfmclient -if [ "${DESKTOP_SESSION}" = "kde" ] && [ -x $(which kfmclient) ] -then - _debug "CALLING KDE kfmclient exec ${FILENAME}" - exec kfmclient exec "${FILENAME}" -fi - -# try GNOME with gnome-open -if [ "${DESKTOP_SESSION}" = "gnome" ] && [ -x $(which gnome-open) ] -then - _debug "CALLING GNOME gnome-open ${FILENAME}" - exec gnome-open "${FILENAME}" -fi - -# try XFce with exo-open -if [ "${DESKTOP_SESSION}" = "xfc4" ] && [ -x $(which exo-open) ] -then - _debug "CALLING XFce4 exo-open ${FILENAME}" - exec exo-open "${FILENAME}" -fi - -### Looks like we're not using one of the standard desktops, ### -### so we just try the same commands without caring for env. ### -try_all_cmds "${FILENAME}" gnome-open exo-open -if [ -x $(which kfmclient) ] -then # we can't use try_all_cmds because we have 2 parameters - _debug "CALLING kfmclient exec ${FILENAME}" - exec kfmclient exec "${FILENAME}" -fi - -### And now, we need to go the messy way ### -### I might remove this part in the future ### -_debug "Going for the messy path, it might fail..." - -HTTPNAME=${FILENAME#*://} # covers all kind of url protocol -MAILNAME=${FILENAME#mailto:} # covers only mailto addresses -LOCALNAME=${FILENAME#file:/} # covers only local files URL -if [ "${FILENAME}" != "${HTTPNAME}" ] && [ "${FILENAME}" = "${LOCALNAME}" ] \ - && [ "${FILENAME}" = "${MAILNAME}" ] -then # FILENAME did start with an URL protocol not equal to file: or mailto: - try_all_cmds "${FILENAME}" ${BROWSER} sensible-browser \ - mozilla konqueror galeon firefox - _error "No browser could be found. Exiting." - exit 1 -fi - -if [ "${FILENAME}" != "${MAILNAME}" ] -then # FILENAME did start with mailto: - try_all_cmds "${FILENAME}" ${MAILER} mozilla konqueror thunderbird - _error "No mailer could be found. Exiting." - exit 1 -fi - -if [ "${LOCALNAME}" != "${FILENAME}" ] -then # FILENAME did start with file:/ # %20 is the URL expression of blanks - LOCALNAME=$(echo "/${LOCALNAME}" | sed 's/%20/ /g') -fi - -# first try commands that work best with local names -try_all_cmds "${LOCALNAME}" ${SEECMD} see - -# then try commands that work best with file:/ names -try_all_cmds "${FILENAME}" ${FILEMGR} konqueror nautilus \ - ${BROWSER} sensible-browser mozilla galeon firefox - -_error "No file manager could be found. Exiting." -exit 1 Deleted: trunk/freemind/debian/urlsee.sgml =================================================================== --- trunk/freemind/debian/urlsee.sgml 2009-02-28 23:42:48 UTC (rev 8019) +++ trunk/freemind/debian/urlsee.sgml 2009-02-28 23:46:49 UTC (rev 8020) @@ -1,179 +0,0 @@ -<!doctype refentry PUBLIC "-//OASIS//DTD DocBook V4.1//EN" [ - -<!-- Process this file with docbook-to-man to generate an nroff manual - page: `docbook-to-man manpage.sgml > manpage.1'. You may view - the manual page with: `docbook-to-man manpage.sgml | nroff -man | - less'. A typical entry in a Makefile or Makefile.am is: - -manpage.1: manpage.sgml - docbook-to-man $< > $@ - - - The docbook-to-man binary is found in the docbook-to-man package. - Please remember that if you create the nroff version in one of the - debian/rules file targets (such as build), you will need to include - docbook-to-man in your Build-Depends control field. - - --> - - <!-- Fill in your name for FIRSTNAME and SURNAME. --> - <!ENTITY dhfirstname "<firstname>Eric</firstname>"> - <!ENTITY dhsurname "<surname>Lavarde</surname>"> - <!-- Please adjust the date whenever revising the manpage. --> - <!ENTITY dhdate "<date>2005-03-15</date>"> - <!-- SECTION should be 1-8, maybe w/ subsection other parameters are - allowed: see man(7), man(1). --> - <!ENTITY dhsection "<manvolnum>1</manvolnum>"> - <!ENTITY dhemail "<email>[email protected]</email>"> - <!ENTITY dhusername "Eric Lavarde"> - <!ENTITY dhucpackage "<refentrytitle>URLSEE</refentrytitle>"> - <!ENTITY dhpackage "urlsee"> - - <!ENTITY debian "<productname>Debian</productname>"> - <!ENTITY gnu "<acronym>GNU</acronym>"> - <!ENTITY gpl "&gnu; <acronym>GPL</acronym>"> -]> - -<refentry> - <refentryinfo> - <address> - &dhemail; - </address> - <author> - &dhfirstname; - &dhsurname; - </author> - <copyright> - <year>2005</year> - <holder>&dhusername;</holder> - </copyright> - &dhdate; - </refentryinfo> - <refmeta> - &dhucpackage; - - &dhsection; - </refmeta> - <refnamediv> - <refname>&dhpackage;</refname> - - <refpurpose>program to handle URLs and filenames</refpurpose> - </refnamediv> - <refsynopsisdiv> - <cmdsynopsis> - <command>&dhpackage;</command> - - <arg><replaceable>file or url</replaceable></arg> - - </cmdsynopsis> - </refsynopsisdiv> - <refsect1> - <title>DESCRIPTION</title> - - <para>This manual page documents briefly the - <command>&dhpackage;</command> - command.</para> - - <para>As the name suggests, <command>&dhpackage;</command> is a program - meant to teach URL handling to the <application>see</application> - program. Depending on the kind of URL, <command>&dhpackage;</command> - will try to use other commands to find a way to show the file or URL given - as parameter. Using environment variables, you can define which command - should be used for which kind of file or URL. - </para> - - </refsect1> - <refsect1> - <title>OPTIONS</title> - - <para><command>&dhpackage;</command> does only take a path of a file - (absolute or relative) or an URL as unique parameter.</para> - </refsect1> - <refsect1> - <title>ENVIRONMENT VARIABLES</title> - - <variablelist> - <varlistentry> - <term><option>BROWSER</option> - </term> - <listitem> - <para>Command to use if the parameter is an URL which is neither - <command>mailto:</command> nor <command>file:</command>. - Defaults are sensible-browser, mozilla, konqueror, galeon, firefox.</para> - </listitem> - </varlistentry> - <varlistentry> - <term><option>MAILER</option> - </term> - <listitem> - <para>Command to use if the parameter is a - <command>mailto:</command> URL. - Defaults are mozilla, konqueror, thunderbird.</para> - </listitem> - </varlistentry> - <varlistentry> - <term><option>SEECMD</option> - </term> - <listitem> - <para>Command to use if the parameter is a - <command>file:</command> URL or a file path. Such a command will - be called with the parameter stripped of its - <command>file:</command> prefix. - Default is see itself.</para> - </listitem> - </varlistentry> - <varlistentry> - <term><option>FILEMGR</option> - </term> - <listitem> - <para>Command to use if the parameter is a - <command>file:</command> URL or a file path. - Defaults are konqueror, nautilus, and fallbacks are - <command>BROWSER</command> and its defaults.</para> - </listitem> - </varlistentry> - </variablelist> - - </refsect1> - - <refsect1> - <title>SEE ALSO</title> - - <para>freemind(1)</para> - - </refsect1> - <refsect1> - <title>AUTHOR</title> - - <para>This manual page was written by &dhusername; &dhemail; for - the &debian; system (but may be used by others). Permission is - granted to copy, distribute and/or modify this document under - the terms of the &gnu; General Public License, Version 2 any - later version published by the Free Software Foundation. - </para> - <para> - On Debian systems, the complete text of the GNU General Public - License can be found in /usr/share/common-licenses/GPL. - </para> - - </refsect1> -</refentry> - -<!-- Keep this comment at the end of the file -Local variables: -mode: sgml -sgml-omittag:t -sgml-shorttag:t -sgml-minimize-attributes:nil -sgml-always-quote-attributes:t -sgml-indent-step:2 -sgml-indent-data:t -sgml-parent-document:nil -sgml-default-dtd-file:nil -sgml-exposed-tags:nil -sgml-local-catalogs:nil -sgml-local-ecat-files:nil -End: ---> - - _______________________________________________ pkg-java-commits mailing list [email protected] http://lists.alioth.debian.org/mailman/listinfo/pkg-java-commits

