--- libjconv-2.8.orig/Makefile +++ libjconv-2.8/Makefile @@ -5,14 +5,15 @@ 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 -jconv: jconv.o $(OBJS) - $(CC) $(CFLAGS) $(LDFLAGS) -o jconv jconv.o $(OBJS) +jconv: jconv.o libjconv.so + $(CC) $(CFLAGS) $(LDFLAGS) -o jconv jconv.o -L. -ljconv 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/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/rules +++ libjconv-2.8/debian/rules @@ -0,0 +1,72 @@ +#!/usr/bin/make -f +# Sample debian/rules that uses debhelper. +# This file is public domain software, originally written by Joey Hess. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +# 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 + +build: build-stamp +build-stamp: + dh_testdir + + $(MAKE) MAJOR=$(major) + + touch build-stamp + +clean: + dh_testdir + dh_testroot + rm -f build-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_testdir + dh_testroot + dh_installchangelogs + dh_installdocs + dh_link + dh_strip + dh_compress + dh_fixperms + dh_makeshlibs + dh_installdeb + dh_shlibdeps -Llibjconv$(major) -l$(libdir)/usr/lib + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install --- 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/compat +++ libjconv-2.8/debian/compat @@ -0,0 +1 @@ +5 --- 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, 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, 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/libjconv2.links +++ libjconv-2.8/debian/libjconv2.links @@ -0,0 +1 @@ +usr/lib/libjconv.so.2.8 usr/lib/libjconv.so.2 --- libjconv-2.8.orig/debian/changelog +++ libjconv-2.8/debian/changelog @@ -0,0 +1,63 @@ +libjconv (2.8-6) unstable; urgency=low + + * QA upload. + * Specify `-L.' when linking with libjconv.so. Closes: #421784. + + -- Matej Vela Tue, 1 May 2007 15:45:47 +0200 + +libjconv (2.8-5) unstable; urgency=low + + * QA upload. + * Package is orphaned (#419090); set maintainer to Debian QA Group. + * Link jconv to libjconv.so. + * Switch to debhelper 5. + * Fix override disparities. + - Change section of libjconv-bin to devel. + - Change section of libjconv-dev to libdevel. + * debian/copyright: Update FSF address. + * Conforms to Standards version 3.7.2. + + -- Matej Vela Mon, 30 Apr 2007 11:29:37 +0200 + +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/libjconv-dev.dirs +++ libjconv-2.8/debian/libjconv-dev.dirs @@ -0,0 +1,2 @@ +usr/include +usr/lib --- 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/control +++ libjconv-2.8/debian/control @@ -0,0 +1,42 @@ +Source: libjconv +Priority: optional +Section: libs +Maintainer: Debian QA Group +Build-Depends: debhelper (>= 5) +Standards-Version: 3.7.2 + +Package: libjconv-dev +Section: libdevel +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: devel +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/libjconv-dev.docs +++ libjconv-2.8/debian/libjconv-dev.docs @@ -0,0 +1 @@ +README