Skip to content
Commits on Source (4)
vectorgraphics2d (0.13-2) unstable; urgency=medium
* Wrapping and sorting debian/control.
* Bumping Standards-Version (no changes).
* Preserving version in built jar name.
-- Andrius Merkys <merkys@debian.org> Mon, 09 Sep 2019 01:20:26 -0400
vectorgraphics2d (0.13-1) unstable; urgency=medium
* Initial release (Closes: #929628)
......
......@@ -2,19 +2,22 @@ Source: vectorgraphics2d
Section: java
Priority: optional
Maintainer: Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org>
Uploaders: Andrius Merkys <merkys@debian.org>
Build-Depends: debhelper (>= 12),
Uploaders:
Andrius Merkys <merkys@debian.org>,
Build-Depends:
debhelper (>= 12),
gradle-debian-helper,
maven-repo-helper,
libproguard-java,
Standards-Version: 4.3.0
maven-repo-helper,
Standards-Version: 4.4.0
Homepage: https://github.com/eseifert/vectorgraphics2d
Vcs-Browser: https://salsa.debian.org/java-team/vectorgraphics2d
Vcs-Git: https://salsa.debian.org/java-team/vectorgraphics2d.git
Package: libvectorgraphics2d-java
Architecture: all
Depends: ${misc:Depends}
Depends:
${misc:Depends},
Description: library for adding vector export to Java Graphics2D
VectorGraphics2D provides implementations of Java's Graphics2D interface and
exports the graphics in various vector file formats. Currently, there is
......
......@@ -25,4 +25,4 @@
# --site-xml=<location>: Optional, the location for site.xml if it needs to be installed.
# Empty by default. [mh_install]
#
build/debian/VectorGraphics2D.pom --artifact=build/libs/VectorGraphics2D-debian.jar --java-lib
build/debian/VectorGraphics2D.pom --artifact=build/libs/VectorGraphics2D*.jar --java-lib
......@@ -3,12 +3,14 @@ Description: using 'debian' for package version; otherwise GIT tag name is taken
for version string.
--- a/build.gradle
+++ b/build.gradle
@@ -3,7 +3,7 @@
targetCompatibility = 1.7
group = 'de.erichseifert.vectorgraphics2d'
-version = getVersionString()
+version = 'debian'
description = 'A library for adding vector export to Java(R) Graphics2D.'
ext {
@@ -100,8 +100,8 @@
def getVersionString() {
def out = new ByteArrayOutputStream()
exec {
- commandLine('git', 'describe', '--tags', '--always')
+ commandLine('dpkg-parsechangelog', '-S', 'Version')
standardOutput = out
}
- return out.toString().trim()
+ return out.toString().trim().split('-')[0]
}