Page 4 of 25

Posted: Thu 08 Nov 2012, 00:43
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

Posted: Thu 08 Nov 2012, 07:12
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 :)

Re: Can a wish come true

Posted: Sat 01 Dec 2012, 09:05
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

Posted: Sat 01 Dec 2012, 09:13
by RSH
Seems to work currently.

Image

Posted: Sat 01 Dec 2012, 15:59
by greengeek
.
Hmmm, all I get is this:

Posted: Sat 01 Dec 2012, 16:10
by RSH

Posted: Sat 01 Dec 2012, 16:36
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.

Posted: Sat 01 Dec 2012, 16:58
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

Posted: Sat 01 Dec 2012, 18:37
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?

Posted: Sat 01 Dec 2012, 20:31
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)

difficulty accessing mediafir for cde download

Posted: Sun 02 Dec 2012, 03:35
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.

Posted: Fri 07 Dec 2012, 15:20
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

Posted: Sat 08 Dec 2012, 07:36
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

Posted: Sat 08 Dec 2012, 13:22
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

Posted: Sun 09 Dec 2012, 19:57
by 666philb
i've added a .pet for slacko 5.4 on the first post ..... not sure if everything is working.

Posted: Mon 10 Dec 2012, 11:49
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

Posted: Mon 10 Dec 2012, 12:27
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.

Posted: Mon 10 Dec 2012, 12:32
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.

Thanks

Posted: Mon 10 Dec 2012, 13:53
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

Posted: Mon 10 Dec 2012, 14:24
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. ;)