Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
slapos
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Tristan Cavelier
slapos
Commits
3832c277
Commit
3832c277
authored
Feb 16, 2017
by
Tristan Cavelier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
xxx component/qt: add qt5-qmake
parent
7b12e2fd
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
381 additions
and
85 deletions
+381
-85
component/onlyoffice-core/rewrite-scripts.patch
component/onlyoffice-core/rewrite-scripts.patch
+335
-16
component/qt/buildout.cfg
component/qt/buildout.cfg
+46
-69
No files found.
component/onlyoffice-core/rewrite-scripts.patch
View file @
3832c277
This diff is collapsed.
Click to expand it.
component/qt/buildout.cfg
View file @
3832c277
[buildout]
extends =
../xorg/buildout.cfg
../mesa/buildout.cfg
parts =
qmake
...
...
@@ -9,85 +10,61 @@ parts =
# building [qmake] will download the full qt source anyway ~200MB
# qmake binary can be reached directly from ${qt:location}/bin/qmake if [qt] is fully built
recipe = slapos.recipe.cmmi
url = http://download.qt-project.org/official_releases/qt/4.8/4.8.7/qt-everywhere-opensource-src-4.8.7.tar.gz
md5sum = d990ee66bf7ab0c785589776f35ba6ad
version = 5.8.0
url = http://download.qt.io/official_releases/qt/5.8/5.8.0/single/qt-everywhere-opensource-src-5.8.0.tar.gz
md5sum = a9f2494f75f966e2f22358ec367d8f41
# see https://github.com/NixOS/nixpkgs/blob/3e387c3e005c87566b5403d24c86f71f4945a79b/pkgs/development/libraries/qt-4.x/4.8/default.nix#L101
environment =
CFLAGS=-I${mesa:location}/include
CPPFLAGS=-I${mesa:location}/include
CXXFLAGS=-I${mesa:location}/include
LD_LIBRARY_PATH=${mesa:location}/lib
configure-command =
sed 's,/usr/X11R6/lib64,${libX11:location}/lib64 ${xproto:location}/lib64 ${libXext:location}/lib64,g' -i mkspecs/*/*.conf
sed 's,/usr/X11R6/lib,${libX11:location}/lib ${xproto:location}/lib ${libXext:location}/lib,g' -i mkspecs/*/*.conf
sed 's,/usr/X11R6/include,${libX11:location}/include ${xproto:location}/include ${libXext:location}/include,g' -i mkspecs/*/*.conf
./configure -v -no-separate-debug-info -release -no-fast -confirm-license -opensource
# it helped me : http://stackoverflow.com/questions/24264940/compile-qt5-without-gui-support-on-linux-arm
./configure -v -no-separate-debug-info -release -confirm-license -opensource -no-opengl -nomake examples
make-targets =
qmake
prefix = ${buildout:parts-directory}/${:_buildout_section_name_}
location = ${buildout:parts-directory}/qt${:version}-qmake
post-install =
cp -rt ${:prefix} *
# mkdir ${:prefix}/bin 2>/dev/null || :
# cp bin/qmake* -t ${:prefix}/bin
# mkdir ${:prefix}/mkspecs 2>/dev/null || :
# cp -r mkspecs/* -t ${:prefix}/mkspecs
#environments =
# INSTALL_ROOT=../../qmake
#qmake-binary-path = ${:location}/bin/qmake
cp -rt ${:location} *
#recipe = slapos.recipe.build
#slapos_promisee =
# file:plop
## Online installer
#x86 = http://get.qt.nokia.com/qtsdk/Qt_SDK_Lin32_online_v1_1_3_en.run eae2e2a1396fec1369b66c71d7df6eab
#x86-64 = http://get.qt.nokia.com/qtsdk/Qt_SDK_Lin64_online_v1_1_3_en.run a4d929bc4d6511290c07c3745477b77b
## Offline installer
##x86 = http://get.qt.nokia.com/qtsdk/Qt_SDK_Lin32_offline_v1_1_3_en.run 106fdae4ec8947c491ab0a827a02da12
##x86-64 = http://get.qt.nokia.com/qtsdk/Qt_SDK_Lin64_offline_v1_1_3_en.run 8c280beb11ee763840464572ed80e8b8
## Needs many dependencies.
#script =
# if not self.options.get('url'): self.options['url'], self.options['md5sum'] = self.options[guessPlatform()].split(' ')
# download_file = self.download(self.options['url'], self.options.get('md5sum'))
# extract_dir = tempfile.mkdtemp(self.name)
# os.chdir(extract_dir)
# (download_dir, filename) = os.path.split(download_file)
# auto_extract_bin = os.path.join(extract_dir, filename)
# shutil.move(download_file, auto_extract_bin)
# os.chmod(auto_extract_bin, 0755)
# subprocess.call([auto_extract_bin])
# #self.cleanup_list.append(extract_dir)
# self.cleanup_dir_list.append(extract_dir)
# workdir = guessworkdir(extract_dir)
# import pdb; pdb.set_trace()
# self.copyTree(os.path.join(workdir, "jre1.6.0_27"), "%(location)s")
[qt-qmake]
<= qmake
[qt5-qmake]
<= qt-qmake
[qt5.8-qmake]
<= qt5-qmake
[qt5.8.0-qmake]
<= qt5.8-qmake
[qt4-qmake]
# building [qmake] will download the full qt source anyway ~200MB
# qmake binary can be reached directly from ${qt:location}/bin/qmake if [qt] is fully built
recipe = slapos.recipe.cmmi
version = 4.8.7
url = http://download.qt.io/official_releases/qt/4.8/4.8.7/qt-everywhere-opensource-src-4.8.7.tar.gz
md5sum = d990ee66bf7ab0c785589776f35ba6ad
# see https://github.com/NixOS/nixpkgs/blob/3e387c3e005c87566b5403d24c86f71f4945a79b/pkgs/development/libraries/qt-4.x/4.8/default.nix#L101
configure-command =
sed 's,/usr/X11R6/lib64,${libX11:location}/lib64 ${xproto:location}/lib64 ${libXext:location}/lib64,g' -i mkspecs/*/*.conf
sed 's,/usr/X11R6/lib,${libX11:location}/lib ${xproto:location}/lib ${libXext:location}/lib,g' -i mkspecs/*/*.conf
sed 's,/usr/X11R6/include,${libX11:location}/include ${xproto:location}/include ${libXext:location}/include,g' -i mkspecs/*/*.conf
./configure -v -no-separate-debug-info -release -no-fast -confirm-license -opensource
make-targets =
qmake
prefix = ${buildout:parts-directory}/${:_buildout_section_name_}
location = ${buildout:parts-directory}/qt${:version}-qmake
post-install =
cp -rt ${:location} *
#ldd qt.run
# linux-gate.so.1 => (0xb7827000)
# libutil.so.1 => /lib/i686/cmov/libutil.so.1 (0xb781c000)
# libgobject-2.0.so.0 => not found
# libSM.so.6 => not found
# libICE.so.6 => not found
# libXrender.so.1 => not found
# libfontconfig.so.1 => not found
# libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0xb77a4000)
# libz.so.1 => /usr/lib/libz.so.1 (0xb778f000)
# libXext.so.6 => /usr/lib/libXext.so.6 (0xb7780000)
# libX11.so.6 => /usr/lib/libX11.so.6 (0xb7663000)
# libdl.so.2 => /lib/i686/cmov/libdl.so.2 (0xb765f000)
# libgthread-2.0.so.0 => not found
# librt.so.1 => /lib/i686/cmov/librt.so.1 (0xb7655000)
# libglib-2.0.so.0 => not found
# libpthread.so.0 => /lib/i686/cmov/libpthread.so.0 (0xb763c000)
# libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb754d000)
# libm.so.6 => /lib/i686/cmov/libm.so.6 (0xb7527000)
# libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xb7508000)
# libc.so.6 => /lib/i686/cmov/libc.so.6 (0xb73c2000)
# libxcb.so.1 => /usr/lib/libxcb.so.1 (0xb73a9000)
# /lib/ld-linux.so.2 (0xb7828000)
# libXau.so.6 => /usr/lib/libXau.so.6 (0xb73a6000)
# libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0xb73a1000)
\ No newline at end of file
[qt4-qmake]
<= qt-qmake
[qt4.8-qmake]
<= qt4-qmake
[qt4.8.7-qmake]
<= qt4.8-qmake
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