Différences entre versions de « Backport Evince »
(→Dependency 3: gnome-doc-utils : changelog) |
(→Backporting lidjvulibre-dev : changelog) |
||
| Ligne 22 : | Ligne 22 : | ||
3:3.3.4-4 to version 3:3.3.4-3 (stable) - ain't it precise ;) If I got it right, -4 switches to xorg, so better stay ''stable''. | 3:3.3.4-4 to version 3:3.3.4-3 (stable) - ain't it precise ;) If I got it right, -4 switches to xorg, so better stay ''stable''. | ||
| + | debian/changelog: | ||
| + | djvulibre (3.5.17-0bpo1) sarge-backports; urgency=low | ||
| + | |||
| + | * Rebuilt for sarge. | ||
| + | * Changed dependency libqt3-mt-dev from version 3:3.3.4-4 to version | ||
| + | 3:3.3.4-3 (sarge) | ||
| + | |||
| + | -- Sylvain Beucler <beuc@beuc.net> Mon, 12 Jun 2006 09:21:17 +0000 | ||
=== Dependency 2: libnautilus-extension-dev === | === Dependency 2: libnautilus-extension-dev === | ||
Version du 12 juin 2006 à 10:26
For simplicity I essentially dropped the nautilus integration (thumbnails, etc.).
TODO: To make a proper backport, we also need to set the package version accordingly (that is: -[debianversion-1]bpo0), and write a changelog entry.
Step 1
$ apt-get build-dep evince [...] No candidate version found for libdjvulibre-dev No candidate version found for libnautilus-extension-dev
Dependency 1: libdjvulibre-dev
libdjvulibre-dev (v3.15) is missing, and is only available with etch and later. sarge doesn't countain - by mistake - a -dev package for libdjvulibre1 (v3.14), otherwise we could have used that one and skip another backport.
Backporting lidjvulibre-dev
build-dep reports one missing dependency: libqt3-mt-dev.
In debian/control, change libqt3-mt-dev from version
3:3.3.4-4 to version 3:3.3.4-3 (stable) - ain't it precise ;) If I got it right, -4 switches to xorg, so better stay stable.
debian/changelog:
djvulibre (3.5.17-0bpo1) sarge-backports; urgency=low
* Rebuilt for sarge.
* Changed dependency libqt3-mt-dev from version 3:3.3.4-4 to version
3:3.3.4-3 (sarge)
-- Sylvain Beucler <beuc@beuc.net> Mon, 12 Jun 2006 09:21:17 +0000
Dependency 2: libnautilus-extension-dev
Backporting the library essentially means backporting nautilus and probably a couple dependencies from Gnome. We'll desactivate it instead:
- Remove it from
debian/control.in. - In
debian/rules, modifyDEB_CONFIGURE_EXTRA_FLAGSand add the--disable-nautilusoption
Step 2
$ dpkg-buildpackage -us -uc [...]
Dependency 3: gnome-doc-utils
gnome-doc-utils is required with version > 0.3, while we're using v0.1 from sarge). It was detected at ./configure time only because the debian/control dependency did not specify a version.
This one is pretty simple to solve:
apt-src install gnome-doc-utils cd gnome-doc-utils dch -i # set version - see below debuild -us -uc
(using the sid version)
dch modifies debian/changelog. I used:
gnome-doc-utils (0.6.0-0bpo1) sarge-backports; urgency=low * Rebuilt for sarge. -- Sylvain Beucler <beuc@beuc.net> Mon, 12 Jun 2006 08:21:13 +0000
What is important is:
- distribution set to sarge-backports
- version set to [previous Debian version - 1]bpo1
- and a message explaining the changes.
You now can build your .debs with dpkg-buildpackage :)