[console] build: don't install an alias



commit 96aec4d13bb492dfe638e62499a87d236d60c6c8
Author: Zander Brown <zbrown gnome org>
Date:   Sat Dec 18 13:34:02 2021 +0000

    build: don't install an alias
    
    Hopefully end this name bikeshed, conclusions:
     - Repo is GNOME/Console
     - Display name is Console
     - Tarball name is gnome-console
     - ID is org.gnome.Console
     - Codename/binname/namespace is kgx
    
    This reverts commit 1f4e6f19888635009eac24d16ee8436361fdea8c.
    
    Fix: https://gitlab.gnome.org/GNOME/Console/-/issues/97

 meson.build     |  6 ++----
 src/kgx.sh.in   |  3 ---
 src/meson.build | 10 ----------
 3 files changed, 2 insertions(+), 17 deletions(-)
---
diff --git a/meson.build b/meson.build
index 3e6611e..bbc88db 100644
--- a/meson.build
+++ b/meson.build
@@ -24,14 +24,12 @@ gnome = import('gnome')
 if get_option('devel')
   app_id = 'org.gnome.Console.Devel'
   app_path = '/org/gnome/Console/Devel/'
-  bin_name = meson.project_name() + '-devel'
-  alias_name = 'kgx-devel'
+  bin_name = 'kgx-devel'
   log_domain = 'KgxDevel'
 else
   app_id = 'org.gnome.Console'
   app_path = '/org/gnome/Console/'
-  bin_name = meson.project_name()
-  alias_name = 'kgx'
+  bin_name = 'kgx'
   log_domain = 'Kgx'
 endif
 
diff --git a/src/meson.build b/src/meson.build
index 074c32f..ee35b50 100644
--- a/src/meson.build
+++ b/src/meson.build
@@ -83,13 +83,3 @@ executable(        bin_name,
           install: true,
     install_rpath: pkglibdir,
 )
-
-# TODO: use `install_symlink` when a compatible meson version is available
-# See https://github.com/mesonbuild/meson/pull/9608
-configure_file(
-          input: 'kgx.sh.in',
-         output: alias_name,
-  configuration: conf,
-        install: true,
-    install_dir: bindir
-)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]