-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added icons and desktop file for distribution
- Loading branch information
karurochari
committed
Dec 16, 2024
1 parent
2ba1262
commit 31d1304
Showing
7 changed files
with
313 additions
and
5 deletions.
There are no files selected for viewing
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
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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
## Is there a SAX implementation? | ||
|
||
No, there is not. | ||
Some features don't strictly require a DOM, but they don't really translate well in terms of a pull parsers. | ||
Some features don't strictly require a DOM, but they don't really translate well in terms of a pull parser. | ||
The memory peak usage would not be much better either for many reasonable templates, so there is no real incentive to implement this preprocessor based on a different backend for now. | ||
Still, if you want to do so you are very welcome! |
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
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,37 @@ | ||
metainfo_file = 'metainfo.xml' | ||
ascli_exe = find_program('appstreamcli', required: false) | ||
if ascli_exe.found() | ||
test( | ||
'validate metainfo file', | ||
ascli_exe, | ||
args: ['validate', '--no-net', '--pedantic', metainfo_file], | ||
) | ||
endif | ||
|
||
ascli_exe = find_program('appstreamcli') | ||
custom_target( | ||
'gen-desktop-entry', | ||
input: [metainfo_file], | ||
output: ['com.karurochari.vs.templ.desktop'], | ||
command: [ascli_exe, 'make-desktop-file', '@INPUT@', '@OUTPUT@'], | ||
install: true, | ||
install_dir: join_paths(get_option('datadir'), 'applications'), | ||
) | ||
|
||
install_data( | ||
sources: ['vs.templ.light.svg'], | ||
rename: ['vs.templ.svg'], | ||
install_dir: join_paths(get_option('datadir'), 'icons', 'hicolor', 'scalable', 'apps'), | ||
) | ||
|
||
#i18n = import('i18n') | ||
|
||
# NOTE: Remember to add the XML file to POTFILES.in! | ||
#i18n.merge_file( | ||
# input: metainfo_file, | ||
# output: 'com.karurochari.vs.templ.metainfo.xml', | ||
# type: 'xml', | ||
# po_dir: join_paths(meson.project_source_root(), 'po'), | ||
# install: true, | ||
# install_dir: join_paths (get_option ('datadir'), 'metainfo') | ||
#) |
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,29 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<component type="console-application"> | ||
<id>com.karurochari.vs.templ</id> | ||
|
||
<name>vs.templ</name> | ||
<summary>A simple static XML template builder</summary> | ||
|
||
<metadata_license>CC-BY-SA-4.0</metadata_license> | ||
<project_license>multiple, check docs</project_license> | ||
|
||
<description> | ||
<p> | ||
A simple static XML template builde | ||
</p> | ||
</description> | ||
|
||
<launchable type="desktop-id">com.karurochari.vs.templ.desktop</launchable> | ||
|
||
<icon type="stock">vs.templ</icon> | ||
|
||
<categories> | ||
<category>Utility</category> | ||
<category>Construction</category> | ||
</categories> | ||
|
||
<provides> | ||
<binary>vs.templ</binary> | ||
</provides> | ||
</component> |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.