general: Rename to Loupe
Sets the codename, binary name, and app ID name to Loupe. The user-visible name is still Image Viewer.
This commit is contained in:
parent
9833c1edc0
commit
cced598239
25 changed files with 76 additions and 76 deletions
|
Before Width: | Height: | Size: 9.6 KiB After Width: | Height: | Size: 9.6 KiB |
|
Before Width: | Height: | Size: 8.3 KiB After Width: | Height: | Size: 8.3 KiB |
|
Before Width: | Height: | Size: 695 B After Width: | Height: | Size: 695 B |
|
|
@ -1,19 +1,19 @@
|
|||
scalable_dir = join_paths('hicolor', 'scalable', 'apps')
|
||||
|
||||
install_data(
|
||||
join_paths(scalable_dir, 'org.gnome.ImageViewer.svg'),
|
||||
join_paths(scalable_dir, 'org.gnome.Loupe.svg'),
|
||||
install_dir: join_paths(iv_datadir, 'icons', scalable_dir),
|
||||
)
|
||||
|
||||
install_data(
|
||||
join_paths(scalable_dir, 'org.gnome.ImageViewer.Devel.svg'),
|
||||
join_paths(scalable_dir, 'org.gnome.Loupe.Devel.svg'),
|
||||
install_dir: join_paths(iv_datadir, 'icons', scalable_dir),
|
||||
)
|
||||
|
||||
symbolic_dir = join_paths('hicolor', 'symbolic', 'apps')
|
||||
|
||||
install_data(
|
||||
join_paths(symbolic_dir, 'org.gnome.ImageViewer-symbolic.svg'),
|
||||
join_paths(symbolic_dir, 'org.gnome.Loupe-symbolic.svg'),
|
||||
install_dir: join_paths(iv_datadir, 'icons', symbolic_dir),
|
||||
rename: '@0@-symbolic.svg'.format(app_id)
|
||||
)
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<gresources>
|
||||
<gresource prefix="/org/gnome/ImageViewer">
|
||||
<gresource prefix="/org/gnome/Loupe">
|
||||
<file compressed="true" preprocess="xml-stripblanks">gtk/help_overlay.ui</file>
|
||||
<file compressed="true" preprocess="xml-stripblanks">gtk/window.ui</file>
|
||||
<file compressed="true" preprocess="xml-stripblanks">gtk/image_view.ui</file>
|
||||
|
|
@ -1,7 +1,7 @@
|
|||
desktop_file = i18n.merge_file(
|
||||
input: configure_file(
|
||||
input: 'org.gnome.ImageViewer.desktop.in.in',
|
||||
output: 'org.gnome.ImageViewer.desktop.in',
|
||||
input: 'org.gnome.Loupe.desktop.in.in',
|
||||
output: 'org.gnome.Loupe.desktop.in',
|
||||
configuration: conf,
|
||||
),
|
||||
output: '@0@.desktop'.format(app_id),
|
||||
|
|
@ -12,7 +12,7 @@ desktop_file = i18n.merge_file(
|
|||
)
|
||||
|
||||
configure_file(
|
||||
input: 'org.gnome.ImageViewer.service.in',
|
||||
input: 'org.gnome.Loupe.service.in',
|
||||
output: '@0@.service'.format(app_id),
|
||||
configuration: conf,
|
||||
install: true,
|
||||
|
|
@ -28,8 +28,8 @@ endif
|
|||
|
||||
appstream_file = i18n.merge_file(
|
||||
input: configure_file(
|
||||
input: 'org.gnome.ImageViewer.appdata.xml.in.in',
|
||||
output: 'org.gnome.ImageViewer.appdata.xml.in',
|
||||
input: 'org.gnome.Loupe.appdata.xml.in.in',
|
||||
output: 'org.gnome.Loupe.appdata.xml.in',
|
||||
configuration: conf,
|
||||
),
|
||||
output: '@0@.appdata.xml'.format(app_id),
|
||||
|
|
@ -45,7 +45,7 @@ appstream_file = i18n.merge_file(
|
|||
# )
|
||||
# endif
|
||||
|
||||
install_data('org.gnome.ImageViewer.gschema.xml',
|
||||
install_data('org.gnome.Loupe.gschema.xml',
|
||||
install_dir: join_paths(iv_datadir, 'glib-2.0', 'schemas')
|
||||
)
|
||||
|
||||
|
|
@ -56,8 +56,8 @@ if compile_schemas.found()
|
|||
)
|
||||
endif
|
||||
|
||||
gnome.compile_resources('gnome-image-viewer',
|
||||
'gnome_image_viewer.gresource.xml',
|
||||
gnome.compile_resources('loupe',
|
||||
'loupe.gresource.xml',
|
||||
gresource_bundle: true,
|
||||
install: true,
|
||||
install_dir: iv_pkgdatadir,
|
||||
|
|
|
|||
|
|
@ -1,5 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<schemalist gettext-domain="gnome-image-viewer">
|
||||
<schema id="org.gnome.ImageViewer" path="/org/gnome/ImageViewer/">
|
||||
</schema>
|
||||
</schemalist>
|
||||
|
|
@ -1,3 +0,0 @@
|
|||
[D-BUS Service]
|
||||
Name=@APP_ID@
|
||||
Exec=@bindir@/gnome-image-viewer --gapplication-service
|
||||
|
|
@ -4,6 +4,6 @@
|
|||
<metadata_license>CC0-1.0</metadata_license>
|
||||
<project_license>GPL-3.0-or-later</project_license>
|
||||
<description>
|
||||
<p>A simple Image Viewer for GNOME</p>
|
||||
<p>A simple image viewer for GNOME</p>
|
||||
</description>
|
||||
</component>
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
[Desktop Entry]
|
||||
Name=Image Viewer
|
||||
Exec=gnome-image-viewer %U
|
||||
Exec=loupe %U
|
||||
Icon=@APP_ID@
|
||||
DBusActivatable=true
|
||||
Terminal=false
|
||||
5
data/org.gnome.Loupe.gschema.xml
Normal file
5
data/org.gnome.Loupe.gschema.xml
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<schemalist gettext-domain="loupe">
|
||||
<schema id="org.gnome.Loupe" path="/org/gnome/Loupe/">
|
||||
</schema>
|
||||
</schemalist>
|
||||
3
data/org.gnome.Loupe.service.in
Normal file
3
data/org.gnome.Loupe.service.in
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
[D-BUS Service]
|
||||
Name=@APP_ID@
|
||||
Exec=@bindir@/loupe --gapplication-service
|
||||
Loading…
Add table
Add a link
Reference in a new issue