[pkg-java] r2646 - trunk/eclipse-pydev

Vladimír Lapáček vladimir-guest at costa.debian.org
Sun Oct 22 19:26:11 UTC 2006


Author: vladimir-guest
Date: 2006-10-22 19:26:10 +0000 (Sun, 22 Oct 2006)
New Revision: 2646

Removed:
   trunk/eclipse-pydev/README.Debian
   trunk/eclipse-pydev/aot-compile
   trunk/eclipse-pydev/changelog
   trunk/eclipse-pydev/compat
   trunk/eclipse-pydev/control
   trunk/eclipse-pydev/copyright
   trunk/eclipse-pydev/eclipse-pydev-gcj.postinst
   trunk/eclipse-pydev/eclipse-pydev-gcj.postrm
   trunk/eclipse-pydev/eclipse-pydev.install
   trunk/eclipse-pydev/patches/
   trunk/eclipse-pydev/rules
Log:
reorganize the eclipse-pydev folders

Deleted: trunk/eclipse-pydev/README.Debian
===================================================================
--- trunk/eclipse-pydev/README.Debian	2006-10-22 19:23:59 UTC (rev 2645)
+++ trunk/eclipse-pydev/README.Debian	2006-10-22 19:26:10 UTC (rev 2646)
@@ -1,6 +0,0 @@
-eclipse-pydev for Ubuntu
-------------------------
-
-Since Ubuntu uses GCJ-4.1 to compile java code, the sources had to be backported to use Java 1.4.
-
- -- Vladimir Lapacek <vladimir.lapacek at gmail.com>, Sun, 11 Dec 2005 20:32:14 -0700

