Merge pull request #220497 from wegank/photoflow-drop

photoflow: drop

authored by Anderson Torres and committed by GitHub d40c0521 78d56d0b

+1 -192
-13
pkgs/applications/graphics/photoflow/CMakeLists.patch
··· 1 - diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt 2 - index 9b48beea..078ba20d 100644 3 - --- a/src/CMakeLists.txt 4 - +++ b/src/CMakeLists.txt 5 - @@ -603,7 +603,7 @@ ENDIF(APPLE) 6 - # 7 - # photoflow executable 8 - # 9 - -add_executable(photoflow main.cc ${RESOURCE_OBJECT}) 10 - +add_executable(photoflow main.cc version.cc ${RESOURCE_OBJECT}) 11 - IF(APPLE) 12 - set_target_properties(photoflow PROPERTIES LINK_FLAGS " -framework ApplicationServices ") 13 - ENDIF(APPLE)
···
-101
pkgs/applications/graphics/photoflow/default.nix
··· 1 - { automake 2 - , cmake 3 - , exiv2 4 - , expat 5 - , fetchFromGitHub 6 - , fetchpatch 7 - , fftw 8 - , fftwFloat 9 - , gettext 10 - , glib 11 - , gobject-introspection 12 - , gtkmm2 13 - , lcms2 14 - , lensfun 15 - , libexif 16 - , libiptcdata 17 - , libjpeg 18 - , libraw 19 - , libtiff 20 - , libxml2 21 - , ninja 22 - , openexr 23 - , pcre 24 - , pkg-config 25 - , pugixml 26 - , lib 27 - , stdenv 28 - , swig 29 - , vips 30 - , gtk-mac-integration-gtk2 31 - }: 32 - 33 - stdenv.mkDerivation rec { 34 - pname = "photoflow"; 35 - version = "2020-08-28"; 36 - 37 - src = fetchFromGitHub { 38 - owner = "aferrero2707"; 39 - repo = pname; 40 - rev = "8472024fb91175791e0eb23c434c5b58ecd250eb"; 41 - sha256 = "1bq4733hbh15nwpixpyhqfn3bwkg38amdj2xc0my0pii8l9ln793"; 42 - }; 43 - 44 - patches = [ 45 - (fetchpatch { 46 - name = "fix-compiler-flags.patch"; 47 - url = "https://sources.debian.org/data/main/p/photoflow/0.2.8%2Bgit20200114-3/debian/patches/ftbfs"; 48 - sha256 = "sha256-DG5yG6M4FsKOykE9Eh5TGd7Z5QURGTTVbO1pIxMAlhc="; 49 - }) 50 - ./CMakeLists.patch 51 - ./fix-build.patch 52 - ]; 53 - 54 - nativeBuildInputs = [ 55 - automake 56 - cmake 57 - gettext 58 - glib 59 - gobject-introspection 60 - libxml2 61 - ninja 62 - pkg-config 63 - swig 64 - ]; 65 - 66 - buildInputs = [ 67 - exiv2 68 - expat 69 - fftw 70 - fftwFloat 71 - gtkmm2 # Could be build with gtk3 but proper UI theme is missing and therefore not very usable with gtk3 72 - # See: https://discuss.pixls.us/t/help-needed-for-gtk3-theme/5803 73 - lcms2 74 - lensfun 75 - libexif 76 - libiptcdata 77 - libjpeg 78 - libraw 79 - libtiff 80 - openexr 81 - pcre 82 - pugixml 83 - vips 84 - ] ++ lib.optionals stdenv.isDarwin [ 85 - gtk-mac-integration-gtk2 86 - ]; 87 - 88 - cmakeFlags = [ 89 - "-DBUNDLED_EXIV2=OFF" 90 - "-DBUNDLED_LENSFUN=OFF" 91 - "-DBUNDLED_GEXIV2=OFF" 92 - ]; 93 - 94 - meta = with lib; { 95 - description = "A fully non-destructive photo retouching program providing a complete RAW image editing workflow"; 96 - homepage = "https://aferrero2707.github.io/PhotoFlow/"; 97 - license = licenses.gpl3Plus; 98 - maintainers = with maintainers; [ MtP wegank ]; 99 - platforms = platforms.unix; 100 - }; 101 - }
···
-76
pkgs/applications/graphics/photoflow/fix-build.patch
··· 1 - diff --git a/src/external/librtprocess/src/include/librtprocess.h b/src/external/librtprocess/src/include/librtprocess.h 2 - index 47691a09..b1c63dbd 100644 3 - --- a/src/external/librtprocess/src/include/librtprocess.h 4 - +++ b/src/external/librtprocess/src/include/librtprocess.h 5 - @@ -21,6 +21,7 @@ 6 - #define _LIBRTPROCESS_ 7 - 8 - #include <functional> 9 - +#include <cstddef> 10 - 11 - 12 - enum rpError {RP_NO_ERROR, RP_MEMORY_ERROR, RP_WRONG_CFA, RP_CACORRECT_ERROR}; 13 - diff --git a/src/operations/denoise.cc b/src/operations/denoise.cc 14 - index 10050f70..16b340c1 100644 15 - --- a/src/operations/denoise.cc 16 - +++ b/src/operations/denoise.cc 17 - @@ -27,7 +27,7 @@ 18 - 19 - */ 20 - 21 - -#include <vips/cimg_funcs.h> 22 - +//#include <vips/cimg_funcs.h> 23 - 24 - #include "../base/new_operation.hh" 25 - #include "convert_colorspace.hh" 26 - diff --git a/src/operations/gmic/gmic.cc b/src/operations/gmic/gmic.cc 27 - index 876e7c20..fc6a8505 100644 28 - --- a/src/operations/gmic/gmic.cc 29 - +++ b/src/operations/gmic/gmic.cc 30 - @@ -28,13 +28,31 @@ 31 - */ 32 - 33 - //#include <vips/cimg_funcs.h> 34 - +#include <vips/vips.h> 35 - 36 - #include "../../base/processor_imp.hh" 37 - #include "../convertformat.hh" 38 - #include "gmic.hh" 39 - 40 - -int vips_gmic(VipsImage **in, VipsImage** out, int n, int padding, double x_scale, double y_scale, const char* command, ...); 41 - - 42 - +int vips_gmic(VipsImage **in, VipsImage** out, int n, int padding, double x_scale, double y_scale, const char* command, ...) 43 - +{ 44 - + VipsArrayImage *array; 45 - + va_list ap; 46 - + int result; 47 - + 48 - +#ifndef NDEBUG 49 - + printf("vips_gmic(): padding=%d\n", padding); 50 - +#endif 51 - + 52 - + array = vips_array_image_new( in, n ); 53 - + va_start( ap, command ); 54 - + result = vips_call_split( "gmic", ap, array, out, 55 - + padding, x_scale, y_scale, command ); 56 - + va_end( ap ); 57 - + vips_area_unref( VIPS_AREA( array ) ); 58 - + 59 - + return( result ); 60 - +} 61 - 62 - PF::GMicPar::GMicPar(): 63 - OpParBase(), 64 - diff --git a/src/vips/gmic/gmic/src/CImg.h b/src/vips/gmic/gmic/src/CImg.h 65 - index 268b9e62..5a79640c 100644 66 - --- a/src/vips/gmic/gmic/src/CImg.h 67 - +++ b/src/vips/gmic/gmic/src/CImg.h 68 - @@ -32843,7 +32843,7 @@ namespace cimg_library_suffixed { 69 - \see deriche(), vanvliet(). 70 - **/ 71 - CImg<T>& blur_box(const float boxsize, const bool boundary_conditions=true) { 72 - - const float nboxsize = boxsize>=0?boxsize:-boxsize*std::max(_width,_height,_depth)/100; 73 - + const float nboxsize = boxsize>=0?boxsize:-boxsize*std::max({_width,_height,_depth})/100; 74 - return blur_box(nboxsize,nboxsize,nboxsize,boundary_conditions); 75 - } 76 -
···
+1
pkgs/top-level/aliases.nix
··· 1154 phantomjs2 = throw "phantomjs2 has been dropped due to lack of maintenance"; # Added 2022-04-22 1155 philter = throw "philter has been removed: abandoned by upstream"; # Added 2022-04-26 1156 phodav_2_0 = throw "'phodav_2_0' has been renamed to/replaced by 'phodav'"; # Added 2023-02-21 1157 phraseapp-client = throw "phraseapp-client is archived by upstream. Use phrase-cli instead"; # Added 2022-05-15 1158 phwmon = throw "phwmon has been removed: abandoned by upstream"; # Added 2022-04-24 1159
··· 1154 phantomjs2 = throw "phantomjs2 has been dropped due to lack of maintenance"; # Added 2022-04-22 1155 philter = throw "philter has been removed: abandoned by upstream"; # Added 2022-04-26 1156 phodav_2_0 = throw "'phodav_2_0' has been renamed to/replaced by 'phodav'"; # Added 2023-02-21 1157 + photoflow = throw "photoflow was removed because it was broken and unmaintained by upstream"; # Added 2023-03-10 1158 phraseapp-client = throw "phraseapp-client is archived by upstream. Use phrase-cli instead"; # Added 2022-05-15 1159 phwmon = throw "phwmon has been removed: abandoned by upstream"; # Added 2022-04-24 1160
-2
pkgs/top-level/all-packages.nix
··· 32491 32492 photoflare = libsForQt5.callPackage ../applications/graphics/photoflare { }; 32493 32494 - photoflow = callPackage ../applications/graphics/photoflow { }; 32495 - 32496 phototonic = libsForQt5.callPackage ../applications/graphics/phototonic { }; 32497 32498 phrasendrescher = callPackage ../tools/security/phrasendrescher { };
··· 32491 32492 photoflare = libsForQt5.callPackage ../applications/graphics/photoflare { }; 32493 32494 phototonic = libsForQt5.callPackage ../applications/graphics/phototonic { }; 32495 32496 phrasendrescher = callPackage ../tools/security/phrasendrescher { };