--- libjconv-2.8.orig/Makefile +++ libjconv-2.8/Makefile @@ -5,6 +5,7 @@ CFLAGS += -Wall -O9 -fPIC -DHAVE_CODESET #CFLAGS = -g -Wall -O0 -fPIC PKGDIR = libjconv-2.8 +MAJOR = 2 all: jconv libjconv.so libjconv.a default.conf @@ -12,7 +13,7 @@ $(CC) $(CFLAGS) $(LDFLAGS) -o jconv jconv.o $(OBJS) libjconv.so: $(OBJS) - $(CC) $(CFLAGS) $(LDFLAGS) -shared -Wl,-soname,libjconv.so.0 -o libjconv.so $(OBJS) + $(CC) $(CFLAGS) $(LDFLAGS) -shared -Wl,-soname,libjconv.so.$(MAJOR) -o libjconv.so $(OBJS) libjconv.a: $(OBJS) ar rc libjconv.a $(OBJS) --- libjconv-2.8.orig/debian/changelog +++ libjconv-2.8/debian/changelog @@ -0,0 +1,42 @@ +libjconv (2.8-4.0) unstable; urgency=low + + * NMU (DebCamp BSP). + * debian/control: + + Set debhelper dependency to (>= 3.0). + + Proper conflicts with wdg-htmlvalidator (<< 1.5.5-2) to fix filename + collision in libjconv-bin (Closes: #148301, #201517). + + Set policy to 3.6.0. + + Rewrapped the long description (Closes: #131579). + * debian/copyright: + + Replaced "Author(s)" with "Authors". + * debian/rules: + + Removed deprecated call to dh_undocumented. + + -- Sam Hocevar (Debian packages) Sat, 19 Jul 2003 10:50:43 +0200 + +libjconv (2.8-4) unstable; urgency=low + + * debian/control: spelling error in description fixed. (Closes: #124986) + + -- Peter Novodvorsky Sun, 30 Dec 2001 23:51:38 +0300 + +libjconv (2.8-3) unstable; urgency=low + + * Expanded short description. (Closes: #103014) + + -- Peter Novodvorsky Mon, 2 Jul 2001 23:15:37 +0400 + +libjconv (2.8-2) unstable; urgency=low + + * Changed sections of the packages. Now -dev is devel, lib is libs and + -bin is misc. + + -- Peter Novodvorsky Tue, 17 Apr 2001 09:33:06 +0400 + +libjconv (2.8-1) unstable; urgency=low + + * Initial Release. (Closes: #94020) + + -- Peter Novodvorsky Sun, 15 Apr 2001 02:01:09 +0400 + + --- libjconv-2.8.orig/debian/control +++ libjconv-2.8/debian/control @@ -0,0 +1,42 @@ +Source: libjconv +Priority: optional +Section: libs +Maintainer: Peter Novodvorsky +Build-Depends: debhelper (>= 3.0) +Standards-Version: 3.6.0 + +Package: libjconv-dev +Section: devel +Architecture: any +Depends: libjconv2 (= ${Source-Version}), libc6-dev +Description: charset conversion library - development + This library provide Japanese Code Conversion capability + based on iconv. It is based by application to enlarge + number of supported encoding. It isn't only for japanese + people, it is used as helper in sylpheed mailer. + . + This package contains development files. + +Package: libjconv2 +Section: libs +Architecture: any +Depends: ${shlibs:Depends} +Description: charset conversion library + This library provide Japanese Code Conversion capability + based on iconv. It is based by application to enlarge + number of supported encoding. It isn't only for japanese + people, it is used as helper in sylpheed mailer. + +Package: libjconv-bin +Section: misc +Architecture: any +Depends: ${shlibs:Depends} +Conflicts: wdg-htmlvalidator (<< 1.5.5-2) +Description: charset conversion library - binaries + This library provide Japanese Code Conversion capability based on iconv. It + is based by application to enlarge number of supported encoding. It isn't + only for japanese people, it is used as helper in sylpheed mailer. + . + This package contains the jconv program which does conversions between + encodings using libjconv. + --- libjconv-2.8.orig/debian/copyright +++ libjconv-2.8/debian/copyright @@ -0,0 +1,29 @@ +This package was debianized by Peter Novodvorsky on +Sun, 15 Apr 2001 02:01:09 +0400. + +It was downloaded from ftp://ftp.kondara.org/ + +Upstream Authors: Akira Higuchi , + Toru Hoshina , + + + +Copyright: + +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, 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, 59 Temple Place - Suite 330, +Boston, MA 02111-1307, USA. + +On Debian GNU/Linux systems, the complete text of the GNU General +Public License can be found in `/usr/share/common-licenses/GPL'. --- libjconv-2.8.orig/debian/docs +++ libjconv-2.8/debian/docs @@ -0,0 +1 @@ +README --- libjconv-2.8.orig/debian/libjconv-bin.dirs +++ libjconv-2.8/debian/libjconv-bin.dirs @@ -0,0 +1 @@ +usr/bin --- libjconv-2.8.orig/debian/libjconv-dev.dirs +++ libjconv-2.8/debian/libjconv-dev.dirs @@ -0,0 +1,2 @@ +usr/include +usr/lib --- libjconv-2.8.orig/debian/libjconv-dev.links +++ libjconv-2.8/debian/libjconv-dev.links @@ -0,0 +1 @@ +usr/lib/libjconv.so.2.8 usr/lib/libjconv.so --- libjconv-2.8.orig/debian/libjconv2.dirs +++ libjconv-2.8/debian/libjconv2.dirs @@ -0,0 +1,2 @@ +usr/lib +etc/libjconv --- libjconv-2.8.orig/debian/rules +++ libjconv-2.8/debian/rules @@ -0,0 +1,82 @@ +#!/usr/bin/make -f +# Sample debian/rules that uses debhelper. +# GNU copyright 1997 to 1999 by Joey Hess. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +# This is the debhelper compatability version to use. +export DH_COMPAT=3 + +# shared library versions, option 1 +version=2.8 +major=2 +# option 2, assuming the library is created as src/.libs/libfoo.so.2.0.5 or so +#version=`ls src/.libs/lib*.so.* | \ +# awk '{if (match($$0,/[0-9]+\.[0-9]+\.[0-9]+$$/)) print substr($$0,RSTART)}'` +#major=`ls src/.libs/lib*.so.* | \ +# awk '{if (match($$0,/\.so\.[0-9]+$$/)) print substr($$0,RSTART+4)}'` + +devdir := debian/libjconv-dev +libdir := debian/libjconv$(major) +bindir := debian/libjconv-bin + +configure: configure-stamp +configure-stamp: + touch configure-stamp + +build: configure-stamp build-stamp +build-stamp: + dh_testdir + + # Add here commands to compile the package. + $(MAKE) MAJOR=$(major) + + touch build-stamp + +clean: + dh_testdir + dh_testroot + rm -f build-stamp configure-stamp + + -$(MAKE) clean + + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + install -m 755 libjconv.so $(libdir)/usr/lib/libjconv.so.$(version) + install -m 644 libjconv.a $(devdir)/usr/lib + install -m 755 jconv $(bindir)/usr/bin + install -m 644 jconv.h $(devdir)/usr/include + install -m 644 default.conf $(libdir)/etc/libjconv + +# 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_testversion + dh_testdir + dh_testroot + + dh_installdocs + dh_installchangelogs + dh_link + dh_strip + dh_compress + dh_fixperms + 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 configure --- libjconv-2.8.orig/debian/libjconv2.links +++ libjconv-2.8/debian/libjconv2.links @@ -0,0 +1 @@ +usr/lib/libjconv.so.2.8 usr/lib/libjconv.so.2