summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorian Müllner <fmuellner@gnome.org>2013-05-16 15:54:46 +0200
committerFlorian Müllner <fmuellner@gnome.org>2013-05-16 15:55:52 +0200
commit26464690984f32cab08df1af69310294a667738e (patch)
tree88d8b7d658ee53604b2bc839d4b3b406dc350583
parentccf7070ff0098977a4d6cb2b6830a5c84264df34 (diff)
downloadmetacity-26464690984f32cab08df1af69310294a667738e.tar.gz
metacity-26464690984f32cab08df1af69310294a667738e.tar.xz
metacity-26464690984f32cab08df1af69310294a667738e.zip
Include documentation update from upstream
-rw-r--r--0001-doc-Update-man-pages.patch94
-rw-r--r--metacity.spec8
2 files changed, 101 insertions, 1 deletions
diff --git a/0001-doc-Update-man-pages.patch b/0001-doc-Update-man-pages.patch
new file mode 100644
index 0000000..9b7adcb
--- /dev/null
+++ b/0001-doc-Update-man-pages.patch
@@ -0,0 +1,94 @@
+From 90dc810b9f501136c6f1cf94bc4f4c1f626412b9 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Florian=20M=C3=BCllner?= <fmuellner@gnome.org>
+Date: Thu, 16 May 2013 15:37:43 +0200
+Subject: [PATCH] doc: Update man pages
+
+Metacity is not the fastest moving project, however there were
+a view additions in the last nine years, document those.
+---
+ doc/man/metacity-message.1 | 13 +++++++++++--
+ doc/man/metacity.1 | 16 ++++++++++++++--
+ 2 files changed, 25 insertions(+), 4 deletions(-)
+
+diff --git a/doc/man/metacity-message.1 b/doc/man/metacity-message.1
+index 80041f5..13839f8 100644
+--- a/doc/man/metacity-message.1
++++ b/doc/man/metacity-message.1
+@@ -12,7 +12,7 @@
+ .\" > Right I know. any licenses that is DFSG-free, I'm ok with whatever,
+ .\" > since I have contributed that for Debian. so GPL is no problem for me.
+ .\" -----
+-.TH METACITY\-MESSAGE 1 "28 August 2002"
++.TH METACITY\-MESSAGE 1 "16 May 2013"
+ .\" Please adjust this date whenever revising the manpage.
+ .\"
+ .\" Some roff macros, for reference:
+@@ -29,7 +29,7 @@
+ METACITY\-MESSAGE \- a command to send a message to Metacity
+ .SH SYNOPSIS
+ .B METACITY\-MESSAGE
+-[restart|reload\-theme|enable\-keybindings|disable\-keybindings]
++[restart|reload\-theme|enable\-keybindings|disable\-keybindings|enable\-mouse\-button\-modifiers|disable\-mouse\-button\-modifiers|toggle\-verbose]
+ .SH DESCRIPTION
+ This manual page documents briefly the
+ .B metacity\-message\fP.
+@@ -53,6 +53,15 @@ Enable all of keybindings which is specified on gsettings database.
+ .TP
+ .B disable-keybindings
+ Disable all of keybindings which is specified on gsettings database.
++.TP
++.B enable-mouse-button-modifiers
++Enable move/resize operations while pressing a modifier key
++.TP
++.B disable-mouse-button-modifiers
++Disable move/resize operations while pressing a modifier key
++.TP
++.B toggle-verbose
++Turn debug messages on or off
+ .SH SEE ALSO
+ .BR metacity (1)
+ .SH AUTHOR
+diff --git a/doc/man/metacity.1 b/doc/man/metacity.1
+index 0a4c347..eaf75b5 100644
+--- a/doc/man/metacity.1
++++ b/doc/man/metacity.1
+@@ -2,7 +2,7 @@
+ .\" First parameter, NAME, should be all caps
+ .\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
+ .\" other parameters are allowed: see man(7), man(1)
+-.TH METACITY 1 "11 February 2006"
++.TH METACITY 1 "16 May 2013"
+ .\" Please adjust this date whenever revising the manpage.
+ .\"
+ .\" Some roff macros, for reference:
+@@ -19,7 +19,7 @@
+ METACITY \- minimal GTK2 Window Manager
+ .SH SYNOPSIS
+ .B metacity
+-[\-\-display=\fIDISPLAY\fP] [\-\-replace] [\-\-sm\-client\-id=\fIID\fP] [\-\-sm\-disable] [\-\-sm\-save\-file=\fIFILENAME\fP] [\-\-version] [\-\-help]
++[\-\-display=\fIDISPLAY\fP] [\-\-replace] [\-\-sm\-client\-id=\fIID\fP] [\-\-sm\-disable] [\-\-sm\-save\-file=\fIFILENAME\fP] [\-\-sync] [\-\-composite] [\-\-no-composite] [\-\-no-force-fullscreen] [\-\-version] [\-\-help]
+ .SH DESCRIPTION
+ This manual page documents briefly
+ .B metacity\fP.
+@@ -45,6 +45,18 @@ Disable the session management.
+ .B \-\-sm\-save\-file=FILENAME
+ Load a session from \fIFILENAME\fP.
+ .TP
++.B \-\-sync
++Make X calls synchronous
++.TP
++.B \-\-composite
++Turn compositing on
++.TP
++.B \-\-no-composite
++Turn compositing off
++.TP
++.B \-\-no-force-fullscreen
++Don't make fullscreen windows that are maximized and have no decorations
++.TP
+ .B \-\-version
+ Print the version number.
+ .TP
+--
+1.8.2.1
+
diff --git a/metacity.spec b/metacity.spec
index 81e809b..6d62e38 100644
--- a/metacity.spec
+++ b/metacity.spec
@@ -1,7 +1,7 @@
Summary: Unobtrusive window manager
Name: metacity
Version: 2.34.13
-Release: 4%{?dist}
+Release: 5%{?dist}
URL: http://download.gnome.org/sources/metacity/
Source0: http://download.gnome.org/sources/metacity/2.34/metacity-%{version}.tar.xz
# http://bugzilla.gnome.org/show_bug.cgi?id=558723
@@ -31,6 +31,8 @@ Patch28: Stop-confusing-GDK-s-grab-tracking.patch
# https://bugzilla.gnome.org/show_bug.cgi?id=622517
Patch29: Allow-breaking-out-from-maximization-during-mouse.patch
+Patch40: 0001-doc-Update-man-pages.patch
+
License: GPLv2+
Group: User Interface/Desktops
BuildRequires: gtk2-devel
@@ -97,6 +99,7 @@ API. This package exists purely for technical reasons.
%patch25 -p1 -b .xioerror-unknown-display
%patch28 -p1 -b .grab-tracking
%patch29 -p1 -b .mouse-unmaximize
+%patch40 -p1 -b .man-page
# force regeneration
rm -f src/org.gnome.metacity.gschema.valid
@@ -174,6 +177,9 @@ fi
%{_mandir}/man1/metacity-window-demo.1.gz
%changelog
+* Thu May 16 2013 Florian Müllner <fmuellner@redhat.com> - 2.34.13-5
+- Include documentation update from upstream
+
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.34.13-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild