2010-12-08 Ghee Teo <[email protected]> gnome-2-30
authorgheet
Wed, 08 Dec 2010 11:41:23 +0000
branchgnome-2-30
changeset 21139 02434d5da285
parent 21136 de7b6f1af9c6
child 21140 f36aa9861290
2010-12-08 Ghee Teo <[email protected]> Cleanup for #7005145. * base-specs/printman.spec: * copyright/SUNWgnome-print.copyright: * manpages/Makefile: * manpages/man1/gnome-printinfo.1: * patches/printman-01-menu-entry.diff: * patches/printman-02-help-dir-changed.diff: * patches/printman-03-pkgconfig.diff: * patches/printman-04-g11n-iconf-file-name.diff:
ChangeLog
base-specs/printman.spec
copyright/SUNWgnome-print.copyright
manpages/Makefile
manpages/man1/gnome-printinfo.1
manpages/man1/old/gnome-printinfo.1
patches/printman-01-menu-entry.diff
patches/printman-02-help-dir-changed.diff
patches/printman-03-pkgconfig.diff
patches/printman-04-g11n-iconf-file-name.diff
--- a/ChangeLog	Wed Dec 08 07:21:25 2010 +0000
+++ b/ChangeLog	Wed Dec 08 11:41:23 2010 +0000
@@ -1,3 +1,15 @@
+2010-12-08  Ghee Teo  <[email protected]>
+
+	Cleanup for #7005145.
+	* base-specs/printman.spec:
+	* copyright/SUNWgnome-print.copyright:
+	* manpages/Makefile:
+	* manpages/man1/gnome-printinfo.1:
+	* patches/printman-01-menu-entry.diff:
+	* patches/printman-02-help-dir-changed.diff:
+	* patches/printman-03-pkgconfig.diff:
+	* patches/printman-04-g11n-iconf-file-name.diff:
+
 2010-12-08  Dave Lin <[email protected]>
 
 	* cron-script.sh: Added option "--with-svr4" for nightly build.
