Commit 75d4cc78 authored by David Boddie's avatar David Boddie 💬
Browse files

Rename the package and executable

parent 95f9178e
......@@ -3,7 +3,7 @@ Name=Librem 5 Licenses
Type=Application
Terminal=false
StartupNotify=true
Exec=librem5-get-package-info
Exec=librem5-package-info-tool
# Translators: Do NOT translate or transliterate this text (this is an icon file name)!
Icon=librem5-get-package-info
Icon=librem5-package-info-tool
......@@ -5,8 +5,8 @@ pkgdatadir = join_paths(get_option('prefix'), get_option('datadir'), meson.proje
# directory, found in the project's root, generating a desktop file in the
# build directory.
desktop_file = i18n.merge_file(
input: 'librem5-get-package-info.desktop.in',
output: 'librem5-get-package-info.desktop',
input: 'librem5-package-info-tool.desktop.in',
output: 'librem5-package-info-tool.desktop',
type: 'desktop',
po_dir: '../po',
install: true,
......@@ -21,5 +21,5 @@ if desktop_utils.found()
)
endif
install_data('librem5-get-package-info.svg',
install_data('librem5-package-info-tool.svg',
install_dir: join_paths(get_option('datadir'), 'icons', 'hicolor', 'scalable', 'apps'))
librem5-get-package-info (1.0.0) amber-phone; urgency=medium
librem5-package-info-tool (1.0.0) amber-phone; urgency=medium
* Initial release of a tool to list package information.
......
Source: librem5-get-package-info
Source: librem5-package-info-tool
Section: doc
Priority: optional
Maintainer: David Boddie <david.boddie@puri.sm>
......@@ -7,9 +7,9 @@ Build-Depends:
meson,
ninja-build
Standards-Version: 4.1.3
Homepage: https://source.puri.sm/Librem5/librem5-get-package-info
Homepage: https://source.puri.sm/Librem5/librem5-package-info-tool
Package: librem5-get-package-info
Package: librem5-package-info-tool
Architecture: all
Depends:
python3-gi,
......
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Source: https://source.puri.sm/Librem5/librem5-get-package-info
Source: https://source.puri.sm/Librem5/librem5-package-info-tool
Files: *
Copyright: Copyright (C) 2019 Purism SPC
......
......@@ -2,7 +2,7 @@
# the application sources and other files. This will typically be the xgettext
# tool, whose options we use to fill in some of the fields in the generated POT
# file.
i18n.gettext('librem5-get-package-info',
i18n.gettext('librem5-package-info-tool',
preset: 'glib',
args: [
'--copyright-holder=Purism SPC',
......
......@@ -19,7 +19,7 @@ prefix = '@prefix@'
sys.path.insert(1, pkgdatadir)
# Install a translator for Python code to use throughout the application.
gettext.install('librem5-get-package-info', localedir, names=['ngettext'])
gettext.install('librem5-package-info-tool', localedir, names=['ngettext'])
if __name__ == '__main__':
......
......@@ -27,7 +27,7 @@ class Application(Gtk.Application):
self.timeout_id = None
self.lines = []
self.output_dir = os.path.join(os.getenv('HOME'), '.local', 'share',
'librem5-get-package-info')
'librem5-package-info-tool')
def do_activate(self):
window = Gtk.ApplicationWindow(application=self)
......
......@@ -11,8 +11,8 @@ conf.set('prefix', get_option('prefix'))
conf.set('pkgdatadir', pkgdatadir)
configure_file(
input: 'librem5-get-package-info.py',
output: 'librem5-get-package-info',
input: 'librem5-package-info-tool.py',
output: 'librem5-package-info-tool',
configuration: conf,
install_dir: get_option('bindir')
)
......
Supports Markdown
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