Bug#816923: lldb-3.6: Add lldb-mi symbolic link
Marc-Andre Laperle
malaperle at gmail.com
Sun Mar 6 18:15:35 UTC 2016
Package: lldb-3.6
Version: 1:3.6.2-3
Severity: wishlist
Tags: patch
Right now, if the lldb pacakage is installed, lldb-mi-3.6 is installed in
/usr/bin. It would be useful to have a symbolic link that would be named lldb-
mi pointing to lldb-mi-3.6. This way, tools (IDEs) that have to interact with
lldb-mi would not have to specify the version or try to find it in manually.
I have modified the source package locally to achieve this and it was not very
difficult. I attached a simple patch. The change is in llvm-defaults
--- llvm-defaults-0.33/debian/rules.orig 2016-03-06 13:10:56.631611999
-0500
+++ llvm-defaults-0.33/debian/rules 2016-03-06 12:57:17.127016480 -0500
@@ -237,6 +237,9 @@
dh_link -plldb \
/usr/bin/lldb-$(PV_LLVM) \
/usr/bin/lldb
+ dh_link -plldb \
+ /usr/bin/lldb-mi-$(PV_LLVM) \
+ /usr/bin/lldb-mi
nopkgs := $(foreach p, $(no_packages),-N$(p))
-- System Information:
Debian Release: stretch/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 4.4.0-1-amd64 (SMP w/3 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages lldb-3.6 depends on:
ii libc6 2.21-9
ii libedit2 3.1-20150325-1+b1
ii libffi6 3.2.1-4
ii libgcc1 1:5.3.1-10
ii liblldb-3.6 1:3.6.2-3
ii libllvm3.6v5 1:3.6.2-3
ii libstdc++6 5.3.1-10
ii libtinfo5 6.0+20160213-1
ii llvm-3.6-dev 1:3.6.2-3
ii python 2.7.11-1
ii python-lldb-3.6 1:3.6.2-3
ii zlib1g 1:1.2.8.dfsg-2+b1
lldb-3.6 recommends no packages.
lldb-3.6 suggests no packages.
-- no debconf information
-------------- next part --------------
A non-text attachment was scrubbed...
Name: add-lldb-mi-symlink.patch
Type: text/x-diff
Size: 362 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-llvm-team/attachments/20160306/4d6f4ccf/attachment.patch>
More information about the Pkg-llvm-team
mailing list