[LyX/master] Cmake build: fix #13317 for cmake.
Kornel Benko
kornel at lyx.org
Tue May 26 06:21:28 UTC 2026
commit 2a5f80af1af39176e67c0125c6165184b996eced
Author: Kornel Benko <kornel at lyx.org>
Date: Tue May 26 08:19:52 2026 +0200
Cmake build: fix #13317 for cmake.
---
development/cmake/Install.cmake | 3 ++-
lib/org.lyx.LyX.metainfo.xml.in | 31 +++++++++++++++++++++++++++++++
2 files changed, 33 insertions(+), 1 deletion(-)
diff --git a/development/cmake/Install.cmake b/development/cmake/Install.cmake
index ecb23b8bb0..4563b4639e 100755
--- a/development/cmake/Install.cmake
+++ b/development/cmake/Install.cmake
@@ -191,7 +191,8 @@ if(USE_POSIX_PACKAGING AND EXISTS "${TOP_SRC_DIR}/lib/usr.bin.lyxwrap.in")
endif()
if ("${PROGRAM_SUFFIX}" MATCHES "^[0-9]+\.[0-9]+$")
- install(FILES ${TOP_SRC_DIR}/lib/org.lyx.LyX.metainfo.xml DESTINATION ${SYSTEM_DATADIR}/metainfo RENAME org.lyx.LyX${PROGRAM_SUFFIX}.metainfo.xml)
+ configure_file(${TOP_SRC_DIR}/lib/org.lyx.LyX.metainfo.xml.in org.lyx.LyX.metainfo.xml)
+ install(FILES ${CMAKE_CURRENT_BINARY_DIR}/org.lyx.LyX.metainfo.xml DESTINATION ${SYSTEM_DATADIR}/metainfo RENAME org.lyx.LyX${PROGRAM_SUFFIX}.metainfo.xml)
else()
install(FILES ${TOP_SRC_DIR}/lib/org.lyx.LyX.metainfo.xml DESTINATION ${SYSTEM_DATADIR}/metainfo)
endif()
diff --git a/lib/org.lyx.LyX.metainfo.xml.in b/lib/org.lyx.LyX.metainfo.xml.in
new file mode 100644
index 0000000000..4237e693a6
--- /dev/null
+++ b/lib/org.lyx.LyX.metainfo.xml.in
@@ -0,0 +1,31 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<component type="desktop-application">
+ <id>org.lyx.LyX</id>
+
+ <name>LyX</name>
+ <summary>The Document Processor</summary>
+
+ <metadata_license>CC0-1.0</metadata_license>
+ <project_license>GPL-2.0-or-later</project_license>
+
+ <description>
+ <p>
+ LyX is a document processor that encourages an approach to writing based on the structure of your documents (WYSIWYM) and not simply their appearance (WYSIWYG).
+ </p>
+ <p>
+ LyX combines the power and flexibility of TeX/LaTeX with the ease of use of a graphical interface. This results in world-class support for creation of mathematical content (via a fully integrated equation editor) and structured documents like academigned document layouts are built n addition, staples of scientific authoring such as reference list and index creation come standard. But you can also use LyX to create a letter or a novel or a theatre play or film script. A broad array of ready, well-designed document layouts are built in.
+ </p>
+ <p>
+ LyX is for people who want their writing to look great, right out of the box. No more endless tinkering with formatting details, finger painting font attributes or futzing around with page boundaries. You just write. On screen, LyX looks like any word processor; its printed output - or richly cross-referenced PDF, just as readily produced - looks like nothing else.
+ </p>
+ </description>
+
+ <launchable type="desktop-id">lyx at program_suffix@.desktop</launchable>
+ <screenshots>
+ <screenshot type="default">
+ <image>https://www.lyx.org/images/lyx_xmlinfo_screenshot.png</image>
+ </screenshot>
+ </screenshots>
+ <update_contact>lyx-devel_AT_lists.lyx.org</update_contact>
+ <url type="homepage">https://www.lyx.org</url>
+</component>
More information about the lyx-cvs
mailing list