Rename Pluma to Xedit

This commit is contained in:
Clement Lefebvre
2016-01-25 14:13:49 +00:00
parent 3a62ddff64
commit 4304f9ffc1
563 changed files with 112901 additions and 112901 deletions

View File

@@ -1,30 +1,30 @@
desktopdir = $(datadir)/applications
desktop_in_files = pluma.desktop.in
desktop_in_files = xedit.desktop.in
desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)
@INTLTOOL_DESKTOP_RULE@
@INTLTOOL_XML_RULE@
appdatadir = $(datadir)/appdata
appdata_in_files = pluma.appdata.xml.in
appdata_in_files = xedit.appdata.xml.in
appdata_DATA = $(appdata_in_files:.xml.in=.xml)
gsettings_SCHEMAS = org.mate.pluma.gschema.xml
gsettings_SCHEMAS = org.x.editor.gschema.xml
@GSETTINGS_RULES@
man_MANS = pluma.1
man_MANS = xedit.1
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = pluma.pc
pkgconfig_DATA = xedit.pc
bugreportdir = $(libexecdir)/pluma
bugreport_SCRIPTS = pluma-bugreport.sh
bugreportdir = $(libexecdir)/xedit
bugreport_SCRIPTS = xedit-bugreport.sh
EXTRA_DIST = \
$(appdata_in_files) \
$(desktop_in_files) \
$(man_MANS) \
pluma.pc.in \
pluma-bugreport.sh.in
xedit.pc.in \
xedit-bugreport.sh.in
CLEANFILES = \
$(desktop_DATA) \

View File

