Porównaj commity

...

3 Commity

Autor SHA1 Wiadomość Data
Michał Rudowicz b293e52292 Remove unused junk 2024-04-24 19:03:22 +02:00
Michał Rudowicz aeeaea3766 Bump runtime to Gnome 46 2024-04-24 19:02:57 +02:00
Max Buchholz 65a06d2b82 Complement appdata.xml.in
Based on what is already available in the LinuxPhoneApps listing: https://linuxphoneapps.org/apps/eu.fl9.hamlocator.desktop I added some missing metainfo:
- Adds name
- Adds URLs for homepage, bugtracker and vcs-browser
- Adds categories
- Adds developer
- Adds description
- Adds screenshot
- Adds recommended and required controls
2024-04-24 18:45:42 +02:00
6 zmienionych plików z 66 dodań i 52 usunięć

3
.gitmodules vendored 100644
Wyświetl plik

@ -0,0 +1,3 @@
[submodule "shared-modules"]
path = shared-modules
url = https://github.com/flathub/shared-modules.git

Wyświetl plik

@ -3,7 +3,30 @@
<id>eu.fl9.hamlocator.desktop</id>
<metadata_license>CC0-1.0</metadata_license>
<project_license>GPL-3.0-or-later</project_license>
<name>hamlocator</name>
<summary>Displays a maidenhead locator for current location</summary>
<developer>
<name>Michał Rudowicz</name>
</developer>
<recommends>
<control>touch</control>
</recommends>
<requires>
<display_length compare="ge">360</display_length>
</requires>
<description>
<p>No description</p>
<p>Display a maidenhead locator</p>
</description>
<screenshots>
<screenshot type="default">
<image>https://git.sr.ht/~michalr/hamlocator/blob/main/media/screenshot.png</image>
</screenshot>
</screenshots>
<categories>
<category>GTK</category>
<category>GNOME</category>
</categories>
<url type="homepage">https://sr.ht/~michalr/hamlocator/</url>
<url type="bugtracker">https://todo.sr.ht/~michalr/hamlocator</url>
<url type="vcs-browser">https://git.sr.ht/~michalr/hamlocator</url>
</component>

Wyświetl plik

@ -1,7 +1,7 @@
{
"app-id" : "eu.fl9.hamlocator",
"runtime" : "org.gnome.Platform",
"runtime-version" : "42",
"runtime-version" : "46",
"sdk" : "org.gnome.Sdk",
"command" : "hamlocator",
"finish-args" : [
@ -36,6 +36,7 @@
}
]
},
"shared-modules/libsoup/libsoup-2.4.json",
{
"name": "geocode-glib",
"buildsystem": "meson",

1
shared-modules 160000

@ -0,0 +1 @@
Subproject commit 6d718cf27ab7337f09758cb7e07bbc6943762a4a

Wyświetl plik

@ -29,7 +29,6 @@ namespace Hamlocator {
construct {
ActionEntry[] action_entries = {
{ "about", this.on_about_action },
{ "preferences", this.on_preferences_action },
{ "quit", this.quit }
};
this.location = new Location();
@ -72,10 +71,5 @@ namespace Hamlocator {
"authors", authors,
"version", "0.1.0");
}
private void on_preferences_action () {
var win = (Hamlocator.Window) this.active_window;
win.SetLabel("elo");
}
}
}

Wyświetl plik

@ -20,55 +20,47 @@
</object>
</child>
<child>
<!--<object class="GtkBox">
<child>-->
<object class="GtkGrid" id="grid">
<property name="margin-start">12</property>
<property name="margin-end">12</property>
<property name="margin-top">12</property>
<property name="margin-bottom">12</property>
<property name="row-spacing">12</property>
<property name="column-spacing">12</property>
<child>
<object class="GtkLabel" id="label">
<property name="label">Hello, World!</property>
<property name="yalign">1.0</property>
<attributes>
<attribute name="weight" value="bold"/>
<attribute name="scale" value="3"/>
</attributes>
<layout>
<property name="column">0</property>
<property name="row">0</property>
</layout>
</object>
</child>
<child>
<object class="GtkLabel" id="label_details">
<property name="label"></property>
<property name="yalign">0.0</property>
<attributes>
<attribute name="weight" value="light"/>
<attribute name="style" value="italic"/>
</attributes>
<layout>
<property name="column">0</property>
<property name="row">1</property>
</layout>
</object>
</child>
</object><!-- GtkGrid -->
<object class="GtkGrid" id="grid">
<property name="margin-start">12</property>
<property name="margin-end">12</property>
<property name="margin-top">12</property>
<property name="margin-bottom">12</property>
<property name="row-spacing">12</property>
<property name="column-spacing">12</property>
<child>
<object class="GtkLabel" id="label">
<property name="label">Hello, World!</property>
<property name="yalign">1.0</property>
<attributes>
<attribute name="weight" value="bold"/>
<attribute name="scale" value="3"/>
</attributes>
<layout>
<property name="column">0</property>
<property name="row">0</property>
</layout>
</object>
</child>
<!-- </object>
</child>-->
<child>
<object class="GtkLabel" id="label_details">
<property name="label"></property>
<property name="yalign">0.0</property>
<attributes>
<attribute name="weight" value="light"/>
<attribute name="style" value="italic"/>
</attributes>
<layout>
<property name="column">0</property>
<property name="row">1</property>
</layout>
</object>
</child>
</object><!-- GtkGrid -->
</child>
</template>
<menu id="primary_menu">
<section>
<item>
<attribute name="label" translatable="yes">_Preferences</attribute>
<attribute name="action">app.preferences</attribute>
</item>
<item>
<attribute name="label" translatable="yes">_Keyboard Shortcuts</attribute>
<attribute name="action">win.show-help-overlay</attribute>