Commit 3d7bb4b6 authored by Xiyue Deng's avatar Xiyue Deng

* Refined debian/rules to set variables SHARED_PKG and DOC_PKG by sed

  from debian/control and use variable SHVER for shlibs version, and
  refine and reformat corresponding rules accordingly.
* Drop 70_relibtoolize.patch, and use chrpath hack to get rid of amd64
  rpath issue, hence add chrpath to b-deps.  Should contact upstream for
  real fix.
* Migrate maintainer ship to Debian GNOME Team, and add Debian GNOME
  Team to uploaders.
* Update build-dep/dep in debian/control* as per source configure.in,
  and drop debian version postfix as per lintian.
* Add -dbg package for debug symbols.
* Update debian/compat to 6, and bump build-dep debhelper to >= 6, and
  cdbs to >= 0.4.51 to avoid empty debug package bug.
* Update watch version to 3, and drop 'debian uupdate' as not
  necessarily required.
parent cd922ed2
libxml++2.6 (2.20.0-2) UNRELEASED; urgency=low
* Refined debian/rules to set variables SHARED_PKG and DOC_PKG by sed
from debian/control and use variable SHVER for shlibs version, and
refine and reformat corresponding rules accordingly.
* Drop 70_relibtoolize.patch, and use chrpath hack to get rid of amd64
rpath issue, hence add chrpath to b-deps. Should contact upstream for
real fix.
* Migrate maintainer ship to Debian GNOME Team, and add Debian GNOME
Team to uploaders.
* Update build-dep/dep in debian/control* as per source configure.in,
and drop debian version postfix as per lintian.
* Add -dbg package for debug symbols.
* Update debian/compat to 6, and bump build-dep debhelper to >= 6, and
cdbs to >= 0.4.51 to avoid empty debug package bug.
* Update watch version to 3, and drop 'debian uupdate' as not
necessarily required.
-- Deng Xiyue <manphiz-guest@users.alioth.debian.org> Thu, 28 Feb 2008 18:13:01 +0800
libxml++2.6 (2.20.0-1) unstable; urgency=low
* New upstream release. (Closes: #430142)
......
......@@ -2,23 +2,27 @@ Source: libxml++2.6
Priority: optional
Section: devel
Maintainer: Deng Xiyue <manphiz-guest@users.alioth.debian.org>
Uploaders: Debian GNOME Maintainers <pkg-gnome-maintainers@lists.alioth.debian.org>
Homepage: http://libxmlplusplus.sourceforge.net/
Build-Depends: cdbs (>= 0.4.41),
debhelper (>= 5),
Vcs-Browser: http://svn.debian.org/wsvn/pkg-gnome/packages/unstable/libxml++2.6
Vcs-Svn: svn://svn.debian.org/svn/pkg-gnome/packages/unstable/libxml++2.6
Build-Depends: cdbs (>= 0.4.51),
chrpath,
debhelper (>= 6),
doc-base,
gnome-pkg-tools (>= 0.11),
libxml2-dev (>= 2.6.1),
libglibmm-2.4-dev (>= 2.8.2-1),
libglibmm-2.4-dev (>= 2.4.0),
pkg-config
Standards-Version: 3.7.3
Package: libxml++2.6-dev
Section: libdevel
Architecture: any
Depends: ${misc:Depends}
Depends: ${misc:Depends},
libxml++2.6-2 (= ${binary:Version}),
libxml2-dev (>= 2.6.1),
libglibmm-2.4-dev,
libglibmm-2.4-dev (>= 2.4.0),
pkg-config
Suggests: libxml++2.6-doc
Description: A C++ interface to the GNOME XML library (libxml2)
......@@ -32,7 +36,7 @@ Description: A C++ interface to the GNOME XML library (libxml2)
Package: libxml++2.6-2
Section: libs
Architecture: any
Depends: ${misc:Depends}
Depends: ${misc:Depends},
${shlibs:Depends}
Description: A C++ interface to the GNOME XML library (libxml2)
libxml++ is a C++ wrapper for the libxml2 XML parser library (otherwise
......@@ -42,6 +46,20 @@ Description: A C++ interface to the GNOME XML library (libxml2)
.
This package contains shared libraries.
Package: libxml++2.6-dbg
Section: libdevel
Priority: extra
Architecture: any
Depends: ${misc:Depends},
libxml++2.6-2 (= ${binary:Version})
Description: A C++ interface to the GNOME XML library (debug symbols)
libxml++ is a C++ wrapper for the libxml2 XML parser library (otherwise
known as the GNOME2 XML library). It has SAX and DOM-like APIs, but does not
attempt to conform exactly to the DOM specification because they are not
aimed at C++. Its API is much simpler than the underlying libxml C API.
.
This package contains debug symbols for debugging applications using libxml++.
Package: libxml++2.6-doc
Section: doc
Architecture: all
......
Source: libxml++2.6
Priority: optional
Section: devel
Maintainer: Deng Xiyue <manphiz-guest@users.alioth.debian.org>
Uploaders: @GNOME_TEAM@
Homepage: http://libxmlplusplus.sourceforge.net/
Vcs-Browser: http://svn.debian.org/wsvn/pkg-gnome/packages/unstable/libxml++2.6
Vcs-Svn: svn://svn.debian.org/svn/pkg-gnome/packages/unstable/libxml++2.6
Build-Depends: cdbs (>= 0.4.51),
chrpath,
debhelper (>= 6),
doc-base,
gnome-pkg-tools (>= 0.11),
libxml2-dev (>= 2.6.1),
libglibmm-2.4-dev (>= 2.4.0),
pkg-config
Standards-Version: 3.7.3
Package: libxml++2.6-dev
Section: libdevel
Architecture: any
Depends: ${misc:Depends},
libxml++2.6-2 (= ${binary:Version}),
libxml2-dev (>= 2.6.1),
libglibmm-2.4-dev (>= 2.4.0),
pkg-config
Suggests: libxml++2.6-doc
Description: A C++ interface to the GNOME XML library (libxml2)
libxml++ is a C++ wrapper for the libxml2 XML parser library (otherwise
known as the GNOME2 XML library). It has SAX and DOM-like APIs, but does not
attempt to conform exactly to the DOM specification because they are not
aimed at C++. Its API is much simpler than the underlying libxml C API.
.
This package contains development files.
Package: libxml++2.6-2
Section: libs
Architecture: any
Depends: ${misc:Depends},
${shlibs:Depends}
Description: A C++ interface to the GNOME XML library (libxml2)
libxml++ is a C++ wrapper for the libxml2 XML parser library (otherwise
known as the GNOME2 XML library). It has SAX and DOM-like APIs, but does not
attempt to conform exactly to the DOM specification because they are not
aimed at C++. Its API is much simpler than the underlying libxml C API.
.
This package contains shared libraries.
Package: libxml++2.6-dbg
Section: libdevel
Priority: extra
Architecture: any
Depends: ${misc:Depends},
libxml++2.6-2 (= ${binary:Version})
Description: A C++ interface to the GNOME XML library (debug symbols)
libxml++ is a C++ wrapper for the libxml2 XML parser library (otherwise
known as the GNOME2 XML library). It has SAX and DOM-like APIs, but does not
attempt to conform exactly to the DOM specification because they are not
aimed at C++. Its API is much simpler than the underlying libxml C API.
.
This package contains debug symbols for debugging applications using libxml++.
Package: libxml++2.6-doc
Section: doc
Architecture: all
Depends: ${misc:Depends},
doc-base,
lynx | www-browser
Suggests: libxml++2.6-dev
Description: HTML interface documentation and examples for libxml++
libxml++ is a C++ wrapper for the libxml2 XML parser library (otherwise
known as the GNOME2 XML library). It has SAX and DOM-like APIs, but does not
attempt to conform exactly to the DOM specification because they are not
aimed at C++. Its API is much simpler than the underlying libxml C API.
.
This package contains reference documentation and examples.
This diff is collapsed.
......@@ -4,14 +4,22 @@ include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/rules/simple-patchsys.mk
include /usr/share/cdbs/1/rules/utils.mk
include /usr/share/cdbs/1/class/autotools.mk
include /usr/share/gnome-pkg-tools/1/rules/uploaders.mk
-include /usr/share/gnome-pkg-tools/1/rules/gnome-get-source.mk
GNOME_MODULE := libxml++
SHARED_PKG := $(shell sed -rn 's/Package:[[:space:]]*(libxml\+\+[0-9\.]+-[0-9]+)[[:space:]]*$$/\1/p' debian/control | head -n 1)
DOC_PKG := $(shell sed -rn 's/Package:[[:space:]]*(libxml\+\+[0-9\.]+-doc)[[:space:]]*$$/\1/p' debian/control | head -n 1)
SHVER := 2.20.0
LDFLAGS += -Wl,-z,defs -Wl,-O1 -Wl,--as-needed
DEB_CONFIGURE_EXTRA_FLAGS += --enable-static
DEB_DH_INSTALL_SOURCEDIR := debian/tmp
DEB_DH_MAKESHLIBS_ARGS_$(SHARED_PKG) += -V"$(SHARED_PKG) (>= $(SHVER))"
DEB_INSTALL_EXAMPLES_$(DOC_PKG) += -XMakefile -X.deps -X.libs -X.o
DEB_DH_MAKESHLIBS_ARGS_libxml++2.6-2 += -V"libxml++2.6-2 (>= 2.20.0)"
DEB_INSTALL_EXAMPLES_libxml++2.6-doc += \
-Xfragment -X.deps -X.libs -X.o -X.in -X.am
# chrpath hack to get rid of amd64 rpath
common-install-impl::
chrpath -d $(DEB_DH_INSTALL_SOURCEDIR)/usr/lib/*.so*
version=2
version=3
http://download.gnome.org/sources/libxml++/([\d\.]+)[02468]/ \
libxml\+\+-(.*)\.tar\.gz \
debian uupdate
libxml\+\+-(.*)\.tar\.gz
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment