gtk-youtube-viewer (for lots of pups)

Browsers, email, chat, etc.
Message
Author
User avatar
MinHundHettePerro
Posts: 852
Joined: Thu 05 Feb 2009, 22:22
Location: SE

#76 Post by MinHundHettePerro »

Hiya, 666philb :)!

I've been using your gtk-youtube-viewer-build for slacko, and I found it extremely useful - no more graphical glitches or stutters ... :)

So, tried to build it myself in slacko-5.3.7.1, and after a few trials (getting to know the package a little) I succeded in making it work for this install.

But, how do I package it?
How do I catch the installed .pm's?
"new2dir ./Build installdeps" didn't work :( - and there I ran out of ideas of how to catch what got installed (other than diffing pre- and après states of pup_rw :shock:).

Are there any parameters to ./Build installdeps that'll do the trick?

Cheers, and thanks for this wonderful package :)/ MHHP
[color=green]Celeron 2.8 GHz, 1 GB, i82845, many ptns, modes 12, 13
Dual Xeon 3.2 GHz, 1 GB, nvidia quadro nvs 285[/color]
Slackos & 214X, ... and Q6xx
[color=darkred]Nämen, vaf....[/color] [color=green]ln -s /dev/null MHHP[/color]

User avatar
666philb
Posts: 3615
Joined: Sun 07 Feb 2010, 12:27
Location: wales ... by the sea

#77 Post by 666philb »

hi MinHundHettePerro,

packaging the gtk-youtube-viewer pets was the hardest part because of all the perl modules, some i installed and some were in the devx, and my solution was pretty primitive!!

i used 'cde' ww.pgbovine.net/cde.html to run gtk-youtube-viewer ,making sure that i used everypart of the gtk-youtube-viewer program, so that cde would pick up all the used modules, including the ones needed from the devx.

then i just compared the cde package with a vanilla puppy install, and copied the needed perl modules to my .pet.

A more professional way to do it, (i'm presuming you used cpan to install the perl modules?) would be to look in /root/.cpan/build after you have installed the required perl modules. you can then run 'make install DESTDIR=/your/path' on each of the builds.

You will still need to find and make manually, the modules which are used from the devx though.

If you find a better solution please let me know :)
Bionicpup64 built with bionic beaver packages http://murga-linux.com/puppy/viewtopic.php?t=114311
Xenialpup64, built with xenial xerus packages http://murga-linux.com/puppy/viewtopic.php?t=107331

User avatar
greengeek
Posts: 5789
Joined: Tue 20 Jul 2010, 09:34
Location: Republic of Novo Zelande

Re: Can a wish come true

#78 Post by greengeek »

666philb wrote:
tuxtoo wrote:i couldn't get it to work in puppy 412 even after updating perl. it seems that the gtk in 412 is just too old!

i did make a portable cde package that can run in 412.

http://www.mediafire.com/file/by6d7274x ... age.tar.gz
Hi 666philb - is there any chance of reactivating this link? I'd like to give it a try on a 4 series puppy. cheers

User avatar
RSH
Posts: 2397
Joined: Mon 05 Sep 2011, 14:21
Location: Germany

#79 Post by RSH »

Seems to work currently.

