Skip to content

Commit

Permalink
Project ID change to rDNS scheme
Browse files Browse the repository at this point in the history
Vender name should be modified when this commit
is cherry-picked into other forks.
  • Loading branch information
0tkl committed Dec 5, 2024
1 parent ff922c7 commit 98ee331
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ jobs:
curl -L "https://github.com/AppImage/appimagetool/releases/download/continuous/appimagetool-x86_64.AppImage" -o appimagetool
chmod +x linuxdeploy appimagetool
./linuxdeploy --appdir appdir --desktop-file=appdir/aegisub.desktop
./linuxdeploy --appdir appdir --desktop-file=appdir/org.arch1t3cht.aegisub.desktop
./appimagetool appdir
- name: Upload artifacts - Linux AppImage
Expand Down
9 changes: 4 additions & 5 deletions packages/desktop/aegisub.appdata.xml.in.in
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<component type="desktop-application">
<id>aegisub.desktop</id>
<id>org.arch1t3cht.aegisub</id>

<name>Aegisub</name>
<summary>A free, cross-platform open source tool for creating and modifying subtitles</summary>
Expand All @@ -22,9 +22,8 @@
<li>Fully scriptable through the Automation module</li>
</ul>
</description>
<!-- XXX: appstreamcli validation warning: cid-desktopapp-is-not-rdns
If improving this, the <id> and filename should probably also be changed. -->
<launchable type="desktop-id">aegisub.desktop</launchable>

<launchable type="desktop-id">org.arch1t3cht.aegisub.desktop</launchable>

<kudos>
<kudo>HiDpiIcon</kudo>
Expand All @@ -47,7 +46,7 @@
</screenshot>
</screenshots>

<developer id="org.aegisub">
<developer id="org.arch1t3cht">
<name>Aegisub Group</name>
</developer>

Expand Down
6 changes: 3 additions & 3 deletions packages/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ else

i18n = import('i18n')
i18n.merge_file(input: desktop_template,
output: 'aegisub.desktop',
output: 'org.arch1t3cht.aegisub.desktop',
type: 'desktop',
po_dir: '../po',
install: true,
Expand All @@ -34,7 +34,7 @@ else
output: 'aegisub.desktop.appdata.xml.in',
configuration: conf_pkg)
i18n.merge_file(input: appdata_template,
output: 'aegisub.appdata.xml',
output: 'org.arch1t3cht.aegisub.appdata.xml',
type: 'xml',
po_dir: '../po',
install: true,
Expand All @@ -52,6 +52,6 @@ else
if get_option('build_appimage')
install_symlink('AppRun', install_dir: '/', pointing_to: bindir.strip('/') / 'aegisub')
install_symlink('.DirIcon', install_dir: '/', pointing_to: datadir.strip('/') / 'icons' / 'hicolor' / 'scalable' / 'apps' / 'aegisub.svg')
install_symlink('aegisub.desktop', install_dir: '/', pointing_to: datadir.strip('/') / 'applications' / 'aegisub.desktop')
install_symlink('org.arch1t3cht.aegisub.desktop', install_dir: '/', pointing_to: datadir.strip('/') / 'applications' / 'org.arch1t3cht.aegisub.desktop')
endif
endif

0 comments on commit 98ee331

Please sign in to comment.