LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices


Reply
  Search this Thread
Old 08-14-2018, 11:43 AM   #16
stoat
Member
 
Registered: May 2007
Distribution: LFS
Posts: 628

Original Poster
Rep: Reputation: 185Reputation: 185

Quote:
Originally Posted by Keith Hedger

...I will have a look at my webengine build again (it takes about 15 hours to build!...
Try rebuilding just QtWebEngine by itself enabling the proprietary codecs. It shouldn't take nearly that long to build. And I guess Falkon may need rebuilding, but that doesn't take long.

P.S.: I'm using an oldish Pentium Dual-Core E6500 processor and 8GB RAM. For me, without specifying a parallel make, QtWebEngine by itself takes 5 hours to compile making it the longest-building thing I use. QupZilla takes 15 minutes. So deciding to install QupZilla is no small thing, but it is a nice browser. I installed QupZilla-2.2.6 which is probably the last version that will be released. Maybe later I will work on replacing QupZilla with its KDE variant Falkon. That is probably where the idea of QupZilla will continue on and be perfected.

Last edited by stoat; 08-15-2018 at 07:32 AM.
 
Old 08-16-2018, 06:09 AM   #17
Keith Hedger
Senior Member
 
Registered: Jun 2010
Location: Wiltshire, UK
Distribution: Void, Linux From Scratch, Slackware64
Posts: 3,150

Rep: Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856
qtwebengine wont build with the git version of ffmpeg, I use ffmpeg a LOT so I prefer the latest version, trying again without the ffmpeg flag, but it does take a LLLOOOOoooooooNNNNNnnnnggggg time on my machine, one day I'll check my SBU's!

P.S.
qtweb engine was already built with the proprietary-codecs flags anyway, but we will see what happens.
Of course I am only rebuilding webengine not all of qt5!

Last edited by Keith Hedger; 08-16-2018 at 06:10 AM.
 
Old 08-16-2018, 09:04 AM   #18
stoat
Member
 
Registered: May 2007
Distribution: LFS
Posts: 628

Original Poster
Rep: Reputation: 185Reputation: 185
How does it do here?
https://www.quirksmode.org/html5/tests/video.html
I couldn't build QtWebEngine with my system ICU. According to build help, QtWebEngine can treat ffmpeg that way. Maybe you can install your preferred version of ffmpeg for the system, and configure QtWebEngine to use the qt internal version. The browser probably will work perfectly well, and you can still have a cutting edge ffmpeg on the system.

P.S.: A while back I bought an off-lease Lenovo Thinkcentre with an Intel Core 2 Duo processor for $99 and free shipping from Newegg. I've bought a lot of used computers over the years, and this turned out to be cleanest used machine of them all. It's a small thing that I keep in a spare bedroom. I use it to run my build scripts that sometimes can run for 24 hours straight. Then I clone the final system to other computers that I use. So I don't really like things that take forever to build like LLVM, LibreOffice, Qt, QtWebEngine, etc., but for $99 I can push that stuff into the background and go mow the lawn or something.
 
1 members found this post helpful.
Old 08-16-2018, 09:23 AM   #19
Keith Hedger
Senior Member
 
Registered: Jun 2010
Location: Wiltshire, UK
Distribution: Void, Linux From Scratch, Slackware64
Posts: 3,150

Rep: Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856
H.264 doesn't show/play, webm and ogg theora play Ok.
I'm wondering if originally I had installed webengine before installing x264, I'll find out after it finishes building again!.

Built fine with my system ICU, leastways it didn't complain or fall over.

I tend to build libreoffice/qt and other big builds overnight, can't really afford a new machine at the moment
 
Old 08-16-2018, 09:55 AM   #20
Keith Hedger
Senior Member
 
Registered: Jun 2010
Location: Wiltshire, UK
Distribution: Void, Linux From Scratch, Slackware64
Posts: 3,150

Rep: Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856
Just finished building webengine with these params:
Code:
qmake  .. -- -webengine-opus -webengine-webp -webengine-proprietary-codecs
And it now plays the h.264 video from your link, thanks Stoat!
Can't find the dictionary so I will fix that next.
OK fixed the dictionary now, it was just in the wrong place.

Last edited by Keith Hedger; 08-16-2018 at 10:43 AM. Reason: xtra ino
 
Old 08-16-2018, 09:44 PM   #21
stoat
Member
 
Registered: May 2007
Distribution: LFS
Posts: 628

Original Poster
Rep: Reputation: 185Reputation: 185
I managed to get Falkon installed without having KDE installed. It required only one of the KDE Framework packages (ki18n). It warned about not finding four optionals. One of those was KF5Wallet for passwords (which I never store in any browser), and the other three were "experimental" Python plugins (PySide2, Shiboken2, PythonLibs).

Falkon looks good and works, but some buttons are invisible until the mouse rolls over them (menu, tools, home, refresh, back). And it tries to load the Linux theme on startup but can't. In fact, there are no themes at all listed to choose from in Preferences>Appearance. In QupZilla the themes are installed in /usr/share/qupzilla, but Falkon appears not to have installed any of them anywhere.

I wonder if the themes issue is causing the buttons thing. And I wonder if that existing installation of QupZilla caused Falkon not to install the themes folders. And I wonder if those Python plugins are not-so-optional after all. BTW this is all being done on a cloned system for testing.

Anyway is your Falkon build is doing any of these things, or is it behaving and looking like QupZilla (which I guess it should)?
 
Old 08-17-2018, 05:55 AM   #22
Keith Hedger
Senior Member
 
Registered: Jun 2010
Location: Wiltshire, UK
Distribution: Void, Linux From Scratch, Slackware64
Posts: 3,150

Rep: Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856
Not had those problems,what version of ki18n have you installed as the one in BLFS sbn is not available I used ki18n-5.49.0 which is required, I remember the warning about kwallet but not the python stuff.
I did a quick staged install to /tmp just to make sure every thing was right, and not every thing got installed then I tried a full install with this tarball
Code:
https://download.kde.org/stable/falkon/3.0.1/falkon-3.0.1.tar.xz
Using these commands
Code:
mkdir build||true
cd  build
cmake -DCMAKE_INSTALL_PREFIX=/usr -DLIB_SUFFIX=64 -DUSE_QT5=TRUE -DCMAKE_PREFIX_PATH=/usr/lib64/qt5/cmake -DCMAKE_BUILD_TYPE=Release -Wno-dev ..
make $MAKEFLAGS||make|| exit 100
make install DESTDIR=$PKG || exit 100
PKG is the staging dir.
Everthing was then installed OK, this is the package list
Code:
./usr/
./usr/share/
./usr/share/locale/
./usr/share/locale/ar/
./usr/share/locale/ar/LC_MESSAGES/
./usr/share/locale/ar/LC_MESSAGES/falkon_autoscroll_qt.qm

...

./usr/share/locale/zh_TW/LC_MESSAGES/falkon_statusbaricons_qt.qm
./usr/share/locale/zh_TW/LC_MESSAGES/falkon_tabmanager_qt.qm
./usr/share/locale/zh_TW/LC_MESSAGES/falkon_testplugin_qt.qm
./usr/share/falkon/
./usr/share/falkon/themes/
./usr/share/falkon/themes/windows/
./usr/share/falkon/themes/windows/theme.png
./usr/share/falkon/themes/windows/rtl.css
./usr/share/falkon/themes/windows/metadata.desktop
./usr/share/falkon/themes/windows/main.css
./usr/share/falkon/themes/windows/images/
./usr/share/falkon/themes/windows/images/user.svg
./usr/share/falkon/themes/windows/images/transp.png
./usr/share/falkon/themes/windows/images/tools.svg
./usr/share/falkon/themes/windows/images/tools-rtl.svg
./usr/share/falkon/themes/windows/images/tab-right-arrow.svg
./usr/share/falkon/themes/windows/images/tab-left-arrow.svg
./usr/share/falkon/themes/windows/images/tab-close.svg
./usr/share/falkon/themes/windows/images/tab-close-h.svg
./usr/share/falkon/themes/windows/images/tab-close-a.svg
./usr/share/falkon/themes/windows/images/star.svg
./usr/share/falkon/themes/windows/images/star-a.svg
./usr/share/falkon/themes/windows/images/semi-transp.png
./usr/share/falkon/themes/windows/images/menu.svg
./usr/share/falkon/themes/windows/images/library-bg.png
./usr/share/falkon/themes/windows/images/goto.svg
./usr/share/falkon/themes/windows/images/exit-fullscreen.svg
./usr/share/falkon/themes/mac/
./usr/share/falkon/themes/mac/windows.css
./usr/share/falkon/themes/mac/theme.png
./usr/share/falkon/themes/mac/rtl.css
./usr/share/falkon/themes/mac/metadata.desktop
./usr/share/falkon/themes/mac/main.css
./usr/share/falkon/themes/mac/linux.css
./usr/share/falkon/themes/mac/license.txt
./usr/share/falkon/themes/mac/images/
./usr/share/falkon/themes/mac/images/transp.png
./usr/share/falkon/themes/mac/images/toolbutton.png
./usr/share/falkon/themes/mac/images/toolbutton-h.png
./usr/share/falkon/themes/mac/images/toolbutton-a.png
./usr/share/falkon/themes/mac/images/toolbar-bg.png
./usr/share/falkon/themes/mac/images/tabs-list-button_rtl.png
./usr/share/falkon/themes/mac/images/tabs-list-button.png
./usr/share/falkon/themes/mac/images/tabs-closed-button.png
./usr/share/falkon/themes/mac/images/tabs-closed-button-rtl.png
./usr/share/falkon/themes/mac/images/tabs-bg.png
./usr/share/falkon/themes/mac/images/tabbar-addtab.png
./usr/share/falkon/themes/mac/images/tab-right-arrow.png
./usr/share/falkon/themes/mac/images/tab-left-arrow.png
./usr/share/falkon/themes/mac/images/star.png
./usr/share/falkon/themes/mac/images/star-a.png
./usr/share/falkon/themes/mac/images/splitter.png
./usr/share/falkon/themes/mac/images/siteicon-secure-bg.png
./usr/share/falkon/themes/mac/images/siteicon-bg.png
./usr/share/falkon/themes/mac/images/semi-transp.png
./usr/share/falkon/themes/mac/images/searchbar-provider-bg.png
./usr/share/falkon/themes/mac/images/search-icon.png
./usr/share/falkon/themes/mac/images/navigation-tools.png
./usr/share/falkon/themes/mac/images/navigation-tools-rtl.png
./usr/share/falkon/themes/mac/images/navigation-supermenu.png
./usr/share/falkon/themes/mac/images/navigation-stop.png
./usr/share/falkon/themes/mac/images/navigation-reload.png
./usr/share/falkon/themes/mac/images/navigation-home.png
./usr/share/falkon/themes/mac/images/navigation-forward.png
./usr/share/falkon/themes/mac/images/navigation-exit-fullscreen.png
./usr/share/falkon/themes/mac/images/navigation-dropdown.png
./usr/share/falkon/themes/mac/images/navigation-downloads.png
./usr/share/falkon/themes/mac/images/navigation-back.png
./usr/share/falkon/themes/mac/images/navigation-addtab.png
./usr/share/falkon/themes/mac/images/lineedit-bg.png
./usr/share/falkon/themes/mac/images/library-bg.png
./usr/share/falkon/themes/mac/images/key.png
./usr/share/falkon/themes/mac/images/gotoaddress.png
./usr/share/falkon/themes/linux/
./usr/share/falkon/themes/linux/theme.png
./usr/share/falkon/themes/linux/rtl.css
./usr/share/falkon/themes/linux/metadata.desktop
./usr/share/falkon/themes/linux/main.css
./usr/share/falkon/themes/linux/images/
./usr/share/falkon/themes/linux/images/user.svg
./usr/share/falkon/themes/linux/images/transp.png
./usr/share/falkon/themes/linux/images/tools.svg
./usr/share/falkon/themes/linux/images/tools-rtl.svg
./usr/share/falkon/themes/linux/images/tab-right-arrow.svg
./usr/share/falkon/themes/linux/images/tab-left-arrow.svg
./usr/share/falkon/themes/linux/images/star.svg
./usr/share/falkon/themes/linux/images/star-a.svg
./usr/share/falkon/themes/linux/images/semi-transp.png
./usr/share/falkon/themes/linux/images/menu.svg
./usr/share/falkon/themes/linux/images/library-bg.png
./usr/share/falkon/themes/linux/images/goto.svg
./usr/share/falkon/themes/linux/images/exit-fullscreen.svg
./usr/share/falkon/themes/linux/images/arrow-down.svg
./usr/share/falkon/themes/chrome/
./usr/share/falkon/themes/chrome/windows.css
./usr/share/falkon/themes/chrome/theme.png
./usr/share/falkon/themes/chrome/rtl.css
./usr/share/falkon/themes/chrome/metadata.desktop
./usr/share/falkon/themes/chrome/main.css
./usr/share/falkon/themes/chrome/linux.css
./usr/share/falkon/themes/chrome/license.txt
./usr/share/falkon/themes/chrome/images/
./usr/share/falkon/themes/chrome/images/toolbutton.png
./usr/share/falkon/themes/chrome/images/toolbutton-h.png
./usr/share/falkon/themes/chrome/images/toolbutton-a.png
./usr/share/falkon/themes/chrome/images/toolbar-bg.png
./usr/share/falkon/themes/chrome/images/tabs-list-button.png
./usr/share/falkon/themes/chrome/images/tabs-closed-button.png
./usr/share/falkon/themes/chrome/images/tabs-bg.png
./usr/share/falkon/themes/chrome/images/tabbar-addtab.png
./usr/share/falkon/themes/chrome/images/tab-right-arrow.png
./usr/share/falkon/themes/chrome/images/tab-left-arrow.png
./usr/share/falkon/themes/chrome/images/star.png
./usr/share/falkon/themes/chrome/images/star-a.png
./usr/share/falkon/themes/chrome/images/siteicon-secure-bg.png
./usr/share/falkon/themes/chrome/images/siteicon-bg.png
./usr/share/falkon/themes/chrome/images/semi-transp.png
./usr/share/falkon/themes/chrome/images/searchbar-provider-bg.png
./usr/share/falkon/themes/chrome/images/search-icon.png
./usr/share/falkon/themes/chrome/images/navigation-tools.png
./usr/share/falkon/themes/chrome/images/navigation-tools-rtl.png
./usr/share/falkon/themes/chrome/images/navigation-supermenu.png
./usr/share/falkon/themes/chrome/images/navigation-stop.png
./usr/share/falkon/themes/chrome/images/navigation-reload.png
./usr/share/falkon/themes/chrome/images/navigation-home.png
./usr/share/falkon/themes/chrome/images/navigation-forward.png
./usr/share/falkon/themes/chrome/images/navigation-exit-fullscreen.png
./usr/share/falkon/themes/chrome/images/navigation-dropdown.png
./usr/share/falkon/themes/chrome/images/navigation-downloads.png
./usr/share/falkon/themes/chrome/images/navigation-back.png
./usr/share/falkon/themes/chrome/images/navigation-addtab.png
./usr/share/falkon/themes/chrome/images/lineedit-bg.png
./usr/share/falkon/themes/chrome/images/library-bg.png
./usr/share/falkon/themes/chrome/images/key.png
./usr/share/falkon/themes/chrome/images/gotoaddress.png
./usr/share/applications/
./usr/share/applications/org.kde.falkon.desktop
./usr/share/pixmaps/
./usr/share/pixmaps/falkon.png
./usr/share/icons/
./usr/share/icons/hicolor/
./usr/share/icons/hicolor/16x16/
./usr/share/icons/hicolor/16x16/apps/
./usr/share/icons/hicolor/16x16/apps/falkon.png
./usr/share/icons/hicolor/32x32/
./usr/share/icons/hicolor/32x32/apps/
./usr/share/icons/hicolor/32x32/apps/falkon.png
./usr/share/icons/hicolor/48x48/
./usr/share/icons/hicolor/48x48/apps/
./usr/share/icons/hicolor/48x48/apps/falkon.png
./usr/share/icons/hicolor/64x64/
./usr/share/icons/hicolor/64x64/apps/
./usr/share/icons/hicolor/64x64/apps/falkon.png
./usr/share/icons/hicolor/128x128/
./usr/share/icons/hicolor/128x128/apps/
./usr/share/icons/hicolor/128x128/apps/falkon.png
./usr/share/icons/hicolor/256x256/
./usr/share/icons/hicolor/256x256/apps/
./usr/share/icons/hicolor/256x256/apps/falkon.png
./usr/share/icons/hicolor/scalable/
./usr/share/icons/hicolor/scalable/apps/
./usr/share/icons/hicolor/scalable/apps/falkon.svg
./usr/share/bash-completion/
./usr/share/bash-completion/completions/
./usr/share/bash-completion/completions/falkon
./usr/share/metainfo/
./usr/share/metainfo/org.kde.falkon.appdata.xml
./usr/share/doc/
./usr/share/doc/qt5/
./usr/share/doc/qt5/plugins/
./usr/share/doc/qt5/plugins/falkon/
./usr/share/doc/qt5/plugins/falkon/AutoScroll.so
./usr/share/doc/qt5/plugins/falkon/FlashCookieManager.so
./usr/share/doc/qt5/plugins/falkon/GreaseMonkey.so
./usr/share/doc/qt5/plugins/falkon/ImageFinder.so
./usr/share/doc/qt5/plugins/falkon/MouseGestures.so
./usr/share/doc/qt5/plugins/falkon/PIM.so
./usr/share/doc/qt5/plugins/falkon/StatusBarIcons.so
./usr/share/doc/qt5/plugins/falkon/TabManager.so
./usr/share/doc/qt5/plugins/falkon/VerticalTabs.so
./usr/lib64/
./usr/lib64/libFalkonPrivate.so.3.0.1
./usr/lib64/libFalkonPrivate.so.3
./usr/bin/
./usr/bin/falkon
 
Old 08-17-2018, 08:58 AM   #23
stoat
Member
 
Registered: May 2007
Distribution: LFS
Posts: 628

Original Poster
Rep: Reputation: 185Reputation: 185
Thanks for all that. It helped. I have Falkon working and looking properly now. On the first try I used the super-simple steps in the README file, and everything (including those themes) went to /usr/local. It still should have been okay, but it wasn't this time for some reason or another.

The missing themes WERE the cause of the invisible buttons. Those are all fixed now.

Some of your cmake options are rejected or ignored. See all that at the end of the output of your cmake command. See the list of valid options and their defaults by running cmake -LH in the build directory.

And finally, I found the older ki18n file version used by the KDE Frameworks version in BLFS-8.2 in https://download.kde.org/Attic/. It's two directory levels up from the repo used by the book.

Onward now with Falkon. I liked QupZilla the way it was. Now I'm expecting it to advance and improve as Falkon. Everybody who can tolerate building QtWebEngine should give it a try. For me, it's easily worth the effort.

Last edited by stoat; 08-17-2018 at 07:03 PM.
 
Old 08-17-2018, 09:19 AM   #24
Keith Hedger
Senior Member
 
Registered: Jun 2010
Location: Wiltshire, UK
Distribution: Void, Linux From Scratch, Slackware64
Posts: 3,150

Rep: Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856
Glad to help.I use a set of standard options to cmake/qmake some of the cmake files ignore some options some don't some fall over, not really a lover of the whole cmake system, much prefer a proper configure.

If you use a mix of gtk and qt you may want to take a look at qt5ct if you havn't already, here:

http://prdownloads.sourceforge.net/q...t-0.35.tar.bz2

Last edited by Keith Hedger; 08-17-2018 at 09:22 AM.
 
Old 08-18-2018, 09:45 PM   #25
stoat
Member
 
Registered: May 2007
Distribution: LFS
Posts: 628

Original Poster
Rep: Reputation: 185Reputation: 185
Falkon replaced QupZilla in the SVN version of the BLFS book two months ago.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
qupzilla-1.8.8 - many build errors debguy Linux - Software 1 12-03-2015 02:34 AM
[SOLVED] how to configure qupzilla? rubankumars Linux - Software 4 10-21-2015 01:13 AM
[SOLVED] how to save html with images in qupzilla? rubankumars Linux - Software 3 10-20-2015 04:36 PM
Try Qupzilla future_computer Linux - Software 2 03-23-2013 08:40 AM
LXer: Qupzilla â?? the Best Browser Youâ??ve Never Heard of? LXer Syndicated Linux News 0 12-24-2011 09:50 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 03:00 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration