fuse-7z-ng: drop

This commit is contained in:
Jack Rosenberg
2026-06-05 16:45:11 +02:00
parent e91830af5e
commit fc59779526
4 changed files with 1 additions and 88 deletions

View File

@@ -1,11 +0,0 @@
pthread_yield() is not used by fuse-7z-ng, fails configure.
--- a/configure.ac
+++ b/configure.ac
@@ -25,7 +25,6 @@ AC_CHECK_HEADERS([fcntl.h stddef.h string.h unistd.h dlfcn.h dirent.h])
AC_CHECK_FUNCS([memset memmove])
AC_CHECK_FUNCS([sqrt])
-AC_CHECK_LIB([pthread], [pthread_yield],,AC_MSG_ERROR([pthread library not found.]))
AC_CHECK_LIB([dl], [dlclose])
PKG_CHECK_MODULES([fuse], [fuse >= 2.8])

View File

@@ -1,64 +0,0 @@
{
lib,
stdenv,
fetchFromGitHub,
fuse,
p7zip,
autoconf,
automake,
pkg-config,
makeWrapper,
}:
stdenv.mkDerivation rec {
pname = "fuse-7z-ng";
version = "0-unstable-2014-06-08";
src = fetchFromGitHub {
owner = "kedazo";
repo = "fuse-7z-ng";
rev = "eb5efb1f304c2b7bc2e0389ba06c9bf2ac4b932c";
sha256 = "17v1gcmg5q661b047zxjar735i4d3508dimw1x3z1pk4d1zjhp3x";
};
patches = [
# Drop unused pthread library. pthread_yield()
# fails the configure.
./no-pthread.patch
# Zero-initialize unset fields of `struct fuse_operations` so that
# garbage values don't cause segfault.
# <https://github.com/kedazo/fuse-7z-ng/pull/8>
./zero-init-fuse-operations.patch
];
nativeBuildInputs = [
pkg-config
makeWrapper
autoconf
automake
];
buildInputs = [ fuse ];
preConfigure = "./autogen.sh";
libs = lib.makeLibraryPath [ p7zip ]; # 'cause 7z.so is loaded manually
postInstall = ''
wrapProgram $out/bin/fuse-7z-ng --suffix LD_LIBRARY_PATH : "${libs}/p7zip"
mkdir -p $out/share/doc/fuse-7z-ng
cp TODO README NEWS COPYING ChangeLog AUTHORS $out/share/doc/fuse-7z-ng/
'';
meta = {
inherit (src.meta) homepage;
description = "FUSE-based filesystem that uses the p7zip library";
longDescription = ''
fuse-7z-ng is a FUSE file system that uses the p7zip
library to access all archive formats supported by 7-zip.
This project is a fork of fuse-7z ( https://gitorious.org/fuse-7z/fuse-7z ).
'';
platforms = lib.platforms.linux;
license = lib.licenses.gpl3Plus;
mainProgram = "fuse-7z-ng";
};
}

View File

@@ -1,13 +0,0 @@
Zero-initialize unset fields of `struct fuse_operations`.
<https://github.com/kedazo/fuse-7z-ng/pull/8>
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -195,7 +195,7 @@ main (int argc, char **argv)
mkdir(param.mountpoint, 0750);
}
- struct fuse_operations fuse7z_oper;
+ struct fuse_operations fuse7z_oper = {0};
fuse7z_oper.init = fuse7z_init;
fuse7z_oper.destroy = fuse7z_destroy;
fuse7z_oper.readdir = fuse7z_readdir;

View File

@@ -814,6 +814,7 @@ mapAliases {
freerdpUnstable = throw "'freerdpUnstable' has been renamed to/replaced by 'freerdp'"; # Converted to throw 2025-10-27
frozen-bubble = throw "'frozen-bubble' has been removed because it is broken and unmaintained"; # Added 2026-05-17
frugal = throw "'frugal' was removed because upstream has been pulled"; # Added 2025-12-20
fuse-7z-ng = throw "'fuse-7z-ng' was removed as it is unmaintained, and depends on fuse2"; # Added 2026-05-05
fusee-launcher = throw "'fusee-launcher' was removed as upstream removed the original source repository fearing legal repercussions"; # Added 2025-07-05
fusionInventory = warnAlias "'fusionInventory' has been renamed to 'fusioninventory-agent'" fusioninventory-agent; # Added 2026-02-08
futuresql = throw "'futuresql' has been renamed to/replaced by 'libsForQt5.futuresql'"; # Converted to throw 2025-10-27