From f7dccea6d9e4844fac7fa4aef7b5ed706c04e362 Mon Sep 17 00:00:00 2001 From: TomaSajt <62384384+TomaSajt@users.noreply.github.com> Date: Thu, 25 Jul 2024 22:36:51 +0200 Subject: [PATCH] lanraragi: 0.9.10 -> 0.9.21 --- pkgs/by-name/la/lanraragi/install.patch | 16 +++++++--------- pkgs/by-name/la/lanraragi/package.nix | 4 ++-- 2 files changed, 9 insertions(+), 11 deletions(-) diff --git a/pkgs/by-name/la/lanraragi/install.patch b/pkgs/by-name/la/lanraragi/install.patch index 1f99a38892b5..42138483389a 100644 --- a/pkgs/by-name/la/lanraragi/install.patch +++ b/pkgs/by-name/la/lanraragi/install.patch @@ -1,5 +1,5 @@ diff --git a/tools/install.pl b/tools/install.pl -index b7c7adb..a63de58 100644 +index f09218f..a63de58 100644 --- a/tools/install.pl +++ b/tools/install.pl @@ -9,6 +9,7 @@ use Config; @@ -10,7 +10,7 @@ index b7c7adb..a63de58 100644 #Vendor dependencies my @vendor_css = ( -@@ -90,34 +91,6 @@ if ( $ENV{HOMEBREW_FORMULA_PREFIX} ) { +@@ -90,32 +91,6 @@ if ( $ENV{HOMEBREW_FORMULA_PREFIX} ) { $cpanopt = " -l " . $ENV{HOMEBREW_FORMULA_PREFIX} . "/libexec"; } @@ -30,11 +30,9 @@ index b7c7adb..a63de58 100644 - -#Check for GhostScript -say("Checking for GhostScript..."); --if ( can_run('gs') ) { -- say("OK!"); --} else { -- warn 'NOT FOUND! PDF support will not work properly. Please install the "gs" tool.'; --} +-can_run('gs') +- or warn 'NOT FOUND! PDF support will not work properly. Please install the "gs" tool.'; +-say("OK!"); - -#Check for libarchive -say("Checking for libarchive..."); @@ -45,7 +43,7 @@ index b7c7adb..a63de58 100644 #Check for PerlMagick say("Checking for ImageMagick/PerlMagick..."); my $imgk; -@@ -137,37 +110,11 @@ if ($@) { +@@ -135,37 +110,11 @@ if ($@) { say("OK!"); } @@ -83,7 +81,7 @@ index b7c7adb..a63de58 100644 make_path getcwd . "/public/css/vendor"; make_path getcwd . "/public/css/webfonts"; make_path getcwd . "/public/js/vendor"; -@@ -214,19 +161,3 @@ sub cp_node_module { +@@ -212,19 +161,3 @@ sub cp_node_module { } diff --git a/pkgs/by-name/la/lanraragi/package.nix b/pkgs/by-name/la/lanraragi/package.nix index 91289c816b46..ff32a96d78fd 100644 --- a/pkgs/by-name/la/lanraragi/package.nix +++ b/pkgs/by-name/la/lanraragi/package.nix @@ -10,13 +10,13 @@ buildNpmPackage rec { pname = "lanraragi"; - version = "0.9.10"; + version = "0.9.21"; src = fetchFromGitHub { owner = "Difegue"; repo = "LANraragi"; rev = "v.${version}"; - hash = "sha256-mW2cVd+SPbjc/+b0KY3je1eqw5ZT/GKFruE4Y/eFdD4="; + hash = "sha256-2YdQeBW1MQiUs5nliloISaxG0yhFJ6ulkU/Urx8PN3Y="; }; patches = [