mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-10-01 18:17:21 +03:00
photivo: remove after being marked broken for over two years
It was marked in commit e186ad5c31
by worldofpeace on 2019-06-27 (commited on 2019-06-27)
This commit is contained in:
parent
63828897eb
commit
f75ec63a9b
@ -1,54 +0,0 @@
|
||||
{ lib
|
||||
, stdenv
|
||||
, fetchhg
|
||||
, fetchpatch
|
||||
, cmake
|
||||
, qt4
|
||||
, fftw
|
||||
, graphicsmagick_q16
|
||||
, lcms2
|
||||
, lensfun
|
||||
, pkg-config
|
||||
, libjpeg
|
||||
, exiv2
|
||||
, liblqr1
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
pname = "photivo";
|
||||
version = "2014-01-25";
|
||||
|
||||
src = fetchhg {
|
||||
url = "http://code.google.com/p/photivo/";
|
||||
rev = "d687864489da";
|
||||
sha256 = "0f6y18k7db2ci6xn664zcwm1g1k04sdv7gg1yd5jk41bndjb7z8h";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# Patch fixing build with lensfun >= 0.3, taken from
|
||||
# https://www.linuxquestions.org/questions/slackware-14/photivo-4175530230/#post5296578
|
||||
(fetchpatch {
|
||||
url = "https://www.linuxquestions.org/questions/attachment.php?attachmentid=17287&d=1420577220";
|
||||
name = "lensfun-0.3.patch";
|
||||
sha256 = "0ys45x4r4bjjlx0zpd5d56rgjz7k8gxili4r4k8zx3zfka4a3zwv";
|
||||
})
|
||||
./gcc6.patch
|
||||
];
|
||||
|
||||
postPatch = '' # kinda icky
|
||||
sed -e '/("@INSTALL@")/d' \
|
||||
-e s,@INSTALL@,$out/share/photivo, \
|
||||
-i Sources/ptSettings.cpp
|
||||
sed '1i#include <math.h>' -i Sources/filters/ptFilter_StdCurve.cpp
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [ cmake pkg-config ];
|
||||
|
||||
buildInputs = [ qt4 fftw graphicsmagick_q16 lcms2 lensfun libjpeg exiv2 liblqr1 ];
|
||||
|
||||
meta = with lib; {
|
||||
platforms = platforms.linux;
|
||||
license = licenses.gpl3;
|
||||
broken = true; # exiv2 0.27.1 FTBFS
|
||||
};
|
||||
}
|
@ -1,13 +0,0 @@
|
||||
diff --git c/Sources/ptImage.cpp i/Sources/ptImage.cpp
|
||||
index 9c95093..623c157 100755
|
||||
--- c/Sources/ptImage.cpp
|
||||
+++ i/Sources/ptImage.cpp
|
||||
@@ -5291,7 +5291,7 @@ ptImage* ptImage::Box(const uint16_t MaxRadius, float* Mask) {
|
||||
NewRow = NewRow < 0? -NewRow : NewRow > Height1? Height1_2-NewRow : NewRow ;
|
||||
NewRow *= m_Width;
|
||||
for(j = -IntRadius; j <= IntRadius; j++) {
|
||||
- if (Dist[abs(i)][abs(j)] < Radius) {
|
||||
+ if (Dist[int16_t(abs(i))][int16_t(abs(j))] < Radius) {
|
||||
NewCol = Col+j;
|
||||
NewCol = NewCol < 0? -NewCol : NewCol > Width1? Width1_2-NewCol : NewCol ;
|
||||
|
@ -25981,8 +25981,6 @@ with pkgs;
|
||||
|
||||
gjay = callPackage ../applications/audio/gjay { };
|
||||
|
||||
photivo = callPackage ../applications/graphics/photivo { };
|
||||
|
||||
rhythmbox = callPackage ../applications/audio/rhythmbox { };
|
||||
|
||||
gradio = callPackage ../applications/audio/gradio { };
|
||||
|
Loading…
Reference in New Issue
Block a user