Package: zeroc-icee-java
Severity: wishlist
Tags: patch

Hi,

The dpatch patch management system has been deprecated for some time. The
Lintian currently flags use of dpatch packages as an error. The new 3.0
packaging format is an improved version which, among other things, contains
patch management built-in. For more information, see:

    http://wiki.debian.org/Projects/DebSrc3.0

I had some free time; see attached patch to migrate to new package
format. Note that all files in debian/patches/* are canocalized to
*.patch.

Let me know if there is anything that needs adjusting or if it is ok
to upload this version in a NMU in case you are working on other
issues needing attention.

Thanks,
Jari

>From 002d077fba8ce851671f9ef44b31651fdb470d76 Mon Sep 17 00:00:00 2001
From: Jari Aalto <[email protected]>
Date: Sat, 14 Apr 2012 20:57:59 +0300
Subject: [PATCH] format-3.0
Organization: Private
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit

Signed-off-by: Jari Aalto <[email protected]>
---
 debian/changelog                       |    9 +++++++++
 debian/compat                          |    2 +-
 debian/control                         |   10 +++++-----
 debian/copyright                       |    2 +-
 debian/patches/20-source-version.patch |    3 +++
 debian/rules                           |    1 -
 debian/source/format                   |    1 +
 7 files changed, 20 insertions(+), 8 deletions(-)
 create mode 100644 debian/source/format

diff --git a/debian/changelog b/debian/changelog
index 177dc39..ed0b970 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,12 @@
+zeroc-icee-java (1.2.0-3.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Remove deprecated dpatch and upgrade to packaging format "3.0 quilt".
+  * Update to Standards-Version to 3.9.3, debhelper to 9, ${misc:Depends}.
+  * Fix build-depends-on-obsolete-package (Lintian): devel => java.
+
+ -- Jari Aalto <[email protected]>  Sat, 14 Apr 2012 20:47:08 +0300
+
 zeroc-icee-java (1.2.0-3) unstable; urgency=low
 
   * Upgraded packaging standards.
diff --git a/debian/compat b/debian/compat
index b8626c4..ec63514 100644
--- a/debian/compat
+++ b/debian/compat
@@ -1 +1 @@
-4
+9
diff --git a/debian/control b/debian/control
index 99c23b2..ee438d0 100644
--- a/debian/control
+++ b/debian/control
@@ -1,16 +1,16 @@
 Source: zeroc-icee-java
-Section: devel
+Section: java
 Priority: optional
 Maintainer: Francisco Moya <[email protected]>
-Build-Depends: cdbs (>= 0.4.43), debhelper (>= 4.2.0)
-Build-Depends-Indep: ant, ant-optional, default-jdk-builddep,
+Build-Depends: cdbs (>= 0.4.43), debhelper (>= 9)
+Build-Depends-Indep: ant, ant-optional, default-jdk,
  proguard, icee-translators (>= 1.2.0)
-Standards-Version: 3.8.0
+Standards-Version: 3.9.3
 Homepage: http://www.zeroc.com/
 
 Package: libicee-java
 Architecture: all
-Section: devel
+Depends: ${misc:Depends}
 Recommends: icee-translators, icee-slice
 Description: Ice-E for Java libraries
  Ice-E ('Embedded Ice') is a compact communications engine designed
diff --git a/debian/copyright b/debian/copyright
index 03ab232..aec0890 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -34,4 +34,4 @@ Copyright (c) 2003-2006 ZeroC, Inc. All rights reserved.
   from your version.
 
 On Debian systems, the complete text of the GNU General
-Public License can be found in /usr/share/common-licenses/GPL.
+Public License can be found in /usr/share/common-licenses/GPL-2.
diff --git a/debian/patches/20-source-version.patch b/debian/patches/20-source-version.patch
index 7fa9386..84d56e7 100644
--- a/debian/patches/20-source-version.patch
+++ b/debian/patches/20-source-version.patch
@@ -1,3 +1,6 @@
+From: Unknown
+Subject: Cnage Java VM compile terget from 1.2 to 1.3
+
 diff -Nur zeroc-icee-java/build.xml zeroc-icee-java.new/build.xml
 --- zeroc-icee-java/build.xml	2007-06-23 15:43:04.000000000 +0200
 +++ zeroc-icee-java.new/build.xml	2007-09-29 15:22:55.000000000 +0200
diff --git a/debian/rules b/debian/rules
index 8c944c6..5fbbd81 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,7 +2,6 @@
 
 include /usr/share/cdbs/1/rules/debhelper.mk
 include /usr/share/cdbs/1/class/ant.mk
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
 
 DEB_COMPRESS_EXCLUDE := .class
 JAVA_HOME_DIRS       := /usr/lib/jvm/java-gcj /usr/lib/fjsdk
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)
-- 
1.7.9.5

Reply via email to