[pkg-java] r16359 - in trunk: . visualvm visualvm/debian

Sylvestre Ledru sylvestre at alioth.debian.org
Mon Nov 19 09:34:38 UTC 2012


Author: sylvestre
Date: 2012-11-19 09:34:38 +0000 (Mon, 19 Nov 2012)
New Revision: 16359

Added:
   trunk/visualvm/
   trunk/visualvm/debian/
   trunk/visualvm/debian/changelog
   trunk/visualvm/debian/compat
   trunk/visualvm/debian/control
   trunk/visualvm/debian/copyright
   trunk/visualvm/debian/jvisualvm.sh
   trunk/visualvm/debian/rules
   trunk/visualvm/debian/visualvm-32x32.xpm
   trunk/visualvm/debian/visualvm-48x48.xpm
   trunk/visualvm/debian/visualvm.desktop
Log:
Initial upload of visualvm in Debian. Thanks to Doko for this

Added: trunk/visualvm/debian/changelog
===================================================================
--- trunk/visualvm/debian/changelog	                        (rev 0)
+++ trunk/visualvm/debian/changelog	2012-11-19 09:34:38 UTC (rev 16359)
@@ -0,0 +1,124 @@
+visualvm (1.3.3-2) unstable; urgency=low
+
+  * Fix path to the nbexec binary. LP: #1070444, LP: #1070778.
+
+ -- Matthias Klose <doko at ubuntu.com>  Fri, 16 Nov 2012 16:53:42 +0100
+
+visualvm (1.3.3-1) unstable; urgency=low
+
+  * Upload to unstable.
+  * Set maintainer to Debian Java Maintainers.
+
+ -- Matthias Klose <doko at ubuntu.com>  Thu, 11 Oct 2012 17:54:55 +0200
+
+visualvm (1.3.3-0ubuntu1) quantal; urgency=low
+
+  * New upstream version, supporting libnb-platform13-java.
+  * debian/jvisualvm.sh: Prefer OpenJDK 7 over OpenJDK 6.
+
+ -- Matthias Klose <doko at ubuntu.com>  Thu, 11 Oct 2012 16:55:54 +0200
+
+visualvm (1.3.2-0ubuntu3) quantal; urgency=low
+
+  * debian/jvisualvm.sh:
+    - look for OpenJDK 7 files also (LP: #937710)
+    - use multiarch-friendly paths for OpenJDK (LP: #1004370)
+
+ -- Aditya Vaidya <kroq.gar78 at gmail.com>  Sun, 27 May 2012 00:02:57 -0500
+
+visualvm (1.3.2-0ubuntu2) precise; urgency=low
+
+  * Build-depend on libnb-platform12-java, since the default is now
+    platform13 but visualvm doesn't support that yet (LP: #935481).
+  * Handle new multiarch-friendly OpenJDK installation paths.
+
+ -- Colin Watson <cjwatson at ubuntu.com>  Sun, 22 Apr 2012 14:50:10 +0100
+
+visualvm (1.3.2-0ubuntu1) oneiric; urgency=low
+
+  * New upstream version.
+  * Drop build dependency on libnb-apisupport2-java. LP: #832764.
+  * Fix jdk detection. LP: #657048.
+  * Update package description. LP: #813165.
+
+ -- Matthias Klose <doko at ubuntu.com>  Thu, 08 Sep 2011 13:38:19 +0200
+
+visualvm (1.3-0ubuntu2) maverick; urgency=low
+
+  * Add wget as a build dependency, required by the configury.
+
+ -- Matthias Klose <doko at ubuntu.com>  Thu, 26 Aug 2010 22:24:21 +0200
+
+visualvm (1.3-0ubuntu1) maverick; urgency=low
+
+  * New upstream version.
+
+ -- Matthias Klose <doko at ubuntu.com>  Thu, 26 Aug 2010 14:19:21 +0200
+
+visualvm (1.2.2-0ubuntu2) lucid-proposed; urgency=low
+
+  * Update the build number for 1.2.2, required by some visualvm plugins.
+    LP: #572360 .
+
+ -- Matthias Klose <doko at ubuntu.com>  Fri, 30 Apr 2010 15:36:54 +0200
+
+visualvm (1.2.2-0ubuntu1) lucid; urgency=low
+
+  * New upstream version, to build with netbeans-6.8. LP: #560138.
+  * Depend on libnb-platform11-java.
+  * Build-depend on libnb-apisupport1-java.
+
+ -- Matthias Klose <doko at ubuntu.com>  Wed, 21 Apr 2010 14:09:51 +0200
+
+visualvm (1.2.1-0ubuntu3) lucid; urgency=low
+
+  * debian/control: Really use Depends instead of Build-Depends.
+
+ -- Daniel T Chen <crimsun at ubuntu.com>  Mon, 28 Dec 2009 12:57:26 -0500
+
+visualvm (1.2.1-0ubuntu2) lucid; urgency=low
+
+  * debian/control: Depend on java6-sdk alternate (works with
+    sun-java6-jdk, too). Thanks, Martin Jordan!
+
+ -- Daniel T Chen <crimsun at ubuntu.com>  Mon, 28 Dec 2009 12:51:15 -0500
+
+visualvm (1.2.1-0ubuntu1) lucid; urgency=low
+
+  * New upstream version.
+  * Remove unneeded dependencies on libnb-ide11-java and libnb-apisupport1-java.
+
+ -- Matthias Klose <doko at ubuntu.com>  Wed, 11 Nov 2009 14:20:46 +0100
+
+visualvm (1.1.1-0ubuntu2) karmic; urgency=low
+
+  * Update build dependencies (netbeans-6.7).
+
+ -- Matthias Klose <doko at ubuntu.com>  Fri, 28 Aug 2009 13:05:25 +0200
+
+visualvm (1.1.1-0ubuntu1) karmic; urgency=low
+
+  * New upstream version.
+
+ -- Matthias Klose <doko at ubuntu.com>  Wed, 29 Jul 2009 15:00:41 +0200
+
+visualvm (0.20080728-1ubuntu2) jaunty; urgency=low
+
+  * Change dependency on libnb-platform9-java, libnb-ide10-java and
+    build-dependency on libnb-platform-devel-java, libnb-ide10-java.
+    LP: #348712.
+
+ -- Yulia Novozhilova <Yulia.Novozhilova at sun.com>  Tue, 07 Apr 2009 21:28:04 +0400
+
+visualvm (0.20080728-1ubuntu1) intrepid; urgency=low
+
+  * Add build dependency on unzip.
+
+ -- Matthias Klose <doko at ubuntu.com>  Tue, 07 Oct 2008 10:28:22 +0000
+
+visualvm (0.20080728-1) intrepid; urgency=low
+
+  * Initial snapshot.
+
+ -- Matthias Klose <doko at ubuntu.com>  Wed, 01 Oct 2008 10:31:06 +0000
+

Added: trunk/visualvm/debian/compat
===================================================================
--- trunk/visualvm/debian/compat	                        (rev 0)
+++ trunk/visualvm/debian/compat	2012-11-19 09:34:38 UTC (rev 16359)
@@ -0,0 +1 @@
+6

Added: trunk/visualvm/debian/control
===================================================================
--- trunk/visualvm/debian/control	                        (rev 0)
+++ trunk/visualvm/debian/control	2012-11-19 09:34:38 UTC (rev 16359)
@@ -0,0 +1,25 @@
+Source: visualvm
+Section: java
+Priority: extra
+Maintainer: Debian Java Maintainers <pkg-java-maintainers at lists.alioth.debian.org>
+Uploaders: Matthias Klose <doko at ubuntu.com>
+Build-Depends: debhelper (>= 6), openjdk-6-jdk, ant-optional, libnb-platform-devel-java (>= 7.0), libnb-platform13-java, wget
+Standards-Version: 3.9.3
+Homepage: https://visualvm.dev.java.net/
+
+Package: visualvm
+Architecture: any
+Depends: openjdk-6-jdk | openjdk-7-jdk | java6-sdk, libnb-platform13-java, ${shlibs:Depends}, ${misc:Depends}
+Description: All-in-One Java Troubleshooting Tool
+ VisualVM is a visual tool integrating several commandline JDK tools
+ and lightweight profiling capabilities. Designed for both production
+ and development time use, it further enhances the capability of
+ monitoring and performance analysis for the Java SE platform.
+ .
+ VisualVM is designed for
+  - Application Developers: Monitor, profile, take thread dumps,
+    browse heap dumps.
+  - System Administrators: Monitor and control Java applications
+    across the entire network.
+  - Java Application Users: Create bug reports containing all the
+    necessary information.

Added: trunk/visualvm/debian/copyright
===================================================================
--- trunk/visualvm/debian/copyright	                        (rev 0)
+++ trunk/visualvm/debian/copyright	2012-11-19 09:34:38 UTC (rev 16359)
@@ -0,0 +1,447 @@
+This package was debianized by Matthias Klose <doko at ubuntu.com>
+on Wed, 01 Oct 2008 10:31:06 +0000.
+
+It was downloaded from
+  https://visualvm.dev.java.net/files/documents/7163/146746/visualvm_122-src.tar.gz
+  https://visualvm.dev.java.net/files/documents/7163/149581/netbeans-profiler-visualvm_release68.tar.gz
+
+Upstream Authors:
+
+    Sun Microsystems, Inc
+
+Copyright:
+
+    <Copyright (C) 2007-2008 Sun Microsystems, Inc>
+
+License:
+
+/*
+ * Copyright 2007-2008 Sun Microsystems, Inc.  All Rights Reserved.
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * This code is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License version 2 only, as
+ * published by the Free Software Foundation.  Sun designates this
+ * particular file as subject to the "Classpath" exception as provided
+ * by Sun in the LICENSE file that accompanied this code.
+ *
+ * This code 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
+ * version 2 for more details (a copy is included in the LICENSE file that
+ * accompanied this code).
+ *
+ * You should have received a copy of the GNU General Public License version
+ * 2 along with this work; if not, write to the Free Software Foundation,
+ * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
+ *
+ * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
+ * CA 95054 USA or visit www.sun.com if you need additional information or
+ * have any questions.
+ */
+
+See /usr/share/common-licenses/GPL2 for the license text.
+
+The Debian packaging is (C) 2008, Matthias Klose <doko at ubuntu.com> and
+is licensed under the GPL, see `/usr/share/common-licenses/GPL'.
+
+  - - - - -   copyright notice and license for netbeans upstream   - - - - -
+
+Copyright 1997-2008 Sun Microsystems, Inc.
+
+LICENSE #1: The Common Development and Distribution License
+(CDDL), Version 1.0 governs your use of:
+NetBeans Platform software.
+
+LICENSE #2: The GNU General Public License (GPL), Version 2
+with the Classpath exception governs your use of:
+NetBeans Platform software
+
+------------------------------------------------------------
+
+LICENSE #1:
+
+COMMON DEVELOPMENT AND DISTRIBUTION LICENSE (CDDL) Version 1.0
+
+1. Definitions.
+
+1.1. Contributor means each individual or entity that creates or
+contributes to the creation of Modifications.
+
+1.2. Contributor Version means the combination of the Original
+Software, prior Modifications used by a Contributor (if any),
+and the Modifications made by that particular Contributor.
+
+1.3. Covered Software means (a) the Original Software, or (b)
+Modifications, or (c) the combination of files containing
+Original Software with files containing Modifications, in each
+case including portions thereof.
+
+1.4. Executable means the Covered Software in any form other
+than Source Code.
+
+1.5. Initial Developer means the individual or entity that first
+makes Original Software available under this License.
+
+1.6. Larger Workmeans a work which combines Covered Software or
+portions thereof with code not governed by the terms of this
+License.
+
+1.7. License means this document.
+
+1.8. Licensable means having the right to grant, to the maximum
+extent possible, whether at the time of the initial grant or
+subsequently acquired, any and all of the rights conveyed herein.
+
+1.9. Modifications means the Source Code and Executable form of
+any of the following: A. Any file that results from an addition
+to, deletion from or modification of the contents of a file
+containing Original Software or previous Modifications; B. Any
+new file that contains any part of the Original Software or
+previous Modification; or C. Any new file that is contributed or
+otherwise made available under the terms of this License.
+
+1.10. Original Software means the Source Code and Executable
+form of computer software code that is originally released under
+this License.
+
+1.11. Patent Claims means any patent claim(s), now owned or
+hereafter acquired, including without limitation, method,
+process, and apparatus claims, in any patent Licensable by
+grantor.
+
+1.12. Source Code means (a) the common form of computer software
+code in which modifications are made and (b) associated
+documentation included in or with such code.
+
+1.13. You (or Your) means an individual or a legal entity
+exercising rights under, and complying with all of the terms of,
+this License. For legal entities, You includes any entity which
+controls, is controlled by, or is under common control with You.
+For purposes of this definition, control means (a) the power,
+direct or indirect, to cause the direction or management of such
+entity, whether by contract or otherwise, or (b) ownership of
+more than fifty percent (50%) of the outstanding shares or
+beneficial ownership of such entity.
+
+2. License Grants.
+
+2.1. The Initial Developer Grant. Conditioned upon Your
+compliance with Section 3.1 below and subject to third party
+intellectual property claims, the Initial Developer hereby
+grants You a world-wide, royalty-free, non-exclusive license:
+
+(a) under intellectual property rights (other than patent or
+trademark) Licensable by Initial Developer, to use, reproduce,
+modify, display, perform, sublicense and distribute the Original
+Software (or portions thereof), with or without Modifications,
+and/or as part of a Larger Work; and
+
+(b) under Patent Claims infringed by the making, using or
+selling of Original Software, to make, have made, use, practice,
+sell, and offer for sale, and/or otherwise dispose of the
+Original Software (or portions thereof);
+
+(c) The licenses granted in Sections 2.1(a) and (b) are
+effective on the date Initial Developer first distributes or
+otherwise makes the Original Software available to a third party
+under the terms of this License;
+
+(d) Notwithstanding Section 2.1(b) above, no patent license is
+granted: (1) for code that You delete from the Original
+Software, or (2) for infringements caused by: (i) the
+modification of the Original Software, or (ii) the combination
+of the Original Software with other software or devices.
+
+2.2. Contributor Grant. Conditioned upon Your compliance with
+Section 3.1 below and subject to third party intellectual
+property claims, each Contributor hereby grants You a
+world-wide, royalty-free, non-exclusive license:
+
+(a) under intellectual property rights (other than patent or
+trademark) Licensable by Contributor to use, reproduce, modify,
+display, perform, sublicense and distribute the Modifications
+created by such Contributor (or portions thereof), either on an
+unmodified basis, with other Modifications, as Covered Software
+and/or as part of a Larger Work; and
+
+(b) under Patent Claims infringed by the making, using, or
+selling of Modifications made by that Contributor either alone
+and/or in combination with its Contributor Version (or portions
+of such combination), to make, use, sell, offer for sale, have
+made, and/or otherwise dispose of: (1) Modifications made by
+that Contributor (or portions thereof); and (2) the combination
+of Modifications made by that Contributor with its Contributor
+Version (or portions of such combination).
+
+(c) The licenses granted in Sections 2.2(a) and 2.2(b)
+areeffective on the date Contributor first distributes or
+otherwise makes the Modifications available to a third party.
+
+(d) Notwithstanding Section 2.2(b) above, no patent license is
+granted: (1) for any code that Contributor has deleted from the
+Contributor Version; (2) for infringements caused by: (i) third
+party modifications of Contributor Version, or (ii) the
+combination of Modifications made by that Contributor with other
+software (except as part of the Contributor Version) or other
+devices; or (3) under Patent Claims infringed by Covered
+Software in the absence of Modifications made by that
+Contributor.
+
+3. Distribution Obligations.
+
+3.1. Availability of Source Code. Any Covered Software that You
+distribute or otherwise make available in Executable form must
+also be made available in Source Code form and that Source Code
+form must be distributed only under the terms of this License.
+You must include a copy of this License with every copy of the
+Source Code form of the Covered Software You distribute or
+otherwise make available. You must inform recipients of any such
+Covered Software in Executable form as to how they can obtain
+such Covered Software in Source Code form in a reasonable manner
+on or through a medium customarily used for software exchange.
+
+3.2. Modifications. The Modifications that You create or to
+which You contribute are governed by the terms of this License.
+You represent that You believe Your Modifications are Your
+original creation(s) and/or You have sufficient rights to grant
+the rights conveyed by this License.
+
+3.3. Required Notices. You must include a notice in each of Your
+Modifications that identifies You as the Contributor of the
+Modification. You may not remove or alter any copyright, patent
+or trademark notices contained within the Covered Software, or
+any notices of licensing or any descriptive text giving
+attribution to any Contributor or the Initial Developer.
+
+3.4. Application of Additional Terms. You may not offer or
+impose any terms on any Covered Software in Source Code form
+that alters or restricts the applicable version of this License
+or the recipients rights hereunder. You may choose to offer, and
+to charge a fee for, warranty, support, indemnity or liability
+obligations to one or more recipients of Covered
+Software. However, you may do so only on Your own behalf, and
+not on behalf of the Initial Developer or any Contributor. You
+must make it absolutely clear that any such warranty, support,
+indemnity or liability obligation is offered by You alone, and
+You hereby agree to indemnify the Initial Developer and every
+Contributor for any liability incurred by the Initial Developer
+or such Contributor as a result of warranty, support, indemnity
+or liability terms You offer.
+
+3.5. Distribution of Executable Versions. You may distribute the
+Executable form of the Covered Software under the terms of this
+License or under the terms of a license of Your choice, which
+may contain terms different from this License, provided that You
+are in compliance with the terms of this License and that the
+license for the Executable form does not attempt to limit or
+alter the recipients rights in the Source Code form from the
+rights set forth in this License. If You distribute the Covered
+Software in Executable form under a different license, You must
+make it absolutely clear that any terms which differ from this
+License are offered by You alone, not by the Initial Developer
+or Contributor. You hereby agree to indemnify the Initial
+Developer and every Contributor for any liability incurred by
+the Initial Developer or such Contributor as a result of any
+such terms You offer.
+
+3.6. Larger Works. You may create a Larger Work by combining
+Covered Software with other code not governed by the terms of
+this License and distribute the Larger Work as a single product.
+In such a case, You must make sure the requirements of this
+License are fulfilled for the Covered Software.
+
+4. Versions of the License.
+
+4.1. New Versions. Sun Microsystems, Inc. is the initial license
+steward and may publish revised and/or new versions of this
+License from time to time. Each version will be given a
+distinguishing version number. Except as provided in Section
+4.3, no one other than the license steward has the right to
+modify this License.
+
+4.2. Effect of New Versions. You may always continue to use,
+distribute or otherwise make the Covered Software available
+under the terms of the version of the License under which You
+originally received the Covered Software. If the Initial
+Developer includes a notice in the Original Software prohibiting
+it from being distributed or otherwise made available under any
+subsequent version of the License, You must distribute and make
+the Covered Software available under the terms of the version of
+the License under which You originally received the Covered
+Software.  Otherwise, You may also choose to use, distribute or
+otherwise make the Covered Software available under the terms of
+any subsequent version of the License published by the license
+steward.
+
+4.3. Modified Versions. When You are an Initial Developer and
+You want to create a new license for Your Original Software, You
+may create and use a modified version of this License if You:
+(a) rename the license and remove any references to the name of
+the license steward (except to note that the license differs
+from this License); and (b) otherwise make it clear that the
+license contains terms which differ from this License.
+
+5. DISCLAIMER OF WARRANTY. COVERED SOFTWARE IS PROVIDED UNDER
+THIS LICENSE ON AN AS IS BASIS, WITHOUT WARRANTY OF ANY KIND,
+EITHER EXPRESSED OR IMPLIED, INCLUDING, WITHOUT LIMITATION,
+WARRANTIES THAT THE COVERED SOFTWARE IS FREE OF DEFECTS,
+MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE OR NON-INFRINGING.
+THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE COVERED
+SOFTWARE IS WITH YOU. SHOULD ANY COVERED SOFTWARE PROVE
+DEFECTIVE IN ANY RESPECT, YOU (NOT THE INITIAL DEVELOPER OR ANY
+OTHER CONTRIBUTOR) ASSUME THE COST OF ANY NECESSARY SERVICING,
+REPAIR OR CORRECTION. THIS DISCLAIMER OF WARRANTY CONSTITUTES AN
+ESSENTIAL PART OF THIS LICENSE. NO USE OF ANY COVERED SOFTWARE
+IS AUTHORIZED HEREUNDER EXCEPT UNDER THIS DISCLAIMER.
+
+6. TERMINATION.
+
+6.1. This License and the rights granted hereunder will
+terminate automatically if You fail to comply with terms herein
+and fail to cure such breach within 30 days of becoming aware of
+the breach. Provisions which, by their nature, must remain in
+effect beyond the termination of this License shall survive.
+
+6.2. If You assert a patent infringement claim (excluding
+declaratory judgment actions) against Initial Developer or a
+Contributor (the Initial Developer or Contributor against whom
+You assert such claim is referred to as Participant) alleging
+that the Participant Software (meaning the Contributor Version
+where the Participant is a Contributor or the Original Software
+where the Participant is the Initial Developer) directly or
+indirectly infringes any patent, then any and all rights granted
+directly or indirectly to You by such Participant, the Initial
+Developer (if the Initial Developer is not the Participant) and
+all Contributors under Sections 2.1 and/or 2.2 of this License
+shall, upon 60 days notice from Participant terminate
+prospectively and automatically at the expiration of such 60 day
+notice period, unless if within such 60 day period You withdraw
+Your claim with respect to the Participant Software against such
+Participant either unilaterally or pursuant to a written
+agreement with Participant.
+
+6.3. In the event of termination under Sections 6.1 or 6.2
+above, all end user licenses that have been validly granted by
+You or any distributor hereunder prior to termination (excluding
+licenses granted to You by any distributor) shall survive
+termination.
+
+7. LIMITATION OF LIABILITY. UNDER NO CIRCUMSTANCES AND UNDER NO
+LEGAL THEORY, WHETHER TORT (INCLUDING NEGLIGENCE), CONTRACT, OR
+OTHERWISE, SHALL YOU, THE INITIAL DEVELOPER, ANY OTHER
+CONTRIBUTOR, OR ANY DISTRIBUTOR OF COVERED SOFTWARE, OR ANY
+SUPPLIER OF ANY OF SUCH PARTIES, BE LIABLE TO ANY PERSON FOR ANY
+INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES OF ANY
+CHARACTER INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOST
+PROFITS, LOSS OF GOODWILL, WORK STOPPAGE, COMPUTER FAILURE OR
+MALFUNCTION, OR ANY AND ALL OTHER COMMERCIAL DAMAGES OR LOSSES,
+EVEN IF SUCH PARTY SHALL HAVE BEEN INFORMED OF THE POSSIBILITY
+OF SUCH DAMAGES. THIS LIMITATION OF LIABILITY SHALL NOT APPLY TO
+LIABILITY FOR DEATH OR PERSONAL INJURY RESULTING FROM SUCH
+PARTYS NEGLIGENCE TO THE EXTENT APPLICABLE LAW PROHIBITS SUCH
+LIMITATION. SOME JURISDICTIONS DO NOT ALLOW THE EXCLUSION OR
+LIMITATION OF INCIDENTAL OR CONSEQUENTIAL DAMAGES, SO THIS
+EXCLUSION AND LIMITATION MAY NOT APPLY TO YOU.
+
+8. U.S. GOVERNMENT END USERS. The Covered Software is a
+commercial item, as that term is defined in 48 C.F.R. 2.101
+(Oct. 1995), consisting of commercial computer software (as that
+term is defined at 48 C.F.R. 252.227-7014(a)(1)) and commercial
+computer software documentation as such terms are used in 48
+C.F.R. 12.212 (Sept. 1995). Consistent with 48 C.F.R. 12.212 and
+48 C.F.R. 227.7202-1 through 227.7202-4 (June 1995), all
+U.S. Government End Users acquire Covered Software with only
+those rights set forth herein. This U.S. Government Rights
+clause is in lieu of, and supersedes, any other FAR, DFAR, or
+other clause or provision that addresses Government rights in
+computer software under this License.
+
+9. MISCELLANEOUS. This License represents the complete agreement
+concerning subject matter hereof. If any provision of this
+License is held to be unenforceable, such provision shall be
+reformed only to the extent necessary to make it enforceable.
+This License shall be governed by the law of the jurisdiction
+specified in a notice contained within the Original Software
+(except to the extent applicable law, if any, provides
+otherwise), excluding such jurisdictions conflict-of-law
+provisions. Any litigation relating to this License shall be
+subject to the jurisdiction of the courts located in the
+jurisdiction and venue specified in a notice contained within
+the Original Software, with the losing party responsible for
+costs, including, without limitation, court costs and reasonable
+attorneys fees and expenses. The application of the United
+Nations Convention on Contracts for the International Sale of
+Goods is expressly excluded. Any law or regulation which
+provides that the language of a contract shall be construed
+against the drafter shall not apply to this License. You agree
+that You alone are responsible for compliance with the United
+States export administration regulations (and the export control
+laws and regulation of any other countries) when You use,
+distribute or otherwise make available any Covered Software.
+
+10. RESPONSIBILITY FOR CLAIMS. As between Initial Developer and
+the Contributors, each party is responsible for claims and
+damages arising, directly or indirectly, out of its utilization
+of rights under this License and You agree to work with Initial
+Developer and Contributors to distribute such responsibility on
+an equitable basis. Nothing herein is intended or shall be
+deemed to constitute any admission of liability.
+
+----------------------------------------------------------------
+
+NOTICE PURSUANT TO SECTION 9 OF THE COMMON DEVELOPMENT AND
+DISTRIBUTION LICENSE (CDDL): This code is released under the
+CDDL and shall be governed by the laws of the State of
+California (excluding conflict-of-law provisions). Any
+litigation relating to this License shall be subject to the
+jurisdiction of the Federal Courts of the Northern District of
+California and the state courts of the State of California, with
+venue lying in Santa Clara County, California.
+
+------------------------------------------------------------
+
+LICENSE #2:
+
+Use of this software is governed by the terms of the license below:
+
+The GNU General Public License (GPL), Version 2 with the Classpath exception
+
+    This program 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 of the
+    License, or (at your option) any later version.
+
+    This program 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 this program; if not, write to the Free Software
+    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston,
+    MA 02110-1301, USA
+
+On Debian GNU/Linux systems, the complete text of the GNU General
+Public License can be found in `/usr/share/common-licenses/GPL-2'.
+
+"CLASSPATH" EXCEPTION TO THE GPL VERSION 2
+Certain source files distributed by Sun Microsystems, Inc. are subject
+to the following clarification and special exception to the GPL, but
+only where Sun has expressly included in the particular source file's
+header the words "Sun designates this particular file as subject to
+the "Classpath" exception as provided by Sun in the LICENSE file that
+accompanied this code."
+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/visualvm/debian/jvisualvm.sh
===================================================================
--- trunk/visualvm/debian/jvisualvm.sh	                        (rev 0)
+++ trunk/visualvm/debian/jvisualvm.sh	2012-11-19 09:34:38 UTC (rev 16359)
@@ -0,0 +1,74 @@
+#!/bin/sh
+
+#
+# resolve symlinks
+#
+
+PRG=$0
+progdir=/usr/bin
+APPNAME=visualvm
+BASEDIR=/usr/lib/visualvm
+ARCH=`dpkg --print-architecture`
+
+jdkhome=
+for j in /usr/lib/jvm/java-6-openjdk-$ARCH /usr/lib/jvm/java-7-openjdk-$ARCH /usr/lib/jvm/java-6-sun; do
+    if [ -x $j/bin/javac ]; then
+	jdkhome=$j
+	break
+    fi
+done
+if [ -z "$jdkhome" ]; then
+    echo >&2 "No jdkhome found"
+    exit 1
+fi
+
+. "$BASEDIR/etc/$APPNAME".conf
+
+# XXX does not correctly deal with spaces in non-userdir params
+args=""
+
+userdir="${default_userdir}"
+
+while [ $# -gt 0 ] ; do
+    case "$1" in
+        --userdir) shift; if [ $# -gt 0 ] ; then userdir="$1"; fi
+            ;;
+        *) args="$args \"$1\""
+            ;;
+    esac
+    shift
+done
+
+if [ -f "${userdir}/etc/$APPNAME".conf ] ; then
+    . "${userdir}/etc/$APPNAME".conf
+fi
+
+readClusters() {
+  if [ -x /usr/ucb/echo ]; then
+    echo=/usr/ucb/echo
+  else
+    echo=echo
+  fi
+  while read X; do
+    if [ "$X" \!= "" ]; then
+      $echo "$BASEDIR/$X"
+    fi
+  done
+}
+
+clusters=`(cat "$BASEDIR/etc/$APPNAME".clusters; echo) | readClusters | tr '\012' ':'`
+
+if [ ! -z "$extra_clusters" ] ; then
+    clusters="$clusters:$extra_clusters"
+fi
+
+nbexec=`echo "$BASEDIR"/platform*/lib/nbexec`
+nbexec=/usr/share/netbeans/platform13/lib/nbexec
+
+eval exec /bin/bash '"$nbexec"' \
+            --jdkhome '"$jdkhome"' \
+            --branding '"$APPNAME"' \
+            --clusters '"$clusters"' \
+            --userdir '"${userdir}"' \
+            ${default_options} \
+            "$args"

Added: trunk/visualvm/debian/rules
===================================================================
--- trunk/visualvm/debian/rules	                        (rev 0)
+++ trunk/visualvm/debian/rules	2012-11-19 09:34:38 UTC (rev 16359)
@@ -0,0 +1,102 @@
+#!/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)
+
+p = visualvm
+d = debian/visualvm
+
+v_api  = 2
+v_plat = 11
+
+export JAVA_HOME = $(firstword $(wildcard /usr/lib/jvm/java-7-openjdk-$(DEB_HOST_ARCH) /usr/lib/jvm/java-6-openjdk-$(DEB_HOST_ARCH) /usr/lib/jvm/java-6-openjdk))
+
+NETBEANS_PROFILER_SRC_ZIP = netbeans-profiler-visualvm_release701.tar.gz
+VISUALVM_SRC_ZIP = visualvm_133-src.tar.gz
+SYSTEM_NETBEANS_DIR = /usr/share/netbeans
+
+configure: configure-stamp
+configure-stamp:
+	dh_testdir
+	./configure --prefix=/usr \
+		--sysconfdir=/etc/visualvm \
+		--with-jdk-home=$(JAVA_HOME) \
+		--with-visualvm-version=1.3.3 \
+
+#		--with-visualvm-zip=$(CURDIR)/$(VISUALVM_SRC_ZIP) \
+#		--with-netbeans-profiler-zip=$(CURDIR)/$(NETBEANS_PROFILER_SRC_ZIP)
+	touch $@
+
+build: build-stamp
+build-stamp: configure-stamp
+	dh_testdir
+	$(MAKE)
+	touch $@
+
+clean:
+	dh_testdir
+	dh_testroot
+	rm -f *-stamp
+	if [ -f Makefile ]; then \
+	  $(MAKE) clean; \
+	  rm -f Makefile; \
+	else \
+	  rm -f config.log config.status; \
+	fi
+	rm -f config.log config.status visualvm.desktop
+	rm -rf stamps
+	dh_clean
+
+install: build
+	dh_testdir
+	dh_testroot
+	dh_clean -k 
+	dh_installdirs \
+		etc/visualvm \
+		usr/lib/visualvm/etc \
+
+	$(MAKE) install DESTDIR=$(CURDIR)/$(d)
+
+	
+	for i in visualvm.conf visualvm.clusters; do \
+	  ln -s /etc/visualvm/$$i $(d)/usr/lib/visualvm/etc/$$i; \
+	done
+
+	cp debian/jvisualvm.sh $(d)/usr/bin/jvisualvm
+
+	rm -f $(d)/usr/share/visualvm.desktop
+
+# 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 
+	dh_installdocs
+	dh_installexamples
+	install -m 644 -D debian/visualvm-32x32.xpm \
+		$(d)/usr/share/icons/hicolor/32x32/apps/visualvm.xpm
+	install -m 644 -D debian/visualvm-48x48.xpm \
+		$(d)/usr/share/icons/hicolor/48x48/apps/visualvm.xpm
+	install -m 644 -D debian/visualvm.desktop \
+		$(d)/usr/share/applications/visualvm.desktop
+	dh_icons
+#	dh_installmenu
+	dh_installman
+	dh_strip
+	dh_compress
+	dh_fixperms
+	dh_installdeb
+	dh_shlibdeps
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install configure


Property changes on: trunk/visualvm/debian/rules
___________________________________________________________________
Added: svn:executable
   + *

Added: trunk/visualvm/debian/visualvm-32x32.xpm
===================================================================
--- trunk/visualvm/debian/visualvm-32x32.xpm	                        (rev 0)
+++ trunk/visualvm/debian/visualvm-32x32.xpm	2012-11-19 09:34:38 UTC (rev 16359)
@@ -0,0 +1,133 @@
+/* XPM */
+static char * visualvm32_xpm[] = {
+"32 32 98 2",
+"  	c None",
+". 	c #F8B58C",
+"+ 	c #F58846",
+"@ 	c #F6985E",
+"# 	c #FBCDB1",
+"$ 	c #F3762A",
+"% 	c #F37021",
+"& 	c #F69B65",
+"* 	c #F9BB96",
+"= 	c #F58A4A",
+"- 	c #F47C33",
+"; 	c #F7A676",
+"> 	c #F6A16D",
+", 	c #F58F52",
+"' 	c #F69E6A",
+") 	c #F9CAAD",
+"! 	c #F6A370",
+"~ 	c #F8C2A1",
+"{ 	c #F6A270",
+"] 	c #F7B086",
+"^ 	c #F7AE83",
+"/ 	c #F8BF9D",
+"( 	c #F58B4B",
+"_ 	c #F47D36",
+": 	c #F5965C",
+"< 	c #F47F39",
+"[ 	c #F37B33",
+"} 	c #F7B994",
+"| 	c #F59154",
+"1 	c #F5965E",
+"2 	c #F8CDB2",
+"3 	c #F5A575",
+"4 	c #F48745",
+"5 	c #F8D4BE",
+"6 	c #F3772D",
+"7 	c #F37327",
+"8 	c #F7D0B8",
+"9 	c #F5A879",
+"0 	c #F5A372",
+"a 	c #F37225",
+"b 	c #F5AE83",
+"c 	c #F6C9AE",
+"d 	c #F37930",
+"e 	c #F49D69",
+"f 	c #F5AD82",
+"g 	c #F6CFB8",
+"h 	c #F38644",
+"i 	c #F5B691",
+"j 	c #F38C4D",
+"k 	c #F5B189",
+"l 	c #F49E6B",
+"m 	c #F37529",
+"n 	c #F49B65",
+"o 	c #F4B38C",
+"p 	c #F39B65",
+"q 	c #F5CAB1",
+"r 	c #F5D0BA",
+"s 	c #F4965E",
+"t 	c #F5C2A4",
+"u 	c #F39962",
+"v 	c #F4C4A6",
+"w 	c #F37123",
+"x 	c #F37022",
+"y 	c #F3762B",
+"z 	c #F37A31",
+"A 	c #F4B28A",
+"B 	c #F4B894",
+"C 	c #F3A270",
+"D 	c #F3A373",
+"E 	c #F3782E",
+"F 	c #F39760",
+"G 	c #F2C3A7",
+"H 	c #F2B38E",
+"I 	c #F29156",
+"J 	c #F27A32",
+"K 	c #F2803C",
+"L 	c #EDCDB9",
+"M 	c #F1803C",
+"N 	c #EF9A67",
+"O 	c #F18748",
+"P 	c #EDC9B4",
+"Q 	c #F27529",
+"R 	c #EEBDA0",
+"S 	c #F0B998",
+"T 	c #F27B33",
+"U 	c #F2772C",
+"V 	c #F0B591",
+"W 	c #F2CEBA",
+"X 	c #F39258",
+"Y 	c #F3945B",
+"Z 	c #F3BF9F",
+"` 	c #F4A06E",
+" .	c #F38847",
+"..	c #F5C7AC",
+"+.	c #F37D36",
+"@.	c #F59F6C",
+"#.	c #F6A676",
+"$.	c #F8C7AA",
+"                                                                ",
+"                                                                ",
+"              . + @                                             ",
+"            # $ % % &                                           ",
+"            * % % % =                                           ",
+"              - % % ;                                           ",
+"                > ,                                             ",
+"                  '                         ) ! ! ~             ",
+"                  {                       ] % % % % ^           ",
+"                  /         ( _ :         < % % % % [           ",
+"                    }     | % % % 1     2 % % % % % % 2         ",
+"                    3     4 % % % 4     5 6 % % % % 7 8         ",
+"                    9     0 % % a b     c d % % % % e           ",
+"                    f g     h h i       j k l m m n             ",
+"                    o p q r s       t u                         ",
+"                  v h w x y z A   B C                           ",
+"                D w % % % % % % E F                             ",
+"              G w % % % % % % % x H                             ",
+"              I % % % % % % % % % J                             ",
+"              K % % % % % % % % % %                             ",
+"            L J % % % % % % % % % %                             ",
+"              M % % % % % % % % % %                             ",
+"              N % % % % % % % % % O                             ",
+"              P % % % % % % % % Q R                             ",
+"                S T % % % % % U V                               ",
+"                  W X m % % Y G                                 ",
+"                          Z                                     ",
+"                          `  ...                                ",
+"                          +.% @.                                ",
+"                          #.[ $.                                ",
+"                                                                ",
+"                                                                "};

Added: trunk/visualvm/debian/visualvm-48x48.xpm
===================================================================
--- trunk/visualvm/debian/visualvm-48x48.xpm	                        (rev 0)
+++ trunk/visualvm/debian/visualvm-48x48.xpm	2012-11-19 09:34:38 UTC (rev 16359)
@@ -0,0 +1,130 @@
+/* XPM */
+static char * visualvm_xpm[] = {
+"48 48 79 1",
+" 	c None",
+".	c #F9B890",
+"+	c #F69459",
+"@	c #F8A674",
+"#	c #F37021",
+"$	c #F58B4B",
+"%	c #FBD2BA",
+"&	c #F7A574",
+"*	c #F69C66",
+"=	c #F9C8AB",
+"-	c #F58A4A",
+";	c #F4823D",
+">	c #F8B78F",
+",	c #FADAC6",
+"'	c #FAD1B8",
+")	c #F69358",
+"!	c #F9BF9D",
+"~	c #F9C8AA",
+"{	c #F8B68F",
+"]	c #F7AD81",
+"^	c #F8BF9C",
+"/	c #F6A573",
+"(	c #F4823C",
+"_	c #F9D0B8",
+":	c #F4813C",
+"<	c #F7B68E",
+"[	c #F59358",
+"}	c #F6B58E",
+"|	c #F59357",
+"1	c #F59B65",
+"2	c #F6BD9B",
+"3	c #F7C6A9",
+"4	c #F6B48D",
+"5	c #F5A372",
+"6	c #F48A4A",
+"7	c #F6C5A8",
+"8	c #F6CDB5",
+"9	c #F49A64",
+"0	c #F6BC9A",
+"a	c #F48949",
+"b	c #F6D5C2",
+"c	c #F5CDB5",
+"d	c #F5CCB4",
+"e	c #F4A372",
+"f	c #F3782E",
+"g	c #F5C4A7",
+"h	c #F5D5C1",
+"i	c #F3813C",
+"j	c #F49256",
+"k	c #F4AB7E",
+"l	c #F4D4C1",
+"m	c #F38949",
+"n	c #F39055",
+"o	c #F2C9B1",
+"p	c #F28848",
+"q	c #F0B895",
+"r	c #F19761",
+"s	c #EFCEBB",
+"t	c #F18F54",
+"u	c #EDCDBA",
+"v	c #ECCCB9",
+"w	c #EEAC85",
+"x	c #EAD2C4",
+"y	c #F27F3A",
+"z	c #EDBC9F",
+"A	c #EECDBA",
+"B	c #F28747",
+"C	c #F0BFA2",
+"D	c #F1C9B0",
+"E	c #F29055",
+"F	c #F3B18A",
+"G	c #F38948",
+"H	c #F39963",
+"I	c #F3C2A4",
+"J	c #F3A270",
+"K	c #F4A271",
+"L	c #F49257",
+"M	c #F6A473",
+"N	c #F7BE9C",
+"                                                ",
+"                                                ",
+"                                                ",
+"           .++.                                 ",
+"          @####$                                ",
+"          ######%                               ",
+"          ######.                               ",
+"          ######%                               ",
+"          @####$                                ",
+"           .$#+                                 ",
+"             &*                                 ",
+"             =-                  =;##;>         ",
+"              #                 &######&        ",
+"              -,     '&)!      ~########{       ",
+"              ]^    /####-     -########(       ",
+"              _/    ######{    ##########       ",
+"               :   <######[    ##########       ",
+"               :   }######|    |########:       ",
+"               12   ######}    1########3       ",
+"               41   5####6    7########5        ",
+"               8#    9:97    0#9 8a##a7         ",
+"               b#c   :d     efg                 ",
+"               h#f#fa#d    9i                   ",
+"              j########k lim                    ",
+"             f##########i#m                     ",
+"            f############f                      ",
+"           n##############o                     ",
+"           ###############p                     ",
+"          q################                     ",
+"          r################s                    ",
+"          t################u                    ",
+"          t################v                    ",
+"          w################                     ",
+"          x###############y                     ",
+"           t##############z                     ",
+"           A#############B                      ",
+"            C###########f                       ",
+"             Df########E                        ",
+"               FG####HI                         ",
+"                    J                           ",
+"                    kK                          ",
+"                   8###b                        ",
+"                   L###4                        ",
+"                   M###N                        ",
+"                    *#&                         ",
+"                                                ",
+"                                                ",
+"                                                "};

Added: trunk/visualvm/debian/visualvm.desktop
===================================================================
--- trunk/visualvm/debian/visualvm.desktop	                        (rev 0)
+++ trunk/visualvm/debian/visualvm.desktop	2012-11-19 09:34:38 UTC (rev 16359)
@@ -0,0 +1,8 @@
+[Desktop Entry]
+Name=VisualVM
+Comment=All-in-One Java Troubleshooting Tool
+Exec=/usr/bin/jvisualvm
+Icon=visualvm.xpm
+Categories=Development;Java;
+Terminal=false
+Type=Application




More information about the pkg-java-commits mailing list