ooo-build r11931 - in trunk: . bin desktop man



Author: pmladek
Date: Tue Mar 18 13:25:05 2008
New Revision: 11931
URL: http://svn.gnome.org/viewvc/ooo-build?rev=11931&view=rev

Log:
2008-03-18  Petr Mladek  <pmladek suse cz>

	* bin/package-ooo, desktop/ooo-extension-manager.desktop.in.in:
	* desktop/openoffice.xml, man/oounopkg.1.in, man/Makefile.am:
	  create new wrapper /usr/bin/oounopkg; associate the .oxt extensions
	  with it; The MIME is application/vnd.openofficeorg.extension
	  according to the upstream share/xdg/extension.desktop

	* man/openoffice.1_SUSE.in, man/openoffice.1.in: update version info
	  and the section about reporting bugs; FIXME: I am not sure if
	  bugzilla.novell.com is the right default place for GoOOo bugs



Added:
   trunk/desktop/ooo-extension-manager.desktop.in.in
   trunk/man/oounopkg.1.in
Modified:
   trunk/ChangeLog
   trunk/bin/package-ooo
   trunk/desktop/openoffice.xml
   trunk/man/Makefile.am
   trunk/man/openoffice.1.in
   trunk/man/openoffice.1_SUSE.in

Modified: trunk/bin/package-ooo
==============================================================================
--- trunk/bin/package-ooo	(original)
+++ trunk/bin/package-ooo	Tue Mar 18 13:25:05 2008
@@ -38,6 +38,15 @@
     chmod 755 $1
 }
 
