From e53294cb38301708ff9df788c0b862f59086d9d9 Mon Sep 17 00:00:00 2001 From: Alf Gaida Date: Mon, 4 Sep 2017 23:14:59 +0200 Subject: [PATCH] Added some maintenance scripts, WIP --- debian/bin/evil | 3 +++ debian/bin/mangle | 5 +++++ debian/bin/symmangle | 8 ++++++++ debian/control | 2 +- debian/install | 1 + 5 files changed, 18 insertions(+), 1 deletion(-) create mode 100755 debian/bin/evil create mode 100755 debian/bin/mangle create mode 100755 debian/bin/symmangle create mode 100644 debian/install diff --git a/debian/bin/evil b/debian/bin/evil new file mode 100755 index 0000000..2855257 --- /dev/null +++ b/debian/bin/evil @@ -0,0 +1,3 @@ +#!/bin/bash + +lintian -EvIL +pedantic --show-overrides --no-tag-display-limit *changes diff --git a/debian/bin/mangle b/debian/bin/mangle new file mode 100755 index 0000000..5f391a4 --- /dev/null +++ b/debian/bin/mangle @@ -0,0 +1,5 @@ +#!/bin/bash + +echo "A: $@" | sed 's/ \(_.*\) \(.*\)/ (c++)"\1" \2/' | c++filt + + diff --git a/debian/bin/symmangle b/debian/bin/symmangle new file mode 100755 index 0000000..18ead53 --- /dev/null +++ b/debian/bin/symmangle @@ -0,0 +1,8 @@ +#!/bin/bash + +if [ -d ./debian ]; then + for i in `find . -name symbols`; do + k=`echo $i | sed "s#/DEBIAN/symbols##" | sed "s#./debian/##"` + cat "$i" | sed 's/ \(_.*\) \(.*\)/ (c++)"\1" \2/' | c++filt | sort | uniq | tee "debian/$k.mangled"; + done +fi diff --git a/debian/control b/debian/control index 51ee6e2..4ebd6d4 100644 --- a/debian/control +++ b/debian/control @@ -7,7 +7,7 @@ Priority: optional Build-Depends: debhelper (>= 10), cmake (>= 3.0.2), qtbase5-dev -Standards-Version: 3.9.8 +Standards-Version: 4.1.0 Vcs-Browser: https://anonscm.debian.org/cgit/pkg-lxqt/lxqt-build-tools.git/?h=debian/sid Vcs-Git: https://anonscm.debian.org/git/pkg-lxqt/lxqt-build-tools.git -b debian/sid Homepage: https://github.com/lxde/lxqt-build-tools diff --git a/debian/install b/debian/install new file mode 100644 index 0000000..ce533ad --- /dev/null +++ b/debian/install @@ -0,0 +1 @@ +debian/bin/* /usr/bin