Commit Graph

9 Commits

Author SHA1 Message Date
Maximilian Bosch
6d6cbd316d pythonmagick: fix build (#46469)
The original build broke with the following linker issue:

```
  CXXLD    _PythonMagick.la
/nix/store/h0lbngpv6ln56hjj59i6l77vxq25flbz-binutils-2.30/bin/ld: cannot find -l-L/nix/store/4gh6ynzsd5ndx37hmkl62xa8z30k43y1-imagemagick-6.9.9-34/lib
collect2: error: ld returned 1 exit status
```

This happens since `BOOST_PYTHON_LIB` wasn't set properly, however
`_PythonMagick.la` was linked with `-l$(BOOST_PYTHON_LIB)
$(MAGICK_LIBS)`. With an empty `BOOST_PYTHON_LIB` the linker got
confused.

To work around this, the `boost` library directory needs to be specified
explicitly. To ensure that the changes take effect, the original
`configure` script shipped with `$src` needs to be removed and recreated
using the `autoreconfHook`.

Additionally the `imagemagick` license (https://spdx.org/licenses/ImageMagick.html)
needs to be added to `lib/licenses.nix` to document the proper license
of `pythonmagick` in the meta section.
2018-09-10 11:59:51 +02:00
Tuomas Tynkkynen
eab8124939 pythonmagick: Fix sha256 2017-09-14 15:45:24 +03:00
Frederik Rietdijk
ac594af559 pythonmagick: note to whoever maintains this that expression should be moved 2017-07-19 14:36:05 +02:00
ndowens
f6bae24590 pythonmagick: 0.9.14 -> 0.9.16 2017-03-18 16:27:12 -05:00
Franz Pletz
bb7d270d85
pythonmagick: 0.9.12 -> 0.9.14 2016-10-13 20:33:16 -04:00
Graham Christensen
1aed3948d7 pythonmagick: 0.9.11 -> 0.9.12 2016-02-27 17:22:14 -06:00
Sibi
7f5718b06f Version bump and made name attribute to lowercase.
(Tested the fix in my local machine just to be sure)
2015-01-30 18:49:38 +05:30
Yury G. Kudryashov
81aac8d84d meta.homepage added to several packages
svn path=/nixpkgs/trunk/; revision=10417
2008-01-30 19:49:42 +00:00
Armijn Hemel
fcd736f20b add PythonMagick 0.7
svn path=/nixpkgs/trunk/; revision=9078
2007-08-09 01:11:51 +00:00