@@ -1,10 +1,10 @@
<?xml version="1.0"?>
<schemalist gettext-domain="@GETTEXT_PACKAGE@">
<schema id="org.mate.pluma" path="/org/mate/pluma/">
<schema id="org.x.editor" path="/org.x.editor/">
<key name="use-default-font" type="b">
<default>true</default>
<summary>Use Default Font</summary>
<description>Whether to use the system's default fixed width font for editing text instead of a font specific to pluma. If this option is turned off, then the font named in the "Editor Font" option will be used instead of the system font.</description>
<description>Whether to use the system's default fixed width font for editing text instead of a font specific to xedit. If this option is turned off, then the font named in the "Editor Font" option will be used instead of the system font.</description>
</key>
<key name="editor-font" type="s">
<default context="editor-font" l10n="messages">'Monospace 12'</default>
@@ -19,27 +19,27 @@
<key name="create-backup-copy" type="b">
<default>false</default>
<summary>Create Backup Copies</summary>
<description>Whether pluma should create backup copies for the files it saves. You can set the backup file extension with the "Backup Copy Extension" option.</description>
<description>Whether xedit should create backup copies for the files it saves. You can set the backup file extension with the "Backup Copy Extension" option.</description>
</key>
<key name="auto-save" type="b">
<default>false</default>
<summary>Autosave</summary>
<description>Whether pluma should automatically save modified files after a time interval. You can set the time interval with the "Autosave Interval" option.</description>
<description>Whether xedit should automatically save modified files after a time interval. You can set the time interval with the "Autosave Interval" option.</description>
</key>
<key name="auto-save-interval" type="i">
<default>10</default>
<summary>Autosave Interval</summary>
<description>Number of minutes after which pluma will automatically save modified files. This will only take effect if the "Autosave" option is turned on.</description>
<description>Number of minutes after which xedit will automatically save modified files. This will only take effect if the "Autosave" option is turned on.</description>
</key>
<key name="writable-vfs-schemes" type="as">
<default>[ 'dav', 'davs', 'ftp', 'sftp', 'smb', 'ssh' ]</default>
<summary>Writable VFS schemes</summary>
<description>List of VFS schemes pluma supports in write mode. The 'file' scheme is writable by default.</description>
<description>List of VFS schemes xedit supports in write mode. The 'file' scheme is writable by default.</description>
</key>
<key name="max-undo-actions" type="i">
<default>2000</default>
<summary>Maximum Number of Undo Actions</summary>
<description>Maximum number of actions that pluma will be able to undo or redo. Use "-1" for unlimited number of actions.</description>
<description>Maximum number of actions that xedit will be able to undo or redo. Use "-1" for unlimited number of actions.</description>
</key>
<key name="wrap-mode" type="s">
<default>'GTK_WRAP_WORD'</default>
@@ -54,32 +54,32 @@
<key name="insert-spaces" type="b">
<default>false</default>
<summary>Insert spaces</summary>
<description>Whether pluma should insert spaces instead of tabs.</description>
<description>Whether xedit should insert spaces instead of tabs.</description>
</key>
<key name="auto-indent" type="b">
<default>false</default>
<summary>Automatic indent</summary>
<description>Whether pluma should enable automatic indentation.</description>
<description>Whether xedit should enable automatic indentation.</description>
</key>
<key name="display-line-numbers" type="b">
<default>false</default>
<summary>Display Line Numbers</summary>
<description>Whether pluma should display line numbers in the editing area.</description>
<description>Whether xedit should display line numbers in the editing area.</description>
</key>
<key name="highlight-current-line" type="b">
<default>false</default>
<summary>Highlight Current Line</summary>
<description>Whether pluma should highlight the current line.</description>
<description>Whether xedit should highlight the current line.</description>
</key>
<key name="bracket-matching" type="b">
<default>false</default>
<summary>Highlight Matching Bracket</summary>
<description>Whether pluma should highlight the bracket matching the selected one.</description>
<description>Whether xedit should highlight the bracket matching the selected one.</description>
</key>
<key name="display-right-margin" type="b">
<default>false</default>
<summary>Display Right Margin</summary>
<description>Whether pluma should display the right margin in the editing area.</description>
<description>Whether xedit should display the right margin in the editing area.</description>
</key>
<key name="right-margin-position" type="i">
<default>80</default>
@@ -94,17 +94,17 @@
<key name="restore-cursor-position" type="b">
<default>true</default>
<summary>Restore Previous Cursor Position</summary>
<description>Whether pluma should restore the previous cursor position when a file is loaded.</description>
<description>Whether xedit should restore the previous cursor position when a file is loaded.</description>
</key>
<key name="enable-search-highlighting" type="b">
<default>true</default>
<summary>Enable Search Highlighting</summary>
<description>Whether pluma should highlight all the occurrences of the searched text.</description>
<description>Whether xedit should highlight all the occurrences of the searched text.</description>
</key>
<key name="enable-syntax-highlighting" type="b">
<default>true</default>
<summary>Enable Syntax Highlighting</summary>
<description>Whether pluma should enable syntax highlighting.</description>
<description>Whether xedit should enable syntax highlighting.</description>
</key>
<key name="toolbar-visible" type="b">
<default>true</default>
@@ -114,7 +114,7 @@
<key name="toolbar-buttons-style" type="s">
<default>'@TOOLBAR_STYLE@'</default>
<summary>Toolbar Buttons Style</summary>
<description>Style for the toolbar buttons. Possible values are "PLUMA_TOOLBAR_SYSTEM" to use the system's default style, "PLUMA_TOOLBAR_ICONS" to display icons only, "PLUMA_TOOLBAR_ICONS_AND_TEXT" to display both icons and text, and "PLUMA_TOOLBAR_ICONS_BOTH_HORIZ" to display prioritized text beside icons. Note that the values are case-sensitive, so make sure they appear exactly as mentioned here.</description>
<description>Style for the toolbar buttons. Possible values are "XEDIT_TOOLBAR_SYSTEM" to use the system's default style, "XEDIT_TOOLBAR_ICONS" to display icons only, "XEDIT_TOOLBAR_ICONS_AND_TEXT" to display both icons and text, and "XEDIT_TOOLBAR_ICONS_BOTH_HORIZ" to display prioritized text beside icons. Note that the values are case-sensitive, so make sure they appear exactly as mentioned here.</description>
</key>
<key name="statusbar-visible" type="b">
<default>true</default>
@@ -139,12 +139,12 @@
<key name="print-syntax-highlighting" type="b">
<default>true</default>
<summary>Print Syntax Highlighting</summary>
<description>Whether pluma should print syntax highlighting when printing documents.</description>
<description>Whether xedit should print syntax highlighting when printing documents.</description>
</key>
<key name="print-header" type="b">
<default>true</default>
<summary>Print Header</summary>
<description>Whether pluma should include a document header when printing documents.</description>
<description>Whether xedit should include a document header when printing documents.</description>
</key>
<key name="print-wrap-mode" type="s">
<default>'GTK_WRAP_WORD'</default>
@@ -154,7 +154,7 @@
<key name="print-line-numbers" type="i">
<default>0</default>
<summary>Print Line Numbers</summary>
<description>If this value is 0, then no line numbers will be inserted when printing a document. Otherwise, pluma will print line numbers every such number of lines.</description>
<description>If this value is 0, then no line numbers will be inserted when printing a document. Otherwise, xedit will print line numbers every such number of lines.</description>
</key>
<key name="print-font-body-pango" type="s">
<default context="print-font-body-pango" l10n="messages">'Monospace 9'</default>
@@ -174,7 +174,7 @@
<key name="auto-detected-encodings" type="as">
<default context="auto-detected" l10n="messages">[ 'UTF-8', 'CURRENT', 'ISO-8859-15', 'UTF-16' ]</default>
<summary>Automatically Detected Encodings</summary>
<description>Sorted list of encodings used by pluma for automatically detecting the encoding of a file. "CURRENT" represents the current locale encoding. Only recognized encodings are used.</description>
<description>Sorted list of encodings used by xedit for automatically detecting the encoding of a file. "CURRENT" represents the current locale encoding. Only recognized encodings are used.</description>
</key>
<key name="shown-in-menu-encodings" type="as">
<default context="shown-in-menu" l10n="messages">[ 'ISO-8859-15' ]</default>
@@ -194,7 +194,7 @@
<key name="active-plugins" type="as">
<default>[ 'docinfo', 'modelines', 'filebrowser', 'spell', 'time' ]</default>
<summary>Active plugins</summary>
<description>List of active plugins. It contains the "Location" of the active plugins. See the .pluma-plugin file for obtaining the "Location" of a given plugin.</description>
<description>List of active plugins. It contains the "Location" of the active plugins. See the .xedit-plugin file for obtaining the "Location" of a given plugin.</description>
</key>
</schema>
</schemalist>