Deleted: trunk/eclipse-pydev/aot-compile
===================================================================
--- trunk/eclipse-pydev/aot-compile	2006-10-22 19:23:59 UTC (rev 2645)
+++ trunk/eclipse-pydev/aot-compile	2006-10-22 19:26:10 UTC (rev 2646)
@@ -1,210 +0,0 @@
-#!/usr/bin/env python
-
-import copy
-import os
-import string
-import sys
-import zipfile
-
-GCJ = "/usr/bin/gcj-4.1"
-GCJFLAGS = [ "-O2", "-fPIC", "-findirect-dispatch", "-fjni"]
-LDFLAGS = ["-Wl,-Bsymbolic"]
-
-class Error(Exception):
-    pass
-
-class JarFile(zipfile.ZipFile):
-    def isSubsetOf(self, other):
-        """Returns True if identical copies of all classes in this
-        jarfile exist in the other."""
-        for other_item in other.infolist():
-            if not other_item.filename.endswith(".class"):
-                continue
-            try:
-                self_item = self.getinfo(other_item.filename)
-            except KeyError:
-                return False
-            if self_item.CRC != other_item.CRC:
-                return False
-        return True
-
-    def numClasses(self):
-        """Return the number of classfiles within this jarfile."""
-        return len([
-            item for item in self.namelist() if item.endswith(".class")])
-
-    def classPrefix(self):
-        """Return the longest prefix common to all classes."""
-        return os.path.commonprefix([
-            item for item in self.namelist() if item.endswith(".class")])
-
-def strip_exclusions(jars, exclusions):
-    """Remove user-excluded jars from the list.  We're really strict
-    about this to ensure that dead options don't get left in
-    specfiles."""
-    jars = copy.copy(jars)
-    for exclusion in exclusions:
-        for jar in jars:
-            if jar.filename == exclusion:
-                jars.remove(jar)
-                break
-        else:
-            raise Error, "%s: file does not exist or is not a jar" % exclusion
-    return jars
-
-def weed_jars(jars):
-    """Remove any jarfiles that are completely contained within
-    another.  This is more common than you'd think, and we only
-    need one nativified copy of each class after all."""
-    jars = copy.copy(jars)
-    while True:
-        for jar1 in jars:
-            for jar2 in jars:
-                if jar1 is jar2:
-                    continue
-                if jar1.isSubsetOf(jar2):
-                    msg = "subsetted %s" % jar2.filename
-                    if jar2.isSubsetOf(jar1):
-                        msg += " (identical)"
-                    warn(msg)
-                    jars.remove(jar2)
-                    break
-            else:
-                continue
-            break
-        else:
-            break
-        continue
-    return jars
-
-def set_basenames(jars):
-    """Ensure that each jarfile has a different basename."""
-    names = {}
-    for jar in jars:
-        name = os.path.basename(jar.filename)
-        if not names.has_key(name):
-            names[name] = []
-        names[name].append(jar)
-    for name, set in names.items():
-        if len(set) == 1:
-            set[0].basename = name
-            continue
-        # prefix the jar filenames to make them unique
-        # XXX will not work in most cases -- needs generalising
-        set = [(jar.filename.split(os.sep), jar) for jar in set]
-        minlen = min([len(bits) for bits, jar in set])
-        set = [(bits[-minlen:], jar) for bits, jar in set]
-        bits = apply(zip, [bits for bits, jar in set])
-        while True:
-            row = bits[-2]
-            for bit in row[1:]:
-                if bit != row[0]:
-                    break
-            else:
-                del bits[-2]
-                continue
-            break
-        set = zip(
-            ["_".join(name) for name in apply(zip, bits[-2:])],
-            [jar for bits, jar in set])
-        for name, jar in set:
-            warn("building %s as %s" % (jar.filename, name))
-            jar.basename = name
-    # XXX keep this check until we're properly general
-    names = {}
-    for jar in jars:
-        name = jar.basename
-        if names.has_key(name):
-            raise Error, "%s: duplicate jarname" % name
-        names[name] = 1
-
-def aot_compile_jar(name, jar, soname, max_classes_per_jar = 1000):
-    """Generate the shared library and class mapping for one jarfile.
-    If the shared library already exists then it will not be
-    overwritten.  This is to allow optimizer failures and the like to
-    be worked around."""
-    dir = soname[:soname.rfind('/')]
-    if os.path.exists(soname):
-        warn("not recreating %s" % soname)
-    else:
-        cleanup = []
-        # prepare
-        if jar.numClasses() > max_classes_per_jar:
-            warn("splitting %s" % jar.filename)
-            sources = split_jarfile(jar, dir, max_classes_per_jar)
-            cleanup.extend(sources)
-        elif jar.filename.endswith(".jar"):
-            sources = [jar.filename]
-        else:
-            sources = [symlink_jarfile(jar.filename, dir)]
-            cleanup.extend(sources)
-        # compile and link
-        if len(sources) == 1:
-            system([GCJ, "-shared"] +
-                   GCJFLAGS + LDFLAGS +
-                   [sources[0], "-o", soname])
-        else:
-            objects = []
-            for source in sources:
-                object = os.path.join(dir, os.path.basename(source) + ".o")
-                system([GCJ, "-c"] +
-                       GCJFLAGS +
-                       [source, "-o", object])
-                objects.append(object)
-                cleanup.append(object)
-            system([GCJ, "-shared"] +
-                   GCJFLAGS + LDFLAGS +
-                   objects + ["-o", soname])
-        # clean up
-        for item in cleanup:
-            os.unlink(item)
-    # dbtool
-#    dbname = soname[:soname.rfind(".")] + ".db"
-#    soname = os.path.join(libdir, os.path.basename(soname))
-#    system([PATHS["dbtool"], "-n", dbname, "64"])
-#    system([PATHS["dbtool"], "-f", dbname, jar.filename, soname])
-
-def split_jarfile(src, dir, split):
-    """Split large jarfiles to avoid huge assembler files."""
-    jarfiles, dst = [], None
-    for item in src.infolist():
-        if (dst is None or item.filename.endswith(".class") and size >= split):
-            if dst is not None:
-                dst.close()
-            path = os.path.join(dir, "%s.%d.jar" % (
-                os.path.basename(src.filename), len(jarfiles) + 1))
-            jarfiles.append(path)
-            dst = zipfile.ZipFile(path, "w", zipfile.ZIP_STORED)
-            size = 0
-        dst.writestr(item, src.read(item.filename))
-        size += 1
-    dst.close()
-    return jarfiles
-
-def symlink_jarfile(src, dir):
-    """Symlink a jarfile with a '.jar' extension so gcj knows what it is."""
-    dst = os.path.join(dir, os.path.basename(src) + ".jar")
-    os.symlink(src, dst)
-    return dst
-
-def system(command):
-    """Execute a command."""
-    prefix = os.environ.get("PS4", "+ ")
-    prefix = prefix[0] + prefix
-    print >>sys.stderr, prefix + " ".join(command)
-
-    status = os.spawnv(os.P_WAIT, command[0], command)
-    if status > 0:
-        raise Error, "%s exited with code %d" % (command[0], status)
-    elif status < 0:
-        raise Error, "%s killed by signal %d" % (command[0], -status)
-
-def warn(msg):
-    """Print a warning message."""
-    print >>sys.stderr, "%s: warning: %s" % (
-        os.path.basename(sys.argv[0]), msg)
-
-if __name__ == "__main__":
-    jarpath = sys.argv[1]
-    jarname = jarpath[jarpath.rfind(os.sep)+1:]
-    aot_compile_jar(jarname, JarFile(jarpath, "r"), sys.argv[2])

