debian/0000755000000000000000000000000012204002361007154 5ustar debian/patches/0000755000000000000000000000000012203770207010615 5ustar debian/patches/load-bundle-i18n0000644000000000000000000000234512203770177013515 0ustar If the bundle for the current language was missing, a java.util.MissingResourceException was preventing the ReplaceDialog from starting. Now, the english bundle is loaded instead. --- src/main/java/jsyntaxpane/actions/gui/ReplaceDialog.java | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) Index: b/src/main/java/jsyntaxpane/actions/gui/ReplaceDialog.java =================================================================== --- a/src/main/java/jsyntaxpane/actions/gui/ReplaceDialog.java +++ b/src/main/java/jsyntaxpane/actions/gui/ReplaceDialog.java @@ -113,7 +113,13 @@ jCmbFind = new javax.swing.JComboBox(); jBtnReplace = new javax.swing.JButton(); - java.util.ResourceBundle bundle = java.util.ResourceBundle.getBundle("jsyntaxpane/Bundle"); // NOI18N + java.util.ResourceBundle bundle = null; + try { + bundle = java.util.ResourceBundle.getBundle("jsyntaxpane/Bundle"); // NOI18N + } catch (java.util.MissingResourceException e) { + bundle = java.util.ResourceBundle.getBundle("jsyntaxpane/Bundle", new java.util.Locale("")); // NOI18N + } + setTitle(bundle.getString("ReplaceDialog.title")); // NOI18N setName(""); // NOI18N setResizable(false); debian/patches/scala-property-comments0000644000000000000000000000144212203766151015334 0ustar Fix the comment marker for scala. --- src/main/resources/META-INF/services/jsyntaxpane/syntaxkits/scalasyntaxkit/config.properties | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Index: b/src/main/resources/META-INF/services/jsyntaxpane/syntaxkits/scalasyntaxkit/config.properties =================================================================== --- a/src/main/resources/META-INF/services/jsyntaxpane/syntaxkits/scalasyntaxkit/config.properties +++ b/src/main/resources/META-INF/services/jsyntaxpane/syntaxkits/scalasyntaxkit/config.properties @@ -1,2 +1,2 @@ Action.toggle-comments = jsyntaxpane.actions.ToggleCommentsAction, control SLASH -Action.toggle-comments.LineComments = "# " \ No newline at end of file +Action.toggle-comments.LineComments = "// " \ No newline at end of file debian/patches/series0000644000000000000000000000005112203766407012035 0ustar load-bundle-i18n scala-property-comments debian/README.source0000644000000000000000000000055012177526247011362 0ustar Upstream does not distribute any source package, so I had to get it from the svn directly. The prefered version is 0.9.5, but it is not released yet, with some beta versions distributed (in binary version) since one year and half. There is no tag in this branch pointing to where the binary version were taken. This explain the strange version number picked. debian/changelog0000644000000000000000000000340112204002361011024 0ustar libjsyntaxpane-java (0.9.6~r156-4) unstable; urgency=low * d/p/scala-property-comments: fix upstream bug where # was used as one-line comment marker instead of // * d/p/load-bundle-i18n: fix upstream bug where missing localized bundle was preventing the ReplaceDialog from getting initialized. * Also add the bundles to the jarfile so that the ReplaceDialog works -- Martin Quinson Sun, 18 Aug 2013 01:18:59 +0200 libjsyntaxpane-java (0.9.6~r156-3) unstable; urgency=low * also add */config.properties to the jar , avoiding a runtime warning -- Martin Quinson Sun, 04 Aug 2013 21:46:55 +0200 libjsyntaxpane-java (0.9.6~r156-2) unstable; urgency=low * Team upload * Upload in unstable -- Sylvestre Ledru Thu, 13 Jun 2013 11:54:09 +0200 libjsyntaxpane-java (0.9.6~r156-1) experimental; urgency=low * Package a newer svn version of upstream code (Closes: #698974). That's a pitty that upstream don't release archive files. 0.9.5 was never released, and some people already need the 0.9.6 version, as proved by this bug. * Create a script (in the packaging VCS) so that other can update this package on need. [ Sylvestre Ledru ] * Update the download.sh repack script to correctly name the tarball -- Martin Quinson Sat, 26 Jan 2013 10:57:44 +0100 libjsyntaxpane-java (0.9.5~r148-2) unstable; urgency=low * Team upload. * Switch to default-jdk. (Closes: #640634) * Add Vcs-Browser header. -- Torsten Werner Tue, 06 Sep 2011 20:58:07 +0200 libjsyntaxpane-java (0.9.5~r148-1) unstable; urgency=low * Initial release. (Closes: #622619) -- Martin Quinson Tue, 12 Apr 2011 10:09:07 +0200 debian/rules0000755000000000000000000000127712203771216010256 0ustar #!/usr/bin/make -f export JAVA_HOME=/usr/lib/jvm/default-java # Put depended upon jars in here # export CLASSPATH= %: dh --with javahelper $@ override_dh_auto_build: jflex -d src/main/java/jsyntaxpane/lexers/ src/main/jflex/jsyntaxpane/lexers/*flex dh_auto_build override_dh_install: # hack to get all files into the jar (jh_build can only include *.class) (cd src/main/resources && jar uf ../../../jsyntaxpane.jar META-INF) (cd src/main/resources/META-INF/services/ && jar uf ../../../../../jsyntaxpane.jar `find -name "config.properties"`) (cd src/main/resources/ && jar uf ../../../jsyntaxpane.jar `find -name "Bundle*properties"`) dh_install debian/libjsyntaxpane-java-doc.javadoc0000644000000000000000000000001012177526247015240 0ustar internaldebian/source/0000755000000000000000000000000012177526247010503 5ustar debian/source/format0000644000000000000000000000001312177526247011710 0ustar 3.0 (quilt)debian/clean0000644000000000000000000000174212177526247010214 0ustar # The lexer files, which are created using jflex at build time src/main/java/jsyntaxpane/lexers/BashLexer.java src/main/java/jsyntaxpane/lexers/CLexer.java src/main/java/jsyntaxpane/lexers/ClojureLexer.java src/main/java/jsyntaxpane/lexers/CppLexer.java src/main/java/jsyntaxpane/lexers/DOSBatchLexer.java src/main/java/jsyntaxpane/lexers/GroovyLexer.java src/main/java/jsyntaxpane/lexers/JFlexLexer.java src/main/java/jsyntaxpane/lexers/JavaLexer.java src/main/java/jsyntaxpane/lexers/JavaScriptLexer.java src/main/java/jsyntaxpane/lexers/LuaLexer.java src/main/java/jsyntaxpane/lexers/PropertiesLexer.java src/main/java/jsyntaxpane/lexers/PythonLexer.java src/main/java/jsyntaxpane/lexers/RubyLexer.java src/main/java/jsyntaxpane/lexers/ScalaLexer.java src/main/java/jsyntaxpane/lexers/SqlLexer.java src/main/java/jsyntaxpane/lexers/TALLexer.java src/main/java/jsyntaxpane/lexers/XHTMLLexer.java src/main/java/jsyntaxpane/lexers/XPathLexer.java src/main/java/jsyntaxpane/lexers/XmlLexer.java debian/control0000644000000000000000000000313712177526247010612 0ustar Source: libjsyntaxpane-java Section: java Priority: optional Maintainer: Debian Java Maintainers Uploaders: Martin Quinson Build-Depends: debhelper (>= 7.0.50~), javahelper (>= 0.32), jflex Build-Depends-Indep: default-jdk Standards-Version: 3.9.4 Vcs-Git: git://git.debian.org/pkg-java/libjsyntaxpane-java.git Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-java/libjsyntaxpane-java.git Homepage: http://code.google.com/p/jsyntaxpane/ Package: libjsyntaxpane-java Architecture: all Depends: ${java:Depends}, ${misc:Depends} Recommends: ${java:Recommends} Description: Java EditorPane with support for Syntax Highlighting JSyntaxPane provides you with a very simple to use, and now with simple method to configure, way to handle simple Syntax Highlighting and editing of various languages within your Java Swing application. . Currently supported out of the box are Java, JavaScript, Properties, Groovy, C, C++, XML, SQL, Ruby and Python. Package: libjsyntaxpane-java-doc Architecture: all Section: doc Depends: ${java:Depends}, ${misc:Depends} Recommends: ${java:Recommends} Description: Java EditorPane with support for Syntax Highlighting (javadoc files) JSyntaxPane provides you with a very simple to use, and now with simple method to configure, way to handle simple Syntax Highlighting and editing of various languages within your Java Swing application. . Currently supported out of the box are Java, JavaScript, Properties, Groovy, C, C++, XML, SQL, Ruby and Python. . This package contains the JavaDoc documentation of the package. debian/copyright0000644000000000000000000000164312177526247011142 0ustar Format: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?op=file&rev=174 Upstream-name: jsyntaxpane Upstream-contact: Ayman Al-Sairafi (ayman.alsairafi@gmail.com) Source: http://code.google.com/p/jsyntaxpane/ Files: * Copyright: Copyright 2008 Ayman Al-Sairafi ayman.alsairafi@gmail.com License: Apache-2 License: Apache-2 Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. Files: debian/* Copyright: 2011 Martin Quinson License: Apache-2 debian/download.sh0000755000000000000000000000115212177526247011350 0ustar #!/bin/sh set -ex BRANCH=r096 UPSTREAM_VERSION=0.9.6 TEMP_DIR=`mktemp -d /tmp/libjsyntaxpane-java-tgz.XXXXXXXXX` WHERE=`pwd` trap "cd $WHERE; rm -rf $TEMP_DIR" INT EXIT cd $TEMP_DIR svn checkout http://jsyntaxpane.googlecode.com/svn/branches/$BRANCH/ libjsyntaxpane-java-branch$BRANCH cd libjsyntaxpane-java-branch$BRANCH REVISION=`LC_ALL=C svn info |grep Revision:|sed 's/Revision: //'` mv jsyntaxpane libjsyntaxpane-java-$UPSTREAM_VERSION~r$REVISION tar zvcf $WHERE/libjsyntaxpane-java_$UPSTREAM_VERSION~r$REVISION.orig.tar.gz --exclude-vcs libjsyntaxpane-java-$UPSTREAM_VERSION~r$REVISION rm -rf src return 0 debian/watch0000644000000000000000000000012612177526247010233 0ustar # There are no upstream releases as of 2013-02, seems it's not maintained # any more. debian/libjsyntaxpane-java.jlibs0000644000000000000000000000002012177526247014172 0ustar jsyntaxpane.jar debian/javabuild0000644000000000000000000000003612177526247011066 0ustar jsyntaxpane.jar src/main/java debian/compat0000644000000000000000000000000212177526247010401 0ustar 7