Skip to content

Commit

Permalink
[RELEASE 5afb39f8fd70c3517a48af50a72c9ef9ed70d2a8] Insight 5afb39f
Browse files Browse the repository at this point in the history
Changelog:

   * Upgrade submodule, sync patches. (upstream)
   * Fix requirement of absolute paths.

Signed-off-by: Divya Antony J.R <[email protected]>
  • Loading branch information
antony-jr committed Nov 20, 2022
1 parent 4307c68 commit b3f15e4
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 11 deletions.
11 changes: 5 additions & 6 deletions install.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
#!/usr/bin/env bash
# set -x

echo -e "\e[1;34mInsight (git-commit 93ab4f7)\e[0m, Tcl/Tk GUI for GDB Debugger."
COMMIT="5afb39f"
echo -e "\e[1;34mInsight (git-commit $COMMIT)\e[0m, Tcl/Tk GUI for GDB Debugger."
echo -e "Copyright (C) Redhat, GNU General Public License v2."
echo -e "AppImage Packaged by Antony J.R <[email protected]>."
echo ""
Expand All @@ -10,7 +9,7 @@ mkdir -p ~/Insight
rm -rf ~/Insight/insight
echo -e "Downloading Latest Insight..."
echo -n -e "\e[1;32m"
wget -q --show-progress --progress=bar:force -O ~/Insight/insight https://github.com/antony-jr/insight/releases/download/93ab4f7/Insight-x86_64-pc-linux-gnu-93ab4f7-x86_64.AppImage 2>&1
wget -q --show-progress --progress=bar:force -O ~/Insight/insight https://github.com/antony-jr/insight/releases/download/$COMMIT/Insight-x86_64-pc-linux-gnu-$COMMIT-x86_64.AppImage 2>&1
echo -e "\e[0m"

chmod a+x ~/Insight/insight
Expand All @@ -26,7 +25,7 @@ rm -rf squashfs-root

mv squashfs-root/insight-icon.png .icons/insight.png

sed -i 's+Name=Insight+Name=Insight GDB Debugger (git-93ab4f7)+g' squashfs-root/Insight.desktop
sed -i 's+Name=Insight+Name=Insight GDB Debugger (git-'$COMMIT')+g' squashfs-root/Insight.desktop
sed -i 's+Exec=insight-wrapper+Exec='$HOME'\/Insight\/insight+g' squashfs-root/Insight.desktop
sed -i 's+Icon=insight-icon+Icon='$HOME'\/Insight\/.icons\/insight.png+g' squashfs-root/Insight.desktop

Expand All @@ -37,4 +36,4 @@ rm -rf squashfs-root

echo "Updated ~/.bashrc, Restart your Console/Terminal."
echo -e "\e[1;34mStart Insight from your Application Menu.\e[0m"
echo -e "\e[42mInstalled Insight Stable (git-commit 93ab4f7) (Target CPU: x86_64).\e[0m"
echo -e "\e[42mInstalled Insight Stable (git-commit $COMMIT) (Target CPU: x86_64).\e[0m"
9 changes: 9 additions & 0 deletions release_notes/5afb39f8fd70c3517a48af50a72c9ef9ed70d2a8.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Insight (git-commit 5afb39f)

This release fixes that executables given to the insight AppImage has to be in
absolute path, so now you can give insight AppImage relative files too with no
problem.

# Change Log (Upstream)

**Upgrade submodule, sync patches.**
10 changes: 5 additions & 5 deletions update.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env bash

echo -e "\e[1;34mInsight (git-commit 93ab4f7)\e[0m, Tcl/Tk GUI for GDB Debugger."
COMMIT="5afb39f"
echo -e "\e[1;34mInsight (git-commit $COMMIT)\e[0m, Tcl/Tk GUI for GDB Debugger."
echo -e "Copyright (C) Redhat, GNU General Public License v2."
echo -e "AppImage Packaged by Antony J.R <[email protected]>."
echo ""
Expand All @@ -27,7 +27,7 @@ $(pwd)/.appimageupdater -t -D insight
if [ -f *.AppImage ]; then
mv *.AppImage insight
else
echo -e "\e[42mYou already have latest Insight Stable (git-commit 93ab4f7) (Target CPU: x86_64).\e[0m"
echo -e "\e[42mYou already have latest Insight Stable (git-commit $COMMIT) (Target CPU: x86_64).\e[0m"
exit
fi

Expand All @@ -42,7 +42,7 @@ rm -rf squashfs-root

mv squashfs-root/insight-icon.png .icons/insight.png

sed -i 's+Name=Insight+Name=Insight GDB Debugger (git-93ab4f7)+g' squashfs-root/Insight.desktop
sed -i 's+Name=Insight+Name=Insight GDB Debugger (git-'$COMMIT')+g' squashfs-root/Insight.desktop
sed -i 's+Exec=insight-wrapper+Exec='$HOME'\/Insight\/insight+g' squashfs-root/Insight.desktop
sed -i 's+Icon=insight-icon+Icon='$HOME'\/Insight\/.icons\/insight.png+g' squashfs-root/Insight.desktop

Expand All @@ -53,4 +53,4 @@ rm -rf squashfs-root

echo "Updated ~/.bashrc, Restart your Console/Terminal."
echo -e "\e[1;34mStart Insight from your Application Menu.\e[0m"
echo -e "\e[42mUpdated to Insight Stable (git-commit 93ab4f7) (Target CPU: x86_64).\e[0m"
echo -e "\e[42mUpdated to Insight Stable (git-commit $COMMIT) (Target CPU: x86_64).\e[0m"

0 comments on commit b3f15e4

Please sign in to comment.