flatpak: change app id to page.codeberg.Imaginer.Imaginer

This commit is contained in:
0xMRTT 2023-05-03 14:18:47 +02:00
parent a1b82a8fde
commit c5090298a9
Signed by: 0xMRTT
GPG Key ID: 19C1449A774028BD
14 changed files with 24 additions and 24 deletions

View File

@ -1,6 +1,6 @@
<h1 align="center"> <h1 align="center">
<img src="data/icons/hicolor/scalable/apps/io.github.ImaginerApp.Imaginer.svg" alt="Imaginer" width="192" height="192"/> <img src="data/icons/hicolor/scalable/apps/page.codeberg.Imaginer.Imaginer.svg" alt="Imaginer" width="192" height="192"/>
<br> <br>
Imaginer Imaginer
</h1> </h1>
@ -10,7 +10,7 @@
</p> </p>
<p align="center"> <p align="center">
<a href="https://flathub.org/apps/details/io.github.ImaginerApp.Imaginer"> <a href="https://flathub.org/apps/details/page.codeberg.Imaginer.Imaginer">
<img width="200" alt="Download on Flathub" src="https://dl.flathub.org/assets/badges/flathub-badge-i-en.svg"/> <img width="200" alt="Download on Flathub" src="https://dl.flathub.org/assets/badges/flathub-badge-i-en.svg"/>
</a> </a>
<br> <br>
@ -54,7 +54,7 @@ Clone the repo and run `flatpak-builder`
``` ```
git clone https://codeberg.org/Imaginer/Imaginer # or https://github.com/ImaginerApp/Imaginer git clone https://codeberg.org/Imaginer/Imaginer # or https://github.com/ImaginerApp/Imaginer
cd Imaginer cd Imaginer
flatpak-builder --install --user --force-clean repo/ build-aux/flatpak/io.github.ImaginerApp.Imaginer.json flatpak-builder --install --user --force-clean repo/ build-aux/flatpak/page.codeberg.Imaginer.Imaginer.json
``` ```
## Contribute ## Contribute

View File

