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
bfbae8a8
Commit
bfbae8a8
authored
Aug 02, 2012
by
Claudio Valerio
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
merged the two script qt custom and qt standard build
parent
94d518ec
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
32 additions
and
15 deletions
+32
-15
buildDebianPackage
buildDebianPackage
+32
-15
No files found.
buildDebianPackage
View file @
bfbae8a8
...
...
@@ -2,7 +2,7 @@
# --------------------------------------------------------------------
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version
3
of the License, or
# the Free Software Foundation, either version
2
of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
...
...
@@ -23,6 +23,7 @@ initializeVariables()
{
MAKE_TAG
=
true
CREATE_DIENA_DISTRIBUTION_ZIP
=
false
STANDARD_QT_USED
=
false
PRODUCT_PATH
=
"build/linux/release/product"
QT_PATH
=
"/usr/local/Trolltech/Qt-4.8.0"
...
...
@@ -96,13 +97,27 @@ copyQtLibrary(){
fi
}
buildWithStandardQt
(){
STANDARD_QT
=
`
which qmake-qt4
`
if
[
$?
==
"0"
]
;
then
QT_VERSION
=
`
$STANDARD_QT
--version
|
grep
-i
"Using Qt version"
|
sed
-e
"s/Using Qt version
\(
.*
\)
in.*/
\1
/"
`
if
[
`
echo
$QT_VERSION
|
sed
-e
"s/
\.
//g"
`
-gt
480
]
;
then
notifyProgress
"Standard QT"
"A recent enough qmake has been found. Using this one instead of custom one"
STANDARD_QT_USED
=
true
QMAKE_PATH
=
$STANDARD_QT
LRELEASES
=
`
which lrelease
`
QT_PATH
=
"/usr/lib/
`
arch
`
-linux-gnu"
PLUGINS_PATH
=
"
$QT_PATH
/qt4/plugins"
fi
fi
}
#**********************
# script
#**********************
initializeVariables
buildWithStandardQt
for
var
in
"
$@
"
do
...
...
@@ -174,18 +189,20 @@ cp -R resources/linux/qtlinux/* $PRODUCT_PATH/
notifyProgress
"QT"
"Coping plugins and library ..."
cp
-R
$PLUGINS_PATH
$PRODUCT_PATH
/
if
[
$STANDARD_QT_USED
==
false
]
;
then
#copying custom qt library
mkdir
-p
$QT_LIBRARY_DEST_PATH
copyQtLibrary libQtDBus
copyQtLibrary libQtScript
copyQtLibrary libQtSvg
copyQtLibrary libQtXmlPatterns
copyQtLibrary libQtNetwork
copyQtLibrary libQtXml
copyQtLibrary libQtGui
copyQtLibrary libQtCore
copyQtLibrary libphonon
copyQtLibrary libQtWebKit
mkdir
-p
$QT_LIBRARY_DEST_PATH
copyQtLibrary libQtDBus
copyQtLibrary libQtScript
copyQtLibrary libQtSvg
copyQtLibrary libQtXmlPatterns
copyQtLibrary libQtNetwork
copyQtLibrary libQtXml
copyQtLibrary libQtGui
copyQtLibrary libQtCore
copyQtLibrary libphonon
copyQtLibrary libQtWebKit
fi
notifyProgress
"QT"
"Internalization"
if
[
!
-e
$PRODUCT_PATH
/i18n
]
;
then
...
...
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