Deleted: trunk/eclipse-pydev/changelog
===================================================================
--- trunk/eclipse-pydev/changelog	2006-10-22 19:23:59 UTC (rev 2645)
+++ trunk/eclipse-pydev/changelog	2006-10-22 19:26:10 UTC (rev 2646)
@@ -1,51 +0,0 @@
-eclipse-pydev (1.2.0-1ubuntu3) edgy; urgency=low
-
-  * Changed the installation directory to /usr/lib/eclipse
-  * Use new eclipse 3.2.1 for build
-
- -- Vladimír Lapáček <vladimir.lapacek at gmail.com>  Wed, 18 Oct 2006 23:29:37 +0200
-
-eclipse-pydev (1.2.0-1ubuntu2) edgy; urgency=low
-
-  * rebuild for libgcj7 -> libgcj7-0
-
- -- Michael Bienia <michael at vorlon.ping.de>  Fri, 25 Aug 2006 18:05:43 +0200
-
-eclipse-pydev (1.2.0-1ubuntu1) edgy; urgency=low
-
-  * New upstram version
-  * Used backport patches from linux-distros-dev at eclipse.org
-  * Removed debian/pydev.links.disabled
-  * Removed ${python:Depends} from dependency list
-
- -- Vladimír Lapáček <vladimir.lapacek at gmail.com>  Sat, 24 Jun 2006 21:26:11 +0100
-
-eclipse-pydev (1.0.3-1ubuntu1) dapper; urgency=low
-
-  * New upstream version
-
- -- Vladimír Lapáček <vladimir.lapacek at gmail.com>  Fri, 31 Mar 2006 20:32:14 +0100
-
-eclipse-pydev (0.9.8.3-1ubuntu2) dapper; urgency=low
-
-  * debian/control: s/Build-Depends-Indep/Build-Depends/.
-
- -- Matthias Klose <doko at ubuntu.com>  Thu, 23 Mar 2006 15:28:46 +0100
-
-eclipse-pydev (0.9.8.3-1ubuntu1) dapper; urgency=low
-
-  * Build using java-gcj-compat-dev.
-  * debian/rules: Updates for eclipse-3.1.2.
-  * debian/control: Require eclipse-3.1.2.
-  * eclipse-pydev-gcj: New native package.
-  * Remove retroweaver jar's from the source package.
-
- -- Matthias Klose <doko at ubuntu.com>  Wed, 22 Mar 2006 23:17:02 +0100
-
-eclipse-pydev (0.9.8.3-1) dapper; urgency=low
-
-  * Initial release.
-  * Backport to use only Java 1.4 compatible code. The free runtimes don't
-    support 1.5 yet very well.
-
- -- Vladimír Lapáček <vladimir.lapacek at gmail.com>  Sun, 11 Dec 2005 20:32:14 -0700

Deleted: trunk/eclipse-pydev/compat
===================================================================
--- trunk/eclipse-pydev/compat	2006-10-22 19:23:59 UTC (rev 2645)
+++ trunk/eclipse-pydev/compat	2006-10-22 19:26:10 UTC (rev 2646)
@@ -1 +0,0 @@
-4

Deleted: trunk/eclipse-pydev/control
===================================================================
--- trunk/eclipse-pydev/control	2006-10-22 19:23:59 UTC (rev 2645)
+++ trunk/eclipse-pydev/control	2006-10-22 19:26:10 UTC (rev 2646)
@@ -1,27 +0,0 @@
-Source: eclipse-pydev
-Section: devel
-Priority: optional
-Maintainer: Vladimír Lapáček <vladimir.lapacek at gmail.com>
-Build-Depends: debhelper (>= 4.0.0), eclipse-pde (>= 3.2.1), java-gcj-compat-dev, libcommons-codec-java, dpatch, python
-Standards-Version: 3.7.2
-
-Package: eclipse-pydev
-Architecture: all
-Depends: eclipse-sdk (>= 3.2.1), python-dev, bicyclerepair, libcommons-codec-java, python
-Recommends: eclipse-platform-gcj, eclipse-pydev-gcj
-Description: Python development plug-in for Eclipse
- PyDev is a plugin that enables users to use Eclipse for Python and Jython
- development. It comes with many goodies such as code completion, syntax
- highlighting, syntax analysis, refactor, debug and many others.
- .
- This package contains the plugin itself.
-
-Package: eclipse-pydev-gcj
-Architecture: any
-Depends: eclipse-pydev (>= ${Source-Version}), eclipse-platform-gcj, ${shlibs:Depends}
-Description: Python development plug-in for Eclipse (GCJ version)
- PyDev is a plugin that enables users to use Eclipse for Python and Jython
- development. It comes with many goodies such as code completion, syntax
- highlighting, syntax analysis, refactor, debug and many others.
- .
- This package contains native GCJ-compiled plugins.

