Skip to content

Commit

Permalink
Merge pull request #124 from postiffm/fixmenulaunch
Browse files Browse the repository at this point in the history
Correct linux menu launch shortcut
  • Loading branch information
postiffm committed Aug 25, 2019
2 parents 22a2652 + fca0be9 commit 03d0040
Show file tree
Hide file tree
Showing 8 changed files with 12 additions and 13 deletions.
2 changes: 1 addition & 1 deletion desktop/Makefile.am
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
applicationdir = $(datadir)/applications

application_DATA = bibledit-gtk.desktop
application_DATA = bibledit-desktop.desktop

EXTRA_DIST = *
CLEANFILES = *~
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
[Desktop Entry]
Name=Bibledit-Gtk
Name=Bibledit-Desktop
Comment=Bible Editor
Icon=bibledit
Exec=bibledit-gtk
Icon=bibledit-desktop.xpm
Exec=bibledit-desktop
Type=Application
Categories=Office;
StartupNotify=true
Expand Down
6 changes: 3 additions & 3 deletions linux/DEBUGGING.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
This is a description of how to debug bibledit-gtk on Linux.
This is a description of how to debug bibledit-desktop on Linux.
It assumes you have already gone through the BUILDING process
and the INSTALLING process.
Written by Matt Postiff, postiffm@umich.edu, 8/25/2016
Expand Down Expand Up @@ -81,15 +81,15 @@ It has to link with -lasan (libasan) and this is apparently not available on Win

Then run the program like this:

ASAN_OPTIONS="symbolize=1 log_path=/tmp/bibledit/asan.log" ASAN_SYMBOLIZER_PATH=$(shell which llvm-symbolizer-3.8) /usr/bin/bibledit-gtk
ASAN_OPTIONS="symbolize=1 log_path=/tmp/bibledit/asan.log" ASAN_SYMBOLIZER_PATH=$(shell which llvm-symbolizer-3.8) /usr/bin/bibledit-desktop

Use ASAN_OPTIONS=help=1 to get a list of current options.

This does run noticeably slower. The confusing thing is that the output does not show up as it does
for the given test case. I think that is because we redirect stdout...

2. To use Valgrind
valgrind --leak-check=full -v --track-origins=yes /usr/bin/bibledit-gtk >& memory.txt
valgrind --leak-check=full -v --track-origins=yes /usr/bin/bibledit-desktop >& memory.txt

It runs very slowly, but it gives good information on memory leaks
and things like conditional jumps that rely on uninitialized memory.
Expand Down
2 changes: 1 addition & 1 deletion linux/objdump-recursive.pl
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
# Modified by Matt Postiff (postiffm@umich.edu)
# Version 1.1 on March 28, 2016 for bibledit
# Original: https://gist.github.com/Tomonobu3110/963cfc63d8a3b94b55cf
# Usage example: linux/objdump-recursive.pl --uniq "/c/Program Files (x86)/Bibledit-4.9.3/editor/bin/bibledit-gtk.exe" | sort
# Usage example: linux/objdump-recursive.pl --uniq "/c/Program Files (x86)/Bibledit-4.9.3/editor/bin/bibledit-desktop.exe" | sort
#
# This program performs recursive objdump checks for binaries and libraries
# It recurses through entire objdump tree for every listed binary and library
Expand Down
2 changes: 1 addition & 1 deletion man/bibledit-git.1
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
.B bibledit-git \- internal command for bibledit, a Bible editor
.SH DESCRIPTION
Bibledit is a Bible editor.
It is started by typing "bibledit-gtk" on
It is started by typing "bibledit-desktop" on
the commandline.
Binary "bibledit-git" is used by Bibledit internally.
For more information see the
Expand Down
2 changes: 1 addition & 1 deletion man/bibledit-gtk.1
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
.B bibledit-gtk \- a Bible editor
.SH DESCRIPTION
Bibledit-Gtk is a Bible editor.
It is started by typing "bibledit-gtk" on
It is started by typing "bibledit-desktop" on
the commandline. For more information see the
online help of the graphical user interface.
.PP
Expand Down
4 changes: 2 additions & 2 deletions man/bibledit-shutdown.1
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
.TH BIBLEDIT-SHUTDOWN 1 "April 10 2012" "Version 4.6"
.SH NAME
.B bibledit-shutdown \- internal command for bibledit-gtk, a Bible editor
.B bibledit-shutdown \- internal command for bibledit-desktop, a Bible editor
.SH DESCRIPTION
Bibledit is a Bible editor.
It is started by typing "bibledit-gtk" on
It is started by typing "bibledit-desktop" on
the commandline.
Binary "bibledit-shutdown" is used by Bibledit internally.
.PP
Expand Down
1 change: 0 additions & 1 deletion windows/buildenvWin64.sh
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,6 @@ pacman -S --noconfirm msys/libxml2-devel
mkdir -v -p ~/$BUILD_DIR
cd ~/$BUILD_DIR
#git clone https://github.com/teusbenschop/bibledit.git
#git clone https://github.com/postiffm/bibledit-gtk.git
git clone https://github.com/postiffm/bibledit-desktop.git
echo "Git cloned into the directory ~/$BUILD_DIR/bibledit-desktop"

Expand Down

0 comments on commit 03d0040

Please sign in to comment.