LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 05-24-2016, 02:34 PM   #16
ChuangTzu
Senior Member
 
Registered: May 2015
Location: Where ever needed
Distribution: Slackware/Salix while testing others
Posts: 1,718

Rep: Reputation: 1857Reputation: 1857Reputation: 1857Reputation: 1857Reputation: 1857Reputation: 1857Reputation: 1857Reputation: 1857Reputation: 1857Reputation: 1857Reputation: 1857

dwb is another great little browser with alot of options

https://slackbuilds.org/repository/1...wb/?search=dwb
 
1 members found this post helpful.
Old 05-24-2016, 04:07 PM   #17
montagdude
Senior Member
 
Registered: Apr 2016
Distribution: Slackware
Posts: 2,011

Rep: Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619
Quote:
Originally Posted by linuxs64 View Post
can anyone help me with this part below? Do I edit qt5.Slackbuild before building qt-5.6? thks



source
Interesting. It's not very clear to me if it's saying that you have to enable this while building Qt or while building your app (qupzilla in this case). If it's the latter, you can put it in the SlackBuild for qupzilla right before the make command, but change qmake to qmake-qt5. If it's the former, it might need to be set when qtwebengine is being built, but I'm not sure if that means you have to patch the Makefile yourself or if there's some other way. Might as well try rebuilding qupzilla first, though.
 
Old 05-24-2016, 04:19 PM   #18
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106
You'd have to rebuild qt5-webkit, since the source for webkit was split off the core Qt5 source.

Code:
--- ktown/source/5/deps/qt5-webkit/qt5-webkit.SlackBuild.orig   2016-04-13 16:27:29.000000000 +0200
+++ ktown/source/5/deps/qt5-webkit/qt5-webkit.SlackBuild 2016-05-24 21:38:49.371308794 +0200
@@ -26,7 +26,7 @@
 
 PKGNAM=qt5-webkit
 VERSION=${VERSION:-5.6.0}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
 
 NUMJOBS=${NUMJOBS:--j7}
 
@@ -110,7 +110,8 @@
   
 mkdir build
 cd build
-  qmake-qt5 ..
+  # http://doc.qt.io/qt-5/qtwebengine-platform-notes.html#audio-and-video-codec-support
+  qmake-qt5 WEBENGINE_CONFIG+=use_proprietary_codecs ..
   make || exit 1
   make install INSTALL_ROOT=$PKG || exit 1
 cd ..
 
Old 05-24-2016, 06:02 PM   #19
heyjann
Member
 
Registered: Dec 2015
Posts: 102

Rep: Reputation: Disabled
Quote:
Originally Posted by ChuangTzu View Post
dwb is another great little browser with alot of options
https://slackbuilds.org/repository/1...wb/?search=dwb
dwb and a lot of light webkit-based browsers seem to be stuck on webkit1 for the time being.
I am sure it has been linked here before, but the feeling I got from reading this post
https://blogs.gnome.org/mcatanzaro/2...curity-updates
was "not much infrastructure in place anywhere to support older webkit versions security-wise, just use the latest".
A list of dwb-like and other light browsers can be found by scrolling down (or ctrl-F the word Thanks) on the main page of qutebrowser, by the way:
http://www.qutebrowser.org
xombrero is another one.

Using one of the 'big web engines' webkit, blink, gecko seems anyway required to do things like youtube without youtube-dl type solutions. So I also like the idea of a lighter interface sitting on top of such a monster. Lispkit looks interesting. Seamonkey is a better firefox for me too.
 
Old 05-24-2016, 09:50 PM   #20
montagdude
Senior Member
 
Registered: Apr 2016
Distribution: Slackware
Posts: 2,011

Rep: Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619
Quote:
Originally Posted by Alien Bob View Post
You'd have to rebuild qt5-webkit, since the source for webkit was split off the core Qt5 source.

Code:
--- ktown/source/5/deps/qt5-webkit/qt5-webkit.SlackBuild.orig   2016-04-13 16:27:29.000000000 +0200
+++ ktown/source/5/deps/qt5-webkit/qt5-webkit.SlackBuild 2016-05-24 21:38:49.371308794 +0200
@@ -26,7 +26,7 @@
 
 PKGNAM=qt5-webkit
 VERSION=${VERSION:-5.6.0}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
 
 NUMJOBS=${NUMJOBS:--j7}
 
