Hello community, here is the log from the commit of package xfig checked in at Fri Nov 23 14:14:31 CET 2007. -------- --- xfig/xfig.changes 2007-07-25 12:13:51.000000000 +0200 +++ /mounts/work_src_done/STABLE/xfig/xfig.changes 2007-11-23 12:31:22.478035000 +0100 @@ -1,0 +2,5 @@ +Fri Nov 23 12:30:59 CET 2007 - werner@suse.de + +- Make browser script know about firefox + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ xfig.spec ++++++ --- /var/tmp/diff_new_pack.k24704/_old 2007-11-23 14:14:01.000000000 +0100 +++ /var/tmp/diff_new_pack.k24704/_new 2007-11-23 14:14:01.000000000 +0100 @@ -16,9 +16,9 @@ Group: Productivity/Graphics/Vector Editors Provides: xfig.3.2.3d Requires: transfig netpbm ghostscript-fonts-std -Autoreqprov: on +AutoReqProv: on Version: 3.2.5 -Release: 1 +Release: 42 Summary: Facility for Interactive Generation of Figures under the X Window System Url: http://www.xfig.org/ Source: xfig.%{version}.tar.bz2 @@ -37,7 +37,6 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build %{expand: %%global _exec_prefix %(type -p pkg-config &>/dev/null && pkg-config --variable prefix x11 || echo /usr/X11R6)} %if "%_exec_prefix" == "/usr/X11R6" - %global _mandir %{_exec_prefix}/man %define _x11data %{_exec_prefix}/lib/X11 %define _data $(LIBDIR) @@ -135,6 +134,8 @@ %doc %{_mandir}/man1/xfig.1x.gz %changelog +* Fri Nov 23 2007 - werner@suse.de +- Make browser script know about firefox * Fri Jun 01 2007 - dmueller@suse.de - fix buildrequires * Mon May 07 2007 - werner@suse.de ++++++ browser ++++++ --- xfig/browser 2004-03-11 15:49:40.000000000 +0100 +++ /mounts/work_src_done/STABLE/xfig/browser 2007-11-23 12:59:40.381636000 +0100 @@ -3,21 +3,23 @@ # browser script # # Copyright (c) 2004 SuSE Linux AG, Nuernberg, Germany. -# Copyright (c) 2004 Werner Fink +# Copyright (c) 2007 SuSE LINUX Products GmbH, Nuernberg, Germany +# Copyright (c) 2004, 2007 Werner Fink # # Author: Werner Fink prog="" for p in \ + firefox \ Mozilla \ mozilla \ + konqueror \ + opera \ + amaya \ Netscape \ netscape \ Mosaic \ - mosaic \ - opera \ - konqueror \ - amaya + mosaic do prog=$(type -p $p) && break done @@ -60,8 +62,8 @@ esac done -case "$prog" in -*/[nN]etscape|*/[Mm]ozilla) +case "${prog##*/}" in +[nN]etscape|[Mm]ozilla) ret=0 if test -n "$url" ; then $prog -noraise -remote "xfeDoCommand(openBrowser)" &> /dev/null && \ @@ -72,6 +74,17 @@ ret=$? fi test $ret -eq 0 && exit 0 + ;; +firefox) + ret=0 + if test -n "$url" ; then + $prog -remote "$open($url,new-window)" + ret=$? + elif test -n "$cmd" ; then + echo "${prog##*/} does not support $cmd" + exit 1 + fi + test $ret -eq 0 && exit 0 esac # You are at your own ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org