From aa3a853c9d06d0321e8924cbfbc42c8411f571f5 Mon Sep 17 00:00:00 2001 From: monsta Date: Wed, 9 Sep 2015 12:35:05 +0300 Subject: mate-screenshot: move stuff to data/ and src/ subdirs --- mate-screenshot/data/Makefile.am | 40 ++++ mate-screenshot/data/mate-screenshot.1 | 58 +++++ .../data/mate-screenshot.appdata.xml.in | 27 +++ mate-screenshot/data/mate-screenshot.convert | 6 + mate-screenshot/data/mate-screenshot.desktop.in | 15 ++ mate-screenshot/data/mate-screenshot.ui | 251 +++++++++++++++++++++ .../data/org.mate.screenshot.gschema.xml.in | 29 +++ 7 files changed, 426 insertions(+) create mode 100644 mate-screenshot/data/Makefile.am create mode 100644 mate-screenshot/data/mate-screenshot.1 create mode 100644 mate-screenshot/data/mate-screenshot.appdata.xml.in create mode 100644 mate-screenshot/data/mate-screenshot.convert create mode 100644 mate-screenshot/data/mate-screenshot.desktop.in create mode 100644 mate-screenshot/data/mate-screenshot.ui create mode 100644 mate-screenshot/data/org.mate.screenshot.gschema.xml.in (limited to 'mate-screenshot/data') diff --git a/mate-screenshot/data/Makefile.am b/mate-screenshot/data/Makefile.am new file mode 100644 index 00000000..b75f3162 --- /dev/null +++ b/mate-screenshot/data/Makefile.am @@ -0,0 +1,40 @@ +mate_screenshotdir = $(datadir)/applications +mate_screenshot_in_files = mate-screenshot.desktop.in +mate_screenshot_DATA = $(mate_screenshot_in_files:.desktop.in=.desktop) +@INTLTOOL_DESKTOP_RULE@ + +man_MANS = mate-screenshot.1 + +uidir = $(datadir)/mate-screenshot +ui_DATA = mate-screenshot.ui + +@INTLTOOL_XML_RULE@ +appdatadir = $(datadir)/appdata +appdata_in_files = mate-screenshot.appdata.xml.in +appdata_DATA = $(appdata_in_files:.xml.in=.xml) + +gsettings_SCHEMAS = org.mate.screenshot.gschema.xml +@GSETTINGS_RULES@ + +convertdir = $(datadir)/MateConf/gsettings +convert_DATA = mate-screenshot.convert + +EXTRA_DIST = \ + $(appdata_in_files) \ + $(mate_screenshot_in_files) \ + $(man_MANS) \ + $(ui_DATA) \ + $(convert_DATA) + +CLEANFILES = \ + $(gsettings_SCHEMAS) \ + $(mate_screenshot_DATA) \ + $(appdata_DATA) + +dist-hook: + cd $(distdir) ; rm -f $(CLEANFILES) + +install-exec-local: + rm -f $(DESTDIR)$(mandir)/man1/mate-panel-screenshot.1 + ln -s mate-screenshot.1 $(DESTDIR)$(mandir)/man1/mate-panel-screenshot.1 + diff --git a/mate-screenshot/data/mate-screenshot.1 b/mate-screenshot/data/mate-screenshot.1 new file mode 100644 index 00000000..8728c2dc --- /dev/null +++ b/mate-screenshot/data/mate-screenshot.1 @@ -0,0 +1,58 @@ +.TH "MATE-SCREENSHOT" "1" "June 28, 2009" "" "" +.SH NAME +mate-screenshot \- capture the screen, a window, or an user\-defined area and save the snapshot image to a file. +.SH SYNOPSIS +.sp +\fBmate-screenshot\fR [ \fB\-w\fR ] [ \fB\-a\fR ] [ \fB\-b\fR ] [ \fB\-B\fR ] [ \fB\-d \fISECONDS\fB \fR ] [ \fB\-e \fIEFFECT\fB \fR ] [ \fB\-i\fR ] [ \fB\-\-display \fIDISPLAY\fB \fR ] +.SH "DESCRIPTION" +.PP +\fBmate-screenshot\fR is a MATE utility for taking +screenshots of the entire screen, a window or an user\-defined area of the screen, with optional beutifying +border effects. +.SH "OPTIONS" +.TP +\fB\-w, \-\-window\fR +Grab the current active window instead of the entire +screen. +.TP +\fB\-a, \-\-area\fR +Grab an area of the screen instead of the entire screen. +.TP +\fB\-b, \-\-include-border\fR +Include the window border within the screenshot. +.TP +\fB\-B, \-\-remove-border\fR +Remove the window border from the screenshot. +.TP +\fB\-d, \-\-delay=\fISECONDS\fB,\fR +Take the screenshot after the specified delay [in seconds]. +.TP +\fB\-e, \-\-effect=\fIEFFECT\fB,\fR +Add an effect to the outside of the screenshot border. +\fIEFFECT\fR can be ``shadow'' +(adding drop shadow), ``border'' (adding rectangular +space around the screenshot) or ``none'' (no effect). +Default is ``none''. +.TP +\fB\-i, \-\-interactive\fR +Interactively set options in a dialog. +.TP +\fB\-\-display=\fIDISPLAY\fB\fR +X display to use. +.TP +\fB\-?, \-h, \-\-help\fR +Show a summary of the available options. +.PP +In addition, the usual GTK+ and MATE command line options apply. +See the output of \-\-help for details. +.PP +.SH "SEE ALSO" +.PP +mate-options(7), gtk-options(7) +.SH "AUTHOR" +.PP +This manual page was written by Christian Marillat for +the Debian GNU/Linux system (but may be used by others). +.PP +Updated by Theppitak Karoonboonyanan +, Tom Feiner and Cosimo Cecchi diff --git a/mate-screenshot/data/mate-screenshot.appdata.xml.in b/mate-screenshot/data/mate-screenshot.appdata.xml.in new file mode 100644 index 00000000..9d1200c1 --- /dev/null +++ b/mate-screenshot/data/mate-screenshot.appdata.xml.in @@ -0,0 +1,27 @@ + + + + mate-screenshot.desktop + CC0-1.0 + GPL-2.0+ + MATE Screenshot + <_summary>A screenshot utility for MATE Desktop + <_description> +

