ICU-3726 Add some Debian changes

X-SVN-Rev: 15117
This commit is contained in:
George Rhoten 2004-05-02 06:57:35 +00:00
parent 3fd90af549
commit 3cf82ce3ff
3 changed files with 78 additions and 27 deletions

View File

@ -1,3 +1,45 @@
icu (2.6.1-1) experimental; urgency=low
* New upstream version.
* Ivo Timmermans:
* debian/rules Don't create arch-all packages in the binary-arch
target. Closes: #184403
-- Ivo Timmermans <ivo@debian.org> Thu, 6 Nov 2003 09:03:44 +0100
icu (2.6-1) experimental; urgency=low
* New upstream version. Closes: #162975
* debian/control: New maintainers
* Daniel Glassey:
* debian/rules Change the optimisations to -O3 and -O to get it to build
* debian/rules get the latest config.{sub,guess} from /usr/share/misc
so add build-dep on autotools-dev
* debian/postinst gencnval is now in {prefix}/bin
* Ivo Timmermans:
* debian/control Tightened debhelper build dependency
* debian/control Update Standards-Version
-- Daniel Glassey <wdg@debian.org> Wed, 3 Sep 2003 12:39:35 +0200
icu (2.1-1.2) unstable; urgency=low
* NMU.
* Updated source/config.{sub,guess}. Closes: #182697
-- Ivo Timmermans <ivo@debian.org> Fri, 7 Mar 2003 20:58:23 +0100
icu (2.1-1.1) unstable; urgency=low
* NMU.
* debian/control: Go through G++ ABI transition. Closes: #180124
* source/common/unicode/docmain.h: Fix \mainpage and \section tags,
so doxygen doesn't get confused any more. Closes: #178344
* debian/copyright: Added upstream URL. Closes: #165780
*
-- Ivo Timmermans <ivo@debian.org> Fri, 14 Feb 2003 15:21:56 +0100
icu (2.1-1) unstable; urgency=low icu (2.1-1) unstable; urgency=low
* ICU 2.1 release. * ICU 2.1 release.

View File

@ -1,11 +1,12 @@
Source: icu Source: icu
Section: libs Section: libs
Priority: optional Priority: optional
Maintainer: Yves Arrouye <yves@debian.org> Maintainer: Daniel Glassey <wdg@debian.org>
Standards-Version: 3.5.6 Uploaders: Ivo Timmermans <ivo@debian.org>
Build-Depends: debhelper, doxygen Standards-Version: 3.6.0
Build-Depends: debhelper (>> 3.0), doxygen, autotools-dev
Package: libicu21-dev Package: libicu30-dev
Section: devel Section: devel
Architecture: any Architecture: any
Depends: libicu${major} (= ${Source-Version}), libc6-dev Depends: libicu${major} (= ${Source-Version}), libc6-dev
@ -24,7 +25,7 @@ Description: API documentation for ICU classes and functions
and locale support. This package contains HTML files documenting the ICU and locale support. This package contains HTML files documenting the ICU
APIs. APIs.
Package: libicu21 Package: libicu30
Section: libs Section: libs
Architecture: any Architecture: any
Depends: ${shlibs:Depends} Depends: ${shlibs:Depends}

View File