@@ -110,7 +110,8 @@
   
 mkdir build
 cd build
-  qmake-qt5 ..
+  # http://doc.qt.io/qt-5/qtwebengine-platform-notes.html#audio-and-video-codec-support
+  qmake-qt5 WEBENGINE_CONFIG+=use_proprietary_codecs ..
   make || exit 1
   make install INSTALL_ROOT=$PKG || exit 1
 cd ..
Pardon my confusion, but I don't understand why qt5-webkit needs to be rebuilt, if qupzilla2.0 uses qt-webengine. Could you explain that?
 
Old 05-25-2016, 02:36 AM   #21
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106
Quote:
Originally Posted by montagdude View Post
Pardon my confusion, but I don't understand why qt5-webkit needs to be rebuilt, if qupzilla2.0 uses qt-webengine. Could you explain that?
Sorry for the confusion, don't mind me. I was doing too many things at the same time and overlooked the difference between webengine and webkit... disregard my post please.
 
Old 05-25-2016, 04:22 AM   #22
linuxs64
Member
 
Registered: Jun 2010
Posts: 116

Original Poster
Rep: Reputation: 47
update: found qtwebengine.Slackbuild, let's try it

deps : re2c, snappy, srtp, libvpx-1.4.0, apply patch qt5.qtbug-51890.patch (from alien's qt5.Slackbuild)

Code:
# qtwebengine fails to build with system nss 3.23:
  cat $CWD/qt5.qtbug-51890.patch | patch -p1 --verbose || exit 1
during 'configure'
Code:
Info: creating cache file /tmp/SBo/qt-everywhere-opensource-src-5.6.0/qtwebengine/.qmake.cache
Running configure tests
Checking for khr... yes
Checking for libcap... yes
Checking for snappy... yes
Checking for srtp... yes
SSL............................... Using system NSS
ICU............................... Using internal copy (Default, force system ICU with WEBENGINE_CONFIG += use_system_icu)
FFMPEG............................ Using internal copy (Default, force system FFMPEG with WEBENGINE_CONFIG += use_system_ffmpeg)
Proprietary codecs (H264, MP3).... Enabled

Last edited by linuxs64; 05-25-2016 at 06:54 AM.
 
Old 05-25-2016, 09:16 AM   #23
linuxs64
Member
 
Registered: Jun 2010
Posts: 116

Original Poster
Rep: Reputation: 47
everything works now, thank you for all the suggestions

YouTube HTML5 Video Player & Browser Check

all supported

HTMLVideoElement
H.264
WebM VP8
Media Source Extensions
MSE & H.264
MSE & WebM VP9

html5browser Features Check

Video Codecs
H.264 support Yes ✔

Audio Codecs
AAC support Yes ✔
MP3 support Yes ✔

here's what I compiled & installed, all scripts from SBo unless otherwise noted:

libwebp
libvpx (1.4.0 or higher, required dep for qtwebengine, or fail to build)
lame
faac
x264
ffmpeg
gst packages
gst1 packages

qt-5.6.0 from alienbob

deps for qtwebengine:
re2c
snappy
srtp
apply qt5.qtbug-51890.patch (from alien's qt-5.6.0: qtwebengine fails to build with system nss 3.23)

qtwebengine.Slackbuild
edit Slackbuild to 5.6.0, mdsum, and this line
Code:
qmake-qt5 QMAKE_CXXFLAGS="$SLKCFLAGS" WEBENGINE_CONFIG+="use_proprietary_codecs" GYP_CONFIG+="disable_fatal_linker_warnings=1"
recompile qupzilla, set to version 2.0, using SBo

note packages like ffmpeg, qt-5.6, qtwebengine-5.6 takes many hours to compile. On hindsight, maybe some packages are not required at all. qtwebengine uses the internal copy of ffmpeg during compilation, system ffmpeg was rejected due to dependencies.

Video Streaming sites which is working:
youtube, metacafe, veoh, tumblr
youku, tudou, cntv, sina (china)

qupzilla-2.0 is fast, too fast that some short youtube clips are done playing before the page fully loads. The player just start to play the next clip (lol). and it doesn't start multiple threads like chromium.

Last edited by linuxs64; 05-25-2016 at 10:52 AM.
 
2 members found this post helpful.
Old 05-25-2016, 10:27 AM   #24
montagdude
Senior Member
 
Registered: Apr 2016
Distribution: Slackware
Posts: 2,011

Rep: Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619
Great work. I'm going to recompile my qupzilla-2.0 and dependencies to take advantage of this when I get a chance.
 
Old 05-25-2016, 11:41 AM   #25
linuxs64
Member
 
Registered: Jun 2010
Posts: 116

Original Poster
Rep: Reputation: 47
strangely, mp4 works but ogg/webm doesn't?

video test

I could scroll/jump to all parts the videos, but the play button won't work lol

Last edited by linuxs64; 05-25-2016 at 11:46 AM.
 
Old 05-25-2016, 12:18 PM   #26
dederon
Member
 
Registered: Oct 2013
Posts: 105

Rep: Reputation: 56
Quote:
Originally Posted by linuxs64 View Post
note packages like ffmpeg, qt-5.6, qtwebengine-5.6 takes many hours to compile.
this doesn't sound like a "lightwight" solution to me.

i used this command to watch videos from youtube:

Code:
youtube-dl -q -o- -f 18 $1 | mplayer -cache 16384  -
don't know if this is still working.

Last edited by dederon; 05-25-2016 at 12:27 PM.
 
2 members found this post helpful.
Old 05-25-2016, 09:45 PM   #27
athenian200
LQ Newbie
 
Registered: Feb 2007
Posts: 28

Rep: Reputation: 12
If you're trying to get the old 1.8.x version of QupZilla working, I had some problems with that myself. The trick is that you have to make absolutely sure that WebKit is compiled against GStreamer, and then make sure QupZilla is compiled against that version of WebKit. Sometimes WebKit gets compiled against Multimedia or the wrong version of GStreamer, or doesn't include all the plugins, etc. Really, QupZilla is just a frontend to QtWebKit... so any time you have an issue with it, there's a good chance that your issue is really with making sure QtWebKit was built properly.

Using some variation on Qt5 is helpful as well, but make sure you don't recompile QtWebKit 5, and then compile QupZilla against QtWebKit 4. I made that mistake, too. Ugh.

Version 2.0.0 doesn't have as many problems because it's a frontend to QtWebEngine instead, which is basically just a Qt version of Chromium. I'm using that one only because I don't want GTK on my computer. Just beware that QupZilla 2.0.0 doesn't work properly with Nouveau.

Last edited by athenian200; 05-25-2016 at 09:51 PM.
 
Old 05-26-2016, 10:55 AM   #28
linuxs64
Member
 
Registered: Jun 2010
Posts: 116

Original Poster
Rep: Reputation: 47
recompiled everything again

in qupzilla-2.0, turn off netscape plugins (preferences, browsing, web configuration)

video playback controls are working now: youtube, tumblr etc, if cannot see any playback button, right-click on video, select play/pause

compile list, most are optional, packages from SBo unless otherwise noted
PS: deps repeating on the list are deleted, only the first instance is kept on the list

Code:
  slackware
   libsndfile	
   flac      	
   libogg
   liboggz
   libvorbis
   libtheora
   gstreamer 	
   gst-plugins-base
   gst-plugins-good
   phonon-gstreamer

  packages without deps
   chromaprint
   libavc1394
   libdvbpsi
   libgdiplus
   libminizip
   libsidplay2
   libssh2
   libtar
   libupnp
   OpenBLAS
   vcdimager
   perl-Unicode-UTF8si
   gnome-mime-data ORBit2 libbonobo gnome-vfs
   ftgl projectM
   libebml libmatroska-1.4.2
   libwebp-0.4.4
   libva libvdpau

  ffmpeg deps
   recode perl-Cstools perl-Unicode-Map perl-Unicode-String perl-Unicode-Map8 enca libass
   celt libdc1394
   libmp4v2 faac	
   libfdk-aac
   flite	
   gavl frei0r
   gsm	
   libiec61883
   libilbc
   openjpeg
   openjpeg2
   ladspa_sdk liblrdf
   lame
   libmodplug
   OpenAL
   opencore-amr
   glfw libjpeg-turbo eigen3 numpy (ffmpeg qt5) opencv vsxu
   opus-1.1.2
   sbc libasyncns orc speex json-c pulseaudio
   lua libquvi-scripts libquvi quvi
   rtmpdump
   schroedinger
   libshout
   twolame
   vid.stab
   libvpx-1.4.0
   x264
   x265
   xvidcore
   zvbi
   
  gstreamer deps
   a52dec	
   libmpeg2
   libcdaudio
   dirac
   libdca
   libdvdnav
   faad2	
   libkate
   lv2 slv2
   libmms
   libmimic
   libmusicbrainz
   libofa
   TiMidity++
   soundtouch
   swfdec
   libvpx
   mm-common libsigc++ glibmm cairomm pangomm atkmm gtkmm libxml++
   perl-extutils-pkgconfig perl-extutils-depends perl-glib
   
  gst1 deps
   libdv
   libdvdcss
   amrnb
   amrwb
   portaudio fluidsynth
   ffmpeg libquicktime
   libwebp
   libcuefile libreplaygain musepack-tools
   pygobject3
   
  qt5webengine deps
   re2c
   snappy
   srtp

  main packages
  libva libvdpau ffmpeg freerdp
  
  gstreamer
    gstreamer             slackware  
    gst-plugins-base      slackware  
    gst-plugins-good      slackware
    gst-plugins-ugly
    gst-plugins-bad
        configure options in slackbuild
        --disable-rtpvp8 \
        --disable-vp8 \
    phonon-gstreamer        slackware
    gst-python
    gst-ffmpeg
    gstreamermm
    perl-gstreamer
    QtGStreamer

  gstreamer1
    gstreamer1
    gst1-plugins-base
    gst1-libav
    gst1-plugins-good
     compile options
      LDFLAGS="-L/usr/lib${LIBDIRSUFFIX}" \
        line must be between
          CXXFLAGS
          configure
    gst1-plugins-ugly
    gst1-plugins-bad
    gst1-python

    pepperflash-plugin             alienbob
        symlink to locations below, as per article
           /usr/lib/pepperflashplugin-nonfree/libpepflashplayer.so
           /usr/lib/PepperFlash/libpepflashplayer.so
           /usr/lib64/chromium/PepperFlash/libpepflashplayer.so

    qt-5.6.0                alienbob

    qtwebengine-5.6.0       KaMiila
        edit Slackbuild to 5.6.0, mdsum
        apply qt5.qtbug-51890.patch     alienbob qt5.Slackbuild
        replace qmake with qmake-qt5, as per this line
        qmake-qt5 QMAKE_CXXFLAGS="$SLKCFLAGS" WEBENGINE_CONFIG+="use_proprietary_codecs" GYP_CONFIG+="disable_fatal_linker_warnings=1"
        qtwebengine notes

    qupzilla-2.0, knowledgebase

html5 features & video test
youtube
html5test
videotest
quirksmode video test

Last edited by linuxs64; 05-26-2016 at 11:35 AM.
 
2 members found this post helpful.
Old 05-26-2016, 11:32 AM   #29
kjhambrick
Senior Member
 
Registered: Jul 2005
Location: Round Rock, TX
Distribution: Slackware64 15.0 + Multilib
Posts: 2,159

Rep: Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512
Linuxs64 --

I gotta say thanks for the four links at the end of your compile list !

Those are keepers !

And then ...

I gotta ask how did you generate that compile list ?

It is not only useful but beautiful !

Thanks

-- kjh
 
Old 05-26-2016, 11:41 AM   #30
linuxs64
Member
 
Registered: Jun 2010
Posts: 116

Original Poster
Rep: Reputation: 47
I use Maxthink, it's an old outlining program by a notable author.

He's the protege of Edward de Bono. Maxthink follows his principles (6 Thinking Hats, Lateral thinking etc)

Last edited by linuxs64; 05-26-2016 at 11:45 AM.
 
1 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
LXer: QupZilla 1.8 Web Browser Looks Just Too Beautiful Review & Ubuntu Installation LXer Syndicated Linux News 0 10-05-2014 08:51 PM
LXer: Install QupZilla 1.6.0 browser in Ubuntu 13.10 LXer Syndicated Linux News 0 01-22-2014 08:01 PM
LXer: Qupzilla â?? the Best Browser Youâ??ve Never Heard of? LXer Syndicated Linux News 0 12-24-2011 09:50 AM
works well: etch/amd64 (x86_64) && java browser plugin HowDoIProgramIt Debian 2 09-22-2007 08:26 PM
VLC Browser Plugin - No Video BarfBag Ubuntu 2 09-16-2006 03:49 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 01:47 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