-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 0a37115
Showing
22 changed files
with
1,113 additions
and
0 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# BMI | ||
BMI is an open-source, body mass index calculator built with GTK4 and LibAdwaita. | ||
![Screenshot](screenshot.png) | ||
|
||
# Install | ||
You can install the app via [Github Releases](https://github.com/PhilippKosarev/bmi/releases) | ||
|
||
# Contribute | ||
The project is built using [Gnome Builder](https://apps.gnome.org/en-GB/Builder/). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
{ | ||
"id" : "com.github.philippkosarev.bmi", | ||
"runtime" : "org.gnome.Platform", | ||
"runtime-version" : "47", | ||
"sdk" : "org.gnome.Sdk", | ||
"command" : "bmi", | ||
"finish-args" : [ | ||
"--share=network", | ||
"--share=ipc", | ||
"--socket=fallback-x11", | ||
"--device=dri", | ||
"--socket=wayland" | ||
], | ||
"cleanup" : [ | ||
"/include", | ||
"/lib/pkgconfig", | ||
"/man", | ||
"/share/doc", | ||
"/share/gtk-doc", | ||
"/share/man", | ||
"/share/pkgconfig", | ||
"*.la", | ||
"*.a" | ||
], | ||
"modules" : [ | ||
{ | ||
"name" : "bmi", | ||
"builddir" : true, | ||
"buildsystem" : "meson", | ||
"sources" : [ | ||
{ | ||
"type" : "git", | ||
"url" : "file:///home/philipp/Projects" | ||
} | ||
] | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
[Desktop Entry] | ||
Name=BMI | ||
Comment=Calculate body mass index | ||
Exec=bmi | ||
Icon=com.github.philippkosarev.bmi | ||
Terminal=false | ||
Type=Application | ||
Categories=Utility; | ||
Keywords=GTK;body;mass,index,calculator; | ||
StartupNotify=true | ||
DBusActivatable=true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<schemalist gettext-domain="bmi"> | ||
<schema id="com.github.philippkosarev.bmi" path="/com/github/philippkosarev/bmi/"> | ||
</schema> | ||
</schemalist> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,73 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<component type="desktop-application"> | ||
<id>com.github.philippkosarev.bmi</id> | ||
<metadata_license>CC0-1.0</metadata_license> | ||
<project_license>GPL-2.0-or-later</project_license> | ||
|
||
<name>BMI</name> | ||
<summary>Keep the summary shorter, between 10 and 35 characters</summary> | ||
<description> | ||
<p>No description</p> | ||
</description> | ||
|
||
<developer id="tld.vendor"> | ||
<name>Developer name</name> | ||
</developer> | ||
|
||
<!-- Requered: Should be a link to the upstream homepage for the component --> | ||
<url type="homepage">https://example.org/</url> | ||
<!-- Recommended: It is highly recommended for open-source projects to display the source code repository --> | ||
<url type="vcs-browser">https://example.org/repository</url> | ||
<!-- Should point to the software's bug tracking system, for users to report new bugs --> | ||
<url type="bugtracker">https://example.org/issues</url> | ||
<!-- Should link a FAQ page for this software, to answer some of the most-asked questions in detail --> | ||
<!-- URLs of this type should point to a webpage where users can submit or modify translations of the upstream project --> | ||
<url type="translate">https://example.org/translate</url> | ||
<url type="faq">https://example.org/faq</url> | ||
<!--Sould provide a web link to an online user's reference, a software manual or help page --> | ||
<url type="help">https://example.org/help</url> | ||
<!-- URLs of this type should point to a webpage showing information on how to donate to the described software project --> | ||
<url type="donation">https://example.org/donate</url> | ||
<!--This could for example be an HTTPS URL to an online form or a page describing how to contact the developer --> | ||
<url type="contact">https://example.org/contact</url> | ||
<!--URLs of this type should point to a webpage showing information on how to contribute to the described software project --> | ||
<url type="contribute">https://example.org/contribute</url> | ||
|
||
<translation type="gettext">bmi</translation> | ||
<!-- All graphical applications having a desktop file must have this tag in the MetaInfo. | ||
If this is present, appstreamcli compose will pull icons, keywords and categories from the desktop file. --> | ||
<launchable type="desktop-id">com.github.philippkosarev.bmi.desktop</launchable> | ||
<!-- Use the OARS website (https://hughsie.github.io/oars/generate.html) to generate these and make sure to use oars-1.1 --> | ||
<content_rating type="oars-1.1" /> | ||
|
||
<!-- Applications should set a brand color in both light and dark variants like so --> | ||
<branding> | ||
<color type="primary" scheme_preference="light">#ff00ff</color> | ||
<color type="primary" scheme_preference="dark">#993d3d</color> | ||
</branding> | ||
|
||
<screenshots> | ||
<screenshot type="default"> | ||
<image>https://example.org/example1.png</image> | ||
<caption>A caption</caption> | ||
</screenshot> | ||
<screenshot> | ||
<image>https://example.org/example2.png</image> | ||
<caption>A caption</caption> | ||
</screenshot> | ||
</screenshots> | ||
|
||
<releases> | ||
<release version="1.0.1" date="2024-01-18"> | ||
<url type="details">https://example.org/changelog.html#version_1.0.1</url> | ||
<description translate="no"> | ||
<p>Release description</p> | ||
<ul> | ||
<li>List of changes</li> | ||
<li>List of changes</li> | ||
</ul> | ||
</description> | ||
</release> | ||
</releases> | ||
|
||
</component> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
[D-BUS Service] | ||
Name=com.github.philippkosarev.bmi | ||
Exec=@bindir@/bmi --gapplication-service |
222 changes: 222 additions & 0 deletions
222
data/icons/hicolor/scalable/apps/com.github.philippkosarev.bmi.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions
1
data/icons/hicolor/symbolic/apps/com.github.philippkosarev.bmi-symbolic.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
application_id = 'com.github.philippkosarev.bmi' | ||
|
||
scalable_dir = 'hicolor' / 'scalable' / 'apps' | ||
install_data( | ||
scalable_dir / ('@0@.svg').format(application_id), | ||
install_dir: get_option('datadir') / 'icons' / scalable_dir | ||
) | ||
|
||
symbolic_dir = 'hicolor' / 'symbolic' / 'apps' | ||
install_data( | ||
symbolic_dir / ('@0@-symbolic.svg').format(application_id), | ||
install_dir: get_option('datadir') / 'icons' / symbolic_dir | ||
) |
Oops, something went wrong.