From a86bc67ccc536b6b8066b126a42d5799890569b4 Mon Sep 17 00:00:00 2001 From: Packit Service Date: Dec 09 2020 08:16:24 +0000 Subject: Apply patch build-Fix-gschema-translations.patch patch_name: build-Fix-gschema-translations.patch present_in_specfile: true location_in_specfile: 1 --- diff --git a/data/meson.build b/data/meson.build index a2d22ed..42cb983 100644 --- a/data/meson.build +++ b/data/meson.build @@ -22,11 +22,8 @@ appdata_file = i18n.merge_file( install_dir: join_paths(get_option('datadir'), 'metainfo'), ) -gschema_file = i18n.merge_file( - input: 'org.gnome.baobab.gschema.xml.in', - output: 'org.gnome.baobab.gschema.xml', - po_dir: '../po', - install: true, +install_data ( + 'org.gnome.baobab.gschema.xml', install_dir: join_paths(get_option('datadir'), 'glib-2.0', 'schemas') ) diff --git a/data/org.gnome.baobab.gschema.xml b/data/org.gnome.baobab.gschema.xml new file mode 100644 index 0000000..41c100f --- /dev/null +++ b/data/org.gnome.baobab.gschema.xml @@ -0,0 +1,34 @@ + + + + + + + + [] + Excluded partitions URIs + A list of URIs for partitions to be excluded from scanning. + + + + + + + + + 'rings' + Active Chart + Which type of chart should be displayed. + + + (960, 600) + Window size + The initial size of the window + + + 0 + Window state + The GdkWindowState of the window + + + diff --git a/data/org.gnome.baobab.gschema.xml.in b/data/org.gnome.baobab.gschema.xml.in deleted file mode 100644 index 41c100f..0000000 --- a/data/org.gnome.baobab.gschema.xml.in +++ /dev/null @@ -1,34 +0,0 @@ - - - - - - - - [] - Excluded partitions URIs - A list of URIs for partitions to be excluded from scanning. - - - - - - - - - 'rings' - Active Chart - Which type of chart should be displayed. - - - (960, 600) - Window size - The initial size of the window - - - 0 - Window state - The GdkWindowState of the window - - - diff --git a/po/POTFILES.in b/po/POTFILES.in index 0c9452a..f3d6521 100644 --- a/po/POTFILES.in +++ b/po/POTFILES.in @@ -2,7 +2,7 @@ # Please keep this file sorted alphabetically. data/org.gnome.baobab.appdata.xml.in data/org.gnome.baobab.desktop.in -data/org.gnome.baobab.gschema.xml.in +data/org.gnome.baobab.gschema.xml src/baobab-application.vala src/baobab-cellrenderers.vala src/baobab-location-list.ui