View File

@@ -20,22 +20,22 @@ echo_padded ()
if (which gsettings >/dev/null)
then
echo "GSettings configuration dump:"
gsettings list-recursively org.mate.pluma
gsettings list-recursively org.x.editor
echo
fi
echo "Active plugins:"
gsettings get org.mate.pluma active-plugins \
gsettings get org.x.editor active-plugins \
| sed -r -e 's/^\[(.*)\]$/\1/' -e 's/, /\n/g' \
| sed -e 's/^.*$/ - \0/'
echo
# Manually installed plugins (in $HOME)
if [ -d $HOME/.config/pluma/plugins ]
if [ -d $HOME/.config/xedit/plugins ]
then
echo "Plugins in \$HOME:"
ls $HOME/.config/pluma/plugins/*.pluma-plugin \
| sed -r -e 's#.*/([^/]*)\.pluma-plugin$# - \1#'
ls $HOME/.config/xedit/plugins/*.xedit-plugin \
| sed -r -e 's#.*/([^/]*)\.xedit-plugin$# - \1#'
else
echo "No plugin installed in \$HOME."
fi

View File

@@ -1,22 +1,22 @@
.\" Man page for Pluma.
.TH PLUMA 1 "29 January 2014" "MATE Desktop Environment"
.\" Man page for Xedit.
.TH XEDIT 1 "29 January 2014" "MATE Desktop Environment"
.\" Please adjust this date when revising the manpage.
.\"
.SH "NAME"
Pluma \- The MATE Text Editor
Xedit \- The MATE Text Editor
.SH "SYNOPSIS"
.B pluma [OPTIONS...] [FILES...]
.B xedit [OPTIONS...] [FILES...]
.SH "DESCRIPTION"
Pluma is the official text editor of the MATE desktop environment. While aiming at simplicity and ease of use, Pluma is a powerful general purpose text editor. It can be used to create and edit all sorts of text files.
Xedit is the official text editor of the MATE desktop environment. While aiming at simplicity and ease of use, Xedit is a powerful general purpose text editor. It can be used to create and edit all sorts of text files.
.PP
Pluma features a flexible plugin system which can be used to dynamically add new advanced features to Pluma itself.
Xedit features a flexible plugin system which can be used to dynamically add new advanced features to Xedit itself.
.PP
This manual page briefly documents the \fBpluma\fR command.
This manual page briefly documents the \fBxedit\fR command.
.SH "OPTIONS"
.TP
\fBfilename(s)...\fR
Specifies the file to open when \fBpluma\fR starts. If this is not specified, \fBpluma\fR will start a new, blank file with an "Unsaved Document" label. Multiple files can be loaded if they are separated by spaces. \fBpluma\fR also supports handling of remote files.
Specifies the file to open when \fBxedit\fR starts. If this is not specified, \fBxedit\fR will start a new, blank file with an "Unsaved Document" label. Multiple files can be loaded if they are separated by spaces. \fBxedit\fR also supports handling of remote files.
.TP
\fB\-\-display=DISPLAY\fR
X display to use.
@@ -25,10 +25,10 @@ X display to use.
Set the character encoding to be used for opening the files listed on the command line.
.TP
\fB\-\-new\-window\fR
Create a new toplevel window in an existing instance of \fBpluma\fR.
Create a new toplevel window in an existing instance of \fBxedit\fR.
.TP
\fB\-\-new\-document\fR
Create a new document in an existing instance of \fBpluma\fR, on the last Pluma window that had focus.
Create a new document in an existing instance of \fBxedit\fR, on the last Xedit window that had focus.
.TP
\fB+[num]\fR
For the first file, go to the line specified by "num" (do not insert a space between the "+" sign and the number).
@@ -49,25 +49,25 @@ Print all command line options.
This program also accepts the standard GTK options.
.SH "EXAMPLES"
\fBpluma \-\-encoding WINDOWS-1252 ftp://ftp.kernel.org/pub/linux/kernel/README\fR
\fBxedit \-\-encoding WINDOWS-1252 ftp://ftp.kernel.org/pub/linux/kernel/README\fR
.RS 4
Open the Linux Kernel README file from kernel.org's FTP server using Windows-1252 character encoding.
.RE
.PP
\fBpluma +156 http://mate-desktop.org/\fR
\fBxedit +156 http://mate-desktop.org/\fR
.RS 4
Open the main web page of mate-desktop.org and jump to line 156.
.RE
.PP
\fBpluma \-\-new\-window ~/.bashrc ~/.bash_history\fR
\fBxedit \-\-new\-window ~/.bashrc ~/.bash_history\fR
.RS 4
Open the current users .bashrc and .bash_history files in a new Pluma window.
Open the current users .bashrc and .bash_history files in a new Xedit window.
.SH "BUGS"
.SS Should you encounter any bugs, they may be reported at:
http://github.com/mate-desktop/pluma/issues
http://github.com/mate-desktop/xedit/issues
.SH "NOTES"
This version of the Pluma Manual Page was written with Pluma. =)
This version of the Xedit Manual Page was written with Xedit. =)
.SH "AUTHORS"
.SS This Man Page has been updated/re-written for the MATE Desktop Environment by:
Adam Erdman <hekel@archlinux.info> (2014)
@@ -83,5 +83,5 @@ Chema Celorio
.fi
.SH "SEE ALSO"
.SS
Pluma documentation can be found from the "Help" menu, or by pressing the F1 key.
Xedit documentation can be found from the "Help" menu, or by pressing the F1 key.
Further information may also be available at: http://wiki.mate-desktop.org/docs

