Skip to content

Commit

Permalink
Initial Commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Diego-Ivan committed Jan 27, 2023
0 parents commit f2a30ca
Show file tree
Hide file tree
Showing 23 changed files with 1,367 additions and 0 deletions.
675 changes: 675 additions & 0 deletions COPYING

Large diffs are not rendered by default.

130 changes: 130 additions & 0 deletions data/icons/hicolor/scalable/apps/io.github.diegoivan.hidden_scribe.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
13 changes: 13 additions & 0 deletions data/icons/meson.build
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
application_id = 'io.github.diegoivan.hidden_scribe'

scalable_dir = join_paths('hicolor', 'scalable', 'apps')
install_data(
join_paths(scalable_dir, ('@0@.svg').format(application_id)),
install_dir: join_paths(get_option('datadir'), 'icons', scalable_dir)
)

symbolic_dir = join_paths('hicolor', 'symbolic', 'apps')
install_data(
join_paths(symbolic_dir, ('@0@-symbolic.svg').format(application_id)),
install_dir: join_paths(get_option('datadir'), 'icons', symbolic_dir)
)
9 changes: 9 additions & 0 deletions data/io.github.diegoivan.hidden_scribe.appdata.xml.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<component type="desktop">
<id>io.github.diegoivan.hidden_scribe.desktop</id>
<metadata_license>CC0-1.0</metadata_license>
<project_license>GPL-3.0-or-later</project_license>
<description>
<p>No description</p>
</description>
</component>
8 changes: 8 additions & 0 deletions data/io.github.diegoivan.hidden_scribe.desktop.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
[Desktop Entry]
Name=hidden-scribe
Exec=hidden-scribe
Icon=io.github.diegoivan.hidden_scribe
Terminal=false
Type=Application
Categories=GTK;
StartupNotify=true
5 changes: 5 additions & 0 deletions data/io.github.diegoivan.hidden_scribe.gschema.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<schemalist gettext-domain="hidden-scribe">
<schema id="io.github.diegoivan.hidden_scribe" path="/io/github/diegoivan/hidden_scribe/">
</schema>
</schemalist>
39 changes: 39 additions & 0 deletions data/meson.build
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
desktop_file = i18n.merge_file(
input: 'io.github.diegoivan.hidden_scribe.desktop.in',
output: 'io.github.diegoivan.hidden_scribe.desktop',
type: 'desktop',
po_dir: '../po',
install: true,
install_dir: join_paths(get_option('datadir'), 'applications')
)

desktop_utils = find_program('desktop-file-validate', required: false)
if desktop_utils.found()
test('Validate desktop file', desktop_utils, args: [desktop_file])
endif

appstream_file = i18n.merge_file(
input: 'io.github.diegoivan.hidden_scribe.appdata.xml.in',
output: 'io.github.diegoivan.hidden_scribe.appdata.xml',
po_dir: '../po',
install: true,
install_dir: join_paths(get_option('datadir'), 'appdata')
)

appstream_util = find_program('appstream-util', required: false)
if appstream_util.found()
test('Validate appstream file', appstream_util, args: ['validate', appstream_file])
endif

install_data('io.github.diegoivan.hidden_scribe.gschema.xml',
install_dir: join_paths(get_option('datadir'), 'glib-2.0/schemas')
)

compile_schemas = find_program('glib-compile-schemas', required: false)
if compile_schemas.found()
test('Validate schema file',
compile_schemas,
args: ['--strict', '--dry-run', meson.current_source_dir()])
endif

subdir('icons')
69 changes: 69 additions & 0 deletions io.github.diegoivan.hidden_scribe.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
{
"app-id" : "io.github.diegoivan.hidden_scribe",
"runtime" : "org.gnome.Platform",
"runtime-version" : "43",
"sdk" : "org.gnome.Sdk",
"sdk-extensions" : [
"org.freedesktop.Sdk.Extension.vala"
],
"command" : "hidden-scribe",
"finish-args" : [
"--share=network",
"--share=ipc",
"--socket=fallback-x11",
"--device=dri",
"--socket=wayland"
],
"build-options" : {
"append-path" : "/usr/lib/sdk/vala/bin",
"prepend-ld-library-path" : "/usr/lib/sdk/vala/lib"
},
"cleanup" : [
"/include",
"/lib/pkgconfig",
"/man",
"/share/doc",
"/share/gtk-doc",
"/share/man",
"/share/pkgconfig",
"/share/vala",
"*.la",
"*.a"
],
"modules" : [
{
"name" : "poppler",
"buildsystem" : "cmake",
"config-opts" : [
"-DENABLE_LIBOPENJPEG:STRING=none",
"-DBUILD_GTK_TESTS=OFF",
"-DBUILD_QT5_TESTS=OFF",
"-DBUILD_QT6_TESTS=OFF",
"-DBUILD_CPP_TESTS=OFF",
"-DBUILD_MANUAL_TESTS=OFF",
"-DENABLE_UTILS=OFF",
"-DENABLE_CPP=OFF",
"-DENABLE_QT5=OFF",
"-DENABLE_QT6=OFF",
"-DENABLE_BOOST=OFF"
],
"sources" : [
{
"url" : "https://anongit.freedesktop.org/git/poppler/poppler.git",
"type" : "git"
}
]
},
{
"name" : "hidden-scribe",
"builddir" : true,
"buildsystem" : "meson",
"sources" : [
{
"type" : "git",
"url" : "file:///var/home/diegoivan/Proyectos"
}
]
}
]
}
20 changes: 20 additions & 0 deletions meson.build
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
project('hidden-scribe', ['c', 'vala'],
version: '0.1.0',
meson_version: '>= 0.59.0',
default_options: [ 'warning_level=2', 'werror=false', ],
)

i18n = import('i18n')
gnome = import('gnome')



subdir('data')
subdir('src')
subdir('po')

gnome.post_install(
glib_compile_schemas: true,
gtk_update_icon_cache: true,
update_desktop_database: true,
)
Empty file added po/LINGUAS
Empty file.
6 changes: 6 additions & 0 deletions po/POTFILES
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
data/io.github.diegoivan.hidden_scribe.desktop.in
data/io.github.diegoivan.hidden_scribe.appdata.xml.in
data/io.github.diegoivan.hidden_scribe.gschema.xml
src/main.vala
src/window.vala
src/window.ui
1 change: 1 addition & 0 deletions po/meson.build
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
i18n.gettext('hidden-scribe', preset: 'glib')
Loading

0 comments on commit f2a30ca

Please sign in to comment.