-
Notifications
You must be signed in to change notification settings - Fork 453
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove old IRIX conditional code #4092
Comments
CUPS.org User: mike Fixed in Subversion repository. |
"str4092.patch": Index: backend/usb-unix.c--- backend/usb-unix.c (revision 10629)
} Index: config-scripts/cups-manpages.m4--- config-scripts/cups-manpages.m4 (revision 10629)
- fi
- ;;
Index: config-scripts/cups-opsys.m4--- config-scripts/cups-opsys.m4 (revision 10629)
- The BOOTP protocol is used when you need to provide additional information such as the location of a configuration file to the network interface. Using the standard bootpd(8) program supplied with UNIX you simply need to add a line to the /etc/bootptab file; for IRIX: + The BOOTP protocol is used when you need to provide additional information such as the location of a configuration file to the network interface. Using the standard bootpd(8) program supplied with UNIX you simply need to add a line to the /etc/bootptab file: -myprinter 08:00:69:00:12:34 192.0.2.2 myprinter.boot ## - -Newer versions of bootpd use a different format: -
Index: doc/help/spec-cmp.html--- doc/help/spec-cmp.html (revision 10629) Finally, the tools/testrpm and tools/testosx scripts can be used to create binary packages from the current working copy for testing on Linux and OS X, respectively: Index: doc/help/ref-cupsd-conf.html.in--- doc/help/ref-cupsd-conf.html.in (revision 10629)
-CUPS 1.1.13PrintcapGUI-Examples-
-Description- The -There is no default program.CUPS 1.1.21ReloadTimeoutExamplesIndex: systemv/lpstat.c--- systemv/lpstat.c (revision 10629) -#ifdef __sgi
- op = 'b';
- */- check_dest(argv[0], argv[i] + 2, &num_dests, &dests);
- argv[0]);
@@ -299,18 +267,7 @@
-#ifdef __sgi - op = 'l';
- check_dest(argv[0], argv[i] + 2, &num_dests, &dests);
-#ifdef __sgi -#endif /* __sgi *//*
-# if defined(sgi) || (defined(__APPLE) && !defined(_SOCKLEN_T))
- */
@@ -96,10 +92,6 @@ @@ -720,9 +712,6 @@
cupsdLogMessage(CUPSD_LOG_DEBUG2, "cupsdDeletePrinter(p=%p(%s), update=%d)", /*
- */-#ifdef __sgi
- unlink(filename);
- unlink(filename);
- unlink(filename);
- unlink(filename);
- unlink(filename);
@@ -1657,14 +1621,6 @@
-#ifdef __sgi
- */
cupsdCloseCreatedConfFile(fp, filename); add_printer_defaults(p); -#ifdef __sgi
- */
@@ -2653,10 +2600,6 @@
-#ifdef __sgi
/* -#ifdef __sgi
- */
@@ -5079,262 +5012,7 @@ -#ifdef __sgi
- */-static void
- ipp_attribute_t attr; / Attribute data */
- */- snprintf(filename, sizeof(filename), "/var/spool/lp/interface/%s", p->name);
- cupsFilePuts(fp, "#!/bin/sh\n");
- cupsFilePuts(fp, "NAME="Remote Destination"\n");
- cupsFilePuts(fp, "TYPE=MonoPostScript\n");
- cupsFilePrintf(fp, "HOSTPRINTER=%s\n", p->name);- cupsFileClose(fp);
- }
- */- snprintf(filename, sizeof(filename), "/var/spool/lp/member/%s", p->name);
- cupsFilePuts(fp, "/dev/null\n");- cupsFileClose(fp);
- }
- */- snprintf(filename, sizeof(filename), "/var/spool/lp/gui_interface/ELF/%s.gui", p->name);
- cupsFilePrintf(fp, "%s -d %s -o "$3"\n", PrintcapGUI, p->name);- cupsFileClose(fp);
- }
- */- snprintf(filename, sizeof(filename), "/var/spool/lp/pod/%s.config", p->name);
- cupsFilePuts(fp, "Status Update Wait | 10 seconds\n");- cupsFileClose(fp);
-/*
- */-static void
- int tag; /* Status tag value */
- */- snprintf(filename, sizeof(filename), "/var/spool/lp/pod/%s.status", p->name);
- cupsFilePrintf(fp, "Information | 04 00 00 | %s\n", p->state_message);- cupsFileClose(fp);
- }
- */- snprintf(filename, sizeof(filename), "/var/spool/lp/activeicons/%s", p->name);
- tag = 66272;
- tag |= 8;
- tag |= 1;
- tag |= 2;
- cupsFilePrintf(fp, "#Tag %d\n", tag);- cupsFileClose(fp);
- }
- */- snprintf(filename, sizeof(filename), "/var/spool/lp/default");
- cupsFilePrintf(fp, "%s\n", DefaultPrinter->name);- cupsFileClose(fp);
-/_
Index: scheduler/cups.sh.in--- scheduler/cups.sh.in (revision 10629) Startup/shutdown script for CUPS.-# Copyright 2007-2011 by Apple Inc. Copyright 1997-2007 by Easy Software Products, all rights reserved.These coded instructions, statements, and computer programs are the@@ -35,18 +35,6 @@ OS-Dependent Configurationcase "
- IS_ON=/sbin/chkconfig
- ;;
@@ -147,7 +135,7 @@
-#ifdef __sgi
- */
- fchown(cupsFileNumber(fp), User, Group);
@@ -1131,18 +1105,6 @@ -#ifdef __sgi
- */
|
Version: 1.7-feature
CUPS.org User: mike
IRIX hasn't been updated since 2006, and EOL for MIPS-based SGI workstations is 2013. Current SGI offerings are Linux-based, so let's remove all of the IRIX-specific code from CUPS.
The text was updated successfully, but these errors were encountered: