Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
OpenBoard
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lifo
Nicolas Ollinger
OpenBoard
Commits
7630e50d
Commit
7630e50d
authored
Dec 19, 2013
by
Claudio Valerio
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added the possibility to force an architecture.
parent
6cf85064
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
5 deletions
+11
-5
buildDebianPackage.sh
buildDebianPackage.sh
+11
-5
No files found.
buildDebianPackage.sh
View file @
7630e50d
...
@@ -67,9 +67,8 @@ notifyError(){
...
@@ -67,9 +67,8 @@ notifyError(){
notifyProgress
(){
notifyProgress
(){
if
[
-e
"
$NOTIFY_CMD
"
]
;
then
if
[
-e
"
$NOTIFY_CMD
"
]
;
then
$NOTIFY_CMD
"
$1
"
"
$2
"
$NOTIFY_CMD
"
$1
"
"
$2
"
else
printf
"
\0
33[32m--> Achieved task:
\0
33[0m
$1
:
\n\t
$2
\n
"
fi
fi
printf
"
\0
33[32m--> Achieved task:
\0
33[0m
$1
:
\n\t
$2
\n
"
}
}
alertIfPreviousVersionInstalled
(){
alertIfPreviousVersionInstalled
(){
...
@@ -155,14 +154,21 @@ buildWithStandardQt
...
@@ -155,14 +154,21 @@ buildWithStandardQt
for
var
in
"
$@
"
for
var
in
"
$@
"
do
do
if
[
$var
==
"notag"
]
;
then
if
[
$var
==
"notag"
]
;
then
MAKE_TAG
=
false
;
MAKE_TAG
=
false
fi
# forcing a architecture because of cross compiling
if
[
$var
==
"i386"
]
;
then
ARCHITECTURE
=
"i386"
fi
if
[
$var
==
"amd64"
]
;
then
ARCHITECTURE
=
"amd64"
fi
fi
done
done
alertIfPreviousVersionInstalled
alertIfPreviousVersionInstalled
#check of directories and executables
#
check of directories and executables
checkDir
$QT_PATH
checkDir
$QT_PATH
checkDir
$PLUGINS_PATH
checkDir
$PLUGINS_PATH
checkDir
$GUI_TRANSLATIONS_DIRECTORY_PATH
checkDir
$GUI_TRANSLATIONS_DIRECTORY_PATH
...
@@ -406,7 +412,7 @@ chmod 755 "$BASE_WORKING_DIR/DEBIAN/prerm"
...
@@ -406,7 +412,7 @@ chmod 755 "$BASE_WORKING_DIR/DEBIAN/prerm"
chmod
755
"
$BASE_WORKING_DIR
/DEBIAN/postint"
chmod
755
"
$BASE_WORKING_DIR
/DEBIAN/postint"
mkdir
-p
"install/linux"
mkdir
-p
"install/linux"
DEBIAN_PACKAGE_NAME
=
"
${
APPLICATION_NAME
}
_
${
VERSION
}
_
$ARCHITECTURE
.deb"
DEBIAN_PACKAGE_NAME
=
"
${
APPLICATION_NAME
}
_
`
lsb_release
-is
`
_
`
lsb_release
-rs
`
_
${
VERSION
}
_
$ARCHITECTURE
.deb"
chown
-R
root:root
$BASE_WORKING_DIR
chown
-R
root:root
$BASE_WORKING_DIR
dpkg
-b
"
$BASE_WORKING_DIR
"
"install/linux/
$DEBIAN_PACKAGE_NAME
"
dpkg
-b
"
$BASE_WORKING_DIR
"
"install/linux/
$DEBIAN_PACKAGE_NAME
"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment