podofo_0_9: drop, podofo_0_10 -> podofo0, podofo_1_0 -> podofo

This commit is contained in:
kuflierl
2026-05-08 16:16:40 +02:00
parent 26f9618718
commit 27239792dd
5 changed files with 4 additions and 85 deletions
-82
View File
@@ -1,82 +0,0 @@
{
lib,
stdenv,
fetchFromGitHub,
cmake,
zlib,
freetype,
libjpeg,
libtiff,
fontconfig,
openssl,
libpng,
lua5,
pkg-config,
libidn,
}:
stdenv.mkDerivation (finalAttrs: {
version = "0.9.8";
pname = "podofo";
src = fetchFromGitHub {
owner = "podofo";
repo = "podofo";
rev = finalAttrs.version;
hash = "sha256-VGsACeCC8xKC1n/ackT576ZU3ZR1LAw8H0l/Q9cH27s=";
};
outputs = [
"out"
"dev"
"lib"
];
nativeBuildInputs = [
cmake
pkg-config
];
buildInputs = [
zlib
freetype
libjpeg
libtiff
fontconfig
openssl
libpng
libidn
lua5
];
cmakeFlags = [
"-DPODOFO_BUILD_SHARED=ON"
"-DPODOFO_BUILD_STATIC=OFF"
"-DCMAKE_BUILD_WITH_INSTALL_NAME_DIR=ON"
];
postPatch = ''
# Use GNU directories to fix multiple outputs
failNoMatches='t yes; b no; :yes h; :no p; $ {x; /./{x;q}; q1}'
sed -ni src/podofo/CMakeLists.txt \
-e 's/LIBDIRNAME/CMAKE_INSTALL_LIBDIR/' -e "$failNoMatches"
sed -ni src/podofo/libpodofo.pc.in \
-e 's/^libdir=.*/libdir=@CMAKE_INSTALL_LIBDIR@/' -e "$failNoMatches"
substituteInPlace {src/podofo/,./}CMakeLists.txt \
--replace-fail "CMAKE_MINIMUM_REQUIRED(VERSION 2.6)" "cmake_minimum_required(VERSION 3.10)"
'';
meta = {
homepage = "https://podofo.sourceforge.net";
description = "Library to work with the PDF file format";
platforms = lib.platforms.all;
license = with lib.licenses; [
gpl2Plus
lgpl2Plus
];
maintainers = with lib.maintainers; [
kuflierl
];
};
})
+4 -1
View File
@@ -1695,7 +1695,10 @@ mapAliases {
pn = throw "'pn' has been removed as upstream was archived in 2020"; # Added 2025-10-17
poac = throw "'poac' has been renamed to/replaced by 'cabinpkg'"; # Converted to throw 2025-10-27
pocket-updater-utility = throw "'pocket-updater-utility' has been renamed to/replaced by 'pupdate'"; # Converted to throw 2025-10-27
podofo010 = throw "'podofo010' has been renamed to/replaced by 'podofo_0_10'"; # Converted to throw 2025-10-27
podofo010 = throw "'podofo010' has been renamed to 'podofo0'"; # Converted to throw 2025-10-27
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
polipo = throw "'polipo' has been removed as it is unmaintained upstream"; # Added 2025-05-18
polonium = throw "'polonium' has been removed, as Plasma 5 has reached end of life."; # Added 2026-05-01
polypane = throw "'polypane' has been removed due to lack of maintenance in nixpkgs"; # Added 2025-06-25
-2
View File
@@ -7049,8 +7049,6 @@ with pkgs;
place-cursor-at = haskell.lib.compose.justStaticExecutables haskellPackages.place-cursor-at;
podofo = podofo_1_0;
poppler = callPackage ../development/libraries/poppler { lcms = lcms2; };
poppler_gi = lowPrio (