minitube!

Everything about X, Gnome, KDE, ... and everything running on it

minitube!

Postby Burt » 2010-01-17 22:47

hi :) i seem to be stumbling from one problem to another right now haha. my next problem concerns minitube and its installation. i downloaded the source from the website and followed the instructions given in the readme file :

sudo apt-get install build-essential qt4-dev-tools libphonon-dev

followed by
'qmake', then 'make'

after which i get this error

Code: Select all
g++ -c -pipe -O2 -Wall -W -D_REENTRANT -DDATADIR=\"/usr/share\" -DPKGDATADIR=\"/usr/share/minitube\" -DQT_NO_DEBUG -DQT_PHONON_LIB -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXml -I/usr/include/phonon -I/usr/include/phonon -I/usr/include/qt4 -I/usr/include/phonon -Isrc/qtsingleapplication -Isrc/thlibrary -Ilocale -Ibuild/moc -I. -o build/obj/MainWindow.o src/MainWindow.cpp
In file included from src/MainWindow.cpp:5:
src/global.h:8:32: error: QNetworkProxyFactory: No such file or directory
In file included from src/MainWindow.cpp:5:
src/global.h: In function ‘void The::maybeSetSystemProxy()’:
src/global.h:32: error: ‘QNetworkProxyQuery’ was not declared in this scope
src/global.h:32: error: expected `;' before ‘proxyQuery’
src/global.h:33: error: ‘proxyQuery’ was not declared in this scope
src/global.h:34: error: ‘QNetworkProxyFactory’ has not been declared
src/MainWindow.h: In constructor ‘MainWindow::MainWindow()’:
src/MainWindow.h:143: warning: ‘MainWindow::audioOutput’ will be initialized after
src/MainWindow.h:99: warning:   ‘QWidget* MainWindow::aboutView’
src/MainWindow.cpp:7: warning:   when initialized here
src/MainWindow.cpp: In member function ‘void MainWindow::showWidget(QWidget*)’:
src/MainWindow.cpp:425: warning: unused variable ‘oldWidget’
src/Constants.h: At global scope:
src/Constants.h:9: warning: ‘Constants::ORG_NAME’ defined but not used
src/Constants.h:10: warning: ‘Constants::ORG_DOMAIN’ defined but not used
src/Constants.h:12: warning: ‘Constants::EMAIL’ defined but not used
make: *** [build/obj/MainWindow.o] Error 1


any suggestions? the readme file also recommended to try 'qmake-qt4' if the first qmake didnt succeed, which i did. I'm using debian lenny stable btw.
Burt
 
Posts: 33
Joined: 2010-01-03 21:16

Re: minitube!

Postby craigevil » 2010-01-18 00:29

Why bother with building it?

All I did was download http://flavio.tordini.org/files/minitub ... 8.1.tar.gz extract it and execute minitube.

Works great, thanks for pointing this cool app out.
Debian Sid KDE Kernel 3.17 Thinkpad R40 Intel M 1.3 CPU 2GB RAM Radeon Mobility 7500
Debian - "If you can't apt-get something, it isn't useful or doesn't exist"
Giant Debian sources.list | Debian upgrade script smxi | sysinfo script inxi
User avatar
craigevil
 
Posts: 5153
Joined: 2006-09-17 03:17
Location: Oz

Re: minitube!

Postby Burt » 2010-01-18 09:07

doesnt work for me. i'm using the openbox window manager btw, not sure if thats anything to do with it
Burt
 
Posts: 33
Joined: 2010-01-03 21:16

Re: minitube!

Postby craigevil » 2010-01-18 10:43

Burt wrote:doesnt work for me. i'm using the openbox window manager btw, not sure if thats anything to do with it

I use lxde. Try making sure you have phonon installed.

libphonon4
phonon-backend-xine

Should do it.
Debian Sid KDE Kernel 3.17 Thinkpad R40 Intel M 1.3 CPU 2GB RAM Radeon Mobility 7500
Debian - "If you can't apt-get something, it isn't useful or doesn't exist"
Giant Debian sources.list | Debian upgrade script smxi | sysinfo script inxi
User avatar
craigevil
 
Posts: 5153
Joined: 2006-09-17 03:17
Location: Oz

Re: minitube!

Postby Burt » 2010-01-18 11:21

I installed those two packages, the error is just the same when i try to do the make after qmake. and right clicking on the executable and selecting execute does nothing either :/ hmmm
Burt
 
Posts: 33
Joined: 2010-01-03 21:16

Re: minitube!

Postby craigevil » 2010-01-18 11:36

Image

Works here.

craig@craigevil:~/Download/minitube$ ./minitube or right clicking on minitube launches it. You might have to set the executable bit on minitube.

Too bad there isn't a Debain package.

Take a look at the Minitube FAQ page:
Minitube FAQ
Why do I get no video and/or audio?
If you’re on Linux you probably miss the Gstreamer Phonon backend or the GStreamer codecs (or both). Install phonon-backend-gstreamer, gstreamer-ffmpeg and gstreamer-plugins-bad. If the problem persists, try to run this command

sudo ln -s /usr/lib/kde4/plugins/phonon_backend /usr/lib/qt4/plugins/phonon_backend

Minitube doesn't start.
You probably have an old Qt version. Minitube requires 4.5 or better. You can check by running Minitube from command line. It should give something like:

./minitube: symbol lookup error:
./minitube: undefined symbol:
_ZN18QNetworkProxyQueryC1ERK4QUrlNS_9QueryTypeE
Debian Sid KDE Kernel 3.17 Thinkpad R40 Intel M 1.3 CPU 2GB RAM Radeon Mobility 7500
Debian - "If you can't apt-get something, it isn't useful or doesn't exist"
Giant Debian sources.list | Debian upgrade script smxi | sysinfo script inxi
User avatar
craigevil
 
Posts: 5153
Joined: 2006-09-17 03:17
Location: Oz

Re: minitube!

Postby Burt » 2010-01-18 14:08

hmm, i found a 64 bit deb package via here : http://bugs.debian.org/cgi-bin/bugrepor ... =561012#10
and when i tried to dpkg i got this error, which corroborates whats said about needing qt 4.5 or higher :
Code: Select all
Selecting previously deselected package minitube.
(Reading database ... 119691 files and directories currently installed.)
Unpacking minitube (from minitube_0.8.1-1_amd64.deb) ...
dpkg: dependency problems prevent configuration of minitube:
 minitube depends on libqt4-network (>= 4:4.5.3); however:
  Version of libqt4-network on system is 4.4.3-1.
 minitube depends on libqt4-xml (>= 4:4.5.3); however:
  Version of libqt4-xml on system is 4.4.3-1.
 minitube depends on libqtcore4 (>= 4:4.5.3); however:
  Version of libqtcore4 on system is 4.4.3-1.
 minitube depends on libqtgui4 (>= 4:4.5.3); however:
  Version of libqtgui4 on system is 4.4.3-1.
 minitube depends on phonon (>= 4:4.5.2); however:
  Version of phonon on system is 4:4.2.0-2.
dpkg: error processing minitube (--install):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 minitube


trouble is, i got my versions of qt from the repos only today and yesterday. i'm not sure where i could get updated versions of those packages^^. forgive me if that sounds silly, im quite new to linux, a few weeks with this version of debian and about a month with fedora 11 prior. any ideas how i can update those packages?
Burt
 
Posts: 33
Joined: 2010-01-03 21:16

Re: minitube!

Postby craigevil » 2010-01-18 14:33

You would most likely need to get the packages from testing, if you aren't running kde it shouldn't be a problem. However if you are using kde3.5 from stable it would get upgraded to kde4.

You can always add the testing repo to your sources.list then run aptitude -t testing install package -s

The -s will simulate the install so you can see what all would be installed/upgraded.

You would need to add :
deb http://debian.sur5r.net/minitube testing main

deb http://ftp.debian.org/debian/ testing main contrib non-free

to your /etc/apt/sources.list then run aptitude update, followed by aptitude install minitube -s
Keep an eye on what it wants to upgrade and install, if it looks ok go for it. But keep in mind mixing releases is not a good idea.

Annoying things like this are why I run unstable.
Debian Sid KDE Kernel 3.17 Thinkpad R40 Intel M 1.3 CPU 2GB RAM Radeon Mobility 7500
Debian - "If you can't apt-get something, it isn't useful or doesn't exist"
Giant Debian sources.list | Debian upgrade script smxi | sysinfo script inxi
User avatar
craigevil
 
Posts: 5153
Joined: 2006-09-17 03:17
Location: Oz

Re: minitube!

Postby craigevil » 2010-01-18 18:46

if you were on sid I would tell you to use:
deb http://frickelplatz.de/debian/ sid main non-free contrib

Nice minitube .deb that works great.
Debian Sid KDE Kernel 3.17 Thinkpad R40 Intel M 1.3 CPU 2GB RAM Radeon Mobility 7500
Debian - "If you can't apt-get something, it isn't useful or doesn't exist"
Giant Debian sources.list | Debian upgrade script smxi | sysinfo script inxi
User avatar
craigevil
 
Posts: 5153
Joined: 2006-09-17 03:17
Location: Oz

Re: minitube!

Postby Burt » 2010-01-18 19:15

we're getting closer and closer with each step :) i followed all your instructions, minitube starts fine now, but i get a message saying 'A required codec is missing. You need to install the following codec(s) to play this content: MPEG-4 AAC"
tried installing faad ect but to no avail....so close lol
Burt
 
Posts: 33
Joined: 2010-01-03 21:16

Re: minitube!

Postby craigevil » 2010-01-18 20:14

$ apt-cache show minitube
Package: minitube
Priority: extra
Section: video
Installed-Size: 692
Maintainer: Torsten Wohlfarth <towo@frickelplatz.de>
Architecture: i386
Version: 0.8.1-1
Depends: libc6 (>= 2.3.6-6~), libgcc1 (>= 1:4.1.1), libphonon4 (>= 4:4.2.0), libqt4-network (>= 4:4.5.3), libqt4-xml (>= 4:4.5.3), libqtcore4 (>= 4:4.5.3), libqtgui4 (>= 4:4.5.3), libstdc++6 (>= 4.1.1), phonon (>= 4:4.5.2), gstreamer0.10-plugins-good, gstreamer0.10-ffmpeg, gstreamer0.10-plugins-bad
Filename: dists/unstable/main/binary-i386/video/minitube_0.8.1-1_i386.deb
Size: 210068
MD5sum: 2f18ef6cde09cde57207984b55be8108
SHA1: 5d5c2bb4276ca051dc0d4dce502c50d1541165bc
SHA256: 126f5d73b37b6c24194ba5d92f9990039f76dfd679e95f638e68488a8cfe6ec3
Description: a native YouTube client
Minitube is a native YouTube client. With it you can watch YouTube videos in a new way: you type a keyword,
Minitube gives you an endless video stream. Minitube does not require the Flash Player.
Minitube is not about cloning the original YouTube web interface, it strives to create a new TV-like experience.
Minitube is in its early stages. It lacks some features I planned for it. That said, it works.
Try it, report your experience in the comments and spread the word.
Homepage: http://flavio.tordini.org/minitube
Debian Sid KDE Kernel 3.17 Thinkpad R40 Intel M 1.3 CPU 2GB RAM Radeon Mobility 7500
Debian - "If you can't apt-get something, it isn't useful or doesn't exist"
Giant Debian sources.list | Debian upgrade script smxi | sysinfo script inxi
User avatar
craigevil
 
Posts: 5153
Joined: 2006-09-17 03:17
Location: Oz

Re: minitube!

Postby Burt » 2010-01-18 21:37

ive got all those dependencies bar one , the grstreamer0.10-plugins-bad
when i try an apt-get i get the error message

Code: Select all

The following information may help to resolve the situation:

The following packages have unmet dependencies.
  gstreamer0.10-plugins-bad: Depends: libdirac-encoder0 but it is not going to be installed
E: Broken packages

Burt
 
Posts: 33
Joined: 2010-01-03 21:16

Re: minitube!

Postby Burt » 2010-01-18 21:58

i think i shall give up on this, when i select to install gstreamer bad plugins, synaptic says that it will remove a huge amount of packages.
Burt
 
Posts: 33
Joined: 2010-01-03 21:16

Re: minitube!

Postby sur5r » 2010-01-21 00:02

Hi there!

For me, minitube works with either phonon-backend-gstreamer or phonon-backend-xine.

For both, you need an AAC decoder, faad. For gstreamer, this is contained in the plugins from the bad set,
for xine, it comes with libxine1-ffmpeg.

Please note that I created my packages for the testing distribution only, because minitube needs qt4.5 which is only available in testing so far.

Regards,
sur5r
ceterum censeo microsoftem esse delendam.
sur5r
 
Posts: 1
Joined: 2010-01-20 23:46

Re: minitube!

Postby Burt » 2010-01-21 06:43

thanks for the reply sur5r, i have phonon-backend-xine installed and libxine1-ffmpeg. still no joy :/
Burt
 
Posts: 33
Joined: 2010-01-03 21:16

Next

Return to Desktop & Multimedia

Who is online

Users browsing this forum: No registered users and 6 guests

fashionable