tag 414247 + patch Hi,
Here's a diff which debianizes the latest (0.2.2) version of the upstream source package. Please apply the diff to the upstream source tarball and update the deb package. I have built and tested it on lenny. I'm more than happy to make changes to the diff if requested. Thanks, #
diff -Naru scim-m17n-0.2.2.orig/debian/changelog scim-m17n-0.2.2/debian/changelog --- scim-m17n-0.2.2.orig/debian/changelog 1970-01-01 10:00:00.000000000 +1000 +++ scim-m17n-0.2.2/debian/changelog 2007-05-21 01:51:31.000000000 +1000 @@ -0,0 +1,19 @@ +scim-m17n (0.2.2-1) unstable; urgency=low + + * New Upstream release. (Closes: #414247) + + -- Harshula Jayasuriya <[EMAIL PROTECTED]> Sun, 20 May 2007 14:16:42 +1000 + +scim-m17n (0.1.3-2) unstable; urgency=low + + * Rebuilt against scim 1.4 ABI per Ming Hua. Closes: #335957 + * Added Ming Hua to uploades. + + -- Osamu Aoki <[EMAIL PROTECTED]> Sat, 17 Dec 2005 10:29:31 +0900 + +scim-m17n (0.1.3-1) unstable; urgency=low + + * Initial release, based on upstream version (0.1.3) (closes: #278086) + + -- Osamu Aoki <[EMAIL PROTECTED]> Thu, 21 Oct 2004 23:40:00 +0200 + diff -Naru scim-m17n-0.2.2.orig/debian/compat scim-m17n-0.2.2/debian/compat --- scim-m17n-0.2.2.orig/debian/compat 1970-01-01 10:00:00.000000000 +1000 +++ scim-m17n-0.2.2/debian/compat 2007-05-20 14:16:56.000000000 +1000 @@ -0,0 +1 @@ +5 diff -Naru scim-m17n-0.2.2.orig/debian/control scim-m17n-0.2.2/debian/control --- scim-m17n-0.2.2.orig/debian/control 1970-01-01 10:00:00.000000000 +1000 +++ scim-m17n-0.2.2/debian/control 2007-05-22 02:01:26.000000000 +1000 @@ -0,0 +1,20 @@ +Source: scim-m17n +Section: utils +Priority: optional +Maintainer: Osamu Aoki <[EMAIL PROTECTED]> +Uploaders: Harshula Jayasuriya <[EMAIL PROTECTED]> +Build-Depends: debhelper (>= 5.0.0), autotools-dev, pkg-config, libscim-dev (>= 1.4.4), libm17n-dev +Standards-Version: 3.7.2.2 + +Package: scim-m17n +Architecture: any +Depends: ${shlibs:Depends} +Description: M17N Input Method Engine for SCIM + SCIM (Smart Common Input Method) is an input method (IM) platform. + . + M17N (Multilingualization) Input Method Engine enables SCIM to input + many non-latin characters from the keyboard using libm17n library. + . + Author: James Su <[EMAIL PROTECTED]> + . + For details about SCIM, please see the description of package scim. diff -Naru scim-m17n-0.2.2.orig/debian/copyright scim-m17n-0.2.2/debian/copyright --- scim-m17n-0.2.2.orig/debian/copyright 1970-01-01 10:00:00.000000000 +1000 +++ scim-m17n-0.2.2/debian/copyright 2007-05-22 03:02:47.000000000 +1000 @@ -0,0 +1,35 @@ +This package was debianized by harshula <[EMAIL PROTECTED]> on +Sun, 20 May 2007 14:16:42 +1000. + +It was downloaded from http://prdownloads.sourceforge.net/scim/scim-m17n-0.2.2.tar.gz?download + +Home Page: + + http://www.scim-im.org/ + +Upstream Author: + + James Su <[EMAIL PROTECTED]> + +Copyright: + + Copyright (c) 2004 James Su <[EMAIL PROTECTED]> + +License: + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. + +The Debian packaging is (C) 2007, harshula <[EMAIL PROTECTED]> and +is licensed under the GPL, see `/usr/share/common-licenses/GPL'. diff -Naru scim-m17n-0.2.2.orig/debian/docs scim-m17n-0.2.2/debian/docs --- scim-m17n-0.2.2.orig/debian/docs 1970-01-01 10:00:00.000000000 +1000 +++ scim-m17n-0.2.2/debian/docs 2007-05-22 01:47:24.000000000 +1000 @@ -0,0 +1,3 @@ +AUTHORS +README +THANKS diff -Naru scim-m17n-0.2.2.orig/debian/rules scim-m17n-0.2.2/debian/rules --- scim-m17n-0.2.2.orig/debian/rules 1970-01-01 10:00:00.000000000 +1000 +++ scim-m17n-0.2.2/debian/rules 2007-05-22 03:04:24.000000000 +1000 @@ -0,0 +1,115 @@ +#!/usr/bin/make -f +# -*- makefile -*- +# Sample debian/rules that uses debhelper. +# This file was originally written by Joey Hess and Craig Small. +# This file was modified by Harshula Jayasuriya + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +INSTALLDIR = debian/scim-m17n + +# These are used for cross-compiling and for saving the configure script +# from having to guess our platform (since we know it already) +DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) +DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) + + +CFLAGS = -Wall -g +CXXFLAGS = -Wall -g + +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O0 + CXXFLAGS += -O0 +else + CFLAGS += -O2 + CXXFLAGS += -O2 +endif + +config.status: configure + dh_testdir + # Add here commands to configure the package. +ifneq "$(wildcard /usr/share/misc/config.sub)" "" + cp -f /usr/share/misc/config.sub config.sub +endif +ifneq "$(wildcard /usr/share/misc/config.guess)" "" + cp -f /usr/share/misc/config.guess config.guess +endif + ./configure --host=$(DEB_HOST_GNU_TYPE) \ + --build=$(DEB_BUILD_GNU_TYPE) \ + --prefix=/usr \ + --mandir=\$${prefix}/share/man \ + --infodir=\$${prefix}/share/info \ + CFLAGS="$(CFLAGS)" \ + CXXFLAGS="$(CXXFLAGS)" \ + LDFLAGS="-Wl,-z,defs" \ + --disable-static + + +build: build-stamp +build-stamp: config.status + dh_testdir + + # Add here commands to compile the package. + $(MAKE) + + touch $@ + +clean: + dh_testdir + dh_testroot + rm -f build-stamp + + # Add here commands to clean up after the build process. + -$(MAKE) distclean + rm -f config.sub config.guess + + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + $(MAKE) DESTDIR=$(CURDIR)/$(INSTALLDIR) install + find $(INSTALLDIR) -type f -name '*.la' -exec rm -f {} \; + + +# Build architecture-independent files here. +binary-indep: build install +# We have nothing to do by default. + +# Build architecture-dependent files here. +binary-arch: build install + dh_testdir + dh_testroot + dh_installchangelogs ChangeLog + dh_installdocs + dh_installexamples +# dh_install +# dh_installmenu +# dh_installdebconf +# dh_installlogrotate +# dh_installemacsen +# dh_installpam +# dh_installmime +# dh_installinit +# dh_installcron +# dh_installinfo + dh_installman + dh_link + dh_strip + dh_compress + dh_fixperms +# dh_perl +# dh_python +# dh_makeshlibs + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install diff -Naru scim-m17n-0.2.2.orig/debian/watch scim-m17n-0.2.2/debian/watch --- scim-m17n-0.2.2.orig/debian/watch 1970-01-01 10:00:00.000000000 +1000 +++ scim-m17n-0.2.2/debian/watch 2007-05-21 01:39:21.000000000 +1000 @@ -0,0 +1,2 @@ +version=3 +http://sf.net/scim/scim-m17n-(.*)\.tar\.gz