This repository has been archived by the owner on Dec 14, 2021. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* Create AppImage package using linuxdeployqt in Travis CI * Renamed appPath() to sharedDataPath() * Fixed include error in tutorial
- Loading branch information
Showing
20 changed files
with
184 additions
and
45 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
#define GRAPH_TUTORIAL_6_H | ||
|
||
|
||
#include "String.h" | ||
#include "string.h" | ||
|
||
class BoringClass | ||
{ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
@VERSION_STRING@ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,21 @@ | ||
FROM coatisoftware/centos7_64_qt_llvm:qt5126-llvm900 | ||
|
||
# TODO: remove after full image rebuilt ------------------------------------ | ||
USER root | ||
|
||
RUN yum -y install file | ||
|
||
RUN wget https://github.com/probonopd/linuxdeployqt/releases/download/6/linuxdeployqt-6-x86_64.AppImage && \ | ||
chmod a+x linuxdeployqt-6-x86_64.AppImage && \ | ||
./linuxdeployqt-6-x86_64.AppImage --appimage-extract && \ | ||
cp -r squashfs-root/usr/ /opt/linuxdeployqt && \ | ||
chmod -R 755 /opt/linuxdeployqt && \ | ||
rm linuxdeployqt-6-x86_64.AppImage && rm -rf squashfs-root | ||
ENV PATH=/opt/linuxdeployqt/bin:${PATH} | ||
|
||
USER builder | ||
# -------------------------------------------------------------------------- | ||
|
||
COPY entrypoint.sh /entrypoint.sh | ||
|
||
ENTRYPOINT ["/entrypoint.sh"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,72 @@ | ||
#!/bin/sh | ||
|
||
BIN_PATH=build/Release/app/Sourcetrail | ||
PROJECTS_PATH=bin/app/user/projects | ||
|
||
./$BIN_PATH index --full $PROJECTS_PATH/tictactoe_cpp/tictactoe_cpp.srctrlprj | ||
./$BIN_PATH index --full $PROJECTS_PATH/tictactoe_py/tictactoe_py.srctrlprj | ||
./$BIN_PATH index --full $PROJECTS_PATH/tutorial/tutorial.srctrlprj | ||
./$BIN_PATH index --full $PROJECTS_PATH/javaparser/javaparser.srctrlprj | ||
|
||
rm -rf AppDir | ||
|
||
mkdir AppDir | ||
cd AppDir | ||
|
||
mkdir usr | ||
cd usr | ||
|
||
mkdir bin | ||
mkdir lib | ||
mkdir share | ||
|
||
cd bin | ||
cp ../../../build/Release/app/Sourcetrail sourcetrail | ||
cp ../../../build/Release/app/sourcetrail_indexer . | ||
cd .. | ||
|
||
cd share | ||
|
||
mkdir applications | ||
cd applications | ||
cp ../../../../setup/Linux/sourcetrail.desktop . | ||
cd .. | ||
|
||
cp -r ../../../build/Release/share/icons/ . | ||
|
||
mkdir mime | ||
cd mime | ||
mkdir packages | ||
cd packages | ||
cp ../../../../../setup/Linux/sourcetrail-mime.xml . | ||
cd ../.. | ||
|
||
mkdir data | ||
cd data | ||
cp -R ../../../../bin/app/data/color_schemes . | ||
cp -R ../../../../bin/app/data/syntax_highlighting_rules . | ||
cp -R ../../../../bin/app/data/fonts . | ||
cp -R ../../../../bin/app/data/gui . | ||
cp -R ../../../../bin/app/data/java . | ||
cp -R ../../../../bin/app/data/python . | ||
cp -R ../../../../bin/app/data/fallback . | ||
cp -R ../../../../bin/app/user/projects fallback/ | ||
cp -R ../../../../bin/app/data/license . | ||
cp -R ../../../../bin/app/data/cxx . | ||
cd .. | ||
|
||
cd ../../.. | ||
|
||
# find AppDir | sed -e "s/[^-][^\/]*\// |/g" -e "s/|\([^ ]\)/|-\1/" | ||
|
||
export VERSION=$(cat build/Release/version.txt) | ||
|
||
linuxdeployqt AppDir/usr/bin/sourcetrail_indexer -qmake=$Qt5_DIR/bin/qmake -ignore-glob=*python* | ||
rm -f AppDir/AppRun | ||
linuxdeployqt AppDir/usr/share/applications/sourcetrail.desktop -qmake=$Qt5_DIR/bin/qmake -ignore-glob=*python* -appimage | ||
|
||
rename x86_64 Linux_64bit *.AppImage | ||
rename - _ *.AppImage | ||
rename - _ *.AppImage | ||
rename . _ *.AppImage | ||
rename . _ *.AppImage |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.