From: Peter Oliver Date: Sat, 29 May 2021 02:15:28 +0000 (+0200) Subject: Rename emacs.appdata.xml to emacs.metainfo.xml and add more data X-Git-Tag: emacs-28.0.90~2291 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=ee7752aac55468f06a71ea0e9ee0be0dff5b1f67;p=emacs.git Rename emacs.appdata.xml to emacs.metainfo.xml and add more data * Makefile.in: Replace "appdata" with "metainfo". This is the name currently recommended by the spec at . * etc/emacs.metainfo.xml: Populate more fields, based on those available in https://www.freedesktop.org/software/appstream/docs/chap-Metadata.html (bug#48662). Copyright-paperwork-exempt: yes --- diff --git a/Makefile.in b/Makefile.in index 65eceb2a0c9..3facfa59a90 100644 --- a/Makefile.in +++ b/Makefile.in @@ -185,8 +185,8 @@ x_default_search_path=@x_default_search_path@ # Where the etc/emacs.desktop file is to be installed. desktopdir=$(datarootdir)/applications -# Where the etc/emacs.appdata.xml file is to be installed. -appdatadir=$(datarootdir)/metainfo +# Where the etc/emacs.metainfo.xml file is to be installed. +metainfodir=$(datarootdir)/metainfo # Where the etc/emacs.service file is to be installed. # The system value (typically /usr/lib/systemd/user) can be @@ -721,11 +721,11 @@ install-etc: ${srcdir}/etc/emacsclient.desktop > $${tmp}; \ ${INSTALL_DATA} $${tmp} "$(DESTDIR)${desktopdir}/$${client_name}.desktop"; \ rm -f $${tmp} - umask 022; ${MKDIR_P} "$(DESTDIR)${appdatadir}" - tmp=etc/emacs.tmpappdata; rm -f $${tmp}; \ + umask 022; ${MKDIR_P} "$(DESTDIR)${metainfodir}" + tmp=etc/emacs.tmpmetainfo; rm -f $${tmp}; \ sed -e "s/emacs\.desktop/${EMACS_NAME}.desktop/" \ - ${srcdir}/etc/emacs.appdata.xml > $${tmp}; \ - ${INSTALL_DATA} $${tmp} "$(DESTDIR)${appdatadir}/${EMACS_NAME}.appdata.xml"; \ + ${srcdir}/etc/emacs.metainfo.xml > $${tmp}; \ + ${INSTALL_DATA} $${tmp} "$(DESTDIR)${metainfodir}/${EMACS_NAME}.metainfo.xml"; \ rm -f $${tmp} umask 022; $(MKDIR_P) "$(DESTDIR)$(systemdunitdir)" tmp=etc/emacs.tmpservice; rm -f $${tmp}; \ @@ -811,7 +811,7 @@ uninstall: uninstall-$(NTDIR) uninstall-doc "hicolor/scalable/mimetypes/${EMACS_NAME}-document23.svg"; \ fi) -rm -f "$(DESTDIR)${desktopdir}/${EMACS_NAME}.desktop" - -rm -f "$(DESTDIR)${appdatadir}/${EMACS_NAME}.appdata.xml" + -rm -f "$(DESTDIR)${metainfodir}/${EMACS_NAME}.metainfo.xml" -rm -f "$(DESTDIR)$(systemdunitdir)/${EMACS_NAME}.service" ifneq (,$(use_gamedir)) for file in snake-scores tetris-scores; do \ diff --git a/etc/emacs.appdata.xml b/etc/emacs.appdata.xml deleted file mode 100644 index ca6233a59ae..00000000000 --- a/etc/emacs.appdata.xml +++ /dev/null @@ -1,35 +0,0 @@ - - - - org.gnu.emacs - GFDL-1.3+ - GPL-3.0+ and GFDL-1.3+ - GNU Emacs - An extensible text editor - -

- GNU Emacs is an extensible, customizable text editor - and more. - At its core is an interpreter for Emacs Lisp, a dialect of the Lisp - programming language with extensions to support text editing. -

-

The features of GNU Emacs include:

-
    -
  • Content-sensitive editing modes, including syntax coloring, for - a wide-range of file types
  • -
  • Complete built-in documentation, including a tutorial for new users
  • -
  • Full Unicode support for nearly all human languages and their scripts
  • -
  • Highly customizable, using Emacs Lisp code or a graphical interface
  • -
  • Includes a project planner, mail and news reader, debugger - interface, calendar, and more
  • -
-
- - - https://www.gnu.org/software/emacs/images/appdata-26.png - - - emacs - https://www.gnu.org/software/emacs - emacs-devel_AT_gnu.org - GNU -
diff --git a/etc/emacs.metainfo.xml b/etc/emacs.metainfo.xml new file mode 100644 index 00000000000..7467b88e736 --- /dev/null +++ b/etc/emacs.metainfo.xml @@ -0,0 +1,48 @@ + + + + org.gnu.emacs + GFDL-1.3+ + GNU Emacs + An extensible text editor + https://www.gnu.org/software/emacs/images/emacs.png + +

+ GNU Emacs is an extensible, customizable text editor - and more. + At its core is an interpreter for Emacs Lisp, a dialect of the Lisp + programming language with extensions to support text editing. +

+

The features of GNU Emacs include:

+
    +
  • Content-sensitive editing modes, including syntax coloring, for + a wide-range of file types
  • +
  • Complete built-in documentation, including a tutorial for new users
  • +
  • Full Unicode support for nearly all human languages and their scripts
  • +
  • Highly customizable, using Emacs Lisp code or a graphical interface
  • +
  • Includes a project planner, mail and news reader, debugger + interface, calendar, and more
  • +
+
+ + Development + TextEditor + + https://www.gnu.org/software/emacs + https://debbugs.gnu.org/ + https://www.gnu.org/software/emacs/manual/html_mono/efaq.html + https://www.gnu.org/software/emacs/documentation.html + https://my.fsf.org/donate/ + https://lists.gnu.org/mailman/listinfo/emacs-devel/ + emacs.desktop + emacs.service + GNU + GPL-3.0+ and GFDL-1.3+ + Free Software Foundation + + + https://www.gnu.org/software/emacs/images/appdata-26.png + Editing a Lisp program whilst viewing the Emacs manual. + + + emacs-devel_AT_gnu.org +