Image
[b][url=http://lazy-puppy.weebly.com]LazY Puppy[/url][/b]
[b][url=http://rshs-dna.weebly.com]RSH's DNA[/url][/b]
[url=http://murga-linux.com/puppy/viewtopic.php?t=91422][b]SARA B.[/b][/url]

User avatar
greengeek
Posts: 5789
Joined: Tue 20 Jul 2010, 09:34
Location: Republic of Novo Zelande

#80 Post by greengeek »

.
Hmmm, all I get is this:
Attachments
mediafire file unavailable.jpg
(19.94 KiB) Downloaded 1280 times

User avatar
RSH
Posts: 2397
Joined: Mon 05 Sep 2011, 14:21
Location: Germany

#81 Post by RSH »

[b][url=http://lazy-puppy.weebly.com]LazY Puppy[/url][/b]
[b][url=http://rshs-dna.weebly.com]RSH's DNA[/url][/b]
[url=http://murga-linux.com/puppy/viewtopic.php?t=91422][b]SARA B.[/b][/url]

User avatar
greengeek
Posts: 5789
Joined: Tue 20 Jul 2010, 09:34
Location: Republic of Novo Zelande

#82 Post by greengeek »

.
No, that did not work either - at first it looks as if the file is there, but then comes up and says exactly the same error as the previous attempts. Strange. Maybe we have some local ISP issue. I will try again later. Thanks for the help.

User avatar
666philb
Posts: 3615
Joined: Sun 07 Feb 2010, 12:27
Location: wales ... by the sea

#83 Post by 666philb »

hi greengeek

the file is definitely still there... i've uploaded it to my dropbox, see if you have better luck with this http://dl.dropbox.com/u/19554672/cde-package.tar.gz
Bionicpup64 built with bionic beaver packages http://murga-linux.com/puppy/viewtopic.php?t=114311
Xenialpup64, built with xenial xerus packages http://murga-linux.com/puppy/viewtopic.php?t=107331

slenkar
Posts: 228
Joined: Sat 11 Jul 2009, 01:26

#84 Post by slenkar »

the youtube api allows you to look at anyones subscriptions list

e.g. for mine see here:
https://gdata.youtube.com/feeds/api/use ... tionvideos

no password needed.

Is there any chance of being able to choose from my subscriptions to download and watch videos?

User avatar
666philb
Posts: 3615
Joined: Sun 07 Feb 2010, 12:27
Location: wales ... by the sea

#85 Post by 666philb »

slenkar wrote:the youtube api allows you to look at anyones subscriptions list

e.g. for mine see here:
https://gdata.youtube.com/feeds/api/use ... tionvideos

no password needed.

Is there any chance of being able to choose from my subscriptions to download and watch videos?
hi slenkar,

i think you can watch/download your own subscriptions from within the app, i can't see a way of viewing others though.

you just need to 'login to youtube' from the 'file' menu in the app. (this option may be broken though in some puppies)
Bionicpup64 built with bionic beaver packages http://murga-linux.com/puppy/viewtopic.php?t=114311
Xenialpup64, built with xenial xerus packages http://murga-linux.com/puppy/viewtopic.php?t=107331

User avatar
greengeek
Posts: 5789
Joined: Tue 20 Jul 2010, 09:34
Location: Republic of Novo Zelande

difficulty accessing mediafir for cde download

#86 Post by greengeek »

666philb wrote:i couldn't get it to work in puppy 412 even after updating perl. it seems that the gtk in 412 is just too old!

i did make a portable cde package that can run in 412.

http://www.mediafire.com/file/by6d7274x ... age.tar.gz
Thanks Philb and RSH - I have been able to download the file now. It seems that my problem was due to some oddity of the browser on the 412 based puppy I was using to access mediafire.

slenkar
Posts: 228
Joined: Sat 11 Jul 2009, 01:26

#87 Post by slenkar »

666philb wrote:
slenkar wrote:the youtube api allows you to look at anyones subscriptions list

e.g. for mine see here:
https://gdata.youtube.com/feeds/api/use ... tionvideos

no password needed.

Is there any chance of being able to choose from my subscriptions to download and watch videos?
hi slenkar,

i think you can watch/download your own subscriptions from within the app, i can't see a way of viewing others though.

you just need to 'login to youtube' from the 'file' menu in the app. (this option may be broken though in some puppies)
oh yeh that worked thanks

User avatar
peebee
Posts: 4370
Joined: Sun 21 Sep 2008, 12:31
Location: Worcestershire, UK
Contact:

#88 Post by peebee »

Hi 666philb

Just tried the viwer on Slacko 5.4 and got:

Code: Select all

# gtk-youtube-viewer
bash: /usr/bin/gtk-youtube-viewer: /usr/bin/perl5.12.3: bad interpreter: No such file or directory
In /usr/bin on Slacko 5.4 there is perl5.16.1 and perl linked to it.

Does gtk-youtube-viewer need updating for Slacko5.4?

Many thanks
PeeBee
ImageLxPup = Puppy + LXDE
Main version used daily: LxPupSc; Assembler of UPups, ScPup & ScPup64, LxPup, LxPupSc & LxPupSc64

User avatar
666philb
Posts: 3615
Joined: Sun 07 Feb 2010, 12:27
Location: wales ... by the sea

#89 Post by 666philb »

peebee wrote:Hi 666philb

Just tried the viwer on Slacko 5.4 and got:

Code: Select all

# gtk-youtube-viewer
bash: /usr/bin/gtk-youtube-viewer: /usr/bin/perl5.12.3: bad interpreter: No such file or directory
In /usr/bin on Slacko 5.4 there is perl5.16.1 and perl linked to it.

Does gtk-youtube-viewer need updating for Slacko5.4?

Many thanks
PeeBee
yes i'll have to try and package up a new one for slacko 5.4. in the meantime i've made a note on the first post that it's old slacko only

thanks
Bionicpup64 built with bionic beaver packages http://murga-linux.com/puppy/viewtopic.php?t=114311
Xenialpup64, built with xenial xerus packages http://murga-linux.com/puppy/viewtopic.php?t=107331

User avatar
666philb
Posts: 3615
Joined: Sun 07 Feb 2010, 12:27
Location: wales ... by the sea

#90 Post by 666philb »

i've added a .pet for slacko 5.4 on the first post ..... not sure if everything is working.
Bionicpup64 built with bionic beaver packages http://murga-linux.com/puppy/viewtopic.php?t=114311
Xenialpup64, built with xenial xerus packages http://murga-linux.com/puppy/viewtopic.php?t=107331

User avatar
Terryphi
Posts: 761
Joined: Wed 02 Jul 2008, 09:32
Location: West Wales, Britain.

#91 Post by Terryphi »

666philb wrote:i've added a .pet for slacko 5.4 on the first post ..... not sure if everything is working.
It breaks Sakura for me in Slacko 5.4.

Sakura: http://www.murga-linux.com/puppy/viewto ... 19&t=77387
[b]Classic Opera 12.16 browser SFS package[/b] for Precise, Slacko, Racy, Wary, Lucid, etc available[url=http://terryphillips.org.uk/operasfs.htm]here[/url] :)

User avatar
666philb
Posts: 3615
Joined: Sun 07 Feb 2010, 12:27
Location: wales ... by the sea

#92 Post by 666philb »

Terryphi wrote:
666philb wrote:i've added a .pet for slacko 5.4 on the first post ..... not sure if everything is working.
It breaks Sakura for me in Slacko 5.4.

Sakura: http://www.murga-linux.com/puppy/viewto ... 19&t=77387
hmmm odd, as the package actually includes that sakura. can you look in /usr/bin and see if the sakura symlink i put there is broken..

it's also worth noting that for some reason, because there are 2 .desktop files in the .pet, slacko puts them both in multimedia. so you may find sakura there. manually editing the categories section of the .desktop file and running fixmenus would fix this.
Bionicpup64 built with bionic beaver packages http://murga-linux.com/puppy/viewtopic.php?t=114311
Xenialpup64, built with xenial xerus packages http://murga-linux.com/puppy/viewtopic.php?t=107331

User avatar
Billtoo
Posts: 3720
Joined: Tue 07 Apr 2009, 13:47
Location: Ontario Canada

#93 Post by Billtoo »

666philb wrote:i've added a .pet for slacko 5.4 on the first post ..... not sure if everything is working.
It's working well in slacko 5.4 here.

EDIT:from lxterminal as well.
Attachments
utviewer2.jpg
(68.4 KiB) Downloaded 1772 times
utviewer.jpg
(54.95 KiB) Downloaded 1804 times

User avatar
peebee
Posts: 4370
Joined: Sun 21 Sep 2008, 12:31
Location: Worcestershire, UK
Contact:

Thanks

#94 Post by peebee »

Thanks 666philb

Worked fine for me to download a 54min tv episode this morning. Not tried anything complicated like login details....

No problems with sakura - BTW why is it necessary to include this? Can't the terminals already in Slacko be used?

Now need to understand how the FFconvert in Slacko 5.4 works - it doesn't seem to be anywhere near as intuitive as the one in 5.3.3 and doesn't seem to recognise the FLV format - I guess I must be doing something wrong but can't work out what!!

Thanks for your efforts to update.
Cheers
PeeBee
ImageLxPup = Puppy + LXDE
Main version used daily: LxPupSc; Assembler of UPups, ScPup & ScPup64, LxPup, LxPupSc & LxPupSc64

User avatar
Terryphi
Posts: 761
Joined: Wed 02 Jul 2008, 09:32
Location: West Wales, Britain.

#95 Post by Terryphi »

666philb wrote:
Terryphi wrote:
666philb wrote:i've added a .pet for slacko 5.4 on the first post ..... not sure if everything is working.
It breaks Sakura for me in Slacko 5.4.

Sakura: http://www.murga-linux.com/puppy/viewto ... 19&t=77387
hmmm odd, as the package actually includes that sakura. can you look in /usr/bin and see if the sakura symlink i put there is broken..

it's also worth noting that for some reason, because there are 2 .desktop files in the .pet, slacko puts them both in multimedia. so you may find sakura there. manually editing the categories section of the .desktop file and running fixmenus would fix this.
Ah I see. Your symlinks did not sit happily with my pre-installed Sakura. Anyway, I started again and uninstalled Sakura and vte before installing your pet. Everything works as expected and Sakura is in correct category after manually editing sakura.desktop.

The problem with including Sakura and vte in your pet is that it is not apparent in PPM that they are installed.

If you must include them It would have been helpful if you made clear that the pet included Sakura and vte. ;)
[b]Classic Opera 12.16 browser SFS package[/b] for Precise, Slacko, Racy, Wary, Lucid, etc available[url=http://terryphillips.org.uk/operasfs.htm]here[/url] :)

Post Reply