Commit 16755ec6 authored by Roman Alifanov's avatar Roman Alifanov

Mass rename from ru.ximperlinux.TuteIt to ru.ximperlinux.TuneIt

parent 1daf6444
application_id = 'ru.ximperlinux.TuteIt' application_id = 'ru.ximperlinux.TuneIt'
scalable_dir = 'hicolor' / 'scalable' / 'apps' scalable_dir = 'hicolor' / 'scalable' / 'apps'
install_data( install_data(
......
desktop_file = i18n.merge_file( desktop_file = i18n.merge_file(
input: 'ru.ximperlinux.TuteIt.desktop.in', input: 'ru.ximperlinux.TuneIt.desktop.in',
output: 'ru.ximperlinux.TuteIt.desktop', output: 'ru.ximperlinux.TuneIt.desktop',
type: 'desktop', type: 'desktop',
po_dir: '../po', po_dir: '../po',
install: true, install: true,
...@@ -13,8 +13,8 @@ if desktop_utils.found() ...@@ -13,8 +13,8 @@ if desktop_utils.found()
endif endif
appstream_file = i18n.merge_file( appstream_file = i18n.merge_file(
input: 'ru.ximperlinux.TuteIt.metainfo.xml.in', input: 'ru.ximperlinux.TuneIt.metainfo.xml.in',
output: 'ru.ximperlinux.TuteIt.metainfo.xml', output: 'ru.ximperlinux.TuneIt.metainfo.xml',
po_dir: '../po', po_dir: '../po',
install: true, install: true,
install_dir: get_option('datadir') / 'metainfo' install_dir: get_option('datadir') / 'metainfo'
...@@ -24,7 +24,7 @@ appstreamcli = find_program('appstreamcli', required: false, disabler: true) ...@@ -24,7 +24,7 @@ appstreamcli = find_program('appstreamcli', required: false, disabler: true)
test('Validate appstream file', appstreamcli, test('Validate appstream file', appstreamcli,
args: ['validate', '--no-net', '--explain', appstream_file]) args: ['validate', '--no-net', '--explain', appstream_file])
install_data('ru.ximperlinux.TuteIt.gschema.xml', install_data('ru.ximperlinux.TuneIt.gschema.xml',
install_dir: get_option('datadir') / 'glib-2.0' / 'schemas' install_dir: get_option('datadir') / 'glib-2.0' / 'schemas'
) )
...@@ -37,8 +37,8 @@ test('Validate schema file', ...@@ -37,8 +37,8 @@ test('Validate schema file',
service_conf = configuration_data() service_conf = configuration_data()
service_conf.set('bindir', get_option('prefix') / get_option('bindir')) service_conf.set('bindir', get_option('prefix') / get_option('bindir'))
configure_file( configure_file(
input: 'ru.ximperlinux.TuteIt.service.in', input: 'ru.ximperlinux.TuneIt.service.in',
output: 'ru.ximperlinux.TuteIt.service', output: 'ru.ximperlinux.TuneIt.service',
configuration: service_conf, configuration: service_conf,
install_dir: get_option('datadir') / 'dbus-1' / 'services' install_dir: get_option('datadir') / 'dbus-1' / 'services'
) )
......
[Desktop Entry] [Desktop Entry]
Name=tuneit Name=tuneit
Exec=tuneit Exec=tuneit
Icon=ru.ximperlinux.TuteIt Icon=ru.ximperlinux.TuneIt
Terminal=false Terminal=false
Type=Application Type=Application
Categories=Utility; Categories=Utility;
......
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<schemalist gettext-domain="tuneit"> <schemalist gettext-domain="tuneit">
<schema id="ru.ximperlinux.TuteIt" path="/ru/ximperlinux/TuteIt/"> <schema id="ru.ximperlinux.TuneIt" path="/ru.ximperlinux.TuneIt/">
</schema> </schema>
</schemalist> </schemalist>
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<component type="desktop-application"> <component type="desktop-application">
<id>ru.ximperlinux.TuteIt</id> <id>ru.ximperlinux.TuneIt</id>
<metadata_license>CC0-1.0</metadata_license> <metadata_license>CC0-1.0</metadata_license>
<project_license>GPL-3.0-or-later</project_license> <project_license>GPL-3.0-or-later</project_license>
...@@ -36,7 +36,7 @@ ...@@ -36,7 +36,7 @@
<translation type="gettext">tuneit</translation> <translation type="gettext">tuneit</translation>
<!-- All graphical applications having a desktop file must have this tag in the MetaInfo. <!-- 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. --> If this is present, appstreamcli compose will pull icons, keywords and categories from the desktop file. -->
<launchable type="desktop-id">ru.ximperlinux.TuteIt.desktop</launchable> <launchable type="desktop-id">ru.ximperlinux.TuneIt.desktop</launchable>
<!-- Use the OARS website (https://hughsie.github.io/oars/generate.html) to generate these and make sure to use oars-1.1 --> <!-- 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" /> <content_rating type="oars-1.1" />
......
[D-BUS Service] [D-BUS Service]
Name=ru.ximperlinux.TuteIt Name=ru.ximperlinux.TuneIt
Exec=@bindir@/tuneit --gapplication-service Exec=@bindir@/tuneit --gapplication-service
# List of source files containing translatable strings. # List of source files containing translatable strings.
# Please keep this file sorted alphabetically. # Please keep this file sorted alphabetically.
data/ru.ximperlinux.TuteIt.desktop.in data/ru.ximperlinux.TuneIt.desktop.in
data/ru.ximperlinux.TuteIt.metainfo.xml.in data/ru.ximperlinux.TuneIt.metainfo.xml.in
data/ru.ximperlinux.TuteIt.gschema.xml data/ru.ximperlinux.TuneIt.gschema.xml
src/main.py src/main.py
src/window.py src/window.py
src/window.ui src/window.ui
{ {
"id" : "ru.ximperlinux.TuteIt", "id" : "ru.ximperlinux.TuneIt",
"runtime" : "org.gnome.Platform", "runtime" : "org.gnome.Platform",
"runtime-version" : "47", "runtime-version" : "47",
"sdk" : "org.gnome.Sdk", "sdk" : "org.gnome.Sdk",
......
...@@ -31,7 +31,7 @@ class TuneitApplication(Adw.Application): ...@@ -31,7 +31,7 @@ class TuneitApplication(Adw.Application):
"""The main application singleton class.""" """The main application singleton class."""
def __init__(self): def __init__(self):
super().__init__(application_id='ru.ximperlinux.TuteIt', super().__init__(application_id='ru.ximperlinux.TuneIt',
flags=Gio.ApplicationFlags.DEFAULT_FLAGS) flags=Gio.ApplicationFlags.DEFAULT_FLAGS)
self.create_action('quit', lambda *_: self.quit(), ['<primary>q']) self.create_action('quit', lambda *_: self.quit(), ['<primary>q'])
self.create_action('about', self.on_about_action) self.create_action('about', self.on_about_action)
...@@ -51,7 +51,7 @@ class TuneitApplication(Adw.Application): ...@@ -51,7 +51,7 @@ class TuneitApplication(Adw.Application):
def on_about_action(self, *args): def on_about_action(self, *args):
"""Callback for the app.about action.""" """Callback for the app.about action."""
about = Adw.AboutDialog(application_name='tuneit', about = Adw.AboutDialog(application_name='tuneit',
application_icon='ru.ximperlinux.TuteIt', application_icon='ru.ximperlinux.TuneIt',
developer_name='Etersoft', developer_name='Etersoft',
version='0.1.0', version='0.1.0',
developers=['Ximper'], developers=['Ximper'],
......
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<gresources> <gresources>
<gresource prefix="/ru/ximperlinux/TuteIt"> <gresource prefix="/ru.ximperlinux.TuneIt">
<file preprocess="xml-stripblanks">window.ui</file> <file preprocess="xml-stripblanks">window.ui</file>
<file preprocess="xml-stripblanks">gtk/help-overlay.ui</file> <file preprocess="xml-stripblanks">gtk/help-overlay.ui</file>
</gresource> </gresource>
......
...@@ -21,7 +21,7 @@ from gi.repository import Adw, Gtk ...@@ -21,7 +21,7 @@ from gi.repository import Adw, Gtk
from .settings import init_settings_stack from .settings import init_settings_stack
@Gtk.Template(resource_path='/ru/ximperlinux/TuteIt/window.ui') @Gtk.Template(resource_path='/ru.ximperlinux.TuneIt/window.ui')
class TuneitWindow(Adw.ApplicationWindow): class TuneitWindow(Adw.ApplicationWindow):
__gtype_name__ = 'TuneitWindow' __gtype_name__ = 'TuneitWindow'
......
...@@ -47,7 +47,7 @@ where each setting is defined in separate files for flexibility and extensibilit ...@@ -47,7 +47,7 @@ where each setting is defined in separate files for flexibility and extensibilit
%_datadir/glib-2.0/schemas/*.gschema.xml %_datadir/glib-2.0/schemas/*.gschema.xml
%_datadir/metainfo/*.metainfo.xml %_datadir/metainfo/*.metainfo.xml
%_desktopdir/ru.ximperlinux.TuteIt.desktop %_desktopdir/ru.ximperlinux.TuneIt.desktop
%_iconsdir/hicolor/*/apps/*.svg %_iconsdir/hicolor/*/apps/*.svg
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment