polar-bookshelf1: drop

This package has seen no upstream changes since March 2020 [1] and
vendors Electron version 7, which has been EOL since August 2020 [2]
and ships with the ancient Chromium version 78 [3].

[1] https://sourceforge.net/projects/polar-bookshelf.mirror/files/
[2] https://endoflife.date/electron
[3] https://www.electronjs.org/blog/electron-7-0
This commit is contained in:
Tom Hunze
2026-09-01 23:11:03 +02:00
parent fec611939d
commit 1784bc983a
2 changed files with 1 additions and 121 deletions

View File

@@ -1,121 +0,0 @@
{
lib,
stdenv,
fetchurl,
alsa-lib,
at-spi2-atk,
atk,
autoPatchelfHook,
cairo,
cups,
curl,
dbus,
dpkg,
expat,
fontconfig,
gdk-pixbuf,
glib,
glibc,
gsettings-desktop-schemas,
gtk3,
libx11,
libxscrnsaver,
libxcomposite,
libxcursor,
libxdamage,
libxext,
libxfixes,
libxi,
libxrandr,
libxrender,
libxtst,
libnghttp2,
libudev0-shim,
libxcb,
makeWrapper,
nspr,
nss,
openssl,
pango,
wrapGAppsHook3,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "polar-bookshelf1";
version = "1.100.13";
src = fetchurl {
url = "mirror://sourceforge/polar-bookshelf.mirror/v${finalAttrs.version}/polar-bookshelf-${finalAttrs.version}-amd64.deb";
hash = "sha256-TeegAq3x8LZ01KEPIlP4lTGC0a9ilnf1xX/Dqci1wEQ=";
};
buildInputs = [
alsa-lib
at-spi2-atk
atk
cairo
cups
dbus
expat
fontconfig
gdk-pixbuf
glib
gsettings-desktop-schemas
gtk3
libx11
libxscrnsaver
libxcomposite
libxcursor
libxdamage
libxext
libxfixes
libxi
libxrandr
libxrender
libxtst
libxcb
nspr
nss
pango
];
nativeBuildInputs = [
autoPatchelfHook
dpkg
makeWrapper
wrapGAppsHook3
];
runtimeLibs = lib.makeLibraryPath [
libudev0-shim
glibc
curl
openssl
libnghttp2
];
installPhase = ''
mkdir -p $out/share/polar-bookshelf $out/bin $out/lib
mv opt/Polar\ Bookshelf/* $out/share/polar-bookshelf
mv $out/share/polar-bookshelf/*.so $out/lib
mv usr/share/* $out/share/
ln -s $out/share/polar-bookshelf/polar-bookshelf $out/bin/polar-bookshelf
'';
preFixup = ''
gappsWrapperArgs+=(--prefix LD_LIBRARY_PATH : "${finalAttrs.runtimeLibs}" )
# Correct desktop file `Exec`
substituteInPlace $out/share/applications/polar-bookshelf.desktop \
--replace "/opt/Polar Bookshelf/polar-bookshelf" "$out/bin/polar-bookshelf"
'';
meta = {
homepage = "https://getpolarized.io/";
description = "Personal knowledge repository for PDF and web content supporting incremental reading and document annotation";
mainProgram = "polar-bookshelf";
license = lib.licenses.gpl3Only;
maintainers = [ lib.maintainers.dansbandit ];
platforms = lib.platforms.linux;
sourceProvenance = with lib.sourceTypes; [ binaryNativeCode ];
};
})

View File

@@ -2031,6 +2031,7 @@ mapAliases {
podofo_0_9 = throw "'podofo_0_9' has been deprecated, it may be replaced by 'podofo0'"; # Added 2026-05-08
podofo_0_10 = warnAlias "'podofo_0_10' has been renamed to 'podofo0'" podofo0; # Added 2026-05-08
podofo_1_0 = throw "'podofo_1_0' has been deprecated in favour of 'podofo'"; # Added 2026-05-08
polar-bookshelf1 = throw "'polar-bookshelf1' has been removed as it was unmaintained upstream and vendoring an EOL version of Electron"; # Added 2026-09-01
polar-bookshelf = throw "'polar-bookshelf' has been removed as it was unmaintained upstream and vendoring an EOL version of Electron"; # Added 2026-09-01
polipo = throw "'polipo' has been removed as it is unmaintained upstream"; # Added 2025-05-18
polyml56 = throw "'polyml56' has been deprecated in favor of polyml"; # Added 2026-06-01