+ MATE Screenshot is a simple utility that lets you capture screenshots + of your desktop or of application windows. You can select to copy them + to the system clipboard or save them in Portable Network Graphics (.png) + image format. +

+ + + + + https://alexpl.fedorapeople.org/AppData/mate-screenshot/screens/mate-screenshot_01.png + + + + http://www.mate-desktop.org + mate-dev@ml.mate-desktop.org + MATE +
diff --git a/mate-screenshot/data/mate-screenshot.convert b/mate-screenshot/data/mate-screenshot.convert new file mode 100644 index 00000000..741f7d44 --- /dev/null +++ b/mate-screenshot/data/mate-screenshot.convert @@ -0,0 +1,6 @@ +[org.mate.screenshot] +delay = /apps/mate-screenshot/delay +last-save-directory = /apps/mate-screenshot/last_save_directory +include-border = /apps/mate-screenshot/include_border +include-pointer = /apps/mate-screenshot/include_pointer +border-effect = /apps/mate-screenshot/border_effect diff --git a/mate-screenshot/data/mate-screenshot.desktop.in b/mate-screenshot/data/mate-screenshot.desktop.in new file mode 100644 index 00000000..fedc1321 --- /dev/null +++ b/mate-screenshot/data/mate-screenshot.desktop.in @@ -0,0 +1,15 @@ +[Desktop Entry] +_Name=Take Screenshot +_Comment=Save images of your desktop or individual windows +Exec=mate-screenshot --interactive +Terminal=false +Type=Application +Icon=applets-screenshooter +StartupNotify=true +Categories=GTK;Utility; +Keywords=MATE;screenshot;snapshot;desktop;window;image; +OnlyShowIn=MATE; +X-MATE-Bugzilla-Bugzilla=MATE +X-MATE-Bugzilla-Product=mate-utils +X-MATE-Bugzilla-Component=screenshot +X-MATE-Bugzilla-OtherBinaries=mate-panel-screenshot diff --git a/mate-screenshot/data/mate-screenshot.ui b/mate-screenshot/data/mate-screenshot.ui new file mode 100644 index 00000000..80382ed4 --- /dev/null +++ b/mate-screenshot/data/mate-screenshot.ui @@ -0,0 +1,251 @@ + + + + + 5 + Save Screenshot + GTK_WINDOW_TOPLEVEL + GTK_WIN_POS_NONE + False + False + False + True + False + False + GDK_WINDOW_TYPE_HINT_DIALOG + GDK_GRAVITY_NORTH_WEST + + + + True + False + 2 + + + True + GTK_BUTTONBOX_END + + + True + True + True + gtk-help + True + GTK_RELIEF_NORMAL + True + + + + + True + True + True + True + C_opy to Clipboard + GTK_RELIEF_NORMAL + True + + + + + + True + True + True + gtk-cancel + True + GTK_RELIEF_NORMAL + True + + + + + True + True + True + True + gtk-save + True + GTK_RELIEF_NORMAL + True + + + + + 0 + False + True + GTK_PACK_END + + + + + 5 + True + False + 18 + + + True + False + 12 + + + True + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + + + True + 0 + 0 + GTK_SHADOW_IN + 0 + 0 + 1 + True + + + True + + + + + + + 0 + False + True + + + + + True + 2 + 2 + False + 6 + 12 + + + True + _Name: + True + False + GTK_JUSTIFY_LEFT + False + False + 0 + 0.5 + 0 + 0 + filename_entry + + + 0 + 1 + 0 + 1 + fill + + + + + + True + Save in _folder: + True + False + GTK_JUSTIFY_LEFT + False + False + 0 + 0.5 + 0 + 0 + + + 0 + 1 + 1 + 2 + fill + + + + + + True + True + True + True + 0 + + True + * + True + 32 + + + 1 + 2 + 0 + 1 + + + + + + True + False + 0 + + + + + + 1 + 2 + 1 + 2 + fill + fill + + + + + 0 + True + True + + + + + 0 + True + True + + + + + 0 + True + True + + + + + + help_button + cancel_button + ok_button + copy_button + + + diff --git a/mate-screenshot/data/org.mate.screenshot.gschema.xml.in b/mate-screenshot/data/org.mate.screenshot.gschema.xml.in new file mode 100644 index 00000000..c926d737 --- /dev/null +++ b/mate-screenshot/data/org.mate.screenshot.gschema.xml.in @@ -0,0 +1,29 @@ + + + + 0 + Screenshot delay + The number of seconds to wait before taking the screenshot. + + + '' + Screenshot directory + The directory the last screenshot was saved in. + + + true + Include Border + Include the window manager border along with the screenshot + + + true + Include Pointer + Include the pointer in the screenshot + + + 'none' + Border Effect + Effect to add to the outside of a border. Possible values are "shadow", "none", and "border". + + + -- cgit v1.2.1