[autocomplete] 01/13: - basic debian-packaging parts

Benjamin Mesing ben at alioth.debian.org
Mon Oct 21 19:10:45 UTC 2013


This is an automated email from the git hooks/post-receive script.

ben pushed a commit to tag debian/2.5.0-1
in repository autocomplete.

commit 7d42aba6432c44c8b730549d0e213b4bcbd3a627
Author: Benjamin Mesing <bensmail at gmx.net>
Date:   Sun Oct 20 18:57:26 2013 +0200

    - basic debian-packaging parts
---
 debian/README.source                    |    5 +++
 debian/TODOs                            |    2 +
 debian/changelog                        |   12 +++++
 debian/compat                           |    1 +
 debian/control                          |   51 +++++++++++++++++++++
 debian/copyright                        |   36 +++++++++++++++
 debian/libautocomplete-java-doc.javadoc |    1 +
 debian/libautocomplete-java.jlibs       |    1 +
 debian/pom.xml                          |   75 +++++++++++++++++++++++++++++++
 debian/rules                            |   15 +++++++
 debian/source/format                    |    1 +
 debian/watch                            |    2 +
 12 files changed, 202 insertions(+)

diff --git a/debian/README.source b/debian/README.source
new file mode 100644
index 0000000..8a4347c
--- /dev/null
+++ b/debian/README.source
@@ -0,0 +1,5 @@
+This package uses a version control system as described in
+http://wiki.debian.org/Java/JavaVcs and the pages linked from there.
+
+It contains the upstream source within the VCS upstream branch.
+Upstream versions are tagged as upstream/<version>
diff --git a/debian/TODOs b/debian/TODOs
new file mode 100644
index 0000000..97b1588
--- /dev/null
+++ b/debian/TODOs
@@ -0,0 +1,2 @@
+- check license information
+- cross link java doc 
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..4989db0
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,12 @@
+autocomplete (2.0.7-1) UNRELEASED; urgency=low
+
+  * new upstream release
+  * removed maven parts
+
+ -- Benjamin Mesing <bensmail at gmx.net>  Mon, 15 Jul 2013 22:33:04 +0200
+
+autocomplete (1.5.1-1) unstable; urgency=low
+
+  * Initial release. (Closes: #619046)
+
+ -- Vladimir Kotov <vladimir at kotov.lv>  Wed, 11 May 2011 22:04:49 +0300
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..7f8f011
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+7
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..4c4d40a
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,51 @@
+Source: autocomplete
+Section: java
+Priority: optional
+Maintainer: Debian Java Maintainers <pkg-java-maintainers at lists.alioth.debian.org>
+Uploaders: Benjamin Mesing <ben at debian.org>
+Build-Depends: debhelper (>= 9), javahelper (>= 0.4), maven-repo-helper, ant
+Build-Depends-Indep: default-jdk, default-jdk-doc, librsyntaxtextarea-java, librsyntaxtextarea-java-doc
+Standards-Version: 3.9.4
+Vcs-Svn: svn://svn.debian.org/svn/pkg-java/trunk/autocomplete
+Vcs-Browser: http://svn.debian.org/wsvn/pkg-java/trunk/autocomplete
+Homepage: http://fifesoft.com/autocomplete/
+
+Package: libautocomplete-java
+Architecture: all
+Depends: ${java:Depends}, ${misc:Depends}
+Suggests: libautocomplete-java-doc
+Description: Java library for auto-completion in text component
+ AutoComplete is a library allowing you to add IDE-like auto-completion
+ (aka "code completion" or "Intellisense") to any Swing JTextComponent.
+ Special integration is added for RSyntaxTextArea.
+ .
+ It features:
+  * Drop-down completion choice list
+  * Optional companion "description" window, complete with full HTML
+    support and navigable with hyperlinks
+  * Optional parameter completion assistance for functions/methods,
+    ala Eclipse and NetBeans
+  * Completion information is typically specified in an XML file,
+    but can even be dynamic.
+
+Package: libautocomplete-java-doc
+Architecture: all
+Section: doc
+Depends: ${java:Depends}, ${misc:Depends}
+Recommends: default-jdk-doc, librsyntaxtextarea-java-doc
+Suggests: libautocomplete-java
+Description: Java library for auto-completion in text component (documentation)
+ AutoComplete is a library allowing you to add IDE-like auto-completion
+ (aka "code completion" or "Intellisense") to any Swing JTextComponent.
+ Special integration is added for RSyntaxTextArea.
+ .
+ It features:
+  * Drop-down completion choice list
+  * Optional companion "description" window, complete with full HTML
+    support and navigable with hyperlinks
+  * Optional parameter completion assistance for functions/methods,
+    ala Eclipse and NetBeans
+  * Completion information is typically specified in an XML file,
+    but can even be dynamic.
+ .
+ This package contains the API documentation of librsyntaxtextarea-java.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..ab294ec
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,36 @@
+Format-Specification: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: AutoComplete
+Upstream-Contact: Robert Futrell
+Source: http://fifesoft.com/autocomplete/
+
+Files: *
+Copyright: 2012, Robert Futrell
+License: modified BSD license
+
+Files: debian/*
+Copyright: 2011, Vladimir Kotov <vladimir at kotov.lv>
+           2013, Benjamin Mesing <bensmail at gmx.net>
+License: LGPL-2.1+
+
+License: modified BSD license
+ 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 the author 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 <COPYRIGHT HOLDER> 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.
\ No newline at end of file
diff --git a/debian/libautocomplete-java-doc.javadoc b/debian/libautocomplete-java-doc.javadoc
new file mode 100644
index 0000000..b834def
--- /dev/null
+++ b/debian/libautocomplete-java-doc.javadoc
@@ -0,0 +1 @@
+javadoc /usr/share/doc/libautocomplete-java/api
diff --git a/debian/libautocomplete-java.jlibs b/debian/libautocomplete-java.jlibs
new file mode 100644
index 0000000..6b9a4ff
--- /dev/null
+++ b/debian/libautocomplete-java.jlibs
@@ -0,0 +1 @@
+dist/autocomplete.jar
diff --git a/debian/pom.xml b/debian/pom.xml
new file mode 100644
index 0000000..2b0ca67
--- /dev/null
+++ b/debian/pom.xml
@@ -0,0 +1,75 @@
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+	xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+	<modelVersion>4.0.0</modelVersion>
+
+	<parent>
+		<groupId>com.fifesoft</groupId>
+		<artifactId>rtext-root-pom</artifactId>
+		<version>3</version>
+		<relativePath>../../pom.xml</relativePath>
+	</parent>
+
+	<groupId>com.fifesoft</groupId>
+	<artifactId>rsyntaxtextarea</artifactId>
+	<version>2.0.7</version>
+	<packaging>jar</packaging>
+	<name>RSyntaxTextArea</name>
+	<description>
+		RSyntaxTextArea is the syntax highlighting text editor used in RText, pulled out into its 
+		own jar so it is easily usable in any application. Features include Syntax highlighting for 20+ 
+		languages, Code completion, Regex find and replace, Macros, Code templates, Unlimited undo/redo
+		Line numbering and bracket matching.
+  	</description>
+	<inceptionYear>2003</inceptionYear>
+	<url>http://www.fifesoft.com/rsyntaxtextarea/</url>
+	<licenses>
+		<license>
+			<name>GNU Lesser General Public License</name>
+			<url>http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt</url>
+			<distribution>repo</distribution>
+		</license>
+	</licenses>
+	<scm>
+		<url>http://svn.fifesoft.com/viewvc-1.0.5/bin/cgi/viewvc.cgi/RSyntaxTextArea/?root=RSyntaxTextArea</url>
+		<connection>http://svn.fifesoft.com/svn/RSyntaxTextArea/RSyntaxTextArea/</connection>
+	</scm>
+	<developers>
+		<developer>
+			<name>Robert Futrell</name>
+			<url>http://www.fifesoft.com</url>
+		</developer>
+	</developers>
+	<dependencies>
+		<dependency>
+			<groupId>junit</groupId>
+			<artifactId>junit</artifactId>
+			<version>${junit-version}</version>
+			<scope>test</scope>
+		</dependency>
+	</dependencies>
+	<build>
+		<plugins>
+			<plugin>
+				<artifactId>maven-compiler-plugin</artifactId>
+				<version>${compiler-plugin-version}</version>
+				<executions>
+					<execution>
+						<id>default-compile</id>
+						<configuration>
+							<fork>true</fork>
+							<executable>${javac14-compiler-executable}</executable>
+							<compilerVersion>1.4</compilerVersion>
+							<source>1.4</source>
+							<target>1.4</target>
+						</configuration>
+						<goals>
+							<goal>compile</goal>
+						</goals>
+
+					</execution>
+				</executions>
+			</plugin>
+		</plugins>
+	</build>
+</project>
+
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..20c1461
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,15 @@
+#!/usr/bin/make -f
+
+export JAVA_HOME=/usr/lib/jvm/default-java
+VERSION := $(shell dpkg-parsechangelog | sed -ne 's/^Version: \(.*\)-.*/\1/p')
+
+
+%:
+	dh $@ --with javahelper --with jh_maven_repo_helper 
+
+get-orig-source:
+	# maybe reimplement this using git
+	#uscan --download-version $(VERSION) --force-download
+
+get-orig-pom:
+	wget -O debian/pom.xml    http://repo1.maven.org/maven2/com/fifesoft/rsyntaxtextarea/$(VERSION)/rsyntaxtextarea-$(VERSION).pom
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..666cd80
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,2 @@
+version=3
+http://sf.net/rsyntaxtextarea/autocomplete_([\d\.]+)_Source\.zip debian debian/orig-tar.sh

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/autocomplete.git



More information about the pkg-java-commits mailing list