View File

@@ -1,21 +1,21 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Copyright 2014 MATE team <mate-dev@ml.mate-desktop.org> -->
<component type="desktop">
<id>pluma.desktop</id>
<id>xedit.desktop</id>
<metadata_license>CC0-1.0</metadata_license>
<project_license>GPL-2.0+</project_license>
<name>Pluma</name>
<name>Xedit</name>
<_summary>A Text Editor for the MATE desktop environment</_summary>
<_description>
<p>
Pluma is a small, but powerful text editor designed specifically for
Xedit is a small, but powerful text editor designed specifically for
the MATE desktop. It has most standard text editor functions and fully
supports international text in Unicode. Advanced features include syntax
highlighting and automatic indentation of source code, printing and editing
of multiple documents in one window.
</p>
<p>
Pluma is extensible through a plugin system, which currently includes
Xedit is extensible through a plugin system, which currently includes
support for spell checking, comparing files, viewing CVS ChangeLogs, and
adjusting indentation levels.
</p>
@@ -23,17 +23,17 @@
<screenshots>
<screenshot type="default">
<image width="960" height="540">
https://alexpl.fedorapeople.org/AppData/pluma/screens/pluma_01.png
https://alexpl.fedorapeople.org/AppData/xedit/screens/xedit_01.png
</image>
</screenshot>
<screenshot>
<image width="960" height="540">
https://alexpl.fedorapeople.org/AppData/pluma/screens/pluma_02.png
https://alexpl.fedorapeople.org/AppData/xedit/screens/xedit_02.png
</image>
</screenshot>
<screenshot>
<image width="960" height="540">
https://alexpl.fedorapeople.org/AppData/pluma/screens/pluma_03.png
https://alexpl.fedorapeople.org/AppData/xedit/screens/xedit_03.png
</image>
</screenshot>
</screenshots>

