| 1 | package CPAN::Plugin::Sysdeps::Mapping; | ||||||||||
| 2 | |||||||||||
| 3 | 9 | ▶ | use strict; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 4 | 9 | ▶ | use warnings; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 5 | |||||||||||
| 6 | 9 | our $VERSION = '0.83'; | |||||||||
| 7 | |||||||||||
| 8 | # shortcuts | ||||||||||
| 9 | # os and distros | ||||||||||
| 10 | 9 | ▶ | use constant os_freebsd => (os => 'freebsd'); | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 11 | 9 | ▶ | use constant os_dragonfly => (os => 'dragonfly'); | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 12 | 9 | ▶ | use constant os_openbsd => (os => 'openbsd'); | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 13 | 9 | ▶ | use constant os_windows => (os => 'MSWin32'); | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 14 | 9 | ▶ | use constant os_darwin => (os => 'darwin'); # really means installer=homebrew | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 15 | 9 | ▶ | use constant like_debian => (linuxdistro => '~debian'); | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 16 | 9 | ▶ | use constant before_ubuntu_trusty => (linuxdistrocodename => [qw(squeeze precise wheezy)]); | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 17 | 9 | ▶ | use constant before_ubuntu_xenial => (linuxdistrocodename => [qw(squeeze precise wheezy trusty jessie)]); | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 18 | 9 | ▶ | use constant before_debian_stretch => (linuxdistrocodename => [qw(squeeze precise wheezy trusty jessie xenial)]); | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 19 | 9 | ▶ | use constant before_ubuntu_bionic => (linuxdistrocodename => [qw(squeeze precise wheezy trusty jessie xenial stretch)]); | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 20 | 9 | ▶ | use constant before_debian_buster => (linuxdistrocodename => [qw(squeeze precise wheezy trusty jessie xenial stretch bionic)]); | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 21 | 9 | ▶ | use constant before_ubuntu_focal => (linuxdistrocodename => [qw(squeeze precise wheezy trusty jessie xenial stretch bionic buster)]); | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 22 | 9 | ▶ | use constant before_debian_bullseye=> (linuxdistrocodename => [qw(squeeze precise wheezy trusty jessie xenial stretch bionic buster focal)]); | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 23 | 9 | ▶ | use constant before_ubuntu_jammy => (linuxdistrocodename => [qw(squeeze precise wheezy trusty jessie xenial stretch bionic buster focal bullseye)]); | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 24 | 9 | ▶ | use constant before_debian_bookworm=> (linuxdistrocodename => [qw(squeeze precise wheezy trusty jessie xenial stretch bionic buster focal bullseye jammy)]); | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 25 | 9 | ▶ | use constant before_ubuntu_noble => (linuxdistrocodename => [qw(squeeze precise wheezy trusty jessie xenial stretch bionic buster focal bullseye jammy bookworm)]); | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 26 | 9 | ▶ | use constant before_debian_trixie => (linuxdistrocodename => [qw(squeeze precise wheezy trusty jessie xenial stretch bionic buster focal bullseye jammy bookworm noble)]); | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 27 | 9 | ▶ | use constant before_ubuntu_resolute=> (linuxdistrocodename => [qw(squeeze precise wheezy trusty jessie xenial stretch bionic buster focal bullseye jammy bookworm noble trixie)]); | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 28 | 9 | ▶ | use constant before_debian_forky => (linuxdistrocodename => [qw(squeeze precise wheezy trusty jessie xenial stretch bionic buster focal bullseye jammy bookworm noble trixie resolute)]); | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 29 | 9 | ▶ | use constant like_fedora => (linuxdistro => '~fedora'); | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 30 | 9 | ▶ | use constant like_alpine => (linuxdistro => '~alpine'); | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 31 | # package shortcuts | ||||||||||
| 32 | 9 | ▶ | use constant freebsd_old_jpeg => 'jpeg | jpeg-turbo'; # older freebsd (e.g. 8, 9) | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 33 | 9 | ▶ | use constant freebsd_new_jpeg => 'jpeg-turbo | jpeg'; # newer freebsd (e.g. 13, 14, 15) | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 34 | 9 | ▶ | use constant freebsd_new_jpeg_osvers => 13; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 35 | |||||||||||
| 36 | sub mapping { | ||||||||||
| 37 | ( | ||||||||||
| 38 | [cpanmod => 'AI::LibNeural', | ||||||||||
| 39 | [os_freebsd, | ||||||||||
| 40 | [package => 'libneural']], # but marked as broken (unfetchable) | ||||||||||
| 41 | # not available for debian or centos | ||||||||||
| 42 | ], | ||||||||||
| 43 | |||||||||||
| 44 | [cpanmod => 'AI::PBDD', | ||||||||||
| 45 | [os_freebsd, | ||||||||||
| 46 | # but does not work, kernel.h is also required | ||||||||||
| 47 | [package => 'bddsolve']], | ||||||||||
| 48 | [like_debian, | ||||||||||
| 49 | # but does not work, kernel.h is also required | ||||||||||
| 50 | [package => 'libbdd-dev']]], | ||||||||||
| 51 | |||||||||||
| 52 | [cpanmod => ['Algorithm::ConstructDFA::XS', 'Algorithm::LibLinear'], | ||||||||||
| 53 | # FreeBSD has c++ in the base system | ||||||||||
| 54 | [like_debian, | ||||||||||
| 55 | [package => 'g++']], | ||||||||||
| 56 | ], | ||||||||||
| 57 | |||||||||||
| 58 | ## Does not help, tests still fail (Alien-Electron-0.102): | ||||||||||
| 59 | #[cpanmod => 'Alien::Electron', | ||||||||||
| 60 | # [like_debian, | ||||||||||
| 61 | # [package => 'libnotify4']]], | ||||||||||
| 62 | |||||||||||
| 63 | [cpanmod => 'Alien::ffmpeg', | ||||||||||
| 64 | [os_freebsd, | ||||||||||
| 65 | [package => 'yasm']], | ||||||||||
| 66 | [like_debian, | ||||||||||
| 67 | [package => 'yasm']], | ||||||||||
| 68 | [like_fedora, | ||||||||||
| 69 | [package => 'yasm']], | ||||||||||
| 70 | [os_darwin, | ||||||||||
| 71 | [package => 'yasm']], | ||||||||||
| 72 | ], | ||||||||||
| 73 | |||||||||||
| 74 | [cpanmod => 'Alien::FFTW3', | ||||||||||
| 75 | [os_freebsd, | ||||||||||
| 76 | [package => ['fftw3', 'pkgconf']]], | ||||||||||
| 77 | [like_debian, | ||||||||||
| 78 | [package => ['libfftw3-dev', 'pkg-config | pkgconf']]], | ||||||||||
| 79 | ], | ||||||||||
| 80 | |||||||||||
| 81 | [cpanmod => 'Alien::HDF4', | ||||||||||
| 82 | [os_freebsd, | ||||||||||
| 83 | [package => 'hdf']], | ||||||||||
| 84 | [like_debian, | ||||||||||
| 85 | # "yasm/nasm not found or too old. Use --disable-yasm for a crippled build." | ||||||||||
| 86 | [package => ['libhdf4-dev', 'yasm']]], | ||||||||||
| 87 | [like_fedora, | ||||||||||
| 88 | [package => 'hdf-devel']], | ||||||||||
| 89 | [os_darwin, | ||||||||||
| 90 | [package => 'hdf4']], # but does not work, module expects static libdf.a which is not provided | ||||||||||
| 91 | ], | ||||||||||
| 92 | |||||||||||
| 93 | [cpanmod => 'Alien::IUP', | ||||||||||
| 94 | [os_freebsd, | ||||||||||
| 95 | [package => [qw(gtk2 cairo freeglut)]]], | ||||||||||
| 96 | [like_debian, | ||||||||||
| 97 | [package => [qw(libgtk-3-dev libcairo2-dev libx11-dev libglu-dev freeglut3-dev)]]], | ||||||||||
| 98 | [like_fedora, | ||||||||||
| 99 | [package => [qw(gtk2-devel cairo-devel libX11-devel libGLU-devel freeglut-devel)]]], | ||||||||||
| 100 | ], | ||||||||||
| 101 | |||||||||||
| 102 | [cpanmod => 'Alien::LibJIT', | ||||||||||
| 103 | [like_debian, | ||||||||||
| 104 | [package => [qw(autoconf libtool flex bison texinfo)]]], # but no success building it | ||||||||||
| 105 | ], | ||||||||||
| 106 | |||||||||||
| 107 | [cpanmod => 'Alien::libtickit', | ||||||||||
| 108 | [like_debian, | ||||||||||
| 109 | [before_ubuntu_bionic, | ||||||||||
| 110 | [package => []]], | ||||||||||
| 111 | [package => 'libtickit-dev']], | ||||||||||
| 112 | ], | ||||||||||
| 113 | |||||||||||
| 114 | [cpanmod => 'Alien::LibUSBx', | ||||||||||
| 115 | # XXX what about freebsd? | ||||||||||
| 116 | [like_debian, | ||||||||||
| 117 | [package => 'libudev-dev']]], | ||||||||||
| 118 | |||||||||||
| 119 | [cpanmod => 'Alien::LibYAML', | ||||||||||
| 120 | [like_debian, | ||||||||||
| 121 | [package => 'autoconf']], | ||||||||||
| 122 | # XXX what about freebsd? | ||||||||||
| 123 | ], | ||||||||||
| 124 | |||||||||||
| 125 | [cpanmod => 'Alien::libtermkey', | ||||||||||
| 126 | [os_freebsd, | ||||||||||
| 127 | [osvers => {'>=', 10}, # proxy check for clang system | ||||||||||
| 128 | [package => ['libtool', 'gmake', 'pkgconf', 'libtermkey']], # see also RT #91873 | ||||||||||
| 129 | ], | ||||||||||
| 130 | [package => ['libtool', 'gmake', 'pkgconf']]], | ||||||||||
| 131 | [like_debian, | ||||||||||
| 132 | [linuxdistrocodename => ['squeeze','wheezy'], | ||||||||||
| 133 | [package => ['libtool', 'libncurses5-dev']]], | ||||||||||
| 134 | [package => ['libtool-bin', 'libncurses5-dev']]], | ||||||||||
| 135 | [like_fedora, | ||||||||||
| 136 | [package => ['libtool', 'ncurses-devel']]], | ||||||||||
| 137 | ], | ||||||||||
| 138 | |||||||||||
| 139 | [cpanmod => 'Alien::NSS', # cannot install external package, see https://github.com/0xxon/alien-nss/issues/5#issuecomment-488220899 | ||||||||||
| 140 | [os_freebsd, | ||||||||||
| 141 | [package => 'nss']], | ||||||||||
| 142 | [like_debian, | ||||||||||
| 143 | [before_ubuntu_trusty, # at least not available in debian/wheezy | ||||||||||
| 144 | [package => []]], | ||||||||||
| 145 | [package => 'libnss3-dev']], | ||||||||||
| 146 | [like_fedora, | ||||||||||
| 147 | [package => 'nss-devel']], | ||||||||||
| 148 | ], | ||||||||||
| 149 | |||||||||||
| 150 | [cpanmod => 'Alien::proj', | ||||||||||
| 151 | [os_freebsd, | ||||||||||
| 152 | [osvers => {'>=', 13}, | ||||||||||
| 153 | [package => ['proj']]]], | ||||||||||
| 154 | [like_debian, | ||||||||||
| 155 | [before_ubuntu_focal, # Alien::proj needs at least version 6.1, see https://metacpan.org/release/SLAFFAN/Alien-proj-1.27/source/alienfile#L60 which is satisfied with https://packages.ubuntu.com/search?keywords=libproj-dev&searchon=names&suite=all§ion=all and later. Building from source currently fails. | ||||||||||
| 156 | [package => ['g++']]], | ||||||||||
| 157 | [package => ['libproj-dev', 'g++']]], | ||||||||||
| 158 | [like_fedora, | ||||||||||
| 159 | [package => ['gcc-c++']]], | ||||||||||
| 160 | ], | ||||||||||
| 161 | |||||||||||
| 162 | [cpanmod => 'Alien::ProtoBuf', | ||||||||||
| 163 | # but why? shouldn't an alien module care about its own external library? | ||||||||||
| 164 | [os_freebsd, | ||||||||||
| 165 | [package => 'protobuf']], | ||||||||||
| 166 | [like_debian, | ||||||||||
| 167 | [package => 'libprotobuf-dev']], | ||||||||||
| 168 | [like_fedora, | ||||||||||
| 169 | [package => 'protobuf-devel']], | ||||||||||
| 170 | ], | ||||||||||
| 171 | |||||||||||
| 172 | [cpanmod => 'Alien::raylib', | ||||||||||
| 173 | [os_freebsd, | ||||||||||
| 174 | [package => [qw(alsa-lib)]]], # XXX maybe more? | ||||||||||
| 175 | [like_debian, | ||||||||||
| 176 | [package => [qw(libasound2-dev libxcursor-dev libxinerama-dev mesa-common-dev libx11-dev libxrandr-dev libxi-dev libgl1-mesa-dev libglu1-mesa-dev)]]], | ||||||||||
| 177 | [like_fedora, | ||||||||||
| 178 | [package => 'libXrandr-devel']], # XXX maybe more? | ||||||||||
| 179 | ], | ||||||||||
| 180 | |||||||||||
| 181 | [cpanmod => 'Alien::RRDtool', | ||||||||||
| 182 | [os_freebsd, | ||||||||||
| 183 | [package => ['pkgconf', 'glib', 'cairo', 'pango', 'libxml2']]], | ||||||||||
| 184 | [like_debian, | ||||||||||
| 185 | [package => 'pkg-config | pkgconf']]], # XXX pkg-config probably needed by much more CPAN distributions... | ||||||||||
| 186 | |||||||||||
| 187 | [cpanmod => 'Alien::sispmctl', | ||||||||||
| 188 | [like_debian, | ||||||||||
| 189 | [package => 'libusb-dev']]], | ||||||||||
| 190 | |||||||||||
| 191 | [cpanmod => 'Alien::SVN', | ||||||||||
| 192 | [os_freebsd, | ||||||||||
| 193 | # does not work, configure does not recognize sqlite | ||||||||||
| 194 | [package => ['apr', 'sqlite3']]], | ||||||||||
| 195 | [like_debian, | ||||||||||
| 196 | [package => ['libapr1-dev', 'libaprutil1-dev', 'libsqlite3-dev', 'zlib1g-dev']]], | ||||||||||
| 197 | [like_fedora, | ||||||||||
| 198 | [package => [qw(apr-devel apr-util-devel sqlite-devel)]]], | ||||||||||
| 199 | ], | ||||||||||
| 200 | |||||||||||
| 201 | [cpanmod => 'Alien::unibilium', | ||||||||||
| 202 | # XXX what about freebsd? | ||||||||||
| 203 | [os_freebsd, | ||||||||||
| 204 | [package => ['gmake', 'libtool', 'pkgconf']]], | ||||||||||
| 205 | [like_debian, | ||||||||||
| 206 | [linuxdistrocodename => ['squeeze','wheezy'], | ||||||||||
| 207 | [package => 'libtool']], | ||||||||||
| 208 | [package => 'libtool-bin']], | ||||||||||
| 209 | ], | ||||||||||
| 210 | |||||||||||
| 211 | [cpanmod => 'Alien::Uninum', # probably! | ||||||||||
| 212 | [os_freebsd, | ||||||||||
| 213 | # XXX does not work, configure does not accept -lgmp | ||||||||||
| 214 | [package => 'gmp']], | ||||||||||
| 215 | # XXX what about debian? | ||||||||||
| 216 | ], | ||||||||||
| 217 | |||||||||||
| 218 | [cpanmod => 'Alien::uPB', | ||||||||||
| 219 | # freebsd and darwin have /usr/bin/unzip in the base system | ||||||||||
| 220 | [os => 'linux', | ||||||||||
| 221 | [package => 'unzip']], | ||||||||||
| 222 | ], | ||||||||||
| 223 | |||||||||||
| 224 | [cpanmod => 'Alien::wxWidgets', | ||||||||||
| 225 | [os_freebsd, | ||||||||||
| 226 | # XXX what about freebsd? | ||||||||||
| 227 | [package => ['gtk2', 'pkgconf']]], | ||||||||||
| 228 | [like_debian, | ||||||||||
| 229 | [package => 'libgtk2.0-dev']]], | ||||||||||
| 230 | |||||||||||
| 231 | # needed because of https://github.com/PerlAlien/Alien-xz/issues/11 | ||||||||||
| 232 | [cpanmod => 'Alien::xz', | ||||||||||
| 233 | [like_fedora, | ||||||||||
| 234 | [package => [qw(xz xz-devel)]]], | ||||||||||
| 235 | [like_debian, | ||||||||||
| 236 | [package => [qw(xz-utils liblzma-dev)]]], | ||||||||||
| 237 | ], | ||||||||||
| 238 | |||||||||||
| 239 | [cpanmod => 'App::Stacktrace', | ||||||||||
| 240 | # does not work with freebsd anyway | ||||||||||
| 241 | [like_debian, | ||||||||||
| 242 | [package => 'gdb']], | ||||||||||
| 243 | [like_fedora, | ||||||||||
| 244 | [package => 'gdb']], | ||||||||||
| 245 | ], | ||||||||||
| 246 | |||||||||||
| 247 | [cpanmod => 'Archive::Peek::Libarchive', | ||||||||||
| 248 | [os_freebsd, | ||||||||||
| 249 | [package => 'libarchive']], | ||||||||||
| 250 | [like_debian, | ||||||||||
| 251 | [package => 'libarchive-dev']], | ||||||||||
| 252 | [like_fedora, | ||||||||||
| 253 | [package => 'libarchive-devel']], | ||||||||||
| 254 | ], | ||||||||||
| 255 | |||||||||||
| 256 | [cpanmod => 'Archive::Rar', | ||||||||||
| 257 | [os_freebsd, | ||||||||||
| 258 | [package => 'rar'], # restricted, no binary package available, must build from ports | ||||||||||
| 259 | ], | ||||||||||
| 260 | [like_debian, | ||||||||||
| 261 | [package => 'rar'], # available in jessie/non-free | ||||||||||
| 262 | ]], | ||||||||||
| 263 | |||||||||||
| 264 | [cpanmod => 'Archive::Raw', | ||||||||||
| 265 | [os_freebsd, | ||||||||||
| 266 | [package => []]], # FreeBSD has archive.h in the base system, and works for freebsd 11 .. 13 | ||||||||||
| 267 | [like_debian, | ||||||||||
| 268 | [package => 'libarchive-dev']], # but seems to work only with bullseye, not with wheezy .. buster | ||||||||||
| 269 | [like_fedora, | ||||||||||
| 270 | [package => 'libarchive-devel']], # but seems to work only with fedora28, not with CentOS6+7+8 | ||||||||||
| 271 | ], | ||||||||||
| 272 | |||||||||||
| 273 | [cpanmod => 'Archive::SevenZip', | ||||||||||
| 274 | [os_freebsd, | ||||||||||
| 275 | [package => 'p7zip']], | ||||||||||
| 276 | [os_dragonfly, | ||||||||||
| 277 | [package => 'p7zip']], | ||||||||||
| 278 | [like_debian, | ||||||||||
| 279 | [package => 'p7zip-full']]], | ||||||||||
| 280 | |||||||||||
| 281 | [cpanmod => 'Astro::FITS::CFITSIO', | ||||||||||
| 282 | [os_freebsd, | ||||||||||
| 283 | [package => 'cfitsio']], | ||||||||||
| 284 | [like_debian, | ||||||||||
| 285 | [linuxdistrocodename => [qw(squeeze wheezy jessie precise xenial)], | ||||||||||
| 286 | [package => 'libcfitsio3-dev']], | ||||||||||
| 287 | [package => 'libcfitsio-dev']], | ||||||||||
| 288 | [like_fedora, | ||||||||||
| 289 | [package => 'cfitsio-devel']], # but test fails on CentOS7 (undefined symbol: ffgsky) | ||||||||||
| 290 | [os_darwin, | ||||||||||
| 291 | [package => 'homebrew/science/cfitsio']], | ||||||||||
| 292 | ], | ||||||||||
| 293 | |||||||||||
| 294 | [cpanmod => 'Astro::WCS::LibWCS', | ||||||||||
| 295 | ## not checked: | ||||||||||
| 296 | #[os_freebsd, | ||||||||||
| 297 | # [package => 'astrometry']], | ||||||||||
| 298 | [like_debian, | ||||||||||
| 299 | [package => 'libwcstools-dev']]], | ||||||||||
| 300 | |||||||||||
| 301 | [cpanmod => 'Audio::Ao', | ||||||||||
| 302 | [os_freebsd, | ||||||||||
| 303 | [package => 'libao']], | ||||||||||
| 304 | [like_debian, | ||||||||||
| 305 | [package => 'libao-dev']], | ||||||||||
| 306 | [like_fedora, | ||||||||||
| 307 | [package => 'libao-devel']], | ||||||||||
| 308 | ], | ||||||||||
| 309 | |||||||||||
| 310 | [cpanmod => 'Audio::Audiere', | ||||||||||
| 311 | [os_freebsd, | ||||||||||
| 312 | [package => 'audiere']], # but compilation failures | ||||||||||
| 313 | # no package for Debian & CentOS7 | ||||||||||
| 314 | ], | ||||||||||
| 315 | |||||||||||
| 316 | [cpanmod => 'Audio::CD', | ||||||||||
| 317 | [os_freebsd, | ||||||||||
| 318 | [package => 'libcdaudio']], | ||||||||||
| 319 | [os_dragonfly, | ||||||||||
| 320 | [package => 'libcdaudio']], | ||||||||||
| 321 | [like_debian, | ||||||||||
| 322 | [package => 'libcdaudio-dev']], | ||||||||||
| 323 | [like_fedora, | ||||||||||
| 324 | [package => 'libcdaudio-devel']], | ||||||||||
| 325 | ], | ||||||||||
| 326 | |||||||||||
| 327 | [cpanmod => 'Audio::Extract::PCM', | ||||||||||
| 328 | # but does not work with freebsd, see https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=205732 | ||||||||||
| 329 | [package => 'sox']], | ||||||||||
| 330 | |||||||||||
| 331 | [cpanmod => 'Audio::FLAC::Decoder', | ||||||||||
| 332 | [os_freebsd, | ||||||||||
| 333 | [package => 'flac']], | ||||||||||
| 334 | [like_debian, | ||||||||||
| 335 | [package => 'libflac-dev']], | ||||||||||
| 336 | [like_fedora, | ||||||||||
| 337 | [package => 'flac-devel']], | ||||||||||
| 338 | ], | ||||||||||
| 339 | |||||||||||
| 340 | [cpanmod => 'Audio::GSM', | ||||||||||
| 341 | [os_freebsd, | ||||||||||
| 342 | [package => 'gsm']], | ||||||||||
| 343 | [os_dragonfly, | ||||||||||
| 344 | [package => 'gsm']], | ||||||||||
| 345 | [like_debian, | ||||||||||
| 346 | [package => 'libgsm1-dev']], | ||||||||||
| 347 | [like_fedora, | ||||||||||
| 348 | [package => 'gsm-devel']], | ||||||||||
| 349 | ], | ||||||||||
| 350 | |||||||||||
| 351 | [cpanmod => 'Audio::LibSampleRate', | ||||||||||
| 352 | [os_freebsd, | ||||||||||
| 353 | [package => 'libsamplerate']], | ||||||||||
| 354 | [like_debian, | ||||||||||
| 355 | [package => 'libsamplerate0-dev']]], | ||||||||||
| 356 | |||||||||||
| 357 | [cpanmod => 'Audio::MPEG', | ||||||||||
| 358 | [os_freebsd, | ||||||||||
| 359 | [package => 'lame']], # restricted, no binary package available, must build from ports | ||||||||||
| 360 | [like_debian, | ||||||||||
| 361 | [package => 'libmp3lame-dev']], # but compilation fails | ||||||||||
| 362 | ], | ||||||||||
| 363 | |||||||||||
| 364 | [cpanmod => 'Audio::Ofa', | ||||||||||
| 365 | ## from freebsd's MOVED: "2017-03-01|Has expired: MusicDNS service has been discontinued" | ||||||||||
| 366 | #[os_freebsd, | ||||||||||
| 367 | # [package => 'libofa']], | ||||||||||
| 368 | [like_debian, | ||||||||||
| 369 | [package => 'libofa0-dev']], | ||||||||||
| 370 | [like_fedora, | ||||||||||
| 371 | [linuxdistro => 'centos', | ||||||||||
| 372 | linuxdistroversion => qr{^[68]\.}, | ||||||||||
| 373 | package => []], # N/A for centos6+8 | ||||||||||
| 374 | [package => 'libofa-devel']], | ||||||||||
| 375 | ], | ||||||||||
| 376 | |||||||||||
| 377 | [cpanmod => 'Audio::Opusfile', | ||||||||||
| 378 | [os_freebsd, | ||||||||||
| 379 | [package => 'opusfile']], | ||||||||||
| 380 | [like_debian, | ||||||||||
| 381 | [package => 'libopusfile-dev']]], | ||||||||||
| 382 | |||||||||||
| 383 | [cpanmod => 'Audio::PortAudio', | ||||||||||
| 384 | [os_freebsd, | ||||||||||
| 385 | [package => ['portaudio', 'pkgconf']]], | ||||||||||
| 386 | [like_debian, | ||||||||||
| 387 | # conflicts with libjack0 | ||||||||||
| 388 | [package => 'portaudio19-dev']], | ||||||||||
| 389 | [like_fedora, | ||||||||||
| 390 | [package => 'portaudio-devel']], | ||||||||||
| 391 | ], | ||||||||||
| 392 | |||||||||||
| 393 | [cpanmod => 'Audio::SndFile', | ||||||||||
| 394 | [os_freebsd, | ||||||||||
| 395 | [package => ['libsndfile', 'pkgconf']]], | ||||||||||
| 396 | [like_debian, | ||||||||||
| 397 | [package => 'libsndfile1-dev']], | ||||||||||
| 398 | [like_fedora, | ||||||||||
| 399 | [package => 'libsndfile-devel']], | ||||||||||
| 400 | ], | ||||||||||
| 401 | |||||||||||
| 402 | [cpanmod => 'Audio::TagLib', | ||||||||||
| 403 | [os_freebsd, | ||||||||||
| 404 | [package => 'taglib']], | ||||||||||
| 405 | [like_debian, | ||||||||||
| 406 | # but does only work with newer debians (like stretch), because the module wants taglib 1.9.1 (e.g. wheezy has 1.7.2-1) | ||||||||||
| 407 | [package => ['libtag1-dev', 'g++']]], | ||||||||||
| 408 | [like_fedora, | ||||||||||
| 409 | [package => 'taglib-devel']], # at least on centos6 does not work: provided taglib is 1.6.1, but module wants 1.11 or greater | ||||||||||
| 410 | [os_darwin, # ... but does not seem to build | ||||||||||
| 411 | [package => 'taglib']], | ||||||||||
| 412 | ], | ||||||||||
| 413 | |||||||||||
| 414 | [cpanmod => ['Authen::Krb5Password', 'GSSAPI'], | ||||||||||
| 415 | [os_freebsd, | ||||||||||
| 416 | [package => 'krb5 | heimdal']], # heimdal shadows tools like "su", so put it behind krb5 | ||||||||||
| 417 | [like_debian, | ||||||||||
| 418 | [linuxdistrocodename => [qw(squeeze wheezy jessie)], | ||||||||||
| 419 | [package => 'heimdal-dev | libkrb5-dev']], | ||||||||||
| 420 | [package => 'libkrb5-dev']], | ||||||||||
| 421 | [like_fedora, | ||||||||||
| 422 | [package => 'krb5-devel']], | ||||||||||
| 423 | [os_darwin, | ||||||||||
| 424 | [package => 'krb5']], | ||||||||||
| 425 | ], | ||||||||||
| 426 | |||||||||||
| 427 | [cpanmod => ['Authen::SASL::Cyrus', 'Authen::SASL::XS'], | ||||||||||
| 428 | [os_freebsd, | ||||||||||
| 429 | [package => 'cyrus-sasl']], | ||||||||||
| 430 | [like_debian, | ||||||||||
| 431 | [package => 'libsasl2-dev']]], | ||||||||||
| 432 | |||||||||||
| 433 | [cpanmod => 'Barcode::ZBar', | ||||||||||
| 434 | [os_freebsd, | ||||||||||
| 435 | [package => 'zbar']], | ||||||||||
| 436 | [like_debian, | ||||||||||
| 437 | [package => 'libzbar-dev']], | ||||||||||
| 438 | [like_fedora, | ||||||||||
| 439 | [package => 'zbar-devel']], | ||||||||||
| 440 | [os_darwin, | ||||||||||
| 441 | [package => 'zbar']], # but tests fails (Barcode-ZBar-0.04) | ||||||||||
| 442 | ], | ||||||||||
| 443 | |||||||||||
| 444 | [cpanmod => ['BerkeleyDB', 'BDB'], | ||||||||||
| 445 | [os_freebsd, | ||||||||||
| 446 | # FreeBSD has libdb in the base system, but this version is too old. | ||||||||||
| 447 | # Make sure that a corresponding distroprefs file matches this library. | ||||||||||
| 448 | [package => 'db18']], | ||||||||||
| 449 | [like_debian, | ||||||||||
| 450 | [linuxdistrocodename => 'squeeze', | ||||||||||
| 451 | [package => 'libdb4.8-dev']], | ||||||||||
| 452 | [linuxdistrocodename => ['wheezy', 'precise'], | ||||||||||
| 453 | [package => 'libdb5.1-dev']], | ||||||||||
| 454 | [package => 'libdb5.3-dev']], # e.g. jessie, stretch, trusty, xenial, yakkety, zesty | ||||||||||
| 455 | [os_darwin, | ||||||||||
| 456 | # Make sure that a corresponding distroprefs file matches this library (see srezic-cpan-distroprefs). | ||||||||||
| 457 | [package => 'berkeley-db']], | ||||||||||
| 458 | [like_fedora, | ||||||||||
| 459 | [package => 'libdb-devel']], | ||||||||||
| 460 | ], | ||||||||||
| 461 | |||||||||||
| 462 | [cpanmod => 'Bio::HTS', | ||||||||||
| 463 | [os_freebsd, | ||||||||||
| 464 | # htslib exists, but does not seem to be compatible with the perl module | ||||||||||
| 465 | [package => 'htslib']], | ||||||||||
| 466 | [like_debian, | ||||||||||
| 467 | # also does not work... | ||||||||||
| 468 | [package => 'libhts-dev']]], | ||||||||||
| 469 | |||||||||||
| 470 | [cpanmod => 'Bio::Phylo::Beagle', | ||||||||||
| 471 | # XXX what about freebsd? | ||||||||||
| 472 | [like_debian, | ||||||||||
| 473 | [package => ['libhmsbeagle-dev', 'pkg-config | pkgconf']]]], | ||||||||||
| 474 | |||||||||||
| 475 | [cpanmod => 'Bio::SCF', | ||||||||||
| 476 | [os_freebsd, | ||||||||||
| 477 | [package => 'io_lib']], | ||||||||||
| 478 | [like_debian, | ||||||||||
| 479 | [package => ['libstaden-read-dev', 'zlib1g-dev']]], | ||||||||||
| 480 | [like_fedora, | ||||||||||
| 481 | [linuxdistro => 'fedora', # not available for centos6+7, only for fedora28 | ||||||||||
| 482 | [package => 'staden-io_lib-devel']]], | ||||||||||
| 483 | ], | ||||||||||
| 484 | |||||||||||
| 485 | [cpanmod => 'Cache::Memcached::XS', | ||||||||||
| 486 | [os_freebsd, | ||||||||||
| 487 | [package => 'libmemcache']], | ||||||||||
| 488 | [like_debian, | ||||||||||
| 489 | [linuxdistrocodename => ['squeeze', 'wheezy', 'xenial'], # but tests fail on xenial | ||||||||||
| 490 | [package => 'libmemcache-dev']], | ||||||||||
| 491 | [package => []], # in jessie there's no package containing include/memcache.h | ||||||||||
| 492 | ]], | ||||||||||
| 493 | |||||||||||
| 494 | [cpanmod => 'Cache::RedisDB', | ||||||||||
| 495 | # real testing with redis-server | ||||||||||
| 496 | [os_freebsd, | ||||||||||
| 497 | [package => 'redis']], | ||||||||||
| 498 | [os_openbsd, | ||||||||||
| 499 | [package => 'redis']], | ||||||||||
| 500 | [like_debian, | ||||||||||
| 501 | [package => 'redis-server']]], | ||||||||||
| 502 | |||||||||||
| 503 | [cpanmod => ['Cairo', 'Prima::Cairo'], | ||||||||||
| 504 | [os_freebsd, | ||||||||||
| 505 | [package => 'cairo']], | ||||||||||
| 506 | [os_dragonfly, | ||||||||||
| 507 | [package => 'cairo']], | ||||||||||
| 508 | [os_openbsd, | ||||||||||
| 509 | [package => 'cairo']], | ||||||||||
| 510 | [like_debian, | ||||||||||
| 511 | [package => 'libcairo2-dev']], | ||||||||||
| 512 | [like_fedora, | ||||||||||
| 513 | [package => 'cairo-devel']], | ||||||||||
| 514 | [os_darwin, | ||||||||||
| 515 | [package => 'cairo']]], | ||||||||||
| 516 | |||||||||||
| 517 | [cpanmod => 'Cairo::GObject', | ||||||||||
| 518 | [like_fedora, | ||||||||||
| 519 | [linuxdistro => 'centos', linuxdistroversion => {'<', 7}, | ||||||||||
| 520 | [package => []]], | ||||||||||
| 521 | [package => 'cairo-gobject-devel']], | ||||||||||
| 522 | ], | ||||||||||
| 523 | |||||||||||
| 524 | [cpanmod => 'Capstone', | ||||||||||
| 525 | [os_freebsd, | ||||||||||
| 526 | [package => 'capstone']], | ||||||||||
| 527 | [like_debian, | ||||||||||
| 528 | [package => 'libcapstone-dev']], # but test failures with Capstone 0.6 @ jessie | ||||||||||
| 529 | [like_fedora, | ||||||||||
| 530 | [linuxdistro => 'centos', linuxdistroversion => {'<', 7}, | ||||||||||
| 531 | package => []], # N/A for centos6 | ||||||||||
| 532 | [package => 'capstone-devel']], | ||||||||||
| 533 | ], | ||||||||||
| 534 | |||||||||||
| 535 | [cpanmod => 'CDB::TinyCDB', | ||||||||||
| 536 | [os_freebsd, | ||||||||||
| 537 | [package => 'tinycdb']], | ||||||||||
| 538 | [like_debian, | ||||||||||
| 539 | [package => 'libcdb-dev']], | ||||||||||
| 540 | [like_fedora, | ||||||||||
| 541 | [package => 'tinycdb-devel']], | ||||||||||
| 542 | [os_darwin, | ||||||||||
| 543 | [package => 'tinycdb']], # but test failures | ||||||||||
| 544 | ], | ||||||||||
| 545 | |||||||||||
| 546 | [cpanmod => 'CDB_File::Generator', | ||||||||||
| 547 | [os_freebsd, | ||||||||||
| 548 | [package => 'cdb']], | ||||||||||
| 549 | [like_debian, | ||||||||||
| 550 | [package => 'freecdb']]], | ||||||||||
| 551 | |||||||||||
| 552 | [cpanmod => 'Ceph::Rados', | ||||||||||
| 553 | #[os_freebsd, | ||||||||||
| 554 | # [package => 'ceph']], # XXX installation takes ~375MB --- could it be made smaller? | ||||||||||
| 555 | [like_debian, | ||||||||||
| 556 | [package => 'librados-dev']], | ||||||||||
| 557 | [like_fedora, | ||||||||||
| 558 | [linuxdistro => 'centos', | ||||||||||
| 559 | linuxdistroversion => qr{^7\.}, | ||||||||||
| 560 | package => 'librados2-devel'], | ||||||||||
| 561 | [linuxdistro => 'fedora', | ||||||||||
| 562 | linuxdistroversion => '28', | ||||||||||
| 563 | package => 'librados-devel'], # XXX but compilation errors | ||||||||||
| 564 | ], | ||||||||||
| 565 | ], | ||||||||||
| 566 | |||||||||||
| 567 | [cpanmod => 'Ceph::Rados::Striper', | ||||||||||
| 568 | [like_debian, | ||||||||||
| 569 | [before_ubuntu_xenial, | ||||||||||
| 570 | [package => []]], | ||||||||||
| 571 | [package => 'libradosstriper-dev']], | ||||||||||
| 572 | ], | ||||||||||
| 573 | |||||||||||
| 574 | [cpanmod => 'Chandra', | ||||||||||
| 575 | [like_debian, | ||||||||||
| 576 | [before_ubuntu_trusty, # at least not available in debian/wheezy | ||||||||||
| 577 | [package => []]], | ||||||||||
| 578 | [before_ubuntu_noble, | ||||||||||
| 579 | [package => 'libwebkit2gtk-4.0-dev']], | ||||||||||
| 580 | [package => 'libwebkit2gtk-4.1-dev']], | ||||||||||
| 581 | [like_fedora, | ||||||||||
| 582 | [linuxdistro => 'centos', | ||||||||||
| 583 | linuxdistroversion => qr{^[67]\.}, | ||||||||||
| 584 | package => []], # N/A for centos6+7 | ||||||||||
| 585 | [linuxdistro => 'rocky', | ||||||||||
| 586 | [package => 'webkit2gtk3-devel']], # at least rocky 9 | ||||||||||
| 587 | [linuxdistro => 'fedora', linuxdistroversion => {'<', 37}, | ||||||||||
| 588 | [package => 'webkit2gtk3-devel']], | ||||||||||
| 589 | [linuxdistro => 'fedora', linuxdistroversion => {'<', 38}, | ||||||||||
| 590 | [package => 'webkit2gtk4.0-devel']], | ||||||||||
| 591 | [linuxdistro => 'fedora', | ||||||||||
| 592 | [package => 'webkit2gtk4.1-devel']], | ||||||||||
| 593 | [package => []]], | ||||||||||
| 594 | ## XXX does not seem to exist, at least in standard alpine:3.21 | ||||||||||
| 595 | #[like_alpine, | ||||||||||
| 596 | # [package => 'webkit2gtk-dev']], | ||||||||||
| 597 | [os_freebsd, | ||||||||||
| 598 | [osvers => {'>=', 13}, | ||||||||||
| 599 | [package => 'webkit2-gtk_40']]], # XXX does not seem to be sufficient... | ||||||||||
| 600 | ], | ||||||||||
| 601 | |||||||||||
| 602 | [cpanmod => 'Chipcard::PCSC', | ||||||||||
| 603 | # XXX what about freebsd? | ||||||||||
| 604 | [os_freebsd, | ||||||||||
| 605 | [package => 'pcsc-lite']], | ||||||||||
| 606 | [like_debian, | ||||||||||
| 607 | [package => ['bzip2', 'libpcsclite-dev', 'pkg-config | pkgconf']]]], # bzip2 needed for extraction | ||||||||||
| 608 | |||||||||||
| 609 | [cpanmod => ['ClamAV::Client', 'File::Scan::ClamAV'], | ||||||||||
| 610 | [os_freebsd, | ||||||||||
| 611 | [package => 'clamav']], # additionally freshclam has to be run at least once, and the clamav-clamd service has to be started | ||||||||||
| 612 | [like_debian, | ||||||||||
| 613 | [package => ['clamav-daemon', 'clamav-data']]]], | ||||||||||
| 614 | |||||||||||
| 615 | [cpanmod => 'Comedi::Lib', | ||||||||||
| 616 | # Not available for FreeBSD or CentOS7 | ||||||||||
| 617 | [like_debian, | ||||||||||
| 618 | [package => 'libcomedi-dev']], | ||||||||||
| 619 | [like_fedora, | ||||||||||
| 620 | [linuxdistro => 'fedora', | ||||||||||
| 621 | [package => 'comedilib-devel']]], # but still does not build | ||||||||||
| 622 | ], | ||||||||||
| 623 | |||||||||||
| 624 | [cpanmod => 'CommonMark', | ||||||||||
| 625 | [os_freebsd, | ||||||||||
| 626 | [package => 'cmark']], | ||||||||||
| 627 | ], | ||||||||||
| 628 | |||||||||||
| 629 | [cpanmod => 'Compress::LZMA::Simple', | ||||||||||
| 630 | [os_freebsd, | ||||||||||
| 631 | [package => 'lzmalib']], # warning: installing this package would cause subsequent failures in the Compress::Raw::Lzma test suite! | ||||||||||
| 632 | ], | ||||||||||
| 633 | |||||||||||
| 634 | [cpanmod => 'Compress::Raw::Lzma', | ||||||||||
| 635 | [os_openbsd, | ||||||||||
| 636 | [package => 'xz']], | ||||||||||
| 637 | [like_debian, | ||||||||||
| 638 | [package => 'liblzma-dev']], | ||||||||||
| 639 | [os_darwin, | ||||||||||
| 640 | [package => 'xz']], | ||||||||||
| 641 | ], | ||||||||||
| 642 | |||||||||||
| 643 | # Try also the patches listed in | ||||||||||
| 644 | # https://rt.cpan.org/Ticket/Display.html?id=86115 | ||||||||||
| 645 | # (or the corresponding srezic-cpan-distroprefs file) | ||||||||||
| 646 | [cpanmod => 'Compress::LZO', | ||||||||||
| 647 | [os_freebsd, | ||||||||||
| 648 | [package => 'lzo2']], | ||||||||||
| 649 | [like_debian, | ||||||||||
| 650 | [package => 'liblzo2-dev']], | ||||||||||
| 651 | [like_fedora, | ||||||||||
| 652 | [package => 'lzo-devel']], | ||||||||||
| 653 | [os_darwin, | ||||||||||
| 654 | [package => 'lzo']], | ||||||||||
| 655 | ], | ||||||||||
| 656 | |||||||||||
| 657 | [cpanmod => 'Compress::Zstd', | ||||||||||
| 658 | [os_freebsd, | ||||||||||
| 659 | [package => 'gmake']], | ||||||||||
| 660 | ], | ||||||||||
| 661 | |||||||||||
| 662 | [cpanmod => 'Config::Augeas', | ||||||||||
| 663 | [os_freebsd, | ||||||||||
| 664 | [package => ['augeas', 'pkgconf']]], | ||||||||||
| 665 | [like_debian, | ||||||||||
| 666 | # but the wheezy version is too old, module wants 1.0.0, wheezy has 0.10.0 | ||||||||||
| 667 | [package => ['libaugeas-dev', 'pkg-config | pkgconf']]], | ||||||||||
| 668 | [like_fedora, | ||||||||||
| 669 | [package => 'augeas-devel']], | ||||||||||
| 670 | [os_darwin, | ||||||||||
| 671 | [package => 'augeas']], | ||||||||||
| 672 | ], | ||||||||||
| 673 | |||||||||||
| 674 | [cpanmod => 'Config::UCL', | ||||||||||
| 675 | [os_freebsd, | ||||||||||
| 676 | [package => 'libucl']], | ||||||||||
| 677 | ## libucl @ debian+fedora is probably something different | ||||||||||
| 678 | #[like_debian, | ||||||||||
| 679 | # [package => 'libucl-dev']], | ||||||||||
| 680 | #[like_fedora, | ||||||||||
| 681 | # [linuxdistro => 'fedora', | ||||||||||
| 682 | # [package => 'libucl-devel']]], | ||||||||||
| 683 | ], | ||||||||||
| 684 | |||||||||||
| 685 | [cpanmod => 'Convert::Recode', | ||||||||||
| 686 | [os_freebsd, | ||||||||||
| 687 | [package => 'recode']], | ||||||||||
| 688 | [os_openbsd, | ||||||||||
| 689 | [package => 'recode']], | ||||||||||
| 690 | [like_debian, | ||||||||||
| 691 | [package => 'recode']], | ||||||||||
| 692 | [like_fedora, | ||||||||||
| 693 | [package => 'recode']], | ||||||||||
| 694 | ], | ||||||||||
| 695 | |||||||||||
| 696 | [cpanmod => 'CORBA::ORBit', | ||||||||||
| 697 | #[os_freebsd, | ||||||||||
| 698 | # [package => 'ORBit']], # does not exist anymore, just ORBit2 | ||||||||||
| 699 | [like_fedora, | ||||||||||
| 700 | [package => [qw(ORBit-devel libIDL-devel)]] | ||||||||||
| 701 | # XXX still does not work, at least on CentOS6 | ||||||||||
| 702 | # either -I/usr/include/libIDL-1.0 or libIDL-2.0 has | ||||||||||
| 703 | # to be specified, but not possible in the standard | ||||||||||
| 704 | # Makefile.PL | ||||||||||
| 705 | ], | ||||||||||
| 706 | ], | ||||||||||
| 707 | |||||||||||
| 708 | [cpanmod => 'Couchbase', | ||||||||||
| 709 | [os_freebsd, | ||||||||||
| 710 | [package => 'libcouchbase']], | ||||||||||
| 711 | ## Requires also libcouchbase/api3.h which does not seem to exist for fedora | ||||||||||
| 712 | #[like_fedora, | ||||||||||
| 713 | # [linuxdistro => 'fedora', # not available for centos7, only for fedora36 | ||||||||||
| 714 | # [package => 'libcouchbase-devel']]], | ||||||||||
| 715 | ], | ||||||||||
| 716 | |||||||||||
| 717 | [cpanmod => 'Crypt::Cracklib', | ||||||||||
| 718 | [os_freebsd, | ||||||||||
| 719 | [package => 'cracklib']], | ||||||||||
| 720 | [like_debian, | ||||||||||
| 721 | [package => 'libcrack2-dev']], | ||||||||||
| 722 | [like_fedora, | ||||||||||
| 723 | [package => 'cracklib-devel']], | ||||||||||
| 724 | ], | ||||||||||
| 725 | |||||||||||
| 726 | [cpanmod => [qw(Crypt::DH::GMP Math::GMPq Math::GMPz Math::BigInt::GMP)], | ||||||||||
| 727 | [os_freebsd, | ||||||||||
| 728 | [package => 'gmp']], | ||||||||||
| 729 | [os_openbsd, | ||||||||||
| 730 | [package => 'gmp']], | ||||||||||
| 731 | [like_debian, | ||||||||||
| 732 | [linuxdistrocodename => 'squeeze', | ||||||||||
| 733 | [package => 'libgmp3-dev']], | ||||||||||
| 734 | [package => 'libgmp-dev']], | ||||||||||
| 735 | [like_fedora, | ||||||||||
| 736 | [package => 'gmp-devel']], | ||||||||||
| 737 | [os_darwin, | ||||||||||
| 738 | [package => 'gmp']], | ||||||||||
| 739 | ], | ||||||||||
| 740 | |||||||||||
| 741 | [cpanmod => 'Crypt::GCrypt', | ||||||||||
| 742 | [os_freebsd, | ||||||||||
| 743 | # Does not work, see the patches in the p5-Crypt-GCrypt port | ||||||||||
| 744 | [package => 'libgcrypt']], | ||||||||||
| 745 | [like_debian, | ||||||||||
| 746 | # Neither libgcrypt11 nor libgcrypt20 seem to work. | ||||||||||
| 747 | [package => 'libgcrypt11-dev']]], | ||||||||||
| 748 | |||||||||||
| 749 | [cpanmod => 'Crypt::HC128', | ||||||||||
| 750 | [os_freebsd, | ||||||||||
| 751 | [package => 'wolfssl']], | ||||||||||
| 752 | [like_debian, | ||||||||||
| 753 | [linuxdistrocodename => 'xenial', | ||||||||||
| 754 | [package => 'libwolfssl-dev']]], | ||||||||||
| 755 | ], | ||||||||||
| 756 | |||||||||||
| 757 | [cpanmod => ['Crypt::MCrypt', 'Mcrypt'], | ||||||||||
| 758 | [os_freebsd, | ||||||||||
| 759 | [package => 'libmcrypt']], | ||||||||||
| 760 | [like_debian, | ||||||||||
| 761 | [linuxdistrocodename => 'squeeze', | ||||||||||
| 762 | [package => []], # N/A in squeeze | ||||||||||
| 763 | ], | ||||||||||
| 764 | [package => 'libmcrypt-dev']], | ||||||||||
| 765 | [like_fedora, | ||||||||||
| 766 | [package => [qw(libmcrypt-devel libtool-ltdl-devel)]]], | ||||||||||
| 767 | ], | ||||||||||
| 768 | |||||||||||
| 769 | [cpanmod => ['Crypt::OpenSSL::DSA', 'Crypt::OpenSSL::PKCS12', 'Crypt::OpenSSL::Random', 'Crypt::OpenSSL::RSA', 'Crypt::OpenSSL::X509', 'IO::Socket::SSL'], | ||||||||||
| 770 | # freebsd has all libssl in the base system | ||||||||||
| 771 | [like_debian, | ||||||||||
| 772 | [package => ['libssl-dev', 'zlib1g-dev']]], | ||||||||||
| 773 | [like_fedora, | ||||||||||
| 774 | [package => 'openssl-devel']], | ||||||||||
| 775 | [os_windows, | ||||||||||
| 776 | [package => 'openssl.light']], # XXX create openssl.dev | ||||||||||
| 777 | ], | ||||||||||
| 778 | |||||||||||
| 779 | [cpanmod => 'Crypt::OpenSSL::X509', | ||||||||||
| 780 | [os_darwin, | ||||||||||
| 781 | [package => 'openssl']]], | ||||||||||
| 782 | |||||||||||
| 783 | [cpanmod => 'Crypt::OTR', | ||||||||||
| 784 | [os_freebsd, | ||||||||||
| 785 | [package => 'libotr']], | ||||||||||
| 786 | [like_debian, | ||||||||||
| 787 | [linuxdistrocodename => ['squeeze', 'wheezy'], | ||||||||||
| 788 | [package => 'libotr2-dev']], | ||||||||||
| 789 | [package => 'libotr5-dev']]], | ||||||||||
| 790 | |||||||||||
| 791 | [cpanmod => 'Crypt::secp256k1', | ||||||||||
| 792 | [like_debian, | ||||||||||
| 793 | [linuxdistrocodename => [qw(squeeze wheezy jessie precise trusty xenial)], | ||||||||||
| 794 | [package => []], # not available before stretch | ||||||||||
| 795 | ], | ||||||||||
| 796 | [package => 'libsecp256k1-dev']], | ||||||||||
| 797 | ], | ||||||||||
| 798 | |||||||||||
| 799 | # XXX may be removed if Crypt::secp256k1 got its first stable release | ||||||||||
| 800 | [cpandist => qr{^Crypt-secp256k1-\d}, | ||||||||||
| 801 | [like_debian, | ||||||||||
| 802 | [linuxdistrocodename => [qw(squeeze wheezy jessie precise trusty xenial)], | ||||||||||
| 803 | [package => []], # not available before stretch | ||||||||||
| 804 | ], | ||||||||||
| 805 | [package => 'libsecp256k1-dev']], | ||||||||||
| 806 | ], | ||||||||||
| 807 | |||||||||||
| 808 | [cpanmod => 'Crypt::LibSCEP', | ||||||||||
| 809 | [os_freebsd, | ||||||||||
| 810 | [osvers => {'>=', 11}, | ||||||||||
| 811 | [package => 'libscep']], | ||||||||||
| 812 | [package => []]], | ||||||||||
| 813 | ], | ||||||||||
| 814 | |||||||||||
| 815 | [cpanmod => 'Crypt::Sodium', | ||||||||||
| 816 | [os_freebsd, | ||||||||||
| 817 | [package => 'libsodium']], | ||||||||||
| 818 | [os_openbsd, | ||||||||||
| 819 | # does not work | ||||||||||
| 820 | [package => 'libsodium']], | ||||||||||
| 821 | [os_openbsd, | ||||||||||
| 822 | [package => 'libsodium']], | ||||||||||
| 823 | [like_debian, | ||||||||||
| 824 | [linuxdistrocodename => ['squeeze', 'wheezy'], | ||||||||||
| 825 | [package => []], # not available before jessie | ||||||||||
| 826 | ], | ||||||||||
| 827 | [package => 'libsodium-dev']], | ||||||||||
| 828 | [like_fedora, | ||||||||||
| 829 | [package => 'libsodium-devel']], | ||||||||||
| 830 | [os_darwin, | ||||||||||
| 831 | [package => 'libsodium']], | ||||||||||
| 832 | ], | ||||||||||
| 833 | |||||||||||
| 834 | [cpanmod => 'Crypt::U2F::Server', | ||||||||||
| 835 | [like_debian, | ||||||||||
| 836 | [linuxdistrocodename => [qw(squeeze wheezy jessie)], | ||||||||||
| 837 | [package => []], # not available before xenial and stretch | ||||||||||
| 838 | ], | ||||||||||
| 839 | [package => 'libu2f-server-dev']], | ||||||||||
| 840 | [os_darwin, | ||||||||||
| 841 | [package => 'libu2f-server']], | ||||||||||
| 842 | [linuxdistro => 'fedora', # not available for CentOS6 or 7 or rockylinux 9 | ||||||||||
| 843 | [package => 'libu2f-server-devel']], | ||||||||||
| 844 | ], | ||||||||||
| 845 | |||||||||||
| 846 | [cpanmod => 'CSS::Croco', | ||||||||||
| 847 | [os_freebsd, | ||||||||||
| 848 | [package => ['libcroco', 'pkgconf']]], | ||||||||||
| 849 | [like_debian, | ||||||||||
| 850 | [package => 'libcroco3-dev']], | ||||||||||
| 851 | [like_fedora, | ||||||||||
| 852 | [package => 'libcroco-devel']], | ||||||||||
| 853 | ], | ||||||||||
| 854 | |||||||||||
| 855 | [cpanmod => 'Curses', | ||||||||||
| 856 | # ncurses.h is included in FreeBSD base install | ||||||||||
| 857 | [like_debian, | ||||||||||
| 858 | [package => 'libncurses5-dev']], | ||||||||||
| 859 | [like_fedora, | ||||||||||
| 860 | [package => 'ncurses-devel']], | ||||||||||
| 861 | ], | ||||||||||
| 862 | |||||||||||
| 863 | [cpanmod => 'Curses::UI::Mousehandler::GPM', | ||||||||||
| 864 | [like_debian, | ||||||||||
| 865 | [package => ['libgpm-dev', 'libncurses5-dev']]], | ||||||||||
| 866 | [like_fedora, | ||||||||||
| 867 | [package => ['gpm-devel']]], | ||||||||||
| 868 | ], | ||||||||||
| 869 | |||||||||||
| 870 | [cpanmod => 'Database::Cassandra::Client', | ||||||||||
| 871 | [os_freebsd, | ||||||||||
| 872 | # but does not work, and neither does cassandra2 | ||||||||||
| 873 | [package => 'cassandra']], | ||||||||||
| 874 | # cassandra package not available on debian | ||||||||||
| 875 | ], | ||||||||||
| 876 | |||||||||||
| 877 | [cpanmod => ['Data::UUID::LibUUID', 'UUID'], | ||||||||||
| 878 | [os_freebsd, | ||||||||||
| 879 | [package => 'libuuid']], | ||||||||||
| 880 | [os_openbsd, | ||||||||||
| 881 | [package => 'ossp-uuid']], | ||||||||||
| 882 | [like_debian, | ||||||||||
| 883 | [package => 'uuid-dev']], | ||||||||||
| 884 | [like_fedora, | ||||||||||
| 885 | [package => 'libuuid-devel']], | ||||||||||
| 886 | ], | ||||||||||
| 887 | |||||||||||
| 888 | [cpanmod => 'Date::LibICal', | ||||||||||
| 889 | [os_freebsd, | ||||||||||
| 890 | [package => 'libical']], | ||||||||||
| 891 | [like_debian, | ||||||||||
| 892 | [package => 'libical-dev']], | ||||||||||
| 893 | [like_fedora, | ||||||||||
| 894 | [package => 'libical-devel']], | ||||||||||
| 895 | ], | ||||||||||
| 896 | |||||||||||
| 897 | [cpanmod => 'DateLocale', | ||||||||||
| 898 | [os_freebsd, | ||||||||||
| 899 | [package => 'gettext-tools']], | ||||||||||
| 900 | # XXX what about debian? | ||||||||||
| 901 | ], | ||||||||||
| 902 | |||||||||||
| 903 | [cpanmod => ['DateTime::Astro', 'Math::MPFR'], | ||||||||||
| 904 | [os_freebsd, | ||||||||||
| 905 | [package => 'mpfr']], | ||||||||||
| 906 | [like_debian, | ||||||||||
| 907 | [package => 'libmpfr-dev']], | ||||||||||
| 908 | [like_fedora, | ||||||||||
| 909 | [package => 'mpfr-devel']], | ||||||||||
| 910 | [os_darwin, | ||||||||||
| 911 | [package => 'mpfr']], | ||||||||||
| 912 | ], | ||||||||||
| 913 | |||||||||||
| 914 | [cpanmod => 'DB_File', | ||||||||||
| 915 | [like_debian, | ||||||||||
| 916 | [linuxdistrocodename => 'squeeze', | ||||||||||
| 917 | [package => 'libdb4.8-dev']], | ||||||||||
| 918 | [linuxdistrocodename => ['wheezy', 'precise'], | ||||||||||
| 919 | [package => 'libdb5.1-dev']], | ||||||||||
| 920 | [package => 'libdb5.3-dev']], # e.g. jessie, stretch, trusty, xenial, yakkety, zesty | ||||||||||
| 921 | # FreeBSD and MacOSX have libdb in the base system | ||||||||||
| 922 | [like_fedora, | ||||||||||
| 923 | [linuxdistro => 'centos', | ||||||||||
| 924 | linuxdistroversion => qr{^6\.}, | ||||||||||
| 925 | package => 'db4-devel'], | ||||||||||
| 926 | [package => 'libdb-devel'], | ||||||||||
| 927 | ], | ||||||||||
| 928 | ], | ||||||||||
| 929 | |||||||||||
| 930 | [cpanmod => 'DBD::Firebird', | ||||||||||
| 931 | [os_freebsd, | ||||||||||
| 932 | [package => 'firebird40-server | firebird30-server | firebird25-server']], | ||||||||||
| 933 | [os_dragonfly, | ||||||||||
| 934 | [package => 'firebird40-server | firebird30-server | firebird25-server']], | ||||||||||
| 935 | [like_debian, | ||||||||||
| 936 | [before_debian_stretch, | ||||||||||
| 937 | [package => 'firebird-dev']], | ||||||||||
| 938 | [package => [qw(firebird-dev firebird3.0-server-core)]] # for stretch (and newer?) | ||||||||||
| 939 | ], | ||||||||||
| 940 | [like_fedora, | ||||||||||
| 941 | [package => 'firebird-devel']], | ||||||||||
| 942 | ], | ||||||||||
| 943 | |||||||||||
| 944 | [cpanmod => 'DBD::MariaDB', | ||||||||||
| 945 | [os_freebsd, | ||||||||||
| 946 | [package => 'mysql80-client']], # same like used in https://www.freshports.org/databases/p5-DBD-MariaDB/ | ||||||||||
| 947 | [os_openbsd, | ||||||||||
| 948 | [package => 'mariadb-connector-c']], | ||||||||||
| 949 | [like_debian, | ||||||||||
| 950 | [package => 'libmariadb-dev | libmariadbclient-dev | libmariadbd-dev | libmysqlclient-dev | libmysqld-dev']], # see https://metacpan.org/dist/DBD-MariaDB/view/lib/DBD/MariaDB/INSTALL.pod#PREREQUISITES | ||||||||||
| 951 | [like_fedora, | ||||||||||
| 952 | [package => 'mariadb-devel | mariadb-embedded-devel | mysql-devel | mysql-embedded-devel']], # see https://metacpan.org/dist/DBD-MariaDB/view/lib/DBD/MariaDB/INSTALL.pod#PREREQUISITES | ||||||||||
| 953 | [os_darwin, | ||||||||||
| 954 | [package => 'mysql-client | mysql-connector-c | mysql']], | ||||||||||
| 955 | [os_windows, | ||||||||||
| 956 | [package => 'mariadb-cli']], | ||||||||||
| 957 | ], | ||||||||||
| 958 | |||||||||||
| 959 | [cpanmod => 'DBD::mysql', | ||||||||||
| 960 | [os_freebsd, | ||||||||||
| 961 | [package => 'mysql80-client | mysql57-client | mysql56-client | mysql55-client | mariadb103-client | mariadb102-client | mariadb101-client | mariadb100-client | mariadb55-client | percona56-client | percona55-client | mysql-connector-c']], | ||||||||||
| 962 | [os_dragonfly, | ||||||||||
| 963 | [package => 'mariadb101-client | mariadb100-client | mariadb55-client-5.5.58']], | ||||||||||
| 964 | [os_openbsd, | ||||||||||
| 965 | [package => 'mariadb-client']], | ||||||||||
| 966 | [like_debian, | ||||||||||
| 967 | [before_debian_stretch, | ||||||||||
| 968 | [package => 'libmysqlclient-dev']], | ||||||||||
| 969 | [package => 'default-libmysqlclient-dev']], | ||||||||||
| 970 | [like_fedora, | ||||||||||
| 971 | [linuxdistro => 'centos', linuxdistroversion => qr{^6\.}, | ||||||||||
| 972 | [package => 'mysql-devel']], | ||||||||||
| 973 | [package => 'mariadb-devel']], | ||||||||||
| 974 | [os_darwin, | ||||||||||
| 975 | [package => 'mysql-connector-c | mysql']], | ||||||||||
| 976 | ], | ||||||||||
| 977 | |||||||||||
| 978 | [cpanmod => 'DBD::ODBC', | ||||||||||
| 979 | [os_freebsd, | ||||||||||
| 980 | [package => 'unixODBC']], | ||||||||||
| 981 | [os_dragonfly, | ||||||||||
| 982 | [package => 'unixODBC']], | ||||||||||
| 983 | [like_debian, | ||||||||||
| 984 | [package => 'unixodbc-dev']], | ||||||||||
| 985 | [like_fedora, | ||||||||||
| 986 | [package => 'libiodbc-devel']], # but building does not work out of the box, Makefile.PL needs patching | ||||||||||
| 987 | [os_darwin, | ||||||||||
| 988 | [package => 'unixodbc']], | ||||||||||
| 989 | ], | ||||||||||
| 990 | |||||||||||
| 991 | [cpanmod => 'DBD::Pg', | ||||||||||
| 992 | [os_freebsd, | ||||||||||
| 993 | [package => 'postgresql12-client | postgresql11-client | postgresql10-client | postgresql96-client | postgresql95-client | postgresql94-client | postgresql93-client']], | ||||||||||
| 994 | [os_dragonfly, | ||||||||||
| 995 | [package => 'postgresql10-server | postgresql96-server | postgresql94-server | postgresql93-server | postgresql92-server']], | ||||||||||
| 996 | [os_openbsd, | ||||||||||
| 997 | [package => 'postgresql-server']], | ||||||||||
| 998 | [like_debian, | ||||||||||
| 999 | [package => 'libpq-dev']], | ||||||||||
| 1000 | [like_fedora, | ||||||||||
| 1001 | [package => [qw(postgresql postgresql-devel)]]], | ||||||||||
| 1002 | [os_darwin, | ||||||||||
| 1003 | [package => 'postgresql']], | ||||||||||
| 1004 | ], | ||||||||||
| 1005 | |||||||||||
| 1006 | [cpanmod => 'Deliantra::Client', | ||||||||||
| 1007 | [os_freebsd, | ||||||||||
| 1008 | [package => ['sdl2', 'sdl2_image', 'sdl2_mixer']]], | ||||||||||
| 1009 | [like_debian, | ||||||||||
| 1010 | [package => ['libsdl1.2-dev', 'libsdl-image1.2-dev', 'libsdl-mixer1.2-dev', 'libglib2.0-dev']]]], | ||||||||||
| 1011 | |||||||||||
| 1012 | [cpanmod => 'Devel::IPerl', | ||||||||||
| 1013 | [like_debian, | ||||||||||
| 1014 | [package => [qw(libzmq3-dev jupyter-console jupyter-notebook)]]], # as documented in https://metacpan.org/release/ZMUGHAL/Devel-IPerl-0.012/source/README.md | ||||||||||
| 1015 | ], | ||||||||||
| 1016 | |||||||||||
| 1017 | [cpanmod => 'Devel::Jemallctl', | ||||||||||
| 1018 | [like_debian, | ||||||||||
| 1019 | [package => 'libjemalloc-dev']], | ||||||||||
| 1020 | [like_fedora, | ||||||||||
| 1021 | [package => 'jemalloc-devel']], | ||||||||||
| 1022 | [os_darwin, | ||||||||||
| 1023 | [package => 'jemalloc']], | ||||||||||
| 1024 | ], | ||||||||||
| 1025 | |||||||||||
| 1026 | [cpanmod => 'Devel::Valgrind::Client', | ||||||||||
| 1027 | [os_freebsd, | ||||||||||
| 1028 | [package => 'valgrind']], # untested | ||||||||||
| 1029 | [like_debian, | ||||||||||
| 1030 | [package => 'valgrind']], # but compilation errors | ||||||||||
| 1031 | ], | ||||||||||
| 1032 | |||||||||||
| 1033 | [cpanmod => 'Device::Cdio', | ||||||||||
| 1034 | [os_freebsd, | ||||||||||
| 1035 | # but it's too old, even on freebsd11 (1.1 needed, 0.94 installed) | ||||||||||
| 1036 | [package => 'libcdio']], | ||||||||||
| 1037 | [like_debian, | ||||||||||
| 1038 | # but still does not work | ||||||||||
| 1039 | [package => ['libcdio-dev', 'libiso9660-dev']]], | ||||||||||
| 1040 | [os_darwin, | ||||||||||
| 1041 | [package => 'libcdio']], | ||||||||||
| 1042 | ], | ||||||||||
| 1043 | |||||||||||
| 1044 | [cpanmod => 'Device::Serdisp', | ||||||||||
| 1045 | [os_freebsd, | ||||||||||
| 1046 | [package => 'serdisplib']], # but segfault in tests | ||||||||||
| 1047 | # no package for debian | ||||||||||
| 1048 | ], | ||||||||||
| 1049 | |||||||||||
| 1050 | [cpanmod => 'Device::USB', | ||||||||||
| 1051 | [like_debian, | ||||||||||
| 1052 | [package => 'libusb-dev']], | ||||||||||
| 1053 | [like_fedora, | ||||||||||
| 1054 | [linuxdistro => 'fedora', | ||||||||||
| 1055 | linuxdistroversion => {'>=', 39}, # what about older versions? | ||||||||||
| 1056 | package => 'libusb1-devel'], | ||||||||||
| 1057 | [package => 'libusb-devel']], | ||||||||||
| 1058 | ], | ||||||||||
| 1059 | |||||||||||
| 1060 | [cpanmod => 'Device::Velleman::K8055::libk8055', | ||||||||||
| 1061 | [os_freebsd, | ||||||||||
| 1062 | [package => 'libk8055']], | ||||||||||
| 1063 | # not available on debian | ||||||||||
| 1064 | ], | ||||||||||
| 1065 | |||||||||||
| 1066 | [cpanmod => 'DLM::Client', | ||||||||||
| 1067 | # libdlm does not seem to exist on FreeBSD | ||||||||||
| 1068 | [like_debian, | ||||||||||
| 1069 | [package => 'libdlm-dev']], | ||||||||||
| 1070 | [like_fedora, | ||||||||||
| 1071 | [package => 'dlm-devel']], | ||||||||||
| 1072 | ], | ||||||||||
| 1073 | |||||||||||
| 1074 | [cpanmod => 'DNS::LDNS', | ||||||||||
| 1075 | [os_freebsd, | ||||||||||
| 1076 | [package => 'ldns']], | ||||||||||
| 1077 | [os_dragonfly, | ||||||||||
| 1078 | [package => 'ldns']], | ||||||||||
| 1079 | [like_debian, | ||||||||||
| 1080 | [package => 'libldns-dev']], | ||||||||||
| 1081 | [like_fedora, | ||||||||||
| 1082 | [package => 'ldns-devel']], | ||||||||||
| 1083 | # additionally needs to be patched, see https://github.com/eserte/srezic-cpan-distroprefs/blob/master/DNS-LDNS.yml | ||||||||||
| 1084 | [os_darwin, | ||||||||||
| 1085 | [package => 'ldns']]], | ||||||||||
| 1086 | |||||||||||
| 1087 | [cpanmod => ['DNS::Unbound', 'Net::DNS::Resolver::Unbound'], | ||||||||||
| 1088 | #[cpandist => qr{^DNS-Unbound-\d}, | ||||||||||
| 1089 | [os_freebsd, | ||||||||||
| 1090 | [package => 'unbound']], # build problems with DNS::Unbound: port's pkg-config file references ssl & crypto, but these are already in base system | ||||||||||
| 1091 | [like_debian, | ||||||||||
| 1092 | [package => 'libunbound-dev']], | ||||||||||
| 1093 | [like_fedora, | ||||||||||
| 1094 | [package => 'unbound-devel']], | ||||||||||
| 1095 | ], | ||||||||||
| 1096 | |||||||||||
| 1097 | [cpanmod => 'DVD::Read', | ||||||||||
| 1098 | [os_freebsd, | ||||||||||
| 1099 | [package => 'libdvdread']], | ||||||||||
| 1100 | [like_debian, | ||||||||||
| 1101 | [package => 'libdvdread-dev']], | ||||||||||
| 1102 | [like_fedora, | ||||||||||
| 1103 | [package => 'libdvdread-devel']], | ||||||||||
| 1104 | ], | ||||||||||
| 1105 | |||||||||||
| 1106 | [cpanmod => 'EFL', | ||||||||||
| 1107 | [os_freebsd, | ||||||||||
| 1108 | # build is not successful anyway (Evas.h cannot be found), additionally the prereqs install also gcc on a freebsd10 system | ||||||||||
| 1109 | [package => ['evas-core', 'elementary']]], | ||||||||||
| 1110 | [like_debian, | ||||||||||
| 1111 | # here too: build is not successful anyway (Evas.h cannot be found) | ||||||||||
| 1112 | [package => ['libevas-dev', 'libelementary-dev']]]], | ||||||||||
| 1113 | |||||||||||
| 1114 | [cpanmod => 'Encode::TECkit', | ||||||||||
| 1115 | [os_freebsd, | ||||||||||
| 1116 | [package => 'teckit']], | ||||||||||
| 1117 | # no package for Debian (jessie, stretch) and CentOS7 | ||||||||||
| 1118 | ], | ||||||||||
| 1119 | |||||||||||
| 1120 | [cpanmod => 'Erlang::Interface', | ||||||||||
| 1121 | [like_debian, | ||||||||||
| 1122 | [package => 'erlang-dev']], | ||||||||||
| 1123 | ], | ||||||||||
| 1124 | |||||||||||
| 1125 | [cpanmod => ['EV::ADNS', 'Net::ADNS'], | ||||||||||
| 1126 | [os_freebsd, | ||||||||||
| 1127 | [package => 'adns']], | ||||||||||
| 1128 | [like_debian, | ||||||||||
| 1129 | [package => 'libadns1-dev']], | ||||||||||
| 1130 | [os_darwin, | ||||||||||
| 1131 | [package => 'adns']], | ||||||||||
| 1132 | [like_fedora, | ||||||||||
| 1133 | [linuxdistro => 'fedora', # not available for CentOS6 or 7 | ||||||||||
| 1134 | [package => 'adns-devel']]], | ||||||||||
| 1135 | ], | ||||||||||
| 1136 | |||||||||||
| 1137 | [cpanmod => 'Event::Lib', | ||||||||||
| 1138 | [os_freebsd, | ||||||||||
| 1139 | [package => 'libevent2']], | ||||||||||
| 1140 | [like_debian, | ||||||||||
| 1141 | [package => 'libevent-dev']]], | ||||||||||
| 1142 | |||||||||||
| 1143 | [cpanmod => 'ExtUtils::CppGuess', | ||||||||||
| 1144 | # FreeBSD has c++ in the base system | ||||||||||
| 1145 | [like_debian, | ||||||||||
| 1146 | [package => 'g++']]], | ||||||||||
| 1147 | |||||||||||
| 1148 | [cpanmod => 'ExtUtils::F77', | ||||||||||
| 1149 | # XXX TBD FreeBSD: provided by gcc, which is in the base system for osvers < 10, and has to be installed separately for osvers >= 10 | ||||||||||
| 1150 | [like_debian, | ||||||||||
| 1151 | [package => 'gfortran']], | ||||||||||
| 1152 | [like_fedora, | ||||||||||
| 1153 | [package => 'gcc-gfortran']], | ||||||||||
| 1154 | # XXX TBD MacOSX: "GNU Fortran is now provided as part of GCC, and can be installed with: brew install gcc" | ||||||||||
| 1155 | ], | ||||||||||
| 1156 | |||||||||||
| 1157 | [cpanmod => 'ExtUtils::PkgConfig', | ||||||||||
| 1158 | [os_freebsd, | ||||||||||
| 1159 | [package => 'pkgconf']], | ||||||||||
| 1160 | [like_debian, | ||||||||||
| 1161 | [package => 'pkg-config | pkgconf']], | ||||||||||
| 1162 | [like_fedora, | ||||||||||
| 1163 | [linuxdistro => 'centos', linuxdistroversion => {'<', 8}, | ||||||||||
| 1164 | [package => 'pkgconfig']], | ||||||||||
| 1165 | [linuxdistro => 'fedora', linuxdistroversion => {'<', 31}, | ||||||||||
| 1166 | [package => 'pkgconfig']], | ||||||||||
| 1167 | [package => 'pkgconf-pkg-config']], | ||||||||||
| 1168 | [os_darwin, | ||||||||||
| 1169 | [package => 'pkg-config']], | ||||||||||
| 1170 | ], | ||||||||||
| 1171 | |||||||||||
| 1172 | [cpanmod => 'FFI::Platypus::Lang::Pascal', | ||||||||||
| 1173 | [like_debian, | ||||||||||
| 1174 | [package => 'fp-compiler']], | ||||||||||
| 1175 | ], | ||||||||||
| 1176 | |||||||||||
| 1177 | [cpanmod => 'File::ExtAttr', | ||||||||||
| 1178 | [like_debian, | ||||||||||
| 1179 | [package => 'libattr1-dev']], | ||||||||||
| 1180 | [like_fedora, | ||||||||||
| 1181 | [package => 'libattr-devel']], | ||||||||||
| 1182 | # no special packages needed on freebsd and macosx | ||||||||||
| 1183 | ], | ||||||||||
| 1184 | |||||||||||
| 1185 | [cpanmod => 'File::LibMagic', | ||||||||||
| 1186 | # XXX what about freebsd? | ||||||||||
| 1187 | [like_debian, | ||||||||||
| 1188 | [package => 'libmagic-dev']], | ||||||||||
| 1189 | [like_fedora, | ||||||||||
| 1190 | [package => 'file-devel']], | ||||||||||
| 1191 | [os_darwin, | ||||||||||
| 1192 | [package => 'libmagic']]], | ||||||||||
| 1193 | |||||||||||
| 1194 | [cpanmod => 'File::MimeInfo', | ||||||||||
| 1195 | [os_freebsd, | ||||||||||
| 1196 | [# actually, this module installs without the package, but | ||||||||||
| 1197 | # depending modules like IO-All which really use it may fail | ||||||||||
| 1198 | [package => 'shared-mime-info']]]], | ||||||||||
| 1199 | |||||||||||
| 1200 | [cpanmod => 'File::Rdiff', | ||||||||||
| 1201 | [os_freebsd, | ||||||||||
| 1202 | [package => 'librsync2 | librsync']], | ||||||||||
| 1203 | [like_debian, | ||||||||||
| 1204 | [package => 'librsync-dev']], | ||||||||||
| 1205 | [like_fedora, | ||||||||||
| 1206 | [package => 'librsync-devel']], # but compilation failures on CentOS7 | ||||||||||
| 1207 | ], | ||||||||||
| 1208 | |||||||||||
| 1209 | [cpanmod => 'Filesys::SmbClient', | ||||||||||
| 1210 | ## XXX does not work out-of-the box, maybe needs some -I and -L settings | ||||||||||
| 1211 | #[os_freebsd, | ||||||||||
| 1212 | # [package => 'samba416 | samba413 | samba41 | samba4 | samba-libsmbclient']], | ||||||||||
| 1213 | [like_debian, | ||||||||||
| 1214 | [package => 'libsmbclient-dev']], | ||||||||||
| 1215 | ## XXX does not seem to build, neither with centos7 nor with fedora39 | ||||||||||
| 1216 | #[like_fedora, | ||||||||||
| 1217 | # [package => 'libsmbclient-devel']], | ||||||||||
| 1218 | ], | ||||||||||
| 1219 | |||||||||||
| 1220 | [cpanmod => 'Finance::MICR::GOCR::Check', | ||||||||||
| 1221 | [package => 'gocr']], | ||||||||||
| 1222 | |||||||||||
| 1223 | [cpanmod => 'Finance::TA', | ||||||||||
| 1224 | [os_freebsd, | ||||||||||
| 1225 | [package => 'ta-lib']]], # alternative would be Alien::TALib | ||||||||||
| 1226 | |||||||||||
| 1227 | [cpanmod => 'Firefox::Marionette', | ||||||||||
| 1228 | [os_freebsd, | ||||||||||
| 1229 | [package => [ 'firefox', 'xorg-vfbserver', 'xauth' ]]], | ||||||||||
| 1230 | [os_openbsd, | ||||||||||
| 1231 | [package => [ 'firefox' ]]], | ||||||||||
| 1232 | [like_debian, | ||||||||||
| 1233 | [linuxdistro => 'ubuntu', | ||||||||||
| 1234 | [package => [qw(firefox xvfb xauth)]]], # there's no firefox-esr for Ubuntu | ||||||||||
| 1235 | [package => [ 'firefox-esr', 'xvfb', 'xauth' ]]], | ||||||||||
| 1236 | [like_fedora, | ||||||||||
| 1237 | [package => [ 'firefox', 'xorg-x11-server-Xvfb', 'xorg-x11-xauth' ]]], | ||||||||||
| 1238 | [os_windows, | ||||||||||
| 1239 | [package => [ 'firefox' ]]], | ||||||||||
| 1240 | ], | ||||||||||
| 1241 | |||||||||||
| 1242 | [cpanmod => ['FTDI::D2XX', 'Device::FTDI'], | ||||||||||
| 1243 | # neither libftdi nor libftdi1 seem to work on FreeBSD | ||||||||||
| 1244 | [like_debian, | ||||||||||
| 1245 | [package => 'libftdi-dev']]], | ||||||||||
| 1246 | |||||||||||
| 1247 | [cpanmod => 'Fuse', | ||||||||||
| 1248 | # Fuse.pm does not work on freebsd | ||||||||||
| 1249 | [like_debian, | ||||||||||
| 1250 | [package => 'libfuse-dev']], | ||||||||||
| 1251 | [like_fedora, | ||||||||||
| 1252 | [package => 'fuse-devel']], | ||||||||||
| 1253 | ], | ||||||||||
| 1254 | |||||||||||
| 1255 | [cpanmod => 'Games::Chipmunk', | ||||||||||
| 1256 | [os_freebsd, | ||||||||||
| 1257 | [package => 'ChipmunkPhysics']], | ||||||||||
| 1258 | [like_debian, | ||||||||||
| 1259 | [package => 'chipmunk-dev']], | ||||||||||
| 1260 | ], | ||||||||||
| 1261 | |||||||||||
| 1262 | [cpanmod => 'Games::Irrlicht', | ||||||||||
| 1263 | [os_freebsd, | ||||||||||
| 1264 | [package => 'irrlicht']], # but does not build | ||||||||||
| 1265 | [like_debian, | ||||||||||
| 1266 | [package => 'libirrlicht-dev']], # but does not build | ||||||||||
| 1267 | ], | ||||||||||
| 1268 | |||||||||||
| 1269 | [cpanmod => 'Games::Poker::HandEvaluator', | ||||||||||
| 1270 | [os_freebsd, | ||||||||||
| 1271 | [package => 'poker-eval']], # but does not build out of the box | ||||||||||
| 1272 | [like_debian, | ||||||||||
| 1273 | [package => 'libpoker-eval-dev']], # but does not build out of the box | ||||||||||
| 1274 | ], | ||||||||||
| 1275 | |||||||||||
| 1276 | [cpanmod => 'GCCJIT', | ||||||||||
| 1277 | [like_debian, | ||||||||||
| 1278 | [linuxdistrocodename => [qw(squeeze wheezy jessie precise)], | ||||||||||
| 1279 | [package => []]], # N/A in older Debian+Ubuntu versions | ||||||||||
| 1280 | [linuxdistrocodename => [qw(xenial)], | ||||||||||
| 1281 | [package => 'libgccjit-5-dev']], | ||||||||||
| 1282 | [linuxdistrocodename => [qw(stretch)], | ||||||||||
| 1283 | [package => 'libgccjit-6-dev']], | ||||||||||
| 1284 | [linuxdistrocodename => [qw(bionic)], | ||||||||||
| 1285 | [package => 'libgccjit-7-dev']], # use matching with current gcc, don't use libgccjit-8-dev | libgccjit-6-dev | libgccjit-5-dev | ||||||||||
| 1286 | [linuxdistrocodename => [qw(buster)], | ||||||||||
| 1287 | [package => 'libgccjit-8-dev']], # use matching with current gcc, don't use libgccjit-7-dev | libgccjit-6-dev | ||||||||||
| 1288 | ], | ||||||||||
| 1289 | [like_fedora, | ||||||||||
| 1290 | [linuxdistro => 'fedora', # not available for CentOS6 or 7 | ||||||||||
| 1291 | [package => 'libgccjit-devel']]], | ||||||||||
| 1292 | ], | ||||||||||
| 1293 | |||||||||||
| 1294 | [cpanmod => 'GD', | ||||||||||
| 1295 | [os_freebsd, | ||||||||||
| 1296 | [package => 'libgd']], | ||||||||||
| 1297 | [os_dragonfly, | ||||||||||
| 1298 | [package => 'libgd']], | ||||||||||
| 1299 | [os_openbsd, | ||||||||||
| 1300 | [package => 'gd']], | ||||||||||
| 1301 | [like_debian, | ||||||||||
| 1302 | [linuxdistrocodename => ['precise', 'wheezy'], | ||||||||||
| 1303 | [package => 'libgd2-noxpm-dev | libgd2-xpm-dev']], | ||||||||||
| 1304 | [package => 'libgd-dev']], | ||||||||||
| 1305 | [like_fedora, | ||||||||||
| 1306 | [package => 'gd-devel']], | ||||||||||
| 1307 | [like_alpine, | ||||||||||
| 1308 | [package => 'gd-dev']], | ||||||||||
| 1309 | [os_darwin, | ||||||||||
| 1310 | [package => 'gd']], | ||||||||||
| 1311 | ], | ||||||||||
| 1312 | |||||||||||
| 1313 | [cpanmod => 'Gearman::XS', | ||||||||||
| 1314 | [os_freebsd, | ||||||||||
| 1315 | [package => 'gearmand-devel'], # untested; not for small disks, needs boost-libs | ||||||||||
| 1316 | ], | ||||||||||
| 1317 | [like_debian, | ||||||||||
| 1318 | [package => 'libgearman-dev']], | ||||||||||
| 1319 | [like_fedora, | ||||||||||
| 1320 | [package => 'libgearman-devel']], | ||||||||||
| 1321 | ], | ||||||||||
| 1322 | |||||||||||
| 1323 | [cpanmod => 'Geo::Hex::V3::XS', | ||||||||||
| 1324 | [package => 'cmake']], | ||||||||||
| 1325 | |||||||||||
| 1326 | [cpanmod => 'Geo::Proj4', | ||||||||||
| 1327 | [os_freebsd, | ||||||||||
| 1328 | [package => 'proj']], | ||||||||||
| 1329 | [like_debian, | ||||||||||
| 1330 | [package => ['libproj-dev', 'proj-bin']]], | ||||||||||
| 1331 | [like_fedora, | ||||||||||
| 1332 | [package => ['proj-devel', 'proj']]], | ||||||||||
| 1333 | [os_darwin, | ||||||||||
| 1334 | [package => 'proj']], | ||||||||||
| 1335 | ], | ||||||||||
| 1336 | |||||||||||
| 1337 | [cpanmod => 'Geo::Shapelib', | ||||||||||
| 1338 | [os_freebsd, | ||||||||||
| 1339 | [package => 'shapelib']], | ||||||||||
| 1340 | [like_debian, | ||||||||||
| 1341 | [package => 'libshp-dev']], | ||||||||||
| 1342 | [like_fedora, | ||||||||||
| 1343 | [package => 'shapelib-devel']], | ||||||||||
| 1344 | ], | ||||||||||
| 1345 | |||||||||||
| 1346 | [cpanmod => ['Gimp', 'Alien::Gimp'], | ||||||||||
| 1347 | [os_freebsd, | ||||||||||
| 1348 | [package => 'gimp-app']], | ||||||||||
| 1349 | [like_debian, | ||||||||||
| 1350 | [package => 'libgimp2.0-dev'], # 90 MB for package + deps | ||||||||||
| 1351 | ]], | ||||||||||
| 1352 | |||||||||||
| 1353 | [cpanmod => 'GitDDL::Migrator', | ||||||||||
| 1354 | # XXX freebsd? | ||||||||||
| 1355 | [like_debian, | ||||||||||
| 1356 | [package => ['mysql-server-5.7 | mysql-server-5.5']], # possible alternative: mariadb-server-10.0; mysql-server-core-5.5 is not enough as resolveip is usually required | ||||||||||
| 1357 | ]], | ||||||||||
| 1358 | |||||||||||
| 1359 | [cpanmod => 'Git::Raw', | ||||||||||
| 1360 | [os_freebsd, | ||||||||||
| 1361 | [package => 'libssh2']], | ||||||||||
| 1362 | [like_debian, | ||||||||||
| 1363 | [package => 'libssh2-1-dev']], | ||||||||||
| 1364 | # libgit2 is already bundled with Git::Raw | ||||||||||
| 1365 | ], | ||||||||||
| 1366 | |||||||||||
| 1367 | [cpanmod => 'Git::XS', | ||||||||||
| 1368 | [os_freebsd, | ||||||||||
| 1369 | [package => 'libgit2']], | ||||||||||
| 1370 | [os_openbsd, | ||||||||||
| 1371 | [package => 'libgit2']], | ||||||||||
| 1372 | [like_debian, | ||||||||||
| 1373 | [linuxdistrocodename => ['squeeze', 'wheezy'], | ||||||||||
| 1374 | [package => []]], # N/A | ||||||||||
| 1375 | [package => 'libgit2-dev']], | ||||||||||
| 1376 | [like_fedora, | ||||||||||
| 1377 | [package => 'libgit2-devel']], | ||||||||||
| 1378 | ], | ||||||||||
| 1379 | |||||||||||
| 1380 | [cpanmod => 'Glib', | ||||||||||
| 1381 | [like_debian, | ||||||||||
| 1382 | [package => 'libglib2.0-dev']], | ||||||||||
| 1383 | [like_fedora, | ||||||||||
| 1384 | [linuxdistro => 'centos', linuxdistroversion => {'<', 7}, | ||||||||||
| 1385 | [package => []]], | ||||||||||
| 1386 | [package => 'gobject-introspection-devel']], | ||||||||||
| 1387 | [os_darwin, | ||||||||||
| 1388 | [package => 'glib']], | ||||||||||
| 1389 | ], | ||||||||||
| 1390 | |||||||||||
| 1391 | [cpanmod => 'Glib::JSON', | ||||||||||
| 1392 | [os_freebsd, | ||||||||||
| 1393 | [package => 'json-glib']], | ||||||||||
| 1394 | [like_debian, | ||||||||||
| 1395 | [package => 'libjson-glib-dev']], | ||||||||||
| 1396 | [like_fedora, | ||||||||||
| 1397 | [package => 'json-glib-devel']], | ||||||||||
| 1398 | [os_darwin, | ||||||||||
| 1399 | [package => 'json-glib']], | ||||||||||
| 1400 | ], | ||||||||||
| 1401 | |||||||||||
| 1402 | [cpanmod => 'Glib::Object::Introspection', | ||||||||||
| 1403 | [os_freebsd, | ||||||||||
| 1404 | [package => 'gobject-introspection']], | ||||||||||
| 1405 | [os_openbsd, | ||||||||||
| 1406 | [package => 'gobject-introspection']], | ||||||||||
| 1407 | [like_debian, | ||||||||||
| 1408 | [package => 'libgirepository1.0-dev']], | ||||||||||
| 1409 | [like_fedora, | ||||||||||
| 1410 | [linuxdistro => 'centos', linuxdistroversion => {'<', 7}, | ||||||||||
| 1411 | [package => []]], | ||||||||||
| 1412 | [package => 'gobject-introspection-devel']], | ||||||||||
| 1413 | [os_darwin, | ||||||||||
| 1414 | [package => [qw(gobject-introspection libffi)]]], | ||||||||||
| 1415 | ], | ||||||||||
| 1416 | |||||||||||
| 1417 | [cpanmod => 'Gnome2', | ||||||||||
| 1418 | [os_freebsd, | ||||||||||
| 1419 | [package => 'libgnomeui']], | ||||||||||
| 1420 | [like_debian, | ||||||||||
| 1421 | [package => 'libgnomeui-dev']]], | ||||||||||
| 1422 | |||||||||||
| 1423 | [cpanmod => 'Gnome2::Canvas', | ||||||||||
| 1424 | [os_freebsd, | ||||||||||
| 1425 | [package => 'libgnomecanvas']], | ||||||||||
| 1426 | [like_debian, | ||||||||||
| 1427 | [package => 'libgnomecanvas2-dev']], | ||||||||||
| 1428 | [like_fedora, | ||||||||||
| 1429 | [package => 'libgnomecanvas-devel']], | ||||||||||
| 1430 | ], | ||||||||||
| 1431 | |||||||||||
| 1432 | [cpanmod => 'Gnome2::GConf', | ||||||||||
| 1433 | [os_freebsd, | ||||||||||
| 1434 | [package => 'gconf2']], | ||||||||||
| 1435 | [like_debian, | ||||||||||
| 1436 | [package => 'libgconf2-dev']], | ||||||||||
| 1437 | [like_fedora, | ||||||||||
| 1438 | [package => 'GConf2-devel']], | ||||||||||
| 1439 | ], | ||||||||||
| 1440 | |||||||||||
| 1441 | [cpanmod => 'Gnome2::Print', | ||||||||||
| 1442 | [os_freebsd, | ||||||||||
| 1443 | [package => 'libgnomeprintui']], | ||||||||||
| 1444 | [linuxdistro => 'centos', linuxdistroversion => {'<', 7}, | ||||||||||
| 1445 | [package => 'libgnomeprintui22-devel']], | ||||||||||
| 1446 | ], | ||||||||||
| 1447 | |||||||||||
| 1448 | [cpanmod => 'Gnome2::Wnck', | ||||||||||
| 1449 | [os_freebsd, | ||||||||||
| 1450 | [package => 'libwnck']], | ||||||||||
| 1451 | [like_debian, | ||||||||||
| 1452 | [package => 'libwnck-dev']], | ||||||||||
| 1453 | [like_fedora, | ||||||||||
| 1454 | [package => 'libwnck-devel']], | ||||||||||
| 1455 | ], | ||||||||||
| 1456 | |||||||||||
| 1457 | [cpanmod => ['Gnome2::VFS', 'VFS::Gnome'], | ||||||||||
| 1458 | [os_freebsd, | ||||||||||
| 1459 | [package => 'gnome-vfs']], | ||||||||||
| 1460 | [like_debian, | ||||||||||
| 1461 | [package => 'libgnomevfs2-dev']]], | ||||||||||
| 1462 | |||||||||||
| 1463 | [cpanmod => 'Gnome::Sound', | ||||||||||
| 1464 | [like_debian, | ||||||||||
| 1465 | [package => 'libgnome2-dev']], # does not work, module does not look into /usr/include/libgnome-2.0/ | ||||||||||
| 1466 | ], | ||||||||||
| 1467 | |||||||||||
| 1468 | [cpanmod => ['GnuPG', 'Module::Signature'], | ||||||||||
| 1469 | [os_freebsd, | ||||||||||
| 1470 | [package => 'gnupg1'] # XXX what about gnupg (version 2)? | ||||||||||
| 1471 | ], | ||||||||||
| 1472 | [os_dragonfly, | ||||||||||
| 1473 | [package => 'gnupg']], | ||||||||||
| 1474 | [os_openbsd, | ||||||||||
| 1475 | [package => 'gnupg']], | ||||||||||
| 1476 | [like_debian, | ||||||||||
| 1477 | [package => 'gnupg']], | ||||||||||
| 1478 | [like_fedora, | ||||||||||
| 1479 | [package => 'gnupg2']], | ||||||||||
| 1480 | ], | ||||||||||
| 1481 | |||||||||||
| 1482 | [cpanmod => 'GnuPG::Interface', | ||||||||||
| 1483 | [os_freebsd, | ||||||||||
| 1484 | [package => 'gnupg1'] # XXX what about gnupg (version 2)? | ||||||||||
| 1485 | ], | ||||||||||
| 1486 | [os_dragonfly, | ||||||||||
| 1487 | [package => 'gnupg']], | ||||||||||
| 1488 | [os_openbsd, | ||||||||||
| 1489 | [package => 'gnupg']], | ||||||||||
| 1490 | [like_debian, | ||||||||||
| 1491 | [package => 'gnupg']], | ||||||||||
| 1492 | [like_fedora, | ||||||||||
| 1493 | [package => 'gnupg']], # does not work with gnupg2 | ||||||||||
| 1494 | ], | ||||||||||
| 1495 | |||||||||||
| 1496 | [cpanmod => 'Goo::Canvas', | ||||||||||
| 1497 | [os_freebsd, | ||||||||||
| 1498 | [package => 'goocanvas']], | ||||||||||
| 1499 | [like_debian, | ||||||||||
| 1500 | [package => 'libgoocanvas-dev']], | ||||||||||
| 1501 | [like_fedora, | ||||||||||
| 1502 | [package => 'goocanvas2']], | ||||||||||
| 1503 | ], | ||||||||||
| 1504 | |||||||||||
| 1505 | [cpanmod => 'GooCanvas2', | ||||||||||
| 1506 | [os_freebsd, | ||||||||||
| 1507 | [package => 'goocanvas2']], | ||||||||||
| 1508 | [like_debian, | ||||||||||
| 1509 | [linuxdistrocodename => [qw(squeeze wheezy jessie)], # not available before xenial/stretch | ||||||||||
| 1510 | [package => []]], | ||||||||||
| 1511 | [package => 'gir1.2-goocanvas-2.0']], | ||||||||||
| 1512 | [like_fedora, | ||||||||||
| 1513 | [linuxdistro => 'centos', linuxdistroversion => qr{^6\.}, | ||||||||||
| 1514 | [package => []]], | ||||||||||
| 1515 | [package => 'goocanvas2-devel']], | ||||||||||
| 1516 | [os_darwin, | ||||||||||
| 1517 | [package => 'goocanvas']], # untested | ||||||||||
| 1518 | ], | ||||||||||
| 1519 | |||||||||||
| 1520 | [cpanmod => 'Google::ProtocolBuffers::Dynamic', | ||||||||||
| 1521 | [os_freebsd, | ||||||||||
| 1522 | [package => 'protobuf']], | ||||||||||
| 1523 | [like_debian, | ||||||||||
| 1524 | [package => 'libprotoc-dev']], | ||||||||||
| 1525 | [like_fedora, | ||||||||||
| 1526 | [package => 'protobuf-c-devel']], | ||||||||||
| 1527 | ], | ||||||||||
| 1528 | |||||||||||
| 1529 | [cpanmod => ['Graphics::GnuplotIF', 'Gnuplot::Simple', 'Chart::Gnuplot'], | ||||||||||
| 1530 | [package => 'gnuplot']], | ||||||||||
| 1531 | |||||||||||
| 1532 | [cpanmod => 'Graph::Nauty', | ||||||||||
| 1533 | [os_freebsd, | ||||||||||
| 1534 | [package => []]], # there is a nauty package, but this seems to be something different | ||||||||||
| 1535 | [like_debian, | ||||||||||
| 1536 | [before_ubuntu_trusty, | ||||||||||
| 1537 | [package => []]], | ||||||||||
| 1538 | [package => 'libnauty2-dev']], | ||||||||||
| 1539 | [like_fedora, | ||||||||||
| 1540 | [linuxdistro => 'centos', | ||||||||||
| 1541 | [package => []]], | ||||||||||
| 1542 | [package => 'libnauty-devel']], | ||||||||||
| 1543 | [os_darwin, | ||||||||||
| 1544 | [package => 'nauty']] | ||||||||||
| 1545 | ], | ||||||||||
| 1546 | |||||||||||
| 1547 | [cpanmod => 'Graphics::Plotter', | ||||||||||
| 1548 | [os_freebsd, | ||||||||||
| 1549 | [package => 'plotutils']], | ||||||||||
| 1550 | [like_debian, | ||||||||||
| 1551 | [package => 'libplot-dev']], | ||||||||||
| 1552 | [like_fedora, | ||||||||||
| 1553 | [package => 'plotutils-devel']], | ||||||||||
| 1554 | ], | ||||||||||
| 1555 | |||||||||||
| 1556 | [cpanmod => ['Graphics::PLplot', 'PDL::Graphics::PLplot'], | ||||||||||
| 1557 | [os_freebsd, | ||||||||||
| 1558 | [package => 'plplot']], | ||||||||||
| 1559 | [like_debian, | ||||||||||
| 1560 | [package => 'libplplot-dev']], | ||||||||||
| 1561 | [like_fedora, | ||||||||||
| 1562 | [package => 'plplot-devel']], | ||||||||||
| 1563 | ], | ||||||||||
| 1564 | |||||||||||
| 1565 | [cpanmod => ['Graphics::SANE', 'Sane', 'Image::Sane'], | ||||||||||
| 1566 | [os_freebsd, | ||||||||||
| 1567 | [package => 'sane-backends']], | ||||||||||
| 1568 | [like_debian, | ||||||||||
| 1569 | [package => 'libsane-dev']], | ||||||||||
| 1570 | [like_fedora, | ||||||||||
| 1571 | [package => 'sane-backends-devel']], | ||||||||||
| 1572 | [os_darwin, | ||||||||||
| 1573 | [package => 'sane-backends']], | ||||||||||
| 1574 | ], | ||||||||||
| 1575 | |||||||||||
| 1576 | [cpanmod => ['GraphViz', 'GraphViz2', 'GraphViz2::Marpa'], | ||||||||||
| 1577 | # package named the same in freebsd, debian and macosx/homebrew, maybe everywhere? | ||||||||||
| 1578 | [package => 'graphviz']], | ||||||||||
| 1579 | |||||||||||
| 1580 | [cpanmod => 'GSM::Gnokii', | ||||||||||
| 1581 | # XXX what about freebsd? | ||||||||||
| 1582 | [like_debian, | ||||||||||
| 1583 | [package => 'libgnokii-dev']]], | ||||||||||
| 1584 | |||||||||||
| 1585 | [cpanmod => 'Gtk2', | ||||||||||
| 1586 | # XXX freebsd? | ||||||||||
| 1587 | [like_debian, | ||||||||||
| 1588 | [package => 'libgtk2.0-dev']], | ||||||||||
| 1589 | [like_fedora, | ||||||||||
| 1590 | [package => 'gtk2-devel']], | ||||||||||
| 1591 | ], | ||||||||||
| 1592 | |||||||||||
| 1593 | [cpanmod => 'Gtk2::AppIndicator', | ||||||||||
| 1594 | # no package for freebsd or centos7 | ||||||||||
| 1595 | [like_debian, | ||||||||||
| 1596 | [package => 'libappindicator-dev']], | ||||||||||
| 1597 | ], | ||||||||||
| 1598 | |||||||||||
| 1599 | [cpanmod=> 'Gtk2::CV', | ||||||||||
| 1600 | [linuxdistro => 'fedora', | ||||||||||
| 1601 | [package => 'perlmulticore-devel']], | ||||||||||
| 1602 | ], | ||||||||||
| 1603 | |||||||||||
| 1604 | [cpanmod => 'Gtk2::GladeXML', | ||||||||||
| 1605 | [os_freebsd, | ||||||||||
| 1606 | [package => 'libglade2']], | ||||||||||
| 1607 | [like_debian, | ||||||||||
| 1608 | [package => 'libglade2-dev']], | ||||||||||
| 1609 | [like_fedora, | ||||||||||
| 1610 | [package => 'libglade2-devel']], | ||||||||||
| 1611 | ], | ||||||||||
| 1612 | |||||||||||
| 1613 | [cpanmod => 'Gtk2::GLExt', | ||||||||||
| 1614 | # But does not build anywhere... | ||||||||||
| 1615 | [os_freebsd, | ||||||||||
| 1616 | [package => 'gtkglext']], | ||||||||||
| 1617 | [like_debian, | ||||||||||
| 1618 | [package => 'libgtkglext1-dev']], | ||||||||||
| 1619 | [like_fedora, | ||||||||||
| 1620 | [package => 'gtkglext-devel']], | ||||||||||
| 1621 | ], | ||||||||||
| 1622 | |||||||||||
| 1623 | [cpanmod => 'Gtk2::ImageView', | ||||||||||
| 1624 | [os_freebsd, | ||||||||||
| 1625 | [package => 'gtkimageview']], | ||||||||||
| 1626 | [like_debian, | ||||||||||
| 1627 | [package => 'libgtkimageview-dev']]], | ||||||||||
| 1628 | |||||||||||
| 1629 | [cpanmod => ['Gtk2::Notify', 'Gtk3::Notify'], # but compilation errors, see https://rt.cpan.org/Ticket/Display.html?id=67467 | ||||||||||
| 1630 | [os_freebsd, | ||||||||||
| 1631 | [package => 'libnotify']], | ||||||||||
| 1632 | [like_debian, | ||||||||||
| 1633 | [package => 'libnotify-dev']], | ||||||||||
| 1634 | [like_fedora, | ||||||||||
| 1635 | [package => 'libnotify-devel']], | ||||||||||
| 1636 | ], | ||||||||||
| 1637 | |||||||||||
| 1638 | [cpanmod => 'Gtk2::Spell', | ||||||||||
| 1639 | [os_freebsd, | ||||||||||
| 1640 | [package => 'gtkspell']], | ||||||||||
| 1641 | [like_debian, | ||||||||||
| 1642 | [package => 'libgtkspell-dev']], | ||||||||||
| 1643 | [like_fedora, | ||||||||||
| 1644 | [package => 'gtkspell-devel']], | ||||||||||
| 1645 | ], | ||||||||||
| 1646 | |||||||||||
| 1647 | [cpanmod => 'Gtk2::Unique', | ||||||||||
| 1648 | [os_freebsd, | ||||||||||
| 1649 | [package => 'unique']], | ||||||||||
| 1650 | [like_debian, | ||||||||||
| 1651 | [package => 'libunique-dev']], | ||||||||||
| 1652 | [like_fedora, | ||||||||||
| 1653 | [package => 'unique-devel']], | ||||||||||
| 1654 | ], | ||||||||||
| 1655 | |||||||||||
| 1656 | [cpanmod => 'Gtk3', | ||||||||||
| 1657 | [os_freebsd, | ||||||||||
| 1658 | # additionally dbus has to be enabled and started | ||||||||||
| 1659 | [package => ['gtk3', 'dbus']]], | ||||||||||
| 1660 | [like_debian, | ||||||||||
| 1661 | [package => 'libgtk-3-dev']], | ||||||||||
| 1662 | [like_fedora, | ||||||||||
| 1663 | [linuxdistro => 'centos', linuxdistroversion => {'<', 7}, | ||||||||||
| 1664 | [package => []]], | ||||||||||
| 1665 | [package => 'gtk3-devel']], | ||||||||||
| 1666 | ], | ||||||||||
| 1667 | |||||||||||
| 1668 | [cpanmod => 'Gtk3::SourceView', | ||||||||||
| 1669 | [os_freebsd, | ||||||||||
| 1670 | [package => 'gtksourceview3']], | ||||||||||
| 1671 | [like_debian, | ||||||||||
| 1672 | [package => 'libgtksourceview-3.0-dev']], | ||||||||||
| 1673 | [like_fedora, | ||||||||||
| 1674 | [package => 'gtksourceview3-devel']], | ||||||||||
| 1675 | ], | ||||||||||
| 1676 | |||||||||||
| 1677 | [cpanmod => 'Gtk3::WebKit', | ||||||||||
| 1678 | [os_freebsd, | ||||||||||
| 1679 | [osvers => {'<', 11}, | ||||||||||
| 1680 | [package => 'webkit-gtk3']], | ||||||||||
| 1681 | [package => []]], # does not exist in newer freebsd versions | ||||||||||
| 1682 | [like_debian, | ||||||||||
| 1683 | [before_debian_buster, # only available until ubuntu:bionic | ||||||||||
| 1684 | [package => 'libwebkitgtk-3.0-dev']], | ||||||||||
| 1685 | [package => []]], | ||||||||||
| 1686 | [like_fedora, | ||||||||||
| 1687 | [linuxdistro => 'centos', | ||||||||||
| 1688 | linuxdistroversion => qr{^[7]\.}, # exists for centos 7, does not exist for fedora 36 | ||||||||||
| 1689 | package => 'webkitgtk3-devel'], | ||||||||||
| 1690 | [package => []]], | ||||||||||
| 1691 | ], | ||||||||||
| 1692 | |||||||||||
| 1693 | [cpanmod => 'Gtk3::WebKit2', | ||||||||||
| 1694 | [like_debian, | ||||||||||
| 1695 | [before_ubuntu_trusty, # at least not available in debian/wheezy | ||||||||||
| 1696 | [package => []]], | ||||||||||
| 1697 | [before_ubuntu_noble, | ||||||||||
| 1698 | [package => 'libwebkit2gtk-4.0-dev']], | ||||||||||
| 1699 | [package => 'libwebkit2gtk-4.1-dev']], # but does not work with Gtk3-WebKit2-0.013: Typelib file for namespace 'WebKit2', version '4.0' not found | ||||||||||
| 1700 | [like_fedora, | ||||||||||
| 1701 | [linuxdistro => 'centos', | ||||||||||
| 1702 | linuxdistroversion => qr{^[67]\.}, | ||||||||||
| 1703 | package => []], # N/A for centos6+7 | ||||||||||
| 1704 | [package => 'webkit2gtk3-devel']], | ||||||||||
| 1705 | ], | ||||||||||
| 1706 | |||||||||||
| 1707 | [cpanmod => 'GTop', | ||||||||||
| 1708 | [os_freebsd, | ||||||||||
| 1709 | [package => 'libgtop']], | ||||||||||
| 1710 | [like_debian, | ||||||||||
| 1711 | [package => 'libgtop2-dev']], | ||||||||||
| 1712 | [os_darwin, | ||||||||||
| 1713 | [package => 'libgtop']], | ||||||||||
| 1714 | ], | ||||||||||
| 1715 | |||||||||||
| 1716 | [cpanmod => 'Heimdal::Kadm5', | ||||||||||
| 1717 | [os_freebsd, | ||||||||||
| 1718 | [package => 'heimdal']], | ||||||||||
| 1719 | [like_debian, | ||||||||||
| 1720 | # conflicts with libkrb5-dev | ||||||||||
| 1721 | [package => 'heimdal-dev']], | ||||||||||
| 1722 | [like_fedora, | ||||||||||
| 1723 | # but does not build | ||||||||||
| 1724 | [package => 'heimdal-devel']], | ||||||||||
| 1725 | ], | ||||||||||
| 1726 | |||||||||||
| 1727 | [cpanmod => 'Hiredis::Raw', | ||||||||||
| 1728 | [os_freebsd, | ||||||||||
| 1729 | [package => 'hiredis']], | ||||||||||
| 1730 | [like_debian, | ||||||||||
| 1731 | [package => 'libhiredis-dev']]], | ||||||||||
| 1732 | |||||||||||
| 1733 | [cpanmod => 'Hobocamp', | ||||||||||
| 1734 | # XXX what about freebsd | ||||||||||
| 1735 | [like_debian, | ||||||||||
| 1736 | [package => ['dialog', 'libncursesw5-dev']]]], | ||||||||||
| 1737 | |||||||||||
| 1738 | [cpanmod => 'HTML::CTPP2', | ||||||||||
| 1739 | [os_freebsd, | ||||||||||
| 1740 | [package => 'ctpp2']], | ||||||||||
| 1741 | [like_debian, | ||||||||||
| 1742 | [linuxdistrocodename => ['squeeze', 'wheezy'], | ||||||||||
| 1743 | [package => []], # not available before jessie | ||||||||||
| 1744 | ], | ||||||||||
| 1745 | [package => 'libctpp2-dev']], | ||||||||||
| 1746 | # ctpp2 not available for homebrew | ||||||||||
| 1747 | ], | ||||||||||
| 1748 | |||||||||||
| 1749 | [cpanmod => 'HTML::HTMLDoc', | ||||||||||
| 1750 | [os_freebsd, | ||||||||||
| 1751 | [package => 'htmldoc']], | ||||||||||
| 1752 | [like_debian, | ||||||||||
| 1753 | [before_ubuntu_trusty, | ||||||||||
| 1754 | [package => []]], # not available in wheezy | ||||||||||
| 1755 | [package => 'htmldoc']], | ||||||||||
| 1756 | [like_fedora, | ||||||||||
| 1757 | [linuxdistro => 'centos', linuxdistroversion => {'>=', 8}, # not available for CentOS8 | ||||||||||
| 1758 | [package => []]], | ||||||||||
| 1759 | [linuxdistro => 'rocky', # not available for rockylinux | ||||||||||
| 1760 | [package => []]], | ||||||||||
| 1761 | [linuxdistro => 'fedora', # not available for (newer) fedora | ||||||||||
| 1762 | [package => []]], | ||||||||||
| 1763 | [package => 'htmldoc']], | ||||||||||
| 1764 | ], | ||||||||||
| 1765 | |||||||||||
| 1766 | [cpanmod => 'HTML::Parser', | ||||||||||
| 1767 | [os_freebsd, | ||||||||||
| 1768 | [package => []]], | ||||||||||
| 1769 | [like_debian, | ||||||||||
| 1770 | [package => 'libc6-dev']], | ||||||||||
| 1771 | [like_fedora, | ||||||||||
| 1772 | [package => 'glibc-headers']], | ||||||||||
| 1773 | [os_darwin, | ||||||||||
| 1774 | [package => []]], | ||||||||||
| 1775 | ], | ||||||||||
| 1776 | |||||||||||
| 1777 | [cpanmod => 'HTTP::Webdav', | ||||||||||
| 1778 | [os_freebsd, | ||||||||||
| 1779 | [package => 'neon | neon29']], # untested | ||||||||||
| 1780 | [like_debian, | ||||||||||
| 1781 | [package => 'libneon27-dev | libneon27-gnutls-dev']], # compilation fails: ne_cookies.h: No such file or directory | ||||||||||
| 1782 | [like_fedora, | ||||||||||
| 1783 | [package => 'neon-devel']], # compilation fails: ne_cookies.h: No such file or directory | ||||||||||
| 1784 | ], | ||||||||||
| 1785 | |||||||||||
| 1786 | [cpanmod => 'HTML::Tidy5', | ||||||||||
| 1787 | [os_freebsd, | ||||||||||
| 1788 | [package => 'tidy-html5']], | ||||||||||
| 1789 | [like_debian, | ||||||||||
| 1790 | [before_debian_stretch, | ||||||||||
| 1791 | [package => []]], # not available? | ||||||||||
| 1792 | [package => 'libtidy-dev']], | ||||||||||
| 1793 | [like_fedora, | ||||||||||
| 1794 | [package => 'libtidy-devel']], # but compilation fails on centos6, some test failures on centos7, fedora28 currently OK | ||||||||||
| 1795 | [os_darwin, | ||||||||||
| 1796 | [package => 'tidy-html5']], # but does not work (-L and -I needs to be adjusted, Symbol not found: _tidyBufFree) | ||||||||||
| 1797 | ], | ||||||||||
| 1798 | |||||||||||
| 1799 | [cpanmod => 'HTML::Tidy', | ||||||||||
| 1800 | [os_freebsd, | ||||||||||
| 1801 | [package => 'tidyp']], | ||||||||||
| 1802 | [os_darwin, | ||||||||||
| 1803 | [package => 'tidyp']], | ||||||||||
| 1804 | # linux: Alien::Tidyp works fine, no external dependency required | ||||||||||
| 1805 | ], | ||||||||||
| 1806 | |||||||||||
| 1807 | [cpanmod => 'HTTP::Soup::Gnome', | ||||||||||
| 1808 | [os_freebsd, | ||||||||||
| 1809 | [package => 'libsoup-gnome']], | ||||||||||
| 1810 | [like_debian, | ||||||||||
| 1811 | [package => 'libsoup-gnome2.4-dev']]], | ||||||||||
| 1812 | |||||||||||
| 1813 | [cpanmod => 'Image::DecodeQR', | ||||||||||
| 1814 | #[os_freebsd, | ||||||||||
| 1815 | # [package => 'opencv']], # package for decodeqr missing | ||||||||||
| 1816 | [like_debian, | ||||||||||
| 1817 | [before_debian_stretch, | ||||||||||
| 1818 | [package => ['libopencv-dev', 'libdecodeqr-dev']]], | ||||||||||
| 1819 | [package => []], # not available anymore in stretch, bionic or buster, but currently available in sid for at least arm64 | ||||||||||
| 1820 | ], | ||||||||||
| 1821 | #[like_fedora, | ||||||||||
| 1822 | # [package => 'opencv-devel']], # package for decodeqr missing | ||||||||||
| 1823 | ], | ||||||||||
| 1824 | |||||||||||
| 1825 | [cpanmod => ['Image::ObjectDetect', 'Image::Resize::OpenCV'], | ||||||||||
| 1826 | [os_freebsd, | ||||||||||
| 1827 | [package => 'opencv']], | ||||||||||
| 1828 | [like_debian, | ||||||||||
| 1829 | [package => 'libopencv-dev']], | ||||||||||
| 1830 | [like_fedora, | ||||||||||
| 1831 | [package => 'opencv-devel']], | ||||||||||
| 1832 | ], | ||||||||||
| 1833 | |||||||||||
| 1834 | [cpanmod => 'Image::GeoTIFF::Tiled', | ||||||||||
| 1835 | [os_freebsd, | ||||||||||
| 1836 | [package => ['libgeotiff', 'tiff']]], | ||||||||||
| 1837 | [like_debian, | ||||||||||
| 1838 | [package => ['libgeotiff-dev']]], # conflict between libtiff4 and libtiff5 possible | ||||||||||
| 1839 | ], | ||||||||||
| 1840 | |||||||||||
| 1841 | [cpanmod => ['Image::Imlib2', 'Ithumb::XS'], | ||||||||||
| 1842 | [os_freebsd, | ||||||||||
| 1843 | [package => 'imlib2']], | ||||||||||
| 1844 | [like_debian, | ||||||||||
| 1845 | [package => 'libimlib2-dev']], | ||||||||||
| 1846 | [like_fedora, | ||||||||||
| 1847 | [package => 'imlib2-devel']], | ||||||||||
| 1848 | [os_darwin, | ||||||||||
| 1849 | [package => 'imlib2']], | ||||||||||
| 1850 | ], | ||||||||||
| 1851 | |||||||||||
| 1852 | [cpanmod => 'Image::LibExif', | ||||||||||
| 1853 | [os_freebsd, | ||||||||||
| 1854 | [package => 'libexif']], | ||||||||||
| 1855 | [like_debian, | ||||||||||
| 1856 | [package => 'libexif-dev']], | ||||||||||
| 1857 | [os_darwin, | ||||||||||
| 1858 | [package => 'libexif']], | ||||||||||
| 1859 | [like_fedora, | ||||||||||
| 1860 | [package => 'libexif-devel']], | ||||||||||
| 1861 | ], | ||||||||||
| 1862 | |||||||||||
| 1863 | [cpanmod => 'Image::Libpuzzle', | ||||||||||
| 1864 | [os_freebsd, | ||||||||||
| 1865 | [package => 'libpuzzle']], | ||||||||||
| 1866 | [like_debian, | ||||||||||
| 1867 | [package => 'libpuzzle-dev']], | ||||||||||
| 1868 | [like_fedora, | ||||||||||
| 1869 | [linuxdistro => 'centos', | ||||||||||
| 1870 | linuxdistroversion => {'>=', 7}, | ||||||||||
| 1871 | package => []], # for some reason not available for centos7 (but it is for centos6) | ||||||||||
| 1872 | [package => 'libpuzzle-devel']], | ||||||||||
| 1873 | ], | ||||||||||
| 1874 | |||||||||||
| 1875 | [cpanmod => 'Image::LibRaw', | ||||||||||
| 1876 | [os_freebsd, | ||||||||||
| 1877 | [package => 'libraw']], | ||||||||||
| 1878 | [like_debian, | ||||||||||
| 1879 | [before_ubuntu_trusty, # not available in debian/wheezy | ||||||||||
| 1880 | [package => []]], | ||||||||||
| 1881 | [package => 'libraw-dev']], | ||||||||||
| 1882 | [os_darwin, | ||||||||||
| 1883 | [package => 'libraw']], | ||||||||||
| 1884 | ], | ||||||||||
| 1885 | |||||||||||
| 1886 | [cpanmod => ['Image::LibRSVG', 'Gnome2::Rsvg'], | ||||||||||
| 1887 | [os_freebsd, | ||||||||||
| 1888 | [package => 'librsvg2']], | ||||||||||
| 1889 | [like_debian, | ||||||||||
| 1890 | [package => 'librsvg2-dev']], | ||||||||||
| 1891 | [like_fedora, | ||||||||||
| 1892 | [package => 'librsvg2-devel']], | ||||||||||
| 1893 | [os_darwin, | ||||||||||
| 1894 | [package => 'librsvg']], | ||||||||||
| 1895 | ], | ||||||||||
| 1896 | |||||||||||
| 1897 | [cpanmod => 'Image::Magick', # typically needs manual work | ||||||||||
| 1898 | ## XXX needs to be either ImageMagick6 or ImageMagick7 nowadays, but does not install without manual work anyway | ||||||||||
| 1899 | #[os_freebsd, | ||||||||||
| 1900 | # [package => 'ImageMagick']], | ||||||||||
| 1901 | [like_debian, | ||||||||||
| 1902 | [package => 'libmagickcore-dev']]], | ||||||||||
| 1903 | |||||||||||
| 1904 | [cpanmod => 'Image::PNGwriter', | ||||||||||
| 1905 | [os_freebsd, | ||||||||||
| 1906 | [package => 'pngwriter']], | ||||||||||
| 1907 | [like_debian, | ||||||||||
| 1908 | [linuxdistrocodename => 'squeeze', | ||||||||||
| 1909 | [package => 'libpngwriter0-dev']], | ||||||||||
| 1910 | # not available in wheezy and later | ||||||||||
| 1911 | ]], | ||||||||||
| 1912 | |||||||||||
| 1913 | [cpanmod => 'Image::Ocrad', | ||||||||||
| 1914 | [package => 'ocrad']], | ||||||||||
| 1915 | |||||||||||
| 1916 | [cpanmod => 'Image::Resize::OpenCV', | ||||||||||
| 1917 | [os_freebsd, | ||||||||||
| 1918 | [package => 'opencv']], | ||||||||||
| 1919 | [like_debian, | ||||||||||
| 1920 | [package => ['libcv-dev', 'libhighgui-dev']]], | ||||||||||
| 1921 | [like_fedora, | ||||||||||
| 1922 | [package => 'opencv-devel']], | ||||||||||
| 1923 | ], | ||||||||||
| 1924 | |||||||||||
| 1925 | [cpanmod => 'Image::Scale', | ||||||||||
| 1926 | [os_freebsd, | ||||||||||
| 1927 | [osvers => {'<', freebsd_new_jpeg_osvers}, [package => ['png', freebsd_old_jpeg]]], | ||||||||||
| 1928 | [package => ['png', freebsd_new_jpeg]]], | ||||||||||
| 1929 | [like_debian, | ||||||||||
| 1930 | [linuxdistrocodename => [qw(squeeze wheezy jessie precise xenial)], | ||||||||||
| 1931 | [package => [qw(libjpeg-dev libpng12-dev)]]], | ||||||||||
| 1932 | [package => [qw(libjpeg-dev libpng-dev)]], | ||||||||||
| 1933 | ], | ||||||||||
| 1934 | ], | ||||||||||
| 1935 | |||||||||||
| 1936 | [cpanmod => 'Image::SubImageFind', | ||||||||||
| 1937 | # XXX what about freebsd? | ||||||||||
| 1938 | [like_debian, | ||||||||||
| 1939 | [package => ['libmagick++-dev | graphicsmagick-libmagick-dev-compat']]]], | ||||||||||
| 1940 | |||||||||||
| 1941 | [cpanmod => 'Image::XFace', # compiles only for old perls | ||||||||||
| 1942 | [os_freebsd, | ||||||||||
| 1943 | [package => 'faces']], | ||||||||||
| 1944 | [like_debian, | ||||||||||
| 1945 | [package => 'libcompfaceg1-dev']], | ||||||||||
| 1946 | [like_fedora, | ||||||||||
| 1947 | [package => 'compface-devel']], | ||||||||||
| 1948 | ], | ||||||||||
| 1949 | |||||||||||
| 1950 | [cpanmod => 'Imager', | ||||||||||
| 1951 | [os_freebsd, | ||||||||||
| 1952 | [osvers => {'<', freebsd_new_jpeg_osvers}, [package => [qw(freetype2 giflib png tiff), freebsd_old_jpeg]]], # in former days giflib-nox11 had to be specified | ||||||||||
| 1953 | [package => [qw(freetype2 giflib png tiff), freebsd_new_jpeg]]], | ||||||||||
| 1954 | [like_debian, | ||||||||||
| 1955 | [linuxdistrocodename => [qw(wheezy precise)], | ||||||||||
| 1956 | [package => [qw(libfreetype6-dev libgif-dev libpng12-dev libjpeg-dev), 'libtiff5-dev | libtiff4-dev']]], | ||||||||||
| 1957 | [linuxdistrocodename => [qw(jessie xenial)], | ||||||||||
| 1958 | [package => [qw(libfreetype6-dev libgif-dev libpng12-dev libjpeg-dev libtiff5-dev)]]], | ||||||||||
| 1959 | [package => [qw(libfreetype6-dev libgif-dev libpng-dev libjpeg-dev libtiff5-dev)]], | ||||||||||
| 1960 | ], | ||||||||||
| 1961 | [like_fedora, | ||||||||||
| 1962 | [package => [qw(freetype-devel giflib-devel libpng-devel libjpeg-turbo-devel libtiff-devel)]]], | ||||||||||
| 1963 | [os_darwin, | ||||||||||
| 1964 | [package => [qw(freetype giflib libpng jpeg libtiff)]]], | ||||||||||
| 1965 | ], | ||||||||||
| 1966 | |||||||||||
| 1967 | [cpanmod => 'Imager::File::AVIF', | ||||||||||
| 1968 | [os_freebsd, | ||||||||||
| 1969 | [package => 'libavif']], | ||||||||||
| 1970 | [like_debian, | ||||||||||
| 1971 | [before_debian_buster, | ||||||||||
| 1972 | [package => []]], | ||||||||||
| 1973 | [linuxdistrocodename => ['focal'], | ||||||||||
| 1974 | [package => []]], | ||||||||||
| 1975 | [package => 'libavif-dev']], | ||||||||||
| 1976 | [like_fedora, | ||||||||||
| 1977 | [linuxdistro => 'centos', # not available for 7 and 8 | ||||||||||
| 1978 | package => []], | ||||||||||
| 1979 | [package => 'libavif-devel']], | ||||||||||
| 1980 | ], | ||||||||||
| 1981 | |||||||||||
| 1982 | [cpanmod => 'Imager::File::HEIF', | ||||||||||
| 1983 | [os_freebsd, | ||||||||||
| 1984 | [osvers => {'>=', 4, '<', 10}, | ||||||||||
| 1985 | [package => []]], | ||||||||||
| 1986 | [package => 'libheif']], # but does not seem to work with freebsd 10, only with 11 and later | ||||||||||
| 1987 | [like_debian, | ||||||||||
| 1988 | [before_ubuntu_bionic, | ||||||||||
| 1989 | [package => []]], | ||||||||||
| 1990 | [package => 'libheif-dev']], | ||||||||||
| 1991 | [like_fedora, | ||||||||||
| 1992 | [linuxdistro => 'centos', # not available for 7 | ||||||||||
| 1993 | package => []], | ||||||||||
| 1994 | [linuxdistro => 'fedora', linuxdistroversion => {'>=', 37}, # however, configure fails: "doesn't have a HEVC encoder" | ||||||||||
| 1995 | [package => 'libheif-devel']], | ||||||||||
| 1996 | ], | ||||||||||
| 1997 | ], | ||||||||||
| 1998 | |||||||||||
| 1999 | [cpanmod => 'Imager::File::JPEG', | ||||||||||
| 2000 | [os_freebsd, | ||||||||||
| 2001 | [osvers => {'<', freebsd_new_jpeg_osvers}, [package => [freebsd_old_jpeg]]], | ||||||||||
| 2002 | [package => [freebsd_new_jpeg]]], | ||||||||||
| 2003 | [like_debian, | ||||||||||
| 2004 | [package => [qw(libjpeg-dev)]]], | ||||||||||
| 2005 | [like_fedora, | ||||||||||
| 2006 | [package => [qw(libjpeg-turbo-devel)]]], | ||||||||||
| 2007 | [os_darwin, | ||||||||||
| 2008 | [package => [qw(jpeg)]]], | ||||||||||
| 2009 | ], | ||||||||||
| 2010 | |||||||||||
| 2011 | [cpanmod => 'Imager::File::WEBP', | ||||||||||
| 2012 | [os_freebsd, | ||||||||||
| 2013 | [package => 'webp']], # but tests fail with "undefined symbol: WebPFree" on older freebsd (9) | ||||||||||
| 2014 | [like_debian, | ||||||||||
| 2015 | [package => 'libwebp-dev']], # but tests fail with "undefined symbol: WebPFree" on jessie+xenial | ||||||||||
| 2016 | [like_fedora, | ||||||||||
| 2017 | [package => 'libwebp-devel']], # but test or compilation failures with centos6+7; fedora28 works | ||||||||||
| 2018 | [os_darwin, | ||||||||||
| 2019 | [package => 'webp']], | ||||||||||
| 2020 | ], | ||||||||||
| 2021 | |||||||||||
| 2022 | [cpanmod => 'Imager::Font::T1', | ||||||||||
| 2023 | [os_freebsd, | ||||||||||
| 2024 | [package => 't1lib']], | ||||||||||
| 2025 | [linuxdistro => 'linuxmint', | ||||||||||
| 2026 | [package => 'libt1-dev']], # still available in Mint 17 | ||||||||||
| 2027 | [like_debian, | ||||||||||
| 2028 | linuxdistrocodename => [qw(squeeze wheezy)], | ||||||||||
| 2029 | [package => 'libt1-dev']], | ||||||||||
| 2030 | # not available anymore since jessie, also not in xenial | ||||||||||
| 2031 | [like_fedora, | ||||||||||
| 2032 | [package => 't1lib-devel']], | ||||||||||
| 2033 | [os_darwin, | ||||||||||
| 2034 | #[package => 't1lib']], # but tests fail | ||||||||||
| 2035 | [package => []]], # ... and even worse: if t1lib is installed, then the Imager 1.008 test suite fails (https://rt.cpan.org/Ticket/Display.html?id=128145). So don't install it at all. | ||||||||||
| 2036 | ], | ||||||||||
| 2037 | |||||||||||
| 2038 | [cpanmod => 'Imager::zxing', | ||||||||||
| 2039 | [os_freebsd, | ||||||||||
| 2040 | [package => 'zxing-cpp']], | ||||||||||
| 2041 | [like_debian, | ||||||||||
| 2042 | [package => 'libzxingcore-dev']], | ||||||||||
| 2043 | [like_fedora, | ||||||||||
| 2044 | [package => 'zxing-cpp-devel']], | ||||||||||
| 2045 | ], | ||||||||||
| 2046 | |||||||||||
| 2047 | # modules just needing java and nothing else: | ||||||||||
| 2048 | [cpanmod => ['Inline::Java', 'Bio::AssemblyImprovement', 'DBD::JDBC'], | ||||||||||
| 2049 | [os_freebsd, | ||||||||||
| 2050 | [package => 'openjdk8']], | ||||||||||
| 2051 | [like_debian, | ||||||||||
| 2052 | [linuxdistrocodename => 'squeeze', | ||||||||||
| 2053 | [package => 'openjdk-6-jdk']], | ||||||||||
| 2054 | [linuxdistrocodename => [qw(wheezy jessie precise)], | ||||||||||
| 2055 | [package => 'openjdk-7-jdk']], | ||||||||||
| 2056 | [linuxdistrocodename => [qw(stretch xenial)], | ||||||||||
| 2057 | [package => 'openjdk-8-jdk']], | ||||||||||
| 2058 | [linuxdistrocodename => [qw(buster bionic)], | ||||||||||
| 2059 | [package => 'openjdk-11-jdk']], | ||||||||||
| 2060 | ], | ||||||||||
| 2061 | [like_fedora, | ||||||||||
| 2062 | [linuxdistro => 'centos', linuxdistroversion => {'<', 7}, | ||||||||||
| 2063 | [package => 'java-1.8.0-openjdk-devel | java-1.7.0-openjdk-devel | java-1.6.0-openjdk-devel']], | ||||||||||
| 2064 | [package => 'java-11-openjdk-devel | java-9-openjdk-devel | java-1.8.0-openjdk-devel | java-1.7.0-openjdk-devel | java-1.6.0-openjdk-devel']], | ||||||||||
| 2065 | ], | ||||||||||
| 2066 | |||||||||||
| 2067 | [cpanmod => 'Inline::Lua', | ||||||||||
| 2068 | [os_freebsd, | ||||||||||
| 2069 | [package => 'lua53 | lua']], | ||||||||||
| 2070 | [like_debian, | ||||||||||
| 2071 | [package => 'liblua5.1-0-dev']], | ||||||||||
| 2072 | [like_fedora, | ||||||||||
| 2073 | [package => 'lua-devel']], | ||||||||||
| 2074 | [os_darwin, | ||||||||||
| 2075 | [package => 'lua']], | ||||||||||
| 2076 | ], | ||||||||||
| 2077 | |||||||||||
| 2078 | [cpanmod => 'Inline::Perl6', | ||||||||||
| 2079 | [like_debian, | ||||||||||
| 2080 | # XXX tests fail on Ubuntu16.04; <dynload.h> missing on stretch | ||||||||||
| 2081 | [linuxdistrocodename => [qw(stretch xenial)], | ||||||||||
| 2082 | [package => [qw(moarvm-dev libuv1-dev libatomic-ops-dev libtommath-dev rakudo)]]]], | ||||||||||
| 2083 | [like_fedora, | ||||||||||
| 2084 | # XXX Does not work, moar.h missing | ||||||||||
| 2085 | [linuxdistro => 'centos', | ||||||||||
| 2086 | linuxdistroversion => {'<', 7}, # not available | ||||||||||
| 2087 | package => []], | ||||||||||
| 2088 | [package => 'moarvm-devel']], | ||||||||||
| 2089 | ], | ||||||||||
| 2090 | |||||||||||
| 2091 | [cpanmod => 'Inline::Python', | ||||||||||
| 2092 | [os_freebsd, | ||||||||||
| 2093 | [package => 'python']], | ||||||||||
| 2094 | [like_debian, | ||||||||||
| 2095 | [package => 'python2.7-dev']], | ||||||||||
| 2096 | [like_fedora, | ||||||||||
| 2097 | [package => 'python-devel']], | ||||||||||
| 2098 | # macosx already comes with python, it seems | ||||||||||
| 2099 | ], | ||||||||||
| 2100 | |||||||||||
| 2101 | [cpanmod => 'Inline::Ruby', | ||||||||||
| 2102 | [os_freebsd, | ||||||||||
| 2103 | [package => 'ruby']], | ||||||||||
| 2104 | [like_debian, | ||||||||||
| 2105 | [linuxdistrocodename => ['squeeze', 'wheezy'], | ||||||||||
| 2106 | [package => 'ruby1.8-dev']], | ||||||||||
| 2107 | [linuxdistrocodename => 'jessie', | ||||||||||
| 2108 | [package => 'ruby2.1-dev']], | ||||||||||
| 2109 | [linuxdistrocodename => [qw(xenial stretch)], | ||||||||||
| 2110 | [package => 'ruby2.3-dev']], | ||||||||||
| 2111 | [linuxdistrocodename => [qw(bionic buster)], | ||||||||||
| 2112 | [package => 'ruby2.5-dev']], | ||||||||||
| 2113 | ], | ||||||||||
| 2114 | [like_fedora, | ||||||||||
| 2115 | [package => 'ruby-devel']], | ||||||||||
| 2116 | ], | ||||||||||
| 2117 | |||||||||||
| 2118 | [cpanmod => 'Inline::SLang', | ||||||||||
| 2119 | [os_freebsd, | ||||||||||
| 2120 | [package => 'libslang2']], # build error | ||||||||||
| 2121 | [like_debian, | ||||||||||
| 2122 | [package => 'libslang2-dev']], # module cannot detect lib location | ||||||||||
| 2123 | [like_fedora, | ||||||||||
| 2124 | [package => 'slang-devel']], # module cannot detect lib location | ||||||||||
| 2125 | ], | ||||||||||
| 2126 | |||||||||||
| 2127 | [cpanmod => 'IO::Uring', | ||||||||||
| 2128 | [like_debian, | ||||||||||
| 2129 | [before_debian_bullseye, | ||||||||||
| 2130 | [package => []]], | ||||||||||
| 2131 | [package => 'liburing-dev']], | ||||||||||
| 2132 | [like_fedora, | ||||||||||
| 2133 | [linuxdistro => 'rocky', linuxdistroversion => qr{^8\.}, | ||||||||||
| 2134 | [package => []]], | ||||||||||
| 2135 | [package => 'liburing-devel']], | ||||||||||
| 2136 | ], | ||||||||||
| 2137 | |||||||||||
| 2138 | [cpanmod => 'IPC::MMA', | ||||||||||
| 2139 | [os_freebsd, | ||||||||||
| 2140 | [package => 'mm']], | ||||||||||
| 2141 | [like_debian, | ||||||||||
| 2142 | [package => 'libmm-dev']], | ||||||||||
| 2143 | [like_fedora, | ||||||||||
| 2144 | [linuxdistro => 'centos', # not available for 6 and 7 | ||||||||||
| 2145 | package => []], | ||||||||||
| 2146 | [package => 'mm-devel']], | ||||||||||
| 2147 | ], | ||||||||||
| 2148 | |||||||||||
| 2149 | [cpanmod => 'IPC::XPA', | ||||||||||
| 2150 | # no package for FreeBSD or CentOS7 | ||||||||||
| 2151 | [like_debian, | ||||||||||
| 2152 | [package => 'libxpa-dev']], | ||||||||||
| 2153 | ], | ||||||||||
| 2154 | |||||||||||
| 2155 | [cpanmod => 'IPTables::libiptc', | ||||||||||
| 2156 | # Does not work with modern Linux distributions: | ||||||||||
| 2157 | # https://rt.cpan.org/Ticket/Display.html?id=111267 | ||||||||||
| 2158 | [like_debian, | ||||||||||
| 2159 | [package => 'iptables-dev']], | ||||||||||
| 2160 | [like_fedora, | ||||||||||
| 2161 | [package => 'iptables-devel']], | ||||||||||
| 2162 | ], | ||||||||||
| 2163 | |||||||||||
| 2164 | [cpanmod => ['JavaScript::Lite', 'JavaScript::SpiderMonkey'], | ||||||||||
| 2165 | [os_freebsd, | ||||||||||
| 2166 | [package => 'spidermonkey24 | spidermonkey185 | spidermonkey170 | spidermonkey17',]], # needs something like INC=-I/usr/local/include/js-17.0, but does not work (tried 170 and 185); spidermonkey52 exists also, but does not work | ||||||||||
| 2167 | [like_debian, | ||||||||||
| 2168 | [before_ubuntu_bionic, | ||||||||||
| 2169 | [package => 'libmozjs185-dev']], # needs something like INC=-I/usr/include/js, but does not work | ||||||||||
| 2170 | [package => []]], # newer debians have libmozjs-52-dev, but neither ::Lite nor ::SpiderMonkey work with it | ||||||||||
| 2171 | [like_fedora, | ||||||||||
| 2172 | [package => 'js-devel']], | ||||||||||
| 2173 | ], | ||||||||||
| 2174 | |||||||||||
| 2175 | [cpanmod => 'JavaScript::V8', | ||||||||||
| 2176 | [os_freebsd, | ||||||||||
| 2177 | [package => 'v8']], | ||||||||||
| 2178 | [like_debian, | ||||||||||
| 2179 | [before_debian_buster, | ||||||||||
| 2180 | [package => [qw(libv8-3.14.5 libv8-3.14-dev)]]], # but still does not work, libplatform/libplatform.h missing | ||||||||||
| 2181 | [package => 'libnode-dev']], # # libv8* not anymore in buster, see https://tracker.debian.org/news/876959/libv8-314-removed-from-testing/; https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=934734 (but perl module does not pick v8.h from the installed location) | ||||||||||
| 2182 | [like_fedora, | ||||||||||
| 2183 | [package => 'v8-devel']], # but problems with Devel-CheckLib (centos7) and compilation errors (fedora), both with JavaScript-V8-0.10 | ||||||||||
| 2184 | [os_darwin, | ||||||||||
| 2185 | [package => 'v8']], # but compilation errors (v8-5.0.71.33 <-> JavaScript-V8-0.07) | ||||||||||
| 2186 | ], | ||||||||||
| 2187 | |||||||||||
| 2188 | [cpanmod => 'Jq', | ||||||||||
| 2189 | [os_freebsd, | ||||||||||
| 2190 | [package => 'jq']], | ||||||||||
| 2191 | [like_debian, | ||||||||||
| 2192 | [package => 'jq']], | ||||||||||
| 2193 | [like_fedora, | ||||||||||
| 2194 | [package => 'jq']], | ||||||||||
| 2195 | [os_darwin, | ||||||||||
| 2196 | [package => 'jq']], | ||||||||||
| 2197 | ], | ||||||||||
| 2198 | |||||||||||
| 2199 | # XXX check whether Kafka::Librd needs an external librdkafka | ||||||||||
| 2200 | # at all, or if works with just the Alien package | ||||||||||
| 2201 | [cpanmod => ['Kafka::Librd', 'Net::Kafka'], | ||||||||||
| 2202 | [os_freebsd, | ||||||||||
| 2203 | [package => 'librdkafka']], | ||||||||||
| 2204 | [like_debian, | ||||||||||
| 2205 | [package => 'librdkafka-dev']], | ||||||||||
| 2206 | [like_fedora, | ||||||||||
| 2207 | [linuxdistro => 'centos', linuxdistroversion => {'<', 7}, | ||||||||||
| 2208 | package => []], # N/A for centos6 | ||||||||||
| 2209 | [package => 'librdkafka-devel']], | ||||||||||
| 2210 | [os_darwin, | ||||||||||
| 2211 | [package => 'librdkafka']], | ||||||||||
| 2212 | ], | ||||||||||
| 2213 | |||||||||||
| 2214 | [cpanmod => 'Kernel::Keyring', | ||||||||||
| 2215 | # linux-only | ||||||||||
| 2216 | [like_debian, | ||||||||||
| 2217 | [package => 'libkeyutils-dev']], | ||||||||||
| 2218 | [like_fedora, | ||||||||||
| 2219 | [package => 'keyutils-libs-devel']], | ||||||||||
| 2220 | ], | ||||||||||
| 2221 | |||||||||||
| 2222 | [cpanmod => 'Lab::VISA', | ||||||||||
| 2223 | # no package for freebsd | ||||||||||
| 2224 | [like_debian, | ||||||||||
| 2225 | [linuxdistrocodename => [qw(jessie xenial bionic)], | ||||||||||
| 2226 | [package => 'libvisa-dev']], | ||||||||||
| 2227 | [package => []], # not available anymore in stretch | ||||||||||
| 2228 | ], | ||||||||||
| 2229 | ], | ||||||||||
| 2230 | |||||||||||
| 2231 | [cpanmod => 'Language::MzScheme', | ||||||||||
| 2232 | [os_freebsd, | ||||||||||
| 2233 | [package => 'racket']], # would need something like -I/usr/local/include/racket, but compilation still fails | ||||||||||
| 2234 | [like_debian, | ||||||||||
| 2235 | [package => ['racket', 'racket-common']]], # would need something like -I/usr/include/racket, but compilation still fails | ||||||||||
| 2236 | ], | ||||||||||
| 2237 | |||||||||||
| 2238 | # XXX needs verification; maybe more latex-related modules should be listed here? | ||||||||||
| 2239 | [cpanmod => ['LaTeX::Driver', 'Template::Plugin::Latex'], | ||||||||||
| 2240 | [os_freebsd, | ||||||||||
| 2241 | [package => ['texlive-base', 'tex-formats']]], | ||||||||||
| 2242 | [like_debian, | ||||||||||
| 2243 | [package => ['texlive-latex-base', 'texlive-latex-extra']]]], | ||||||||||
| 2244 | |||||||||||
| 2245 | [cpanmod => 'Lib::IXP', | ||||||||||
| 2246 | [package => 'libixp']], | ||||||||||
| 2247 | |||||||||||
| 2248 | [cpanmod => 'LibJIT', | ||||||||||
| 2249 | [os_freebsd, | ||||||||||
| 2250 | [osvers => {'<', 10}, | ||||||||||
| 2251 | [package => 'libjit']], | ||||||||||
| 2252 | [package => []]], # does not exist in freebsd 10 and later | ||||||||||
| 2253 | # XXX what aout debian? | ||||||||||
| 2254 | ], | ||||||||||
| 2255 | |||||||||||
| 2256 | [cpanmod => 'Libssh::Session', | ||||||||||
| 2257 | [os_freebsd, | ||||||||||
| 2258 | # compiles only with freebsd 10, but not with freebsd 9 | ||||||||||
| 2259 | [package => 'libssh']], | ||||||||||
| 2260 | [like_debian, | ||||||||||
| 2261 | # but does not work | ||||||||||
| 2262 | [package => 'libssh-dev']]], | ||||||||||
| 2263 | |||||||||||
| 2264 | [cpanmod => 'libsoldout', | ||||||||||
| 2265 | [os_freebsd, | ||||||||||
| 2266 | [package => 'libsoldout']], | ||||||||||
| 2267 | [like_debian, | ||||||||||
| 2268 | [linuxdistrocodename => [qw(squeeze wheezy jessie precise trusty)], | ||||||||||
| 2269 | [package => []], # not available before stretch/xenial | ||||||||||
| 2270 | ], | ||||||||||
| 2271 | [package => 'libsoldout1-dev']], # passes with jessie, fails with xenial | ||||||||||
| 2272 | ], | ||||||||||
| 2273 | |||||||||||
| 2274 | [cpanmod => 'Lingua::Identify::CLD2', | ||||||||||
| 2275 | [os_freebsd, | ||||||||||
| 2276 | [package => 'cld2']], | ||||||||||
| 2277 | [like_debian, | ||||||||||
| 2278 | [before_ubuntu_xenial, | ||||||||||
| 2279 | [package => []]], | ||||||||||
| 2280 | [package => 'libcld2-dev']], | ||||||||||
| 2281 | [like_fedora, | ||||||||||
| 2282 | [linuxdistro => 'centos', | ||||||||||
| 2283 | package => []], | ||||||||||
| 2284 | [package => 'cld2-devel']], | ||||||||||
| 2285 | ], | ||||||||||
| 2286 | |||||||||||
| 2287 | [cpanmod => 'Lingua::NATools', | ||||||||||
| 2288 | # XXX what about freebsd? | ||||||||||
| 2289 | [like_debian, | ||||||||||
| 2290 | [package => 'sqlite3']]], | ||||||||||
| 2291 | |||||||||||
| 2292 | [cpanmod => 'Linux::ACL', | ||||||||||
| 2293 | [like_debian, | ||||||||||
| 2294 | [package => 'libacl1-dev']], | ||||||||||
| 2295 | [like_fedora, | ||||||||||
| 2296 | [package => 'libacl-devel']], | ||||||||||
| 2297 | ], | ||||||||||
| 2298 | |||||||||||
| 2299 | [cpanmod => 'Linux::Inotify2', | ||||||||||
| 2300 | ## This inotify package is not able to run | ||||||||||
| 2301 | ## Linux::Inotify2, and if installed it | ||||||||||
| 2302 | ## casues problems with Alien-wxWidgets | ||||||||||
| 2303 | #[os_freebsd, | ||||||||||
| 2304 | # [package => 'libinotify']], | ||||||||||
| 2305 | [like_debian, | ||||||||||
| 2306 | [package => 'libc6-dev']]], | ||||||||||
| 2307 | |||||||||||
| 2308 | [cpanmod => 'Linux::Netfilter::Log', | ||||||||||
| 2309 | [like_debian, | ||||||||||
| 2310 | [package => 'libnetfilter-log-dev']], | ||||||||||
| 2311 | [like_fedora, | ||||||||||
| 2312 | [package => 'libnetfilter_log-devel']], | ||||||||||
| 2313 | ], | ||||||||||
| 2314 | |||||||||||
| 2315 | [cpanmod => ['Linux::Prctl', 'Linux::Capabilities'], | ||||||||||
| 2316 | [like_debian, | ||||||||||
| 2317 | [package => 'libcap-dev']], | ||||||||||
| 2318 | [like_fedora, | ||||||||||
| 2319 | [package => 'libcap-devel']], | ||||||||||
| 2320 | ], | ||||||||||
| 2321 | |||||||||||
| 2322 | [cpanmod => 'Linux::Sysfs', | ||||||||||
| 2323 | [like_debian, | ||||||||||
| 2324 | [package => 'libsysfs-dev']], | ||||||||||
| 2325 | [like_fedora, | ||||||||||
| 2326 | [package => 'libsysfs-devel']] | ||||||||||
| 2327 | ], | ||||||||||
| 2328 | |||||||||||
| 2329 | [cpanmod => ['Linux::Systemd::Journal', 'Log::Journald'], | ||||||||||
| 2330 | [like_debian, | ||||||||||
| 2331 | [linuxdistrocodename => ['squeeze', 'wheezy', 'jessie'], | ||||||||||
| 2332 | [package => 'libsystemd-journal-dev']], | ||||||||||
| 2333 | # sid, stretch and xenial | ||||||||||
| 2334 | [package => 'libsystemd-dev']], | ||||||||||
| 2335 | [like_fedora, | ||||||||||
| 2336 | [linuxdistro => 'centos', | ||||||||||
| 2337 | linuxdistroversion => qr{^7\.}, | ||||||||||
| 2338 | package => 'systemd-devel']], | ||||||||||
| 2339 | ], | ||||||||||
| 2340 | |||||||||||
| 2341 | [cpanmod => 'LMDB_File', | ||||||||||
| 2342 | [os_freebsd, | ||||||||||
| 2343 | [package => 'lmdb']], | ||||||||||
| 2344 | [like_debian, | ||||||||||
| 2345 | [linuxdistrocodename => ['squeeze', 'wheezy'], | ||||||||||
| 2346 | [package => []], # not available before jessie | ||||||||||
| 2347 | ], | ||||||||||
| 2348 | [package => 'liblmdb-dev']], | ||||||||||
| 2349 | [like_fedora, | ||||||||||
| 2350 | [package => 'lmdb-devel']], | ||||||||||
| 2351 | [os_darwin, | ||||||||||
| 2352 | [package => 'lmdb']], | ||||||||||
| 2353 | ], | ||||||||||
| 2354 | |||||||||||
| 2355 | [cpanmod => 'Locale::gettext', # gettext distribution | ||||||||||
| 2356 | [os_freebsd, | ||||||||||
| 2357 | [package => 'gettext']], | ||||||||||
| 2358 | # XXX what about debian? | ||||||||||
| 2359 | [os_darwin, | ||||||||||
| 2360 | [package => 'gettext']], | ||||||||||
| 2361 | ], | ||||||||||
| 2362 | |||||||||||
| 2363 | [cpanmod => 'Lucene', | ||||||||||
| 2364 | [os_freebsd, | ||||||||||
| 2365 | [package => 'clucene']], | ||||||||||
| 2366 | [like_debian, | ||||||||||
| 2367 | [package => 'libclucene-dev']]], | ||||||||||
| 2368 | |||||||||||
| 2369 | [cpanmod => 'Mail::DMARC::opendmarc', | ||||||||||
| 2370 | [os_freebsd, | ||||||||||
| 2371 | [package => 'opendmarc']], | ||||||||||
| 2372 | [like_debian, | ||||||||||
| 2373 | [linuxdistrocodename => ['squeeze', 'wheezy'], | ||||||||||
| 2374 | [package => []]], | ||||||||||
| 2375 | [package => 'libopendmarc-dev']], | ||||||||||
| 2376 | [like_fedora, | ||||||||||
| 2377 | [package => 'libopendmarc-devel']], | ||||||||||
| 2378 | ], | ||||||||||
| 2379 | |||||||||||
| 2380 | [cpanmod => 'Mail::OpenDKIM', | ||||||||||
| 2381 | [os_freebsd, | ||||||||||
| 2382 | [package => 'opendkim']], | ||||||||||
| 2383 | [like_debian, | ||||||||||
| 2384 | [package => 'libopendkim-dev']], | ||||||||||
| 2385 | [like_fedora, | ||||||||||
| 2386 | [package => 'libopendkim-devel']], | ||||||||||
| 2387 | [os_darwin, | ||||||||||
| 2388 | [package => 'libopendkim']], | ||||||||||
| 2389 | ], | ||||||||||
| 2390 | |||||||||||
| 2391 | [cpanmod => ['Math::FFTW', 'PDL::FFTW3'], | ||||||||||
| 2392 | [os_freebsd, | ||||||||||
| 2393 | [package => 'fftw3']], | ||||||||||
| 2394 | [like_debian, | ||||||||||
| 2395 | [package => 'libfftw3-dev']], | ||||||||||
| 2396 | [like_fedora, | ||||||||||
| 2397 | [package => 'fftw-devel']], | ||||||||||
| 2398 | ], | ||||||||||
| 2399 | |||||||||||
| 2400 | [cpanmod => 'Math::GammaFunction', | ||||||||||
| 2401 | [os_freebsd, | ||||||||||
| 2402 | # NOTE there's an entry in .cpan/prefs/01.DISABLED.yml | ||||||||||
| 2403 | [package => 'libRmath']], | ||||||||||
| 2404 | [like_debian, | ||||||||||
| 2405 | # not for small disks, installs about ~85MB | ||||||||||
| 2406 | [package => 'r-mathlib']], | ||||||||||
| 2407 | [like_fedora, | ||||||||||
| 2408 | [package => 'libRmath-devel']], | ||||||||||
| 2409 | ], | ||||||||||
| 2410 | |||||||||||
| 2411 | [cpanmod => 'Math::GAP', | ||||||||||
| 2412 | [package => 'gap'], # needs 1-1.2GB of disk space | ||||||||||
| 2413 | ], | ||||||||||
| 2414 | |||||||||||
| 2415 | [cpanmod => ['Math::GSL', 'PerlGSL::DiffEq'], | ||||||||||
| 2416 | [os_freebsd, | ||||||||||
| 2417 | [package => 'gsl']], | ||||||||||
| 2418 | [like_debian, | ||||||||||
| 2419 | [package => 'libgsl0-dev']], | ||||||||||
| 2420 | [like_fedora, | ||||||||||
| 2421 | [package => 'gsl-devel']], | ||||||||||
| 2422 | [os_darwin, | ||||||||||
| 2423 | [package => 'gsl']], | ||||||||||
| 2424 | ], | ||||||||||
| 2425 | |||||||||||
| 2426 | [cpanmod => 'Math::MPC', | ||||||||||
| 2427 | [os_freebsd, | ||||||||||
| 2428 | [package => 'mpc']], | ||||||||||
| 2429 | [like_debian, | ||||||||||
| 2430 | [package => 'libmpc-dev']], | ||||||||||
| 2431 | [like_fedora, | ||||||||||
| 2432 | [package => 'libmpc-devel']], | ||||||||||
| 2433 | [os_darwin, | ||||||||||
| 2434 | [package => 'libmpc']], | ||||||||||
| 2435 | ], | ||||||||||
| 2436 | |||||||||||
| 2437 | [cpanmod => 'Math::MPFI', | ||||||||||
| 2438 | # XXX what about freebsd? | ||||||||||
| 2439 | [like_debian, | ||||||||||
| 2440 | [package => 'libmpfi-dev']], | ||||||||||
| 2441 | [like_fedora, | ||||||||||
| 2442 | [linuxdistro => 'rocky', # not available for rockylinux | ||||||||||
| 2443 | [package => []]], | ||||||||||
| 2444 | [package => 'mpfi-devel']], | ||||||||||
| 2445 | ], | ||||||||||
| 2446 | |||||||||||
| 2447 | [cpanmod => 'Math::RngStream', | ||||||||||
| 2448 | [os_freebsd, | ||||||||||
| 2449 | [package => 'rngstreams']], | ||||||||||
| 2450 | # XXX what about debian? | ||||||||||
| 2451 | ], | ||||||||||
| 2452 | |||||||||||
| 2453 | [cpanmod => 'Math::ThinPlateSpline', | ||||||||||
| 2454 | [os_freebsd, | ||||||||||
| 2455 | [package => 'boost-libs']], # untested | ||||||||||
| 2456 | [like_debian, | ||||||||||
| 2457 | [linuxdistrocodename => 'jessie', | ||||||||||
| 2458 | [package => 'libboost1.55-dev']], | ||||||||||
| 2459 | [linuxdistrocodename => 'xenial', | ||||||||||
| 2460 | [package => 'libboost1.58-dev']], | ||||||||||
| 2461 | [linuxdistrocodename => 'stretch', | ||||||||||
| 2462 | [package => 'libboost1.62-dev']], | ||||||||||
| 2463 | ], | ||||||||||
| 2464 | ], | ||||||||||
| 2465 | |||||||||||
| 2466 | [cpanmod => 'MaxMind::DB::Reader::XS', | ||||||||||
| 2467 | [os_freebsd, | ||||||||||
| 2468 | [package => 'libmaxminddb']], | ||||||||||
| 2469 | [like_debian, | ||||||||||
| 2470 | [linuxdistrocodename => [qw(squeeze wheezy jessie precise)], | ||||||||||
| 2471 | package => []], # N/A | ||||||||||
| 2472 | [package => 'libmaxminddb-dev']], # xenian (but too old), stretch (works) | ||||||||||
| 2473 | [like_fedora, | ||||||||||
| 2474 | [package => 'libmaxminddb-devel']], # works | ||||||||||
| 2475 | ], | ||||||||||
| 2476 | |||||||||||
| 2477 | [cpanmod => 'Media::MediaInfoLib', | ||||||||||
| 2478 | [os_freebsd, | ||||||||||
| 2479 | [package => 'libmediainfo']], | ||||||||||
| 2480 | [like_debian, | ||||||||||
| 2481 | [before_ubuntu_trusty, | ||||||||||
| 2482 | [package => []]], | ||||||||||
| 2483 | [package => 'libmediainfo-dev']], | ||||||||||
| 2484 | [like_fedora, | ||||||||||
| 2485 | [package => 'libmediainfo-devel']], | ||||||||||
| 2486 | ], | ||||||||||
| 2487 | |||||||||||
| 2488 | [cpanmod => 'Mhash', | ||||||||||
| 2489 | [os_freebsd, | ||||||||||
| 2490 | [package => 'mhash']], | ||||||||||
| 2491 | [like_debian, | ||||||||||
| 2492 | [package => 'libmhash-dev']], | ||||||||||
| 2493 | ], | ||||||||||
| 2494 | |||||||||||
| 2495 | [cpanmod => 'MIDI::ALSA', | ||||||||||
| 2496 | [os_freebsd, | ||||||||||
| 2497 | [package => ['alsa-lib', 'alsa-utils']]], | ||||||||||
| 2498 | [like_debian, | ||||||||||
| 2499 | [package => ['libasound2-dev', 'alsa-utils']]], | ||||||||||
| 2500 | ], | ||||||||||
| 2501 | |||||||||||
| 2502 | [cpanmod => 'MP3::ID3Lib', | ||||||||||
| 2503 | [os_freebsd, | ||||||||||
| 2504 | [package => 'id3lib']], | ||||||||||
| 2505 | [like_debian, | ||||||||||
| 2506 | [package => 'libid3-3.8.3-dev']], | ||||||||||
| 2507 | [like_fedora, | ||||||||||
| 2508 | [package => 'id3lib-devel']], | ||||||||||
| 2509 | ], | ||||||||||
| 2510 | |||||||||||
| 2511 | [cpanmod => 'MP4::LibMP4v2', | ||||||||||
| 2512 | [os_freebsd, | ||||||||||
| 2513 | [package => 'mp4v2']], | ||||||||||
| 2514 | [like_debian, | ||||||||||
| 2515 | [before_debian_buster, | ||||||||||
| 2516 | [package => 'libmp4v2-dev']], | ||||||||||
| 2517 | [package => []]], # not available for buster | ||||||||||
| 2518 | [like_fedora, | ||||||||||
| 2519 | [package => 'libmp4v2-devel']], | ||||||||||
| 2520 | ], | ||||||||||
| 2521 | |||||||||||
| 2522 | [cpanmod => 'modperl2', | ||||||||||
| 2523 | # XXX what about freebsd? | ||||||||||
| 2524 | [like_debian, | ||||||||||
| 2525 | [linuxdistrocodename => ['squeeze', 'wheezy'], | ||||||||||
| 2526 | [package => 'apache2-prefork-dev']], | ||||||||||
| 2527 | [package => 'apache2-dev']]], | ||||||||||
| 2528 | |||||||||||
| 2529 | [cpanmod => 'MPV::Simple', | ||||||||||
| 2530 | [os_freebsd, | ||||||||||
| 2531 | [package => 'mpv']], | ||||||||||
| 2532 | [like_debian, | ||||||||||
| 2533 | [before_ubuntu_trusty, | ||||||||||
| 2534 | [package => []]], | ||||||||||
| 2535 | [package => 'libmpv-dev']], | ||||||||||
| 2536 | ], | ||||||||||
| 2537 | |||||||||||
| 2538 | [cpanmod => 'MusicBrainz::DiscID', | ||||||||||
| 2539 | [os_freebsd, | ||||||||||
| 2540 | [package => 'libdiscid']], | ||||||||||
| 2541 | [like_debian, | ||||||||||
| 2542 | [package => 'libdiscid-dev']], | ||||||||||
| 2543 | [like_fedora, | ||||||||||
| 2544 | [package => 'libdiscid-devel']], | ||||||||||
| 2545 | ], | ||||||||||
| 2546 | |||||||||||
| 2547 | [cpanmod => 'NanoMsg::Raw', | ||||||||||
| 2548 | [os_freebsd, | ||||||||||
| 2549 | [package => 'nanomsg']], | ||||||||||
| 2550 | [like_debian, | ||||||||||
| 2551 | [linuxdistrocodename => ['squeeze', 'wheezy'], | ||||||||||
| 2552 | [package => []], # not available before jessie | ||||||||||
| 2553 | ], | ||||||||||
| 2554 | [package => 'libnanomsg-dev']]], | ||||||||||
| 2555 | |||||||||||
| 2556 | [cpanmod => 'Neo4j::Bolt', | ||||||||||
| 2557 | [like_debian, | ||||||||||
| 2558 | [before_debian_stretch, | ||||||||||
| 2559 | [package => []], | ||||||||||
| 2560 | ], | ||||||||||
| 2561 | [package => 'libneo4j-client-dev']], | ||||||||||
| 2562 | ], | ||||||||||
| 2563 | |||||||||||
| 2564 | [cpanmod => 'Net::AMQP::RabbitMQ', | ||||||||||
| 2565 | # freebsd has all libssl in the base system | ||||||||||
| 2566 | [like_debian, | ||||||||||
| 2567 | [package => ['libssl-dev']]], | ||||||||||
| 2568 | [like_fedora, | ||||||||||
| 2569 | [package => ['openssl-devel']]], | ||||||||||
| 2570 | [os_windows, | ||||||||||
| 2571 | [package => 'openssl.light']], # XXX create openssl.dev | ||||||||||
| 2572 | ], | ||||||||||
| 2573 | |||||||||||
| 2574 | [cpanmod => 'Net::Bluetooth', | ||||||||||
| 2575 | [like_debian, | ||||||||||
| 2576 | [package => 'libbluetooth-dev']], | ||||||||||
| 2577 | [like_fedora, | ||||||||||
| 2578 | [package => 'bluez-libs-devel']], | ||||||||||
| 2579 | ], | ||||||||||
| 2580 | |||||||||||
| 2581 | [cpanmod => 'Net::CDP', | ||||||||||
| 2582 | [os_freebsd, | ||||||||||
| 2583 | [package => 'libnet']], # but build failure with Net-CDP-0.09 | ||||||||||
| 2584 | [like_debian, | ||||||||||
| 2585 | [package => 'libnet1-dev']], | ||||||||||
| 2586 | [os_darwin, | ||||||||||
| 2587 | [package => 'libnet']], # but build failure with Net-CDP-0.09 | ||||||||||
| 2588 | ], | ||||||||||
| 2589 | |||||||||||
| 2590 | [cpanmod => 'Net::CUPS', | ||||||||||
| 2591 | [os_freebsd, | ||||||||||
| 2592 | [package => 'cups-filters']], | ||||||||||
| 2593 | [like_debian, | ||||||||||
| 2594 | [package => ['libcups2-dev', 'libcupsfilters-dev', 'libcupsimage2-dev']]] | ||||||||||
| 2595 | ], | ||||||||||
| 2596 | |||||||||||
| 2597 | [cpanmod => 'Net::DBus', | ||||||||||
| 2598 | [os_freebsd, | ||||||||||
| 2599 | [package => ['dbus', 'pkgconf']]], | ||||||||||
| 2600 | [like_debian, | ||||||||||
| 2601 | [package => ['libdbus-1-dev', 'pkg-config | pkgconf']]], | ||||||||||
| 2602 | [like_fedora, | ||||||||||
| 2603 | [package => ['dbus-devel', 'pkgconfig']]], | ||||||||||
| 2604 | [os_darwin, | ||||||||||
| 2605 | [package => 'dbus']], | ||||||||||
| 2606 | ], | ||||||||||
| 2607 | |||||||||||
| 2608 | [cpanmod => 'Net::DBus::GLib', | ||||||||||
| 2609 | [os_freebsd, | ||||||||||
| 2610 | [package => 'dbus-glib']], | ||||||||||
| 2611 | [like_debian, | ||||||||||
| 2612 | [package => 'libdbus-glib-1-dev']], | ||||||||||
| 2613 | [like_fedora, | ||||||||||
| 2614 | [package => 'dbus-glib-devel']], | ||||||||||
| 2615 | ], | ||||||||||
| 2616 | |||||||||||
| 2617 | [cpanmod => 'Net::ESMTP', | ||||||||||
| 2618 | [os_freebsd, | ||||||||||
| 2619 | [package => 'libesmtp']], | ||||||||||
| 2620 | [like_debian, | ||||||||||
| 2621 | [package => 'libesmtp-dev']], | ||||||||||
| 2622 | [like_fedora, | ||||||||||
| 2623 | [package => 'libesmtp-devel']], | ||||||||||
| 2624 | ], | ||||||||||
| 2625 | |||||||||||
| 2626 | [cpanmod => 'Net::Gadu', | ||||||||||
| 2627 | [os_freebsd, | ||||||||||
| 2628 | [package => 'pl-libgadu']], | ||||||||||
| 2629 | [like_debian, | ||||||||||
| 2630 | [package => 'libgadu-dev']], | ||||||||||
| 2631 | [linuxdistro => 'fedora', # not available for centos6+7, only for fedora28 | ||||||||||
| 2632 | [package => 'libgadu-devel']], | ||||||||||
| 2633 | [os_darwin, | ||||||||||
| 2634 | [package => 'libgadu']], | ||||||||||
| 2635 | ], | ||||||||||
| 2636 | |||||||||||
| 2637 | [cpanmod => 'Net::Ifstat', | ||||||||||
| 2638 | [os_freebsd, | ||||||||||
| 2639 | [package => 'ifstat']], | ||||||||||
| 2640 | [like_debian, | ||||||||||
| 2641 | [package => 'ifstat']], | ||||||||||
| 2642 | [like_fedora, | ||||||||||
| 2643 | [package => 'iproute']], | ||||||||||
| 2644 | [os_darwin, | ||||||||||
| 2645 | [package => 'ifstat']], | ||||||||||
| 2646 | ], | ||||||||||
| 2647 | |||||||||||
| 2648 | [cpanmod => 'Net::Jabber::Loudmouth', | ||||||||||
| 2649 | [os_freebsd, | ||||||||||
| 2650 | [package => 'loudmouth']], | ||||||||||
| 2651 | [like_debian, | ||||||||||
| 2652 | [package => 'libloudmouth1-dev']], | ||||||||||
| 2653 | [like_fedora, | ||||||||||
| 2654 | [package => 'loudmouth-devel']], | ||||||||||
| 2655 | ], | ||||||||||
| 2656 | |||||||||||
| 2657 | [cpanmod => 'Net::LDAPxs', | ||||||||||
| 2658 | [os_freebsd, | ||||||||||
| 2659 | [package => 'ldapsdk']], # but package seems to be broken and unmaintained | ||||||||||
| 2660 | [like_debian, | ||||||||||
| 2661 | [package => 'libldap2-dev']], | ||||||||||
| 2662 | [like_fedora, | ||||||||||
| 2663 | [package => 'openldap-devel']], | ||||||||||
| 2664 | ], | ||||||||||
| 2665 | |||||||||||
| 2666 | [cpanmod => 'Net::Libdnet', | ||||||||||
| 2667 | [os_freebsd, | ||||||||||
| 2668 | [package => 'libdnet']], | ||||||||||
| 2669 | [like_debian, | ||||||||||
| 2670 | # but does not work without applying the patch manually - see https://rt.cpan.org/Ticket/Display.html?id=106021 | ||||||||||
| 2671 | [package => 'libdumbnet-dev']], | ||||||||||
| 2672 | [like_fedora, | ||||||||||
| 2673 | [package => 'libdnet-devel']], | ||||||||||
| 2674 | [os_darwin, | ||||||||||
| 2675 | [package => 'libdnet']], | ||||||||||
| 2676 | ], | ||||||||||
| 2677 | |||||||||||
| 2678 | [cpanmod => 'Net::LibIDN', | ||||||||||
| 2679 | [os_freebsd, | ||||||||||
| 2680 | [package => 'libidn']], | ||||||||||
| 2681 | [like_debian, | ||||||||||
| 2682 | [package => 'libidn11-dev']], | ||||||||||
| 2683 | [like_fedora, | ||||||||||
| 2684 | [package => 'libidn-devel']], | ||||||||||
| 2685 | [os_darwin, | ||||||||||
| 2686 | [package => 'libidn']], | ||||||||||
| 2687 | ], | ||||||||||
| 2688 | |||||||||||
| 2689 | [cpanmod => 'Net::LibIDN2', | ||||||||||
| 2690 | [os_freebsd, | ||||||||||
| 2691 | [package => 'libidn2']], | ||||||||||
| 2692 | [like_debian, | ||||||||||
| 2693 | [before_ubuntu_bionic, | ||||||||||
| 2694 | [package => []]], # libidn2-0-dev exists, but is too old | ||||||||||
| 2695 | [package => 'libidn2-dev']], | ||||||||||
| 2696 | [like_fedora, | ||||||||||
| 2697 | [package => 'libidn2-devel']], | ||||||||||
| 2698 | # currently no libidn2 in homebrew | ||||||||||
| 2699 | ], | ||||||||||
| 2700 | |||||||||||
| 2701 | [cpanmod => 'Net::LibLO', | ||||||||||
| 2702 | [os_freebsd, | ||||||||||
| 2703 | [package => 'liblo']], | ||||||||||
| 2704 | [like_debian, | ||||||||||
| 2705 | [package => 'liblo-dev']], | ||||||||||
| 2706 | [like_fedora, | ||||||||||
| 2707 | [linuxdistro => 'centos', linuxdistroversion => qr{^7\.}, | ||||||||||
| 2708 | [package => []]], # N/A for centos7 | ||||||||||
| 2709 | [package => 'liblo-devel']], | ||||||||||
| 2710 | ], | ||||||||||
| 2711 | |||||||||||
| 2712 | ## even libwebsockets-dev in Ubuntu 22.04 and debian 11 is too old for the module (4.0.20 < 4.3.0) | ||||||||||
| 2713 | #[cpanmod => 'Net::Libwebsockets', | ||||||||||
| 2714 | # [like_debian, | ||||||||||
| 2715 | # [package => 'libwebsockets-dev']], | ||||||||||
| 2716 | #], | ||||||||||
| 2717 | |||||||||||
| 2718 | [cpanmod => 'Net::NATS::Streaming::PB', | ||||||||||
| 2719 | [os_freebsd, | ||||||||||
| 2720 | [package => 'protobuf']], | ||||||||||
| 2721 | [like_debian, | ||||||||||
| 2722 | [package => 'protobuf-compiler']], | ||||||||||
| 2723 | [like_fedora, | ||||||||||
| 2724 | [package => [qw(protobuf-compiler protobuf-devel)]]], | ||||||||||
| 2725 | ], | ||||||||||
| 2726 | |||||||||||
| 2727 | [cpanmod => 'Net::NfDump', | ||||||||||
| 2728 | [like_debian, | ||||||||||
| 2729 | [package => ['flex', 'byacc']]], | ||||||||||
| 2730 | # XXX what about freebsd? | ||||||||||
| 2731 | ], | ||||||||||
| 2732 | |||||||||||
| 2733 | [cpanmod => 'Net::LibAsyncNS', | ||||||||||
| 2734 | # it seems there's no libasyncns for freebsd | ||||||||||
| 2735 | [like_debian, | ||||||||||
| 2736 | [package => 'libasyncns-dev']], | ||||||||||
| 2737 | [like_fedora, | ||||||||||
| 2738 | [package => 'libasyncns-devel']], | ||||||||||
| 2739 | ], | ||||||||||
| 2740 | |||||||||||
| 2741 | [cpanmod => 'Net::LibNFS', | ||||||||||
| 2742 | [os_freebsd, | ||||||||||
| 2743 | [package => 'libnfs']], | ||||||||||
| 2744 | [like_debian, | ||||||||||
| 2745 | [package => 'libnfs-dev']], | ||||||||||
| 2746 | [like_fedora, | ||||||||||
| 2747 | [package => 'libnfs-devel']], | ||||||||||
| 2748 | ], | ||||||||||
| 2749 | |||||||||||
| 2750 | [cpanmod => 'Net::LibNIDS', | ||||||||||
| 2751 | [os_freebsd, | ||||||||||
| 2752 | # but does not work (no libnids.so in freebsd port, just .a) | ||||||||||
| 2753 | [package => ['libnids', 'libnet', 'libpcap']]], | ||||||||||
| 2754 | [like_debian, | ||||||||||
| 2755 | [package => ['libnids-dev', 'libnet1-dev', 'libpcap0.8-dev']]], | ||||||||||
| 2756 | [like_fedora, | ||||||||||
| 2757 | [package => ['libnids-devel', 'libnet-devel', 'libpcap-devel']]], | ||||||||||
| 2758 | ], | ||||||||||
| 2759 | |||||||||||
| 2760 | [cpanmod => 'Net::Pcap', | ||||||||||
| 2761 | [like_debian, | ||||||||||
| 2762 | [package => 'libpcap0.8-dev']], | ||||||||||
| 2763 | [like_fedora, | ||||||||||
| 2764 | [package => 'libpcap-devel']], | ||||||||||
| 2765 | ], | ||||||||||
| 2766 | |||||||||||
| 2767 | [cpanmod => 'Net::oRTP', | ||||||||||
| 2768 | [os_freebsd, | ||||||||||
| 2769 | [package => 'ortp']], | ||||||||||
| 2770 | [like_debian, | ||||||||||
| 2771 | [package => 'libortp-dev']]], | ||||||||||
| 2772 | |||||||||||
| 2773 | [cpanmod => 'Net::RabbitMQ::Client', | ||||||||||
| 2774 | [os_freebsd, | ||||||||||
| 2775 | [package => 'rabbitmq-c-devel']], | ||||||||||
| 2776 | [like_debian, | ||||||||||
| 2777 | [package => 'librabbitmq-dev']], # amqp_tcp_socket.h is provided by this package, but compilation still fails | ||||||||||
| 2778 | [like_fedora, | ||||||||||
| 2779 | [package => 'librabbitmq-devel']], | ||||||||||
| 2780 | ], | ||||||||||
| 2781 | |||||||||||
| 2782 | ## conflicts with avahi-app on FreeBSD | ||||||||||
| 2783 | ## With avahi-app installed, -I/usr/local/include/avahi-compat-howl needs to be specified | ||||||||||
| 2784 | ## but then the test suite fails | ||||||||||
| 2785 | #[cpanmod => "Net::Rendezvous::Publish::Backend::Howl", | ||||||||||
| 2786 | # [os_freebsd, | ||||||||||
| 2787 | # [package => 'howl']], | ||||||||||
| 2788 | #], | ||||||||||
| 2789 | |||||||||||
| 2790 | [cpanmod => 'Net::SIGTRAN::SCTP', | ||||||||||
| 2791 | # no sctp on freebsd or centos | ||||||||||
| 2792 | [like_debian, | ||||||||||
| 2793 | [package => 'libsctp-dev']]], | ||||||||||
| 2794 | |||||||||||
| 2795 | [cpanmod => 'Net::Silk', | ||||||||||
| 2796 | [os_freebsd, | ||||||||||
| 2797 | [package => 'silktools']], | ||||||||||
| 2798 | # does not seem to exist in debian wheezy..buster, Ubuntu 16.04 or 18.04, or CentOS6 | ||||||||||
| 2799 | ], | ||||||||||
| 2800 | |||||||||||
| 2801 | [cpanmod => 'Net::SSH2', | ||||||||||
| 2802 | [os_freebsd, | ||||||||||
| 2803 | [package => 'libssh2']], | ||||||||||
| 2804 | [like_debian, | ||||||||||
| 2805 | [linuxdistrocodename => [qw(precise)], | ||||||||||
| 2806 | [package => [qw(libssh2-1-dev libgcrypt-dev)]]], | ||||||||||
| 2807 | [package => 'libssh2-1-dev']], | ||||||||||
| 2808 | [like_fedora, | ||||||||||
| 2809 | [package => 'libssh2-devel']], | ||||||||||
| 2810 | # Net-SSH2-0.58 already installs the homebrew package for libssh2 itself | ||||||||||
| 2811 | ], | ||||||||||
| 2812 | |||||||||||
| 2813 | [cpanmod => 'Net::SSLeay', | ||||||||||
| 2814 | # freebsd has all libssl in the base system | ||||||||||
| 2815 | [like_debian, | ||||||||||
| 2816 | [package => ['libssl-dev', 'zlib1g-dev']]], | ||||||||||
| 2817 | [like_fedora, | ||||||||||
| 2818 | [package => ['openssl-devel', 'openssl', 'zlib-devel']]], # needs also the openssl binary besides the library/include files | ||||||||||
| 2819 | [os_windows, | ||||||||||
| 2820 | [package => 'openssl.light']], # XXX create openssl.dev | ||||||||||
| 2821 | ], | ||||||||||
| 2822 | |||||||||||
| 2823 | [cpanmod => 'Net::WDNS', | ||||||||||
| 2824 | [os_freebsd, | ||||||||||
| 2825 | [package => 'wdns']], | ||||||||||
| 2826 | # not available for debian/wheezy and jessie | ||||||||||
| 2827 | ], | ||||||||||
| 2828 | |||||||||||
| 2829 | [cpanmod => ['Net::Z3950::ZOOM', 'Net::Z3950::Simple2ZOOM', 'ZOOM::IRSpy'], | ||||||||||
| 2830 | [os_freebsd, | ||||||||||
| 2831 | [package => 'yaz']], | ||||||||||
| 2832 | [like_debian, | ||||||||||
| 2833 | [package => 'libyaz-dev']], | ||||||||||
| 2834 | [like_fedora, | ||||||||||
| 2835 | [linuxdistro => 'centos', linuxdistroversion => qr{^7\.}, # available only for CentOS6, not for 7 | ||||||||||
| 2836 | [package => []]], | ||||||||||
| 2837 | [linuxdistro => 'rocky', # not available in Rocky 8, probably neither in other versions | ||||||||||
| 2838 | [package => []]], | ||||||||||
| 2839 | [package => 'libyaz-devel']], | ||||||||||
| 2840 | [os_darwin, | ||||||||||
| 2841 | [package => 'yaz']], | ||||||||||
| 2842 | ], | ||||||||||
| 2843 | |||||||||||
| 2844 | [cpanmod => ['Net::ZooKeeper', 'ZooKeeper'], | ||||||||||
| 2845 | [os_freebsd, | ||||||||||
| 2846 | [package => 'libzookeeper']], | ||||||||||
| 2847 | [like_debian, | ||||||||||
| 2848 | [linuxdistrocodename => 'squeeze', | ||||||||||
| 2849 | [package => []]], # not available | ||||||||||
| 2850 | [package => ['libzookeeper-mt-dev', 'zookeeperd']]], | ||||||||||
| 2851 | [os_darwin, | ||||||||||
| 2852 | [package => 'zookeeper']], | ||||||||||
| 2853 | ], | ||||||||||
| 2854 | |||||||||||
| 2855 | [cpanmod => 'NewRelic::Agent', | ||||||||||
| 2856 | # freebsd does not work, bundled .so files are linux-only | ||||||||||
| 2857 | [like_debian, | ||||||||||
| 2858 | [before_debian_buster, | ||||||||||
| 2859 | [package => ['g++', 'libcurl3']]], | ||||||||||
| 2860 | [package => ['g++', 'libcurl4']]], | ||||||||||
| 2861 | ], | ||||||||||
| 2862 | |||||||||||
| 2863 | [cpanmod => 'Ogg::LibOgg', | ||||||||||
| 2864 | [os_freebsd, | ||||||||||
| 2865 | [package => 'libogg']], | ||||||||||
| 2866 | [like_debian, | ||||||||||
| 2867 | [package => 'libogg-dev']], | ||||||||||
| 2868 | [like_fedora, | ||||||||||
| 2869 | [package => 'libogg-devel']], | ||||||||||
| 2870 | ], | ||||||||||
| 2871 | |||||||||||
| 2872 | [cpanmod => ['Ogg::Vorbis', 'Ogg::Vorbis::Decoder'], | ||||||||||
| 2873 | [os_freebsd, | ||||||||||
| 2874 | [package => 'libvorbis']], | ||||||||||
| 2875 | [like_debian, | ||||||||||
| 2876 | [package => 'libvorbis-dev']], | ||||||||||
| 2877 | [like_fedora, | ||||||||||
| 2878 | [package => 'libvorbis-devel']], | ||||||||||
| 2879 | ], | ||||||||||
| 2880 | |||||||||||
| 2881 | [cpanmod => 'Ogg::Vorbis::Header', | ||||||||||
| 2882 | [os_freebsd, | ||||||||||
| 2883 | [package => 'libogg']], | ||||||||||
| 2884 | [like_debian, | ||||||||||
| 2885 | [package => ['libogg-dev', 'libvorbis-dev']]], | ||||||||||
| 2886 | [like_fedora, | ||||||||||
| 2887 | [package => ['libogg-devel', 'libvorbis-devel']]], | ||||||||||
| 2888 | ], | ||||||||||
| 2889 | |||||||||||
| 2890 | [cpanmod => 'Ogre', | ||||||||||
| 2891 | [os_freebsd, | ||||||||||
| 2892 | [package => 'ogre3d']], # untested | ||||||||||
| 2893 | [like_debian, | ||||||||||
| 2894 | [package => 'libogre-1.9-dev']], # compilation failures | ||||||||||
| 2895 | ], | ||||||||||
| 2896 | |||||||||||
| 2897 | [cpanmod => 'OIS', | ||||||||||
| 2898 | ## ois in freebsd ports is 1.2.0, but 1.3.0 is required | ||||||||||
| 2899 | #[os_freebsd, | ||||||||||
| 2900 | # [package => 'ois']], | ||||||||||
| 2901 | [like_debian, | ||||||||||
| 2902 | [package => 'libois-dev']]], | ||||||||||
| 2903 | |||||||||||
| 2904 | [cpanmod => 'OpenGL', | ||||||||||
| 2905 | [os_freebsd, | ||||||||||
| 2906 | [package => 'freeglut']], | ||||||||||
| 2907 | [os_dragonfly, | ||||||||||
| 2908 | [package => 'freeglut']], | ||||||||||
| 2909 | [like_debian, | ||||||||||
| 2910 | [package => ['freeglut3-dev', 'libxmu-dev', 'libxi-dev']]], | ||||||||||
| 2911 | [like_fedora, | ||||||||||
| 2912 | [package => ['freeglut-devel', 'libXmu-devel']]], | ||||||||||
| 2913 | ], | ||||||||||
| 2914 | |||||||||||
| 2915 | [cpanmod => 'OpenGL::FTGL', | ||||||||||
| 2916 | [like_debian, | ||||||||||
| 2917 | # but does not work, lookup into wrong freetype directory | ||||||||||
| 2918 | [package => ['libftgl-dev', 'libfreetype6-dev']]]], | ||||||||||
| 2919 | |||||||||||
| 2920 | [cpanmod => 'OpenGL::GLFW', | ||||||||||
| 2921 | [os_freebsd, | ||||||||||
| 2922 | [package => 'glfw']], | ||||||||||
| 2923 | [like_debian, | ||||||||||
| 2924 | [package => 'libglfw3-dev']], | ||||||||||
| 2925 | [like_fedora, | ||||||||||
| 2926 | [linuxdistro => 'centos', | ||||||||||
| 2927 | linuxdistroversion => qr{^7\.}, | ||||||||||
| 2928 | package => 'glfw-devel']], | ||||||||||
| 2929 | [os_darwin, | ||||||||||
| 2930 | [package => 'glfw']], | ||||||||||
| 2931 | ], | ||||||||||
| 2932 | |||||||||||
| 2933 | [cpanmod => 'OpenGL::Modern', | ||||||||||
| 2934 | [like_fedora, | ||||||||||
| 2935 | [package => 'mesa-libGLU-devel']], | ||||||||||
| 2936 | ], | ||||||||||
| 2937 | |||||||||||
| 2938 | [cpanmod => 'PAM', | ||||||||||
| 2939 | [like_debian, | ||||||||||
| 2940 | [package => 'libpam0g-dev']], | ||||||||||
| 2941 | [like_fedora, | ||||||||||
| 2942 | [package => 'pam-devel']], | ||||||||||
| 2943 | ], | ||||||||||
| 2944 | |||||||||||
| 2945 | [cpanmod => 'Pango', | ||||||||||
| 2946 | [os_freebsd, | ||||||||||
| 2947 | [package => 'pango']], | ||||||||||
| 2948 | [os_dragonfly, | ||||||||||
| 2949 | [package => 'pango']], | ||||||||||
| 2950 | [os_openbsd, | ||||||||||
| 2951 | [package => 'pango']], | ||||||||||
| 2952 | [like_debian, | ||||||||||
| 2953 | [package => 'libpango1.0-dev']], | ||||||||||
| 2954 | [like_fedora, | ||||||||||
| 2955 | [package => 'pango-devel']], | ||||||||||
| 2956 | [os_darwin, | ||||||||||
| 2957 | [package => 'pango']], | ||||||||||
| 2958 | ], | ||||||||||
| 2959 | |||||||||||
| 2960 | [cpanmod => 'Parallel::Pvm', | ||||||||||
| 2961 | [os_freebsd, | ||||||||||
| 2962 | [package => 'pvm']], | ||||||||||
| 2963 | [like_debian, | ||||||||||
| 2964 | [package => 'pvm-dev']]], | ||||||||||
| 2965 | |||||||||||
| 2966 | [cpanmod => 'Passwd::Keyring::Gnome', | ||||||||||
| 2967 | [os_freebsd, | ||||||||||
| 2968 | [package => ['libgnome-keyring', 'pkgconf']]], | ||||||||||
| 2969 | [like_debian, | ||||||||||
| 2970 | [before_debian_buster, | ||||||||||
| 2971 | [package => 'libgnome-keyring-dev']], | ||||||||||
| 2972 | [package => []]], # not available for buster and later | ||||||||||
| 2973 | [like_fedora, | ||||||||||
| 2974 | [linuxdistro => 'centos', linuxdistroversion => {'<', 7}, | ||||||||||
| 2975 | [package => 'gnome-keyring-devel']], | ||||||||||
| 2976 | [package => 'libgnome-keyring-devel']], | ||||||||||
| 2977 | ], | ||||||||||
| 2978 | |||||||||||
| 2979 | [cpanmod => 'PDL::IO::Matlab', | ||||||||||
| 2980 | [os_freebsd, | ||||||||||
| 2981 | [package => 'matio']], | ||||||||||
| 2982 | [like_debian, | ||||||||||
| 2983 | [before_ubuntu_trusty, | ||||||||||
| 2984 | [package => []]], | ||||||||||
| 2985 | [package => 'libmatio-dev']], | ||||||||||
| 2986 | [like_fedora, | ||||||||||
| 2987 | [linuxdistro => 'centos', linuxdistroversion => {'<', 7}, | ||||||||||
| 2988 | [package => []]], | ||||||||||
| 2989 | [package => 'matio-devel']], | ||||||||||
| 2990 | ], | ||||||||||
| 2991 | |||||||||||
| 2992 | [cpanmod => 'PDL::NetCDF', | ||||||||||
| 2993 | [os_freebsd, | ||||||||||
| 2994 | [package => 'netcdf']], | ||||||||||
| 2995 | [like_debian, | ||||||||||
| 2996 | [package => 'libnetcdf-dev']]], | ||||||||||
| 2997 | |||||||||||
| 2998 | [cpanmod => 'PDL::Opt::GLPK', | ||||||||||
| 2999 | [os_freebsd, | ||||||||||
| 3000 | [package => 'glpk']], | ||||||||||
| 3001 | [like_debian, | ||||||||||
| 3002 | [package => 'libglpk-dev']], | ||||||||||
| 3003 | [like_fedora, | ||||||||||
| 3004 | [package => 'glpk-devel']]], | ||||||||||
| 3005 | |||||||||||
| 3006 | [cpanmod => 'PDL::Opt::QP', | ||||||||||
| 3007 | [os_freebsd, | ||||||||||
| 3008 | [package => 'blas']], | ||||||||||
| 3009 | [like_debian, | ||||||||||
| 3010 | [package => 'libblas-dev']], | ||||||||||
| 3011 | [like_fedora, | ||||||||||
| 3012 | [package => 'blas-static']], | ||||||||||
| 3013 | ], | ||||||||||
| 3014 | |||||||||||
| 3015 | [cpanmod => 'pEFL', | ||||||||||
| 3016 | [like_debian, | ||||||||||
| 3017 | [linuxdistrocodename => [qw(jessie)], | ||||||||||
| 3018 | [package => 'libelementary-dev']], | ||||||||||
| 3019 | [before_debian_buster, | ||||||||||
| 3020 | [package => []]], | ||||||||||
| 3021 | [package => 'libefl-all-dev']], | ||||||||||
| 3022 | [like_fedora, | ||||||||||
| 3023 | [linuxdistro => 'fedora', | ||||||||||
| 3024 | [package => 'efl-devel']]]], | ||||||||||
| 3025 | |||||||||||
| 3026 | [cpanmod => 'PerlQt', | ||||||||||
| 3027 | [like_debian, | ||||||||||
| 3028 | [linuxdistrocodename => 'squeeze', | ||||||||||
| 3029 | [package => 'libqt3-mt-dev']], | ||||||||||
| 3030 | [package => []] # no libqt3 anymore for wheezy | ||||||||||
| 3031 | ]], | ||||||||||
| 3032 | |||||||||||
| 3033 | [cpanmod => 'PGPLOT', | ||||||||||
| 3034 | [os_freebsd, | ||||||||||
| 3035 | [package => 'pgplot']], | ||||||||||
| 3036 | [like_debian, | ||||||||||
| 3037 | [package => 'pgplot5']], | ||||||||||
| 3038 | # fedora-like systems have a pgplot package in the (nonfree) RPM Fusion repository | ||||||||||
| 3039 | ], | ||||||||||
| 3040 | |||||||||||
| 3041 | [cpanmod => 'Pod::Spelling', | ||||||||||
| 3042 | # XXX what about freebsd? | ||||||||||
| 3043 | [like_debian, | ||||||||||
| 3044 | [package => 'ispell']]], | ||||||||||
| 3045 | |||||||||||
| 3046 | [cpanmod => 'Pod::Weaver::Plugin::Ditaa', | ||||||||||
| 3047 | [like_fedora, | ||||||||||
| 3048 | [linuxdistro => 'centos', # no ditaa for centos6 or 7 | ||||||||||
| 3049 | [package => []]], | ||||||||||
| 3050 | # fallthrough for fedora | ||||||||||
| 3051 | ], | ||||||||||
| 3052 | [package => 'ditaa']], | ||||||||||
| 3053 | |||||||||||
| 3054 | [cpanmod => 'POE::Component::NomadJukebox', | ||||||||||
| 3055 | # but compilation errors on FreeBSD, Debian and Ubuntu | ||||||||||
| 3056 | [os_freebsd, | ||||||||||
| 3057 | [package => 'libnjb']], | ||||||||||
| 3058 | [like_debian, | ||||||||||
| 3059 | [package => 'libnjb-dev']], | ||||||||||
| 3060 | ], | ||||||||||
| 3061 | |||||||||||
| 3062 | [cpanmod => 'Poppler', | ||||||||||
| 3063 | [os_freebsd, | ||||||||||
| 3064 | [package => ['poppler', 'poppler-glib']]], | ||||||||||
| 3065 | [like_debian, | ||||||||||
| 3066 | [package => ['libpoppler-dev', 'libpoppler-glib-dev']]], | ||||||||||
| 3067 | [like_fedora, | ||||||||||
| 3068 | [package => 'poppler-glib-devel']], # but available version too low on CentOS6 | ||||||||||
| 3069 | [os_darwin, | ||||||||||
| 3070 | [package => 'poppler']], | ||||||||||
| 3071 | ], | ||||||||||
| 3072 | |||||||||||
| 3073 | [cpanmod => 'Prima', | ||||||||||
| 3074 | # XXX what about freebsd? | ||||||||||
| 3075 | [like_debian, | ||||||||||
| 3076 | [linuxdistrocodename => [qw(squeeze wheezy jessie precise xenial)], | ||||||||||
| 3077 | [package => [qw(libx11-dev libxcursor-dev libxpm-dev libgif-dev libpng12-dev libjpeg-dev), 'pkg-config | pkgconf']]], # XXX maybe also add libtiff... | ||||||||||
| 3078 | [package => [qw(libx11-dev libxcursor-dev libxpm-dev libgif-dev libpng-dev libjpeg-dev), 'pkg-config | pkgconf']], # XXX maybe also add libtiff... | ||||||||||
| 3079 | ], | ||||||||||
| 3080 | [like_fedora, | ||||||||||
| 3081 | [package => [qw(libXcursor-devel)]]], # XXX probably incomplete | ||||||||||
| 3082 | ], | ||||||||||
| 3083 | |||||||||||
| 3084 | [cpanmod => 'Primesieve', | ||||||||||
| 3085 | [os_freebsd, | ||||||||||
| 3086 | [osvers => {'>=', 11}, | ||||||||||
| 3087 | [package => 'primesieve']]], | ||||||||||
| 3088 | [like_debian, | ||||||||||
| 3089 | [before_ubuntu_xenial, | ||||||||||
| 3090 | [package => []]], | ||||||||||
| 3091 | [linuxdistrocodename => [qw(xenial)], | ||||||||||
| 3092 | [package => 'libprimesieve6-dev']], | ||||||||||
| 3093 | [linuxdistrocodename => [qw(stretch)], | ||||||||||
| 3094 | [package => 'libprimesieve7-dev']], | ||||||||||
| 3095 | [package => 'libprimesieve-dev']], | ||||||||||
| 3096 | [like_fedora, | ||||||||||
| 3097 | [linuxdistro => 'centos', | ||||||||||
| 3098 | package => []], # N/A for centos6,7,8 | ||||||||||
| 3099 | [package => 'primesieve-devel']], | ||||||||||
| 3100 | [os_darwin, | ||||||||||
| 3101 | [package => 'primesieve']], | ||||||||||
| 3102 | ], | ||||||||||
| 3103 | |||||||||||
| 3104 | [cpanmod => 'PulseAudio', | ||||||||||
| 3105 | [package => 'pulseaudio']], | ||||||||||
| 3106 | |||||||||||
| 3107 | [cpanmod => 'QDBM_File', | ||||||||||
| 3108 | # XXX debian has libqdbm-dev, but CPAN mod needs patching for -I | ||||||||||
| 3109 | [os_freebsd, | ||||||||||
| 3110 | [package => 'qdbm']]], | ||||||||||
| 3111 | |||||||||||
| 3112 | [cpanmod => 'Qstruct', | ||||||||||
| 3113 | # XXX what about freebsd? | ||||||||||
| 3114 | [like_debian, | ||||||||||
| 3115 | [package => 'ragel']]], | ||||||||||
| 3116 | |||||||||||
| 3117 | [cpanmod => 're::engine::Hyperscan', | ||||||||||
| 3118 | # not available on CentOS7 | ||||||||||
| 3119 | [os_freebsd, | ||||||||||
| 3120 | [package => 'hyperscan']], | ||||||||||
| 3121 | [like_debian, | ||||||||||
| 3122 | [linuxdistrocodename => [qw(squeeze wheezy jessie xenial)], | ||||||||||
| 3123 | [package => []]], # not available before stretch | ||||||||||
| 3124 | [package => 'libhyperscan-dev']], | ||||||||||
| 3125 | [like_fedora, | ||||||||||
| 3126 | [linuxdistro => 'centos', # not available for 6 and 7 | ||||||||||
| 3127 | package => []], | ||||||||||
| 3128 | [package => 'hyperscan-devel']], | ||||||||||
| 3129 | ], | ||||||||||
| 3130 | |||||||||||
| 3131 | [cpanmod => 're::engine::PCRE2', | ||||||||||
| 3132 | [os_freebsd, | ||||||||||
| 3133 | [package => 'pcre2']], | ||||||||||
| 3134 | [like_debian, | ||||||||||
| 3135 | [linuxdistrocodename => [qw(squeeze wheezy jessie)], | ||||||||||
| 3136 | [package => []]], # not available before stretch; available on Ubuntu/xenial | ||||||||||
| 3137 | [package => 'libpcre2-dev']], | ||||||||||
| 3138 | [like_fedora, | ||||||||||
| 3139 | [package => 'pcre2-devel']], | ||||||||||
| 3140 | [os_darwin, | ||||||||||
| 3141 | [package => 'pcre2']], | ||||||||||
| 3142 | ], | ||||||||||
| 3143 | |||||||||||
| 3144 | [cpanmod => 'Remind::Client', # but does not work: "Remind output didn't look right; got: 2017/04/24 it works! today" | ||||||||||
| 3145 | [os_freebsd, | ||||||||||
| 3146 | [package => 'remind']], | ||||||||||
| 3147 | [like_debian, | ||||||||||
| 3148 | [package => 'remind']], | ||||||||||
| 3149 | ], | ||||||||||
| 3150 | |||||||||||
| 3151 | [cpanmod => 'RPC::Xmlrpc_c::Client', | ||||||||||
| 3152 | [os_freebsd, | ||||||||||
| 3153 | [package => 'xmlrpc-c']], | ||||||||||
| 3154 | [like_debian, | ||||||||||
| 3155 | [linuxdistrocodename => ['squeeze', 'wheezy'], | ||||||||||
| 3156 | [package => 'libxmlrpc-c3-dev']], | ||||||||||
| 3157 | [package => 'libxmlrpc-core-c3-dev']], | ||||||||||
| 3158 | [like_fedora, | ||||||||||
| 3159 | [package => 'xmlrpc-c-devel']], | ||||||||||
| 3160 | ], | ||||||||||
| 3161 | |||||||||||
| 3162 | # ## various rpm using tools --- XXX which one exactly? | ||||||||||
| 3163 | # ## XXX disabled because package was not yet built (last check 2014-08-10) | ||||||||||
| 3164 | # ## see http://portsmon.freebsd.org/portoverview.py?category=archivers&portname=rpm5 | ||||||||||
| 3165 | # #package { "rpm5": ensure => installed } | ||||||||||
| 3166 | [cpanmod => 'RPM2', | ||||||||||
| 3167 | [like_debian, | ||||||||||
| 3168 | [package => 'librpm-dev']], # but tests fail | ||||||||||
| 3169 | [like_fedora, | ||||||||||
| 3170 | [package => 'rpm-devel']], | ||||||||||
| 3171 | ], | ||||||||||
| 3172 | |||||||||||
| 3173 | [cpanmod => 'RPM4', | ||||||||||
| 3174 | [os_freebsd, | ||||||||||
| 3175 | [package => 'rpm4']], | ||||||||||
| 3176 | [like_debian, | ||||||||||
| 3177 | [package => 'rpm']], | ||||||||||
| 3178 | [like_fedora, | ||||||||||
| 3179 | [package => 'rpm']], | ||||||||||
| 3180 | [os_darwin, | ||||||||||
| 3181 | [package => 'rpm']], | ||||||||||
| 3182 | ], | ||||||||||
| 3183 | |||||||||||
| 3184 | [cpanmod => 'RRD::Tweak', | ||||||||||
| 3185 | [os_freebsd, | ||||||||||
| 3186 | [package => 'rrdtool']], | ||||||||||
| 3187 | [like_debian, | ||||||||||
| 3188 | [package => 'librrd-dev']], | ||||||||||
| 3189 | [like_fedora, | ||||||||||
| 3190 | [package => 'rrdtool-devel']], | ||||||||||
| 3191 | ], | ||||||||||
| 3192 | |||||||||||
| 3193 | # module's Build.PL would try to install the required package itself, which fails in unattended non-root setups | ||||||||||
| 3194 | # unfortunately this does not help --- the module tries always to run the apt/dnf/... commands, even if the package is already installed | ||||||||||
| 3195 | [cpanmod => 'Runtime::Debugger', | ||||||||||
| 3196 | [like_debian, | ||||||||||
| 3197 | [package => 'libreadline-dev']], | ||||||||||
| 3198 | [like_fedora, | ||||||||||
| 3199 | [package => 'readline-devel']], | ||||||||||
| 3200 | ], | ||||||||||
| 3201 | |||||||||||
| 3202 | [cpanmod => 'Search::Namazu', | ||||||||||
| 3203 | [os_freebsd, | ||||||||||
| 3204 | [package => 'namazu2']], | ||||||||||
| 3205 | [like_debian, | ||||||||||
| 3206 | [package => 'libnmz7-dev']], | ||||||||||
| 3207 | [os_darwin, | ||||||||||
| 3208 | [package => 'namazu']], | ||||||||||
| 3209 | ], | ||||||||||
| 3210 | |||||||||||
| 3211 | [cpanmod => 'Search::Odeum', | ||||||||||
| 3212 | [os_freebsd, | ||||||||||
| 3213 | [package => 'qdbm']], | ||||||||||
| 3214 | [like_debian, | ||||||||||
| 3215 | [package => 'libqdbm-dev']]], | ||||||||||
| 3216 | |||||||||||
| 3217 | [cpanmod => 'Search::Xapian', | ||||||||||
| 3218 | [os_freebsd, | ||||||||||
| 3219 | [package => 'xapian-core']], | ||||||||||
| 3220 | [like_debian, | ||||||||||
| 3221 | [package => 'libxapian-dev']], | ||||||||||
| 3222 | [like_fedora, | ||||||||||
| 3223 | [package => 'xapian-core-devel']], | ||||||||||
| 3224 | [os_darwin, | ||||||||||
| 3225 | [package => 'xapian']], | ||||||||||
| 3226 | ], | ||||||||||
| 3227 | |||||||||||
| 3228 | [cpanmod => 'SGML::Parser::OpenSP', | ||||||||||
| 3229 | # XXX freebsd has textproc/opensp, but the module requires g++, so this will fail on clang++ systems | ||||||||||
| 3230 | [like_debian, | ||||||||||
| 3231 | [package => 'libosp-dev']], | ||||||||||
| 3232 | [like_fedora, | ||||||||||
| 3233 | [package => 'opensp-devel']], | ||||||||||
| 3234 | ], | ||||||||||
| 3235 | |||||||||||
| 3236 | ## version mismatch | ||||||||||
| 3237 | #[cpanmod => 'SNMP', | ||||||||||
| 3238 | # [os_freebsd, | ||||||||||
| 3239 | # [package => 'net-snmp']], | ||||||||||
| 3240 | # [like_debian, | ||||||||||
| 3241 | # [package => 'libsnmp-dev']], | ||||||||||
| 3242 | # [like_fedora, | ||||||||||
| 3243 | # [package => 'net-snmp-devel']], | ||||||||||
| 3244 | #], | ||||||||||
| 3245 | |||||||||||
| 3246 | [cpanmod => 'SNMP::OID::Translate', | ||||||||||
| 3247 | [os_freebsd, | ||||||||||
| 3248 | [package => 'net-snmp']], | ||||||||||
| 3249 | [like_debian, | ||||||||||
| 3250 | [package => ['libsnmp-dev', 'snmp-mibs-downloader']]]], | ||||||||||
| 3251 | |||||||||||
| 3252 | [cpanmod => ['Sort::Naturally::ICU', 'Unicode::ICU::Collator'], | ||||||||||
| 3253 | [os_freebsd, | ||||||||||
| 3254 | [package => 'icu']], # but Sort::Naturally::ICU build fails | ||||||||||
| 3255 | [like_debian, | ||||||||||
| 3256 | [package => 'libicu-dev']], | ||||||||||
| 3257 | [like_fedora, # Sort::Naturally::ICU builds on centos7 and fedora28, missing further packages on centos6 | ||||||||||
| 3258 | [package => 'libicu-devel']], | ||||||||||
| 3259 | ], | ||||||||||
| 3260 | |||||||||||
| 3261 | [cpanmod => 'Speech::Recognizer::SPX', | ||||||||||
| 3262 | [os_freebsd, | ||||||||||
| 3263 | [package => 'pocketsphinx']], | ||||||||||
| 3264 | [like_debian, | ||||||||||
| 3265 | [package => ['libpocketsphinx-dev', 'libsphinxbase-dev']]], | ||||||||||
| 3266 | ], | ||||||||||
| 3267 | |||||||||||
| 3268 | [cpanmod => ['Spread', 'Spread::Client::Constant'], | ||||||||||
| 3269 | [os_freebsd, | ||||||||||
| 3270 | # net/spread also exists, refering to version 3, but tests seem to pass with version 4 | ||||||||||
| 3271 | [package => 'spread4']], | ||||||||||
| 3272 | [like_debian, | ||||||||||
| 3273 | [linuxdistrocodename => 'squeeze', | ||||||||||
| 3274 | [package => 'libspread1-dev']], | ||||||||||
| 3275 | # not available in wheezy and later | ||||||||||
| 3276 | ]], | ||||||||||
| 3277 | |||||||||||
| 3278 | [cpanmod => 'SPVM', | ||||||||||
| 3279 | # BSD make does not work anymore, see https://github.com/yuki-kimoto/SPVM/issues/856 | ||||||||||
| 3280 | [os_freebsd, [package => 'gmake']], | ||||||||||
| 3281 | [os_dragonfly, [package => 'gmake']], | ||||||||||
| 3282 | [os_openbsd, [package => 'gmake']], | ||||||||||
| 3283 | ], | ||||||||||
| 3284 | |||||||||||
| 3285 | [cpanmod => 'Store::CouchDB', | ||||||||||
| 3286 | # tests pass also without, but most tests are skipped | ||||||||||
| 3287 | [os_freebsd, | ||||||||||
| 3288 | [package => 'couchdb']], | ||||||||||
| 3289 | [like_debian, | ||||||||||
| 3290 | [linuxdistrocodename => ['squeeze', 'jessie'], | ||||||||||
| 3291 | [package => []], # not available in jessie, just wheezy and sid | ||||||||||
| 3292 | ], | ||||||||||
| 3293 | [package => 'couchdb']]], | ||||||||||
| 3294 | |||||||||||
| 3295 | [cpanmod => ['SVN::Hooks', 'SVN::Agent', 'SVN::S4'], # XXX maybe more SVN::* modules? | ||||||||||
| 3296 | [package => 'subversion']], | ||||||||||
| 3297 | |||||||||||
| 3298 | [cpanmod => 'Sword', | ||||||||||
| 3299 | [os_freebsd, | ||||||||||
| 3300 | [package => 'sword']], | ||||||||||
| 3301 | [like_debian, | ||||||||||
| 3302 | [package => 'libsword-dev']]], | ||||||||||
| 3303 | |||||||||||
| 3304 | [cpanmod => 'Sys::Gamin', | ||||||||||
| 3305 | [os_freebsd, | ||||||||||
| 3306 | [package => 'gamin'], # note: possible conflict with fam XXX maybe specify an alternative? | ||||||||||
| 3307 | ], | ||||||||||
| 3308 | [like_debian, | ||||||||||
| 3309 | [package => 'libfam-dev']]], | ||||||||||
| 3310 | |||||||||||
| 3311 | [cpanmod => 'Sys::Hwloc', | ||||||||||
| 3312 | [os_freebsd, | ||||||||||
| 3313 | [package => 'hwloc']], | ||||||||||
| 3314 | [like_debian, | ||||||||||
| 3315 | [package => 'libhwloc-dev']], | ||||||||||
| 3316 | [like_fedora, | ||||||||||
| 3317 | [package => 'hwloc-devel']], | ||||||||||
| 3318 | ], | ||||||||||
| 3319 | |||||||||||
| 3320 | [cpanmod => 'Sys::Virt', # but the latest Sys::Virt usually needs the latest libvirt | ||||||||||
| 3321 | [os_freebsd, | ||||||||||
| 3322 | [package => 'libvirt']], | ||||||||||
| 3323 | # XXX what about debian? | ||||||||||
| 3324 | ], | ||||||||||
| 3325 | |||||||||||
| 3326 | [cpanmod => 'Systemd::Daemon', | ||||||||||
| 3327 | [like_debian, | ||||||||||
| 3328 | [package => 'libsystemd-dev']]], | ||||||||||
| 3329 | |||||||||||
| 3330 | [cpanmod => 'Tcl', | ||||||||||
| 3331 | [os_freebsd, | ||||||||||
| 3332 | [package => 'tcl87 | tcl86 | tcl85 | tcl84']], | ||||||||||
| 3333 | [like_debian, | ||||||||||
| 3334 | [package => 'tcl8.6-dev | tcl8.5-dev']], | ||||||||||
| 3335 | [like_fedora, | ||||||||||
| 3336 | [package => 'tcl-devel']], | ||||||||||
| 3337 | ], | ||||||||||
| 3338 | |||||||||||
| 3339 | [cpanmod => 'Tcl::pTk', | ||||||||||
| 3340 | [os_freebsd, | ||||||||||
| 3341 | [package => 'tk86 | tk85 | tk84']], | ||||||||||
| 3342 | [like_debian, | ||||||||||
| 3343 | [package => ['tk8.6-dev | tk8.5-dev', 'tcl']]], | ||||||||||
| 3344 | ], | ||||||||||
| 3345 | |||||||||||
| 3346 | [cpanmod => 'Tcl::Tk', # XXX maybe also Tkx? | ||||||||||
| 3347 | [os_freebsd, | ||||||||||
| 3348 | [package => 'tk86 | tk85 | tk84']], | ||||||||||
| 3349 | [like_debian, | ||||||||||
| 3350 | # tcllib is needed for the snit package | ||||||||||
| 3351 | [package => ['tk8.6-dev | tk8.5-dev', 'tcllib']]], | ||||||||||
| 3352 | [like_fedora, | ||||||||||
| 3353 | [package => ['tk', 'tcllib']]], | ||||||||||
| 3354 | ], | ||||||||||
| 3355 | |||||||||||
| 3356 | [cpanmod => 'TCOD', # currently (with 0.009) does not work | ||||||||||
| 3357 | [like_debian, | ||||||||||
| 3358 | [before_debian_stretch, | ||||||||||
| 3359 | [package => []]], # not available | ||||||||||
| 3360 | [package => 'libtcod-dev']], | ||||||||||
| 3361 | ], | ||||||||||
| 3362 | |||||||||||
| 3363 | [cpanmod => 'Template::Plugin::React', | ||||||||||
| 3364 | [os_freebsd, | ||||||||||
| 3365 | [package => 'swig13']], | ||||||||||
| 3366 | # XXX what about debian? | ||||||||||
| 3367 | ], | ||||||||||
| 3368 | |||||||||||
| 3369 | [cpanmod => 'Term::EditLine', | ||||||||||
| 3370 | [os_freebsd, | ||||||||||
| 3371 | [package => 'libedit']], | ||||||||||
| 3372 | [like_debian, | ||||||||||
| 3373 | [package => 'libedit-dev']]], | ||||||||||
| 3374 | |||||||||||
| 3375 | [cpanmod => ['RL', 'Term::ReadLine::Gnu'], | ||||||||||
| 3376 | [like_debian, | ||||||||||
| 3377 | [before_debian_stretch, | ||||||||||
| 3378 | [package => 'libreadline6-dev']], | ||||||||||
| 3379 | [package => 'libreadline-dev']], | ||||||||||
| 3380 | |||||||||||
| 3381 | [like_fedora, | ||||||||||
| 3382 | [package => 'readline-devel']], | ||||||||||
| 3383 | # XXX what about freebsd? | ||||||||||
| 3384 | # XXX no homebrew package for darwin (checked 2016-05-22) | ||||||||||
| 3385 | ], | ||||||||||
| 3386 | |||||||||||
| 3387 | [cpanmod => 'Term::Terminfo', | ||||||||||
| 3388 | [like_debian, | ||||||||||
| 3389 | [package => 'libncurses5-dev']], | ||||||||||
| 3390 | [like_fedora, | ||||||||||
| 3391 | [package => 'ncurses-devel']], | ||||||||||
| 3392 | ], | ||||||||||
| 3393 | |||||||||||
| 3394 | [cpanmod => 'Term::VTerm', | ||||||||||
| 3395 | [os_freebsd, | ||||||||||
| 3396 | [package => 'libvterm']], | ||||||||||
| 3397 | [like_debian, | ||||||||||
| 3398 | [before_debian_stretch, | ||||||||||
| 3399 | [package => []]], | ||||||||||
| 3400 | [package => 'libvterm-dev']], | ||||||||||
| 3401 | [like_fedora, | ||||||||||
| 3402 | [linuxdistro => 'centos', linuxdistroversion => {'<', 7}, | ||||||||||
| 3403 | package => []], # N/A for centos6 | ||||||||||
| 3404 | [package => 'libvterm-devel']], | ||||||||||
| 3405 | [os_darwin, | ||||||||||
| 3406 | [package => 'libvterm']], | ||||||||||
| 3407 | ], | ||||||||||
| 3408 | |||||||||||
| 3409 | [cpanmod => 'Text::AI::CRM114', | ||||||||||
| 3410 | [os_freebsd, | ||||||||||
| 3411 | [package => 'libcrm114']], | ||||||||||
| 3412 | # No package available for Debian or CentOS7 | ||||||||||
| 3413 | ], | ||||||||||
| 3414 | |||||||||||
| 3415 | [cpanmod => 'Text::Aspell', | ||||||||||
| 3416 | [os_freebsd, | ||||||||||
| 3417 | [# "aspell" alone is not enough, test needs also English dictionary | ||||||||||
| 3418 | package => ['aspell', 'en-aspell']]], | ||||||||||
| 3419 | [like_debian, | ||||||||||
| 3420 | [package => 'libaspell-dev']], | ||||||||||
| 3421 | [like_fedora, | ||||||||||
| 3422 | [# test needs also English dictionary | ||||||||||
| 3423 | package => ['aspell-devel', 'aspell-en']]], | ||||||||||
| 3424 | [os_darwin, | ||||||||||
| 3425 | [package => 'aspell']], | ||||||||||
| 3426 | ], | ||||||||||
| 3427 | |||||||||||
| 3428 | [cpanmod => 'Text::Bidi', | ||||||||||
| 3429 | # otherwise real tests are skipped | ||||||||||
| 3430 | [os_freebsd, | ||||||||||
| 3431 | # anyway, version of fribidi available in 2015-04 is too old, so tests are still skipped | ||||||||||
| 3432 | [package => 'fribidi']], | ||||||||||
| 3433 | [like_debian, | ||||||||||
| 3434 | # on wheezy the library is too old, so tests are anyway skipped | ||||||||||
| 3435 | [package => 'libfribidi-dev']], | ||||||||||
| 3436 | [like_fedora, | ||||||||||
| 3437 | [package => 'fribidi-devel']], | ||||||||||
| 3438 | [os_darwin, | ||||||||||
| 3439 | [package => 'fribidi']], | ||||||||||
| 3440 | ], | ||||||||||
| 3441 | |||||||||||
| 3442 | [cpanmod => 'Text::CSV::LibCSV', | ||||||||||
| 3443 | [os_freebsd, | ||||||||||
| 3444 | [package => 'libcsv']], | ||||||||||
| 3445 | [like_debian, | ||||||||||
| 3446 | [package => 'libcsv-dev']], | ||||||||||
| 3447 | [like_fedora, | ||||||||||
| 3448 | [package => 'libcsv-devel']], | ||||||||||
| 3449 | ], | ||||||||||
| 3450 | |||||||||||
| 3451 | [cpanmod => 'Text::Hspell', | ||||||||||
| 3452 | [os_freebsd, | ||||||||||
| 3453 | [osvers => {'>=', 10}, | ||||||||||
| 3454 | [package => 'iw-hspell']], | ||||||||||
| 3455 | [package => []]], # not available for fbsd9 | ||||||||||
| 3456 | [like_debian, | ||||||||||
| 3457 | [before_ubuntu_trusty, # not available for wheezy | ||||||||||
| 3458 | [package => []]], | ||||||||||
| 3459 | [package => 'hspell']], | ||||||||||
| 3460 | [like_fedora, | ||||||||||
| 3461 | [linuxdistro => 'centos', linuxdistroversion => {'==', 8}, # not available (maybe not yet?) for CentOS8 | ||||||||||
| 3462 | [package => []]], | ||||||||||
| 3463 | [package => 'hspell-devel']], | ||||||||||
| 3464 | ], | ||||||||||
| 3465 | |||||||||||
| 3466 | [cpanmod => 'Text::Hunspell', | ||||||||||
| 3467 | [os_freebsd, | ||||||||||
| 3468 | [package => 'hunspell']], | ||||||||||
| 3469 | [like_debian, | ||||||||||
| 3470 | [package => 'libhunspell-dev']]], | ||||||||||
| 3471 | |||||||||||
| 3472 | [cpanmod => 'Text::Kakasi', | ||||||||||
| 3473 | [os_freebsd, | ||||||||||
| 3474 | [package => 'ja-kakasi']], | ||||||||||
| 3475 | [like_debian, | ||||||||||
| 3476 | # but there are linking errors on Debian | ||||||||||
| 3477 | [package => 'libkakasi2-dev']], | ||||||||||
| 3478 | [os_darwin, | ||||||||||
| 3479 | [package => 'kakasi']], | ||||||||||
| 3480 | [like_fedora, | ||||||||||
| 3481 | [linuxdistro => 'centos', | ||||||||||
| 3482 | package => []], # N/A for centos6+7 | ||||||||||
| 3483 | [package => ['kakasi-devel', 'kakasi-dict']]], | ||||||||||
| 3484 | ], | ||||||||||
| 3485 | |||||||||||
| 3486 | [cpanmod => 'Text::Migemo', | ||||||||||
| 3487 | [os_freebsd, | ||||||||||
| 3488 | [package => 'ja-migemo']], | ||||||||||
| 3489 | [like_debian, | ||||||||||
| 3490 | [package => 'libmigemo-dev']]], | ||||||||||
| 3491 | |||||||||||
| 3492 | [cpanmod => 'Text::QRCode', | ||||||||||
| 3493 | [os_freebsd, | ||||||||||
| 3494 | [package => 'libqrencode']], | ||||||||||
| 3495 | [like_debian, | ||||||||||
| 3496 | [package => 'libqrencode-dev']], | ||||||||||
| 3497 | [like_fedora, | ||||||||||
| 3498 | [package => 'qrencode-devel']], | ||||||||||
| 3499 | ], | ||||||||||
| 3500 | |||||||||||
| 3501 | [cpanmod => 'Text::Treesitter', | ||||||||||
| 3502 | [os_freebsd, | ||||||||||
| 3503 | [osvers => {'<', 13}, | ||||||||||
| 3504 | [package => []]], | ||||||||||
| 3505 | [package => 'tree-sitter']], | ||||||||||
| 3506 | [like_debian, | ||||||||||
| 3507 | [before_ubuntu_jammy, | ||||||||||
| 3508 | [package => []]], | ||||||||||
| 3509 | [package => 'libtree-sitter-dev']], | ||||||||||
| 3510 | [like_fedora, | ||||||||||
| 3511 | [linuxdistro => 'centos', | ||||||||||
| 3512 | [package => []]], | ||||||||||
| 3513 | [package => 'libtree-sitter-devel']], | ||||||||||
| 3514 | ], | ||||||||||
| 3515 | |||||||||||
| 3516 | [cpanmod => 'Text::VimColor', | ||||||||||
| 3517 | [package => 'vim']], | ||||||||||
| 3518 | |||||||||||
| 3519 | [cpanmod => 'Tie::Cvs', | ||||||||||
| 3520 | [package => 'cvs']], | ||||||||||
| 3521 | |||||||||||
| 3522 | [cpanmod => 'Tie::Judy', # but tests fail (hash randomization?) | ||||||||||
| 3523 | [os_freebsd, | ||||||||||
| 3524 | [package => 'judy']], | ||||||||||
| 3525 | [like_debian, | ||||||||||
| 3526 | [package => 'libjudy-dev']], | ||||||||||
| 3527 | [like_fedora, | ||||||||||
| 3528 | [package => 'Judy-devel']], | ||||||||||
| 3529 | ], | ||||||||||
| 3530 | |||||||||||
| 3531 | [cpanmod => 'Tree::Suffix', | ||||||||||
| 3532 | [os_freebsd, | ||||||||||
| 3533 | [package => 'libstree']], | ||||||||||
| 3534 | # XXX what about debian? | ||||||||||
| 3535 | ], | ||||||||||
| 3536 | |||||||||||
| 3537 | [cpanmod => 'Tk', | ||||||||||
| 3538 | # freetype2 and libXft are optional, but highly recommended as it provides nicer fonts | ||||||||||
| 3539 | # jpeg and png is bundled in Tk, but usually the Tk version is older | ||||||||||
| 3540 | [os_freebsd, | ||||||||||
| 3541 | [osvers => {'<', freebsd_new_jpeg_osvers}, [package => [qw(freetype2 libXft libX11 png), freebsd_old_jpeg]]], | ||||||||||
| 3542 | [package => [qw(freetype2 libXft libX11 png), freebsd_new_jpeg]]], | ||||||||||
| 3543 | [like_debian, | ||||||||||
| 3544 | [package => [qw(libx11-dev libfreetype6-dev libxft-dev libpng-dev libz-dev libjpeg-dev)]]], | ||||||||||
| 3545 | [like_fedora, | ||||||||||
| 3546 | [package => [qw(libX11-devel libXft-devel libpng-devel zlib-devel libjpeg-devel)]]], | ||||||||||
| 3547 | ], | ||||||||||
| 3548 | |||||||||||
| 3549 | [cpanmod => 'Tk::TIFF', | ||||||||||
| 3550 | [os_freebsd, | ||||||||||
| 3551 | [package => 'tiff']], | ||||||||||
| 3552 | [like_debian, | ||||||||||
| 3553 | [linuxdistrocodename => ['squeeze', 'wheezy', 'precise'], | ||||||||||
| 3554 | [package => 'libtiff4-dev']], | ||||||||||
| 3555 | [package => 'libtiff5-dev']]], | ||||||||||
| 3556 | |||||||||||
| 3557 | [cpanmod => 'Tk::Zinc', | ||||||||||
| 3558 | # XXX freebsd? | ||||||||||
| 3559 | [like_debian, | ||||||||||
| 3560 | [package => ['mesa-common-dev', 'libglu1-mesa-dev']]]], | ||||||||||
| 3561 | |||||||||||
| 3562 | [cpanmod => 'UAV::Pilot::SDL', | ||||||||||
| 3563 | [like_debian, | ||||||||||
| 3564 | [package => ['libavcodec-dev', 'libswscale-dev', 'libsdl1.2-dev']]], | ||||||||||
| 3565 | ], | ||||||||||
| 3566 | |||||||||||
| 3567 | [cpanmod => 'UAV::Pilot::Video::Ffmpeg', | ||||||||||
| 3568 | [like_debian, | ||||||||||
| 3569 | [package => 'libavcodec-dev']], | ||||||||||
| 3570 | ], | ||||||||||
| 3571 | |||||||||||
| 3572 | [cpanmod => 'UDT::Simple', | ||||||||||
| 3573 | [os_freebsd, | ||||||||||
| 3574 | [package => 'udt']], | ||||||||||
| 3575 | [like_debian, | ||||||||||
| 3576 | [package => 'libudt-dev']]], | ||||||||||
| 3577 | |||||||||||
| 3578 | [cpanmod => 'Unix::Statgrab', | ||||||||||
| 3579 | [os_freebsd, | ||||||||||
| 3580 | [package => 'libstatgrab']], | ||||||||||
| 3581 | [os_dragonfly, | ||||||||||
| 3582 | [package => 'libstatgrab']], | ||||||||||
| 3583 | [os_openbsd, | ||||||||||
| 3584 | # doesn't work | ||||||||||
| 3585 | [package => 'libstatgrab']], | ||||||||||
| 3586 | [like_debian, | ||||||||||
| 3587 | # unfortunately does not work in wheezy, the library version is too old for the module | ||||||||||
| 3588 | # jessie and later is fine | ||||||||||
| 3589 | [package => 'libstatgrab-dev']], | ||||||||||
| 3590 | [like_fedora, | ||||||||||
| 3591 | # package found in CentOS7 is probably too old | ||||||||||
| 3592 | [package => 'libstatgrab-devel']], | ||||||||||
| 3593 | [os_darwin, | ||||||||||
| 3594 | [package => 'libstatgrab']]], | ||||||||||
| 3595 | |||||||||||
| 3596 | [cpanmod => ['URPM', 'URPM::Resolve', 'urpmi'], | ||||||||||
| 3597 | [os_freebsd, | ||||||||||
| 3598 | [package => 'rpm4']], | ||||||||||
| 3599 | [like_debian, | ||||||||||
| 3600 | [package => ['rpm', 'librpm-dev']]], # but does not work anyway with the librpm version as found on squeeze | ||||||||||
| 3601 | [like_fedora, | ||||||||||
| 3602 | [package => ['rpm', 'rpm-build', 'rpm-devel']]], | ||||||||||
| 3603 | [os_darwin, | ||||||||||
| 3604 | [package => 'rpm']], | ||||||||||
| 3605 | ], | ||||||||||
| 3606 | |||||||||||
| 3607 | [cpanmod => 'USB::LibUSB', | ||||||||||
| 3608 | [like_debian, | ||||||||||
| 3609 | [package => 'libusb-1.0-0-dev']], # exists on wheezy, but: Minimum required version of libusb-1.0 is 1.0.17. Installed: 1.0.11 | ||||||||||
| 3610 | ], | ||||||||||
| 3611 | |||||||||||
| 3612 | # Since UV::Util 0.03 Alien::libuv is used | ||||||||||
| 3613 | # But keep this mapping in case somebody wants to | ||||||||||
| 3614 | # force usage of the native system packages. | ||||||||||
| 3615 | ($ENV{PERL_CPAN_SYSDEPS_UV_UTIL_NATIVE} | ||||||||||
| 3616 | 44 | ▶ | ? [cpanmod => 'UV::Util', | ||||||||
|
Subroutine
mapping: called CC=2 SCAR=7.6
Pod
documented
Branch: 1 branch
| |||||||||||
| 3617 | [os_freebsd, | ||||||||||
| 3618 | [package => 'libuv']], # does not work, -I/usr/local/include seems to be missing | ||||||||||
| 3619 | [like_debian, | ||||||||||
| 3620 | [linuxdistrocodename => ['squeeze', 'wheezy'], | ||||||||||
| 3621 | [package => []], # not available before jessie | ||||||||||
| 3622 | ], | ||||||||||
| 3623 | [linuxdistrocodename => ['jessie', 'xenial'], | ||||||||||
| 3624 | [package => 'libuv0.10-dev']], # does not work, probably too old | ||||||||||
| 3625 | [package => 'libuv1-dev']], | ||||||||||
| 3626 | [like_fedora, | ||||||||||
| 3627 | [package => 'libuv-devel']], | ||||||||||
| 3628 | ] | ||||||||||
| 3629 | : () | ||||||||||
| 3630 | ), | ||||||||||
| 3631 | |||||||||||
| 3632 | [cpanmod => 'Video::FFmpeg', | ||||||||||
| 3633 | [package => 'ffmpeg']], # on Debian only found in backports or www.deb-multimedia.org; still does not build because avformat.h is not available | ||||||||||
| 3634 | |||||||||||
| 3635 | [cpanmod => 'Video::Xine', | ||||||||||
| 3636 | [os_freebsd, | ||||||||||
| 3637 | [package => 'libxine']], | ||||||||||
| 3638 | [like_debian, | ||||||||||
| 3639 | [package => 'libxine2-dev']]], | ||||||||||
| 3640 | |||||||||||
| 3641 | [cpanmod => 'Video::ZVBI', | ||||||||||
| 3642 | [os_freebsd, | ||||||||||
| 3643 | [package => 'libzvbi']], | ||||||||||
| 3644 | [like_debian, | ||||||||||
| 3645 | [before_ubuntu_trusty, | ||||||||||
| 3646 | [package => []]], | ||||||||||
| 3647 | [package => 'libzvbi-dev']], | ||||||||||
| 3648 | ], | ||||||||||
| 3649 | |||||||||||
| 3650 | [cpanmod => 'Vlc::Engine', | ||||||||||
| 3651 | [os_freebsd, | ||||||||||
| 3652 | [package => 'vlc']], | ||||||||||
| 3653 | [like_debian, | ||||||||||
| 3654 | [package => 'libvlc-dev']], | ||||||||||
| 3655 | ## Does not seem to contain include files | ||||||||||
| 3656 | #[os_darwin, | ||||||||||
| 3657 | # [package => 'caskroom/cask/vlc']], | ||||||||||
| 3658 | ], | ||||||||||
| 3659 | |||||||||||
| 3660 | [cpanmod => 'WordNet::QueryData', | ||||||||||
| 3661 | [os_freebsd, | ||||||||||
| 3662 | [package => 'wordnet']], | ||||||||||
| 3663 | [like_debian, | ||||||||||
| 3664 | [package => 'wordnet-base']], | ||||||||||
| 3665 | [like_fedora, | ||||||||||
| 3666 | [package => 'wordnet']], | ||||||||||
| 3667 | ], | ||||||||||
| 3668 | |||||||||||
| 3669 | [cpanmod => 'WordNet::SenseKey', | ||||||||||
| 3670 | [os_freebsd, | ||||||||||
| 3671 | [package => 'wordnet']], | ||||||||||
| 3672 | [like_debian, | ||||||||||
| 3673 | [package => 'wordnet-sense-index']], | ||||||||||
| 3674 | ], | ||||||||||
| 3675 | |||||||||||
| 3676 | [cpanmod => 'WWW::Bootstrap', | ||||||||||
| 3677 | [os_freebsd, | ||||||||||
| 3678 | [package => 'npm']], | ||||||||||
| 3679 | [like_debian, | ||||||||||
| 3680 | [linuxdistrocodename => [qw(squeeze wheezy)], | ||||||||||
| 3681 | [package => []]], | ||||||||||
| 3682 | [package => 'npm']]], | ||||||||||
| 3683 | |||||||||||
| 3684 | [cpanmod => ['WWW::Curl', 'Net::Curl'], | ||||||||||
| 3685 | [os_openbsd, | ||||||||||
| 3686 | # doesn't work | ||||||||||
| 3687 | [package => 'curl']], | ||||||||||
| 3688 | [os_freebsd, | ||||||||||
| 3689 | [package => 'curl']], | ||||||||||
| 3690 | [like_debian, | ||||||||||
| 3691 | [package => 'libcurl4-openssl-dev | libcurl4-gnutls-dev | libcurl4-nss-dev']], | ||||||||||
| 3692 | [like_fedora, | ||||||||||
| 3693 | [package => 'libcurl-devel']], | ||||||||||
| 3694 | [os_darwin, | ||||||||||
| 3695 | [package => []]], # libcurl is in the base system | ||||||||||
| 3696 | ], | ||||||||||
| 3697 | |||||||||||
| 3698 | [cpanmod => 'WWW::Mechanize::Chrome', | ||||||||||
| 3699 | [os_freebsd, | ||||||||||
| 3700 | [package => 'chromium']], | ||||||||||
| 3701 | [os_openbsd, | ||||||||||
| 3702 | # doesn't work | ||||||||||
| 3703 | [package => 'chromium']], | ||||||||||
| 3704 | [like_debian, | ||||||||||
| 3705 | [linuxdistrocodename => [qw(squeeze wheezy jessie precise)], | ||||||||||
| 3706 | [package => []]], # | ||||||||||
| 3707 | [package => 'chromium']], | ||||||||||
| 3708 | [os_windows, | ||||||||||
| 3709 | [package => 'chromium']], | ||||||||||
| 3710 | [os_darwin, | ||||||||||
| 3711 | [package => 'chromium']], | ||||||||||
| 3712 | ], | ||||||||||
| 3713 | |||||||||||
| 3714 | [cpanmod => 'WWW::Mechanize::PhantomJS', | ||||||||||
| 3715 | [os_freebsd, | ||||||||||
| 3716 | [package => 'phantomjs']], | ||||||||||
| 3717 | [os_openbsd, | ||||||||||
| 3718 | # doesn't work | ||||||||||
| 3719 | [package => 'phantomjs']], | ||||||||||
| 3720 | [like_debian, | ||||||||||
| 3721 | [linuxdistrocodename => [qw(squeeze wheezy jessie precise)], | ||||||||||
| 3722 | [package => []]], # see also https://gist.github.com/julionc/7476620 | ||||||||||
| 3723 | [package => 'phantomjs']], | ||||||||||
| 3724 | [os_windows, | ||||||||||
| 3725 | [package => 'phantomjs']], | ||||||||||
| 3726 | [os_darwin, | ||||||||||
| 3727 | [package => 'phantomjs']], | ||||||||||
| 3728 | ], | ||||||||||
| 3729 | |||||||||||
| 3730 | [cpanmod => 'Wx', | ||||||||||
| 3731 | [os_freebsd, | ||||||||||
| 3732 | [package => 'wx30-gtk3 | wx30-gtk2']], | ||||||||||
| 3733 | # XXX what about debian? | ||||||||||
| 3734 | # fedora: no package needed (e.g wxGTK-devel or wxGTK3-devel), works with Alien::wxWidgets | ||||||||||
| 3735 | ], | ||||||||||
| 3736 | |||||||||||
| 3737 | [cpanmod => 'XML::LibXML', | ||||||||||
| 3738 | [os_freebsd, | ||||||||||
| 3739 | [package => 'libxml2']], | ||||||||||
| 3740 | [os_dragonfly, | ||||||||||
| 3741 | [package => 'libxml2']], | ||||||||||
| 3742 | [os_openbsd, | ||||||||||
| 3743 | # doesn't work at the moment | ||||||||||
| 3744 | [package => 'libxml2']], | ||||||||||
| 3745 | [like_debian, | ||||||||||
| 3746 | [package => 'libxml2-dev']], | ||||||||||
| 3747 | [like_fedora, | ||||||||||
| 3748 | [package => 'libxml2-devel']], | ||||||||||
| 3749 | [os_darwin, | ||||||||||
| 3750 | [package => []]], # libxml2.dylib is part of the base system | ||||||||||
| 3751 | ], | ||||||||||
| 3752 | |||||||||||
| 3753 | [cpanmod => 'XML::LibXSLT', | ||||||||||
| 3754 | [os_freebsd, | ||||||||||
| 3755 | [package => 'libxslt', 'pkgconf']], # pkg-config is required to find location of libxml2 header files | ||||||||||
| 3756 | [os_dragonfly, | ||||||||||
| 3757 | [package => 'libxslt']], | ||||||||||
| 3758 | [os_openbsd, | ||||||||||
| 3759 | [package => 'libxslt']], | ||||||||||
| 3760 | [like_debian, | ||||||||||
| 3761 | [package => ['libxslt1-dev', 'libgdbm-dev']]], | ||||||||||
| 3762 | [like_fedora, | ||||||||||
| 3763 | [package => 'libxslt-devel']], | ||||||||||
| 3764 | [os_darwin, | ||||||||||
| 3765 | [package => []]], # libxslt.dylib is part of the base system | ||||||||||
| 3766 | ], | ||||||||||
| 3767 | |||||||||||
| 3768 | [cpanmod => 'XML::Parser', | ||||||||||
| 3769 | [os_freebsd, | ||||||||||
| 3770 | [package => 'expat']], | ||||||||||
| 3771 | [os_dragonfly, | ||||||||||
| 3772 | [package => 'expat']], | ||||||||||
| 3773 | [os_openbsd, | ||||||||||
| 3774 | [package => 'expat']], | ||||||||||
| 3775 | [like_debian, | ||||||||||
| 3776 | [package => 'libexpat1-dev']], | ||||||||||
| 3777 | [like_fedora, | ||||||||||
| 3778 | [package => 'expat-devel']], | ||||||||||
| 3779 | ], | ||||||||||
| 3780 | |||||||||||
| 3781 | [cpanmod => 'XML::Sablotron', | ||||||||||
| 3782 | # compiles only with perl < 5.14, see https://rt.cpan.org/Ticket/Display.html?id=66849 | ||||||||||
| 3783 | [os_freebsd, | ||||||||||
| 3784 | [package => 'Sablot']], | ||||||||||
| 3785 | # no sablot package on debian | ||||||||||
| 3786 | ], | ||||||||||
| 3787 | |||||||||||
| 3788 | [cpanmod => 'XML::Saxon::XSLT2', # needs java | ||||||||||
| 3789 | [os_freebsd, | ||||||||||
| 3790 | [package => 'saxon-he']], | ||||||||||
| 3791 | # XXX what about debian? | ||||||||||
| 3792 | ], | ||||||||||
| 3793 | |||||||||||
| 3794 | [cpanmod => 'XML::WBXML', | ||||||||||
| 3795 | [os_freebsd, | ||||||||||
| 3796 | [package => 'wbxml2']], | ||||||||||
| 3797 | [like_debian, | ||||||||||
| 3798 | [package => 'libwbxml2-dev']]], | ||||||||||
| 3799 | |||||||||||
| 3800 | [cpanmod => 'XML::Xerces', # "You must use Xerces-C-2.7.0" | ||||||||||
| 3801 | [os_freebsd, | ||||||||||
| 3802 | [package => 'xerces-c2']], | ||||||||||
| 3803 | [like_debian, | ||||||||||
| 3804 | # probably needs setting of XERCES_* variables? | ||||||||||
| 3805 | [linuxdistrocodename => ['wheezy'], | ||||||||||
| 3806 | [package => 'libxerces-c2-dev']], | ||||||||||
| 3807 | [package => 'libxerces-c-dev'], # will not work, because jessie has Xerces-C-3.1.1 | ||||||||||
| 3808 | ]], | ||||||||||
| 3809 | |||||||||||
| 3810 | [cpanmod => 'X::Osd', | ||||||||||
| 3811 | [os_freebsd, | ||||||||||
| 3812 | [package => 'xosd']], | ||||||||||
| 3813 | [like_debian, | ||||||||||
| 3814 | [package => 'libxosd-dev']]], | ||||||||||
| 3815 | |||||||||||
| 3816 | [cpanmod => 'X11::FullScreen', | ||||||||||
| 3817 | [os_freebsd, | ||||||||||
| 3818 | [package => 'imlib2']], | ||||||||||
| 3819 | [like_debian, | ||||||||||
| 3820 | [package => 'libimlib2-dev']]], | ||||||||||
| 3821 | |||||||||||
| 3822 | [cpanmod => 'X11::GUITest', | ||||||||||
| 3823 | # XXX what about freebsd? | ||||||||||
| 3824 | [like_debian, | ||||||||||
| 3825 | [package => ['libxt-dev', 'libxtst-dev']]], | ||||||||||
| 3826 | [like_fedora, | ||||||||||
| 3827 | [package => 'libXtst-devel']], | ||||||||||
| 3828 | ], | ||||||||||
| 3829 | |||||||||||
| 3830 | [cpanmod => 'X11::XCB', | ||||||||||
| 3831 | [os_freebsd, | ||||||||||
| 3832 | [package => ['expat', 'pkgconf', 'xcb-proto', 'xcb-util-wm']]], | ||||||||||
| 3833 | [like_fedora, | ||||||||||
| 3834 | [package => ['expat-devel', 'libxcb-devel', 'xcb-util-devel', 'xcb-util-wm-devel', 'xcb-proto']]], | ||||||||||
| 3835 | [like_debian, | ||||||||||
| 3836 | [before_ubuntu_focal, | ||||||||||
| 3837 | [package => []]], | ||||||||||
| 3838 | [package => ['libxcb-composite0-dev', 'libxcb-ewmh-dev', 'libxcb-icccm4-dev', 'libxcb-randr0-dev', | ||||||||||
| 3839 | 'libxcb-render0-dev', 'libxcb-util-dev', 'libxcb-util0-dev', 'libxcb-xinerama0-dev', 'libxcb-xinput-dev', | ||||||||||
| 3840 | 'libxcb-xkb-dev', 'libxcb-xtest0-dev', 'libxcb1-dev', 'xcb-proto', 'xsltproc']]]], | ||||||||||
| 3841 | |||||||||||
| 3842 | [cpanmod => 'X11::Xlib', | ||||||||||
| 3843 | [os_freebsd, | ||||||||||
| 3844 | [package => 'libXtst']], | ||||||||||
| 3845 | [os_dragonfly, | ||||||||||
| 3846 | [package => 'libXtst']], | ||||||||||
| 3847 | [like_debian, | ||||||||||
| 3848 | [package => 'libxtst-dev']], | ||||||||||
| 3849 | [like_fedora, | ||||||||||
| 3850 | [package => 'libXtst-devel']], | ||||||||||
| 3851 | ], | ||||||||||
| 3852 | |||||||||||
| 3853 | [cpanmod => 'YAML::LibYAML::API', | ||||||||||
| 3854 | [os_freebsd, | ||||||||||
| 3855 | [package => 'libyaml']], | ||||||||||
| 3856 | [like_debian, | ||||||||||
| 3857 | [package => 'libyaml-dev']], | ||||||||||
| 3858 | [like_fedora, | ||||||||||
| 3859 | [package => 'libyaml-devel']], | ||||||||||
| 3860 | [os_darwin, | ||||||||||
| 3861 | [package => 'libyaml']], | ||||||||||
| 3862 | ], | ||||||||||
| 3863 | |||||||||||
| 3864 | [cpanmod => 'ZMQ::FFI', | ||||||||||
| 3865 | [os_freebsd, | ||||||||||
| 3866 | [package => 'libzmq4']], # seems to hang with nonthreaded perls on freebsd, wait-and-kill rule exists | ||||||||||
| 3867 | [os_dragonfly, | ||||||||||
| 3868 | [package => 'libzmq4']], | ||||||||||
| 3869 | [like_debian, | ||||||||||
| 3870 | [linuxdistrocodename => [qw(squeeze wheezy jessie xenial)], | ||||||||||
| 3871 | [package => 'libzmq-dev']], | ||||||||||
| 3872 | [package => 'libzmq3-dev']], # e.g. stretch | ||||||||||
| 3873 | [os_darwin, | ||||||||||
| 3874 | [package => 'zmq']], | ||||||||||
| 3875 | ], | ||||||||||
| 3876 | |||||||||||
| 3877 | [cpanmod => 'ZMQ::LibZMQ4', | ||||||||||
| 3878 | [os_freebsd, | ||||||||||
| 3879 | [package => 'libzmq4']], # seems to hang with nonthreaded perls on freebsd, wait-and-kill rule exists (?) | ||||||||||
| 3880 | [os_dragonfly, | ||||||||||
| 3881 | [package => 'libzmq4']], | ||||||||||
| 3882 | [like_debian, | ||||||||||
| 3883 | # [linuxdistrocodename => [qw(squeeze wheezy jessie)], | ||||||||||
| 3884 | # [package => []]], # libzmq5 is ZMQ4.1 (!); according to http://zeromq.org/distro:debian only available in experimental (and probably sid) | ||||||||||
| 3885 | [package => 'libzmq3-dev'], # note: libzmq3-dev is ZMQ4.0 (!) | ||||||||||
| 3886 | ]], | ||||||||||
| 3887 | |||||||||||
| 3888 | [cpanmod => 'Zonemaster::LDNS', | ||||||||||
| 3889 | [os_freebsd, | ||||||||||
| 3890 | [package => ['libidn2']]], # untested | ||||||||||
| 3891 | [like_debian, | ||||||||||
| 3892 | [package => ['libidn2-dev', 'libssl-dev']]], | ||||||||||
| 3893 | [like_fedora, | ||||||||||
| 3894 | [package => ['libidn2-devel', 'openssl-devel']]], | ||||||||||
| 3895 | ], | ||||||||||
| 3896 | |||||||||||
| 3897 | [cpanmod => 'ZOOM::IRSpy', | ||||||||||
| 3898 | [os_freebsd, | ||||||||||
| 3899 | [package => 'yaz']], | ||||||||||
| 3900 | [like_debian, | ||||||||||
| 3901 | [package => 'libyaz4-dev']]], | ||||||||||
| 3902 | |||||||||||
| 3903 | # XXX find out which modules: | ||||||||||
| 3904 | # # various wordnet-using modules | ||||||||||
| 3905 | # package { "wordnet-base": ensure => installed } | ||||||||||
| 3906 | |||||||||||
| 3907 | ); | ||||||||||
| 3908 | } | ||||||||||
| 3909 | |||||||||||
| 3910 | 9 | 1; | |||||||||
| 3911 | |||||||||||
| 3912 | __END__ | ||||||||||