Drop the static man page patch and BR docbook-style-xsl instead

xsltproc is smart enough to use the local stylesheet if it's installed.
This commit is contained in:
Kalev Lember 2012-11-14 16:22:20 +01:00
parent 5c659fa2ba
commit b442d7a2e8
2 changed files with 2 additions and 111 deletions

View File

@ -1,108 +0,0 @@
From ef0737d5a8c440933558145fffd71a04188fecdb Mon Sep 17 00:00:00 2001
From: Bastien Nocera <hadess@hadess.net>
Date: Thu, 8 Nov 2012 11:01:46 +0100
Subject: [PATCH] Force updated man page into build system
So that Docbook doesn't attempt to phone home to find stylesheets.
---
man/gnome-settings-daemon.1 | 88 +++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 88 insertions(+)
create mode 100644 man/gnome-settings-daemon.1
diff --git a/man/gnome-settings-daemon.1 b/man/gnome-settings-daemon.1
new file mode 100644
index 0000000..62d6e4b
--- /dev/null
+++ b/man/gnome-settings-daemon.1
@@ -0,0 +1,88 @@
+'\" t
+.\" Title: gnome-settings-daemon
+.\" Author: Bastien Nocera <hadess@hadess.net>
+.\" Generator: DocBook XSL Stylesheets v1.77.1 <http://docbook.sf.net/>
+.\" Date: 11/08/2012
+.\" Manual: User Commands
+.\" Source: GNOME
+.\" Language: English
+.\"
+.TH "GNOME\-SETTINGS\-DAE" "1" "" "GNOME" "User Commands"
+.\" -----------------------------------------------------------------
+.\" * Define some portability stuff
+.\" -----------------------------------------------------------------
+.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+.\" http://bugs.debian.org/507673
+.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
+.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+.ie \n(.g .ds Aq \(aq
+.el .ds Aq '
+.\" -----------------------------------------------------------------
+.\" * set default formatting
+.\" -----------------------------------------------------------------
+.\" disable hyphenation
+.nh
+.\" disable justification (adjust text to left margin only)
+.ad l
+.\" -----------------------------------------------------------------
+.\" * MAIN CONTENT STARTS HERE *
+.\" -----------------------------------------------------------------
+.SH "NAME"
+gnome-settings-daemon \- GNOME settings daemon
+.SH "SYNOPSIS"
+.HP \w'\fBgnome\-settings\-daemon\ \fR\fB[OPTION...]\fR\ 'u
+\fBgnome\-settings\-daemon \fR\fB[OPTION...]\fR
+.SH "DESCRIPTION"
+.PP
+\fBgnome\-settings\-daemon\fR
+provides many session\-wide services and functions that require a long\-running process\&. Among the services implemented by gnome\-settings\-daemon are an XSettings manager, which provides theming, font and other settings to GTK+ applications, and a clipboard manager, which preserves clipboard contents when an application exits\&. Many user interface elements of
+\fBgnome\-shell\fR
+and
+\fBgnome\-control\-center\fR
+rely on gnome\-settings\-daemon for their functionality\&.
+.PP
+The internal architecture of gnome\-settings\-daemon consists of a number of plugins, which provide functionality such as printer notifications, software update monitoring, background changing, etc\&. For debugging purposes, these plugins can be individually disabled by changing the gsettings key
+org\&.gnome\&.settings\-daemon\&.plugins\&.\fIplugin\-name\fR\&.active, where
+\fIplugin\-name\fR
+is the name of the plugin\&. To see a list of all plugins, use the command
+\fB gsettings list\-children org\&.gnome\&.settings\-daemon\&.plugins \fR
+.PP
+gnome\-settings\-daemon takes the name org\&.gnome\&.SettingsDaemon on the session bus to ensure that only one instance is running\&. Some plugins export objects under this name to make their functionality available to other applications\&. The interfaces of these objects should generally be considered private and unstable\&.
+.PP
+gnome\-settings\-daemon is a required component of the GNOME desktop, i\&.e\&. it is listed in the RequiredComponents field of
+/usr/share/gnome\-session/sessions/gnome\&.session\&. It is started in the initialization phase of the session, and
+\fBgnome\-session\fR
+will restart it if it crashes\&.
+.SH "OPTIONS"
+.PP
+\fB\-h\fR, \fB\-\-help\fR
+.RS 4
+Prints a short help text and exits\&.
+.RE
+.PP
+\fB\-\-debug\fR
+.RS 4
+Enables debugging code\&.
+.RE
+.PP
+\fB\-\-timed\-exit\fR
+.RS 4
+Exits after a timeout (30 seconds) for debugging\&.
+.RE
+.SH "FILES"
+.PP
+/usr/share/gnome\-session/sessions/gnome\&.session
+.RS 4
+GNOME session definition file where gnome\-settings\-daemon is listed as a required component\&.
+.RE
+.PP
+/etc/xdg/autostart/gnome\-settings\-daemon\&.desktop
+.RS 4
+Autostart file for gnome\-settings\-daemon, where its autostart phase is set\&.
+.RE
+.SH "SEE ALSO"
+.PP
+
+\fBgnome-shell\fR(1),
+\fBgnome-control-center\fR(1),
+\fBgnome-session\fR(1)
--
1.7.12.1

View File

@ -10,8 +10,6 @@ URL: http://download.gnome.org/sources/%{name}
Source: http://download.gnome.org/sources/%{name}/3.6/%{name}-%{version}.tar.xz
# disable wacom for ppc/ppc64 (used on RHEL)
Patch0: %{name}-3.5.4-ppc-no-wacom.patch
# Fix build without a network
Patch1: 0001-Force-updated-man-page-into-build-system.patch
# https://bugzilla.gnome.org/show_bug.cgi?id=680689
Patch2: 0001-power-and-media-keys-Use-logind-for-suspending-and-r.patch
# Wacom OSD window
@ -49,6 +47,7 @@ BuildRequires: libXtst-devel
BuildRequires: libxkbfile-devel
BuildRequires: ibus-devel
BuildRequires: libxslt
BuildRequires: docbook-style-xsl
%ifnarch s390 s390x %{?rhel:ppc ppc64}
BuildRequires: libwacom-devel
BuildRequires: xorg-x11-drv-wacom-devel
@ -82,7 +81,6 @@ The %{name}-updates package contains the updates plugin for %{name}
%patch0 -p1 -b .ppc-no-wacom
%endif
%patch1 -p1
%patch2 -p1
%patch3 -p1 -b .wacom-osd-window
@ -263,6 +261,7 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
%changelog
* Wed Nov 14 2012 Kalev Lember <kalevlember@gmail.com> - 3.6.3-1
- Update to 3.6.3
- Drop the static man page patch and BR docbook-style-xsl instead
* Thu Nov 08 2012 Bastien Nocera <bnocera@redhat.com> 3.6.2-1
- Update to 3.6.2