Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wayland & appstream metainfo fixups #1065

Merged
merged 4 commits into from
Dec 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
File renamed without changes.
11 changes: 5 additions & 6 deletions res/texworks.appdata.xml → res/org.tug.texworks.metainfo.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Copyright 2014-2024 Stefan Löffler <st.loeffler@gmail.com> -->
<component type="desktop-application">
<id>org.tug.texworks.desktop</id>
<id>org.tug.texworks</id>
<metadata_license>CC0-1.0</metadata_license>
<project_license>GPL-2.0+</project_license>
<name>TeXworks</name>
Expand Down Expand Up @@ -117,7 +117,7 @@
<p xml:lang="fo">
TeXworks er eitt umhvørvi til at skriva TeX-skjøl, t.e LaTeX, ConTeXt o.s.fr., við.
Tað kemur við einum Unicode-grundaðum ritli, sum kennir til TeX, einum innbygdum
PDF-vísara og einum reinum og einføldum markamóti, sum brúkarar við lítlum tøkniligum
PDF-vísara og einum reinum og einføldum markamóti, sum brúkarar við lítlum tøkniligum
innliti kunnu brúka.
</p>
<p xml:lang="fo">
Expand Down Expand Up @@ -187,14 +187,14 @@
</p>
<p xml:lang="ko">
TeXworks는 Dick Koch의 Mac OS X 용 프로그램 TeXShop에서 영향을 받았습니다.
수상경력에 빛나는 이 프로그램은 접근 곤란한 전문적 기술적 외양을 걷어내어
수상경력에 빛나는 이 프로그램은 접근 곤란한 전문적 기술적 외양을 걷어내어
텍을 이용한 고품질 조판을 폭넓은 사용자층에 보급하였습니다. TeXworks의 목표는
이와 같이 사용하기 쉬운 통합적인 환경을 GNU/Linux나 Windows 등 다른 플랫폼
사용자들에게도 제공하는 것입니다.
</p>
<p xml:lang="ko">
무엇보다 TeXworks는 PDF 미리보기 기능 내장, 텍 파일과 PDF 결과물 간 연동,
확장가능한 스크립트 활용 인터페이스 등의 특징을 가지고 있습니다.
확장가능한 스크립트 활용 인터페이스 등의 특징을 가지고 있습니다.
</p>
<p xml:lang="nl">
TeXworks ist een omgeving om documenten voor TeX (LaTeX, ConTeXt, enzovoort)
Expand Down Expand Up @@ -321,7 +321,7 @@
<provides>
<binary>texworks</binary>
</provides>
<launchable type="desktop-id">texworks.desktop</launchable>
<launchable type="desktop-id">org.tug.texworks.desktop</launchable>
<content_rating type="oars-1.0" />

<releases>
Expand All @@ -348,4 +348,3 @@
<release version="0.2.0" date="2009-09-30" />
</releases>
</component>

2 changes: 1 addition & 1 deletion scripts/updateCopyrights.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ def manual_update_notice():
"""Reminder for places where the copyright information must be updated manually"""
print("")
print("Don't forget to manually update the copyright information in the following files:")
for f in ["README.md", "res/texworks.appdata.xml", "res/TeXworks.in.plist", "res/texworks.1", "res/TeXworks.rc", "src/TWApp.cpp", ".github/actions/package-launchpad/launchpad/debian/copyright", "win32/README.win", "CMake/Modules/COPYING-CMAKE-MODULES"]:
for f in ["README.md", "res/texworks.metainfo.xml", "res/TeXworks.in.plist", "res/texworks.1", "res/TeXworks.rc", "src/TWApp.cpp", ".github/actions/package-launchpad/launchpad/debian/copyright", "win32/README.win", "CMake/Modules/COPYING-CMAKE-MODULES"]:
print(" {0}".format(f))

def main():
Expand Down
4 changes: 2 additions & 2 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -330,8 +330,8 @@ IF ( UNIX AND NOT APPLE )
${TeXworks_SOURCE_DIR}/NEWS
DESTINATION ${CMAKE_INSTALL_PREFIX}/${TeXworks_DOCS_DIR})
INSTALL(FILES ${TeXworks_SOURCE_DIR}/res/texworks.1 DESTINATION ${CMAKE_INSTALL_PREFIX}/${TeXworks_MAN_DIR})
INSTALL(FILES ${TeXworks_SOURCE_DIR}/res/texworks.desktop DESTINATION ${CMAKE_INSTALL_PREFIX}/${TeXworks_DESKTOP_DIR})
INSTALL(FILES ${TeXworks_SOURCE_DIR}/res/texworks.appdata.xml DESTINATION ${CMAKE_INSTALL_PREFIX}/${TeXworks_APPDATA_DIR})
INSTALL(FILES ${TeXworks_SOURCE_DIR}/res/org.tug.texworks.desktop DESTINATION ${CMAKE_INSTALL_PREFIX}/${TeXworks_DESKTOP_DIR})
INSTALL(FILES ${TeXworks_SOURCE_DIR}/res/org.tug.texworks.metainfo.xml DESTINATION ${CMAKE_INSTALL_PREFIX}/${TeXworks_APPDATA_DIR})
ENDIF ( UNIX AND NOT APPLE )

# On OS X, ensure there is always a `qt.conf` file as all hell will break loose
Expand Down
Loading