poppler-utils: rename from poppler_utils

This commit is contained in:
Aaron Jheng 2025-02-27 16:43:46 +08:00
parent 204bd937e2
commit a2f3625d99
No known key found for this signature in database
GPG Key ID: F6A547A869D050A3
29 changed files with 64 additions and 62 deletions

View File

@ -220,7 +220,8 @@ in
'';
locations = {
"/".proxyPass = "http://127.0.0.1:${toString cfg.paste.port}";
"/mgoblin_static/".alias = "${finalPackage}/${finalPackage.python.sitePackages}/mediagoblin/static/";
"/mgoblin_static/".alias =
"${finalPackage}/${finalPackage.python.sitePackages}/mediagoblin/static/";
"/mgoblin_media/".alias = "/var/lib/mediagoblin/user_dev/media/public/";
"/theme_static/".alias = "/var/lib/mediagoblin/user_dev/theme_static/";
"/plugin_static/".alias = "/var/lib/mediagoblin/user_dev/plugin_static/";
@ -252,7 +253,7 @@ in
++ lib.optionals (cfg.settings.mediagoblin.plugins ? "mediagoblin.media_types.pdf") (
with pkgs;
[
poppler_utils
poppler-utils
unoconv
]
);

View File

@ -57,7 +57,7 @@ in
libreoffice
qpdf
ocrmypdf
poppler_utils
poppler-utils
unoconv
pngquant
tesseract

View File

@ -7,7 +7,7 @@ import ./make-test-python.nix (
{ pkgs, ... }:
{
imports = [ ./common/user-account.nix ];
environment.systemPackages = [ pkgs.poppler_utils ];
environment.systemPackages = [ pkgs.poppler-utils ];
fonts.packages = [ pkgs.dejavu_fonts ]; # yields more OCR-able pdf
services.printing.cups-pdf.enable = true;
services.printing.cups-pdf.instances = {

View File

@ -5,7 +5,7 @@
wrapQtAppsHook,
fetchFromGitHub,
addDriverRunpath,
poppler_utils,
poppler-utils,
qtxmlpatterns,
qtsvg,
libgbm,
@ -36,7 +36,7 @@ stdenv.mkDerivation rec {
git
qtPython
qtbase
poppler_utils
poppler-utils
qtxmlpatterns
qtsvg
libgbm
@ -64,9 +64,9 @@ stdenv.mkDerivation rec {
substituteInPlace src/app/translations.pri \
--replace '$$[QT_INSTALL_BINS]/$$LRELEASE' '${lib.getDev qttools}/bin/lrelease'
substituteInPlace src/app/seamly2d/mainwindowsnogui.cpp \
--replace 'define PDFTOPS "pdftops"' 'define PDFTOPS "${lib.getBin poppler_utils}/bin/pdftops"'
--replace 'define PDFTOPS "pdftops"' 'define PDFTOPS "${lib.getBin poppler-utils}/bin/pdftops"'
substituteInPlace src/libs/vwidgets/export_format_combobox.cpp \
--replace 'define PDFTOPS "pdftops"' 'define PDFTOPS "${lib.getBin poppler_utils}/bin/pdftops"'
--replace 'define PDFTOPS "pdftops"' 'define PDFTOPS "${lib.getBin poppler-utils}/bin/pdftops"'
substituteInPlace src/app/seamlyme/mapplication.cpp \
--replace 'diagrams.rcc' '../share/diagrams.rcc'
'';

View File

@ -28,7 +28,7 @@
perl,
perlPackages,
pkg-config,
poppler_utils,
poppler-utils,
python3Packages,
qtbase,
qttools,
@ -57,7 +57,7 @@ let
groff = groff;
gunzip = gzip;
iconv = libiconv;
pdftotext = poppler_utils;
pdftotext = poppler-utils;
ps2ascii = ghostscript;
sed = gnused;
tar = gnutar;

View File

@ -18,7 +18,7 @@
pantheon,
pkg-config,
poppler,
poppler_utils,
poppler-utils,
python3,
sqlite,
unar,
@ -75,7 +75,7 @@ stdenv.mkDerivation rec {
lib.makeBinPath [
unzip
unar
poppler_utils
poppler-utils
html2text
coreutils
curl

View File

@ -21,7 +21,7 @@
piper-tts,
pkg-config,
podofo,
poppler_utils,
poppler-utils,
python3Packages,
qt6,
speechd-minimal,
@ -90,7 +90,7 @@ stdenv.mkDerivation (finalAttrs: {
libusb1
piper-tts
podofo
poppler_utils
poppler-utils
qt6.qtbase
qt6.qtwayland
sqlite
@ -149,8 +149,8 @@ stdenv.mkDerivation (finalAttrs: {
runHook preInstall
export HOME=$TMPDIR/fakehome
export POPPLER_INC_DIR=${poppler_utils.dev}/include/poppler
export POPPLER_LIB_DIR=${poppler_utils.out}/lib
export POPPLER_INC_DIR=${poppler-utils.dev}/include/poppler
export POPPLER_LIB_DIR=${poppler-utils.out}/lib
export MAGICK_INC=${imagemagick.dev}/include/ImageMagick
export MAGICK_LIB=${imagemagick.out}/lib
export FC_INC_DIR=${fontconfig.dev}/include/fontconfig
@ -187,7 +187,7 @@ stdenv.mkDerivation (finalAttrs: {
preFixup =
let
popplerArgs = "--prefix PATH : ${poppler_utils.out}/bin";
popplerArgs = "--prefix PATH : ${poppler-utils.out}/bin";
in
''
for program in $out/bin/*; do

View File

@ -8,7 +8,7 @@
dune_3,
makeWrapper,
pandoc,
poppler_utils,
poppler-utils,
testers,
docfd,
}:
@ -61,7 +61,7 @@ buildDunePackage' rec {
wrapProgram $out/bin/docfd --prefix PATH : "${
lib.makeBinPath [
pandoc
poppler_utils
poppler-utils
]
}"
'';

View File

@ -11,7 +11,7 @@
imagemagick,
libtiff,
djvulibre,
poppler_utils,
poppler-utils,
ghostscript,
unpaper,
pdftk,
@ -98,7 +98,7 @@ perlPackages.buildPerlPackage rec {
--prefix PATH : "${imagemagick}/bin" \
--prefix PATH : "${libtiff}/bin" \
--prefix PATH : "${djvulibre}/bin" \
--prefix PATH : "${poppler_utils}/bin" \
--prefix PATH : "${poppler-utils}/bin" \
--prefix PATH : "${ghostscript}/bin" \
--prefix PATH : "${unpaper}/bin" \
--prefix PATH : "${pdftk}/bin"
@ -118,7 +118,7 @@ perlPackages.buildPerlPackage rec {
imagemagick
libtiff
djvulibre
poppler_utils
poppler-utils
ghostscript
unpaper
pdftk

View File

@ -4,7 +4,7 @@
fetchpatch,
ghostscript,
imagemagick,
poppler_utils,
poppler-utils,
python3,
tesseract5,
}:
@ -50,7 +50,7 @@ python3.pkgs.buildPythonApplication rec {
ghostscript
imagemagick
tesseract5
poppler_utils
poppler-utils
])
];

View File

@ -15,7 +15,7 @@
mupdf,
pkg-config,
poppler,
poppler_utils,
poppler-utils,
qpdf,
stdenv,
}:
@ -47,7 +47,7 @@ stdenv.mkDerivation rec {
libtiff
mupdf
poppler
poppler_utils
poppler-utils
qpdf
];
configureFlags = [

View File

@ -7,7 +7,7 @@
libz,
mupdf,
pkg-config,
poppler_utils,
poppler-utils,
stdenv,
}:
@ -37,9 +37,9 @@ stdenv.mkDerivation rec {
configureFlags = [
"--with-mutool-path=${mupdf}/bin/mutool"
"--with-pdftops=pdftops"
"--with-pdftops-path=${poppler_utils}/bin/pdftops"
"--with-pdftops-path=${poppler-utils}/bin/pdftops"
"--with-gs-path=${ghostscript}/bin/gs"
"--with-pdftocairo-path=${poppler_utils}/bin/pdftocairo"
"--with-pdftocairo-path=${poppler-utils}/bin/pdftocairo"
];
makeFlags = [
"CUPS_SERVERBIN=$(out)/lib/cups"

View File

@ -4,7 +4,7 @@
fetchFromSourcehut,
gobject-introspection,
gst_all_1,
poppler_utils,
poppler-utils,
python3,
xorg,
}:
@ -137,7 +137,7 @@ python.pkgs.buildPythonApplication rec {
pytestCheckHook
webtest
poppler_utils
poppler-utils
]
++ lib.flatten (lib.attrValues optional-dependencies);

View File

@ -17,7 +17,7 @@
qpdf,
tesseract5,
unpaper,
poppler_utils,
poppler-utils,
liberation_ttf,
xcbuild,
pango,
@ -73,14 +73,14 @@ let
qpdf
tesseract5
unpaper
poppler_utils
poppler-utils
];
frontend = buildNpmPackage {
pname = "paperless-ngx-frontend";
inherit version src;
nodejs = nodejs_20; # does not build with 22
nodejs = nodejs_20; # does not build with 22
postPatch = ''
cd src-ui

View File

@ -6,7 +6,7 @@
python3,
ghostscript,
qpdf,
poppler_utils,
poppler-utils,
makeBinaryWrapper,
}:
@ -16,7 +16,7 @@ let
binPath = lib.makeBinPath [
ghostscript
qpdf
poppler_utils
poppler-utils
];
in
stdenv.mkDerivation {

View File

@ -7,7 +7,7 @@
ghostscript,
imagemagick,
perl,
poppler_utils,
poppler-utils,
tesseract,
unpaper,
}:
@ -36,7 +36,7 @@ stdenv.mkDerivation {
lib.makeBinPath [
imagemagick
ghostscript
poppler_utils
poppler-utils
unpaper
tesseract
]

View File

@ -24,7 +24,7 @@
# passthru.tests
runCommand,
poppler_utils,
poppler-utils,
}:
stdenv.mkDerivation (finalAttrs: {
@ -157,7 +157,7 @@ stdenv.mkDerivation (finalAttrs: {
runCommand "${finalAttrs.pname}-test"
{
nativeBuildInputs = [
poppler_utils
poppler-utils
finalAttrs.finalPackage
];
inherit (finalAttrs) FONTCONFIG_FILE;

View File

@ -10,7 +10,7 @@
libxcrypt,
openssl,
coreutils,
poppler_utils,
poppler-utils,
tesseract,
iana-etc,
}:
@ -80,7 +80,7 @@ perlPackages.buildPerlPackage rec {
])
++ [
coreutils # date, t/basic_meta.t
poppler_utils # pdftotext, t/extracttext.t
poppler-utils # pdftotext, t/extracttext.t
tesseract # tesseract, t/extracttext.t
iana-etc # t/dnsbl_subtests.t (/etc/protocols used by Net::DNS::Nameserver)
re2c

View File

@ -7,7 +7,7 @@
extraPackages ? [ ],
optionalDeps ? [
jq
poppler_utils
poppler-utils
_7zz
ffmpeg
fd
@ -24,7 +24,7 @@
# optional deps
jq,
poppler_utils,
poppler-utils,
_7zz,
ffmpeg,
fd,

View File

@ -25,7 +25,7 @@
camelot,
pytesseract,
pytest-factoryboy,
poppler_utils,
poppler-utils,
pytest-playwright,
playwright-driver,
pnpm_9,
@ -99,7 +99,7 @@ buildPythonPackage rec {
'';
nativeCheckInputs = [
poppler_utils
poppler-utils
pytest-django
pytest-factoryboy
pytest-playwright

View File

@ -16,7 +16,7 @@
mupdf-headless,
netpbm,
numpy,
poppler_utils,
poppler-utils,
pytestCheckHook,
runCommand,
scipy,
@ -75,7 +75,7 @@ buildPythonPackage rec {
mupdf-headless
netpbm
numpy
poppler_utils
poppler-utils
pytestCheckHook
scipy
];

View File

@ -3,7 +3,7 @@
buildPythonPackage,
fetchPypi,
pillow,
poppler_utils,
poppler-utils,
pythonOlder,
}:
@ -20,10 +20,10 @@ buildPythonPackage rec {
};
postPatch = ''
# replace all default values of paths to poppler_utils
# replace all default values of paths to poppler-utils
substituteInPlace pdf2image/pdf2image.py \
--replace-fail 'poppler_path: Union[str, PurePath] = None' \
'poppler_path: Union[str, PurePath] = "${poppler_utils}/bin"'
'poppler_path: Union[str, PurePath] = "${poppler-utils}/bin"'
'';
propagatedBuildInputs = [ pillow ];

View File

@ -2,7 +2,7 @@
lib,
buildPythonPackage,
fetchPypi,
poppler_utils,
poppler-utils,
netpbm,
}:
@ -18,7 +18,7 @@ buildPythonPackage rec {
};
propagatedBuildInputs = [
poppler_utils
poppler-utils
netpbm
];

View File

@ -24,7 +24,7 @@
perl,
pkg-config,
poppler,
poppler_utils,
poppler-utils,
qpdf,
stdenv,
which,

View File

@ -3,7 +3,7 @@
buildRubyGem,
bundlerEnv,
ruby,
poppler_utils,
poppler-utils,
}:
let
deps = bundlerEnv rec {
@ -31,7 +31,7 @@ buildRubyGem rec {
propagatedBuildInputs = [ deps ];
preFixup = ''
wrapProgram $out/bin/anystyle --prefix PATH : ${poppler_utils}/bin
wrapProgram $out/bin/anystyle --prefix PATH : ${poppler-utils}/bin
'';
meta = with lib; {

View File

@ -57,7 +57,7 @@
pdftk,
perl,
pgpdump,
poppler_utils,
poppler-utils,
procyon,
python3,
qemu,
@ -232,7 +232,7 @@ python.pkgs.buildPythonApplication rec {
openssh
pdftk
perl
poppler_utils
poppler-utils
procyon
qemu
R

View File

@ -6,7 +6,7 @@
makeWrapper,
ffmpeg,
pandoc,
poppler_utils,
poppler-utils,
ripgrep,
Security,
zip,
@ -17,7 +17,7 @@ let
path = [
ffmpeg
pandoc
poppler_utils
poppler-utils
ripgrep
zip
fzf
@ -46,7 +46,7 @@ rustPlatform.buildRustPackage rec {
nativeBuildInputs = [
makeWrapper
poppler_utils
poppler-utils
];
buildInputs = lib.optional stdenv.hostPlatform.isDarwin Security;

View File

@ -1214,6 +1214,7 @@ mapAliases {
PlistCpp = plistcpp; # Added 2024-01-05
pocket-updater-utility = pupdate; # Added 2024-01-25
poppler_utils = poppler-utils; # Added 2025-02-27
powerline-rs = throw "'powerline-rs' has been removed due to lack of upstream maintenance"; # Added 2025-01-26
prismlauncher-qt5 = throw "'prismlauncher-qt5' has been removed from nixpkgs. Please use 'prismlauncher'"; # Added 2024-04-20
prismlauncher-qt5-unwrapped = throw "'prismlauncher-qt5-unwrapped' has been removed from nixpkgs. Please use 'prismlauncher-unwrapped'"; # Added 2024-04-20

View File

@ -10198,7 +10198,7 @@ with pkgs;
suffix = "min";
};
poppler_utils = poppler.override {
poppler-utils = poppler.override {
suffix = "utils";
utils = true;
};