View File

@@ -1,8 +1,8 @@
[Desktop Entry]
_Name=Pluma
_Name=Xedit
_GenericName=Text Editor
_Comment=Edit text files
Exec=pluma %U
Exec=xedit %U
Terminal=false
Type=Application
StartupNotify=true
@@ -10,10 +10,10 @@ MimeType=text/plain;
Icon=accessories-text-editor
Categories=GTK;Utility;TextEditor;
Keywords=text;editor;MATE;tabs;highlighting;code;multiple;files;pluggable;
X-MATE-DocPath=pluma/pluma.xml
_X-MATE-FullName=Pluma Text Editor
X-MATE-DocPath=xedit/xedit.xml
_X-MATE-FullName=Xedit Text Editor
X-MATE-Bugzilla-Bugzilla=MATE
X-MATE-Bugzilla-Product=Pluma
X-MATE-Bugzilla-Product=Xedit
X-MATE-Bugzilla-Component=general
X-MATE-Bugzilla-Version=@VERSION@
X-MATE-Bugzilla-ExtraInfoScript=@FULL_LIBEXECDIR@/pluma/pluma-bugreport.sh
X-MATE-Bugzilla-ExtraInfoScript=@FULL_LIBEXECDIR@/xedit/xedit-bugreport.sh

View File

@@ -2,11 +2,11 @@ prefix=@prefix@
exec_prefix=@exec_prefix@
libdir=@libdir@
includedir=@includedir@
pluginsdir=@libdir@/pluma/plugins
pluginsdir=@libdir@/xedit/plugins
Name: pluma
Description: pluma
Name: xedit
Description: xedit
Requires: gtksourceview-@GTK_API_VERSION@
Version: @VERSION@
Cflags: -I${includedir}/pluma
Cflags: -I${includedir}/xedit
Libs: -L${libdir}