--- a/base-specs/printman.spec	Wed Dec 08 07:21:25 2010 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,163 +0,0 @@
-#
-# spec file for package printman
-#
-# Copyright (c) 2003 Sun Microsystems, Inc.
-# This file and all modifications and additions to the pristine
-# package are under the same license as the package itself.
-#
-%define owner gheet
-#
-
-%define OSR LFI#105446 (gnome Exec. summary):n/a
-
-%include l10n.inc
-Name:         printman
-License:      GPL
-Group:        System/GUI/GNOME
-Version:      0.0.2
-Release:      3
-Distribution: Java Desktop System
-Vendor:       Gnome Community
-Summary:      Print manager for GNOME
-Source:       http://ftp.gnome.org/pub/GNOME/sources/printman/0.0/%{name}-%{version}.tar.bz2
-Source1:      %{name}-po-sun-%{po_sun_version}.tar.bz2
-# date:2007-02-06 type:branding owner:gheet 
-Patch1:       printman-01-menu-entry.diff
-# date:2007-02-06 type:branding owner:gheet 
-Patch2:       printman-02-help-dir-changed.diff
-# date:2007-02-06 type:branding owner:gheet 
-Patch3:       printman-03-pkgconfig.diff
-# date:2007-11-29 type:bug owner:fujiwara bugster:6311379 bugzilla:320600
-Patch4:     printman-04-g11n-iconf-file-name.diff
-URL:          http://www.gnome.org
-BuildRoot:    %{_tmppath}/%{name}-%{version}-build
-Docdir:       %{_defaultdocdir}/%{name}
-Autoreqprov:  on
-Prereq:       scrollkeeper
-
-%define libgnomeui_version 2.4.0.1
-%define scrollkeeper_version 0.3.12
-
-Requires:       libgnomeui >= %{libgnomeui_version}
-Requires:       scrollkeeper >= %{scrollkeeper_version}
-BuildRequires:  libgnomeui-devel >= %{libgnomeui_version}
-BuildRequires:  scrollkeeper >= %{scrollkeeper_version}
-
-%description
-The GNOME Print Manager application enables you to control and manage printers and 
-print jobs.
-
-%prep
-%setup -q
-%if %build_l10n
-bzcat %SOURCE1 | tar xf -
-cd po-sun; make; cd ..
-%endif
-%patch1 -p1
-%patch2 -p1
-%patch3 -p1
-%patch4 -p1
-
-%build
-intltoolize --force --copy --automake
-libtoolize --force
-aclocal $ACLOCAL_FLAGS
-automake -a -c -f
-autoconf
-
-CFLAGS="$RPM_OPT_FLAGS" \
-  ./configure \
-	--prefix=%{_prefix} \
-	--sysconfdir=%{_sysconfdir} \
-        --libexecdir=%{_libexecdir} \
-	--localstatedir=/var/lib
-make
-
-%install
-export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
-make -i install DESTDIR=$RPM_BUILD_ROOT
-unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
-
-#Copy zh_HK from zh_TW
-#Fixes bug 4930405
-install -d $RPM_BUILD_ROOT%{_datadir}/locale/zh_HK/LC_MESSAGES
-install --mode=0644 $RPM_BUILD_ROOT%{_datadir}/locale/zh_TW/LC_MESSAGES/*.mo $RPM_BUILD_ROOT%{_datadir}/locale/zh_HK/LC_MESSAGES/
-
-#remove its desktop file as ospm-pm is replacing its functiionality.
-rm  -rf $RPM_BUILD_ROOT%{_datadir}/applications
-
-%clean
-rm -rf $RPM_BUILD_ROOT
-
-%post
-export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
-SCHEMAS=" gnome-print-manager.schemas "
-for S in $SCHEMAS; do
-        gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/$S >/dev/null
-done
-scrollkeeper-update -q
-
-%postun
-scrollkeeper-update -q
-
-%files
-%defattr (-, root, root)
-%{_bindir}/*
-%{_datadir}/control-center-2.0/capplets/
-%{_datadir}/gnome/help/gnome-printinfo/
-%{_datadir}/omf/printman/
-%{_datadir}/pixmaps/
-%{_datadir}/locale/*/LC_MESSAGES/printman.mo
-
-%changelog
-* Fri Jan 16 2009 - [email protected]
-- Added intltoolize command.
-* Thu Nov 29 2007 - [email protected]
-- Add printman-04-g11n-iconf-file-name.diff to show none UTF-8 icon names.
-  Fixes 6311379
-
-* Wed May 16 2007 - [email protected]
-- Add l10n tarball.
-
-* Sat Dec 10 2005 - [email protected]
-- remove l10n help patch
-
-* Wed Nov 30 2005 - [email protected]
-- Remove javahelp stuff.
-
-* Wed Jun 29 2005 - [email protected]
-- Modified printman-06-pkgconfig.diff so that all the required libs 
-  are added.
-
-* Thu Jun 23 2005 - [email protected]
-- Add patch pkgconfig.diff that add required libs explictly
-
-* Wed Nov 24 2004 - [email protected]
-- updating l10n tarballs to fix 5094817, 6197170, 6197173, 6197203
-(tarball revisions have to be kept consistent)
-
-* Tue Nov 16 2004 - [email protected]
-- Backing out printman-05-g11n-potfiles.diff until for for Linux
-
-* Tue Nov 16 2004 - [email protected]
-- Added printman-05-g11n-potfiles.diff to update potfiles.in
- 
-* Fri Oct 29 2004 - [email protected]
-- Uprevved l10n po tarball version from 1.6 to 1.7
-
-* Fri Oct 29 2004 - [email protected]
-- Added
-  printman-l10n-po-1.6.tar.bz2
-  printman-l10n-online-help-ci.tar.bz2
-  printman-03-l10n-online-help.diff
-  printman-04-l10n-alllinguas.diff
-  These came from spec-files/patches which was in wrong place.
-* Wed Aug 25 2004 - [email protected]
-- Install help document in gnome-printinfo/ instead of gnome-print-manager/.
-  Also install help files under javahelp/
-  Fixes bug#5081826
-* Fri Jun 18 2003 - [email protected]
-- Install the desktop file into another location
-  to get picked up by the preference menu.
-* Mon Jun 14 2003 - [email protected]
-- Initial Sun release
--- a/copyright/SUNWgnome-print.copyright	Wed Dec 08 07:21:25 2010 +0000
+++ b/copyright/SUNWgnome-print.copyright	Wed Dec 08 11:41:23 2010 +0000
@@ -13,28 +13,11 @@
 
 Package %name consists of the following components:
 
-  - printman-%{printman.version}
   - libgnomeprint-%{g20_version}
   - libgnomeprintui-%{g20_version}
   - libgnomeprint-%{gprint.version}
   - libgnomeprintui-%{gprintui.version}
 
-Licensing and copyright information for printman-%{printman.version}:
-
- License: GNU General Public License Version 2
- 
- You can find more information in the following directory:
- %{_pkg_docdir}/printman-%{printman.version}
-
-  COPYING.bz2: GNU GPL
-  AUTHORS: list of authors of printman
-  NEWS.bz2: list of the most important changes in printman
-  ChangeLog.bz2: list of all changes and authors of printman
-  README: more information about printman 
-
-  The sources of printman-%{printman.version} were downloaded
-  from %{printman.SOURCE0.url}
-
 Licensing and copyright information for libgnomeprint-%{g20_version}:
 
  License: GNU Lesser General Public License Version 2.1
--- a/manpages/Makefile	Wed Dec 08 07:21:25 2010 +0000
+++ b/manpages/Makefile	Wed Dec 08 11:41:23 2010 +0000
@@ -720,7 +720,6 @@
 SUNWpilot-link.PAGES: $(SUNWpilot-link_PAGES)
 
 SUNWgnome-print_PAGES =			\
-	man1/gnome-printinfo.1		\
 	man3/libgnomeprint-2-2.3	\
 	man3/libgnomeprintui-2-2.3
 SUNWgnome-print.PAGES: $(SUNWgnome-print_PAGES)
