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
060e161c
Commit
060e161c
authored
Nov 28, 2011
by
Claudio Valerio
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixes some script errors. Thanks to Gérard.
parent
f7a2d469
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
9 deletions
+13
-9
release.linux.sh
release.linux.sh
+13
-9
No files found.
release.linux.sh
View file @
060e161c
...
...
@@ -19,7 +19,7 @@ make clean
rm
-rf
build/linux/release/
rm
-rf
install
QT_PATH
=
"
../Qt-sankore3.1
"
QT_PATH
=
"
/usr/local/Trolltech/Qt-4.7.3
"
PLUGINS_PATH
=
"
$QT_PATH
/plugins"
QMAKE_PATH
=
"
$QT_PATH
/bin/qmake"
...
...
@@ -28,6 +28,7 @@ if [ ! -e "$QMAKE_PATH" ]; then
exit
1
fi
if
[
!
-e
"
$PLUGINS_PATH
"
]
;
then
echo
"plugins path not found at
$PLUGINS_PATH
"
exit
1
...
...
@@ -44,9 +45,9 @@ if [ ! -f build/linux/release/version ]; then
else
LAST_COMMITED_VERSION
=
"
`
git describe
$(
git rev-list
--tags
--max-count
=
1
)
`
"
if
[
"v
$VERSION
"
!=
"
$LAST_COMMITED_VERSION
"
]
;
then
echo
creating a tag with the version
$VERSION
git tag
-a
"v
$VERSION
"
-m
"Generating setup for v
$VERSION
"
git push origin
--tags
echo
creating a tag with the version
$VERSION
#
git tag -a "v$VERSION" -m "Generating setup for v$VERSION"
#
git push origin --tags
fi
fi
...
...
@@ -66,16 +67,19 @@ mkdir $QT_LIBRARY_DEST_PATH
QT_LIBRARY_SOURCE_PATH
=
"
$QT_PATH
/lib"
copyQtLibrary
(){
if
[
!
-e
"
$QT_LIBRARY_SOURCE_PATH
/
$1
.so.4"
]
;
then
if
[
!
-e
"
$QT_LIBRARY_SOURCE_PATH
/
$1
.so.4
.7.3
"
]
;
then
echo
"library not found:
$QT_LIBRARY_SOURCE_PATH
"
exit
1
;
exit
1
fi
cp
"
$QT_LIBRARY_SOURCE_PATH
/
$1
.so.4"
"
$QT_LIBRARY_DEST_PATH
/"
cp
"
$QT_LIBRARY_SOURCE_PATH
/
$1
.so.4.7.
0
"
"
$QT_LIBRARY_DEST_PATH
/"
cp
"
$QT_LIBRARY_SOURCE_PATH
/
$1
.so.4.7.
3
"
"
$QT_LIBRARY_DEST_PATH
/"
}
cp
"
$QT_LIBRARY_SOURCE_PATH
/libphonon.so.4"
"
$QT_LIBRARY_DEST_PATH
/"
cp
"
$QT_LIBRARY_SOURCE_PATH
/libphonon.so.4.4.0"
"
$QT_LIBRARY_DEST_PATH
/"
copyQtLibrary libQtWebKit
copyQtLibrary libphonon
copyQtLibrary libQtDBus
copyQtLibrary libQtScript
copyQtLibrary libQtSvg
...
...
@@ -95,4 +99,4 @@ cd build/linux/release
# "Removing .svn directories ..."
find
.
-name
.svn
-exec
rm
-rf
{}
\;
2> /dev/null
tar
cvzf ../../../install/linux/Sankore
\
3.1.tar.gz Sankore_3.1.
$VERSION
-C
.
echo
"Build Finished"
;
alert
echo
"Build Finished"
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