Commit Graph

261 Commits

Author SHA1 Message Date
Paul Meyer
2c97a5caa7 maintainers: remove jfrankenau
due to inactivity.
2023-11-20 08:44:58 +01:00
Artturi
713b8c1531
Merge pull request #200773 from phrogg/mfc465cn 2023-11-18 20:47:03 +02:00
Phil R
b79483b619 mfc465cn{lpr,cupswrapper}: init at 1.0.1-1 2023-11-18 20:45:28 +02:00
Artturi
2d24100bcf
Merge pull request #246429 from marcovergueira/dcp375cw-lpr-cupswrapper 2023-11-18 17:52:35 +02:00
Adam Joseph
c7e0f6b905 treewide: s_targetPlatform_hostPlatform_ in non-compiler packages
stdenv.targetPlatform really shouldn't be used by software that
doesn't generate or manipulate binaries.  I reviewed all uses of
targetPlatform outside of pkgs/development/compilers and pkgs/stdenv
and replaced those which weren't involved in something which fits
these criteria.
2023-11-17 08:07:34 +00:00
github-actions[bot]
4c838ddf14
Merge master into staging-next 2023-10-27 18:01:08 +00:00
Nicolas Benes
80c6277f6a cups-kyodialog: 9.2-20220928 -> 9.3-20230720 2023-10-26 21:47:07 +02:00
github-actions[bot]
de49fc16bc
Merge staging-next into staging 2023-10-16 12:01:54 +00:00
Weijia Wang
e2246cd1c7
Merge pull request #241283 from u2x1/master
cups-brother-hl2260d: init at 3.2.0-1
2023-10-15 23:36:25 +02:00
github-actions[bot]
7017e013bf
Merge staging-next into staging 2023-10-05 12:02:16 +00:00
Anderson Torres
492414af5f treewide: remove cstrahan from meta.maintainers - part 1
All the packages here are now orphaned.
2023-10-04 22:20:58 -03:00
Maximilian Bosch
8bc5104a6e
treewide: refactor .attrs.sh detection
When specifying the `builder` attribute in `stdenv.mkDerivation`, this
will be effectively transformed into

    builtins.derivation {
      builder = stdenv.shell;
      args = [ "-e" builder ];
    }

This also means that `default-builder.sh` is never sourced and as a
result it's not guaranteed that `$NIX_ATTRS_SH_FILE` is set to a correct
location[1].

Also, we need to source `.attrs.sh` to source `$stdenv`. So, the
following is done now:

* If `$NIX_ATTRS_SH_FILE` points to a correct location, then use it.
  Directly using `.attrs.sh` is problematic for `nix-shell(1)` usage
  (see previous commit for more context), so prefer the environment
  variable if possible.

* Otherwise, if `.attrs.sh` exists, then use it. See [1] for when this
  can happen.

* If neither applies, it can be assumed that `__structuredAttrs` is
  turned off and thus nothing needs to be done.

[1] It's possible that it doesn't exist at all - in case of Nix 2.3 or
    it can point to a wrong location on older Nix versions with a bug in
    `__structuredAttrs`.
