diff options
Diffstat (limited to 'pkgs/applications/graphics')
-rw-r--r-- | pkgs/applications/graphics/ImageMagick/default.nix | 4 | ||||
-rw-r--r-- | pkgs/applications/graphics/artem/default.nix | 20 | ||||
-rw-r--r-- | pkgs/applications/graphics/digikam/default.nix | 2 | ||||
-rw-r--r-- | pkgs/applications/graphics/glabels-qt/default.nix | 31 | ||||
-rw-r--r-- | pkgs/applications/graphics/hello-wayland/default.nix | 2 | ||||
-rw-r--r-- | pkgs/applications/graphics/ipe/default.nix | 9 | ||||
-rw-r--r-- | pkgs/applications/graphics/ipe/headers-lookup.patch | 13 | ||||
-rw-r--r-- | pkgs/applications/graphics/komikku/default.nix | 4 | ||||
-rw-r--r-- | pkgs/applications/graphics/scantailor/advanced.nix | 4 | ||||
-rw-r--r-- | pkgs/applications/graphics/shotwell/default.nix | 4 | ||||
-rw-r--r-- | pkgs/applications/graphics/vipsdisp/default.nix | 4 | ||||
-rw-r--r-- | pkgs/applications/graphics/xpano/default.nix | 66 | ||||
-rw-r--r-- | pkgs/applications/graphics/xpano/skip_prefix_check.patch | 18 |
13 files changed, 142 insertions, 39 deletions
diff --git a/pkgs/applications/graphics/ImageMagick/default.nix b/pkgs/applications/graphics/ImageMagick/default.nix index a91671a33498..4f27f1478366 100644 --- a/pkgs/applications/graphics/ImageMagick/default.nix +++ b/pkgs/applications/graphics/ImageMagick/default.nix @@ -47,13 +47,13 @@ in stdenv.mkDerivation (finalAttrs: { pname = "imagemagick"; - version = "7.1.1-13"; + version = "7.1.1-14"; src = fetchFromGitHub { owner = "ImageMagick"; repo = "ImageMagick"; rev = finalAttrs.version; - hash = "sha256-HrUka7VLF9YH23TxDQeQpulQf3ssSfYOhi29v2onvCE="; + hash = "sha256-vZ3ILHIRxwB3ho7hlJpC7hlo7Nhb56SjZ/hgdoh1rwY="; }; outputs = [ "out" "dev" "doc" ]; # bin/ isn't really big diff --git a/pkgs/applications/graphics/artem/default.nix b/pkgs/applications/graphics/artem/default.nix index 1662f65a9193..b98e7a4fb405 100644 --- a/pkgs/applications/graphics/artem/default.nix +++ b/pkgs/applications/graphics/artem/default.nix @@ -2,28 +2,30 @@ , rustPlatform , fetchFromGitHub , installShellFiles -, pkg-config -, openssl +, stdenv +, darwin }: rustPlatform.buildRustPackage rec { pname = "artem"; - version = "1.2.1"; + version = "2.0.0"; src = fetchFromGitHub { owner = "finefindus"; repo = pname; rev = "v${version}"; - sha256 = "sha256-T652cdKVZqoZ+EwXmTSs9x+ftjvWOELjy37trCP7V+0="; + hash = "sha256-liYZloaXN9doNyPO76iCaiZO9ZkNGBm+BxxNX87ZqBM="; }; - cargoSha256 = "sha256-2LXpvAbkpk2sJHZJvytwLYksZK4coVYyKvuNRiDK0Gg="; + cargoHash = "sha256-fTAuh4jbfNpFaEu1X0LwVA30ghQ6mh5/Afap7gUjzMc="; - nativeBuildInputs = [ installShellFiles pkg-config ]; - - buildInputs = [ openssl ]; + nativeBuildInputs = [ + installShellFiles + ]; - OPENSSL_NO_VENDOR = 1; + buildInputs = lib.optionals stdenv.isDarwin [ + darwin.apple_sdk.frameworks.Security + ]; checkFlags = [ # require internet access diff --git a/pkgs/applications/graphics/digikam/default.nix b/pkgs/applications/graphics/digikam/default.nix index ab75938760b3..8a95d10203c4 100644 --- a/pkgs/applications/graphics/digikam/default.nix +++ b/pkgs/applications/graphics/digikam/default.nix @@ -54,7 +54,7 @@ , breeze-icons , oxygen -, cudaSupport ? config.cudaSupport or false +, cudaSupport ? config.cudaSupport , cudaPackages ? {} }: diff --git a/pkgs/applications/graphics/glabels-qt/default.nix b/pkgs/applications/graphics/glabels-qt/default.nix new file mode 100644 index 000000000000..5715241fb757 --- /dev/null +++ b/pkgs/applications/graphics/glabels-qt/default.nix @@ -0,0 +1,31 @@ +{ lib +, fetchFromGitHub +, cmake +, mkDerivation +, qttools +}: + +mkDerivation { + pname = "glabels-qt"; + version = "unstable-2021-02-06"; + + src = fetchFromGitHub { + owner = "jimevins"; + repo = "glabels-qt"; + rev = "glabels-3.99-master564"; + hash = "sha256-SdNOkjspqf6NuuIBZDsJneY6PNrIiP4HU46wDpBLt9Y="; + }; + + nativeBuildInputs = [ + cmake + qttools + ]; + + meta = with lib; { + description = "GLabels Label Designer (Qt/C++)"; + homepage = "https://github.com/jimevins/glabels-qt"; + license = licenses.gpl3Only; + maintainers = [ maintainers.matthewcroughan ]; + platforms = lib.platforms.linux; + }; +} diff --git a/pkgs/applications/graphics/hello-wayland/default.nix b/pkgs/applications/graphics/hello-wayland/default.nix index 300e7f7bb5d8..b6c047214044 100644 --- a/pkgs/applications/graphics/hello-wayland/default.nix +++ b/pkgs/applications/graphics/hello-wayland/default.nix @@ -14,6 +14,8 @@ stdenv.mkDerivation { sha256 = "NMQE2zU858b6OZhdS2oZnGvLK+eb7yU0nFaMAcpNw04="; }; + separateDebugInfo = true; + depsBuildBuild = [ pkg-config ]; nativeBuildInputs = [ imagemagick pkg-config wayland-scanner ]; buildInputs = [ wayland wayland-protocols ]; diff --git a/pkgs/applications/graphics/ipe/default.nix b/pkgs/applications/graphics/ipe/default.nix index 01f17bb41b95..834ab6198a87 100644 --- a/pkgs/applications/graphics/ipe/default.nix +++ b/pkgs/applications/graphics/ipe/default.nix @@ -17,19 +17,17 @@ , wrapQtAppsHook , zlib , withTeXLive ? true +, buildPackages }: stdenv.mkDerivation rec { pname = "ipe"; - version = "7.2.26"; + version = "7.2.27"; src = fetchurl { url = "https://github.com/otfried/ipe/releases/download/v${version}/ipe-${version}-src.tar.gz"; - sha256 = "sha256-5J0AV5E6SlFrIBfwDZrbJnkDUoVZ0fDH669s2RQ1CqU="; + sha256 = "sha256-wx/bZy8kB7dpZsz58BeRGdS1BzbrIoafgEmLyFg7wZU="; }; - patches = [ - ./headers-lookup.patch - ]; nativeBuildInputs = [ pkg-config copyDesktopItems wrapQtAppsHook ]; @@ -52,6 +50,7 @@ stdenv.mkDerivation rec { "-C src" "IPEPREFIX=${placeholder "out"}" "LUA_PACKAGE=lua" + "MOC=${buildPackages.qt6Packages.qtbase}/libexec/moc" "IPE_NO_SPELLCHECK=1" # qtSpell is not yet packaged ]; diff --git a/pkgs/applications/graphics/ipe/headers-lookup.patch b/pkgs/applications/graphics/ipe/headers-lookup.patch deleted file mode 100644 index a6adf1b16474..000000000000 --- a/pkgs/applications/graphics/ipe/headers-lookup.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff --git a/src/ipepresenter/Makefile b/src/ipepresenter/Makefile -index ae3664e..f4f74ff 100644 ---- a/src/ipepresenter/Makefile -+++ b/src/ipepresenter/Makefile -@@ -8,7 +8,7 @@ include ../common.mak - - TARGET = $(call exe_target,ipepresenter) - --CXXFLAGS += -I../include -I../ipecanvas -I../ipecairo \ -+CPPFLAGS += -I../include -I../ipecanvas -I../ipecairo \ - $(UI_CFLAGS) $(CAIRO_CFLAGS) $(ZLIB_CFLAGS) - LIBS += -L$(buildlib) -lipecanvas -lipecairo -lipe \ - $(UI_LIBS) $(CAIRO_LIBS) $(ZLIB_LIBS) diff --git a/pkgs/applications/graphics/komikku/default.nix b/pkgs/applications/graphics/komikku/default.nix index 008cfc5d2ba2..b444841f8f72 100644 --- a/pkgs/applications/graphics/komikku/default.nix +++ b/pkgs/applications/graphics/komikku/default.nix @@ -81,9 +81,7 @@ python3.pkgs.buildPythonApplication rec { ''; passthru = { - updateScript = nix-update-script { - attrPath = "komikku"; - }; + updateScript = nix-update-script { }; }; meta = with lib; { diff --git a/pkgs/applications/graphics/scantailor/advanced.nix b/pkgs/applications/graphics/scantailor/advanced.nix index 11ddc7c7db3f..2dfc42c97ae4 100644 --- a/pkgs/applications/graphics/scantailor/advanced.nix +++ b/pkgs/applications/graphics/scantailor/advanced.nix @@ -4,13 +4,13 @@ mkDerivation rec { pname = "scantailor-advanced"; - version = "1.0.18"; + version = "1.0.19"; src = fetchFromGitHub { owner = "vigri"; repo = "scantailor-advanced"; rev = "v${version}"; - sha256 = "sha256-4/QSjgHvRgIduS/AXbT7osRTdOdgR7On3CbjRnGbwHU="; + sha256 = "sha256-mvoCoYdRTgXW5t8yd9Y9TOl7D3RDVwcjUv2YDUWrtRI="; }; nativeBuildInputs = [ cmake qttools ]; diff --git a/pkgs/applications/graphics/shotwell/default.nix b/pkgs/applications/graphics/shotwell/default.nix index 555770f7e187..f7ee044d42ed 100644 --- a/pkgs/applications/graphics/shotwell/default.nix +++ b/pkgs/applications/graphics/shotwell/default.nix @@ -40,11 +40,11 @@ stdenv.mkDerivation rec { pname = "shotwell"; - version = "0.32.1"; + version = "0.32.2"; src = fetchurl { url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; - sha256 = "sha256-SsRRdBatiqI7ROdcNL1uFrq3Nj+iCZG7CbrN+rP3Y84="; + sha256 = "sha256-pd5T6HMhbfj1mWyWgnvtlj1sY1TgReF5bf0ybGGIwmM="; }; nativeBuildInputs = [ diff --git a/pkgs/applications/graphics/vipsdisp/default.nix b/pkgs/applications/graphics/vipsdisp/default.nix index 01601657c8f3..2752eaff87d2 100644 --- a/pkgs/applications/graphics/vipsdisp/default.nix +++ b/pkgs/applications/graphics/vipsdisp/default.nix @@ -12,13 +12,13 @@ stdenv.mkDerivation rec { pname = "vipsdisp"; - version = "2.4.1"; + version = "2.5.1"; src = fetchFromGitHub { owner = "jcupitt"; repo = "vipsdisp"; rev = "v${version}"; - sha256 = "sha256-zftvjH5hyWBpjRe5uQBDAqbThQaQFHz0UhzM5q8hSk8="; + hash = "sha256-hx7daXVarV4JdxZfwnTHsuxxijCRP17gkOjicI3EFlM="; }; postPatch = '' diff --git a/pkgs/applications/graphics/xpano/default.nix b/pkgs/applications/graphics/xpano/default.nix new file mode 100644 index 000000000000..a2ecaec7c37a --- /dev/null +++ b/pkgs/applications/graphics/xpano/default.nix @@ -0,0 +1,66 @@ +{ lib +, stdenv +, fetchFromGitHub +, cmake +, pkg-config +, ninja +, opencv +, SDL2 +, gtk3 +, catch2_3 +, spdlog +, exiv2 +, wrapGAppsHook +}: + +stdenv.mkDerivation rec { + pname = "xpano"; + version = "0.16.1"; + + src = fetchFromGitHub { + owner = "krupkat"; + repo = pname; + rev = "v${version}"; + sha256 = "1f95spf7bbbdvbr4gqfyrs161049jj1wnkvf5wgsd0ga3vb15mcj"; + fetchSubmodules = true; + }; + + patches = [ + # force install desktop + icon files + ./skip_prefix_check.patch + ]; + + nativeBuildInputs = [ + cmake + ninja + pkg-config + wrapGAppsHook + ]; + + buildInputs = [ + opencv + SDL2 + gtk3 + spdlog + # exiv2 # TODO: enable when 0.28.0 is available + ]; + + checkInputs = [ + catch2_3 + ]; + + doCheck = true; + + cmakeFlags = [ + "-DBUILD_TESTING=ON" + ]; + + meta = with lib; { + description = "A panorama stitching tool"; + homepage = "https://krupkat.github.io/xpano/"; + changelog = "https://github.com/krupkat/xpano/releases/tag/v${version}"; + license = licenses.gpl3Plus; + maintainers = with maintainers; [ krupkat ]; + platforms = platforms.linux; + }; +} diff --git a/pkgs/applications/graphics/xpano/skip_prefix_check.patch b/pkgs/applications/graphics/xpano/skip_prefix_check.patch new file mode 100644 index 000000000000..496cbc718bef --- /dev/null +++ b/pkgs/applications/graphics/xpano/skip_prefix_check.patch @@ -0,0 +1,18 @@ +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -167,7 +167,6 @@ install(FILES + TYPE BIN + ) + +-if(CMAKE_INSTALL_PREFIX MATCHES "^/usr.*|^/app.*") + install(FILES + "misc/build/linux/xpano.desktop" + DESTINATION "${CMAKE_INSTALL_PREFIX}/share/applications" +@@ -184,7 +183,6 @@ if(CMAKE_INSTALL_PREFIX MATCHES "^/usr.*|^/app.*") + "misc/build/linux/cz.krupkat.Xpano.metainfo.xml" + DESTINATION "${CMAKE_INSTALL_PREFIX}/share/metainfo" + ) +-endif() + + install(DIRECTORY + "${CMAKE_SOURCE_DIR}/misc/assets" |