@ -1,5 +1,5 @@
{ {
"app-id" : "io.github.ImaginerApp.Imaginer", "app-id" : "page.codeberg.Imaginer.Imaginer",
"runtime" : "org.gnome.Platform", "runtime" : "org.gnome.Platform",
"runtime-version" : "44", "runtime-version" : "44",
"sdk" : "org.gnome.Sdk", "sdk" : "org.gnome.Sdk",

View File

Before

Width:  |  Height:  |  Size: 12 KiB

After

Width:  |  Height:  |  Size: 12 KiB

View File

@ -1,4 +1,4 @@
application_id = 'io.github.ImaginerApp.Imaginer' application_id = 'page.codeberg.Imaginer.Imaginer'
scalable_dir = join_paths('hicolor', 'scalable', 'apps') scalable_dir = join_paths('hicolor', 'scalable', 'apps')
install_data( install_data(

View File

@ -1,6 +1,6 @@
desktop_file = i18n.merge_file( desktop_file = i18n.merge_file(
input: 'io.github.ImaginerApp.Imaginer.desktop.in', input: 'page.codeberg.Imaginer.Imaginer.desktop.in',
output: 'io.github.ImaginerApp.Imaginer.desktop', output: 'page.codeberg.Imaginer.Imaginer.desktop',
type: 'desktop', type: 'desktop',
po_dir: '../po', po_dir: '../po',
install: true, install: true,
@ -13,8 +13,8 @@ if desktop_utils.found()
endif endif
appstream_file = i18n.merge_file( appstream_file = i18n.merge_file(
input: 'io.github.ImaginerApp.Imaginer.appdata.xml.in', input: 'page.codeberg.Imaginer.Imaginer.appdata.xml.in',
output: 'io.github.ImaginerApp.Imaginer.appdata.xml', output: 'page.codeberg.Imaginer.Imaginer.appdata.xml',
po_dir: '../po', po_dir: '../po',
install: true, install: true,
install_dir: join_paths(get_option('datadir'), 'appdata') install_dir: join_paths(get_option('datadir'), 'appdata')
@ -25,7 +25,7 @@ if appstream_util.found()
test('Validate appstream file', appstream_util, args: ['validate', appstream_file]) test('Validate appstream file', appstream_util, args: ['validate', appstream_file])
endif endif
install_data('io.github.ImaginerApp.Imaginer.gschema.xml', install_data('page.codeberg.Imaginer.Imaginer.gschema.xml',
install_dir: join_paths(get_option('datadir'), 'glib-2.0/schemas') install_dir: join_paths(get_option('datadir'), 'glib-2.0/schemas')
) )

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<component type="desktop"> <component type="desktop">
<id>io.github.ImaginerApp.Imaginer.desktop</id> <id>page.codeberg.Imaginer.Imaginer.desktop</id>
<metadata_license>CC0-1.0</metadata_license> <metadata_license>CC0-1.0</metadata_license>
<project_license>GPL-3.0-or-later</project_license> <project_license>GPL-3.0-or-later</project_license>
<description> <description>

View File

@ -1,7 +1,7 @@
[Desktop Entry] [Desktop Entry]
Name=Imaginer Name=Imaginer
Exec=imaginer Exec=imaginer
Icon=io.github.ImaginerApp.Imaginer Icon=page.codeberg.Imaginer.Imaginer
Terminal=false Terminal=false
Type=Application Type=Application
Categories=GTK; Categories=GTK;

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<schemalist gettext-domain="imaginer"> <schemalist gettext-domain="imaginer">
<schema id="io.github.ImaginerApp.Imaginer" path="/io/github/ImaginerApp/Imaginer/"> <schema id="page.codeberg.Imaginer.Imaginer" path="/io/github/ImaginerApp/Imaginer/">
</schema> </schema>
</schemalist> </schemalist>

View File

@ -17,11 +17,11 @@ msgstr ""
"Content-Type: text/plain; charset=CHARSET\n" "Content-Type: text/plain; charset=CHARSET\n"
"Content-Transfer-Encoding: 8bit\n" "Content-Transfer-Encoding: 8bit\n"
#: data/io.github.ImaginerApp.Imaginer.desktop.in:3 src/window.blp:9 #: data/page.codeberg.Imaginer.Imaginer.desktop.in:3 src/window.blp:9
msgid "Imaginer" msgid "Imaginer"
msgstr "" msgstr ""
#: data/io.github.ImaginerApp.Imaginer.appdata.xml.in:7 #: data/page.codeberg.Imaginer.Imaginer.appdata.xml.in:7
msgid "No description" msgid "No description"
msgstr "" msgstr ""

View File

@ -1,6 +1,6 @@
data/io.github.ImaginerApp.Imaginer.desktop.in data/page.codeberg.Imaginer.Imaginer.desktop.in
data/io.github.ImaginerApp.Imaginer.appdata.xml.in data/page.codeberg.Imaginer.Imaginer.appdata.xml.in
data/io.github.ImaginerApp.Imaginer.gschema.xml data/page.codeberg.Imaginer.Imaginer.gschema.xml
src/main.py src/main.py
src/window.py src/window.py
src/window.blp src/window.blp

View File

@ -19,11 +19,11 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=n > 1;\n" "Plural-Forms: nplurals=2; plural=n > 1;\n"
"X-Generator: Weblate 4.17\n" "X-Generator: Weblate 4.17\n"
#: data/io.github.ImaginerApp.Imaginer.desktop.in:3 src/window.blp:9 #: data/page.codeberg.Imaginer.Imaginer.desktop.in:3 src/window.blp:9
msgid "Imaginer" msgid "Imaginer"
msgstr "Imaginer" msgstr "Imaginer"
#: data/io.github.ImaginerApp.Imaginer.appdata.xml.in:7 #: data/page.codeberg.Imaginer.Imaginer.appdata.xml.in:7
msgid "No description" msgid "No description"
msgstr "Pas de description" msgstr "Pas de description"

View File

@ -16,11 +16,11 @@ msgstr ""
"Content-Type: text/plain; charset=UTF-8\n" "Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n" "Content-Transfer-Encoding: 8bit\n"
#: data/io.github.ImaginerApp.Imaginer.desktop.in:3 src/window.blp:9 #: data/page.codeberg.Imaginer.Imaginer.desktop.in:3 src/window.blp:9
msgid "Imaginer" msgid "Imaginer"
msgstr "" msgstr ""
#: data/io.github.ImaginerApp.Imaginer.appdata.xml.in:7 #: data/page.codeberg.Imaginer.Imaginer.appdata.xml.in:7
msgid "No description" msgid "No description"
msgstr "" msgstr ""

View File

@ -47,7 +47,7 @@ class ImaginerApplication(Adw.Application):
def __init__(self): def __init__(self):
super().__init__( super().__init__(
application_id="io.github.ImaginerApp.Imaginer", application_id="page.codeberg.Imaginer.Imaginer",
flags=Gio.ApplicationFlags.DEFAULT_FLAGS, flags=Gio.ApplicationFlags.DEFAULT_FLAGS,
) )
self.create_action("quit", self.on_quit_action, ["<primary>q"]) self.create_action("quit", self.on_quit_action, ["<primary>q"])
@ -114,7 +114,7 @@ class ImaginerApplication(Adw.Application):
about = Adw.AboutWindow( about = Adw.AboutWindow(
transient_for=self.props.active_window, transient_for=self.props.active_window,
application_name="imaginer", application_name="imaginer",
application_icon="io.github.ImaginerApp.Imaginer", application_icon="page.codeberg.Imaginer.Imaginer",
developer_name="Me", developer_name="Me",
version="0.1.0", version="0.1.0",
developers=["Me"], developers=["Me"],