| 1 |
Dependencies for Imager |
| 2 |
============================ |
| 3 |
|
| 4 |
This information is only relevant for maintainers of Debian packages |
| 5 |
compiled against Imager. |
| 6 |
|
| 7 |
These packages need to depend on the perl-imagerapi-* virtual package |
| 8 |
provided by libimager-perl. |
| 9 |
To generate this dependency please do one of the following: |
| 10 |
|
| 11 |
- debhelper using dh: |
| 12 |
|
| 13 |
Use the "perl_imager" addon and ensure ${perl:Depends} is used in debian/control. |
| 14 |
This requires a build-dependency on libimager-perl (>= 0.95+dfsg). |
| 15 |
|
| 16 |
The debian/rules file might look as follows: |
| 17 |
|
| 18 |
#!/usr/bin/make -f |
| 19 |
%: |
| 20 |
dh $@ --with perl_imager |
| 21 |
|
| 22 |
Alternatively, since libimager-perl/1.007+dfsg-1 you can just build depend |
| 23 |
on dh-sequence-perl-imager and omit the "--with perl_imager" part. |
| 24 |
|
| 25 |
- old-style debhelper: |
| 26 |
|
| 27 |
Run dh_perl_imager after dh_perl and ensure ${perl:Depends} is used in |
| 28 |
debian/control. This requires a build dependency on libimager-perl (>= 0.95+dfsg). |
| 29 |
|
| 30 |
- packages not using debhelper: |
| 31 |
|
| 32 |
Include /usr/share/libimager-perl/perl-imagerapi.make in debian rules and use |
| 33 |
PERL_IMAGERAPI_DEPENDS. This requires a build-dependency on |
| 34 |
libimager-perl (>= 0.95+dfsg). |
| 35 |
|
| 36 |
See https://bugs.debian.org/693003 for a discussion why this dependency is |
| 37 |
required. |