Codebase list dictzip-java / a5a1e45
Initial packaging Andrej Shadura 5 years ago
13 changed file(s) with 267 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
0 Information about dictzip-java
1 ------------------------------
2
3 This package has been uploaded using dgit --gbp. Please consider
4 using dgit when NMUing or team-uploading it.
0 dictzip-java (0.8.2-1) unstable; urgency=medium
1
2 * Initial release (Closes: #917305).
3
4 -- Andrej Shadura <andrewsh@debian.org> Wed, 26 Dec 2018 10:57:39 +0100
0 Source: dictzip-java
1 Section: java
2 Priority: optional
3 Maintainer: Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org>
4 Uploaders:
5 Andrej Shadura <andrewsh@debian.org>,
6 Build-Depends:
7 debhelper (>= 9),
8 gradle-debian-helper,
9 default-jdk
10 Build-Depends-Indep:
11 default-jdk-doc,
12 maven-repo-helper (>= 1.5)
13 Standards-Version: 4.3.0
14 Vcs-Git: https://salsa.debian.org/java-team/dictzip-java.git
15 Vcs-Browser: https://salsa.debian.org/java-team/dictzip-java
16 Homepage: https://github.com/dictzip/dictzip-java
17
18 Package: libdictzip-java
19 Architecture: all
20 Depends:
21 ${misc:Depends}
22 Description: DictZip library for Java
23 This package provides a Java library to access dictionary databases
24 compressed with the LZ77 algorithm in a manner which is completely
25 compatible with gzip(1), but using an extension that allows for random
26 access to chunks of about 57kB without the overhead of decompressing
27 the entire file.
0 Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
1 Source: https://github.com/dictzip/dictzip-java
2
3 Files: *
4 Copyright:
5 2016 Hiroshi Miura
6 License: GPL-2+
7 This program is free software; you can redistribute it and/or
8 modify it under the terms of the GNU General Public License
9 as published by the Free Software Foundation; either version 2
10 of the License, or (at your option) any later version.
11 .
12 This program is distributed in the hope that it will be useful,
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 GNU General Public License for more details.
16 .
17 On Debian systems, the complete text of the GNU General Public License,
18 version 2.0 can be found in ‘/usr/share/common-licenses/GPL-2’.
19
20 Files: dictzip-lib/*
21 Copyright:
22 2001-2004 Ho Ngoc Duc
23 2016 Hiroshi Miura
24 License: GPL-2+ with classpath exception
25 This program is free software; you can redistribute it and/or
26 modify it under the terms of the GNU General Public License
27 as published by the Free Software Foundation; either version 2
28 of the License, or (at your option) any later version.
29 .
30 This program is distributed in the hope that it will be useful,
31 but WITHOUT ANY WARRANTY; without even the implied warranty of
32 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
33 GNU General Public License for more details.
34 .
35 On Debian systems, the complete text of the GNU General Public License,
36 version 2.0 can be found in ‘/usr/share/common-licenses/GPL-2’.
37 .
38 Linking this library statically or dynamically with other modules is
39 making a combined work based on this library. Thus, the terms and
40 conditions of the GNU General Public License cover the whole
41 combination.
42 .
43 As a special exception, the copyright holders of this library give you
44 permission to link this library with independent modules to produce an
45 executable, regardless of the license terms of these independent
46 modules, and to copy and distribute the resulting executable under
47 terms of your choice, provided that you also meet, for each linked
48 independent module, the terms and conditions of the license of that
49 module. An independent module is a module which is not derived from
50 or based on this library. If you modify this library, you may extend
51 this exception to your version of the library, but you are not
52 obligated to do so. If you do not wish to do so, delete this
53 exception statement from your version.
54
55 Files: debian/*
56 Copyright: 2018 Andrej Shadura <andrewsh@debian.org>
57 License: Expat
58 Permission is hereby granted, free of charge, to any person obtaining
59 a copy of this software and associated documentation files (the
60 "Software"), to deal in the Software without restriction, including
61 without limitation the rights to use, copy, modify, merge, publish,
62 distribute, sublicense, and/or sell copies of the Software, and to
63 permit persons to whom the Software is furnished to do so, subject to
64 the following conditions:
65 .
66 The above copyright notice and this permission notice shall be included
67 in all copies or substantial portions of the Software.
68 .
69 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
70 EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
71 MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
72 IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
73 CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
74 TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
75 SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
76
77
0 dictzip-lib/build/docs/javadoc/* /usr/share/doc/libdictzip-java/api/
0 /usr/share/javascript/jquery/jquery.min.js usr/share/doc/libdictzip-java/api/jquery/external/jquery/jquery.js
1 /usr/share/javascript/jquery/jquery.min.js usr/share/doc/libdictzip-java/api/jquery/jquery-3.3.1.js
2 /usr/share/javascript/jquery-ui/themes/base/jquery-ui.css usr/share/doc/libdictzip-java/api/jquery/jquery-ui.css
3 /usr/share/javascript/jquery-ui/jquery-ui.js usr/share/doc/libdictzip-java/api/jquery/jquery-ui.js
4 /usr/share/javascript/jquery-ui/themes/base/jquery-ui.min.css usr/share/doc/libdictzip-java/api/jquery/jquery-ui.min.css
5 /usr/share/javascript/jquery-ui/jquery-ui.min.js usr/share/doc/libdictzip-java/api/jquery/jquery-ui.min.js
0 dictzip-lib/build/debian/dictzip-lib.pom --no-parent --has-package-version --java-lib --artifact=dictzip-lib/build/libs/dictzip-lib-0.8.2.jar
0 Switch off development gradle plugins.
1
2 --- a/build.gradle
3 +++ b/build.gradle
4 @@ -1,35 +1,41 @@
5 import org.apache.tools.ant.filters.ReplaceTokens
6
7 +/*
8 plugins {
9 // github
10 id "co.riiid.gradle" version "0.4.2"
11 // bintray
12 id "com.jfrog.bintray" version "1.6"
13 }
14 +*/
15
16 // common settings
17 subprojects {
18 apply plugin: 'java'
19 + /*
20 apply plugin: 'jacoco'
21 apply plugin: 'checkstyle'
22 apply plugin: 'findbugs'
23 apply plugin: 'co.riiid.gradle'
24 apply plugin: 'com.jfrog.bintray'
25 + */
26 apply plugin: 'maven'
27
28 sourceCompatibility = jdkVersion
29 targetCompatibility = jdkVersion
30 [compileJava, compileTestJava]*.options*.encoding = 'UTF-8'
31 - [compileJava, compileTestJava]*.options*.bootClasspath = "$JDK_HOME/jre/lib/rt.jar"
32 + //[compileJava, compileTestJava]*.options*.bootstrapClasspath = "$JDK_HOME/jre/lib/rt.jar"
33 + /*
34 checkstyle {
35 config = resources.text.fromFile("${rootProject.projectDir}/config/checkstyle/checkstyle.xml")
36 ignoreFailures = true
37 toolVersion = '6.16.1'
38 }
39 + */
40
41 // Force prevent checkstyle/findbugs on Test.
42 - task checkstyleTest(overwrite: true) << {}
43 - task findbugsTest(overwrite: true) << {}
44 + //task checkstyleTest(overwrite: true) << {}
45 + //task findbugsTest(overwrite: true) << {}
46 tasks.withType(FindBugs) {
47 reports {
48 xml.enabled = false
49 @@ -43,11 +49,11 @@
50 }
51
52 dependencies {
53 - testCompile 'org.testng:testng:6.9.10'
54 + //testCompile 'org.testng:testng:6.9.10'
55 }
56
57 test {
58 - useTestNG()
59 + //useTestNG()
60 }
61
62 javadoc {
63 @@ -73,10 +79,11 @@
64
65 project(':dictzip-lib') {
66 dependencies {
67 - testCompile 'tokyo.northside:northside-io:0.2.0'
68 + //testCompile 'tokyo.northside:northside-io:0.2.0'
69 }
70 version = projectVersion
71 group = projectGroup
72 + /*
73 bintray {
74 user = project.hasProperty('bintrayUser') ? project.property('bintrayUser') : System.getenv('BINTRAY_USER')
75 key = project.hasProperty('bintrayApiKey') ? project.property('bintrayApiKey') : System.getenv('BINTRAY_API_KEY')
76 @@ -91,8 +98,9 @@
77 publicDownloadNumbers = true
78 }
79 }
80 - task mandoc << {}
81 - task githubRelease(overwrite: true) << {}
82 + */
83 + //task mandoc << {}
84 + //task githubRelease(overwrite: true) << {}
85 }
86
87 project(':dictzip-cli') {
88 @@ -107,6 +115,7 @@
89 }
90 version = projectVersion
91 group = projectGroup
92 + /*
93 bintray {
94 user = project.hasProperty('bintrayUser') ? project.property('bintrayUser') : System.getenv('BINTRAY_USER')
95 key = project.hasProperty('bintrayApiKey') ? project.property('bintrayApiKey') : System.getenv('BINTRAY_API_KEY')
96 @@ -121,6 +130,7 @@
97 publicDownloadNumbers = true
98 }
99 }
100 + */
101
102 task mandoc(type: Copy, overwrite: true) {
103 from "doc/dictzip.1.in"
104 @@ -152,11 +162,11 @@
105 }
106 }
107 }
108 - task githubRelease(overwrite: true) << {}
109 + //task githubRelease(overwrite: true) << {}
110 }
111
112 -task mandoc << {}
113 -task bintrayUpload(overwrite: true) << {}
114 +//task mandoc << {}
115 +//task bintrayUpload(overwrite: true) << {}
116
117 if (gradle.startParameter.taskNames.contains('bintrayUpload') ||
118 gradle.startParameter.taskNames.contains('githubRelease')) {
119 --- a/gradle.properties
120 +++ b/gradle.properties
121 @@ -1,5 +1,5 @@
122 jdkVersion=1.8
123 -JDK_HOME=/usr/lib/jvm/java-8-openjdk-amd64
124 +JDK_HOME=/usr/lib/jvm/default-java
125 projectUrl=https://github.com/miurahr/dictzip-java
126 githubUrl=git@github.com:miurahr/dictzip-java.git
127 projectGroup=org.dict.zip
0 remove-deps.patch
0 #!/usr/bin/make -f
1
2 %:
3 dh $@ --buildsystem=gradle --with maven-repo-helper
4
5 override_dh_auto_build:
6 dh_auto_build -- -p dictzip-lib assemble javaDoc
0 3.0 (quilt)
0 # Compulsory line, this is a version 3 file
1 version=3
2
3 opts=filenamemangle=s/.+\/v?(\d\S*)\.tar\.gz/dictzip-java-$1\.tar\.gz/,uversionmangle=s/-?rc/~rc/ \
4 https://github.com/dictzip/dictzip-java/releases .*/archive/v(\d[^\s\-]*)\.tar\.gz