Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
proview
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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Esteban Blanc
proview
Commits
1768b009
Commit
1768b009
authored
Jul 31, 2018
by
Christoffer Ackelman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed GTK search path
parent
d26e4fb9
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
19 deletions
+15
-19
build.sh
build.sh
+9
-2
src/tools/pwre/src/os_linux/pwre_configure.sh
src/tools/pwre/src/os_linux/pwre_configure.sh
+6
-3
src/tools/pwre/src/os_linux/pwre_function
src/tools/pwre/src/os_linux/pwre_function
+0
-14
No files found.
build.sh
View file @
1768b009
...
@@ -77,6 +77,12 @@ ename=$ver$hw
...
@@ -77,6 +77,12 @@ ename=$ver$hw
desc
=
$verl
desc
=
$verl
gui
=
"qt"
gui
=
"qt"
if
[
$gui
==
"qt"
]
;
then
export
pwre_conf_qt
=
1
elif
[
$gui
==
"gtk"
]
;
then
export
pwre_conf_gtk
=
1
fi
pwre add
$ename
$root
/src
\"\"
$root
/rls
$btype
$os
$hw
"
$desc
"
pwre add
$ename
$root
/src
\"\"
$root
/rls
$btype
$os
$hw
"
$desc
"
pwre init
$ename
pwre init
$ename
...
@@ -84,8 +90,9 @@ pwre init $ename
...
@@ -84,8 +90,9 @@ pwre init $ename
mkdir
-p
$pwre_broot
mkdir
-p
$pwre_broot
pwre configure
pwre configure
pwre create_all_modules
pwre create_all_modules
pwre build_kernel
$gui
pwre build_all_modules
$gui
pwre method_build
$gui
#pwre build_kernel $gui
#pwre method_build $gui
# Create a package version html file
# Create a package version html file
...
...
src/tools/pwre/src/os_linux/pwre_configure.sh
View file @
1768b009
...
@@ -398,7 +398,8 @@ if [ $pwre_hw == "hw_arm" ] && [ $ebuild -eq 1 ]; then
...
@@ -398,7 +398,8 @@ if [ $pwre_hw == "hw_arm" ] && [ $ebuild -eq 1 ]; then
pwre_config_check_include qt QT 1
"/usr/include/qt4/QtCore/QtCore"
pwre_config_check_include qt QT 1
"/usr/include/qt4/QtCore/QtCore"
pwre_config_check_include qt QT 1
"/usr/include/qt4/QtGui/QtGui"
pwre_config_check_include qt QT 1
"/usr/include/qt4/QtGui/QtGui"
pwre_config_check_include qt QT 1
"/usr/include/qt4/QtNetwork/QtNetwork"
pwre_config_check_include qt QT 1
"/usr/include/qt4/QtNetwork/QtNetwork"
else
fi
if [
$pwre_conf_gtk
-eq 1 ]; then
pwre_config_check_lib gtk GTK gtk gtk 0
"/usr/lib/libgtk-x11-2.0.so:/usr/lib/
$hwpl
-linux-
$gnu
/libgtk-x11-2.0.so"
pwre_config_check_lib gtk GTK gtk gtk 0
"/usr/lib/libgtk-x11-2.0.so:/usr/lib/
$hwpl
-linux-
$gnu
/libgtk-x11-2.0.so"
pwre_config_check_include gtk GTK 1
"/usr/local/include/gtk-2.0/gtk.h:/usr/local/include/gtk-2.0/gtk/gtk.h:/usr/include/gtk-2.0/gtk/gtk.h"
pwre_config_check_include gtk GTK 1
"/usr/local/include/gtk-2.0/gtk.h:/usr/local/include/gtk-2.0/gtk/gtk.h:/usr/include/gtk-2.0/gtk/gtk.h"
fi
fi
...
@@ -467,7 +468,8 @@ else
...
@@ -467,7 +468,8 @@ else
echo
"Mandatory :"
echo
"Mandatory :"
if [
$pwre_conf_qt
-eq 1 ]; then
if [
$pwre_conf_qt
-eq 1 ]; then
pwre_config_check_lib qt QT qt qt 0
"/usr/lib/libQtGui.so:/usr/lib/
$hwpl
-linux-
$gnu
/libQtGui.so"
pwre_config_check_lib qt QT qt qt 0
"/usr/lib/libQtGui.so:/usr/lib/
$hwpl
-linux-
$gnu
/libQtGui.so"
else
fi
if [
$pwre_conf_gtk
-eq 1 ]; then
pwre_config_check_lib gtk GTK gtk gtk 0
"/usr/lib/libgtk-x11-2.0.so:/usr/lib/
$hwpl
-linux-
$gnu
/libgtk-x11-2.0.so"
pwre_config_check_lib gtk GTK gtk gtk 0
"/usr/lib/libgtk-x11-2.0.so:/usr/lib/
$hwpl
-linux-
$gnu
/libgtk-x11-2.0.so"
fi
fi
...
@@ -488,7 +490,8 @@ else
...
@@ -488,7 +490,8 @@ else
pwre_config_check_include qt QT 1
"/usr/include/qt4/QtCore/QtCore"
pwre_config_check_include qt QT 1
"/usr/include/qt4/QtCore/QtCore"
pwre_config_check_include qt QT 1
"/usr/include/qt4/QtGui/QtGui"
pwre_config_check_include qt QT 1
"/usr/include/qt4/QtGui/QtGui"
pwre_config_check_include qt QT 1
"/usr/include/qt4/QtNetwork/QtNetwork"
pwre_config_check_include qt QT 1
"/usr/include/qt4/QtNetwork/QtNetwork"
else
fi
if [
$pwre_conf_gtk
-eq 1 ]; then
pwre_config_check_include gtk GTK 1
"/usr/local/include/gtk-2.0/gtk.h:/usr/local/include/gtk-2.0/gtk/gtk.h:/usr/include/gtk-2.0/gtk/gtk.h"
pwre_config_check_include gtk GTK 1
"/usr/local/include/gtk-2.0/gtk.h:/usr/local/include/gtk-2.0/gtk/gtk.h:/usr/include/gtk-2.0/gtk/gtk.h"
fi
fi
pwre_config_check_include alsa ALSA 1
"/usr/include/alsa/asoundlib.h"
pwre_config_check_include alsa ALSA 1
"/usr/include/alsa/asoundlib.h"
...
...
src/tools/pwre/src/os_linux/pwre_function
View file @
1768b009
...
@@ -155,20 +155,6 @@ set_env()
...
@@ -155,20 +155,6 @@ set_env()
else
else
export pwre_conf_mysql=0
export pwre_conf_mysql=0
fi
fi
# Gtk
if [ -e /usr/lib/libgtk-x11-2.0.so ]; then
export pwre_conf_gtk=1
else
export pwre_conf_gtk=0
fi
# Qt
if [ -e /usr/lib/x86_64-linux-gnu/libQtGui.so ]; then
export pwre_conf_qt=1
elif [ -e /usr/lib/i386-linux-gnu/libQtGui.so ]; then
export pwre_conf_qt=1
else
export pwre_conf_qt=0
fi
# libusb
# libusb
if [ -e /usr/lib/libusb-1.0.so ]; then
if [ -e /usr/lib/libusb-1.0.so ]; 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