--- a/manpages/man1/gnome-printinfo.1	Wed Dec 08 07:21:25 2010 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,181 +0,0 @@
-<!DOCTYPE REFENTRY PUBLIC "-//Sun Microsystems//DTD DocBook V3.0-Based SolBook Subset V2.0//EN" [
-<!--ArborText, Inc., 1988-1999, v.4002-->
-<!--ARC : LSARC 2005/734 GNOME For Nevada-->
-<!--ARC : LSARC 2008/389 presto phase II-->
-<!ENTITY cmd "gnome-printinfo">
-<!ENTITY % commonents SYSTEM "smancommon.ent">
-%commonents;
-<!ENTITY % booktitles SYSTEM "booktitles.ent">
-%booktitles;
-<!ENTITY suncopy "Copyright (c) 2003,2006 Sun Microsystems, Inc. All Rights Reserved.">
-]>
-<?Pub UDT _bookmark _target>
-<?Pub Inc>
-<refentry id="gnome-printinfo-1">
-<!-- %Z%%M% %I% %E% SMI; -->
-<refmeta><refentrytitle>gnome-printinfo</refentrytitle><manvolnum>1</manvolnum>
-<refmiscinfo class="date">2 Oct 2003</refmiscinfo>
-<refmiscinfo class="sectdesc">&man1;</refmiscinfo>
-<refmiscinfo class="software">&release;</refmiscinfo>
-<refmiscinfo class="arch">generic</refmiscinfo>
-<refmiscinfo class="copyright">&suncopy;</refmiscinfo>
-</refmeta>
-<indexterm><primary>gnome-printinfo</primary></indexterm><indexterm><primary>
-GNOME print manager</primary></indexterm><refnamediv id="gnome-printinfo-1-name">
-<refname>gnome-printinfo</refname><refpurpose>GNOME print manager</refpurpose></refnamediv>
-<refsynopsisdiv id="gnome-printinfo-1-synp"><title>&synp-tt;</title>
-<cmdsynopsis><command>&cmd;</command>
-<arg choice="opt"><option>-default</option></arg>
-<arg choice="opt"><option>-edit</option></arg>
-<arg choice="opt"><option>-printer=<replaceable>printer</replaceable></option></arg>
-<arg choice="opt"><option>-open=<replaceable>printer</replaceable></option></arg>
-<arg choice="opt"><option>-edit-path=<replaceable>default-source-file</replaceable></option></arg>
-<arg><option role="nodash"><replaceable>gnome-std-options</replaceable></option></arg>
-</cmdsynopsis></refsynopsisdiv>
-<refsect1 id="gnome-printinfo-1-desc"><title>&desc-tt;</title>
-<para>
-The GNOME Print Manager application enables you to control and manage printers
-and print jobs. You can use GNOME Print Manager to perform the following tasks:
-</para>
-<itemizedlist>
-<listitem>Detect existing printers</listitem>
-<listitem>Choose which printer to use for different documents
-</listitem>
-<listitem>View a list of the print jobs that are queued on each printer
-</listitem>
-<listitem>Cancel print jobs that are queued</listitem>
-</itemizedlist>
-</refsect1>
-<refsect1 id="gnome-printinfo-1-opts"><title>&opts-tt;</title>
-<para>The following options are supported:</para>
-<variablelist termlength="wide"><varlistentry>
-<term><option>d</option>, <option>-default</option></term>
-<listitem><para>Shows the printer queue for the default printer only.</para>
-</listitem></varlistentry>
-<varlistentry><term><option>e</option>, <option>-edit</option></term><listitem><para>Allows the
-superuser to edit the default label, icon and 	description of printers, for
-the current LANG setting.</para>
-</listitem></varlistentry>
-<varlistentry><term><option>-edit-path=<replaceable>default-source-file</replaceable></option></term>
-<listitem><para>Allows the superuser to edit the printer default settings
-for the GConf source specified.</para>
-</listitem></varlistentry>
-<varlistentry><term><option>o</option>, <option>-open=<replaceable>printer</replaceable></option></term>
-<listitem><para>Opens the printer queue window for the specified <replaceable>
-printer</replaceable>.</para>
-</listitem></varlistentry>
-<varlistentry><term><option>p</option>, <option>-printer=<replaceable>printer</replaceable></option></term>
-<listitem><para>Shows the printer queue window for the specified <replaceable>
-printer</replaceable>only.</para>
-</listitem></varlistentry>
-<varlistentry><term><option role="nodash"><replaceable>gnome-std-options</replaceable></option></term>
-<listitem><para>Standard options available for use with most GNOME applications.
-See <citerefentry><refentrytitle>gnome-std-options</refentrytitle><manvolnum>
-5</manvolnum></citerefentry>.</para>
-</listitem></varlistentry>
-</variablelist></refsect1>
-<refsect1 id="gnome-printinfo-1-exam"><title>&exam-tt;</title>
-<example role="example"><title>Launching GNOME Print Manager to show the default
-printer only:</title>
-<para><screen>example% <userinput>&cmd; -d</userinput></screen></para>
-</example>
-<example role="example"><title>Launching GNOME Print Manager to show printer &ldquo;prn004001&rdquo;:
-</title>
-<para><screen>example% <userinput>&cmd; -p prn004001</userinput></screen></para>
-</example>
-</refsect1>
-<refsect1 id="gnome-printinfo-1-envr"><title>&envr-tt;</title>
-<para>See <citerefentry><refentrytitle>environ</refentrytitle><manvolnum>
-5</manvolnum></citerefentry> for descriptions of the following environment
-variables:</para>
-<variablelist><varlistentry><term>REQ_DIR</term><listitem><para>Used to store
-print requests. If not set, defaults to <filename>/var/spool/lp/requests/%s/
-</filename></para>
-</listitem></varlistentry>
-<varlistentry><term>TMP_DIR</term><listitem><para>Used to store local print
-jobs. If not set, defaults to <filename>/var/spool/lp/tmp</filename></para>
-</listitem></varlistentry>
-<varlistentry><term>LANG</term><listitem><para>Current language setting.</para>
-</listitem></varlistentry>
-<varlistentry><term>DEF_PRN</term><listitem><para>Current default printer.
-</para>
-</listitem></varlistentry>
-<varlistentry><term>PRINTER</term><listitem><para>Current printer.</para>
-</listitem></varlistentry>
-<varlistentry><term>LPDEST</term><listitem><para>Destination printer for <command>
-lp</command>.</para>
-</listitem></varlistentry>
-</variablelist></refsect1>
-<refsect1 id="gnome-printinfo-1-exit"><title>&exit-tt;</title>
-<para>The following exit values are returned:</para>
-<variablelist termlength="xtranarrow"><varlistentry><term><returnvalue>0</returnvalue></term>
-<listitem><para>Application exited successfully</para>
-</listitem></varlistentry>
-<varlistentry><term><returnvalue>>0</returnvalue></term><listitem><para>Application
-exited with failure</para>
-</listitem></varlistentry>
-</variablelist></refsect1>
-<refsect1 id="gnome-printinfo-1-file"><title>&file-tt;</title>
-<para>The following files are used by this application:</para>
-<variablelist termlength="wide"><varlistentry><term><filename>/usr/bin/&cmd;</filename> 
-</term><listitem><para>Executable for GNOME print manager</para>
-</listitem></varlistentry>
-</variablelist></refsect1>
-<refsect1 id="gnome-printinfo-1-attr"><title>&attr-tt;</title>
-<para>See <olink targetdocent="REFMAN5" localinfo="attributes-5"><citerefentry>
-<refentrytitle>attributes</refentrytitle><manvolnum>5</manvolnum></citerefentry></olink>
-for descriptions of the following attributes:</para>
-<informaltable frame="all">
-<tgroup cols="2" colsep="1" rowsep="1"><colspec colname="COLSPEC0" colwidth="1*">
-<colspec colname="COLSPEC1" colwidth="1*">
-<thead>
-<row><entry align="center" valign="middle">ATTRIBUTE TYPE</entry><entry align="center"
-valign="middle">ATTRIBUTE VALUE</entry></row>
-</thead>
-<tbody>
-<row><entry><para>Availability</para></entry><entry><para>library/gnome/print/gnome-print
-</para></entry></row>
-<row><entry colname="COLSPEC0"><para>Interface stability</para></entry><entry
-colname="COLSPEC1"><para>Volatile</para></entry></row>
-</tbody>
-</tgroup>
-</informaltable>
-</refsect1>
-<refsect1 id="gnome-printinfo-1-also"><title>&also-tt;</title>
-<!--Reference to another man page-->
-<!--Reference to a Help manual-->
-<!--Reference to a book.-->
-<para><citetitle>GNOME Print Manager Manual</citetitle></para>
-<para>Latest version of the <citetitle>GNOME Desktop User Guide</citetitle> for your platform.</para>
-<para>
-<citerefentry><refentrytitle>lp</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
-<citerefentry><refentrytitle>lp</refentrytitle><manvolnum>7D</manvolnum></citerefentry>,
-<citerefentry><refentrytitle>cancel</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
-<citerefentry><refentrytitle>enable</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
-<citerefentry><refentrytitle>lpq</refentrytitle><manvolnum>1B</manvolnum></citerefentry>,
-<citerefentry><refentrytitle>lpr</refentrytitle><manvolnum>1B</manvolnum></citerefentry>,
-<citerefentry><refentrytitle>lprm</refentrytitle><manvolnum>1B</manvolnum></citerefentry>,
-<citerefentry><refentrytitle>lpstat</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
-<citerefentry><refentrytitle>postprint</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
-<citerefentry><refentrytitle>pr</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
-<citerefentry><refentrytitle>stty</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
-<citerefentry><refentrytitle>accept</refentrytitle><manvolnum>1M</manvolnum></citerefentry>,
-<citerefentry><refentrytitle>lpadmin</refentrytitle><manvolnum>1M</manvolnum></citerefentry>,
-<citerefentry><refentrytitle>lpfilter</refentrytitle><manvolnum>1M</manvolnum></citerefentry>,
-<citerefentry><refentrytitle>lpforms</refentrytitle><manvolnum>1M</manvolnum></citerefentry>,
-<citerefentry><refentrytitle>lpmove</refentrytitle><manvolnum>1M</manvolnum></citerefentry>,
-<citerefentry><refentrytitle>lpsched</refentrytitle><manvolnum>1M</manvolnum></citerefentry>,
-<citerefentry><refentrytitle>lpshut</refentrytitle><manvolnum>1M</manvolnum></citerefentry>,
-<citerefentry><refentrytitle>lpsystem</refentrytitle><manvolnum>1M</manvolnum></citerefentry>,
-<citerefentry><refentrytitle>lpusers</refentrytitle><manvolnum>1M</manvolnum></citerefentry>,
-<citerefentry><refentrytitle>printers</refentrytitle><manvolnum>4</manvolnum></citerefentry>,
-<citerefentry><refentrytitle>printers.conf</refentrytitle><manvolnum>4</manvolnum></citerefentry>,
-<citerefentry><refentrytitle>attributes</refentrytitle><manvolnum>5</manvolnum></citerefentry>,
-<citerefentry><refentrytitle>environ</refentrytitle><manvolnum>5</manvolnum></citerefentry>,
-<citerefentry><refentrytitle>gnome-std-options</refentrytitle><manvolnum>5</manvolnum></citerefentry>
-</para>
-</refsect1>
-<refsect1 id="gnome-printinfo-1-note"><title>&note-tt;</title>
-<para>Written by Matt Keenan, Sun Microsystems Inc., 2003, 2006.</para>
-</refsect1>
-</refentry>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/manpages/man1/old/gnome-printinfo.1	Wed Dec 08 11:41:23 2010 +0000
@@ -0,0 +1,181 @@
+<!DOCTYPE REFENTRY PUBLIC "-//Sun Microsystems//DTD DocBook V3.0-Based SolBook Subset V2.0//EN" [
+<!--ArborText, Inc., 1988-1999, v.4002-->
+<!--ARC : LSARC 2005/734 GNOME For Nevada-->
+<!--ARC : LSARC 2008/389 presto phase II-->
+<!ENTITY cmd "gnome-printinfo">
+<!ENTITY % commonents SYSTEM "smancommon.ent">
+%commonents;
+<!ENTITY % booktitles SYSTEM "booktitles.ent">
+%booktitles;
+<!ENTITY suncopy "Copyright (c) 2003,2006 Sun Microsystems, Inc. All Rights Reserved.">
+]>
+<?Pub UDT _bookmark _target>
+<?Pub Inc>
+<refentry id="gnome-printinfo-1">
+<!-- %Z%%M% %I% %E% SMI; -->
+<refmeta><refentrytitle>gnome-printinfo</refentrytitle><manvolnum>1</manvolnum>
+<refmiscinfo class="date">2 Oct 2003</refmiscinfo>
+<refmiscinfo class="sectdesc">&man1;</refmiscinfo>
+<refmiscinfo class="software">&release;</refmiscinfo>
+<refmiscinfo class="arch">generic</refmiscinfo>
+<refmiscinfo class="copyright">&suncopy;</refmiscinfo>
+</refmeta>
+<indexterm><primary>gnome-printinfo</primary></indexterm><indexterm><primary>
+GNOME print manager</primary></indexterm><refnamediv id="gnome-printinfo-1-name">
+<refname>gnome-printinfo</refname><refpurpose>GNOME print manager</refpurpose></refnamediv>
+<refsynopsisdiv id="gnome-printinfo-1-synp"><title>&synp-tt;</title>
+<cmdsynopsis><command>&cmd;</command>
+<arg choice="opt"><option>-default</option></arg>
+<arg choice="opt"><option>-edit</option></arg>
+<arg choice="opt"><option>-printer=<replaceable>printer</replaceable></option></arg>
+<arg choice="opt"><option>-open=<replaceable>printer</replaceable></option></arg>
+<arg choice="opt"><option>-edit-path=<replaceable>default-source-file</replaceable></option></arg>
+<arg><option role="nodash"><replaceable>gnome-std-options</replaceable></option></arg>
+</cmdsynopsis></refsynopsisdiv>
+<refsect1 id="gnome-printinfo-1-desc"><title>&desc-tt;</title>
+<para>
+The GNOME Print Manager application enables you to control and manage printers
+and print jobs. You can use GNOME Print Manager to perform the following tasks:
+</para>
+<itemizedlist>
+<listitem>Detect existing printers</listitem>
+<listitem>Choose which printer to use for different documents
+</listitem>
+<listitem>View a list of the print jobs that are queued on each printer
+</listitem>
+<listitem>Cancel print jobs that are queued</listitem>
+</itemizedlist>
+</refsect1>
+<refsect1 id="gnome-printinfo-1-opts"><title>&opts-tt;</title>
+<para>The following options are supported:</para>
+<variablelist termlength="wide"><varlistentry>
+<term><option>d</option>, <option>-default</option></term>
+<listitem><para>Shows the printer queue for the default printer only.</para>
+</listitem></varlistentry>
+<varlistentry><term><option>e</option>, <option>-edit</option></term><listitem><para>Allows the
+superuser to edit the default label, icon and 	description of printers, for
+the current LANG setting.</para>
+</listitem></varlistentry>
+<varlistentry><term><option>-edit-path=<replaceable>default-source-file</replaceable></option></term>
+<listitem><para>Allows the superuser to edit the printer default settings
+for the GConf source specified.</para>
+</listitem></varlistentry>
+<varlistentry><term><option>o</option>, <option>-open=<replaceable>printer</replaceable></option></term>
+<listitem><para>Opens the printer queue window for the specified <replaceable>
+printer</replaceable>.</para>
+</listitem></varlistentry>
+<varlistentry><term><option>p</option>, <option>-printer=<replaceable>printer</replaceable></option></term>
+<listitem><para>Shows the printer queue window for the specified <replaceable>
+printer</replaceable>only.</para>
+</listitem></varlistentry>
+<varlistentry><term><option role="nodash"><replaceable>gnome-std-options</replaceable></option></term>
+<listitem><para>Standard options available for use with most GNOME applications.
+See <citerefentry><refentrytitle>gnome-std-options</refentrytitle><manvolnum>
+5</manvolnum></citerefentry>.</para>
+</listitem></varlistentry>
+</variablelist></refsect1>
+<refsect1 id="gnome-printinfo-1-exam"><title>&exam-tt;</title>
+<example role="example"><title>Launching GNOME Print Manager to show the default
+printer only:</title>
+<para><screen>example% <userinput>&cmd; -d</userinput></screen></para>
+</example>
+<example role="example"><title>Launching GNOME Print Manager to show printer &ldquo;prn004001&rdquo;:
+</title>
+<para><screen>example% <userinput>&cmd; -p prn004001</userinput></screen></para>
+</example>
+</refsect1>
+<refsect1 id="gnome-printinfo-1-envr"><title>&envr-tt;</title>
+<para>See <citerefentry><refentrytitle>environ</refentrytitle><manvolnum>
+5</manvolnum></citerefentry> for descriptions of the following environment
+variables:</para>
+<variablelist><varlistentry><term>REQ_DIR</term><listitem><para>Used to store
+print requests. If not set, defaults to <filename>/var/spool/lp/requests/%s/
+</filename></para>
+</listitem></varlistentry>
+<varlistentry><term>TMP_DIR</term><listitem><para>Used to store local print
+jobs. If not set, defaults to <filename>/var/spool/lp/tmp</filename></para>
+</listitem></varlistentry>
+<varlistentry><term>LANG</term><listitem><para>Current language setting.</para>
+</listitem></varlistentry>
+<varlistentry><term>DEF_PRN</term><listitem><para>Current default printer.
+</para>
+</listitem></varlistentry>
+<varlistentry><term>PRINTER</term><listitem><para>Current printer.</para>
+</listitem></varlistentry>
+<varlistentry><term>LPDEST</term><listitem><para>Destination printer for <command>
+lp</command>.</para>
+</listitem></varlistentry>
+</variablelist></refsect1>
+<refsect1 id="gnome-printinfo-1-exit"><title>&exit-tt;</title>
+<para>The following exit values are returned:</para>
+<variablelist termlength="xtranarrow"><varlistentry><term><returnvalue>0</returnvalue></term>
+<listitem><para>Application exited successfully</para>
+</listitem></varlistentry>
+<varlistentry><term><returnvalue>>0</returnvalue></term><listitem><para>Application
+exited with failure</para>
+</listitem></varlistentry>
+</variablelist></refsect1>
+<refsect1 id="gnome-printinfo-1-file"><title>&file-tt;</title>
+<para>The following files are used by this application:</para>
+<variablelist termlength="wide"><varlistentry><term><filename>/usr/bin/&cmd;</filename> 
+</term><listitem><para>Executable for GNOME print manager</para>
+</listitem></varlistentry>
+</variablelist></refsect1>
+<refsect1 id="gnome-printinfo-1-attr"><title>&attr-tt;</title>
+<para>See <olink targetdocent="REFMAN5" localinfo="attributes-5"><citerefentry>
+<refentrytitle>attributes</refentrytitle><manvolnum>5</manvolnum></citerefentry></olink>
+for descriptions of the following attributes:</para>
+<informaltable frame="all">
+<tgroup cols="2" colsep="1" rowsep="1"><colspec colname="COLSPEC0" colwidth="1*">
+<colspec colname="COLSPEC1" colwidth="1*">
+<thead>
+<row><entry align="center" valign="middle">ATTRIBUTE TYPE</entry><entry align="center"
+valign="middle">ATTRIBUTE VALUE</entry></row>
+</thead>
+<tbody>
+<row><entry><para>Availability</para></entry><entry><para>library/gnome/print/gnome-print
+</para></entry></row>
+<row><entry colname="COLSPEC0"><para>Interface stability</para></entry><entry
+colname="COLSPEC1"><para>Volatile</para></entry></row>
+</tbody>
+</tgroup>
+</informaltable>
+</refsect1>
+<refsect1 id="gnome-printinfo-1-also"><title>&also-tt;</title>
+<!--Reference to another man page-->
+<!--Reference to a Help manual-->
+<!--Reference to a book.-->
+<para><citetitle>GNOME Print Manager Manual</citetitle></para>
+<para>Latest version of the <citetitle>GNOME Desktop User Guide</citetitle> for your platform.</para>
+<para>
+<citerefentry><refentrytitle>lp</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
+<citerefentry><refentrytitle>lp</refentrytitle><manvolnum>7D</manvolnum></citerefentry>,
+<citerefentry><refentrytitle>cancel</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
+<citerefentry><refentrytitle>enable</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
+<citerefentry><refentrytitle>lpq</refentrytitle><manvolnum>1B</manvolnum></citerefentry>,
+<citerefentry><refentrytitle>lpr</refentrytitle><manvolnum>1B</manvolnum></citerefentry>,
+<citerefentry><refentrytitle>lprm</refentrytitle><manvolnum>1B</manvolnum></citerefentry>,
+<citerefentry><refentrytitle>lpstat</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
+<citerefentry><refentrytitle>postprint</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
+<citerefentry><refentrytitle>pr</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
+<citerefentry><refentrytitle>stty</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
+<citerefentry><refentrytitle>accept</refentrytitle><manvolnum>1M</manvolnum></citerefentry>,
+<citerefentry><refentrytitle>lpadmin</refentrytitle><manvolnum>1M</manvolnum></citerefentry>,
+<citerefentry><refentrytitle>lpfilter</refentrytitle><manvolnum>1M</manvolnum></citerefentry>,
+<citerefentry><refentrytitle>lpforms</refentrytitle><manvolnum>1M</manvolnum></citerefentry>,
+<citerefentry><refentrytitle>lpmove</refentrytitle><manvolnum>1M</manvolnum></citerefentry>,
+<citerefentry><refentrytitle>lpsched</refentrytitle><manvolnum>1M</manvolnum></citerefentry>,
+<citerefentry><refentrytitle>lpshut</refentrytitle><manvolnum>1M</manvolnum></citerefentry>,
+<citerefentry><refentrytitle>lpsystem</refentrytitle><manvolnum>1M</manvolnum></citerefentry>,
+<citerefentry><refentrytitle>lpusers</refentrytitle><manvolnum>1M</manvolnum></citerefentry>,
+<citerefentry><refentrytitle>printers</refentrytitle><manvolnum>4</manvolnum></citerefentry>,
+<citerefentry><refentrytitle>printers.conf</refentrytitle><manvolnum>4</manvolnum></citerefentry>,
+<citerefentry><refentrytitle>attributes</refentrytitle><manvolnum>5</manvolnum></citerefentry>,
+<citerefentry><refentrytitle>environ</refentrytitle><manvolnum>5</manvolnum></citerefentry>,
+<citerefentry><refentrytitle>gnome-std-options</refentrytitle><manvolnum>5</manvolnum></citerefentry>
+</para>
+</refsect1>
+<refsect1 id="gnome-printinfo-1-note"><title>&note-tt;</title>
+<para>Written by Matt Keenan, Sun Microsystems Inc., 2003, 2006.</para>
+</refsect1>
+</refentry>
--- a/patches/printman-01-menu-entry.diff	Wed Dec 08 07:21:25 2010 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,27 +0,0 @@
-diff -urN -x'*.orig' printman-0.0.2/Makefile.am ../SUNWgnome-print-2.18.0.hacked/printman-0.0.2/Makefile.am
---- printman-0.0.2/Makefile.am	2004-06-14 01:42:25.000000000 +0100
-+++ ../SUNWgnome-print-2.18.0.hacked/printman-0.0.2/Makefile.am	2007-05-03 18:01:28.843989000 +0100
-@@ -20,7 +20,7 @@
- 
- SUBDIRS = src help art po
- 
--Desktopdir = $(datadir)/applications
-+Desktopdir = $(datadir)/applications/
- Desktop_in_files = gnome-print-manager.desktop.in
- Desktop_DATA = $(Desktop_in_files:.desktop.in=.desktop)
- 
-diff -urN -x'*.orig' printman-0.0.2/gnome-print-manager.desktop ../SUNWgnome-print-2.18.0.hacked/printman-0.0.2/gnome-print-manager.desktop
---- printman-0.0.2-orig/gnome-print-manager.desktop.in	1970-01-01 09:00:00.000000000 +0900
-+++ printman-0.0.2/gnome-print-manager.desktop.in	2007-05-16 18:31:48.353365000 +0900
-@@ -0,0 +1,11 @@
-+[Desktop Entry]
-+# SUN_BRANDING
-+_Name=Printer Queue Monitor
-+# SUN_BRANDING
-+_Comment=View printers and queues
-+Exec=gnome-printinfo
-+Terminal=0
-+Type=Application
-+Icon=print-manager.png
-+StartupNotify=true
-+Categories=GNOME;Application;System;Settings
--- a/patches/printman-02-help-dir-changed.diff	Wed Dec 08 07:21:25 2010 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,12 +0,0 @@
-diff -pNaur printman-0.0.2.orig/xmldocs.make printman-0.0.2/xmldocs.make
---- printman-0.0.2.orig/xmldocs.make	2004-08-12 12:13:47.000000000 +0530
-+++ printman-0.0.2/xmldocs.make	2004-08-12 12:14:25.000000000 +0530
-@@ -36,7 +36,7 @@
- # **********  Begin of section some packagers may need to modify  **********
- # This variable (docdir) specifies where the documents should be installed.
- # This default value should work for most packages.
--docdir = $(datadir)/gnome/help/$(docname)/$(lang)
-+docdir = $(datadir)/gnome/help/gnome-printinfo/$(lang)
- 
- # **********  You should not have to edit below this line  **********
- xml_files = $(entities) $(docname).xml
--- a/patches/printman-03-pkgconfig.diff	Wed Dec 08 07:21:25 2010 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,20 +0,0 @@
---- ../printman-0.0.2.old/configure.in	2005-06-30 19:44:02.138708000 +0100
-+++ ./configure.in	2005-06-30 19:44:43.437583000 +0100
-@@ -20,7 +20,16 @@
- LIBGNOMEUI_REQUIRED=1.107.0
- GLIB_REQUIRED=1.3.15
- 
--PKG_CHECK_MODULES(GNOME_PRINT_MANAGER, 
-+GNOME_PRINT_MANAGER_MODULES="glib-2.0 >= 2.0.1		\
-+			     gdk-pixbuf-2.0 >= 2.0.0	\
-+			     gtk+-2.0 >= 2.0.0		\
-+			     libxml-2.0 >= 2.4.16	\
-+			     atk >= 1.0.0		\
-+			     gconf-2.0 >= 1.1.11	\
-+			     gnome-vfs-2.0 >= 2.7.3	\
-+			     gobject-2.0 >= 2.0.0	\
-+			     gdk-x11-2.0 >= 2.0.0"
-+PKG_CHECK_MODULES(GNOME_PRINT_MANAGER, $GNOME_PRINT_MANAGER_MODULES \
- 		  libgnome-2.0 >= $LIBGNOME_REQUIRED \
- 		  libgnomeui-2.0 >= $LIBGNOMEUI_REQUIRED)
- AC_SUBST(GNOME_PRINT_MANAGER_CFLAGS)
--- a/patches/printman-04-g11n-iconf-file-name.diff	Wed Dec 08 07:21:25 2010 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,53 +0,0 @@
---- printman-0.0.2/src/print-manager-main-window.c.orig	2007-09-25 14:13:49.063224000 +0900
-+++ printman-0.0.2/src/print-manager-main-window.c	2007-09-25 14:22:38.418399000 +0900
-@@ -372,6 +372,7 @@ load_pixbuf (const char *filename,
- 	GdkPixbuf *pixbuf; 
- 	GdkPixbuf *pixbuf_rendered;
- 	gint i;
-+	gchar *locale_filename = NULL;
- 
- 	pixbuf = NULL;
- 	pixbuf_rendered = NULL;
-@@ -385,7 +386,11 @@ load_pixbuf (const char *filename,
- 	}
- 
- 	if (!pixbuf_rendered) {
-+		locale_filename = g_filename_from_utf8 (filename, -1, NULL, NULL, NULL);
-+		if (g_file_test (locale_filename, G_FILE_TEST_EXISTS))
-+			filename = locale_filename;
- 		pixbuf_rendered = gdk_pixbuf_new_from_file (filename, NULL);
-+		g_free (locale_filename);
- 	}
- 
- 	pixbuf = gdk_pixbuf_copy (pixbuf_rendered);
---- printman-0.0.2/src/print-manager-printer-properties.c.orig	2007-09-25 13:55:36.315715000 +0900
-+++ printman-0.0.2/src/print-manager-printer-properties.c	2007-09-25 14:25:58.983841000 +0900
-@@ -52,6 +52,7 @@ printer_properties_response_cb (GtkWidge
- 	GtkTextBuffer *buffer;
- 	GtkTextIter start, end;
- 	char *text;
-+	char *locale_text;
- 	const char *tmp;
- 	const char *temp_icon_path;
- 
-@@ -63,7 +64,11 @@ printer_properties_response_cb (GtkWidge
- 			text = gtk_editable_get_chars (GTK_EDITABLE (
- 							properties->icon_path),
- 							0, -1);
--			if (gdk_pixbuf_new_from_file (text, NULL)) {
-+			locale_text = g_filename_from_utf8 (text, -1,
-+			                                    NULL, NULL, NULL);
-+			if ((g_file_test (locale_text, G_FILE_TEST_EXISTS) &&
-+			     gdk_pixbuf_new_from_file (locale_text, NULL)) ||
-+			    gdk_pixbuf_new_from_file (text, NULL)) {
- 				print_manager_device_set_icon_path (
- 							properties->device,
- 							(const char *)text);
-@@ -95,6 +100,7 @@ printer_properties_response_cb (GtkWidge
- 
- 			}
- 				
-+		g_free (locale_text);
- 		buffer = 
- 			gtk_text_view_get_buffer (
- 				GTK_TEXT_VIEW (properties->desc));