Deleted: trunk/eclipse-pydev/copyright
===================================================================
--- trunk/eclipse-pydev/copyright	2006-10-22 19:23:59 UTC (rev 2645)
+++ trunk/eclipse-pydev/copyright	2006-10-22 19:26:10 UTC (rev 2646)
@@ -1,237 +0,0 @@
-This package was debianized by Vladimír Lapáček <vladimir.lapacek at gmail.com> on
-Sun, 11 Dec 2005 20:32:14 -0700.
-
-It was downloaded from CVS :pserver:anonymous at cvs.sf.net:/cvsroot/pydev
-
-Copyright Holder: Fabio Zadrozny <fabioz at esss.com.br>
-
-License:
-
-Common Public License - v 1.0
-
-THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS COMMON 
-PUBLIC LICENSE ("AGREEMENT"). ANY USE, REPRODUCTION OR DISTRIBUTION OF 
-THE PROGRAM CONSTITUTES RECIPIENT'S ACCEPTANCE OF THIS AGREEMENT.
-
-1. DEFINITIONS
-
-"Contribution" means:
-
-      a) in the case of the initial Contributor, the initial code and 
-documentation distributed under this Agreement, and
-      b) in the case of each subsequent Contributor:
-
-      i) changes to the Program, and
-
-      ii) additions to the Program;
-
-      where such changes and/or additions to the Program originate from 
-and are distributed by that particular Contributor. A Contribution 
-'originates' from a Contributor if it was added to the Program by such 
-Contributor itself or anyone acting on such Contributor's behalf. 
-Contributions do not include additions to the Program which: (i) are 
-separate modules of software distributed in conjunction with the Program 
-under their own license agreement, and (ii) are not derivative works of 
-the Program. 
-
-"Contributor" means any person or entity that distributes the Program.
-
-"Licensed Patents " mean patent claims licensable by a Contributor which 
-are necessarily infringed by the use or sale of its Contribution alone 
-or when combined with the Program.
-
-"Program" means the Contributions distributed in accordance with this 
-Agreement.
-
-"Recipient" means anyone who receives the Program under this Agreement, 
-including all Contributors.
-
-2. GRANT OF RIGHTS
-
-      a) Subject to the terms of this Agreement, each Contributor hereby 
-grants Recipient a non-exclusive, worldwide, royalty-free copyright 
-license to reproduce, prepare derivative works of, publicly display, 
-publicly perform, distribute and sublicense the Contribution of such 
-Contributor, if any, and such derivative works, in source code and 
-object code form.
-
-      b) Subject to the terms of this Agreement, each Contributor hereby 
-grants Recipient a non-exclusive, worldwide, royalty-free patent license 
-under Licensed Patents to make, use, sell, offer to sell, import and 
-otherwise transfer the Contribution of such Contributor, if any, in 
-source code and object code form. This patent license shall apply to the 
-combination of the Contribution and the Program if, at the time the 
-Contribution is added by the Contributor, such addition of the 
-Contribution causes such combination to be covered by the Licensed 
-Patents. The patent license shall not apply to any other combinations 
-which include the Contribution. No hardware per se is licensed 
-hereunder. 
-
-      c) Recipient understands that although each Contributor grants the 
-licenses to its Contributions set forth herein, no assurances are 
-provided by any Contributor that the Program does not infringe the 
-patent or other intellectual property rights of any other entity. Each 
-Contributor disclaims any liability to Recipient for claims brought by 
-any other entity based on infringement of intellectual property rights 
-or otherwise. As a condition to exercising the rights and licenses 
-granted hereunder, each Recipient hereby assumes sole responsibility to 
-secure any other intellectual property rights needed, if any. For 
-example, if a third party patent license is required to allow Recipient 
-to distribute the Program, it is Recipient's responsibility to acquire 
-that license before distributing the Program.
-
-      d) Each Contributor represents that to its knowledge it has 
-sufficient copyright rights in its Contribution, if any, to grant the 
-copyright license set forth in this Agreement. 
-
-3. REQUIREMENTS
-
-A Contributor may choose to distribute the Program in object code form 
-under its own license agreement, provided that:
-
-      a) it complies with the terms and conditions of this Agreement; 
-and
-
-      b) its license agreement:
-
-      i) effectively disclaims on behalf of all Contributors all 
-warranties and conditions, express and implied, including warranties or 
-conditions of title and non-infringement, and implied warranties or 
-conditions of merchantability and fitness for a particular purpose; 
-
-      ii) effectively excludes on behalf of all Contributors all 
-liability for damages, including direct, indirect, special, incidental 
-and consequential damages, such as lost profits; 
-
-      iii) states that any provisions which differ from this Agreement 
-are offered by that Contributor alone and not by any other party; and
-
-      iv) states that source code for the Program is available from such 
-Contributor, and informs licensees how to obtain it in a reasonable 
-manner on or through a medium customarily used for software exchange. 
-
-When the Program is made available in source code form:
-
-      a) it must be made available under this Agreement; and 
-
-      b) a copy of this Agreement must be included with each copy of the 
-Program. 
-
-Contributors may not remove or alter any copyright notices contained 
-within the Program.
-
-Each Contributor must identify itself as the originator of its 
-Contribution, if any, in a manner that reasonably allows subsequent 
-Recipients to identify the originator of the Contribution.
-
-4. COMMERCIAL DISTRIBUTION
-
-Commercial distributors of software may accept certain responsibilities 
-with respect to end users, business partners and the like. While this 
-license is intended to facilitate the commercial use of the Program, the 
-Contributor who includes the Program in a commercial product offering 
-should do so in a manner which does not create potential liability for 
-other Contributors. Therefore, if a Contributor includes the Program in 
-a commercial product offering, such Contributor ("Commercial 
-Contributor") hereby agrees to defend and indemnify every other 
-Contributor ("Indemnified Contributor") against any losses, damages and 
-costs (collectively "Losses") arising from claims, lawsuits and other 
-legal actions brought by a third party against the Indemnified 
-Contributor to the extent caused by the acts or omissions of such 
-Commercial Contributor in connection with its distribution of the 
-Program in a commercial product offering. The obligations in this 
-section do not apply to any claims or Losses relating to any actual or 
-alleged intellectual property infringement. In order to qualify, an 
-Indemnified Contributor must: a) promptly notify the Commercial 
-Contributor in writing of such claim, and b) allow the Commercial 
-Contributor to control, and cooperate with the Commercial Contributor 
-in, the defense and any related settlement negotiations. The Indemnified 
-Contributor may participate in any such claim at its own expense.
-
-For example, a Contributor might include the Program in a commercial 
-product offering, Product X. That Contributor is then a Commercial 
-Contributor. If that Commercial Contributor then makes performance 
-claims, or offers warranties related to Product X, those performance 
-claims and warranties are such Commercial Contributor's responsibility 
-alone. Under this section, the Commercial Contributor would have to 
-defend claims against the other Contributors related to those 
-performance claims and warranties, and if a court requires any other 
-Contributor to pay any damages as a result, the Commercial Contributor 
-must pay those damages.
-
-5. NO WARRANTY
-
-EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, THE PROGRAM IS PROVIDED 
-ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, 
-EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY WARRANTIES 
-OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR FITNESS FOR 
-A PARTICULAR PURPOSE. Each Recipient is solely responsible for 
-determining the appropriateness of using and distributing the Program 
-and assumes all risks associated with its exercise of rights under this 
-Agreement, including but not limited to the risks and costs of program 
-errors, compliance with applicable laws, damage to or loss of data, 
-programs or equipment, and unavailability or interruption of operations.
-
-6. DISCLAIMER OF LIABILITY
-
-EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR 
-ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, 
-INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING 
-WITHOUT LIMITATION LOST PROFITS), 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 OR 
-DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED 
-HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
-
-7. GENERAL
-
-If any provision of this Agreement is invalid or unenforceable under 
-applicable law, it shall not affect the validity or enforceability of 
-the remainder of the terms of this Agreement, and without further action 
-by the parties hereto, such provision shall be reformed to the minimum 
-extent necessary to make such provision valid and enforceable.
-
-If Recipient institutes patent litigation against a Contributor with 
-respect to a patent applicable to software (including a cross-claim or 
-counterclaim in a lawsuit), then any patent licenses granted by that 
-Contributor to such Recipient under this Agreement shall terminate as of 
-the date such litigation is filed. In addition, if Recipient institutes 
-patent litigation against any entity (including a cross-claim or 
-counterclaim in a lawsuit) alleging that the Program itself (excluding 
-combinations of the Program with other software or hardware) infringes 
-such Recipient's patent(s), then such Recipient's rights granted under 
-Section 2(b) shall terminate as of the date such litigation is filed.
-
-All Recipient's rights under this Agreement shall terminate if it fails 
-to comply with any of the material terms or conditions of this Agreement 
-and does not cure such failure in a reasonable period of time after 
-becoming aware of such noncompliance. If all Recipient's rights under 
-this Agreement terminate, Recipient agrees to cease use and distribution 
-of the Program as soon as reasonably practicable. However, Recipient's 
-obligations under this Agreement and any licenses granted by Recipient 
-relating to the Program shall continue and survive.
-
-Everyone is permitted to copy and distribute copies of this Agreement, 
-but in order to avoid inconsistency the Agreement is copyrighted and may 
-only be modified in the following manner. The Agreement Steward reserves 
-the right to publish new versions (including revisions) of this 
-Agreement from time to time. No one other than the Agreement Steward has 
-the right to modify this Agreement. IBM is the initial Agreement 
-Steward. IBM may assign the responsibility to serve as the Agreement 
-Steward to a suitable separate entity. Each new version of the Agreement 
-will be given a distinguishing version number. The Program (including 
-Contributions) may always be distributed subject to the version of the 
-Agreement under which it was received. In addition, after a new version 
-of the Agreement is published, Contributor may elect to distribute the 
-Program (including its Contributions) under the new version. Except as 
-expressly stated in Sections 2(a) and 2(b) above, Recipient receives no 
-rights or licenses to the intellectual property of any Contributor under 
-this Agreement, whether expressly, by implication, estoppel or 
-otherwise. All rights in the Program not expressly granted under this 
-Agreement are reserved.
-
-This Agreement is governed by the laws of the State of New York and the 
-intellectual property laws of the United States of America. No party to 
-this Agreement will bring a legal action under this Agreement more than 
-one year after the cause of action arose. Each party waives its rights 
-to a jury trial in any resulting litigation. 

