-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
pack += configure_file( | ||
input: 'com.github.amezin.ddterm.in', | ||
output: '@BASENAME@', | ||
configuration: gjs_config, | ||
install: true, | ||
install_dir: extension_dir / 'bin', | ||
install_mode: 'rwxr-xr-x' | ||
) | ||
|
||
launcher_installed = extension_dir / 'bin' / 'com.github.amezin.ddterm' | ||
|
||
install_symlink( | ||
'com.github.amezin.ddterm', | ||
pointing_to: launcher_installed, | ||
install_dir: bindir, | ||
) |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
icon_files = files( | ||
'quotation-symbolic.svg', | ||
'regex-symbolic.svg', | ||
'uppercase-symbolic.svg', | ||
) | ||
|
||
foreach icon_file : icon_files | ||
pack += fs.copyfile( | ||
icon_file, | ||
install: true, | ||
install_dir: extension_dir / 'ddterm' / 'app' / 'icons', | ||
) | ||
endforeach |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
app_js_files = files( | ||
Check failure on line 1 in ddterm/app/meson.build GitHub Actions / build / pack
Check failure on line 1 in ddterm/app/meson.build GitHub Actions / build / lint
Check failure on line 1 in ddterm/app/meson.build GitHub Actions / po / check (cs)
Check failure on line 1 in ddterm/app/meson.build GitHub Actions / po / check (de)
Check failure on line 1 in ddterm/app/meson.build GitHub Actions / po / check (el)
Check failure on line 1 in ddterm/app/meson.build GitHub Actions / po / check (es)
Check failure on line 1 in ddterm/app/meson.build GitHub Actions / po / check (fr)
Check failure on line 1 in ddterm/app/meson.build GitHub Actions / po / check (id)
Check failure on line 1 in ddterm/app/meson.build GitHub Actions / po / check (it)
Check failure on line 1 in ddterm/app/meson.build GitHub Actions / po / check (nb_NO)
Check failure on line 1 in ddterm/app/meson.build GitHub Actions / po / check (pl)
Check failure on line 1 in ddterm/app/meson.build GitHub Actions / po / check (pt)
Check failure on line 1 in ddterm/app/meson.build GitHub Actions / po / check (ru)
|
||
'accellabel.js', | ||
'application.js', | ||
'appwindow.js', | ||
'dependencies-notification.js', | ||
'dependencies.js', | ||
'gtktheme.js', | ||
'heapdump.js', | ||
'init.js', | ||
'main.js', | ||
'meta.js', | ||
'notebook.js', | ||
'pcre2.js', | ||
'prefsdialog.js', | ||
'search.js', | ||
'settings.js', | ||
'tablabel.js', | ||
'tcgetpgrp.js', | ||
'terminal.js', | ||
'terminalpage.js', | ||
'terminalsettings.js', | ||
'urldetect.js', | ||
'urldetect_patterns.js', | ||
'waitstatus.js' | ||
) | ||
|
||
potfiles += app_js_files | ||
potfiles += files('menus.ui') | ||
|
||
foreach app_file : app_js_files + files('dependencies.json', 'menus.ui', 'style.css') | ||
pack += fs.copyfile( | ||
app_file, | ||
install: true, | ||
install_dir: extension_dir / 'ddterm' / 'app', | ||
) | ||
endforeach | ||
|
||
subdir('icons') | ||
|
||
ui_validate_targets += run_target( | ||
'validate-app-ui', | ||
command: [gtk3_builder_tool, 'validate', files('menus.ui')], | ||
) |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
ddterm_files = files( | ||
'com.github.amezin.ddterm.Extension.xml', | ||
'com.github.amezin.ddterm.HeapDump.xml', | ||
'com.github.amezin.ddterm.service.in', | ||
) | ||
|
||
foreach ddterm_file : ddterm_files | ||
pack += fs.copyfile( | ||
ddterm_file, | ||
install: true, | ||
install_dir: extension_dir / 'ddterm', | ||
) | ||
endforeach | ||
|
||
desktop_entry_untranslated = files('com.github.amezin.ddterm.desktop.in.in') | ||
potfiles += desktop_entry_untranslated | ||
|
||
pack += i18n.merge_file( | ||
input: desktop_entry_untranslated, | ||
output: '@BASENAME@', | ||
po_dir: '../locale', | ||
type: 'desktop', | ||
) | ||
|
||
launcher_config = configuration_data() | ||
launcher_config.set('LAUNCHER', launcher_installed) | ||
|
||
desktop_entry_final = i18n.merge_file( | ||
input: configure_file( | ||
input: desktop_entry_untranslated, | ||
output: '@BASENAME@_configured', | ||
configuration: launcher_config, | ||
), | ||
output: '@BASENAME@', | ||
po_dir: '../locale', | ||
type: 'desktop', | ||
install: true, | ||
install_dir: applications_dir, | ||
) | ||
|
||
configure_file( | ||
input: 'com.github.amezin.ddterm.service.in', | ||
output: '@BASENAME@', | ||
configuration: launcher_config, | ||
install: true, | ||
install_dir: dbus_service_dir, | ||
) | ||
|
||
subdir('app') | ||
subdir('pref') | ||
subdir('shell') | ||
subdir('util') | ||
|
||
desktop_file_validate_tool = find_program('desktop-file-validate', native: true) | ||
|
||
check_targets += run_target( | ||
'desktop-file-validate', | ||
command: [desktop_file_validate_tool, desktop_entry_final], | ||
) |