2023-10-04 18:36:57 +02:00
u2x1
91281e7f6b cups-brother-hl2260d: init at 3.2.0-1 2023-09-07 11:46:26 +08:00
Yarny0
22ee1b2f27
foomatic-db: unstable-2023-08-02 -> unstable-2023-09-02 (#253424)
Adds approx. 30 ppd files for Ricoh printers.
2023-09-05 19:19:05 +02:00
Pol Dellaiera
ec6398fc2f
Merge pull request #245727 from jaduff/fflinuxprint
fflinuxprint: init at 1.1.3-4
2023-08-16 17:04:52 +02:00
James Duff
5cfd2d03aa
fflinuxprint: init at 1.1.3-4 2023-08-16 16:22:26 +02:00
Weijia Wang
e8ff79301e
Merge pull request #246627 from wegank/fxlinuxprint-src-2
fxlinuxprint{,util}: fix src again
2023-08-07 14:50:08 +02:00
Yarny0
06e3b76b81 foomatic-db: unstable 2023-06-30 -> 2023-08-02
Just switches the driver of the `NRG` printer `IM C2510`.
2023-08-03 20:15:51 +02:00
Weijia Wang
f09adcd957 fxlinuxprint{,util}: fix src again 2023-08-01 21:07:25 +02:00
Marco Vergueira
b4c4f471a6 dcp375cw{lpr,-cupswrapper}: init at 1.1.3 2023-07-31 20:27:24 +01:00
Yarny0
610f826d4a foomatic-db: unstable 2023-03-30 -> 2023-06-30
Adds approx. 60 ppd files for printers from
Gestetner, NRG and Ricoh.
2023-07-01 21:55:36 +02:00
Lukas Werling
96bd243f4e canon-cups-ufr2: Add myself as maintainer 2023-05-30 20:51:38 +02:00
Lukas Werling
ec2fff31a8 canon-cups-ufr2: Remove 32-bit x86 libraries
Canon's official RPM packages don't include 32-bit libraries anymore, so
I don't think they are needed in any way. Even if they were still useful
in some way, they are not packaged correctly anymore.
2023-05-30 20:32:35 +02:00
Lukas Werling
b78630ad3b canon-cups-ufr2: Fix printing on USB printers
Lots of little issues, mostly due to new applications that weren't
patched properly yet and have references to /usr/bin. The driver now
successfully prints on my Canon iR1022, and probably other similar USB
printers.
2023-05-30 20:25:23 +02:00
Lukas Werling
657e05cab0 canon-cups-ufr2: Remove libglade-2 buildInput
Despite being mentioned by the README, this dependency appears to be
unused.
2023-05-26 12:11:16 +02:00
Lukas Werling
b196c7eb8b canon-cups-ufr2: Implement build for aarch64
This also replaces proot with libredirect since I could not get proot to
build under aarch64.
2023-05-26 12:07:59 +02:00
Lukas Werling
bf6797fc1c canon-cups-ufr2: 5.40 -> 5.70 2023-05-17 15:15:55 +02:00
Sandro
2e532b8b26
Merge pull request #222837 from aplund/brother-hl-l3230cdw
cups-drivers: Brother HL-L3230CDW driver version 1.0.2-0
2023-04-18 16:54:35 +02:00
Austin Lund
90e2c6f570 cups-brother-hll3230cdw: init at version 1.0.2
Brother HL-L3230CDW driver for CUPS.
2023-04-16 08:18:08 +10:00
Yarny0
f81afb13d4 foomatic-db: unstable-2022-10-03 -> unstable-2023-03-30
introduces a couple of ppd files for Ricoh printers
2023-04-01 09:00:13 +02:00
Yarny0
47bcfe5162 foomatic-db{,-nonfree,-engine}: add meta.changelog 2023-04-01 08:59:42 +02:00
Martin Weinelt
f7d6afe0db
mfc5890cncupswrapper: Fix illegal meta key 2023-03-26 16:02:26 +02:00
Martin Ramm
38ac9d077a mfc5890cncupswrapper: init at 1.1.2-2 2023-03-26 14:43:05 +02:00
Martin Ramm
e2871a593c mfc5890cnlpr: init at 1.1.2-2 2023-03-19 00:51:48 +01:00
Artturin
f9fdf2d402 treewide: move NIX_CFLAGS_COMPILE to the env attrset
with structuredAttrs lists will be bash arrays which cannot be exported
which will be a issue with some patches and some wrappers like cc-wrapper

this makes it clearer that NIX_CFLAGS_COMPILE must be a string as lists
in env cause a eval failure
2023-02-22 21:23:04 +02:00
Artturin
6f6cc4a22d treewide: use toString on list NIX_CFLAGS_COMPILE
with structuredAttrs lists will be bash arrays which cannot be exported
which will be a issue with some patches and some wrappers like cc-wrapper
2023-02-22 21:23:04 +02:00
Felix Buehler
cdb39a86e0 treewide: use optionalString 2023-02-13 21:52:34 +01:00
Weijia Wang
237608ca10 fxlinuxprint: fix src 2023-02-07 18:27:02 +01:00
Krzysztof Kotlenga
bf4959f1a5 mfcl8690cdwlpr: Make it installable on x86_64-linux
This seems like a strange omission, because it works without a hitch.
Tested using cups and mfcl8690cdwcupswrapper, which uses this package.
2023-01-24 21:57:04 +01:00
Jan Tojnar
5810109b42 Merge branch 'staging-next' into staging
- readline6 attribute removed from all-packages.nix in d879125d61
- readline attribute was bumped to readline82 in 50adabdd60
2023-01-02 03:04:32 +01:00
Florian
61e561d80f
cups-brother-hll2375dw: init at 4.0.0-1 (#204306)
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2022-12-30 22:01:06 +01:00
Sergei Trofimovich
092d57c076 Merge remote-tracking branch 'origin/staging-next' into staging
Conflicts:
    pkgs/development/tools/language-servers/ansible-language-server/default.nix
2022-12-28 09:35:37 +00:00
Robert Hensing
16f5747575
Merge pull request #175649 from Artturin/opt-in-structured-attrs
stdenv: support opt-in __structuredAttrs
2022-12-10 21:12:43 +01:00
Yarny0
85aeeac28d cups-pdf: add vm test 2022-12-09 22:20:09 +01:00
Yarny0
56bc902b23 cups-pdf-to-pdf: init at unstable-2021-12-22
Note that cups-pdf refuses to run without root privileges.
To use the binary, one has to either convince cups to
call it with root privileges, or install it suid root.

Also note that currently, this cups-pdf-fork produces
small pdfs with selectable text, as promised.
However, copying the text produces "garbled" text
(characters are randomly reassigned).
This is a known issue and I don't know how to fix it:

https://github.com/alexivkin/CUPS-PDF-to-PDF/issues/7
2022-12-09 22:20:08 +01:00
Artturin
c01f509e44 treewide: source .attrs in builders
if theres a source $stdenv then this is needed

for structuredAttrs
2022-12-08 21:09:02 +02:00
Sandro
fc9f1e2b48
Merge pull request #201248 from panicgh/cups-kyodialog 2022-12-05 21:05:11 +01:00
Nicolas Benes
909cfd2b8d cups-kyodialog: 8.1601 -> 9.2-20220928
* Rename `cups-kyodialog3` -> `cups-kyodialog`
  * Update from 8.1601 (2016) to 9.2 (2022) with support for more and
    recent printer models (170 vs. 373 PPD files)
  * Make Qt GUI optional to reduce closure size, Qt4 -> Qt5
  * Avoid full paths to kyodialog filters in PPD files. A PPD file is
    copied to /etc/cups/ppd/ for each configured printer and is not
    updated when the cups-kyodialog package is updated, thus,
    potentially creating dangling references to /nix/store or invoking
    the old version of the cups filters.
2022-12-01 23:53:34 +01:00
Nicolas Benes
79059c9505 cups-kyocera: fix source URL 2022-11-15 00:50:02 +01:00
Yarny0
0d36fdc66b samsung-unified-linux-driver (cups driver): call {pre,post}Install
Add `preInstall` and `postInstall` to the `installPhase` to
permit package overrides to add commands to the install phase.

Suggested by r-rmcgibbo bot in
https://github.com/NixOS/nixpkgs/pull/133537#issuecomment-897437621
2022-11-06 19:28:16 +01:00