Browse Source

initial librarification push

Michael Vogt 13 years ago
parent
commit
782486e821
19 changed files with 3714 additions and 5076 deletions
  1. 1 1
      configure.in
  2. 1 1
      debian/apt-utils.install
  3. 2 0
      debian/changelog
  4. 14 1
      debian/control
  5. 1 0
      debian/libapt-inst1.2.install
  6. 0 0
      debian/libapt-inst1.2.symbols
  7. 1 0
      debian/libapt-pkg4.10.install
  8. 0 0
      debian/libapt-pkg4.10.symbols
  9. 41 11
      debian/rules
  10. 300 199
      doc/po/apt-doc.pot
  11. 465 224
      doc/po/de.po
  12. 465 225
      doc/po/es.po
  13. 459 223
      doc/po/fr.po
  14. 310 206
      doc/po/it.po
  15. 454 228
      doc/po/ja.po
  16. 414 221
      doc/po/pl.po
  17. 464 224
      doc/po/pt.po
  18. 322 208
      doc/po/pt_BR.po
  19. 0 3104
      po/apt-all.pot

+ 1 - 1
configure.in

@@ -18,7 +18,7 @@ AC_CONFIG_AUX_DIR(buildlib)
 AC_CONFIG_HEADER(include/config.h:buildlib/config.h.in include/apti18n.h:buildlib/apti18n.h.in)
 
 dnl -- SET THIS TO THE RELEASE VERSION --
-AC_DEFINE_UNQUOTED(VERSION,"0.8.2")
+AC_DEFINE_UNQUOTED(VERSION,"0.8.15")
 PACKAGE="apt"
 AC_DEFINE_UNQUOTED(PACKAGE,"$PACKAGE")
 AC_SUBST(PACKAGE)

+ 1 - 1
debian/apt-utils.install

@@ -1 +1 @@
-bin/libapt-inst*.so.* usr/lib/
+

+ 2 - 0
debian/changelog

@@ -80,6 +80,8 @@ apt (0.8.15) UNRELEASED; urgency=low
     - ignore non http urls in the mirrors
     - append the dist (e.g. sid, wheezy) as a query string when
       asking for a suitable mirror 
+  * debian/control:
+    - add libapt-pkg4.10 and libapt-inst1.2 library packages
 
  -- Michael Vogt <mvo@debian.org>  Mon, 16 May 2011 14:57:52 +0200
 

+ 14 - 1
debian/control

@@ -16,7 +16,6 @@ Architecture: any
 Pre-Depends: ${shlibs:Depends}
 Depends: debian-archive-keyring, ${misc:Depends}, gnupg
 Replaces: manpages-pl (<< 20060617-3~)
-Provides: ${libapt-pkg:provides}
 Conflicts: python-apt (<< 0.7.93.2~)
 Suggests: aptitude | synaptic | wajig, dpkg-dev, apt-doc, bzip2, lzma, python-apt
 Description: Advanced front-end for dpkg
@@ -27,6 +26,20 @@ Description: Advanced front-end for dpkg
  APT features complete installation ordering, multiple source capability
  and several other unique features, see the Users Guide in apt-doc.
 
+Package: libapt-pkg4.10
+Architecture: any
+Depends: ${shlibs:Depends}
+Replaces: apt (<< 0.8.15)
+Description: Library for apt
+ This package contains the library used by apt.
+
+Package: libapt-inst1.2
+Architecture: any
+Depends: ${shlibs:Depends}
+Replaces: apt-utils (<< 0.8.15)
+Description: Install library for apt
+ This package contains the inst library used by apt.
+
 Package: apt-doc
 Architecture: all
 Priority: optional

+ 1 - 0
debian/libapt-inst1.2.install

@@ -0,0 +1 @@
+bin/libapt-inst*.so.* usr/lib/

debian/apt-utils.symbols → debian/libapt-inst1.2.symbols


+ 1 - 0
debian/libapt-pkg4.10.install

@@ -0,0 +1 @@
+bin/libapt-pkg*.so.* usr/lib/

debian/apt.symbols → debian/libapt-pkg4.10.symbols


+ 41 - 11
debian/rules

@@ -70,10 +70,6 @@ APT_UTILS=ftparchive sortpkgs extracttemplates
 # Find the libapt-pkg major version for use in other control files
 include buildlib/libversion.mak
 
-# Determine which package we should provide in the control files
-LIBAPTPKG_PROVIDE=libapt-pkg$(LIBAPTPKG_MAJOR)
-LIBAPTINST_PROVIDE=libapt-inst$(LIBAPTINST_MAJOR)
-
 # do not fail as we are just experimenting with symbol files for now
 export DPKG_GENSYMBOLS_CHECK_LEVEL=0
 
@@ -137,7 +133,7 @@ libapt-pkg-doc: build-doc
 	dh_compress -p$@
 	dh_fixperms -p$@
 	dh_installdeb -p$@
