From 8814efe792446552b4439f8b259e24a302339abf Mon Sep 17 00:00:00 2001 From: probonopd Date: Sun, 22 May 2016 00:22:41 +0200 Subject: [PATCH 1/2] include the Tcl/Tk dependencies that are needed for script GUIs To prevent ```Traceback (most recent call last): File "", line 10, in File "././/share/scribus/scripts/FontSample.py", line 1577, in main_wrapper(sys.argv) File "././/share/scribus/scripts/FontSample.py", line 1562, in main_wrapper main(argv) File "././/share/scribus/scripts/FontSample.py", line 1551, in main initialisation() File "././/share/scribus/scripts/FontSample.py", line 1544, in initialisation app = setup_tk() File "././/share/scribus/scripts/FontSample.py", line 1512, in setup_tk root = Tk() File "/usr/lib/python2.7/lib-tk/Tkinter.py", line 1818, in __init__ self.tk = _tkinter.create(screenName, baseName, className, interactive, wantobjects, useTk, sync, use) TclError: Can't find a usable init.tcl in the following directories: /usr/share/tcltk/tcl8.6 /usr/lib/tcl8.6 /lib/tcl8.6 /usr/library /library /tcl8.6.1/library /tcl8.6.1/library /usr/share/tcltk/tcl8.6/init.tcl: version conflict for package "Tcl": have 8.6.1, need exactly 8.6.5 version conflict for package "Tcl": have 8.6.1, need exactly 8.6.5 while executing "package require -exact Tcl 8.6.5" (file "/usr/share/tcltk/tcl8.6/init.tcl" line 19) invoked from within "source /usr/share/tcltk/tcl8.6/init.tcl" ("uplevel" body line 1) invoked from within "uplevel #0 [list source $tclfile]" ``` --- AppImage-package/bundle.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/AppImage-package/bundle.sh b/AppImage-package/bundle.sh index 7ed5c84ac2..b57be83d0e 100644 --- a/AppImage-package/bundle.sh +++ b/AppImage-package/bundle.sh @@ -20,12 +20,17 @@ cd $HOME/$APP/ wget -q https://github.com/probonopd/AppImages/raw/master/functions.sh -O ./functions.sh . ./functions.sh +URLS=$(apt-get install -qq --reinstall --print-uris python-tk | cut -d "'" -f 2) +wget $URLS + cd $APP.AppDir ######################################################################## # Copy desktop and icon file to AppDir for AppRun to pick them up ######################################################################## +find ../*.deb -exec dpkg -x {} . \; + get_apprun find . -name *desktop -exec cp {} $LOWERAPP.desktop \; From cf93c2277cf9bd5edfc9805421ae1ff804a619fc Mon Sep 17 00:00:00 2001 From: probonopd Date: Sun, 22 May 2016 02:36:26 +0200 Subject: [PATCH 2/2] Update .travis.yml --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index f377a07f28..d207734803 100644 --- a/.travis.yml +++ b/.travis.yml @@ -33,7 +33,7 @@ before_install: qt56tools libgraphicsmagick++1-dev libopenscenegraph-dev libpoppler-dev libcairo2-dev libwpg-dev libmspub-dev libcdr-dev libvisio-dev libharfbuzz-dev libharfbuzz-icu0 - coreutils binutils python-tk; + coreutils binutils; fi # OSX # - if [ $TRAVIS_OS_NAME == osx ]; then brew --env && brew config && brew list; fi