Skip to content

Commit

Permalink
comment Importer (will be entirely removed soon) references in packag…
Browse files Browse the repository at this point in the history
…ing scripts + reflect changes made in Ubuntu 22.04.03 regarding webengine files location
  • Loading branch information
kaamui committed Sep 13, 2023
1 parent c8c9841 commit e9204d6
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 11 deletions.
4 changes: 2 additions & 2 deletions release_scripts/linux/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -144,8 +144,8 @@ checkExecutable $LRELEASES
checkExecutable $ZIP_PATH

#build third party application
buildImporter
notifyProgress "OpenBoardImporter" "Built Importer"
#buildImporter
#notifyProgress "OpenBoardImporter" "Built Importer"


# cleaning the build directory
Expand Down
19 changes: 10 additions & 9 deletions release_scripts/linux/package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -93,12 +93,13 @@ initializeVariables()

# Qt installation path. This may vary across machines
QT_PATH="/usr/lib/x86_64-linux-gnu/qt5"
GUI_TRANSLATIONS_DIRECTORY_PATH="/usr/share/qt5/translations"
QT_SHARE_PATH="/usr/share/qt5/"
GUI_TRANSLATIONS_DIRECTORY_PATH="$QT_SHARE_PATH/translations"
QT_LIBRARY_SOURCE_PATH="$QT_PATH/lib"
QT_LIBRARY_EXECUTABLES_SOURCE_PATH="$QT_PATH/libexec"
QT_PLUGINS_SOURCE_PATH="$QT_PATH/plugins"
QT_RESOURCES_SOURCE_PATH="$QT_PATH/resources"
QT_TRANSLATIONS_SOURCE_PATH="$QT_PATH/translations"
QT_RESOURCES_SOURCE_PATH="$QT_SHARE_PATH/resources"
QT_TRANSLATIONS_SOURCE_PATH="$QT_SHARE_PATH/translations"

NOTIFY_CMD=`which notify-send`
ZIP_PATH=`which zip`
Expand Down Expand Up @@ -199,13 +200,13 @@ if $BUNDLE_QT; then
chmod a+x $PACKAGE_DIRECTORY/run.sh
fi

notifyProgress "Copying importer"
mkdir -p $PACKAGE_DIRECTORY/importer
cp -R "$IMPORTER_DIR/$IMPORTER_NAME" "$PACKAGE_DIRECTORY/importer"
#notifyProgress "Copying importer"
#mkdir -p $PACKAGE_DIRECTORY/importer
#cp -R "$IMPORTER_DIR/$IMPORTER_NAME" "$PACKAGE_DIRECTORY/importer"

notifyProgress "Stripping importer and main executable"
strip $PACKAGE_DIRECTORY/$APPLICATION_NAME
strip $PACKAGE_DIRECTORY/importer/$IMPORTER_NAME
#notifyProgress "Stripping importer and main executable"
#strip $PACKAGE_DIRECTORY/$APPLICATION_NAME
#strip $PACKAGE_DIRECTORY/importer/$IMPORTER_NAME

# copying startup hints
notifyProgress "copying startupHints"
Expand Down

0 comments on commit e9204d6

Please sign in to comment.