debian/0000755000000000000000000000000012234251335007166 5ustar debian/README.Debian0000644000000000000000000000113412234251335011226 0ustar libjide-oss-java for Debian =========================== To make libjide-oss-java compile on Debian systems, it was necessary to make changes to the official sources. Debian cannot rely on the prebuilt jar files in the libs directory, namely ui.jar, which is part of Apple's "Look and Feel". Therefore the file src/com/jidesoft/plaf/aqua/AquaRangeSliderUI.java was removed and src/com/jidesoft/plaf/aqua/AquaJidePopupMenuUI.java was patched to replace com.apple.laf with a standard component instead of a vendor specific extension. -- Markus Koschany Fri, 15 Mar 2013 16:29:31 +0100 debian/libjide-oss-java.jlibs0000644000000000000000000000002412234251335013332 0ustar jide-oss-3.5.10.jar debian/libjide-oss-java-doc.docs0000644000000000000000000000005312234251335013724 0ustar docs/JIDE_Common_Layer_Developer_Guide.pdf debian/watch0000644000000000000000000000032312234251335010215 0ustar version=3 opts=dversionmangle=s/(\da?)[\+\.\-~](?:dfsg|debian|ds|repack|repacked)\.?\d*$/$1/ \ https://github.com/jidesoft/jide-oss/tags \ .*/archive/(?:upstream/)?(?:v||version-|release-|X|R|r)(\d\S*)\.tar\.gz debian/rules0000755000000000000000000000247112234251335010252 0ustar #!/usr/bin/make -f # export DH_VERBOSE=1 export JAVA_HOME=/usr/lib/jvm/default-java DPATH := $(abspath $(dir $(MAKEFILE_LIST))) DTYPE := +dfsg PKG := libjide-oss-java VER ?= $(shell dpkg-parsechangelog -l$(DPATH)/changelog | perl -ne 'print $$1 if m{Version:\s*([\d\.]+)}') %: dh $@ --parallel --with javahelper,jh_maven_repo_helper override_dh_clean: dh_clean $(RM) -r $(CURDIR)/classes $(RM) -r $(CURDIR)/javadoc $(RM) $(CURDIR)/jide-oss-*.jar $(RM) $(CURDIR)/jide-oss-src-*.zip .PHONY: get-orig-source ## http://wiki.debian.org/onlyjob/get-orig-source get-orig-source: $(PKG)_$(VER).orig.tar.xz @ $(PKG)_$(VER).orig.tar.xz: @echo "# Cloning upstream git repository..." git clone https://github.com/jidesoft/jide-oss.git $(PKG)-$(VER) @echo "# Clean-up..." cd $(PKG)-$(VER) \ && git checkout -b debiansource $(VER) \ && for F in $$(git ls-tree -r --name-only HEAD); \ do touch --no-dereference -d "$$(git log -1 --format="%ai" -- "$$F")" "$$F"; done \ && git log --pretty --numstat --summary | git2cl > ChangeLog \ && $(RM) -r -v \ libs/ \ src/com/jidesoft/plaf/aqua/AquaRangeSliderUI.java \ .git/ @echo "# Packing..." find -L "$(PKG)-$(VER)" -xdev -type f -print | sort \ | XZ_OPT="-6v" tar -caf "$(PKG)_$(VER)$(DTYPE).orig.tar.xz" -T- --owner=root --group=root --mode=a+rX \ && $(RM) -r "$(PKG)-$(VER)" debian/changelog0000644000000000000000000000210212234251335011033 0ustar libjide-oss-java (3.5.10+dfsg-1) unstable; urgency=low * [1c22fd4] Imported Upstream version 3.5.10+dfsg. * [910812b] Update libjide-oss-java.jlibs to 3.5.10. * [588ac98] debian/control: - Add maven-repo-helper to Build-Depends. * [437116c] debian/rules: - Build with javahelper plugin jh_maven_repo_helper. * [0329e02] Add libjide-oss-java.poms. * [a94b69d] Improve debian/watch file. Thanks to Bart Martens for writing it. * [ee9e090] Produce identical tarballs. - Improve get-orig-source target by setting the timestamps correctly and by sorting the files before the compression step with tar. * [c89d398] Remove override for dh_builddeb. - xz is the default compressor now. * Bump Standards-Version to 3.9.5, no changes. * Ensure that the package can be built twice in a row. Update dh_clean override. -- Markus Koschany Wed, 30 Oct 2013 19:40:45 +0100 libjide-oss-java (3.5.3+dfsg-1) unstable; urgency=low * Initial release. (Closes: #703198) -- Markus Koschany Sun, 17 Mar 2013 19:49:12 +0100 debian/patches/0000755000000000000000000000000012234251335010615 5ustar debian/patches/XPStyle.java.patch0000644000000000000000000000303112234251335014123 0ustar From: Markus Koschany Date: Thu, 14 Mar 2013 00:26:09 +0100 Subject: XPStyle.java Make XPStyle.java compile --- src/com/jidesoft/plaf/windows/XPStyle.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/com/jidesoft/plaf/windows/XPStyle.java b/src/com/jidesoft/plaf/windows/XPStyle.java index 74d4938..2b4f233 100644 --- a/src/com/jidesoft/plaf/windows/XPStyle.java +++ b/src/com/jidesoft/plaf/windows/XPStyle.java @@ -635,7 +635,7 @@ public class XPStyle { protected void paintToImage(Component c, Image image, Graphics g, int w, int h, Object[] args) { - if (!SystemInfo.isJdk7Above()) { +/* if (!SystemInfo.isJdk7Above()) { sun.awt.image.CachingSurfaceManager csm = null; boolean accEnabled = false; Skin skin = (Skin) args[0]; @@ -672,7 +672,7 @@ public class XPStyle { } } else { // copied from JDK7 XPStyle. To make the code compilable under JDk6, we use RefectionUtils - boolean accEnabled = false; +*/ boolean accEnabled = false; Skin skin = (Skin) args[0]; Part part = skin.part; State state = (State) args[1]; @@ -701,7 +701,7 @@ public class XPStyle { catch (Exception e) { e.printStackTrace(); } - } +// } } protected Image createImage(Component c, int w, int h, debian/patches/series0000644000000000000000000000006212234251335012030 0ustar AquaJidePopupMenuUI.java.patch XPStyle.java.patch debian/patches/AquaJidePopupMenuUI.java.patch0000644000000000000000000000176012234251335016354 0ustar From: Markus Koschany Date: Wed, 13 Mar 2013 23:01:23 +0100 Subject: AquaJidePopupMenuUI.java Replace com.apple.laf with a standard component instead of a vendor specific extension. --- src/com/jidesoft/plaf/aqua/AquaJidePopupMenuUI.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/com/jidesoft/plaf/aqua/AquaJidePopupMenuUI.java b/src/com/jidesoft/plaf/aqua/AquaJidePopupMenuUI.java index c3a25fe..f47df6e 100644 --- a/src/com/jidesoft/plaf/aqua/AquaJidePopupMenuUI.java +++ b/src/com/jidesoft/plaf/aqua/AquaJidePopupMenuUI.java @@ -6,13 +6,13 @@ package com.jidesoft.plaf.aqua; -import com.apple.laf.AquaPopupMenuUI; +import javax.swing.plaf.PopupMenuUI; import com.jidesoft.plaf.basic.BasicJidePopupMenuUI; import javax.swing.*; import javax.swing.plaf.ComponentUI; -public class AquaJidePopupMenuUI extends AquaPopupMenuUI { +public class AquaJidePopupMenuUI extends PopupMenuUI { public AquaJidePopupMenuUI() { } debian/libjide-oss-java.poms0000644000000000000000000000003412234251335013206 0ustar pom.xml --usj-name=jide-oss debian/libjide-oss-java-doc.javadoc0000644000000000000000000000001012234251335014374 0ustar javadoc debian/source/0000755000000000000000000000000012234251335010466 5ustar debian/source/format0000644000000000000000000000001412234251335011674 0ustar 3.0 (quilt) debian/README.source0000644000000000000000000000072612234251335011352 0ustar libjide-oss-java for Debian =========================== The source code of jide-oss is hosted at github.com. Please use debian/rules get-orig-source to obtain it. To comply with the DFSG all prebuilt *.jar files were removed. It was also necessary to remove /src/com/jidesoft/plaf/aqua/AquaRangeSliderUI.java because it depends on Apple's "Look and Feel" class which is not available for Debian. -- Markus Koschany Fri, 15 Mar 2013 16:29:31 +0100 debian/compat0000644000000000000000000000000212234251335010364 0ustar 9 debian/copyright0000644000000000000000000002250212234251335011122 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: Jide Common Layer (Open Source Project) Upstream-Contact: JIDE Software, Inc. Source: https://github.com/jidesoft/jide-oss Files: * Copyright: 1995,2006, Oracle and/or its affiliates 2005-2012, Catalysoft Ltd 2002-2013, JIDE Software, Inc. License: GPL-2-with-classpath-exception Comment: All files by Oracle and/or its affiliates are copyright GPL-2-with-classpath-exception despite the misleading license header which indicates a proprietary license. These files were taken from the OpenJDK project and were modified by JIDE Software, Inc. See also the official statement from JIDE Support at http://www.jidesoft.com/forum/viewtopic.php?f=18&t=14432. Files: src/com/jidesoft/swing/CornerScroller.java src/com/jidesoft/swing/InfiniteProgressPanel.java src/com/jidesoft/plaf/aqua/AquaPreferences.java src/com/jidesoft/plaf/aqua/BinaryPListParser.java Copyright: 2005, Werner Randelshofer 2005, romain guy, craig wickesser, henry story 2007, Davide Raccagni License: BSD-3-clause Comment: AquaPreferences.java and BinaryPListParser.java are from Quaqua (Werner Randelshofer) and are licensed under the BSD-3-clause. JIDE Support confirmed this at http://www.jidesoft.com/forum/viewtopic.php?f=18&t=14432. See also the License terms at http://www.randelshofer.ch/quaqua/. Files: src/com/jidesoft/plaf/aqua/XMLElement.java src/com/jidesoft/plaf/aqua/XMLParseException.java Copyright: 2000-2002, Marc De Scheemaecker License: Zlib Files: src/com/jidesoft/comparator/ComparableComparator.java Copyright: 2001, The Apache Software Foundation License: Apache-License-1.1 Files: src/com/jidesoft/comparator/AlphanumComparator.java src/com/jidesoft/comparator/AlphanumFileComparator.java Copyright: 2002-2013, JIDE Software, Inc. License: LGPL-2.1+ On Debian systems, the complete text of the Lesser General Public License can be found in "/usr/share/common-licenses/LGPL-2.1". Files: debian/* Copyright: 2013, Markus Koschany License: GPL-2-with-classpath-exception License: GPL-2-with-classpath-exception This package is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License 2 as published by the Free Software Foundation. . This package 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, see . On Debian systems, the complete text of the GNU General Public License version 2 can be found in "/usr/share/common-licenses/GPL-2". . "CLASSPATH" EXCEPTION TO THE GPL . Certain source files distributed by Oracle America and/or its affiliates are subject to the following clarification and special exception to the GPL, but only where Oracle has expressly included in the particular source file's header the words "Oracle designates this particular file as subject to the "Classpath" exception as provided by Oracle 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. License: BSD-3-clause Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: . * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. . * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. . * Neither the name of nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. . THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. License: Zlib This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. . Permission is granted to anyone to use this software for any purpose, including commercial applications, and to alter it and redistribute it freely, subject to the following restrictions: . 1. The origin of this software must not be misrepresented; you must not claim that you wrote the original software. If you use this software in a product, an acknowledgment in the product documentation would be appreciated but is not required. . 2. Altered source versions must be plainly marked as such, and must not be misrepresented as being the original software. . 3. This notice may not be removed or altered from any source distribution. License: Apache-License-1.1 /* ==================================================================== * The Apache Software License, Version 1.1 * * Copyright (c) 2000 The Apache Software Foundation. All rights * reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in * the documentation and/or other materials provided with the * distribution. * * 3. The end-user documentation included with the redistribution, * if any, must include the following acknowledgment: * "This product includes software developed by the * Apache Software Foundation (http://www.apache.org/)." * Alternately, this acknowledgment may appear in the software itself, * if and wherever such third-party acknowledgments normally appear. * * 4. The names "Apache" and "Apache Software Foundation" must * not be used to endorse or promote products derived from this * software without prior written permission. For written * permission, please contact apache@apache.org. * * 5. Products derived from this software may not be called "Apache", * nor may "Apache" appear in their name, without prior written * permission of the Apache Software Foundation. * * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * ==================================================================== * * This software consists of voluntary contributions made by many * individuals on behalf of the Apache Software Foundation. For more * information on the Apache Software Foundation, please see * . * * Portions of this software are based upon public domain software * originally written at the National Center for Supercomputing Applications, * University of Illinois, Urbana-Champaign. */ debian/control0000644000000000000000000000402312234251335010570 0ustar Source: libjide-oss-java Section: java Priority: optional Maintainer: Debian Java Maintainers Uploaders: Markus Koschany Build-Depends: debhelper (>= 9), javahelper, maven-repo-helper (>= 1.6~) Build-Depends-Indep: ant, default-jdk, default-jdk-doc Standards-Version: 3.9.5 Homepage: http://www.jidesoft.com/products/oss.htm Vcs-Git: git://anonscm.debian.org/pkg-java/libjide-oss-java.git Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-java/libjide-oss-java.git Package: libjide-oss-java Architecture: all Depends: ${java:Depends}, ${misc:Depends} Recommends: ${java:Recommends} Suggests: libjide-oss-java-doc Description: extensible Swing component library for Java JIDE Common Layer is a general component library built on top of Swing. It provides a foundation to build complex Java desktop applications by extending existing Swing classes to add more advanced features. . JIDE Common Layer features over 30 components and utilities including: * SearchableBar * FolderChooser * Searchable JList, JTree, JComboBox and JTable * RangeSlider * Popup * JideSplitButton - a combination of a button and a popup menu * CheckBoxList and CheckBoxTree - use check boxes inside JLists and JTrees * IconFactory - simplify the usage of icons across the whole application * Systeminfo - retrieve information about the current system * AutoResizingTextArea * AutoCompletion and IntelliHints * Calculator component Package: libjide-oss-java-doc Section: doc Architecture: all Depends: ${misc:Depends} Recommends: default-jdk-doc, ${java:Recommends} Description: extensible Swing component library for Java -- documentation JIDE Common Layer is a general component library built on top of Swing. It provides a foundation to build complex Java desktop applications by extending existing Swing classes to add more advanced features. . This package contains the Javadoc API documentation for libjide-oss-java and the JIDE Common Layer Developer Guide.