+create_unopkg_wrapper()
+{
+    cat <<EOT >$1
+#!/bin/sh
+$OOINSTBASE/program/unopkg "\$@"
+EOT
+    chmod 755 $1
+}
+
 install_script()
 {
     cp -f $1 $2
@@ -53,6 +62,7 @@
 done
 create_qstart_wrapper "$PREFIX/bin/oofromtemplate${BINSUFFIX}" "slot:5500" || exit 1;
 create_qstart_wrapper "$PREFIX/bin/ooffice${BINSUFFIX}" "" || exit 1;
+create_unopkg_wrapper "$PREFIX/bin/oounopkg${BINSUFFIX}" "" || exit 1;
 if test "z$VENDORNAME" = "zNovell" -o "z$VENDORNAME" = "zPLD" \
     -o "z$VENDORNAME" = "zDebian" \
     -o "z$VENDORNAME" = "zMandriva"; then
@@ -91,15 +101,18 @@
 
 if test "z$VENDORNAME" != "zRedHat"; then
 	mkdir -p $MANDIR/man1
-	echo "Generating man page ...";
+	echo "Generating man pages ...";
+	# openoffice
 	man_page_in=$TOOLSDIR/man/openoffice.1.in
 	# use the distro specific man page if available
 	if test -f $TOOLSDIR/man/openoffice.1_${DISTRO%%-*}.in ; then
 	    man_page_in=$TOOLSDIR/man/openoffice.1_${DISTRO%%-*}.in
 	fi
 	sed -e "s|@BINSUFFIX@|$BINSUFFIX|g" $man_page_in \
-		>| "$OOBUILDDIR/openoffice$BINSUFFIX.1" || exit 1;
-	cp -f $OOBUILDDIR/openoffice$BINSUFFIX.1 $MANDIR/man1
+		>| "$MANDIR/man1/openoffice$BINSUFFIX.1" || exit 1;
+	# oounopkg
+	sed -e "s|@BINSUFFIX@|$BINSUFFIX|g" $TOOLSDIR/man/oounopkg.1.in \
+		>| "$MANDIR/man1/oounopkg$BINSUFFIX.1" || exit 1;
 fi
 
 mkdir -p $OOINSTDIR/program

Added: trunk/desktop/ooo-extension-manager.desktop.in.in
==============================================================================
--- (empty file)
+++ trunk/desktop/ooo-extension-manager.desktop.in.in	Tue Mar 18 13:25:05 2008
@@ -0,0 +1,14 @@
+[Desktop Entry]
+X-SuSE-translate=false
+Version=1.0
+Terminal=false
+TryExec=oounopkg OOO_BINSUFFIX@
+Exec=oounopkg OOO_BINSUFFIX@ gui %U
+NoDisplay=true
+Type=Application
+StartupNotify=false
+Categories=X-SuSE-Core-Office;Office;
+MimeType=application/vnd.openofficeorg.extension;
+Name=OpenOffice.org Extension Manager
+GenericName=Extension Manager
+Comment=Add and organize the OpenOffice.org extensions.

Modified: trunk/desktop/openoffice.xml
==============================================================================
--- trunk/desktop/openoffice.xml	(original)
+++ trunk/desktop/openoffice.xml	Tue Mar 18 13:25:05 2008
@@ -158,4 +158,7 @@
     <glob pattern="*.wks"/>
     <glob pattern="*.wps"/>
   </mime-type>
+  <mime-type type="application/vnd.openofficeorg.extension">
+    <glob pattern="*.oxt" />
+  </mime-type>
 </mime-info>

Modified: trunk/man/Makefile.am
==============================================================================
--- trunk/man/Makefile.am	(original)
+++ trunk/man/Makefile.am	Tue Mar 18 13:25:05 2008
@@ -1 +1 @@
-EXTRA_DIST=openoffice.1.in openoffice.1_*.in
+EXTRA_DIST=openoffice.1.in openoffice.1_*.in oounopkg.1.in

Added: trunk/man/oounopkg.1.in
==============================================================================
--- (empty file)
+++ trunk/man/oounopkg.1.in	Tue Mar 18 13:25:05 2008
@@ -0,0 +1,84 @@
+.TH oounopkg "1" "2008-03-18" "OpenOffice.org Extension Manager" "User Command"
+.SH "Name"
+oounopkg BINSUFFIX@ \- OpenOffice.org Extension Manager
+.SH SYNOPSIS
+.B oounopkg BINSUFFIX@
+[\fBadd\fR] <\fIoptions\fR> \fIextension-path...\fR
+.br
+.B oounopkg BINSUFFIX@
+[\fBremove\fR] <\fIoptions\fR> \fIextension-identifier...\fR
+.br
+.B oounopkg BINSUFFIX@
+[\fBlist\fR] <\fIoptions\fR> \fIextension-identifier...\fR
+.br
+.B oounopkg BINSUFFIX@
+[\fBreinstall\fR] <\fIoptions\fR>
+.br
+.B oounopkg BINSUFFIX@
+[\fBgui\fR]
+.br
+.B oounopkg BINSUFFIX@
+[\fB--help\fR|\fB-h\fR]
+
+.SH DESCRIPTION
+OpenOffice.org is a fully featured office suite for the daily use with all
+features you would normally expect in an office suite.
+
+There exists many OpenOffice.org extensions all over the word. For example, see
+\fBhttp://extensions.go-oo.org/\fR
+
+This tool allows to manage the extensions from the command line.
+
+.SH SUB\-COMMANDS
+.TP
+\fBadd\fR
+add the given extensions
+.TP
+\fBremove\fR
+remove extensions by the given identifiers
+.TP
+\fBreinstall\fR
+reinstall all deployed extensions (only for experts)
+.TP
+\fBlist\fR
+list information about the deployed extensions
+.TP
+\fBgui\fR
+raise Extension Manager Graphical User Interface (GUI)
+
+.SH OPTIONS
+.TP
+\fB\-\-help\fR|\fB\-h\fR
+display help and exit
+.TP
+\fB\-\-version\fR|\fB\-V\fR
+output version information and exit
+.TP
+\fB--verbose\fR|\fB\-v\fR
+verbose output
+.TP
+\fB\-\-force\fR|\fB\-f\fR
+force overwriting existing extensions
+.TP
+\fB\-\-log\-file\fR <\fIfile\fR>
+custom log file; the default one is <cache-dir>/log.txt
+.TP
+\fB\-\-shared\fR|\fB\-f\fR
+operate on the system installation deployment context; use only when no
+concurrent Office process(es) are running! (only for experts)
+.TP
+\fB\-\-deployment\-context\fR <\fIcontext\fR>
+operate on explicit deployment context (only for experts)
+
+
+.SH TROUBLESHOOTING PROBLEMS
+See \fBhttp://en.opensuse.org/Bugs:OOo\fR for more details about how to report
+bugs in OpenOffice.org.
+.SH SEE ALSO
+.BR http://go\-oo.org/
+.br
+.BR http://extensions.go\-oo.org/
+.SH AUTHOR
+This manual page was created by Petr Mladek <pmladek suse cz> for
+the go-oo version of OpenOffice.org, because the original package
+does not have one.

Modified: trunk/man/openoffice.1.in
==============================================================================
--- trunk/man/openoffice.1.in	(original)
+++ trunk/man/openoffice.1.in	Tue Mar 18 13:25:05 2008
@@ -1,4 +1,4 @@
-.TH openoffice "1" "2006-11-15" "OpenOffice.org 2.0.x" "User Commands"
+.TH openoffice "1" "2008-03-18" "OpenOffice.org 2.x" "User Commands"
 .SH "Name"
 openoffice BINSUFFIX@ \- OpenOffice.org office suite
 .SH SYNOPSIS
@@ -167,11 +167,10 @@
 Starts with an empty Writer document.
 
 .SH TROUBLESHOOTING PROBLEMS
-If OOo crashes, you should get a GUI bug reporting tool, please use
-that to file a helpful bug report, or see \fBhttp://go\-ooo.org/hackers\-guide.html\fR
-for more information on debugging OOo.
+See \fBhttp://en.opensuse.org/Bugs:OOo\fR for more details about how to report
+bugs in OpenOffice.org.
 .SH SEE ALSO
-.BR http://go\-ooo.org/
+.BR http://go\-oo.org/
 .SH AUTHOR
 This manual page was created by Rene Engelhard <rene debian org> for
 the Debian GNU/Linux Distribution, because the original package does not have

Modified: trunk/man/openoffice.1_SUSE.in
==============================================================================
--- trunk/man/openoffice.1_SUSE.in	(original)
+++ trunk/man/openoffice.1_SUSE.in	Tue Mar 18 13:25:05 2008
@@ -1,4 +1,4 @@
-.TH ooffice "1" "2006-11-15" "OpenOffice.org 2.0.x" "User Commands"
+.TH ooffice "1" "2008-03-18" "OpenOffice.org 2.x" "User Commands"
 .SH "Name"
 ooffice BINSUFFIX@ \- OpenOffice.org office suite
 .SH SYNOPSIS
@@ -156,11 +156,10 @@
 Starts with an empty Writer document.
 
 .SH TROUBLESHOOTING PROBLEMS
-If OOo crashes, you should get a GUI bug reporting tool, please use
-that to file a helpful bug report, or see \fBhttp://go\-ooo.org/hackers\-guide.html\fR
-for more information on debugging OOo.
+See \fBhttp://en.opensuse.org/Bugs:OOo\fR for more details about how to report
+bugs in OpenOffice.org.
 .SH SEE ALSO
-.BR http://go\-ooo.org/
+.BR http://go\-oo.org/
 .SH AUTHOR
 This manual page was created by Rene Engelhard <rene debian org> for
 the Debian GNU/Linux Distribution, because the original package does not have



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]