gutenprint-bin: move to by-name

jopejoe1 abf4e3a8 3b5ed6c7

+6 -7
+5 -5
pkgs/misc/drivers/gutenprint/bin.nix pkgs/by-name/gu/gutenprint-bin/package.nix
··· 11 usage: (sorry, its still impure but works!) 12 13 impure directory: 14 - mkdir /opt/gutenprint; sudo cp -r $(nix-build -A gutenprintBin -f $NIXPGS_ALL) /opt/gutenprint 15 16 add the following lines to bindirCmds property of printing/cupsd.nix: 17 18 - ln -s ${pkgs.gutenprintBin}/lib/cups/backend/* $out/lib/cups/backend/ 19 - ln -s ${pkgs.gutenprintBin}/lib/cups/filter/* $out/lib/cups/filter/ 20 mkdir -p $out/lib/cups/model 21 - cat ${pkgs.gutenprintBin}/ppds/Canon/Canon-PIXMA_iP4000-gutenprint.5.0.sim-en.ppd.gz |gunzip > $out/lib/cups/model/Canon-PIXMA_iP4000-gutenprint.5.0.sim-en.ppd 22 - sed -i 's@/opt/gutenprint/cups@${pkgs.gutenprintBin}/cups@' $out/lib/cups/model/Canon-PIXMA_iP4000-gutenprint.5.0.sim-en.ppd 23 24 Then rebuild your system and add your printer using the the localhost:603 cups web interface 25 select the extracted .ppd file which can be found in the model directory of
··· 11 usage: (sorry, its still impure but works!) 12 13 impure directory: 14 + mkdir /opt/gutenprint; sudo cp -r $(nix-build -A gutenprint-bin -f $NIXPGS_ALL) /opt/gutenprint 15 16 add the following lines to bindirCmds property of printing/cupsd.nix: 17 18 + ln -s ${pkgs.gutenprint-bin}/lib/cups/backend/* $out/lib/cups/backend/ 19 + ln -s ${pkgs.gutenprint-bin}/lib/cups/filter/* $out/lib/cups/filter/ 20 mkdir -p $out/lib/cups/model 21 + cat ${pkgs.gutenprint-bin}/ppds/Canon/Canon-PIXMA_iP4000-gutenprint.5.0.sim-en.ppd.gz |gunzip > $out/lib/cups/model/Canon-PIXMA_iP4000-gutenprint.5.0.sim-en.ppd 22 + sed -i 's@/opt/gutenprint/cups@${pkgs.gutenprint-bin}/cups@' $out/lib/cups/model/Canon-PIXMA_iP4000-gutenprint.5.0.sim-en.ppd 23 24 Then rebuild your system and add your printer using the the localhost:603 cups web interface 25 select the extracted .ppd file which can be found in the model directory of
+1
pkgs/top-level/aliases.nix
··· 918 gtkperf = throw "'gtkperf' has been removed due to lack of maintenance upstream"; # Added 2024-09-14 919 guardian-agent = throw "'guardian-agent' has been removed, as it hasn't been maintained upstream in years and accumulated many vulnerabilities"; # Added 2024-06-09 920 guile-disarchive = disarchive; # Added 2023-10-27 921 922 ### H ### 923
··· 918 gtkperf = throw "'gtkperf' has been removed due to lack of maintenance upstream"; # Added 2024-09-14 919 guardian-agent = throw "'guardian-agent' has been removed, as it hasn't been maintained upstream in years and accumulated many vulnerabilities"; # Added 2024-06-09 920 guile-disarchive = disarchive; # Added 2023-10-27 921 + gutenprintBin = gutenprint-bin; # Added 2025-08-21 922 923 ### H ### 924
-2
pkgs/top-level/all-packages.nix
··· 15322 15323 gutenprint = callPackage ../misc/drivers/gutenprint { }; 15324 15325 - gutenprintBin = callPackage ../misc/drivers/gutenprint/bin.nix { }; 15326 - 15327 dcp375cwlpr = (pkgsi686Linux.callPackage ../misc/cups/drivers/brother/dcp375cw { }).driver; 15328 15329 dcp375cw-cupswrapper = (callPackage ../misc/cups/drivers/brother/dcp375cw { }).cupswrapper;
··· 15322 15323 gutenprint = callPackage ../misc/drivers/gutenprint { }; 15324 15325 dcp375cwlpr = (pkgsi686Linux.callPackage ../misc/cups/drivers/brother/dcp375cw { }).driver; 15326 15327 dcp375cw-cupswrapper = (callPackage ../misc/cups/drivers/brother/dcp375cw { }).cupswrapper;