many structural changes

This commit is contained in:
2018-11-01 21:52:30 -03:00
parent 430864f06b
commit d506be7b4f
27 changed files with 477 additions and 92 deletions

1
data/desktop/meson.build Normal file
View File

@@ -0,0 +1 @@
install_data('sernatur.desktop', install_dir: join_paths(get_option('datadir'), 'applications'))

1
data/etc/meson.build Normal file
View File

@@ -0,0 +1 @@
install_data('sernatur.conf', install_dir: join_paths(get_option('prefix'), get_option('sysconfdir'), 'sernatur'))

9
data/etc/sernatur.conf Normal file
View File

@@ -0,0 +1,9 @@
database : {
host = "localhost";
port = 5432;
options = "";
gtty = "";
db_name = "bdd";
login = "bdd";
pwd = "bdd";
};

View File

@@ -0,0 +1,18 @@
<schemalist>
<schema id="cl.cromer.ubb.sernatur" path="/cl/cromer/ubb/sernatur/" gettext-domain="sernatur">
<key name="host" type="s">
<default>"localhost"</default>
<summary>Host to connect to</summary>
<description>
Host to connect to
</description>
</key>
<key name="port" type="s">
<default>"5432"</default>
<summary>Port number to use</summary>
<description>
Port number to use
</description>
</key>
</schema>
</schemalist>

1
data/gschema/meson.build Normal file
View File

@@ -0,0 +1 @@
install_data('cl.cromer.ubb.sernatur.gschema.xml', install_dir: join_paths(get_option('prefix'), get_option('datadir'), 'glib-2.0', 'schemas'))

17
data/icons/meson.build Normal file
View File

@@ -0,0 +1,17 @@
install_data('8x8/apps/sernatur.png', install_dir: join_paths(get_option('datadir'), 'icons/hicolor/8x8/apps'))
install_data('16x16/apps/sernatur.png', install_dir: join_paths(get_option('datadir'), 'icons/hicolor/16x16/apps'))
install_data('22x22/apps/sernatur.png', install_dir: join_paths(get_option('datadir'), 'icons/hicolor/22x22/apps'))
install_data('24x24/apps/sernatur.png', install_dir: join_paths(get_option('datadir'), 'icons/hicolor/24x24/apps'))
install_data('32x32/apps/sernatur.png', install_dir: join_paths(get_option('datadir'), 'icons/hicolor/32x32/apps'))
install_data('36x36/apps/sernatur.png', install_dir: join_paths(get_option('datadir'), 'icons/hicolor/36x36/apps'))
install_data('42x42/apps/sernatur.png', install_dir: join_paths(get_option('datadir'), 'icons/hicolor/42x42/apps'))
install_data('48x48/apps/sernatur.png', install_dir: join_paths(get_option('datadir'), 'icons/hicolor/48x48/apps'))
install_data('64x64/apps/sernatur.png', install_dir: join_paths(get_option('datadir'), 'icons/hicolor/64x64/apps'))
install_data('72x72/apps/sernatur.png', install_dir: join_paths(get_option('datadir'), 'icons/hicolor/72x72/apps'))
install_data('96x96/apps/sernatur.png', install_dir: join_paths(get_option('datadir'), 'icons/hicolor/96x96/apps'))
install_data('128x128/apps/sernatur.png', install_dir: join_paths(get_option('datadir'), 'icons/hicolor/128x128/apps'))
install_data('192x192/apps/sernatur.png', install_dir: join_paths(get_option('datadir'), 'icons/hicolor/192x192/apps'))
install_data('256x256/apps/sernatur.png', install_dir: join_paths(get_option('datadir'), 'icons/hicolor/256x256/apps'))
install_data('480x480/apps/sernatur.png', install_dir: join_paths(get_option('datadir'), 'icons/hicolor/480x480/apps'))
install_data('512x512/apps/sernatur.png', install_dir: join_paths(get_option('datadir'), 'icons/hicolor/512x512/apps'))
install_data('512x512/apps/sernatur.png', install_dir: join_paths(get_option('datadir'), 'icons'))

View File

@@ -1,19 +1,5 @@
install_data('sernatur.desktop', install_dir: join_paths(get_option('datadir'), 'applications'))
install_data('icons/8x8/apps/sernatur.png', install_dir: join_paths(get_option('datadir'), 'icons/hicolor/8x8/apps'))
install_data('icons/16x16/apps/sernatur.png', install_dir: join_paths(get_option('datadir'), 'icons/hicolor/16x16/apps'))
install_data('icons/22x22/apps/sernatur.png', install_dir: join_paths(get_option('datadir'), 'icons/hicolor/22x22/apps'))
install_data('icons/24x24/apps/sernatur.png', install_dir: join_paths(get_option('datadir'), 'icons/hicolor/24x24/apps'))
install_data('icons/32x32/apps/sernatur.png', install_dir: join_paths(get_option('datadir'), 'icons/hicolor/32x32/apps'))
install_data('icons/36x36/apps/sernatur.png', install_dir: join_paths(get_option('datadir'), 'icons/hicolor/36x36/apps'))
install_data('icons/42x42/apps/sernatur.png', install_dir: join_paths(get_option('datadir'), 'icons/hicolor/42x42/apps'))
install_data('icons/48x48/apps/sernatur.png', install_dir: join_paths(get_option('datadir'), 'icons/hicolor/48x48/apps'))
install_data('icons/64x64/apps/sernatur.png', install_dir: join_paths(get_option('datadir'), 'icons/hicolor/64x64/apps'))
install_data('icons/72x72/apps/sernatur.png', install_dir: join_paths(get_option('datadir'), 'icons/hicolor/72x72/apps'))
install_data('icons/96x96/apps/sernatur.png', install_dir: join_paths(get_option('datadir'), 'icons/hicolor/96x96/apps'))
install_data('icons/128x128/apps/sernatur.png', install_dir: join_paths(get_option('datadir'), 'icons/hicolor/128x128/apps'))
install_data('icons/192x192/apps/sernatur.png', install_dir: join_paths(get_option('datadir'), 'icons/hicolor/192x192/apps'))
install_data('icons/256x256/apps/sernatur.png', install_dir: join_paths(get_option('datadir'), 'icons/hicolor/256x256/apps'))
install_data('icons/480x480/apps/sernatur.png', install_dir: join_paths(get_option('datadir'), 'icons/hicolor/480x480/apps'))
install_data('icons/512x512/apps/sernatur.png', install_dir: join_paths(get_option('datadir'), 'icons/hicolor/512x512/apps'))
install_data('icons/512x512/apps/sernatur.png', install_dir: join_paths(get_option('datadir'), 'icons'))
subdir('ui')
subdir('etc')
subdir('gschema')
subdir('desktop')
subdir('icons')