Deleted: trunk/eclipse-pydev/eclipse-pydev-gcj.postinst
===================================================================
--- trunk/eclipse-pydev/eclipse-pydev-gcj.postinst	2006-10-22 19:23:59 UTC (rev 2645)
+++ trunk/eclipse-pydev/eclipse-pydev-gcj.postinst	2006-10-22 19:26:10 UTC (rev 2646)
@@ -1,14 +0,0 @@
-#!/bin/sh
-
-set -e
-
-if [ -x /usr/sbin/update-gcj-classmaps-eclipse ]; then
-    /usr/sbin/update-gcj-classmaps-eclipse
-fi
-
-# dh_installdeb will replace this with shell code automatically
-# generated by other debhelper scripts.
-
-#DEBHELPER#
-
-exit 0

Deleted: trunk/eclipse-pydev/eclipse-pydev-gcj.postrm
===================================================================
--- trunk/eclipse-pydev/eclipse-pydev-gcj.postrm	2006-10-22 19:23:59 UTC (rev 2645)
+++ trunk/eclipse-pydev/eclipse-pydev-gcj.postrm	2006-10-22 19:26:10 UTC (rev 2646)
@@ -1,46 +0,0 @@
-#!/bin/sh -e
-
-db_update()
-{
-    # Merges per-package classmap databases into the system-wide classmap database.
-
-    gccversion=4.1
-
-    gcjdbtool=/usr/bin/gcj-dbtool-${gccversion}
-    classmapd=/usr/share/gcj/classmap.d
-    classmaps=/var/lib/gcj-${gccversion}/classmap.db
-
-    if [ ! -x $gcjdbtool ]; then
-	echo >&2 "skip classmap deregistration, $gcjdbtool not found".
-	return 0
-    fi
-
-    set +x
-
-    # Move into a temporary file to avoid editing the existing file. The existing
-    # file could be mmap()ed by gij processes.
-    find ${classmapd} -name '*.db' -print0 | ${gcjdbtool} -0 -m ${classmaps}.tmp
-    if [ $? -ne 0 ]; then
-        echo "error merging classmaps" >&2
-        set -x
-        return 1
-    fi
-
-    mv ${classmaps}.tmp ${classmaps}
-    if [ $? -ne 0 ]; then
-        echo "could not replace existing classmap database" >&2
-        set -x
-        return 1
-    fi
-    set -x
-}
-
-db_update
-
-
-# dh_installdeb will replace this with shell code automatically
-# generated by other debhelper scripts.
-
-#DEBHELPER#
-
-exit 0