@ -47,11 +47,11 @@ endif
# Build flags # Build flags
CFLAGS = -O2 # -Wall CFLAGS = -O3 # -Wall
ifeq ($(shell uname -m),s390) ifeq ($(shell uname -m),s390)
CXXFLAGS = -O1 # -Wall CXXFLAGS = -O1 # -Wall
else else
CXXFLAGS = -O2 # -Wall CXXFLAGS = -O # -Wall
endif endif
INSTALL_PROGRAM = /usr/bin/install INSTALL_PROGRAM = /usr/bin/install
@ -70,7 +70,7 @@ configure: $(builddir)/configure-stamp
$(builddir)/configure-stamp: $(builddir)/configure-stamp:
# Add here commands to configure the package. # Add here commands to configure the package.
test -d $(builddir) || mkdir $(builddir) test -d $(builddir) || mkdir $(builddir)
cd $(builddir); CFLAGS='$(CFLAGS)' CXXFLAGS='$(CXXFLAGS)' INSTALL_PROGRAM='$(INSTALL_PROGRAM)' $(SHELL) $(builddir_relative_srcdir)/configure --srcdir=$(builddir_relative_srcdir) --prefix=/usr --mandir=/usr/share/man --sysconfdir=/etc --localstatedir=/var --with-data-packaging=files --disable-rpath --enable-shared --enable-static --disable-samples cd $(builddir); CFLAGS='$(CFLAGS)' CXXFLAGS='$(CXXFLAGS)' INSTALL_PROGRAM='$(INSTALL_PROGRAM)' $(SHELL) $(builddir_relative_srcdir)/configure --srcdir=$(builddir_relative_srcdir) --prefix=/usr --mandir=/usr/share/man --sysconfdir=/etc --localstatedir=/var --with-data-packaging=files --enable-shared --enable-static --disable-samples
touch $@ touch $@
build: $(builddir)/configure-stamp debian-files $(builddir)/build-stamp build: $(builddir)/configure-stamp debian-files $(builddir)/build-stamp
@ -94,12 +94,18 @@ $(builddir)/build-stamp:
# Add here commands to compile the package. # Add here commands to compile the package.
$(MAKE) -C $(builddir) $(MAKE) -C $(builddir)
$(MAKE) -C $(builddir) doc
touch $@ touch $@
clean: update-debian-files clean: update-debian-files
dh_testdir dh_testdir
dh_testroot dh_testroot
-test -r /usr/share/misc/config.sub && \
cp -f /usr/share/misc/config.sub $(srcdir)/config.sub
-test -r /usr/share/misc/config.guess && \
cp -f /usr/share/misc/config.guess $(srcdir)/config.guess
$(RM) $(builddir)/build-stamp $(builddir)/configure-stamp $(RM) $(builddir)/build-stamp $(builddir)/configure-stamp
# Add here commands to clean up after the build process. # Add here commands to clean up after the build process.
@ -120,6 +126,7 @@ install: build
# Add here commands to install the package into debian/tmp # Add here commands to install the package into debian/tmp
$(MAKE) -C $(builddir) install DESTDIR=`pwd`/debian/tmp $(MAKE) -C $(builddir) install DESTDIR=`pwd`/debian/tmp
$(MAKE) -C $(builddir) install-doc DESTDIR=`pwd`/debian/tmp
# Build architecture-independent files here. # Build architecture-independent files here.
binary-indep: build install binary-indep: build install
@ -163,7 +170,7 @@ binary-arch: build install
# #
# massage data files # massage data files
# #
$(RM) debian/tmp/$(iculibdir)/cnvalias.dat # $(RM) debian/tmp/$(iculibdir)/cnvalias.dat
ifneq ($(iculibdir),$(icufildir)) ifneq ($(iculibdir),$(icufildir))
test -d debian/tmp/$(icufildir) || mkdir debian/tmp/$(icufildir) test -d debian/tmp/$(icufildir) || mkdir debian/tmp/$(icufildir)
mv debian/tmp/$(iculibdir)/*.* debian/tmp/$(icufildir) mv debian/tmp/$(iculibdir)/*.* debian/tmp/$(icufildir)
@ -178,11 +185,12 @@ ifneq ($(iculibdir),$(icufildir))
dh_movefiles -picu \ dh_movefiles -picu \
$(iculibdir)/*msg.dat $(iculibdir)/*msg.dat
endif endif
# The license.html must be installed with ICU's source code.
# This includes the headers.
dh_movefiles -picu \ dh_movefiles -picu \
etc \ etc \
usr/bin \ usr/bin \
usr/sbin \ usr/sbin \
$(icudatadir)/README \
$(icudatadir)/license.html \ $(icudatadir)/license.html \
$(iculibdir)/*.inc \ $(iculibdir)/*.inc \
$(icufildir)/*.cnv \ $(icufildir)/*.cnv \
@ -198,7 +206,7 @@ endif
# move the rest of the development files # move the rest of the development files
# in their package # in their package
# #
dh_movefiles usr dh_movefiles -a usr
# #
# do a bit of cleanup # do a bit of cleanup
# #
@ -208,30 +216,30 @@ endif
# continue to prepare packages # continue to prepare packages
# #
# dh_installdebconf # dh_installdebconf
dh_installdocs dh_installdocs -a
dh_installexamples $(srcdir)/samples/* dh_installexamples -a $(srcdir)/samples/*
find debian/libicu$(major)-dev -name CVS -o -name .cvsignore | xargs $(RM) -r find debian/libicu$(major)-dev -name CVS -o -name .cvsignore | xargs $(RM) -r
dh_installmenu dh_installmenu -a
# dh_installemacsen # dh_installemacsen
# dh_installpam # dh_installpam
# dh_installinit # dh_installinit
dh_installcron dh_installcron -a
dh_installmanpages -picu dh_installmanpages -picu
dh_installinfo dh_installinfo -a
# dh_undocumented -picu # dh_undocumented -picu
dh_installchangelogs dh_installchangelogs -a
dh_link dh_link -a
dh_strip dh_strip -a
dh_compress dh_compress -a
dh_fixperms dh_fixperms -a
# You may want to make some executables suid here. # You may want to make some executables suid here.
dh_makeshlibs dh_makeshlibs -a
dh_installdeb dh_installdeb -a
# dh_perl # dh_perl
dh_shlibdeps -ldebian/libicu$(major)/usr/lib dh_shlibdeps -a -ldebian/libicu$(major)/usr/lib
dh_gencontrol -- -Vversion=$(version) -Vmajor=$(major) dh_gencontrol -a -- -Vversion=$(version) -Vmajor=$(major)
dh_md5sums dh_md5sums -a
dh_builddeb dh_builddeb -a
# Automatically update changelog and control # Automatically update changelog and control
update-debian-files: update-debian-files: