diff --git a/debian/patches/1001_fix-mate-bugtracker-url-in-man-pages.patch b/debian/patches/1001_fix-mate-bugtracker-url-in-man-pages.patch index 8e84760..d1aadcf 100644 --- a/debian/patches/1001_fix-mate-bugtracker-url-in-man-pages.patch +++ b/debian/patches/1001_fix-mate-bugtracker-url-in-man-pages.patch @@ -7,7 +7,7 @@ Author: Mike Gabriel .SH BUGS If you find bugs in the \fImate-session-properties\fP program, please report -these on https://bugzilla.gnome.org. -+these on https://github.com/mate-desktop/mate-session-manager/issues. ++these on https://github.com/mate\-desktop/mate\-session\-manager/issues. .SH SEE ALSO .BR mate-session(1) .BR mate-session-save(1) @@ -18,7 +18,7 @@ Author: Mike Gabriel .SH BUGS If you find bugs in the \fImate-session-save\fP program, please report -these on https://bugzilla.gnome.org. -+these on https://github.com/mate-desktop/mate-session-manager/issues. ++these on https://github.com/mate\-desktop/mate\-session\-manager/issues. .SH SEE ALSO .BR mate-session(1) --- a/doc/man/mate-session.1 @@ -28,7 +28,7 @@ Author: Mike Gabriel .SH BUGS If you find bugs in the \fImate-session\fP program, please report -these on https://bugzilla.gnome.org. -+these on https://github.com/mate-desktop/mate-session-manager/issues. ++these on https://github.com/mate\-desktop/mate\-session\-manager/issues. .SH SEE ALSO .BR mate-session-properties(1) .BR mate-session-save(1) @@ -39,6 +39,6 @@ Author: Mike Gabriel .SH BUGS If you find bugs in the \fImate-wm\fP program, please report -these on https://bugzilla.gnome.org. -+these on https://github.com/mate-desktop/mate-session-manager/issues. ++these on https://github.com/mate\-desktop/mate\-session\-manager/issues. .SH SEE ALSO .BR mate-session(1) diff --git a/debian/patches/1002_hyphen-as-minus-sign-in-man-page.patch b/debian/patches/1002_hyphen-as-minus-sign-in-man-page.patch new file mode 100644 index 0000000..20528d6 --- /dev/null +++ b/debian/patches/1002_hyphen-as-minus-sign-in-man-page.patch @@ -0,0 +1,221 @@ +Description: Don't use hyphen as minus sign. +Author: Mike Gabriel +--- a/doc/man/mate-session.1 ++++ b/doc/man/mate-session.1 +@@ -5,11 +5,11 @@ + .\" + .TH MATE-SESSION 1 "MATE" + .SH NAME +-mate-session \- Start the MATE desktop environment ++mate\-session \- Start the MATE desktop environment + .SH SYNOPSIS +-.B mate-session [\-\-autostart=DIR] [\-\-default-session-key=KEY] [\-\-failsafe|\-f] [\-\-debug] ++.B mate\-session [\-\-autostart=DIR] [\-\-default-session-key=KEY] [\-\-failsafe|\-f] [\-\-debug] + .SH DESCRIPTION +-The \fImate-session\fP program starts up the MATE desktop ++The \fImate\-session\fP program starts up the MATE desktop + environment. This command is typically executed by your login manager + (either mdm, xdm, or from your X startup scripts). It will load + either your saved session, or it will provide a default session for the +@@ -18,46 +18,46 @@ + .PP + The default session is defined in the MateConf keys under + \fB/desktop/mate/session\fP. +-When saving a session, \fImate-session\fP saves the currently running +-applications in the \fB$XDG_CONFIG_HOME/mate-session/saved-session\fP ++When saving a session, \fImate\-session\fP saves the currently running ++applications in the \fB$XDG_CONFIG_HOME/mate\-session/saved\-session\fP + directory. + .PP +-\fImate-session\fP is an X11R6 session manager. It can manage MATE ++\fImate\-session\fP is an X11R6 session manager. It can manage MATE + applications as well as any X11R6 SM compliant. + .SH OPTIONS + The following options are supported: + .TP +-.I "--autostart=DIR" ++.I "\-\-autostart=DIR" + Start all applications defined in \fIDIR\fP, instead of starting the + applications defined in \fB/desktop/mate/session/default_session\fP, +-or via the \fI--default-session-key\fP option. Multiple +-\fI--autostart\fP options can be passed. ++or via the \fI\-\-default\-session\-key\fP option. Multiple ++\fI\-\-autostart\fP options can be passed. + .TP +-.I "--default-session-key=KEY" ++.I "\-\-default\-session\-key=KEY" + Set the MateConf key from which applications running a default session + should be read to \fIKEY\fP. If not specificed, + \fB/desktop/mate/session/default_session\fP will be used. + .TP +-.I "--failsafe" +-Run in fail-safe mode. User-specified applications will not be started. ++.I "\-\-failsafe" ++Run in fail\-safe mode. User-specified applications will not be started. + .TP +-.I "--debug" ++.I "\-\-debug" + Enable debugging code. + .SH ENVIRONMENT +-\fImate-session\fP sets several environment variables for the use of ++\fImate\-session\fP sets several environment variables for the use of + its child processes: + .PP + .B SESSION_MANAGER + .IP + This variable is used by session-manager aware clients to contact +-mate-session. ++mate\-session. + .PP + .B DISPLAY + .IP + This variable is set to the X display being used by +-\fImate-session\fP. Note that if the --display option is used ++\fImate\-session\fP. Note that if the \-\-display option is used + this might be different from the setting of the environment variable +-when mate-session is invoked. ++when mate\-session is invoked. + .SH FILES + .PP + .B $XDG_CONFIG_HOME/config/autostart +@@ -65,15 +65,15 @@ + .B /usr/share/mate/autostart + .IP + The applications defined in those directories will be started on login. +-\fImate-session-properties(1)\fP can be used to easily configure them. ++\fImate\-session\-properties(1)\fP can be used to easily configure them. + .PP +-.B $XDG_CONFIG_HOME/mate-session/saved-session ++.B $XDG_CONFIG_HOME/mate\-session/saved\-session + .IP + This directory contains the list of applications of the saved session. + .SH BUGS +-If you find bugs in the \fImate-session\fP program, please report ++If you find bugs in the \fImate\-session\fP program, please report + these on https://github.com/mate\-desktop/mate\-session\-manager/issues. + .SH SEE ALSO +-.BR mate-session-properties(1) +-.BR mate-session-save(1) +-.BR mate-wm(1) ++.BR mate\-session\-properties(1) ++.BR mate\-session\-save(1) ++.BR mate\-wm(1) +--- a/doc/man/mate-session-properties.1 ++++ b/doc/man/mate-session-properties.1 +@@ -6,10 +6,10 @@ + .SH NAME + mate-session-properties \- Configure applications to start on login + .SH SYNOPSIS +-.B mate-session-properties ++.B mate\-session\-properties + .SH DESCRIPTION + .PP +-The \fImate-session-properties\fP program enables the users to ++The \fImate\-session\-properties\fP program enables the users to + configure what applications should be started on login, in addition to + the default startup applications configured on the system. + .PP +@@ -17,8 +17,8 @@ + running applications so that they can automatically be restored to + their current state on your next MATE session. + .SH BUGS +-If you find bugs in the \fImate-session-properties\fP program, please report ++If you find bugs in the \fImate\-session\-properties\fP program, please report + these on https://github.com/mate\-desktop/mate\-session\-manager/issues. + .SH SEE ALSO +-.BR mate-session(1) +-.BR mate-session-save(1) ++.BR mate\-session(1) ++.BR mate\-session\-save(1) +--- a/doc/man/mate-session-save.1 ++++ b/doc/man/mate-session-save.1 +@@ -5,11 +5,11 @@ + .\" + .TH MATE-SESSION-SAVE 1 "MATE" + .SH NAME +-mate-session-save \- End or save the current MATE session ++mate\-session\-save \- End or save the current MATE session + .SH SYNOPSIS +-.B mate-session-save [\-\-logout] [\-\-force\-logout] [\-\-logout\-dialog] [\-\-shutdown\-dialog] [\-\-gui] [\-\-kill [\-\-silent]] ++.B mate\-session\-save [\-\-logout] [\-\-force\-logout] [\-\-logout\-dialog] [\-\-shutdown\-dialog] [\-\-gui] [\-\-kill [\-\-silent]] + .SH DESCRIPTION +-The \fImate-session-save\fP program can be used from a MATE session to ++The \fImate\-session\-save\fP program can be used from a MATE session to + save a snapshot of the currently running applications. This session will + be later restored at your next MATE session. + .PP +@@ -31,10 +31,10 @@ + option. If \fB\-\-silent\fP is used with \fB\-\-kill\fR, then it will + behave as if \fB\-\-logout\fP was used. + .PP +-The session is not saved when \fImate-session-save\fP is called with any of ++The session is not saved when \fImate\-session\-save\fP is called with any of + the options ending the session. + .SH BUGS +-If you find bugs in the \fImate-session-save\fP program, please report ++If you find bugs in the \fImate\-session\-save\fP program, please report + these on https://github.com/mate\-desktop/mate\-session\-manager/issues. + .SH SEE ALSO +-.BR mate-session(1) ++.BR mate\-session(1) +--- a/doc/man/mate-wm.1 ++++ b/doc/man/mate-wm.1 +@@ -5,12 +5,12 @@ + .\" + .TH MATE-WM 1 "MATE" + .SH NAME +-mate-wm \- Start the window manager configured by the user ++mate\-wm \- Start the window manager configured by the user + .SH SYNOPSIS + .PP +-.B mate-wm [--default-wm=WINDOWMANAGER] [--sm-client-id=ID] ++.B mate\-wm [\-\-default\-wm=WINDOWMANAGER] [\-\-sm\-client\-id=ID] + .SH DESCRIPTION +-The \fImate-wm\fP program starts the window manager configured by the ++The \fImate\-wm\fP program starts the window manager configured by the + user. If the user has not chosen a window manager it will launch a + MATE compliant window manager. + .PP +@@ -18,34 +18,34 @@ + \fB/desktop/mate/session/required_components/windowmanager\fP MateConf + key. The value of this key should be the name of the desktop file of the + desired window manager, without its \fB.desktop\fP extension. If this +-key is set to \fImate-wm\fP, then \fImate-wm\fP will simply look for ++key is set to \fImate\-wm\fP, then \fImate\-wm\fP will simply look for + an appropriate window manager. The user can also override the selection + of a window manager by setting the \fBWINDOW_MANAGER\fP environment + variable. + .PP +-If the \fB--default-wm\fP option is used, \fImate-wm\fP will use ++If the \fB\-\-default\-wm\fP option is used, \fImate\-wm\fP will use + \fIWINDOWMANAGER\fP as window manager if the \fBWINDOW_MANAGER\fP + environment variable is not set and if the + \fB/desktop/mate/session/required_components/windowmanager\fP MateConf + key does not define a specific window manager, or if the configured + window manager cannot be found. + .PP +-The \fB--sm-client-id\fP option is translated to an appropriate option ++The \fB\-\-sm\-client\-id\fP option is translated to an appropriate option + depending on which window manager will be started. + .SH OPTIONS + The following options are supported: + .TP +-.I --default-wm=WINDOWMANAGER ++.I \-\-default\-wm=WINDOWMANAGER + Define the default window manager to start if no window manager is + configured, or if the configured window manager cannot be found. + .TP +-.I --sm-client-id=ID ++.I \-\-sm\-client\-id=ID + Specify the session management \fIID\fP when connecting to the session manager. + .SH ENVIRONMENT +-\fImate-wm\fP uses the value of the \fBWINDOW_MANAGER\fP environment ++\fImate\-wm\fP uses the value of the \fBWINDOW_MANAGER\fP environment + variable to let the user override the configured window manager. + .SH BUGS +-If you find bugs in the \fImate-wm\fP program, please report ++If you find bugs in the \fImate\-wm\fP program, please report + these on https://github.com/mate\-desktop/mate\-session\-manager/issues. + .SH SEE ALSO +-.BR mate-session(1) ++.BR mate\-session(1) diff --git a/debian/patches/1003_add-keywords-to-desktop-files.patch b/debian/patches/1003_add-keywords-to-desktop-files.patch new file mode 100644 index 0000000..71a9743 --- /dev/null +++ b/debian/patches/1003_add-keywords-to-desktop-files.patch @@ -0,0 +1,30 @@ +Description: Add keywords key to .desktop files +Author: Mike Gabriel +--- a/data/mate-session-properties.desktop.in.in ++++ b/data/mate-session-properties.desktop.in.in +@@ -7,6 +7,7 @@ + Type=Application + StartupNotify=true + Categories=GTK;Settings;X-MATE-PersonalSettings; ++Keywords=MATE;session;properties;applications;login;start; + OnlyShowIn=MATE; + X-MATE-Bugzilla-Bugzilla=MATE + X-MATE-Bugzilla-Product=mate-session +--- a/data/mate-wm.desktop.in.in ++++ b/data/mate-wm.desktop.in.in +@@ -2,6 +2,7 @@ + Type=Application + _Name=Window Manager + Exec=mate-wm ++Keywords=MATE;window;manager;launch;MDM; + NoDisplay=true + X-MATE-Autostart-Phase=WindowManager + X-MATE-Provides=windowmanager +--- a/data/mate.desktop.in ++++ b/data/mate.desktop.in +@@ -5,3 +5,4 @@ + TryExec=mate-session + Icon= + Type=Application ++Keywords=launch;MATE;desktop;session; +\ No newline at end of file diff --git a/debian/patches/series b/debian/patches/series index e600656..472b196 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -1 +1,3 @@ 1001_fix-mate-bugtracker-url-in-man-pages.patch +1002_hyphen-as-minus-sign-in-man-page.patch +1003_add-keywords-to-desktop-files.patch