Deleted: trunk/eclipse-pydev/eclipse-pydev.install
===================================================================
--- trunk/eclipse-pydev/eclipse-pydev.install	2006-10-22 19:23:59 UTC (rev 2645)
+++ trunk/eclipse-pydev/eclipse-pydev.install	2006-10-22 19:26:10 UTC (rev 2646)
@@ -1,2 +0,0 @@
-build_tree/tmp/eclipse/features/* usr/lib/eclipse/features
-build_tree/tmp/eclipse/plugins/* usr/lib/eclipse/plugins

Deleted: trunk/eclipse-pydev/rules
===================================================================
--- trunk/eclipse-pydev/rules	2006-10-22 19:23:59 UTC (rev 2645)
+++ trunk/eclipse-pydev/rules	2006-10-22 19:26:10 UTC (rev 2646)
@@ -1,177 +0,0 @@
-#!/usr/bin/make -f
-
-# Uncomment this to turn on verbose mode.
-#export DH_VERBOSE=1
-
-export LC_ALL=C
-CURDIR=$(shell pwd)
-RELENGDIR=org.python.pydev.releng
-DOCDIR=org.python.pydev.help/pydev.sf.net
-BUILD_TREE=$(CURDIR)/build_tree
-DEBIAN_TMP=$(CURDIR)/debian/tmp
-
-# GCJ configuration
-# GCJ_RUN		command line to launch gcj
-# AOT_COMPILE		command line to AOT compile jars to native
-GCJ_VERSION=4.1
-GCJ_RUN=/usr/bin/gcj-$(GCJ_VERSION)
-GCJ_DBTOOL=/usr/bin/gcj-dbtool-$(GCJ_VERSION)
-GCJ_JARDIR=/usr/lib/gcj-$(GCJ_VERSION)
-AOT_COMPILE=python $(CURDIR)/debian/aot-compile
-PYDEV_VERSION=1.2.0
-PYDEV_BUILD_ID=1_2_0
-
-# Virtual machine configuration
-ECLIPSE_HOME=/usr/lib/eclipse
-ECLIPSE_ARCH=usr/lib/eclipse
-JAVA_RUN=/usr/lib/jvm/java-gcj/bin/java
-JAVA_CLASSPATH=$(ECLIPSE_HOME)/startup.jar
-
-PACKAGE = eclipse-pydev
-enable_native = yes
-
-include /usr/share/dpatch/dpatch.make
-
-build: patch build-java
-build-java: build-java-stamp
-#build-doc: build-doc-stamp
-
-build-java-stamp: 
-	dh_testdir
-
-	cd $(RELENGDIR) && \
-	$(JAVA_RUN) \
-		--noverify \
-		-cp $(JAVA_CLASSPATH) \
-		org.eclipse.core.launcher.Main \
-		-application org.eclipse.ant.core.antRunner \
-		-buildfile build.xml \
-		-Dpde.build.scripts=$(ECLIPSE_HOME)/plugins/org.eclipse.pde.build_3.2.1.r321_v20060823/scripts \
-		-DjavacFailOnError=True \
-		-DEC_HOME=$(ECLIPSE_HOME) \
-		-DEC_WORKSPACE=$(CURDIR) \
-		-DbaseLocation=$(ECLIPSE_HOME) \
-		-DbuildDirectory=$(BUILD_TREE) \
-		-DeclipseResults=$(BUILD_TREE) \
-		-DPYDEV_VERSION=$(PYDEV_VERSION) \
-		-DBUILD_ID=$(PYDEV_BUILD_ID) \
-		-DdontFetchAnything=True \
-		-DcleanAfter=True
-
-	touch build-java-stamp
-
-build-gcj: build-gcj-stamp
-build-gcj-stamp: install-stamp
-	dh_testdir
-ifeq ($(enable_native),yes)
-	: # Generate gcj native libraries for every Jar in Eclipse. These get
-	: # placed into the ECLIPSE_ARCH structure which mirrors that of
-	: # ECLIPSE_HOME: by plugin.
-	mkdir -p debian/$(PACKAGE)/$(GCJ_JARDIR) && \
-	cd debian/$(PACKAGE)/$(ECLIPSE_HOME)/plugins && \
-	for jar in $$(find . -name '*.jar' | sort); do \
-		echo "$$jar" && \
-		mkdir -p $(CURDIR)/debian/$(PACKAGE)-gcj/$(GCJ_JARDIR)/$$(dirname $$jar) && \
-		$(AOT_COMPILE) $$jar $(CURDIR)/debian/$(PACKAGE)-gcj/$(GCJ_JARDIR)/$$jar.so || exit $$?; \
-	done
-
-	: # Remove these native plugins for one reason or another.
-	for so in \
-		org.eclipse.jface.text \
-		org.eclipse.ui.workbench \
-		org.eclipse.ui.forms; \
-	do \
-		find debian/$(PACKAGE)-gcj/$(GCJ_JARDIR) -name "$$so_\*.jar.so" -exec \
-			rm '{}' ';' || true; \
-	done
-endif
-	touch build-gcj-stamp
-
-#build-doc-stamp:
-#	dh_testdir
-#
-#	cd $(BUILD_TREE)/tmp/eclipse/plugins/org.python.pydev.help_$(PYDEV_VERSION)/pydev.sf.net && \
-#	python build.py
-#
-#	touch build-doc-stamp
-
-install: install-stamp
-install-stamp: build-java-stamp
-	dh_testdir
-	dh_testroot
-	pwd
-	dh_clean -k 
-	dh_installdirs
-	dh_install
-	dh_link
-	dh_python
-
-	# fix file permissions to comply with debian package policy
-	find debian/$(PACKAGE) -name '*.py' -a ! -perm +a+x -print | xargs grep -l '^#!' | xargs chmod a+x
-	# remove included bicyclerepair files included in the original sources
-	rm -rf debian/$(PACKAGE)/usr/lib/eclipse/plugins/org.python.pydev_$(PYDEV_VERSION)/PySrc/ThirdParty
-
-	touch install-stamp
-
-# Build architecture-independent files here.
-binary-indep: build install
-	dh_testdir -i
-	dh_testroot -i
-	dh_installdocs -i
-	dh_installchangelogs -i
-	dh_python -i
-	dh_compress -i
-	dh_fixperms -i
-	dh_installdeb -i
-	dh_gencontrol -i
-	dh_md5sums -i
-	dh_builddeb -i
-
-# Build architecture-dependent files here.
-binary-arch: build install build-gcj
-	dh_testdir -a
-	dh_testroot -a
-ifeq ($(enable_native),yes)
-	echo "generating classmaps for $(PACKAGE) ... "; \
-	mkdir -p debian/$(PACKAGE)-gcj/usr/share/gcj/classmap.d
-	if test -d debian/$(PACKAGE)/$(ECLIPSE_HOME)/plugins; then \
-	  ( cd debian/$(PACKAGE)/$(ECLIPSE_HOME)/plugins && \
-	    for jar in $$(find . -name '*.jar' -type f); do \
-	      echo '  ' $(PACKAGE)/$(ECLIPSE_HOME)/plugins/$${jar} '->' $(GCJ_JARDIR)/$${jar}.so; \
-	      $(GCJ_DBTOOL) \
-		-f $(CURDIR)/debian/$(PACKAGE)-gcj/usr/share/gcj/classmap.d/$(PACKAGE).db \
-		$${jar} $(GCJ_JARDIR)/$${jar}.so || exit 1; \
-	    done ); \
-	fi
-endif
-	dh_installdocs -a
-	dh_installexamples -a
-	dh_installmenu -a
-	dh_installman -a
-	dh_installinfo -a
-	dh_installchangelogs  -a
-	dh_link -a
-	dh_fixperms -a
-	dh_strip -a
-	dh_compress -a
-	dh_shlibdeps -a
-	dh_makeshlibs -a
-	dh_installdeb -a
-	dh_gencontrol -a
-	dh_md5sums -a
-	dh_builddeb -a
-
-binary: binary-indep binary-arch
-
-clean: clean-patched unpatch
-clean-patched:
-	dh_testdir
-	dh_testroot
-	dh_clean -k
-
-	rm -f *-stamp
-	rm -rf $(BUILD_TREE)
-	rm -rf $(RELENGDIR)/{workspace,results}
-	rm -rf debian/files
-
-.PHONY: build build-java install binary-indep binary-arch binary clean clean-patched




More information about the pkg-java-commits mailing list