OpenPKG CVS Repository
http://cvs.openpkg.org/
____________________________________________________________________________
Server: cvs.openpkg.org Name: Ralf S. Engelschall
Root: /e/openpkg/cvs Email: [EMAIL PROTECTED]
Module: openpkg-src openpkg-web openpkg$ Date: 12-Oct-2003 12:04:30
Branch: HEAD Handle: 2003101211042702
Added files:
openpkg-re/vcheck vc.mozilla-plugger
openpkg-src/mozilla-plugger
mozilla-plugger.patch mozilla-plugger.spec
mozpluggerrc
Modified files:
openpkg-web news.txt
Log:
new package: mozilla-plugger 1.3.2 (Mozilla Generic Plugin)
Summary:
Revision Changes Path
1.1 +9 -0 openpkg-re/vcheck/vc.mozilla-plugger
1.1 +18 -0 openpkg-src/mozilla-plugger/mozilla-plugger.patch
1.1 +97 -0 openpkg-src/mozilla-plugger/mozilla-plugger.spec
1.1 +48 -0 openpkg-src/mozilla-plugger/mozpluggerrc
1.6971 +1 -0 openpkg-web/news.txt
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-re/vcheck/vc.mozilla-plugger
============================================================================
$ cvs diff -u -r0 -r1.1 vc.mozilla-plugger
--- /dev/null 2003-10-12 12:04:27.000000000 +0200
+++ vc.mozilla-plugger 2003-10-12 12:04:27.000000000 +0200
@@ -0,0 +1,9 @@
+config = {
+}
+
+prog mozilla-plugger = {
+ version = 1.3.2
+ url = http://mozplugger.mozdev.org/
+ regex = mozplugger-(__VER__)\.tar\.gz
+}
+
@@ .
patch -p0 <<'@@ .'
Index: openpkg-src/mozilla-plugger/mozilla-plugger.patch
============================================================================
$ cvs diff -u -r0 -r1.1 mozilla-plugger.patch
--- /dev/null 2003-10-12 12:04:29.000000000 +0200
+++ mozilla-plugger.patch 2003-10-12 12:04:30.000000000 +0200
@@ -0,0 +1,18 @@
+Index: mozplugger.c
+--- mozplugger.c.orig 2003-09-10 05:45:16.000000000 +0200
++++ mozplugger.c 2003-10-12 11:59:19.000000000 +0200
+@@ -490,13 +490,7 @@
+ if (cb(fname, data)) return 1;
+ }
+
+- snprintf(fname, sizeof(fname), "/etc/%s", basename);
+- if (cb(fname, data)) return 1;
+- snprintf(fname, sizeof(fname), "/usr/etc/%s", basename);
+- if (cb(fname, data)) return 1;
+- snprintf(fname, sizeof(fname), "/usr/local/etc/%s", basename);
+- if (cb(fname, data)) return 1;
+- snprintf(fname, sizeof(fname), "/usr/local/netscape/%s", basename);
++ snprintf(fname, sizeof(fname), "@l_prefix@/etc/mozilla-plugger/%s", basename);
+ if (cb(fname, data)) return 1;
+ if (cb(basename, data)) return 1;
+
@@ .
patch -p0 <<'@@ .'
Index: openpkg-src/mozilla-plugger/mozilla-plugger.spec
============================================================================
$ cvs diff -u -r0 -r1.1 mozilla-plugger.spec
--- /dev/null 2003-10-12 12:04:29.000000000 +0200
+++ mozilla-plugger.spec 2003-10-12 12:04:30.000000000 +0200
@@ -0,0 +1,97 @@
+##
+## mozilla-plugger.spec -- OpenPKG RPM Specification
+## Copyright (c) 2000-2003 The OpenPKG Project <http://www.openpkg.org/>
+## Copyright (c) 2000-2003 Ralf S. Engelschall <[EMAIL PROTECTED]>
+## Copyright (c) 2000-2003 Cable & Wireless <http://www.cw.com/>
+##
+## Permission to use, copy, modify, and distribute this software for
+## any purpose with or without fee is hereby granted, provided that
+## the above copyright notice and this permission notice appear in all
+## copies.
+##
+## THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
+## WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+## MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
+## IN NO EVENT SHALL THE AUTHORS AND COPYRIGHT HOLDERS AND THEIR
+## CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+## SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+## LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
+## USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
+## ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
+## OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
+## OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+## SUCH DAMAGE.
+##
+
+# package information
+Name: mozilla-plugger
+Summary: Mozilla Generic Plugin
+URL: http://mozplugger.mozdev.org/
+Vendor: F. Hubinette, L. Bavoil
+Packager: The OpenPKG Project
+Distribution: OpenPKG [EVAL]
+Group: Web
+License: GPL
+Version: 1.3.2
+Release: 20031012
+
+# list of sources
+Source0:
http://mozdev.mirrors.nyphp.org/mozplugger/mozplugger-%{version}.tar.gz
+Source1: mozpluggerrc
+Patch0: mozilla-plugger.patch
+
+# build information
+Prefix: %{l_prefix}
+BuildRoot: %{l_buildroot}
+BuildPreReq: OpenPKG, openpkg >= 20030927, X11, gcc
+PreReq: OpenPKG, openpkg >= 20030927, X11, mozilla
+AutoReq: no
+AutoReqProv: no
+
+%description
+ MozPlugger is a generic Mozilla Plugin which registers itself for
+ handling media files of configured MIME types and file extensions.
+ It then can try to run one or more applications in sequence in order
+ to present the media file, including embedded viewing ("swallowing")
+ if the application supports this.
+
+%prep
+ %setup -q -n mozplugger-%{version}
+ %patch -p0
+ %{l_shtool} subst \
+ %{l_value -s l_prefix} \
+ mozplugger.c
+
+%build
+ case "%{l_platform -t}" in
+ *-freebsd* ) platform="freebsd" ;;
+ *-linux* ) platform="linux" ;;
+ *-sunos* ) platform="solaris-gcc" ;;
+ * ) echo "Platform \"%{l_platform -t}\" not supported" 1>&2; exit 1 ;;
+ esac
+ %{l_make} %{l_mflags} $platform
+
+%install
+ rm -rf $RPM_BUILD_ROOT
+ %{l_shtool} mkdir -f -p -m 755 \
+ $RPM_BUILD_ROOT%{l_prefix}/etc/mozilla-plugger \
+ $RPM_BUILD_ROOT%{l_prefix}/lib/mozilla/plugins
+ %{l_shtool} install -c -m 755 \
+ mozplugger.so $RPM_BUILD_ROOT%{l_prefix}/lib/mozilla/plugins/
+ %{l_shtool} install -c -m 644 \
+ mozpluggerrc \
+ $RPM_BUILD_ROOT%{l_prefix}/etc/mozilla-plugger/mozpluggerrc.sample
+ %{l_shtool} install -c -m 644 %{l_value -s l_prefix} \
+ %{SOURCE mozpluggerrc} \
+ $RPM_BUILD_ROOT%{l_prefix}/etc/mozilla-plugger/
+ %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT \
+ %{l_files_std} \
+ '%config %{l_prefix}/etc/mozilla-plugger/mozpluggerrc' \
+ '%not %dir %{l_prefix}/lib/mozilla' \
+ '%not %dir %{l_prefix}/lib/mozilla/plugins'
+
+%files -f files
+
+%clean
+ rm -rf $RPM_BUILD_ROOT
+
@@ .
patch -p0 <<'@@ .'
Index: openpkg-src/mozilla-plugger/mozpluggerrc
============================================================================
$ cvs diff -u -r0 -r1.1 mozpluggerrc
--- /dev/null 2003-10-12 12:04:29.000000000 +0200
+++ mozpluggerrc 2003-10-12 12:04:30.000000000 +0200
@@ -0,0 +1,48 @@
+##
+## mozpluggerrc -- Mozilla Plugger Plug-In Run-Commands
+##
+
+application/rtf: rtf: Rich Text Format (RTF) Document
+ noisy: msov --format=doc "$file"
+ noisy nokill exits: openoffice "$file"
+ repeat noisy swallow(AbiWord) fill: abiword --nosplash --geometry +9000+9000
"$file"
+
+application/vnd.ms-word: doc, dot: Microsoft Word Document
+application/msword: doc, dot: Microsoft Word Document
+application/x-msword: doc, dot: Microsoft Word Document
+ noisy: msov --format=doc "$file"
+ noisy nokill exits: openoffice "$file"
+ repeat noisy swallow(AbiWord) fill: abiword --nosplash --geometry +9000+9000
"$file"
+ nokill exits: kword "$file"
+
+application/vnd.ms-excel: xls, xlb: Microsoft Excel Document
+application/excel: xls, xlb: Microsoft Excel Document
+application/x-excel: xls, xlb: Microsoft Excel Document
+ noisy: msov --format=xls "$file"
+ noisy nokill exits: openoffice "$file"
+ repeat swallow(PluggerGnumeric) fill: gnumeric --class PluggerGnumeric "$file"
+
+application/vnd.ms-powerpoint: ppt: Microsoft PowerPoint Document
+application/powerpoint: ppt: Microsoft PowerPoint Document
+application/x-powerpoint: ppt: Microsoft PowerPoint Document
+ noisy: msov --format=ppt "$file"
+ noisy nokill exits: openoffice "$file"
+
+application/pdf: pdf: Portable Document Format (PDF) Document
+application/x-pdf: pdf: Portable Document Format (PDF) Document
+text/pdf: pdf: PDF file
+text/x-pdf: pdf: PDF file
+ noisy: acroread "$file"
+ noisy: gv -safer -quiet -antialias "$file"
+ noisy: mgv "$file"
+ noisy: gs "$file"
+
+application/x-postscript: ps: PostScript Document
+application/postscript: ps: PostScript Document
+ noisy: gv -safer -quiet -antialias "$file"
+ noisy: mgv "$file"
+ noisy: gs "$file"
+
+application/x-dvi: dvi: Device Independent (DVI) Document
+ noisy: xdvi -safer -hush "$file"
+
@@ .
patch -p0 <<'@@ .'
Index: openpkg-web/news.txt
============================================================================
$ cvs diff -u -r1.6970 -r1.6971 news.txt
--- openpkg-web/news.txt 12 Oct 2003 09:50:09 -0000 1.6970
+++ openpkg-web/news.txt 12 Oct 2003 10:04:28 -0000 1.6971
@@ -1,3 +1,4 @@
+12-Oct-2003: New package: P<mozilla-plugger-1.3.2-20031012>
12-Oct-2003: Upgraded package: P<mozilla-mplayer-0.95-20031012>
12-Oct-2003: Upgraded package: P<ircd-2.10.3p4-20031012>
11-Oct-2003: Upgraded package: P<mozilla-1.4.1-20031011>
@@ .
______________________________________________________________________
The OpenPKG Project www.openpkg.org
CVS Repository Commit List [EMAIL PROTECTED]