lanraragi: 0.9.21 -> 0.9.41 (#433491)

This commit is contained in:
Toma 2025-08-18 16:00:42 +02:00 committed by GitHub
commit df6e7e7fd3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 23 additions and 18 deletions

View File

@ -86,15 +86,16 @@ index ee29c507..6bdfc1bd 100644
# Folder location can be overriden by LRR_LOG_DIRECTORY
if ( $ENV{LRR_LOG_DIRECTORY} ) {
diff --git a/lib/LANraragi/Utils/TempFolder.pm b/lib/LANraragi/Utils/TempFolder.pm
index 792b1c1b..f0eb341b 100644
index a5ab8a83..64a56255 100644
--- a/lib/LANraragi/Utils/TempFolder.pm
+++ b/lib/LANraragi/Utils/TempFolder.pm
@@ -20,7 +20,7 @@ our @EXPORT_OK = qw(get_temp get_tempsize clean_temp_full clean_temp_partial);
@@ -13,7 +13,7 @@ our @EXPORT_OK = qw(get_temp);
#Get the current tempfolder.
#This can be called from any process safely as it uses FindBin.
sub get_temp {
- my $temp_folder = "$FindBin::Bin/../public/temp";
+ my $temp_folder = "./public/temp";
- my $temp_folder = "$FindBin::Bin/../temp";
+ my $temp_folder = "./temp";
# Folder location can be overriden by LRR_TEMP_DIRECTORY
if ( $ENV{LRR_TEMP_DIRECTORY} ) {

View File

@ -1,5 +1,5 @@
diff --git a/tools/install.pl b/tools/install.pl
index f09218f..a63de58 100644
index 9e155f0..a63de58 100644
--- a/tools/install.pl
+++ b/tools/install.pl
@@ -9,6 +9,7 @@ use Config;
@ -10,7 +10,7 @@ index f09218f..a63de58 100644
#Vendor dependencies
my @vendor_css = (
@@ -90,32 +91,6 @@ if ( $ENV{HOMEBREW_FORMULA_PREFIX} ) {
@@ -90,33 +91,6 @@ if ( $ENV{HOMEBREW_FORMULA_PREFIX} ) {
$cpanopt = " -l " . $ENV{HOMEBREW_FORMULA_PREFIX} . "/libexec";
}
@ -20,6 +20,7 @@ index f09218f..a63de58 100644
-IPC::Cmd->import('can_run');
-require Config::AutoConf;
-
-
-say("\r\nWill now check if all LRR software dependencies are met. \r\n");
-
-#Check for Redis
@ -43,7 +44,7 @@ index f09218f..a63de58 100644
#Check for PerlMagick
say("Checking for ImageMagick/PerlMagick...");
my $imgk;
@@ -135,37 +110,11 @@ if ($@) {
@@ -136,37 +110,11 @@ if ($@) {
say("OK!");
}
@ -81,7 +82,7 @@ index f09218f..a63de58 100644
make_path getcwd . "/public/css/vendor";
make_path getcwd . "/public/css/webfonts";
make_path getcwd . "/public/js/vendor";
@@ -212,19 +161,3 @@ sub cp_node_module {
@@ -213,19 +161,3 @@ sub cp_node_module {
}

View File

@ -11,13 +11,13 @@
buildNpmPackage rec {
pname = "lanraragi";
version = "0.9.21";
version = "0.9.41";
src = fetchFromGitHub {
owner = "Difegue";
repo = "LANraragi";
rev = "v.${version}";
hash = "sha256-2YdQeBW1MQiUs5nliloISaxG0yhFJ6ulkU/Urx8PN3Y=";
tag = "v.${version}";
hash = "sha256-HF2g8rrcV6f6ZTKmveS/yjil/mBxpvRUFyauv5f+qQ8=";
};
patches = [
@ -67,6 +67,9 @@ buildNpmPackage rec {
TimeLocal
YAMLPP
StringSimilarity
CHI
CacheFastMmap
LocaleMaketextLexicon
]
++ lib.optionals stdenv.hostPlatform.isLinux [ LinuxInotify2 ];
@ -123,7 +126,7 @@ buildNpmPackage rec {
passthru.tests.module = nixosTests.lanraragi;
meta = {
changelog = "https://github.com/Difegue/LANraragi/releases/tag/${src.rev}";
changelog = "https://github.com/Difegue/LANraragi/releases/tag/${src.tag}";
description = "Web application for archival and reading of manga/doujinshi";
homepage = "https://github.com/Difegue/LANraragi";
license = lib.licenses.mit;

View File

@ -21486,10 +21486,10 @@ with self;
Minion = buildPerlPackage {
pname = "Minion";
version = "10.30";
version = "10.31";
src = fetchurl {
url = "mirror://cpan/authors/id/S/SR/SRI/Minion-10.30.tar.gz";
hash = "sha256-twS9ZuxK8cAzlGifAsCsBIDr0GzpzKFykVAbkgLG7Rw=";
url = "mirror://cpan/authors/id/S/SR/SRI/Minion-10.31.tar.gz";
hash = "sha256-MGj5kDPmnfCBRbWEqR7iJPTpfcYkLhAiIegiCj8oUDs=";
};
propagatedBuildInputs = [
Mojolicious
@ -22446,10 +22446,10 @@ with self;
Mojolicious = buildPerlPackage {
pname = "Mojolicious";
version = "9.36";
version = "9.39";
src = fetchurl {
url = "mirror://cpan/authors/id/S/SR/SRI/Mojolicious-9.36.tar.gz";
hash = "sha256-UX7Pb9hqC3xhadVRAiOL+YUWGNt2L7ANTPDZTGJSAV8=";
url = "mirror://cpan/authors/id/S/SR/SRI/Mojolicious-9.39.tar.gz";
hash = "sha256-EwpJDXfXYTn3NM4biU1Fm64DgF+x89/dWPxE/oKvPP0=";
};
meta = {
description = "Real-time web framework";