diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-27 14:32:59 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-27 14:32:59 +0000 |
commit | adb934701975f6b0214475d1a8d0d1ce727b9d4d (patch) | |
tree | 5688c745d10b64c8856586864ec416a6bdae881d /data | |
parent | Initial commit. (diff) | |
download | gedit-adb934701975f6b0214475d1a8d0d1ce727b9d4d.tar.xz gedit-adb934701975f6b0214475d1a8d0d1ce727b9d4d.zip |
Adding upstream version 3.38.1.upstream/3.38.1upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'data')
-rw-r--r-- | data/gedit-osx.gschema.override | 5 | ||||
-rw-r--r-- | data/gedit.1 | 104 | ||||
-rw-r--r-- | data/icons/meson.build | 9 | ||||
-rw-r--r-- | data/icons/org.gnome.gedit-symbolic.svg | 39 | ||||
-rw-r--r-- | data/icons/org.gnome.gedit.Devel.svg | 1 | ||||
-rw-r--r-- | data/icons/org.gnome.gedit.svg | 376 | ||||
-rw-r--r-- | data/meson.build | 97 | ||||
-rw-r--r-- | data/org.gnome.gedit-ms-windows.gschema.override | 5 | ||||
-rw-r--r-- | data/org.gnome.gedit.appdata.xml.in | 49 | ||||
-rw-r--r-- | data/org.gnome.gedit.desktop.in | 26 | ||||
-rw-r--r-- | data/org.gnome.gedit.gschema.xml.in | 308 | ||||
-rw-r--r-- | data/org.gnome.gedit.service.in | 3 | ||||
-rw-r--r-- | data/privacy-policy.md | 4 | ||||
-rw-r--r-- | data/screenshot.png | bin | 0 -> 95886 bytes |
14 files changed, 1026 insertions, 0 deletions
diff --git a/data/gedit-osx.gschema.override b/data/gedit-osx.gschema.override new file mode 100644 index 0000000..bee32cc --- /dev/null +++ b/data/gedit-osx.gschema.override @@ -0,0 +1,5 @@ +[org.gnome.desktop.interface] +monospace-font-name = 'Menlo 12' + +[org.gnome.gedit.preferences.editor] +editor-font = 'Menlo 12' diff --git a/data/gedit.1 b/data/gedit.1 new file mode 100644 index 0000000..095ee6d --- /dev/null +++ b/data/gedit.1 @@ -0,0 +1,104 @@ +.TH GEDIT 1 "17 May 2010" +.SH NAME +\fBgedit\fP \- text editor for the GNOME Desktop + +.SH SYNOPSIS +.br +.B gedit +[\fIOPTION\fR...] [\fIFILE\fR...] [+\fILINE\fR[:\fICOLUMN\fR]] +.br +.B gedit +[\fIOPTION\fR...] - + +.SH DESCRIPTION +.B gedit +is the official text editor of the GNOME desktop environment. + +While aiming at simplicity and ease of use, +.B gedit +is a powerful general purpose text editor. +It can be used to create and edit all kinds of text files. + +.B gedit +features a flexible plugin system which can be used to dynamically add +new advanced features to +.B gedit +itself. +.LP +.SH OPTIONS + +.TP +\fB\-\-encoding\fR +Set the character encoding to be used for opening the files listed on the command line. +.TP +\fB\-\-list-encodings\fR +Display list of possible values for the encoding option and exit. +.TP +\fB\-\-new\-window\fR +Create a new toplevel window in an existing instance of +.B gedit. +.TP +\fB\-\-new\-document\fR +Create a new document in an existing instance of +.B gedit. +.TP +\fB\-s, \-\-standalone\fR +Run +.B gedit +in standalone mode. +.TP +\fB\-w, \-\-wait\fR +Open files and block the +.B gedit +process. +.TP +\fB\-\-help\fR +Prints the command line options. +.TP +\fB\-\-version\fR +Output version information and exit. +.TP +\fBFILE\fR +Specifies the file to open when +.B gedit +starts. If this is not specified, +.B gedit +will load a blank file with an "Unsaved Document" label. Multiple files can be loaded if they are +separated by spaces. +.B gedit +also supports handling of remote files. For example, you can pass the location +of a webpage to +.B gedit +, like "http://www.gnome.org", or load a file from a FTP server, +like "ftp://ftp.gnome.org/robots.txt". +.TP +\fB-\fR +.B gedit will read from stdin +.TP +\fB+LINE\fR +For the first file, go to the line specified by LINE (do not insert a space between the "+" sign and the number). +If LINE is missing, go to the last line. +.TP +\fBCOLUMN\fR +For the first file, go to the column specified by COLUMN. +If COLUMN is missing, go to the first column. + +.SH BUGS +If you find a bug, please report it at the GNOME bug tracker. See https://wiki.gnome.org/Apps/Gedit/ReportingBugs. +.SH AUTHORS +Paolo Maggi (paolo@gnome.org) +.TP +Paolo Borelli (pborelli@gnome.org) +.TP +Steve Frécinaux (code@istique.net) +.TP +Jesse van den Kieboom (jessevdk@gnome.org) +.TP +Ignacio Casal Quinteiro <icq@gnome.org> +.TP +James Willcox (jwillcox@gnome.org) +.TP +Federico Mena Quintero (federico@novell.com) +.TP +Chema Celorio + diff --git a/data/icons/meson.build b/data/icons/meson.build new file mode 100644 index 0000000..c1f2edb --- /dev/null +++ b/data/icons/meson.build @@ -0,0 +1,9 @@ +install_data( + 'org.gnome.gedit.svg', + install_dir: get_option('datadir') / 'icons/hicolor/scalable/apps' +) + +install_data( + 'org.gnome.gedit-symbolic.svg', + install_dir: get_option('datadir') / 'icons/hicolor/symbolic/apps' +) diff --git a/data/icons/org.gnome.gedit-symbolic.svg b/data/icons/org.gnome.gedit-symbolic.svg new file mode 100644 index 0000000..b75c950 --- /dev/null +++ b/data/icons/org.gnome.gedit-symbolic.svg @@ -0,0 +1,39 @@ +<?xml version='1.0' encoding='UTF-8'?> +<!-- Created with Inkscape (http://www.inkscape.org/) --> + +<svg sodipodi:docname='accessories-text-editor-symbolic.svg' xmlns:inkscape='http://www.inkscape.org/namespaces/inkscape' xmlns:dc='http://purl.org/dc/elements/1.1/' xmlns:rdf='http://www.w3.org/1999/02/22-rdf-syntax-ns#' inkscape:version='0.48.1 r9760' version='1.1' id='svg7384' xmlns:svg='http://www.w3.org/2000/svg' xmlns:sodipodi='http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd' xmlns:cc='http://creativecommons.org/ns#' xmlns='http://www.w3.org/2000/svg' width='16' height='16.008873'> + <metadata id='metadata90'> + <rdf:RDF> + <cc:Work rdf:about=''> + <dc:format>image/svg+xml</dc:format> + <dc:type rdf:resource='http://purl.org/dc/dcmitype/StillImage'/> + <dc:title>Gnome Symbolic Icon Theme</dc:title> + </cc:Work> + </rdf:RDF> + </metadata> + <sodipodi:namedview inkscape:window-maximized='0' inkscape:snap-nodes='true' inkscape:snap-others='false' inkscape:object-paths='false' inkscape:zoom='11.313708' showborder='false' showgrid='false' inkscape:snap-global='true' inkscape:current-layer='layer11' inkscape:pageopacity='1' inkscape:pageshadow='2' inkscape:object-nodes='false' bordercolor='#666666' gridtolerance='10' inkscape:snap-bbox-midpoints='false' inkscape:window-height='967' pagecolor='#555753' id='namedview88' showguides='true' inkscape:window-x='2087' inkscape:window-y='282' inkscape:snap-bbox='true' borderopacity='1' inkscape:window-width='1226' inkscape:cx='-20.114158' inkscape:cy='266.82175' inkscape:bbox-paths='false' objecttolerance='10' inkscape:guide-bbox='true' inkscape:snap-to-guides='true' guidetolerance='10' inkscape:snap-grids='true'> + <inkscape:grid visible='true' spacingx='1px' spacingy='1px' enabled='true' empspacing='2' snapvisiblegridlinesonly='true' id='grid4866' type='xygrid'/> + </sodipodi:namedview> + <title id='title9167'>Gnome Symbolic Icon Theme</title> + <defs id='defs7386'/> + <g inkscape:groupmode='layer' inkscape:label='status' transform='translate(-163.0002,-508.99113)' id='layer9' style='display:inline'/> + <g inkscape:groupmode='layer' inkscape:label='devices' transform='translate(-163.0002,-508.99113)' id='layer10'/> + <g inkscape:groupmode='layer' inkscape:label='apps' transform='translate(-163.0002,-508.99113)' id='layer11'> + <path d='m 168.40625,515 a 0.50219246,0.50219246 0 1 0 0.0937,1 l 6,0 a 0.50005,0.50005 0 1 0 0,-1 l -6,0 a 0.50005,0.50005 0 0 0 -0.0937,0 z' id='path3601-2' style='font-size:medium;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-indent:0;text-align:start;text-decoration:none;line-height:normal;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;block-progression:tb;writing-mode:lr-tb;text-anchor:start;baseline-shift:baseline;color:#000000;fill:#bebebe;fill-opacity:1;stroke:none;stroke-width:1;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate;font-family:Sans;-inkscape-font-specification:Sans' inkscape:connector-curvature='0'/> + <path d='m 168.40625,517 a 0.50219246,0.50219246 0 1 0 0.0937,1 l 5,0 a 0.50005,0.50005 0 1 0 0,-1 l -5,0 a 0.50005,0.50005 0 0 0 -0.0937,0 z' id='path3601-2-3' style='font-size:medium;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-indent:0;text-align:start;text-decoration:none;line-height:normal;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;block-progression:tb;writing-mode:lr-tb;text-anchor:start;baseline-shift:baseline;color:#000000;fill:#bebebe;fill-opacity:1;stroke:none;stroke-width:1;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate;font-family:Sans;-inkscape-font-specification:Sans' inkscape:connector-curvature='0'/> + <path d='m 168.40625,519 a 0.50219246,0.50219246 0 1 0 0.0937,1 l 6,0 a 0.50005,0.50005 0 1 0 0,-1 l -6,0 a 0.50005,0.50005 0 0 0 -0.0937,0 z' id='path3601-2-3-2' style='font-size:medium;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-indent:0;text-align:start;text-decoration:none;line-height:normal;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;block-progression:tb;writing-mode:lr-tb;text-anchor:start;baseline-shift:baseline;color:#000000;fill:#bebebe;fill-opacity:1;stroke:none;stroke-width:1;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate;font-family:Sans;-inkscape-font-specification:Sans' inkscape:connector-curvature='0'/> + <path d='m 168.40625,521 a 0.50219246,0.50219246 0 1 0 0.0937,1 l 3,0 a 0.50005,0.50005 0 1 0 0,-1 l -3,0 a 0.50005,0.50005 0 0 0 -0.0937,0 z' id='path3601-2-3-3' style='font-size:medium;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-indent:0;text-align:start;text-decoration:none;line-height:normal;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;block-progression:tb;writing-mode:lr-tb;text-anchor:start;baseline-shift:baseline;color:#000000;fill:#bebebe;fill-opacity:1;stroke:none;stroke-width:1;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate;font-family:Sans;-inkscape-font-specification:Sans' inkscape:connector-curvature='0'/> + <path d='m 167.0002,510 c -1.0907,0 -2,0.9093 -2,2 l 0,11 c 0,1.0907 0.9093,2 2,2 l 9,0 c 1.0907,0 2,-0.9093 2,-2 l 0,-11 c 0,-1.0907 -0.9093,-2 -2,-2 0,4.33333 0,8.66667 0,13 l -9,0 c 0,-4.33333 0,-8.66667 0,-13 z' sodipodi:nodetypes='csssssscccc' id='rect10788' inkscape:connector-curvature='0' style='font-size:medium;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-indent:0;text-align:start;text-decoration:none;line-height:normal;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;block-progression:tb;writing-mode:lr-tb;text-anchor:start;color:#000000;fill:#bebebe;fill-opacity:1;stroke:none;stroke-width:2;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:new;font-family:Sans;-inkscape-font-specification:Sans'/> + <path d='M 168.40625,509 A 0.50005,0.50005 0 0 0 168,509.5 l 0,3 a 0.50005,0.50005 0 1 0 1,0 l 0,-3 a 0.50005,0.50005 0 0 0 -0.59375,-0.5 z' id='path3601-2-3-3-9' style='font-size:medium;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-indent:0;text-align:start;text-decoration:none;line-height:normal;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;block-progression:tb;writing-mode:lr-tb;text-anchor:start;baseline-shift:baseline;color:#000000;fill:#bebebe;fill-opacity:1;stroke:none;stroke-width:1;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate;font-family:Sans;-inkscape-font-specification:Sans' inkscape:connector-curvature='0'/> + <path d='M 170.40625,509 A 0.50005,0.50005 0 0 0 170,509.5 l 0,3 a 0.50005,0.50005 0 1 0 1,0 l 0,-3 a 0.50005,0.50005 0 0 0 -0.59375,-0.5 z' id='path3601-2-3-3-9-3' style='font-size:medium;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-indent:0;text-align:start;text-decoration:none;line-height:normal;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;block-progression:tb;writing-mode:lr-tb;text-anchor:start;baseline-shift:baseline;color:#000000;fill:#bebebe;fill-opacity:1;stroke:none;stroke-width:1;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate;font-family:Sans;-inkscape-font-specification:Sans' inkscape:connector-curvature='0'/> + <path d='M 172.40625,509 A 0.50005,0.50005 0 0 0 172,509.5 l 0,3 a 0.50005,0.50005 0 1 0 1,0 l 0,-3 a 0.50005,0.50005 0 0 0 -0.59375,-0.5 z' id='path3601-2-3-3-9-3-3' style='font-size:medium;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-indent:0;text-align:start;text-decoration:none;line-height:normal;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;block-progression:tb;writing-mode:lr-tb;text-anchor:start;baseline-shift:baseline;color:#000000;fill:#bebebe;fill-opacity:1;stroke:none;stroke-width:1;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate;font-family:Sans;-inkscape-font-specification:Sans' inkscape:connector-curvature='0'/> + <path d='M 174.40625,509 A 0.50005,0.50005 0 0 0 174,509.5 l 0,3 a 0.50005,0.50005 0 1 0 1,0 l 0,-3 a 0.50005,0.50005 0 0 0 -0.59375,-0.5 z' id='path3601-2-3-3-9-3-3-7' style='font-size:medium;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-indent:0;text-align:start;text-decoration:none;line-height:normal;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;block-progression:tb;writing-mode:lr-tb;text-anchor:start;baseline-shift:baseline;color:#000000;fill:#bebebe;fill-opacity:1;stroke:none;stroke-width:1;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate;font-family:Sans;-inkscape-font-specification:Sans' inkscape:connector-curvature='0'/> + + </g> + <g inkscape:groupmode='layer' inkscape:label='places' transform='translate(-163.0002,-508.99113)' id='layer13'/> + <g inkscape:groupmode='layer' inkscape:label='mimetypes' transform='translate(-163.0002,-508.99113)' id='layer14'/> + <g inkscape:groupmode='layer' inkscape:label='emblems' transform='translate(-163.0002,-508.99113)' id='layer15' style='display:inline'/> + <g inkscape:groupmode='layer' inkscape:label='emotes' transform='translate(-163.0002,-508.99113)' id='g71291' style='display:inline'/> + <g inkscape:groupmode='layer' inkscape:label='categories' transform='translate(-163.0002,-508.99113)' id='g4953' style='display:inline'/> + <g inkscape:groupmode='layer' inkscape:label='actions' transform='translate(-163.0002,-508.99113)' id='layer12' style='display:inline'/> +</svg> diff --git a/data/icons/org.gnome.gedit.Devel.svg b/data/icons/org.gnome.gedit.Devel.svg new file mode 100644 index 0000000..16c8749 --- /dev/null +++ b/data/icons/org.gnome.gedit.Devel.svg @@ -0,0 +1 @@ +<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" height="128" width="128"><defs><clipPath id="f"><path d="M88 96h20v20H88zm0 0"/></clipPath><clipPath id="i"><path d="M20 8h88v108H20zm0 0"/></clipPath><clipPath id="B"><path d="M20 8h88v108H20zm0 0"/></clipPath><clipPath id="C"><path d="M100 116H28a8 8 0 01-8-8V16a8 8 0 018-8h72a8 8 0 018 8v92a8 8 0 01-8 8zm0 0"/></clipPath><clipPath id="s"><path d="M0 0h128v128H0z"/></clipPath><clipPath id="q"><path d="M0 0h128v128H0z"/></clipPath><clipPath id="b"><path d="M0 0h192v152H0z"/></clipPath><clipPath id="x"><path d="M108 96l-20 20h-5.715V90.285H108zm0 0"/></clipPath><clipPath id="g"><path d="M108 96l-20 20h-5.715V90.285H108zm0 0"/></clipPath><clipPath id="w"><path d="M88 96h20v20H88zm0 0"/></clipPath><clipPath id="j"><path d="M100 116H28a8 8 0 01-8-8V16a8 8 0 018-8h72a8 8 0 018 8v92a8 8 0 01-8 8zm0 0"/></clipPath><clipPath id="n"><path d="M0 0h128v128H0z"/></clipPath><clipPath id="c"><path d="M0 0h192v152H0z"/></clipPath><clipPath id="d"><path d="M0 0h128v128H0z"/></clipPath><linearGradient gradientTransform="matrix(0 .17857 .17857 0 84.429 44.571)" y2="72" x2="340" y1="76" x1="344" gradientUnits="userSpaceOnUse" id="h"><stop offset="0" stop-color="#d5d3cf"/><stop offset="1" stop-color="#fff"/></linearGradient><linearGradient gradientTransform="matrix(0 .37 -.98462 0 295.385 -30.36)" y2="235" x2="428" y1="235" x1="300" gradientUnits="userSpaceOnUse" id="r"><stop offset="0" stop-color="#f9f06b"/><stop offset="1" stop-color="#f5c211"/></linearGradient><linearGradient gradientTransform="matrix(.07621 -.4442 .4442 -.07621 77.726 159.838)" y2="-127.399" x2="158.518" y1="-97.698" x1="128.817" gradientUnits="userSpaceOnUse" id="E"><stop offset="0" stop-color="#d0bb8e"/><stop offset="1" stop-color="#fff"/></linearGradient><linearGradient gradientTransform="rotate(180 68 -86)" y2="-276" x2="116" y1="-276" x1="28" gradientUnits="userSpaceOnUse" id="e"><stop offset="0" stop-color="#c0bfbc"/><stop offset=".045" stop-color="#fff"/><stop offset=".091" stop-color="#deddda"/><stop offset=".909" stop-color="#deddda"/><stop offset=".955" stop-color="#fff"/><stop offset="1" stop-color="#c0bfbc"/></linearGradient><linearGradient gradientTransform="matrix(0 .17857 .17857 0 84.429 44.571)" y2="72" x2="340" y1="76" x1="344" gradientUnits="userSpaceOnUse" id="y"><stop offset="0" stop-color="#d5d3cf"/><stop offset="1" stop-color="#fff"/></linearGradient><linearGradient gradientTransform="matrix(.07621 -.4442 .4442 -.07621 77.726 159.838)" y2="-127.399" x2="158.518" y1="-97.698" x1="128.817" gradientUnits="userSpaceOnUse" id="m"><stop offset="0" stop-color="#d0bb8e"/><stop offset="1" stop-color="#fff"/></linearGradient><linearGradient gradientTransform="rotate(180 68 -86)" y2="-276" x2="116" y1="-276" x1="28" gradientUnits="userSpaceOnUse" id="v"><stop offset="0" stop-color="#c0bfbc"/><stop offset=".045" stop-color="#fff"/><stop offset=".091" stop-color="#deddda"/><stop offset=".909" stop-color="#deddda"/><stop offset=".955" stop-color="#fff"/><stop offset="1" stop-color="#c0bfbc"/></linearGradient><g clip-path="url(#d)" id="o"><path d="M100 122H28a8 8 0 01-8-8V99.75a8 8 0 018-8h72a8 8 0 018 8V114a8 8 0 01-8 8zm0 0" fill="#1a5fb4"/><path d="M100 120H28a8 8 0 01-8-8V88a8 8 0 018-8h72a8 8 0 018 8v24a8 8 0 01-8 8zm0 0" fill="url(#e)"/><path d="M100 116H28a8 8 0 01-8-8V16a8 8 0 018-8h72a8 8 0 018 8v92a8 8 0 01-8 8zm0 0" fill="#f6f5f4"/><path d="M28 18a1.999 1.999 0 100 4 1.999 1.999 0 100-4zm8 0a1.999 1.999 0 100 4 1.999 1.999 0 100-4zm8 0a1.999 1.999 0 100 4 1.999 1.999 0 100-4zm8 0a1.999 1.999 0 100 4 1.999 1.999 0 100-4zm8 0a1.999 1.999 0 100 4 1.999 1.999 0 100-4zm8 0a1.999 1.999 0 100 4 1.999 1.999 0 100-4zm8 0a1.999 1.999 0 100 4 1.999 1.999 0 100-4zm8 0a1.999 1.999 0 100 4 1.999 1.999 0 100-4zm8 0a1.999 1.999 0 100 4 1.999 1.999 0 100-4zm0 0M98 20a1.999 1.999 0 104 0 1.999 1.999 0 10-4 0zm0 0M108 22a1.998 1.998 0 01-1.73-1 1.99 1.99 0 010-2c.355-.617 1.015-1 1.73-1M20 22c.715 0 1.375-.383 1.73-1a1.99 1.99 0 000-2A1.998 1.998 0 0020 18" fill="#d5d3cf"/><g clip-path="url(#f)"><g clip-path="url(#g)"><path d="M88 104v9.715a8 8 0 008 8h9.715a8 8 0 008-8V104a8 8 0 00-8-8H96a8 8 0 00-8 8zm0 0" fill="url(#h)"/></g></g><g clip-path="url(#i)"><g clip-path="url(#j)"><use mask="url(#k)" xlink:href="#l"/></g></g><path d="M32 104V84l20 20zm0 0" fill="url(#m)"/><path d="M32 104v-8l8 8zm0 0" fill="#424048"/><path d="M50 102L34 86l67.945-67.945 16 16zm0 0" fill="#f6d32d"/><path d="M37.887 89.887L32 84l68-68 5.836 5.941zm0 0" fill="#f9f06b"/><path d="M46.113 98.113L52 104l68-68-5.941-5.836zm0 0" fill="#e5a50a"/></g><g filter="url(#a)" clip-path="url(#n)" id="p"><use xlink:href="#o"/></g><g clip-path="url(#b)" id="l"><path d="M100 16L32 84v20h22l68-68-7.867-5.762-8.297-8.297zm0 0"/></g><g clip-path="url(#q)" id="u"><path d="M128 80.64V128H0V80.64zm0 0" fill="url(#r)"/><path d="M13.309 80.64L60.664 128H81.88l-47.36-47.36zm42.421 0L103.094 128h21.215L76.945 80.64zm42.43 0L128 110.48V89.27l-8.629-8.63zM0 88.548v21.215L18.238 128h21.215zm0 0"/></g><g clip-path="url(#s)" id="A"><use mask="url(#t)" xlink:href="#u"/></g><mask id="k"><g filter="url(#a)"><path fill-opacity=".2" d="M0 0h128v128H0z"/></g></mask><mask id="z"><use xlink:href="#p"/></mask><mask id="t"><g filter="url(#a)"><path fill-opacity=".8" d="M0 0h128v128H0z"/></g></mask><mask id="D"><g filter="url(#a)"><path fill-opacity=".2" d="M0 0h128v128H0z"/></g></mask><filter height="100%" width="100%" y="0%" x="0%" filterUnits="objectBoundingBox" id="a"><feColorMatrix values="0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1 0" in="SourceGraphic"/></filter></defs><path d="M100 122H28a8 8 0 01-8-8V99.75a8 8 0 018-8h72a8 8 0 018 8V114a8 8 0 01-8 8zm0 0" fill="#1a5fb4"/><path d="M100 120H28a8 8 0 01-8-8V88a8 8 0 018-8h72a8 8 0 018 8v24a8 8 0 01-8 8zm0 0" fill="url(#v)"/><path d="M100 116H28a8 8 0 01-8-8V16a8 8 0 018-8h72a8 8 0 018 8v92a8 8 0 01-8 8zm0 0" fill="#f6f5f4"/><path d="M28 18a1.999 1.999 0 100 4 1.999 1.999 0 100-4zm8 0a1.999 1.999 0 100 4 1.999 1.999 0 100-4zm8 0a1.999 1.999 0 100 4 1.999 1.999 0 100-4zm8 0a1.999 1.999 0 100 4 1.999 1.999 0 100-4zm8 0a1.999 1.999 0 100 4 1.999 1.999 0 100-4zm8 0a1.999 1.999 0 100 4 1.999 1.999 0 100-4zm8 0a1.999 1.999 0 100 4 1.999 1.999 0 100-4zm8 0a1.999 1.999 0 100 4 1.999 1.999 0 100-4zm8 0a1.999 1.999 0 100 4 1.999 1.999 0 100-4zm0 0M20 22c.715 0 1.375-.383 1.73-1a1.99 1.99 0 000-2A1.998 1.998 0 0020 18" fill="#d5d3cf"/><g clip-path="url(#w)"><g clip-path="url(#x)"><path d="M88 104v9.715a8 8 0 008 8h9.715a8 8 0 008-8V104a8 8 0 00-8-8H96a8 8 0 00-8 8zm0 0" fill="url(#y)"/></g></g><use mask="url(#z)" xlink:href="#A"/><path d="M98 20a1.999 1.999 0 104 0 1.999 1.999 0 10-4 0zm0 0M108 22a1.998 1.998 0 01-1.73-1 1.99 1.99 0 010-2c.355-.617 1.015-1 1.73-1" fill="#d5d3cf"/><g clip-path="url(#B)"><g clip-path="url(#C)"><use mask="url(#D)" xlink:href="#l"/></g></g><path d="M32 104V84l20 20zm0 0" fill="url(#E)"/><path d="M32 104v-8l8 8zm0 0" fill="#424048"/><path d="M50 102L34 86l67.945-67.945 16 16zm0 0" fill="#f6d32d"/><path d="M37.887 89.887L32 84l68-68 5.836 5.941zm0 0" fill="#f9f06b"/><path d="M46.113 98.113L52 104l68-68-5.941-5.836zm0 0" fill="#e5a50a"/></svg>
\ No newline at end of file diff --git a/data/icons/org.gnome.gedit.svg b/data/icons/org.gnome.gedit.svg new file mode 100644 index 0000000..af97ab9 --- /dev/null +++ b/data/icons/org.gnome.gedit.svg @@ -0,0 +1,376 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<svg + xmlns:dc="http://purl.org/dc/elements/1.1/" + xmlns:cc="http://creativecommons.org/ns#" + xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" + xmlns:svg="http://www.w3.org/2000/svg" + xmlns="http://www.w3.org/2000/svg" + xmlns:xlink="http://www.w3.org/1999/xlink" + viewBox="0 0 128 128" + style="display:inline;enable-background:new" + version="1.0" + id="svg11300" + height="128" + width="128"> + <title + id="title4162">Adwaita Icon Template</title> + <defs + id="defs3"> + <linearGradient + id="linearGradient1038"> + <stop + style="stop-color:#c0bfbc;stop-opacity:1" + offset="0" + id="stop1026" /> + <stop + id="stop1028" + offset="0.04545454" + style="stop-color:#ffffff;stop-opacity:1" /> + <stop + id="stop1030" + offset="0.09090909" + style="stop-color:#deddda;stop-opacity:1" /> + <stop + id="stop1032" + offset="0.90909088" + style="stop-color:#deddda;stop-opacity:1" /> + <stop + style="stop-color:#ffffff;stop-opacity:1" + offset="0.95454544" + id="stop1034" /> + <stop + style="stop-color:#c0bfbc;stop-opacity:1" + offset="1" + id="stop1036" /> + </linearGradient> + <clipPath + id="clipPath2213" + clipPathUnits="userSpaceOnUse"> + <rect + ry="8" + rx="8" + y="-188" + x="160" + height="56" + width="16" + id="rect2215" + style="display:inline;opacity:1;vector-effect:none;fill:none;fill-opacity:1;stroke:#000000;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;marker-start:none;marker-mid:none;marker-end:none;paint-order:normal;enable-background:new" /> + </clipPath> + <linearGradient + id="linearGradient1005"> + <stop + style="stop-color:#d0bb8e;stop-opacity:1" + offset="0" + id="stop1001" /> + <stop + style="stop-color:#ffffff;stop-opacity:1" + offset="1" + id="stop1003" /> + </linearGradient> + <linearGradient + id="linearGradient1351-3"> + <stop + id="stop1347" + offset="0" + style="stop-color:#d5d3cf;stop-opacity:1" /> + <stop + id="stop1349-6" + offset="1" + style="stop-color:#ffffff;stop-opacity:1" /> + </linearGradient> + <linearGradient + gradientTransform="translate(-135.99999)" + gradientUnits="userSpaceOnUse" + y2="-276" + x2="115.99999" + y1="-276" + x1="27.99999" + id="linearGradient1159" + xlink:href="#linearGradient1038" /> + <linearGradient + gradientTransform="matrix(0.07621224,-0.44419723,0.44419725,-0.07621223,77.725794,331.83807)" + y2="-127.39915" + x2="158.51802" + y1="-97.698288" + x1="128.81717" + gradientUnits="userSpaceOnUse" + id="linearGradient1103" + xlink:href="#linearGradient1005" /> + <clipPath + id="clipPath1609-7" + clipPathUnits="userSpaceOnUse"> + <path + style="fill:#e74747;stroke:none;stroke-width:0.25px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" + d="m 252,116 28,-28 v -8 h -36 v 36 z" + id="path1611-5" /> + </clipPath> + <linearGradient + y2="72" + x2="340" + y1="76" + x1="344" + gradientTransform="matrix(0.25,0,0,0.25,180,83)" + gradientUnits="userSpaceOnUse" + id="linearGradient1130" + xlink:href="#linearGradient1351-3" /> + <clipPath + id="clipPath1062" + clipPathUnits="userSpaceOnUse"> + <rect + transform="scale(-1)" + style="opacity:1;vector-effect:none;fill:#f6f5f4;fill-opacity:1;stroke:none;stroke-width:13.71876526;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;marker-start:none;marker-mid:none;marker-end:none;paint-order:normal" + id="rect1064" + width="88" + height="108" + x="-108" + y="-116" + rx="8" + ry="8" + clip-path="none" /> + </clipPath> + </defs> + <metadata + id="metadata4"> + <rdf:RDF> + <cc:Work + rdf:about=""> + <dc:format>image/svg+xml</dc:format> + <dc:type + rdf:resource="http://purl.org/dc/dcmitype/StillImage" /> + <dc:creator> + <cc:Agent> + <dc:title>GNOME Design Team</dc:title> + </cc:Agent> + </dc:creator> + <dc:source /> + <cc:license + rdf:resource="http://creativecommons.org/licenses/by-sa/4.0/" /> + <dc:title>Adwaita Icon Template</dc:title> + <dc:subject> + <rdf:Bag /> + </dc:subject> + <dc:date /> + <dc:rights> + <cc:Agent> + <dc:title /> + </cc:Agent> + </dc:rights> + <dc:publisher> + <cc:Agent> + <dc:title /> + </cc:Agent> + </dc:publisher> + <dc:identifier /> + <dc:relation /> + <dc:language /> + <dc:coverage /> + <dc:description /> + <dc:contributor> + <cc:Agent> + <dc:title /> + </cc:Agent> + </dc:contributor> + </cc:Work> + <cc:License + rdf:about="http://creativecommons.org/licenses/by-sa/4.0/"> + <cc:permits + rdf:resource="http://creativecommons.org/ns#Reproduction" /> + <cc:permits + rdf:resource="http://creativecommons.org/ns#Distribution" /> + <cc:requires + rdf:resource="http://creativecommons.org/ns#Notice" /> + <cc:requires + rdf:resource="http://creativecommons.org/ns#Attribution" /> + <cc:permits + rdf:resource="http://creativecommons.org/ns#DerivativeWorks" /> + <cc:requires + rdf:resource="http://creativecommons.org/ns#ShareAlike" /> + </cc:License> + </rdf:RDF> + </metadata> + <g + transform="translate(0,-172)" + style="display:inline" + id="layer1"> + <g + style="display:none" + id="layer2"> + <g + id="g9211" + style="display:inline;enable-background:new"> + <rect + style="display:inline;overflow:visible;visibility:visible;fill:#f0f0f0;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.5;marker:none;enable-background:accumulate" + id="rect13805" + width="128" + height="128" + x="9.2651362e-08" + y="172" /> + <circle + cx="64.000031" + cy="236" + r="59.504131" + id="circle2892" + style="display:inline;opacity:0.1;vector-effect:none;fill:none;fill-opacity:1;stroke:#000000;stroke-width:0.99000001;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:0.99000001, 0.99000001;stroke-dashoffset:0;stroke-opacity:1;marker:none;marker-start:none;marker-mid:none;marker-end:none;paint-order:normal;enable-background:new" /> + <rect + ry="7.9292889" + rx="8.701004" + y="180.49496" + x="20.495007" + height="111.01005" + width="87.009987" + id="rect2894" + style="display:inline;opacity:0.1;vector-effect:none;fill:none;fill-opacity:1;stroke:#000000;stroke-width:0.99000001;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:0.99000001, 0.99000001;stroke-dashoffset:0;stroke-opacity:1;marker:none;marker-start:none;marker-mid:none;marker-end:none;paint-order:normal;enable-background:new" /> + <rect + ry="7.9238095" + rx="7.9238095" + y="184.49524" + x="12.495266" + height="103.00952" + width="103.00952" + id="rect2896" + style="display:inline;opacity:0.1;vector-effect:none;fill:none;fill-opacity:1;stroke:#000000;stroke-width:0.99000001;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:0.99000001, 0.99000001;stroke-dashoffset:0;stroke-opacity:1;marker:none;marker-start:none;marker-mid:none;marker-end:none;paint-order:normal;enable-background:new" /> + <rect + ry="8.701005" + rx="7.9292889" + y="200.49496" + x="8.4950066" + height="87.010048" + width="111.01004" + id="rect2898" + style="display:inline;opacity:0.1;vector-effect:none;fill:none;fill-opacity:1;stroke:#000000;stroke-width:0.99000001;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:0.99000001, 0.99000001;stroke-dashoffset:0;stroke-opacity:1;marker:none;marker-start:none;marker-mid:none;marker-end:none;paint-order:normal;enable-background:new" /> + <path + id="path2900" + d="M 2.6203015e-5,288.99999 H 128.00003" + style="display:inline;fill:none;stroke:#62a0ea;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;enable-background:new" /> + </g> + </g> + <g + style="display:inline" + id="layer9"> + <rect + clip-path="none" + ry="8" + rx="8" + y="-294" + x="-108" + height="30.25" + width="88" + id="rect1167" + style="opacity:1;vector-effect:none;fill:#1a5fb4;fill-opacity:1;stroke:none;stroke-width:13.71876526;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;marker-start:none;marker-mid:none;marker-end:none;paint-order:normal" + transform="scale(-1)" /> + <g + transform="matrix(0.25,0,0,0.25,-374,202.04808)" + clip-path="url(#clipPath2213)" + id="g8005" + style="display:inline;enable-background:new" /> + <g + transform="matrix(0.25,0,0,0.25,-424,202.04808)" + clip-path="url(#clipPath2213)" + id="g8015" + style="display:inline;enable-background:new" /> + <g + transform="matrix(0.25,0,0,0.25,-414,202.04808)" + clip-path="url(#clipPath2213)" + id="g8025" + style="display:inline;enable-background:new" /> + <g + transform="matrix(0.25,0,0,0.25,-404,202.04808)" + clip-path="url(#clipPath2213)" + id="g8035" + style="display:inline;enable-background:new" /> + <g + transform="matrix(0.25,0,0,0.25,-394,202.04808)" + clip-path="url(#clipPath2213)" + id="g8045" + style="display:inline;enable-background:new" /> + <g + transform="matrix(0.25,0,0,0.25,-384,202.04808)" + clip-path="url(#clipPath2213)" + id="g8055" + style="display:inline;enable-background:new" /> + <rect + transform="scale(-1)" + style="opacity:1;vector-effect:none;fill:url(#linearGradient1159);fill-opacity:1;stroke:none;stroke-width:13.71876526;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;marker-start:none;marker-mid:none;marker-end:none;paint-order:normal" + id="rect1151" + width="88" + height="40" + x="-108" + y="-292" + rx="8" + ry="8" + clip-path="none" /> + <rect + clip-path="none" + ry="8" + rx="8" + y="-288" + x="-108" + height="108" + width="88" + id="rect1161" + style="opacity:1;vector-effect:none;fill:#f6f5f4;fill-opacity:1;stroke:none;stroke-width:13.71876526;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;marker-start:none;marker-mid:none;marker-end:none;paint-order:normal" + transform="scale(-1)" /> + <g + transform="translate(-4,2)" + id="g1153"> + <path + style="display:inline;opacity:1;fill:#d5d3cf;fill-opacity:1;stroke:none;stroke-width:4;stroke-linecap:square;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;enable-background:new" + d="m 32,188 c -1.10457,0 -2,0.89543 -2,2 0,1.10457 0.89543,2 2,2 1.10457,0 2,-0.89543 2,-2 0,-1.10457 -0.89543,-2 -2,-2 z m 8,0 c -1.10457,0 -2,0.89543 -2,2 0,1.10457 0.89543,2 2,2 1.10457,0 2,-0.89543 2,-2 0,-1.10457 -0.89543,-2 -2,-2 z m 8,0 c -1.10457,0 -2,0.89543 -2,2 0,1.10457 0.89543,2 2,2 1.10457,0 2,-0.89543 2,-2 0,-1.10457 -0.89543,-2 -2,-2 z m 8,0 c -1.10457,0 -2,0.89543 -2,2 0,1.10457 0.89543,2 2,2 1.10457,0 2,-0.89543 2,-2 0,-1.10457 -0.89543,-2 -2,-2 z m 8,0 c -1.10457,0 -2,0.89543 -2,2 0,1.10457 0.89543,2 2,2 1.10457,0 2,-0.89543 2,-2 0,-1.10457 -0.89543,-2 -2,-2 z m 8,0 c -1.10457,0 -2,0.89543 -2,2 0,1.10457 0.89543,2 2,2 1.10457,0 2,-0.89543 2,-2 0,-1.10457 -0.89543,-2 -2,-2 z m 8,0 c -1.10457,0 -2,0.89543 -2,2 0,1.10457 0.89543,2 2,2 1.10457,0 2,-0.89543 2,-2 0,-1.10457 -0.89543,-2 -2,-2 z m 8,0 c -1.10457,0 -2,0.89543 -2,2 0,1.10457 0.89543,2 2,2 1.10457,0 2,-0.89543 2,-2 0,-1.10457 -0.89543,-2 -2,-2 z m 8,0 c -1.10457,0 -2,0.89543 -2,2 0,1.10457 0.89543,2 2,2 1.10457,0 2,-0.89543 2,-2 0,-1.10457 -0.89543,-2 -2,-2 z" + id="path950-3-7" /> + <circle + r="2" + cy="190" + cx="-104" + id="path1148" + style="opacity:1;vector-effect:none;fill:#d5d3cf;fill-opacity:1;stroke:none;stroke-width:16;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" + transform="scale(-1,1)" /> + <path + d="m 112,192 a 2,2 0 0 1 -1.73205,-1 2,2 0 0 1 0,-2 A 2,2 0 0 1 112,188" + style="opacity:1;vector-effect:none;fill:#d5d3cf;fill-opacity:1;stroke:none;stroke-width:16;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" + id="circle16770" /> + <path + transform="scale(-1,1)" + d="m -24,192 a 2,2 0 0 1 -1.732051,-1 2,2 0 0 1 0,-2 A 2,2 0 0 1 -24,188" + style="display:inline;opacity:1;vector-effect:none;fill:#d5d3cf;fill-opacity:1;stroke:none;stroke-width:16;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;enable-background:new" + id="circle16770-3" /> + </g> + <rect + style="display:inline;opacity:1;fill:url(#linearGradient1130);fill-opacity:1;stroke:none;stroke-width:0.5;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;marker-start:none;marker-mid:none;marker-end:none;paint-order:normal;enable-background:new" + id="rect1056-3" + width="36" + height="36" + x="252" + y="88" + rx="11.2" + ry="11.2" + transform="matrix(0,0.71428571,0.71428571,0,25.142858,88.000008)" + clip-path="url(#clipPath1609-7)" /> + <path + clip-path="url(#clipPath1062)" + id="path1047" + transform="translate(0,172)" + d="M 100,16 32,84 v 20 h 22 l 68,-68 -7.86719,-5.761719 -0.0742,-0.07227 -8.22461,-8.22461 z" + style="opacity:0.2;vector-effect:none;fill:#000000;fill-opacity:1;stroke:none;stroke-width:12.48982716;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;marker-start:none;marker-mid:none;marker-end:none;paint-order:normal" /> + <path + style="opacity:1;vector-effect:none;fill:url(#linearGradient1103);fill-opacity:1;stroke:none;stroke-width:12.48982716;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;marker-start:none;marker-mid:none;marker-end:none;paint-order:normal" + d="m 32,276 v -20 l 20,20 z" + id="path1038" /> + <path + id="path1042" + d="m 31.999996,276 4e-6,-8 8,8 z" + style="display:inline;opacity:1;vector-effect:none;fill:#424048;fill-opacity:1;stroke:none;stroke-width:12.48982716;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;marker-start:none;marker-mid:none;marker-end:none;paint-order:normal;enable-background:new" /> + <path + id="path1044" + d="m 50,274 -16,-16 67.94696,-67.94695 16,16 z" + style="display:inline;fill:#f6d32d;fill-opacity:1;stroke:none;stroke-width:0.50643784px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;enable-background:new" /> + <path + id="path1046" + d="M 37.887772,261.88776 32,256 l 68.00001,-67.99999 5.83472,5.9408 z" + style="display:inline;opacity:1;fill:#f9f06b;fill-opacity:1;stroke:none;stroke-width:0.3581056px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;enable-background:new" /> + <path + id="path1048" + d="M 46.112246,270.11223 52,276 l 68,-68 -5.9408,-5.83472 z" + style="display:inline;opacity:1;fill:#e5a50a;fill-opacity:1;stroke:none;stroke-width:0.3581056px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;enable-background:new" /> + </g> + </g> +</svg> diff --git a/data/meson.build b/data/meson.build new file mode 100644 index 0000000..bb61387 --- /dev/null +++ b/data/meson.build @@ -0,0 +1,97 @@ +subdir('icons') + +install_man('gedit.1') + +appdata = 'org.gnome.gedit.appdata.xml' +appdata_file = i18n.merge_file( + appdata, + input: appdata + '.in', + output: appdata, + po_dir: '../po/', + install: true, + install_dir: get_option('datadir') / 'metainfo' +) + +appstream_util = find_program('appstream-util', required: get_option('require_all_tests')) +if appstream_util.found() + test( + 'validate-appdata', + appstream_util, + args: ['validate-relax', '--nonet', appdata_file] + ) +endif + +desktop_file = 'org.gnome.gedit.desktop' +desktop_output_file = i18n.merge_file( + desktop_file, + type: 'desktop', + input: desktop_file + '.in', + output: desktop_file, + po_dir: '../po/', + install: true, + install_dir: get_option('datadir') / 'applications' +) + +desktop_file_validate = find_program('desktop-file-validate', required: get_option('require_all_tests')) +if desktop_file_validate.found() + test( + 'validate-desktop', + desktop_file_validate, + args: [desktop_output_file] + ) +endif + +active_plugins = [ + 'docinfo', + 'filebrowser', + 'modelines', + 'sort', + 'spell', +] + +quoted_plugins = [] +foreach plugin_name : active_plugins + quoted_plugins += '\'@0@\''.format(plugin_name) +endforeach + +gschema_in = configuration_data() +gschema_in.set('ACTIVE_PLUGINS', ', '.join(quoted_plugins)) + +gschema_file = configure_file( + input: 'org.gnome.gedit.gschema.xml.in', + output: 'org.gnome.gedit.gschema.xml', + configuration: gschema_in, + install_dir: get_option('datadir') / 'glib-2.0/schemas' +) + +gschema_dtd = gio_dep.get_pkgconfig_variable('schemasdir') / 'gschema.dtd' + +xmllint = find_program('xmllint', required: get_option('require_all_tests')) +if xmllint.found() + test( + 'validate-gschema', + xmllint, + args: [ + '--noout', + '--dtdvalid', gschema_dtd, + gschema_file, + ] + ) +endif + +if host_machine.system() == 'windows' + install_data( + 'org.gnome.gedit-ms-windows.gschema.override', + install_dir: get_option('datadir') / 'glib-2.0/schemas' + ) +endif + +service_in = configuration_data() +service_in.set('bindir', get_option('prefix') / get_option('bindir')) + +configure_file( + input: 'org.gnome.gedit.service.in', + output: 'org.gnome.gedit.service', + configuration: service_in, + install_dir: get_option('datadir') / 'dbus-1/services' +) diff --git a/data/org.gnome.gedit-ms-windows.gschema.override b/data/org.gnome.gedit-ms-windows.gschema.override new file mode 100644 index 0000000..007ae32 --- /dev/null +++ b/data/org.gnome.gedit-ms-windows.gschema.override @@ -0,0 +1,5 @@ +[org.gnome.desktop.interface] +monospace-font-name = 'Monospace 11' + +[org.gnome.gedit.preferences.editor] +editor-font = 'Monospace 11' diff --git a/data/org.gnome.gedit.appdata.xml.in b/data/org.gnome.gedit.appdata.xml.in new file mode 100644 index 0000000..da41962 --- /dev/null +++ b/data/org.gnome.gedit.appdata.xml.in @@ -0,0 +1,49 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- Copyright 2014 Paolo Borelli <pborelli@gnome.org> --> +<component type="desktop"> + <id>org.gnome.gedit.desktop</id> + <metadata_license>CC0-1.0</metadata_license> + <project_license>GPL-2.0+</project_license> + <name>gedit</name> + <summary>Edit text files</summary> + <description> + <p> + gedit is the text editor of the GNOME desktop environment. + </p> + <p> + The first goal of gedit is to be easy to use, with a simple interface by + default. More advanced features are available by enabling plugins. + </p> + </description> + <kudos> + <kudo>HiDpiIcon</kudo> + <kudo>HighContrast</kudo> + <kudo>ModernToolkit</kudo> + <kudo>UserDocs</kudo> + </kudos> + <screenshots> + <screenshot type="default"> + <image>https://gitlab.gnome.org/GNOME/gedit/raw/master/data/screenshot.png</image> + </screenshot> + </screenshots> + <url type="homepage">https://wiki.gnome.org/Apps/Gedit</url> + <url type="bugtracker">https://gitlab.gnome.org/GNOME/gedit/issues</url> + <url type="donation">https://liberapay.com/gedit/</url> + <url type="help">https://help.gnome.org/users/gedit/stable/</url> + <url type="translate">https://wiki.gnome.org/TranslationProject</url> + <update_contact>swilmet@gnome.org</update_contact> + <project_group>GNOME</project_group> + <compulsory_for_desktop>GNOME</compulsory_for_desktop> + <translation type="gettext">gedit</translation> + <content_rating type="oars-1.1" /> + <releases> + <release version="3.38.1" date="2020-11-20" /> + <release version="3.38.0" date="2020-09-11" /> + <release version="3.37.92" date="2020-09-04" /> + <release version="3.37.3" date="2020-07-03" /> + <release version="3.37.2" date="2020-05-29" /> + <release version="3.37.1" date="2020-04-24" /> + <release version="3.36.1" date="2020-03-20" /> + <release version="3.36.0" date="2020-03-06" /> + </releases> +</component> diff --git a/data/org.gnome.gedit.desktop.in b/data/org.gnome.gedit.desktop.in new file mode 100644 index 0000000..0200813 --- /dev/null +++ b/data/org.gnome.gedit.desktop.in @@ -0,0 +1,26 @@ +[Desktop Entry] +Name=Text Editor +Comment=Edit text files +Exec=gedit %U +Terminal=false +Type=Application +StartupNotify=true +MimeType=text/plain; +# TRANSLATORS: Do NOT translate or transliterate this text! +# This is an icon file name. +Icon=org.gnome.gedit +Categories=GNOME;GTK;Utility;TextEditor; +Actions=new-window;new-document; +# TRANSLATORS: Do NOT translate or localize the semicolons! +# The list MUST also end with a semicolon! +# Search terms to find this application. +Keywords=Text;Editor;Plaintext;Write;gedit; +DBusActivatable=true + +[Desktop Action new-window] +Name=New Window +Exec=gedit --new-window + +[Desktop Action new-document] +Name=New Document +Exec=gedit --new-document diff --git a/data/org.gnome.gedit.gschema.xml.in b/data/org.gnome.gedit.gschema.xml.in new file mode 100644 index 0000000..b797d84 --- /dev/null +++ b/data/org.gnome.gedit.gschema.xml.in @@ -0,0 +1,308 @@ +<?xml version="1.0" encoding="UTF-8"?> +<schemalist gettext-domain="gedit"> + <enum id="org.gnome.gedit.WrapMode"> + <value nick="none" value="0"/> + <value nick="char" value="1"/> + <value nick="word" value="2"/> + <value nick="word-char" value="3"/> + </enum> + + <enum id="org.gnome.gedit.SmartHomeEnd"> + <value nick="disabled" value="0"/> + <value nick="before" value="1"/> + <value nick="after" value="2"/> + <value nick="always" value="3"/> + </enum> + + <enum id="org.gnome.gedit.BackgroundPatternType"> + <value nick="none" value="0"/> + <value nick="grid" value="1"/> + </enum> + + <schema id="org.gnome.gedit" path="/org/gnome/gedit/"> + <child name="preferences" schema="org.gnome.gedit.preferences"/> + <child name="state" schema="org.gnome.gedit.state"/> + <child name="plugins" schema="org.gnome.gedit.plugins"/> + </schema> + <schema id="org.gnome.gedit.preferences" path="/org/gnome/gedit/preferences/"> + <child name="editor" schema="org.gnome.gedit.preferences.editor"/> + <child name="ui" schema="org.gnome.gedit.preferences.ui"/> + <child name="print" schema="org.gnome.gedit.preferences.print"/> + <child name="encodings" schema="org.gnome.gedit.preferences.encodings"/> + </schema> + <schema id="org.gnome.gedit.preferences.editor" path="/org/gnome/gedit/preferences/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 gedit. 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"> + <!-- Translators: This is a GSettings default value. Do NOT change or localize the quotation marks! --> + <default l10n="messages">'Monospace 12'</default> + <summary>Editor Font</summary> + <description>A custom font that will be used for the editing area. This will only take effect if the “Use Default Font” option is turned off.</description> + </key> + <key name="scheme" type="s"> + <default>'tango'</default> + <summary>Style Scheme</summary> + <description>The ID of a GtkSourceView Style Scheme used to color the text.</description> + </key> + <key name="create-backup-copy" type="b"> + <default>false</default> + <summary>Create Backup Copies</summary> + <description>Whether gedit should create backup copies for the files it saves.</description> + </key> + <key name="auto-save" type="b"> + <default>false</default> + <summary>Autosave</summary> + <description>Whether gedit 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="u"> + <default>10</default> + <summary>Autosave Interval</summary> + <description>Number of minutes after which gedit will automatically save modified files. This will only take effect if the “Autosave” option is turned on.</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 gedit will be able to undo or redo. Use “-1” for unlimited number of actions.</description> + </key> + <key name="wrap-mode" enum="org.gnome.gedit.WrapMode"> + <aliases> + <alias value='GTK_WRAP_NONE' target='none'/> + <alias value='GTK_WRAP_WORD' target='word'/> + <alias value='GTK_WRAP_CHAR' target='char'/> + </aliases> + <default>'word'</default> + <summary>Line Wrapping Mode</summary> + <description>Specifies how to wrap long lines in the editing area. Use “none” for no wrapping, “word” for wrapping at word boundaries, and “char” for wrapping at individual character boundaries. Note that the values are case-sensitive, so make sure they appear exactly as mentioned here.</description> + </key> + <key name="wrap-last-split-mode" enum="org.gnome.gedit.WrapMode"> + <aliases> + <alias value='GTK_WRAP_WORD' target='word'/> + <alias value='GTK_WRAP_CHAR' target='char'/> + </aliases> + <default>'word'</default> + <summary>Last split mode choice for line wrapping mode</summary> + <description>Specifies the last split mode used with line wrapping mode, so that when wrapping mode is off we still remember the split mode choice. Use “word” for wrapping at word boundaries, and “char” for wrapping at individual character boundaries.</description> + </key> + <key name="tabs-size" type="u"> + <default>8</default> + <summary>Tab Size</summary> + <description>Specifies the number of spaces that should be displayed instead of Tab characters.</description> + </key> + <key name="insert-spaces" type="b"> + <default>false</default> + <summary>Insert spaces</summary> + <description>Whether gedit should insert spaces instead of tabs.</description> + </key> + <key name="auto-indent" type="b"> + <default>true</default> + <summary>Automatic indent</summary> + <description>Whether gedit should enable automatic indentation.</description> + </key> + <key name="display-line-numbers" type="b"> + <default>true</default> + <summary>Display Line Numbers</summary> + <description>Whether gedit should display line numbers in the editing area.</description> + </key> + <key name="highlight-current-line" type="b"> + <default>true</default> + <summary>Highlight Current Line</summary> + <description>Whether gedit should highlight the current line.</description> + </key> + <key name="bracket-matching" type="b"> + <default>true</default> + <summary>Highlight Matching Brackets</summary> + <description>Whether gedit should highlight matching brackets.</description> + </key> + <key name="display-right-margin" type="b"> + <default>false</default> + <summary>Display Right Margin</summary> + <description>Whether gedit should display the right margin in the editing area.</description> + </key> + <key name="right-margin-position" type="u"> + <default>80</default> + <summary>Right Margin Position</summary> + <description>Specifies the position of the right margin.</description> + </key> + <key name="background-pattern" enum="org.gnome.gedit.BackgroundPatternType"> + <default>'none'</default> + <summary>Document background pattern type</summary> + <description>Whether the document will get a background pattern painted.</description> + </key> + <key name="smart-home-end" enum="org.gnome.gedit.SmartHomeEnd"> + <aliases> + <alias value='DISABLED' target='disabled'/> + <alias value='BEFORE' target='before'/> + <alias value='AFTER' target='after'/> + <alias value='ALWAYS' target='always'/> + </aliases> + <default>'after'</default> + <summary>Smart Home End</summary> + <description>Specifies how the cursor moves when the HOME and END keys are pressed. Use “disabled” to always move at the start/end of the line, “after” to move to the start/end of the line the first time the keys are pressed and to the start/end of the text ignoring whitespaces the second time the keys are pressed, “before” to move to the start/end of the text before moving to the start/end of the line and “always” to always move to the start/end of the text instead of the start/end of the line.</description> + </key> + <key name="restore-cursor-position" type="b"> + <default>true</default> + <summary>Restore Previous Cursor Position</summary> + <description>Whether gedit should restore the previous cursor position when a file is loaded.</description> + </key> + <key name="syntax-highlighting" type="b"> + <default>true</default> + <summary>Enable Syntax Highlighting</summary> + <description>Whether gedit should enable syntax highlighting.</description> + </key> + <key name="search-highlighting" type="b"> + <default>true</default> + <summary>Enable Search Highlighting</summary> + <description>Whether gedit should highlight all the occurrences of the searched text.</description> + </key> + <key name="ensure-trailing-newline" type="b"> + <default>true</default> + <summary>Ensure Trailing Newline</summary> + <description>Whether gedit will ensure that documents always end with a trailing newline.</description> + </key> + </schema> + <schema id="org.gnome.gedit.preferences.ui" path="/org/gnome/gedit/preferences/ui/"> + <key name="show-tabs-mode" enum="org.gnome.gedit.GeditNotebookShowTabsModeType"> + <default>'auto'</default> + <summary>Notebook Show Tabs Mode</summary> + <description>Specifies when to show the notebook tabs. Use “never” to never show the tabs, “always” to always show the tabs, and “auto” to show the tabs only when there is more than one tab. 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> + <summary>Status Bar is Visible</summary> + <description>Whether the status bar at the bottom of editing windows should be visible.</description> + </key> + <key name="side-panel-visible" type="b"> + <default>false</default> + <summary>Side panel is Visible</summary> + <description>Whether the side panel at the left of editing windows should be visible.</description> + </key> + <key name="bottom-panel-visible" type="b"> + <default>false</default> + </key> + </schema> + <schema id="org.gnome.gedit.preferences.print" path="/org/gnome/gedit/preferences/print/"> + <key name="print-syntax-highlighting" type="b"> + <default>true</default> + <summary>Print Syntax Highlighting</summary> + <description>Whether gedit should print syntax highlighting when printing documents.</description> + </key> + <key name="print-header" type="b"> + <default>true</default> + <summary>Print Header</summary> + <description>Whether gedit should include a document header when printing documents.</description> + </key> + <key name="print-wrap-mode" enum="org.gnome.gedit.WrapMode"> + <aliases> + <alias value='GTK_WRAP_NONE' target='none'/> + <alias value='GTK_WRAP_WORD' target='word'/> + <alias value='GTK_WRAP_CHAR' target='char'/> + </aliases> + <default>'word'</default> + <summary>Printing Line Wrapping Mode</summary> + <description>Specifies how to wrap long lines for printing. Use “none” for no wrapping, “word” for wrapping at word boundaries, and “char” for wrapping at individual character boundaries. Note that the values are case-sensitive, so make sure they appear exactly as mentioned here.</description> + </key> + <key name="print-line-numbers" type="u"> + <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, gedit will print line numbers every such number of lines.</description> + </key> + <key name="print-font-body-pango" type="s"> + <!-- Translators: This is a GSettings default value. Do NOT change or localize the quotation marks! --> + <default l10n="messages">'Monospace 9'</default> + <summary>Body Font for Printing</summary> + <description>Specifies the font to use for a document’s body when printing documents.</description> + </key> + <key name="print-font-header-pango" type="s"> + <!-- Translators: This is a GSettings default value. Do NOT change or localize the quotation marks! --> + <default l10n="messages">'Sans 11'</default> + <summary>Header Font for Printing</summary> + <description>Specifies the font to use for page headers when printing a document. This will only take effect if the “Print Header” option is turned on.</description> + </key> + <key name="print-font-numbers-pango" type="s"> + <!-- Translators: This is a GSettings default value. Do NOT change or localize the quotation marks! --> + <default l10n="messages">'Sans 8'</default> + <summary>Line Number Font for Printing</summary> + <description>Specifies the font to use for line numbers when printing. This will only take effect if the “Print Line Numbers” option is non-zero.</description> + </key> + <key name="margin-left" type="d"> + <default>25</default> + <summary>Margin Left</summary> + <description>The left margin, in millimeters.</description> + </key> + <key name="margin-top" type="d"> + <default>15</default> + <summary>Margin Top</summary> + <description>The top margin, in millimeters.</description> + </key> + <key name="margin-right" type="d"> + <default>25</default> + <summary>Margin Right</summary> + <description>The right margin, in millimeters.</description> + </key> + <key name="margin-bottom" type="d"> + <default>25</default> + <summary>Margin Bottom</summary> + <description>The bottom margin, in millimeters.</description> + </key> + </schema> + <schema id="org.gnome.gedit.preferences.encodings" path="/org/gnome/gedit/preferences/encodings/"> + <key name="candidate-encodings" type="as"> + <default>['']</default> + <summary>Candidate Encodings</summary> + <description>List of candidate encodings shown in the Character Encoding menu in the open/save file chooser. + “CURRENT” represents the current locale encoding. Only recognized encodings are used. + The default value is the empty list, in which case gedit will choose good defaults depending on the country and language.</description> + </key> + </schema> + <schema id="org.gnome.gedit.state" path="/org/gnome/gedit/state/"> + <child name="window" schema="org.gnome.gedit.state.window"/> + <child name="file-chooser" schema="org.gnome.gedit.state.file-chooser"/> + <child name="history-entry" schema="org.gnome.gedit.state.history-entry"/> + </schema> + <schema id="org.gnome.gedit.state.window" path="/org/gnome/gedit/state/window/"> + <key name="state" type="i"> + <default>0</default> + </key> + <key name="size" type="(ii)"> + <default>(900, 700)</default> + </key> + <key name="side-panel-size" type="i"> + <default>200</default> + </key> + <key name="side-panel-active-page" type="s"> + <default>''</default> + </key> + <key name="bottom-panel-size" type="i"> + <default>140</default> + </key> + <key name="bottom-panel-active-page" type="s"> + <default>''</default> + </key> + </schema> + <schema id="org.gnome.gedit.state.file-chooser" path="/org/gnome/gedit/state/file-chooser/"> + <key name="filter-id" type="i"> + <default>0</default> + </key> + <key name="open-recent" type="b"> + <default>true</default> + </key> + </schema> + <schema id="org.gnome.gedit.state.history-entry" path="/org/gnome/gedit/state/history-entry/"> + <key name="search-for-entry" type="as"> + <default>['']</default> + </key> + <key name="replace-with-entry" type="as"> + <default>['']</default> + </key> + </schema> + <schema id="org.gnome.gedit.plugins" path="/org/gnome/gedit/plugins/"> + <key name="active-plugins" type="as"> + <default>[@ACTIVE_PLUGINS@]</default> + <summary>Active plugins</summary> + <description>List of active plugins.</description> + </key> + </schema> +</schemalist> diff --git a/data/org.gnome.gedit.service.in b/data/org.gnome.gedit.service.in new file mode 100644 index 0000000..cf5a5b2 --- /dev/null +++ b/data/org.gnome.gedit.service.in @@ -0,0 +1,3 @@ +[D-BUS Service] +Name=org.gnome.gedit +Exec=@bindir@/gedit --gapplication-service diff --git a/data/privacy-policy.md b/data/privacy-policy.md new file mode 100644 index 0000000..7ecedfc --- /dev/null +++ b/data/privacy-policy.md @@ -0,0 +1,4 @@ +Privacy policy of gedit +======================= + +We don't store any data. diff --git a/data/screenshot.png b/data/screenshot.png Binary files differnew file mode 100644 index 0000000..5eb409c --- /dev/null +++ b/data/screenshot.png |