-	dh_gencontrol -p$@ -- -Vlibapt-pkg:provides=$(LIBAPTPKG_PROVIDE)
+	dh_gencontrol -p$@
 	dh_md5sums -p$@
 	dh_builddeb -p$@
 
@@ -165,7 +161,7 @@ apt-doc: build-doc
 
 # Build architecture-dependent files here.
 
-binary-arch: apt libapt-pkg-dev apt-utils apt-transport-https
+binary-arch: libapt-pkg4.10 libapt-inst1.2 apt libapt-pkg-dev apt-utils apt-transport-https
 apt_MANPAGES = apt-cache apt-cdrom apt-config apt-get apt-key apt-mark apt-secure apt apt.conf apt_preferences sources.list
 apt: build build-doc
 	dh_testdir -p$@
@@ -207,8 +203,8 @@ apt: build build-doc
 	dh_fixperms -p$@
 	dh_makeshlibs -p$@
 	dh_installdeb -p$@
-	dh_shlibdeps -p$@ -l$(CURDIR)/debian/apt/usr/lib:$(CURDIR)/debian/$@/usr/lib
-	dh_gencontrol -p$@ -- -Vlibapt-pkg:provides=$(LIBAPTPKG_PROVIDE)
+	dh_shlibdeps -p$@ -l$(CURDIR)/debian/libapt-inst2.1/usr/lib:$(CURDIR)/debian/libapt-pkg4.10/usr/lib
+	dh_gencontrol -p$@
 	dh_md5sums -p$@
 	dh_builddeb -p$@
 
@@ -227,7 +223,7 @@ libapt-pkg-dev: build
 	dh_compress -p$@
 	dh_fixperms -p$@
 	dh_installdeb -p$@
-	dh_gencontrol -p$@ -- -Vlibapt-pkg:provides=$(LIBAPTPKG_PROVIDE) -Vlibapt-inst:provides=$(LIBAPTINST_PROVIDE)
+	dh_gencontrol -p$@
 	dh_md5sums -p$@
 	dh_builddeb -p$@
 
@@ -253,8 +249,42 @@ apt-utils: build
 	dh_fixperms -p$@
 	dh_makeshlibs -p$@
 	dh_installdeb -p$@
-	dh_shlibdeps -p$@ -l$(CURDIR)/debian/apt/usr/lib:$(CURDIR)/debian/$@/usr/lib
-	dh_gencontrol -p$@ -- -Vlibapt-inst:provides=$(LIBAPTINST_PROVIDE)
+	dh_shlibdeps -p$@ -l$(CURDIR)/debian/libapt-inst2.1/usr/lib:$(CURDIR)/debian/libapt-pkg4.10/usr/lib
+	dh_gencontrol -p$@
+	dh_md5sums -p$@
+	dh_builddeb -p$@
+
+libapt-pkg4.10: build
+	dh_testdir -p$@
+	dh_testroot -p$@
+	dh_prep -p$@
+	dh_installdirs -p$@
+
+	dh_install -p$@ --sourcedir=$(BLD)
+	dh_installchangelogs -p$@
+	dh_strip -p$@
+	dh_compress -p$@
+	dh_fixperms -p$@
+	dh_installdeb -p$@
+	dh_shlibdeps -p$@ 
+	dh_gencontrol -p$@
+	dh_md5sums -p$@
+	dh_builddeb -p$@
+
+libapt-inst1.2: build
+	dh_testdir -p$@
+	dh_testroot -p$@
+	dh_prep -p$@
+	dh_installdirs -p$@
+
+	dh_install -p$@ --sourcedir=$(BLD)
+	dh_installchangelogs -p$@
+	dh_strip -p$@
+	dh_compress -p$@
+	dh_fixperms -p$@
+	dh_installdeb -p$@
+	dh_shlibdeps -p$@ -l$(CURDIR)/debian/libapt-pkg4.10/usr/lib
+	dh_gencontrol -p$@
 	dh_md5sums -p$@
 	dh_builddeb -p$@
 

File diff suppressed because it is too large
+ 300 - 199
doc/po/apt-doc.pot


File diff suppressed because it is too large
+ 465 - 224
doc/po/de.po


File diff suppressed because it is too large
+ 465 - 225
doc/po/es.po


File diff suppressed because it is too large
+ 459 - 223
doc/po/fr.po


File diff suppressed because it is too large
+ 310 - 206
doc/po/it.po


File diff suppressed because it is too large
+ 454 - 228
doc/po/ja.po


File diff suppressed because it is too large
+ 414 - 221
doc/po/pl.po


File diff suppressed because it is too large
+ 464 - 224
doc/po/pt.po


File diff suppressed because it is too large
+ 322 - 208
doc/po/pt_BR.po


File diff suppressed because it is too large
+ 0 - 3104
po/apt-all.pot