[pkg-java] r6047 - trunk/icedtea-gcjwebplugin/debian
mkoch at alioth.debian.org
mkoch at alioth.debian.org
Mon Mar 31 19:35:27 UTC 2008
Author: mkoch
Date: 2008-03-31 19:35:26 +0000 (Mon, 31 Mar 2008)
New Revision: 6047
Added:
trunk/icedtea-gcjwebplugin/debian/README.Debian
trunk/icedtea-gcjwebplugin/debian/changelog
trunk/icedtea-gcjwebplugin/debian/compat
trunk/icedtea-gcjwebplugin/debian/control
trunk/icedtea-gcjwebplugin/debian/control.in
trunk/icedtea-gcjwebplugin/debian/copyright
trunk/icedtea-gcjwebplugin/debian/icedtea-gcjwebplugin.postinst.in
trunk/icedtea-gcjwebplugin/debian/icedtea-gcjwebplugin.prerm.in
trunk/icedtea-gcjwebplugin/debian/rules
Modified:
trunk/icedtea-gcjwebplugin/debian/
Log:
icedtea-gcjwebplugin (1.0-1) unstable; urgency=low
* Initial upload to Debian.
* Put package under Debian Java Maintainer umbrella, added myself to
Uploaders.
* Build-Depends on libxul-dev instead of xulrunner-1.9-dev.
* Removed Ubuntu transitional packages.
-- Michael Koch <konqueror at gmx.de> Mon, 31 Mar 2008 20:50:52 +0200
icedtea-gcjwebplugin (1.0-0ubuntu5) hardy; urgency=low
* Build icedtea-java7-jre, icedtea-java7-jdk transitional packages.
-- Matthias Klose <doko at ubuntu.com> Fri, 28 Mar 2008 16:33:51 +0100
icedtea-gcjwebplugin (1.0-0ubuntu4) hardy; urgency=low
* Build a transitional icedtea-java7-plugin package.
-- Matthias Klose <doko at ubuntu.com> Wed, 26 Mar 2008 10:26:18 +0100
icedtea-gcjwebplugin (1.0-0ubuntu3) hardy; urgency=low
* Build-depend on lsb-release.
-- Matthias Klose <doko at ubuntu.com> Sat, 22 Mar 2008 18:57:43 +0000
icedtea-gcjwebplugin (1.0-0ubuntu2) hardy; urgency=low
* Generate the postinst/prerm installation scripts.
-- Matthias Klose <doko at ubuntu.com> Thu, 20 Mar 2008 13:18:04 +0000
icedtea-gcjwebplugin (1.0-0ubuntu1) hardy; urgency=low
* Initial release, split out from the IcedTea source.
-- Matthias Klose <doko at ubuntu.com> Fri, 07 Mar 2008 12:04:17 +0000
Property changes on: trunk/icedtea-gcjwebplugin/debian
___________________________________________________________________
Name: svn:ignore
+ files
icedtea-gcjwebplugin
icedtea-gcjwebplugin.postinst
icedtea-gcjwebplugin.prerm
icedtea-gcjwebplugin.substvars
Added: trunk/icedtea-gcjwebplugin/debian/README.Debian
===================================================================
--- trunk/icedtea-gcjwebplugin/debian/README.Debian (rev 0)
+++ trunk/icedtea-gcjwebplugin/debian/README.Debian 2008-03-31 19:35:26 UTC (rev 6047)
@@ -0,0 +1,6 @@
+icedtea-gcjwebplugin for Debian
+-------------------------------
+
+Browser plugin from IcedTea, based on the gcjwebplugin.
+
+ -- Matthias Klose <doko at ubuntu.com> Fri, 07 Mar 2008 12:04:17 +0000
Added: trunk/icedtea-gcjwebplugin/debian/changelog
===================================================================
--- trunk/icedtea-gcjwebplugin/debian/changelog (rev 0)
+++ trunk/icedtea-gcjwebplugin/debian/changelog 2008-03-31 19:35:26 UTC (rev 6047)
@@ -0,0 +1,40 @@
+icedtea-gcjwebplugin (1.0-1) unstable; urgency=low
+
+ * Initial upload to Debian.
+ * Put package under Debian Java Maintainer umbrella, added myself to
+ Uploaders.
+ * Build-Depends on libxul-dev instead of xulrunner-1.9-dev.
+ * Removed Ubuntu transitional packages.
+
+ -- Michael Koch <konqueror at gmx.de> Mon, 31 Mar 2008 20:50:52 +0200
+
+icedtea-gcjwebplugin (1.0-0ubuntu5) hardy; urgency=low
+
+ * Build icedtea-java7-jre, icedtea-java7-jdk transitional packages.
+
+ -- Matthias Klose <doko at ubuntu.com> Fri, 28 Mar 2008 16:33:51 +0100
+
+icedtea-gcjwebplugin (1.0-0ubuntu4) hardy; urgency=low
+
+ * Build a transitional icedtea-java7-plugin package.
+
+ -- Matthias Klose <doko at ubuntu.com> Wed, 26 Mar 2008 10:26:18 +0100
+
+icedtea-gcjwebplugin (1.0-0ubuntu3) hardy; urgency=low
+
+ * Build-depend on lsb-release.
+
+ -- Matthias Klose <doko at ubuntu.com> Sat, 22 Mar 2008 18:57:43 +0000
+
+icedtea-gcjwebplugin (1.0-0ubuntu2) hardy; urgency=low
+
+ * Generate the postinst/prerm installation scripts.
+
+ -- Matthias Klose <doko at ubuntu.com> Thu, 20 Mar 2008 13:18:04 +0000
+
+icedtea-gcjwebplugin (1.0-0ubuntu1) hardy; urgency=low
+
+ * Initial release, split out from the IcedTea source.
+
+ -- Matthias Klose <doko at ubuntu.com> Fri, 07 Mar 2008 12:04:17 +0000
+
Added: trunk/icedtea-gcjwebplugin/debian/compat
===================================================================
--- trunk/icedtea-gcjwebplugin/debian/compat (rev 0)
+++ trunk/icedtea-gcjwebplugin/debian/compat 2008-03-31 19:35:26 UTC (rev 6047)
@@ -0,0 +1 @@
+5
Added: trunk/icedtea-gcjwebplugin/debian/control
===================================================================
--- trunk/icedtea-gcjwebplugin/debian/control (rev 0)
+++ trunk/icedtea-gcjwebplugin/debian/control 2008-03-31 19:35:26 UTC (rev 6047)
@@ -0,0 +1,17 @@
+Source: icedtea-gcjwebplugin
+Section: web
+Priority: extra
+Maintainer: Debian Java Maintainers <pkg-java-maintainers at lists.alioth.debian.org>
+Uploaders: Matthias Klose <doko at ubuntu.com>, Michael Koch <konqueror at gmx.de>
+Build-Depends: debhelper (>= 5), lsb-release, pkg-config, libgtk2.0-dev, libxul-dev
+Standards-Version: 3.7.3
+
+Package: icedtea-gcjwebplugin
+Architecture: any
+Depends: openjdk-6-jre (>= 6b06), ${shlibs:Depends}, ${misc:Depends}
+Xb-Npp-Applications: ec8030f7-c20a-464f-9b0e-13a3a9e97384, 92650c4d-4b8e-4d2a-b7eb-24ecf4f6b63a, aa5ca914-c309-495d-91cf-3141bbb04115
+Xb-Npp-Name: The GCJ Web Browser Plugin (using OpenJDK)
+Xb-Npp-MimeType: application/x-java-vm, application/x-java-applet, application/x-java-applet;version=1.1, application/x-java-applet;version=1.1.1, application/x-java-applet;version=1.1.2, application/x-java-applet;version=1.1.3, application/x-java-applet;version=1.2, application/x-java-applet;version=1.2.1, application/x-java-applet;version=1.2.2, application/x-java-applet;version=1.3, application/x-java-applet;version=1.3.1, application/x-java-applet;version=1.4, application/x-java-applet;version=1.4.1, application/x-java-applet;version=1.4.2, application/x-java-applet;version=1.5, application/x-java-applet;version=1.6, application/x-java-applet;jpi-version=1.6.0_00, application/x-java-bean, application/x-java-bean;version=1.1, application/x-java-bean;version=1.1.1, application/x-java-bean;version=1.1.2, application/x-java-bean;version=1.1.3, application/x-java-bean;version=1.2, application/x-java-bean;version=1.2.1, application/x-java-bean;version=1.2.2, application/x-java-bean;version=1.3, application/x-java-bean;version=1.3.1, application/x-java-bean;version=1.4, application/x-java-bean;version=1.4.1, application/x-java-bean;version=1.4.2, application/x-java-bean;version=1.5, application/x-java-bean;version=1.6, application/x-java-bean;jpi-version=1.6.0_00
+Description: Java plugin based on IcedTea and gcjwebplugin
+ icedtea-gcjwebplugin is a little web browser plugin to execute Java applets.
+ It is targeted for Mozilla and compatible browsers that support the NPAPI.
Added: trunk/icedtea-gcjwebplugin/debian/control.in
===================================================================
--- trunk/icedtea-gcjwebplugin/debian/control.in (rev 0)
+++ trunk/icedtea-gcjwebplugin/debian/control.in 2008-03-31 19:35:26 UTC (rev 6047)
@@ -0,0 +1,17 @@
+Source: icedtea-gcjwebplugin
+Section: web
+Priority: extra
+Maintainer: Debian Java Maintainers <pkg-java-maintainers at lists.alioth.debian.org>
+Uploaders: Matthias Klose <doko at ubuntu.com>, Michael Koch <konqueror at gmx.de>
+Build-Depends: debhelper (>= 5), lsb-release, pkg-config, libgtk2.0-dev, @xuldev@
+Standards-Version: 3.7.3
+
+Package: icedtea-gcjwebplugin
+Architecture: any
+Depends: openjdk-6-jre (>= 6b06), ${shlibs:Depends}, ${misc:Depends}
+Xb-Npp-Applications: ec8030f7-c20a-464f-9b0e-13a3a9e97384, 92650c4d-4b8e-4d2a-b7eb-24ecf4f6b63a, aa5ca914-c309-495d-91cf-3141bbb04115
+Xb-Npp-Name: The GCJ Web Browser Plugin (using OpenJDK)
+Xb-Npp-MimeType: application/x-java-vm, application/x-java-applet, application/x-java-applet;version=1.1, application/x-java-applet;version=1.1.1, application/x-java-applet;version=1.1.2, application/x-java-applet;version=1.1.3, application/x-java-applet;version=1.2, application/x-java-applet;version=1.2.1, application/x-java-applet;version=1.2.2, application/x-java-applet;version=1.3, application/x-java-applet;version=1.3.1, application/x-java-applet;version=1.4, application/x-java-applet;version=1.4.1, application/x-java-applet;version=1.4.2, application/x-java-applet;version=1.5, application/x-java-applet;version=1.6, application/x-java-applet;jpi-version=1.6.0_00, application/x-java-bean, application/x-java-bean;version=1.1, application/x-java-bean;version=1.1.1, application/x-java-bean;version=1.1.2, application/x-java-bean;version=1.1.3, application/x-java-bean;version=1.2, application/x-java-bean;version=1.2.1, application/x-java-bean;version=1.2.2, application/x-java-bean;version=1.3, application/x-java-bean;version=1.3.1, application/x-java-bean;version=1.4, application/x-java-bean;version=1.4.1, application/x-java-bean;version=1.4.2, application/x-java-bean;version=1.5, application/x-java-bean;version=1.6, application/x-java-bean;jpi-version=1.6.0_00
+Description: Java plugin based on IcedTea and gcjwebplugin
+ icedtea-gcjwebplugin is a little web browser plugin to execute Java applets.
+ It is targeted for Mozilla and compatible browsers that support the NPAPI.
Added: trunk/icedtea-gcjwebplugin/debian/copyright
===================================================================
--- trunk/icedtea-gcjwebplugin/debian/copyright (rev 0)
+++ trunk/icedtea-gcjwebplugin/debian/copyright 2008-03-31 19:35:26 UTC (rev 6047)
@@ -0,0 +1,78 @@
+This package was debianized by Matthias Klose <doko at ubuntu.com>
+on Fri, 07 Mar 2008 12:04:17 +0000.
+
+It was downloaded from http://icedtea.classpath.org
+
+Upstream Authors:
+ Lillian Angel <langel at redhat.com>
+ Gary Benson <gbenson at redhat.com>
+ Tania Bento <tbento at redhat.com>
+ Thomas Fitzsimmons <fitzsim at redhat.com>
+ Kyle Galloway <kgallowa at redhat.com>
+ Andrew Haley <aph at redhat.com>
+ Matthias Klose <doko at ubuntu.com>
+ Francis Kung <fkung at redhat.com>
+ Casey Marshall <csm at gnu.org>
+ Raif Naffah <admin at naffah-raif.name>
+ Joshua Sumali <jsumali at redhat.com>
+ Christian Thalinger <twisti at complang.tuwien.ac.at>
+ Mark Wielaard <mark at klomp.org>
+
+Copyright:
+ Portions Copyright © 2007 Lillian Angel <langel at redhat.com>
+ Portions Copyright © 2007 Gary Benson <gbenson at redhat.com>
+ Portions Copyright © 2007 Tania Bento <tbento at redhat.com>
+ Portions Copyright © 2007 Thomas Fitzsimmons <fitzsim at redhat.com>
+ Portions Copyright © 2007 Kyle Galloway <kgallowa at redhat.com>
+ Portions Copyright © 2007 Andrew Haley <aph at redhat.com>
+ Portions Copyright © 2007 Matthias Klose <doko at ubuntu.com>
+ Portions Copyright © 2007 Francis Kung <fkung at redhat.com>
+ Portions Copyright © 2007 Casey Marshall <csm at gnu.org>
+ Portions Copyright © 2007 Raif Naffah <admin at naffah-raif.name>
+ Portions Copyright © 2007 Joshua Sumali <jsumali at redhat.com>
+ Portions Copyright © 2007 Christian Thalinger <twisti at complang.tuwien.ac.at>
+ Portions Copyright © 2007 Mark Wielaard <mark at klomp.org>
+
+The Debian packaging is Copyright © 2007 Canonical Ltd. and is
+licensed under the GPL, see `/usr/share/common-licenses/GPL'.
+
+------------------------------------------------------------------------------
+Packaging:
+ Copyright © 2007 Canonical Ltd.
+
+------------------------------------------------------------------------------
+License:
+
+This file is part of GNU Classpath.
+
+GNU Classpath is free software; you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation; either version 2, or (at your option)
+any later version.
+
+GNU Classpath is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with GNU Classpath; see the file COPYING. If not, write to the
+Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+02110-1301 USA.
+
+Linking this library statically or dynamically with other modules is
+making a combined work based on this library. Thus, the terms and
+conditions of the GNU General Public License cover the whole
+combination.
+
+As a special exception, the copyright holders of this library give you
+permission to link this library with independent modules to produce an
+executable, regardless of the license terms of these independent
+modules, and to copy and distribute the resulting executable under
+terms of your choice, provided that you also meet, for each linked
+independent module, the terms and conditions of the license of that
+module. An independent module is a module which is not derived from
+or based on this library. If you modify this library, you may extend
+this exception to your version of the library, but you are not
+obligated to do so. If you do not wish to do so, delete this
+exception statement from your version.
Added: trunk/icedtea-gcjwebplugin/debian/icedtea-gcjwebplugin.postinst.in
===================================================================
--- trunk/icedtea-gcjwebplugin/debian/icedtea-gcjwebplugin.postinst.in (rev 0)
+++ trunk/icedtea-gcjwebplugin/debian/icedtea-gcjwebplugin.postinst.in 2008-03-31 19:35:26 UTC (rev 6047)
@@ -0,0 +1,25 @@
+#!/bin/sh -e
+
+PATH=/sbin:/bin:/usr/sbin:/usr/bin
+
+priority=@priority@
+browser_dirs="@browser_dirs@"
+PLUGIN=gcjwebplugin.so
+PLUGINPTH=/@basediralias@/jre/lib/@archdir@/$PLUGIN
+
+for browser_dir in $browser_dirs; do
+ if [ $browser_dir = xulrunner-addons ]; then
+ browser=xulrunner-1.9
+ else
+ browser=$browser_dir
+ fi
+ update-alternatives --quiet --install \
+ /usr/lib/$browser_dir/plugins/libjavaplugin.so \
+ $browser-javaplugin.so \
+ $PLUGINPTH \
+ $priority
+done
+
+#DEBHELPER#
+
+exit 0
Added: trunk/icedtea-gcjwebplugin/debian/icedtea-gcjwebplugin.prerm.in
===================================================================
--- trunk/icedtea-gcjwebplugin/debian/icedtea-gcjwebplugin.prerm.in (rev 0)
+++ trunk/icedtea-gcjwebplugin/debian/icedtea-gcjwebplugin.prerm.in 2008-03-31 19:35:26 UTC (rev 6047)
@@ -0,0 +1,18 @@
+#!/bin/sh -e
+
+browser_dirs="@browser_dirs@"
+PLUGIN=gcjwebplugin.so
+PLUGINPTH=/@basediralias@/jre/lib/@archdir@/$PLUGIN
+
+for browser_dir in $browser_dirs; do
+ if [ $browser_dir = xulrunner-addons ]; then
+ browser=xulrunner-1.9
+ else
+ browser=$browser_dir
+ fi
+ update-alternatives --quiet --remove \
+ $browser-javaplugin.so \
+ $PLUGINPTH
+done
+
+#DEBHELPER#
Added: trunk/icedtea-gcjwebplugin/debian/rules
===================================================================
--- trunk/icedtea-gcjwebplugin/debian/rules (rev 0)
+++ trunk/icedtea-gcjwebplugin/debian/rules 2008-03-31 19:35:26 UTC (rev 6047)
@@ -0,0 +1,119 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+
+DEB_HOST_ARCH ?= $(shell dpkg-architecture -qDEB_HOST_ARCH)
+
+archdir_map := amd64=amd64 i386=i386 lpia=i386 powerpc=ppc sparc=sparc ia64=ia64
+
+archdir := $(strip $(patsubst $(DEB_HOST_ARCH)=%, %, \
+ $(filter $(DEB_HOST_ARCH)=%, $(archdir_map))))
+
+distribution := $(shell lsb_release --id --short)
+distrel := $(shell lsb_release --codename --short)
+xuldev = \
+ $(if $(filter $(distribution),Debian),libxul-dev,$(if $(filter $(distrel),hardy),xulrunner-1.9-dev,firefox-dev))
+
+TOP = usr/lib/jvm
+basedir = usr/lib/jvm/$(jdirname)
+origin = openjdk
+basename = openjdk-$(shortver)
+jvmver = 1.6.0
+shortver = 6
+priority = 1061
+jdiralias = java-$(shortver)-$(origin)
+basedir = usr/lib/jvm/$(jdiralias)
+
+ifneq (,$(findstring xulrunner-1.9, $(xuldev)))
+ browser_plugin_dirs = xulrunner-addons
+else
+ browser_plugin_dirs = firefox iceape iceweasel mozilla midbrowser xulrunner
+endif
+
+debian/control: debian/control.in debian/rules
+ @cp -p debian/control debian/control.old
+ sed \
+ -e 's/@xuldev@/$(xuldev)/g' \
+ debian/control.in > debian/control
+ @if cmp -s debian/control debian/control.old; then \
+ rm -f debian/control.old; \
+ else \
+ diff -u debian/control.old debian/control; \
+ echo "debian/control did change, please restart the build"; \
+ rm -f debian/control.old; \
+ exit 1; \
+ fi
+
+packaging-files:
+ for f in debian/*.in; do \
+ case "$$f" in debian/control.in) continue; esac; \
+ f2=$$(echo $$f | sed 's/JB/$(basename)/;s/\.in$$//'); \
+ sed -e 's/@basename@/$(basename)/g' \
+ -e 's, at TOP@,$(TOP),g' \
+ -e 's, at basedir@,$(basedir),g' \
+ -e 's, at basediralias@,$(TOP)/$(jdiralias),g' \
+ -e 's, at jdiralias@,$(jdiralias),g' \
+ -e 's/@archdir@/$(archdir)/g' \
+ -e 's/@priority@/$(priority)/g' \
+ -e 's, at browser_dirs@,$(browser_plugin_dirs),g' \
+ $$f > $$f2; \
+ done
+
+config.status: configure
+ dh_testdir
+ ./configure --prefix=/usr
+
+build: build-stamp
+build-stamp: config.status
+ dh_testdir
+ $(MAKE)
+ touch $@
+
+clean:
+ dh_testdir
+ dh_testroot
+ rm -f build-stamp
+ rm -f config.status config.log
+ rm -f gcjwebplugin.so Makefile
+ for f in debian/*.in; do \
+ f2=$$(echo $$f | sed 's/JB/$(basename)/;s/\.in$$//'); \
+ case "$$f2" in debian/control) continue; esac; \
+ rm -f $$f2; \
+ done
+ dh_clean
+
+install: build debian/control packaging-files
+ dh_testdir
+ dh_testroot
+ dh_clean -k
+ dh_installdirs usr/lib/jvm/java-6-openjdk/jre/lib/$(archdir)
+ cp gcjwebplugin.so \
+ debian/icedtea-gcjwebplugin/usr/lib/jvm/java-6-openjdk/jre/lib/$(archdir)/
+
+relnum = $(shell dpkg-parsechangelog | sed -n '/^Version:/s/.*-\(.*\)$$/\1/p')
+
+# 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_testdir
+ dh_testroot
+ dh_installchangelogs -s ChangeLog
+ dh_installdocs -s
+ dh_link -s
+ dh_strip -s
+ dh_compress -s
+ dh_fixperms -s
+ dh_installdeb -s
+ dh_shlibdeps -s
+ dh_gencontrol -s
+ dh_md5sums -s
+ dh_builddeb -s
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install
Property changes on: trunk/icedtea-gcjwebplugin/debian/rules
___________________________________________________________________
Name: svn:executable
+ *
More information about the pkg-java-commits
mailing list