Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
pplive and sopcast in linux
View unanswered posts
View posts from last 24 hours

Goto page 1, 2  Next  
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
senzacionale
Guru
Guru


Joined: 29 Jun 2004
Posts: 532
Location: Slovenia

PostPosted: Sat Mar 18, 2006 9:37 am    Post subject: pplive and sopcast in linux Reply with quote

I would like to kow if is possible how to use pplive or sopcast program in linux for vide. I am searching for that answer for very long time but i can't find it.
_________________
Spletno narocanje hrane in dostava hrane na dom na portalu DostavaHrane.si
Back to top
View user's profile Send private message
mwirth
n00b
n00b


Joined: 26 Oct 2004
Posts: 28

PostPosted: Wed Mar 22, 2006 5:01 pm    Post subject: Reply with quote

gtk-sopcast is available here:

http://lianwei3.googlepages.com/home2

the gtk2 version works fine.
Back to top
View user's profile Send private message
elwood73
n00b
n00b


Joined: 07 Jun 2004
Posts: 55

PostPosted: Fri Jun 09, 2006 3:03 pm    Post subject: Reply with quote

I get no channel list in gtk-sopcast, their site appears to use scripts now. Anyone figured out a work-around?
Back to top
View user's profile Send private message
bits'n'booze
n00b
n00b


Joined: 19 May 2004
Posts: 25
Location: Germany

PostPosted: Thu Jun 22, 2006 1:13 pm    Post subject: Reply with quote

EDIT: Just to make something clear: The wine workaround seems to be the only one really working right now. I was able to watch with sp-sc (the back-end of gtk-sopcast / qt-sopcast / sopgui) until some weeks ago, but things have changed since then (and getting a current channel-list is not the only problem).
Also, other versions of sopcast (before 0.9.6) did not work with wine.
But anyway, as long as it works now...

DISCLAIMER: The following procedure may be illegal in your country. This is purely for educational reasons. I am not responsible for any wroing-doing on your side. Please play by the rules and pay for programs you like.

I am happy to report a workaround. Took me two weeks to search for all the relevant info and lots of trial and error, but seems this is a stable solution:

1. Get the latest Windoze Version of Sopcast (0.9.6) from http://www.sopcast.org and unzip it
2. emerge wine (I have o.9.8-r1; for a how-to-setup-wine looks elsewhere [gentoo-wiki.org]
3. wine Setup-SopCast-0.9.6.exe
4. Login as Anonymous (or otherwise if you have an account with sopcast.org)
5. Double-click your favourite channel
6. Fire up mplayer/xine (or any other player capable of showing a wmv stream) like this: xine http://localhost:8902
7. Be Patient (it can take quite a time to connect and buffer the stream before it starts)

After the initial installation of Sopcast with wine, you can start it by:
wine /PATH/TO/SopCast.exe
i.e.
wine $HOME/.wine/fake_windows/Program\ Files/SopCast/SopCast.exe

Enjoy!

Screenshot (1280x1024, ~310kB)

The shots has been taken (as you can see in the first one) while 1519 ppl. were streaming CCTV-5. As SopCast is a p2p-application, quality depends on the number of people streaming (uploading) a certain channel. With CCTV-5, this is usally very good, even in fullscreen mode. Not HDTV really, but since I don't have a TV (and probably never will regarding the decline in quality on German TV), this is as good as it gets.
screenshot of the video in fullscreen-mode looks a lot worse than when actually watching the stream, so i decided not to post one. It is definitely "watchable" in fullscreen, but decide for yourselves.


BTW: Though i am in Germany right now, and everybody is totally freaking out, I have to admit, I am not interested in football/soccer at all. And all this honking of the morons driving by my house after ANY match has ended really drives me nuts...

Anyway, have fun all you football-crazy wookies ;)
_________________
---
Adopt an unanswered post today!
Back to top
View user's profile Send private message
elwood73
n00b
n00b


Joined: 07 Jun 2004
Posts: 55

PostPosted: Thu Jun 22, 2006 4:05 pm    Post subject: Reply with quote

Fantastic. Thanks!
Back to top
View user's profile Send private message
Occasus
Apprentice
Apprentice


Joined: 22 Feb 2005
Posts: 158
Location: Italia

PostPosted: Thu Jun 22, 2006 8:28 pm    Post subject: Reply with quote

Code:
[aestas]occasus SopCast $ wine SopCast.exe
detect MTU=4c4
Connection=11   Connection=11
i=0   51
ipExternal:93e23d52  Internal:201a8c0  portLocal:38214    portExternal1:38214    External2:38214  linkType:51
tm3.sopcast.com proto=17
adv=304
TD1=136115-4294831181:  1151007973:304:4251568549
tm3.sopcast.com proto=17
adv=711
TD1=136119-4294831177:  1151007974:711:4251569138
Average difference=136117
136117
136117

Not valid ID

system channelID=99
detect MTU=4c4
localaddr:      c0a80102:15012, externaladdr:523de293:15012
broker connection closed retv=-13
wine: Unhandled page fault on read access to 0x7fd20000 at address 0xb7eb88cc (t
hread 000b), starting debugger...
WineDbg starting on pid 0xa
retv = -103
        spsc_cleanup_sysch
sopch2_schedule_sc_misc_sysch retv=-103
CHLST blockSize=0
4251707135:4251705272
Unhandled exception: page fault on read access to 0x7fd20000 in 32-bit code (0xb
7eb88cc).
In 32 bit mode.
Register dump:
 CS:0073 SS:007b DS:007b ES:007b FS:003b GS:0033
 EIP:b7eb88cc ESP:7fd1d640 EBP:7fd1d65c EFLAGS:00210203(   - 00      - RI1C)
 EAX:0000d81e EBX:7f97abd4 ECX:00002bf5 EDX:7fddd560
 ESI:7fd1fffe EDI:7fddfdaa
Stack dump:
0x00000000:  00000000 00000000 00000000 00000000
0x00000010:  00000000 00000000 00000000 00000000
0x00000020:  00000000 00000000 00000000 00000000
0x00000030:  00000000 00000000 00000000 00000000
0x00000040:  00000000 00000000 00000000 00000000
0x00000050:  00000000 00000000 00000000 00000000
Backtrace:
=>1 0xb7eb88cc memcpy in libc.so.6 (0xb7eb88cc)
  2 0x7103601a in shdocvw (+0x3601a) (0x7103601a)
  3 0x7108e5d5 in shdocvw (+0x8e5d5) (0x7108e5d5)
  4 0x7108bb85 in shdocvw (+0x8bb85) (0x7108bb85)
  5 0x00482b40 in sopcast (+0x82b40) (0x00482b40)
  6 0x00483b4e in sopcast (+0x83b4e) (0x00483b4e)
  7 0x0047ef67 in sopcast (+0x7ef67) (0x0047ef67)
  8 0x0047f6fa in sopcast (+0x7f6fa) (0x0047f6fa)
  9 0x00480382 in sopcast (+0x80382) (0x00480382)
  10 0x00480537 in sopcast (+0x80537) (0x00480537)
  11 0x0047fed4 in sopcast (+0x7fed4) (0x0047fed4)
  12 0x004c4515 in sopcast (+0xc4515) (0x004c4515)
  13 0x004bf149 in sopcast (+0xbf149) (0x004bf149)
  14 0x004c0bd9 in sopcast (+0xc0bd9) (0x004c0bd9)
  15 0x004c0c69 in sopcast (+0xc0c69) (0x004c0c69)
  16 0x7fba85e2 WINPROC_wrapper in user32 (0x7fba85e2)
  17 0x7fba89e1 WINPROC_wrapper in user32 (0x7fba89e1)
  18 0x7fbaebe0 CallWindowProcW in user32 (0x7fbaebe0)
  19 0x7fb803b9 in user32 (+0x603b9) (0x7fb803b9)
  20 0x7fb8081e SendMessageTimeoutW in user32 (0x7fb8081e)
  21 0x7fb80873 SendMessageW in user32 (0x7fb80873)
  22 0x7fb58f7e in user32 (+0x38f7e) (0x7fb58f7e)
  23 0x7fb59c8f CreateDialogIndirectParamAorW in user32 (0x7fb59c8f)
  24 0x7fb59cd4 CreateDialogIndirectParamW in user32 (0x7fb59cd4)
  25 0x004c4855 in sopcast (+0xc4855) (0x004c4855)
  26 0x004c4a9d in sopcast (+0xc4a9d) (0x004c4a9d)
0xb7eb88cc memcpy+0x1c in libc.so.6: repe movsl (%esi),%es:(%edi)
Modules:
Module  Address                 Debug info      Name (91 modules)
PE      0x00400000-005b4000     Export          sopcast
PE      0x10000000-101c6000     Deferred        sopcore
ELF     0x42419000-4241e000     Deferred        libxxf86dga.so.1
ELF     0x42433000-4243b000     Deferred        libesd.so.0
ELF     0x424f3000-42516000     Deferred        libaudiofile.so.0
ELF     0x426ba000-426be000     Deferred        libxxf86vm.so.1
ELF     0x42d82000-42d92000     Deferred        libz.so.1
ELF     0x42d94000-42e41000     Deferred        libx11.so.6
ELF     0x42f1d000-42f28000     Deferred        libxext.so.6
ELF     0x42f2a000-42f3d000     Deferred        libice.so.6
ELF     0x42f3f000-42f47000     Deferred        libsm.so.6
ELF     0x42f49000-42fae000     Deferred        libfreetype.so.6
ELF     0x42fb0000-42fcd000     Deferred        libexpat.so.0
ELF     0x42feb000-4300e000     Deferred        libfontconfig.so.1
ELF     0x43019000-43020000     Deferred        libxrender.so.1
ELF     0x43022000-4302a000     Deferred        libxcursor.so.1.0.2
PE      0x5e380000-5e3a5000     Deferred        msoss
PE      0x65340000-653d2000     Deferred        oleaut32
PE      0x65f00000-65fc2000     Deferred        ole32
PE      0x70100000-70153000     Deferred        rpcrt4
PE      0x70200000-70296000     Deferred        wininet
PE      0x702b0000-7032a000     Deferred        urlmon
PE      0x70bd0000-70c35000     Deferred        shlwapi
PE      0x71000000-71149000     Export          shdocvw
PE      0x71450000-714ae000     Deferred        crypt32
PE      0x78000000-78040000     Deferred        msvcrt
ELF     0x7b800000-7b8e9000     Deferred        kernel32<elf>
  \-PE  0x7b820000-7b8e9000     \               kernel32
ELF     0x7bc00000-7bc69000     Deferred        ntdll<elf>
  \-PE  0x7bc10000-7bc69000     \               ntdll
ELF     0x7bf00000-7bf03000     Deferred        <wine-loader>
ELF     0x7ddab000-7ddbe000     Deferred        libresolv.so.2
ELF     0x7e1eb000-7e200000     Deferred        midimap<elf>
  \-PE  0x7e1f0000-7e200000     \               midimap
ELF     0x7e31a000-7e33c000     Deferred        msacm32<elf>
  \-PE  0x7e320000-7e33c000     \               msacm32
ELF     0x7e33c000-7e353000     Deferred        msacm<elf>
  \-PE  0x7e340000-7e353000     \               msacm
ELF     0x7e353000-7e3f1000     Deferred        libasound.so.2
ELF     0x7e409000-7e420000     Deferred        wineesd<elf>
  \-PE  0x7e410000-7e420000     \               wineesd
ELF     0x7e550000-7e5c9000     Deferred        winmm<elf>
  \-PE  0x7e560000-7e5c9000     \               winmm
ELF     0x7e5c9000-7e5e0000     Deferred        version<elf>
  \-PE  0x7e5d0000-7e5e0000     \               version
ELF     0x7ed71000-7eda0000     Deferred        uxtheme<elf>
  \-PE  0x7ed80000-7eda0000     \               uxtheme
ELF     0x7eefd000-7ef17000     Deferred        imm32<elf>
  \-PE  0x7ef00000-7ef17000     \               imm32
ELF     0x7ef17000-7ef2e000     Deferred        ximcp.so.2
ELF     0x7ef2e000-7f6f0000     Deferred        libglcore.so.1
ELF     0x7f6f0000-7f775000     Deferred        libgl.so.1
ELF     0x7f779000-7f78d000     Deferred        lz32<elf>
  \-PE  0x7f780000-7f78d000     \               lz32
ELF     0x7f78d000-7f7fd000     Deferred        winex11<elf>
  \-PE  0x7f7a0000-7f7fd000     \               winex11
ELF     0x7f7fd000-7f819000     Deferred        iphlpapi<elf>
  \-PE  0x7f800000-7f819000     \               iphlpapi
ELF     0x7f819000-7f83e000     Deferred        ws2_32<elf>
  \-PE  0x7f820000-7f83e000     \               ws2_32
ELF     0x7f83e000-7f857000     Deferred        oledlg<elf>
  \-PE  0x7f840000-7f857000     \               oledlg
ELF     0x7f857000-7f87c000     Deferred        winspool<elf>
  \-PE  0x7f860000-7f87c000     \               winspool
ELF     0x7f87c000-7f912000     Deferred        comctl32<elf>
  \-PE  0x7f890000-7f912000     \               comctl32
ELF     0x7f912000-7f9bd000     Deferred        shell32<elf>
  \-PE  0x7f930000-7f9bd000     \               shell32
ELF     0x7f9bd000-7fa53000     Deferred        comdlg32<elf>
  \-PE  0x7f9d0000-7fa53000     \               comdlg32
ELF     0x7fa53000-7fa89000     Deferred        advapi32<elf>
  \-PE  0x7fa60000-7fa89000     \               advapi32
ELF     0x7fa89000-7fb07000     Deferred        gdi32<elf>
  \-PE  0x7faa0000-7fb07000     \               gdi32
ELF     0x7fb07000-7fc10000     Export          user32<elf>
  \-PE  0x7fb20000-7fc10000     \               user32
ELF     0x7fd21000-7fd2a000     Deferred        libgcc_s.so.1
ELF     0x7fe72000-7fe78000     Deferred        libnss_dns.so.2
ELF     0x7fe7b000-7fe90000     Deferred        libnsl.so.1
ELF     0x7fe90000-7fe98000     Deferred        libnss_compat.so.2
ELF     0x7fea6000-7fea8000     Deferred        xlcutf8load.so.2
ELF     0x7feb0000-7fed2000     Deferred        libm.so.6
ELF     0x7fed2000-7ffc8000     Deferred        libwine_unicode.so.1
ELF     0x7ffc8000-7ffd2000     Deferred        libnss_files.so.2
ELF     0x7ffd2000-7ffdc000     Deferred        libnss_nis.so.2
ELF     0x7ffde000-7ffe0000     Deferred        libnvidia-tls.so.1
ELF     0xb7e4d000-b7e51000     Deferred        libdl.so.2
ELF     0xb7e51000-b7f65000     Export          libc.so.6
ELF     0xb7f65000-b7f77000     Deferred        libpthread.so.0
ELF     0xb7f77000-b7f91000     Deferred        libwine.so.1
ELF     0xb7faa000-b7fc1000     Deferred        ld-linux.so.2
Threads:
process  tid      prio (all id:s are in hex)
0000000a (D) C:\Program Files\SopCast\SopCast.exe
        0000000f    0
        0000000e    0
        0000000b    0 <==
WineDbg terminated on pid 0xa

What's the problem? :(
I can't start SopCast.
_________________
Guru Meditation
Back to top
View user's profile Send private message
bits'n'booze
n00b
n00b


Joined: 19 May 2004
Posts: 25
Location: Germany

PostPosted: Thu Jun 22, 2006 10:09 pm    Post subject: Reply with quote

Honestly: I don't know what's wrong, the output you posted looks fine to me, until it dies suddenly.
The error "broker connection closed retv=-13" pops up once in a while here, too. But it causes no problems here.

Actually "broker connection closed" is what you see if you try to use sp-sc these days. Worked like a charme until some weeks ago.

Maybe, it's just their servers. When I was trying stuff out over the last days, their service (broker, website) was often horribly slow or just not available. I suggest you try again in a couple of hours (if you have not already done so).
And, most important: try other channels (start with cctv-5 as that seems to be very reliable), because not all channels work. I have no clue why, as far as I know they all use the same streaming/format.

Below, you can see the output of what I get here. I cut it into three parts to make orientation a bit easier.

Sorry I can't help you more :(


Code:

$ wine $HOME/.wine/fake_windows/Program\ Files/SopCast/SopCast.exe
For language 'german' several language ids were found:
   de_DE (0407) - German (Germany)
   de_CH (0807) - German (Switzerland)
   de_AT (0C07) - German (Austria)
   de_LU (1007) - German (Luxembourg)
   de_LI (1407) - German (Liechtenstein)
Defaulting to 'de_DE'. You should specify the exact language you want
by defining your LANG environment variable like this: LANG=de_DE
For language 'german' several language ids were found:
   de_DE (0407) - German (Germany)
   de_CH (0807) - German (Switzerland)
   de_AT (0C07) - German (Austria)
   de_LU (1007) - German (Luxembourg)
   de_LI (1407) - German (Liechtenstein)
Defaulting to 'de_DE'. You should specify the exact language you want
by defining your LANG environment variable like this: LANG=de_DE
For language 'german' several language ids were found:
   de_DE (0407) - German (Germany)
   de_CH (0807) - German (Switzerland)
   de_AT (0C07) - German (Austria)
   de_LU (1007) - German (Luxembourg)
   de_LI (1407) - German (Liechtenstein)
Defaulting to 'de_DE'. You should specify the exact language you want
by defining your LANG environment variable like this: LANG=de_DE
err:ole:CoGetClassObject class {6bf52a52-394a-11d3-b153-00c04f79faa6} not registered
err:ole:CoGetClassObject class {6bf52a52-394a-11d3-b153-00c04f79faa6} not registered
err:ole:CoGetClassObject no class object {6bf52a52-394a-11d3-b153-00c04f79faa6} could be created for for context 0x3


After clicking on Login

Code:

detect MTU=4c4
Connection=11   Connection=11
i=0   51
ipExternal:cfeba557  Internal:1a8a8c0  portLocal:37060    portExternal1:37060    External2:37060  linkType:51
tm1.sopcast.com proto=17
adv=938
TD1=4294967176-120:  1151012791:938:4256522150
tm4.sopcast.com proto=17
tm2.sopcast.com proto=17
adv=911
TD2=4294967243-53:  1151012793:911:4256524110
Average difference=4294967209
4294967209
4294967209

Not valid ID

system channelID=99
detect MTU=4c4
localaddr:      c0a8a801:18425, externaladdr:57a5ebcf:18425
hook_broker_connect:msgType=22
hook_broker_connect:npeers=32
--9bd9c457:7308/9bd9c457:7308
--2c366757:6525/2c366757:6525
--960a0757:7579/960a0757:7579
--85eba4d9:11302/d0d46156:11302
--6b88f155:4728/6b88f155:4728
--85fef055:9497/85fef055:9497
--49493055:5529/49493055:5529
--4a881255:54435/73850a25:8249
--4e77e454:7518/4e77e454:7518
--f6ab5e54:4705/f6ab5e54:4705
--13195b54:4624/13195b54:4624
--3f84c453:8438/5d01a8c0:8438
--ee81b453:25889/200000a:5247
--861bb053:4098/861bb053:4098
--abf0e752:7068/abf0e752:7068
--3b509b52:6357/3b509b52:6357
--10b972cf:22961/c30010ac:9407
--b83c2151:7215/9601a8c0:7215
--b2579c8:23771/3001a8c0:4490
--13b90c9:5525/6501a8c0:5525
--d57e32c8:21658/70010aa0:5457
--fbfb9d8d:1425/300a8c0:3992
--c532597:8794/c532597:8794
--9446c281:9595/9446c281:9595
--c01e5dc8:13459/c01e5dc8:13459
--2a0253d:13176/703010a:13176
--22f23cc8:10542/2101a8c0:13891
--e33d70c8:20753/201a8c0:3942
--70353dc8:13531/9a0a0a0a:13531
--6f623046:60952/a02a8c0:6191
--fe2f1058:3925/202a8c0:3925
--f0e92a97:10299/f09a8c0:12847
broker connection closed retv=-13
check_peers_sysch:57c4d99b:7308:
check_peers_sysch:5767362c:6525:
check_peers_sysch:57070a96:7579:
check_peers_sysch:d9a4eb85:11302:
check_peers_sysch:55f1886b:4728:
check_peers_sysch:55f0fe85:9497:
check_peers_sysch:55304949:5529:
check_peers_sysch:5512884a:54435:
check_peers_sysch:54e4774e:7518:
check_peers_sysch:545eabf6:4705:
check_peers_sysch:545b1913:4624:
  4a881255:54435 NEWACCEPT len=20
  NEW ACCEPT
err:ole:CoGetClassObject class {8856f961-340a-11d0-a96b-00c04fd705a2} not registered
err:ole:CoGetClassObject class {8856f961-340a-11d0-a96b-00c04fd705a2} not registered
err:ole:CoGetClassObject no class object {8856f961-340a-11d0-a96b-00c04fd705a2} could be created for for context 0x3
  sio->hook:-13
  sio->hook:-41
check_peers_sysch:53c4843f:8438:
  13195b54:4624 NEWACCEPT len=20
  NEW ACCEPT
  9bd9c457:7308 NEWACCEPT len=20
  NEW ACCEPT
  85fef055:9497 NEWACCEPT len=20
  NEW ACCEPT
BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB


AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAa


Got CHannel list!!!!!!!!!!!
retv = -43
        spsc_cleanup_sysch
sopch2_schedule_sc_misc_sysch retv=-43
CHLST blockSize=11939
4256526372:4256526370


After Connecting to CCTV-5 (Channel-ID 6002)

Code:

channel ID=6002
token=0000000000000000
tk:
streamID=1772
detect MTU=4c4
hook_broker_connect:msgType=22
hook_broker_connect:npeers=20
--6008c457:8556/6008c457:8556
--688cd957:12956/a01a8c0:12956
--7fa6f457:59329/56fea8c0:3937
--6cd80558:6936/2601a8c0:6936
--78e0658:12507/78e0658:12507
--3e890758:12220/3e890758:12220
--b5fa0858:11062/2101a8c0:9911
--5b3d0f58:9458/2301a8c0:9458
--68430f58:10960/68430f58:10960
--fa929858:4093/fa929858:4093
--b105289:4904/b105289:4904
--feb04446:5059/6501a8c0:5059
--83fa8f80:11378/83fa8f80:11378
--88aba243:61487/6800a8c0:4219
--2a0253d:6441/703010a:6441
--3a2557d9:29633/2201a8c0:12364
--6d593057:13310/5201a8c0:13310
--77d33f52:12270/b801a8c0:12270
--bc4ad051:14578/2e65ff29:12427
--c19a67da:12067/6501a8c0:12067
check_peers:57c40860:8556:
check_peers:57d98c68:12956:
check_peers:57f4a67f:59329:
check_peers:5805d86c:6936:
check_peers:58068e07:12507:
check_peers:5807893e:12220:
check_peers:5808fab5:11062:
check_peers:580f3d5b:9458:
check_peers:580f4368:10960:
check_peers:589892fa:4093:
check_peers:8952100b:4904:
check_peers:4644b0fe:5059:
check_peers:808ffa83:11378:
check_peers:43a2ab88:61487:
check_peers:3d25a002:6441:
check_peers:d957253a:29633:
check_peers:5730596d:13310:
check_peers:523fd377:12270:
check_peers:51d04abc:14578:
check_peers:da679ac1:12067:
hook_sc:MSG_PUT_RESOURCE_HEADE len=5332 type=1 blockstart=8313673  83fa8f80:11378
Re--------------------0/0
speer_msg_exchange_block_info blockStart=8313674, nblockAvailable=0
speer_msg_exchange_block_info blockStart=8313674, nblockAvailable=0
GLOBAL downloadRate=11965       dnSum=18200
GLOBAL uploadRate=0     upSum=0
Re--------------------0/6
speer_msg_exchange_block_info blockStart=8313678, nblockAvailable=1
GLOBAL downloadRate=39502       dnSum=78678
GLOBAL uploadRate=0     upSum=0
speer_msg_exchange_block_info blockStart=8313680, nblockAvailable=5
Re--------------------0/10
speer_msg_exchange_block_info blockStart=8313682, nblockAvailable=6
GLOBAL downloadRate=46462       dnSum=149394
GLOBAL uploadRate=0     upSum=0
speer_msg_exchange_block_info blockStart=8313682, nblockAvailable=7
speer_msg_exchange_block_info blockStart=8313684, nblockAvailable=8



From there on the output continues like that.
_________________
---
Adopt an unanswered post today!
Back to top
View user's profile Send private message
Occasus
Apprentice
Apprentice


Joined: 22 Feb 2005
Posts: 158
Location: Italia

PostPosted: Fri Jun 23, 2006 1:27 pm    Post subject: Reply with quote

Code:
[aestas]occasus ~ $ emerge -pv wine | grep wine
[ebuild   R   ] app-emulation/wine-0.9.8-r1  +X +alsa -arts -cups -debug +esd +gif +glut +jack +jpeg +lcms -ldap -nas +ncurses +opengl +oss -scanner +truetype -xml 0 kB

Maybe is there any problems with my USE flags?
_________________
Guru Meditation
Back to top
View user's profile Send private message
bits'n'booze
n00b
n00b


Joined: 19 May 2004
Posts: 25
Location: Germany

PostPosted: Fri Jun 23, 2006 11:10 pm    Post subject: Reply with quote

Quite a difference compared to my use flags:
Code:

hal ~ # emerge -pv wine

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] app-emulation/wine-0.9.8-r1  USE="X alsa arts cups jpeg ldap ncurses opengl scanner truetype xml -debug -esd -gif -glut* -jack -lcms* -nas -oss" 0 kB


Unfortunately, my knowledge of wine is very limited. But if a change in USE solves your problem, please let us know.

Also, here is my wine config, it might or might not be useful to you:

Code:

hal ~ # cat /home/sheil/.wine/config
WINE REGISTRY Version 2
;; All keys relative to \\Machine\\Software\\Wine\\Wine\\Config

;;
;; MS-DOS drives configuration
;;
;; Each section has the following format:
;; [Drive X]
;; "Path"="xxx"       (Unix path for drive root)
;; "Type"="xxx"       (supported types are 'floppy', 'hd', 'cdrom' and 'network')
;; "Label"="xxx"      (drive label, at most 11 characters)
;; "Serial"="xxx"     (serial number, 8 characters hexadecimal number)
;; "Filesystem"="xxx" (supported types are 'msdos'/'dos'/'fat', 'win95'/'vfat', 'unix')
;;   This is the FS Wine is supposed to emulate on a certain
;;   directory structure.
;;   Recommended:
;;   - "win95" for ext2fs, VFAT and FAT32
;;   - "msdos" for FAT16 (ugly, upgrading to VFAT driver strongly recommended)
;;   DON'T use "unix" unless you intend to port programs using Winelib !
;; "Device"="/dev/xx" (only if you want to allow raw device access)
;;

[Drive A]
"Type" = "floppy"
"Path" = "/mnt/floppy"
"Label" = "/mnt/floppy"
"Device" = "/dev/floppy/0"

[Drive C]
"Path" = "/home/sheil/.wine/fake_windows"
"Type" = "hd"
"Label" = "/home/sheil/.wine/fake_windows"
"Filesystem" = "win95"

[Drive D]
"Type" = "hd"
"Path" = "/mnt/win"
"Label" = "/mnt/win"
"FS" = "win95"

[Drive M]
"Type" = "cdrom"
"Path" = "/mnt/cdrom"
"Label" = "/mnt/cdrom"
"FS" = "win95"
"Device" = "/dev/cdroms/../ide/host0/bus1/target0/lun0/cd"

[Drive N]
"Type" = "cdrom"
"Path" = "/mnt/cdrom1"
"Label" = "/mnt/cdrom1"
"FS" = "win95"
"Device" = "/dev/cdroms/../ide/host0/bus1/target1/lun0/cd"

[Drive X]
"Type" = "hd"
"Path" = "/tmp"
"Label" = "Tmp Drive"
"FS" = "win95"

[Drive Y]
"Type" = "network"
"Path" = "${HOME}"
"Label" = "Home"
"FS" = "win95"

[Drive Z]
"Type" = "network"
"Path" = "/"
"Label" = "Root"
"FS" = "win95"

[wine]
"Windows" = "C:\\Windows"
"System" = "C:\\Windows\\System"
"Temp" = "X:\\"
"Path" = "C:\\Windows;C:\\Windows\\System;X:\\;Y:\\"
"GraphicsDriver" = "x11drv"
; Wine doesn't pass directory symlinks to Windows programs by default.
; Enabling this may crash some programs that do recursive lookups of a whole
; subdir tree in case of a symlink pointing back to itself.
;"ShowDirSymlinks" = "1"
"ShellLinker" = "wineshelllink"

[Version]
"Windows" = "win98"

# <wineconf>

[DllOverrides]
; default for all other dlls
; some dlls you may want to change
"oleaut32"     = "builtin, native"
"ole32"        = "builtin, native"
"commdlg"      = "builtin, native"
"comdlg32"     = "builtin, native"
"shell"        = "builtin, native"
"shell32"      = "builtin, native"
"shfolder"     = "builtin, native"
"shlwapi"      = "builtin, native"
"shdocvw"      = "builtin, native"
"advapi32"     = "builtin, native"
"msvcrt"       = "native, builtin"
"mciavi.drv"   = "native, builtin"
"mcianim.drv"  = "native, builtin"
"cfgmgr32" = "native, builtin"
; For ie6
"*comctl32" = "builtin"
"mshtml" = "native, builtin"
; For Outlook97
"mapi" = "native, builtin"
"mapi32" = "native, builtin"
; Native dlls needed for various parts of the install
"ole32" = "native, builtin"
"compobj" = "native, builtin"
"ole2" = "native, builtin"
"ole2nls" = "native, builtin"
"ole2conv" = "native, builtin"
"ole2prox" = "native, builtin"
"ole2thk" = "native, builtin"
"storage" = "native, builtin"
"olepro32" = "native, builtin"
"rpcrt4" = "native, builtin"
"oleaut32" = "native, builtin"
"msvcrt" = "native, builtin"
"wininet" = "native, builtin"
; for the ie runonce
"setupapi" = "native, builtin"
"devenum" = "native, builtin"
"quartz" = "native, builtin"
"urlmon" = "native"
"shdocvw" = "native, builtin"
"jscript" = "native, builtin"
"wintrust" = "native, builtin"
"shlwapi" = "native, builtin"
"secur32" = "native, builtin"
"crypt32" = "native, builtin"
"ddraw" = "native, builtin"
; default for all other dlls
"*" = "builtin, native, so"

[x11drv]
; Number of colors to allocate from the system palette
"AllocSystemColors" = "100"
; Use a private color map
"PrivateColorMap" = "N"
; Favor correctness over speed in some graphics operations
"PerfectGraphics" = "N"
; Color depth to use on multi-depth screens
;;"ScreenDepth" = "16"
; Name of X11 display to use
;;"Display" = ":0.0"
; Allow the window manager to manage created windows
"Managed" = "Y"
; Use a desktop window of 640x480 for Wine
"Desktop" = "N"
; Use XFree86 DGA extension if present
; (make sure /dev/mem is accessible by you !)
"UseDGA" = "Y"
; Use XShm extension if present
"UseXShm" = "Y"
; Enable DirectX mouse grab
"DXGrab" = "N"
; Create the desktop window with a double-buffered visual
; (useful to play OpenGL games)
"DesktopDoubleBuffered" = "N"
; Code page used for captions in managed mode
; 0 means default ANSI code page (CP_ACP == 0)
"TextCP" = "0"
; Use this if you have more than one port for video on your setup
; (Wine uses for now the first 'input image' it finds).
;; "XVideoPort" = "43"
; Run in synchronous mode (useful for debugging X11 problems)
;;"Synchronous" = "Y"

[fonts]
;Read documentation/fonts before adding aliases
;See a couple of examples for russian users below
"Resolution" = "96"
"Default" = "-adobe-helvetica-"
"DefaultFixed" = "fixed"
"DefaultSerif" = "-adobe-times-"
"DefaultSansSerif" = "-adobe-helvetica-"

;; default TrueType fonts with russian koi8-r encoding
;"Default" = "-monotype-arial-*-*-*--*-*-*-*-*-*-koi8-r"
;"DefaultFixed" = "-monotype-courier new-*-*-*--*-*-*-*-*-*-koi8-r"
;"DefaultSerif" = "-monotype-times new roman-*-*-*--*-*-*-*-*-*-koi8-r"
;"DefaultSansSerif" = "-monotype-arial-*-*-*--*-*-*-*-*-*-koi8-r"
;; default cyrillic bitmap X fonts
;"Default" = "-cronyx-helvetica-"
;"DefaultFixed" = "fixed"
;"DefaultSerif" = "-cronyx-times-"
;"DefaultSansSerif" = "-cronyx-helvetica-"

[serialports]
"Com1" = "/dev/ttyS0"
"Com2" = "/dev/ttyS1"

[parallelports]
"Lpt1" = "/dev/lp0"

[spooler]
"LPT1:" = "|lpr"
"LPT2:" = "|gs -sDEVICE=bj200 -sOutputFile=/tmp/fred -q -"
"LPT3:" = "/dev/lp3"

[ports]
;"read" = "0x779,0x379,0x280-0x2a0"
; "write" = "0x779,0x379,0x280-0x2a0"

[spy]
"Exclude" = "WM_SIZE;WM_TIMER;"

[registry]
;These are all booleans.  Y/y/T/t/1 are true, N/n/F/f/0 are false.
;Defaults are read all, write to Home
; Global registries (stored in /etc)
"LoadGlobalRegistryFiles" = "Y"
; Home registries (stored in ~user/.wine/)
"LoadHomeRegistryFiles" = "Y"
; Load Windows registries from the Windows directory
"LoadWindowsRegistryFiles" = "Y"
; TRY to write all changes to home registries
"WritetoHomeRegistryFiles" = "Y"
; Registry periodic save timeout in seconds
; "PeriodicSave" = "600"
; Save only modified keys
"SaveOnlyUpdatedKeys" = "Y"

[Tweak.Layout]
;; supported styles are 'Win31'(default), 'Win95', 'Win98'
"WineLook" = "Win95"

[Console]
;"Drivers" = "tty"
;"XtermProg" = "nxterm"
;"InitialRows" = "25"
;"InitialColumns" = "80"
;"TerminalType" = "nxterm"

[Clipboard]
"ClearAllSelections" = "0"
"PersistentSelection" = "1"

; List of all directories directly contain .AFM files

[afmdirs]
"1" = "/usr/share/ghostscript/fonts"
"2" = "/usr/share/a2ps/afm"
"3" = "/usr/share/enscript"
"4" = "/usr/X11R6/lib/X11/fonts/Type1"

[WinMM]
"Drivers" = "winealsa.drv"
"WaveMapper" = "msacm.drv"
"MidiMapper" = "midimap.drv"

# </wineconf>


Good luck!
_________________
---
Adopt an unanswered post today!
Back to top
View user's profile Send private message
Occasus
Apprentice
Apprentice


Joined: 22 Feb 2005
Posts: 158
Location: Italia

PostPosted: Sat Jun 24, 2006 2:25 pm    Post subject: Reply with quote

Now SopCast starts!
Solution:
$ wget http://download.sopcast.org/download/sp-sc.tgz
$ tar xvf sp-sc.tgz
# mv sp-sc /usr/bin
$ wget http://apt.magiclinux.org/magiclinux/RPMS.extras/sopcast-0.4-3mgc.i686.rpm
$ rpm2targz sopcast-0.4-3mgc.i686.rpm
$ tar xvf sopcast-0.4-3mgc.i686.tar.gz
# mv usr/bin/sopgui /usr/bin
# mv usr/share/pixmaps/sopcast.xpm /usr/share/pixmaps/
# mv usr/share/locale/zh_CN/LC_MESSAGES/sopgui_zh.qm /usr/share/locale/zh_CN/LC_MESSAGES/
$ sopgui
From another xterm:
mplayer http://localhost:8900
_________________
Guru Meditation
Back to top
View user's profile Send private message
bits'n'booze
n00b
n00b


Joined: 19 May 2004
Posts: 25
Location: Germany

PostPosted: Sun Jun 25, 2006 9:26 pm    Post subject: Reply with quote

Very cool they finally released the 0.9.6 version of sp-sc, so no need for wine anymore.
_________________
---
Adopt an unanswered post today!
Back to top
View user's profile Send private message
bits'n'booze
n00b
n00b


Joined: 19 May 2004
Posts: 25
Location: Germany

PostPosted: Mon Jun 26, 2006 10:16 pm    Post subject: Reply with quote

I just came home from a trip over the weekend and had time to check out the new sp-sc, which works great btw..

But, I am having trouble making sopgui behave itself:
The problem is, that after some minutes watching a stream, sopgui - for whatever reason - fires up another one, two or three xine/mplayer windows within a couple of seconds. All of those windows show the stream with little lag, so I hear an ugly echo effect (plus rising system load with every new instance of xine/mplayer). If I close all but one windows, it will take some time and do the same thing.

Any ideas?
_________________
---
Adopt an unanswered post today!
Back to top
View user's profile Send private message
bits'n'booze
n00b
n00b


Joined: 19 May 2004
Posts: 25
Location: Germany

PostPosted: Tue Jun 27, 2006 12:08 pm    Post subject: Reply with quote

I found an workaround to the above problem, so in case anybody has the same problem...

If I fill in mplayer/xine to be my desired player (in sopgui config), the above described problem is the result.
If I enter nonsense (i.e. kaffeine, which is not installed on my box), but then open up xine/mplayer/whatever from a shell, all is fine.
Leaving the field for "Player" empty gives an error btw.

But, nevertheless: If somebody knows how to solve the underlying problem, so that the player can be started from within sopgui, that would be very nice.
_________________
---
Adopt an unanswered post today!
Back to top
View user's profile Send private message
mahdi1234
Guru
Guru


Joined: 19 Feb 2005
Posts: 559
Location: Being There

PostPosted: Fri Nov 03, 2006 7:59 pm    Post subject: Reply with quote

created ebuild for gtk-sopcast

update 2007/04/14:

As ebuild conventions changed lately, updated depend section - thanks linuxtuxhellsinki

Code:
$ cat /usr/local/portage/media-tv/gsopcast/gsopcast-0.2.9.ebuild
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

DESCRIPTION="a gtk front-end of p2p TV sopcast"
HOMEPAGE="http://lianwei3.googlepages.com/home2"
SRC_URI="http://lianwei3.googlepages.com/${P}.tar.bz2"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="x86"
IUSE=""

DEPEND=">=media-tv/sp-sc-0.9.6
    net-misc/curl
    media-libs/alsa-lib
    >=x11-libs/gtk+-2"
RDEPEND="${DEPEND}"

S=${WORKDIR}/${P}/src/

src_unpack() {
    unpack ${A} || die "Failed to unpack ${A}"
}

src_compile() {
    emake || die "emake failed"
}

src_install() {
    dobin gsopcast || die "dobin gsopcast failed"
}


it has also dependency on sp-sc

Code:
$ cat /usr/local/portage/media-tv/sp-sc/sp-sc-0.9.6.ebuild
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

DESCRIPTION="SopCast client version 0.9.6 library dependency"
HOMEPAGE="http://lianwei3.googlepages.com/home2"
SRC_URI="http://download.sopcast.org/download/sp-sc.tgz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="x86"
IUSE=""

DEPEND="sys-libs/libstdc++-v3"
RDEPEND="${DEPEND}"

S=${WORKDIR}/sp-sc/

src_unpack() {
    unpack ${A} || die "Failed to unpack ${A}"
}

src_install() {
    dobin sp-sc || die "dobin sp-sc failed"
}


I don't expect this to be ever included in portage for it's controversial nature, so posting only here. Enjoy.


Last edited by mahdi1234 on Sat Apr 14, 2007 10:09 am; edited 2 times in total
Back to top
View user's profile Send private message
Bloot
Tux's lil' helper
Tux's lil' helper


Joined: 10 Mar 2006
Posts: 99
Location: Barcelona

PostPosted: Sun Nov 19, 2006 7:52 pm    Post subject: Reply with quote

Hey many thanks for the ebuilds. ;)

Works like a charm.
Back to top
View user's profile Send private message
The Ennead
Apprentice
Apprentice


Joined: 31 Jan 2003
Posts: 157
Location: Red Half Of Manchester, UK

PostPosted: Sat Dec 09, 2006 11:20 am    Post subject: Reply with quote

Diito. cheers m8 :) ManU kicks off in an hour and it's working well :D
Back to top
View user's profile Send private message
linuxtuxhellsinki
l33t
l33t


Joined: 15 Nov 2004
Posts: 700
Location: Hellsinki

PostPosted: Sat Apr 14, 2007 10:00 am    Post subject: Reply with quote

Thanks for the ebuild, but you've to delete equal signs(=) from DEPEND in both of 'em to make it work.
Code:
    net-misc/curl
    media-libs/alsa-lib

DEPEND="sys-libs/libstdc++-v3"

_________________
1st use 'Search' & lastly add [Solved] to
the subject of your first post in the thread.
Back to top
View user's profile Send private message
Dottout
l33t
l33t


Joined: 07 Mar 2006
Posts: 882

PostPosted: Thu Jul 05, 2007 4:38 pm    Post subject: Reply with quote

gsopcast svn ebuild:
Code:

# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

inherit subversion eutils

ESVN_REPO_URI="http://gsopcast.googlecode.com/svn/trunk"
ESVN_PROJECT="gsopcast"

DESCRIPTION="a gtk front-end of p2p TV sopcast"
SRC_URI=""
HOMEPAGE="http://lianwei3.googlepages.com/home2"

IUSE=""
SLOT="0"
LICENSE="GPL-2"
KEYWORDS="~x86"

DEPEND=">=media-tv/sp-sc-0.9.6
    net-misc/curl
    media-libs/alsa-lib
    >=x11-libs/gtk+-2"
RDEPEND="${DEPEND}"

pkg_setup() {
   eerror "This is a LIVE SVN ebuild."
   eerror "That means there are NO promises it will work."
}

src_compile() {
        ./autogen.sh
        econf || die "configure failed"
        emake || die "make failed"
}


src_install() {
        einstall || die
}


suggestion: wouldn't be 'unsupported software' a better place for these ebuilds?
Back to top
View user's profile Send private message
Dottout
l33t
l33t


Joined: 07 Mar 2006
Posts: 882

PostPosted: Thu Jul 12, 2007 2:39 pm    Post subject: Reply with quote

sopcast 1.0.2 for linux is out
Back to top
View user's profile Send private message
arttuv
n00b
n00b


Joined: 05 Jun 2007
Posts: 8

PostPosted: Sat Jul 21, 2007 3:26 pm    Post subject: qsopcast and sopcast-bin ebuilds attached to the bug/request Reply with quote

Dottout wrote:
sopcast 1.0.2 for linux is out


I dropped some ebuilds for sopcast 1.0.2 and qsopcast 0.3.5 on the Gentoo bug/ebuild-request concerning sopcast, over here:

https://bugs.gentoo.org/show_bug.cgi?id=181134

The sopcast-bin ebuild is pretty much the "complex" one ;) given here by Dottout, except for the license which I haven't been able to figure out, and for the renamed files within the v1.0.2 tgz. Anyway, as far as I can tell, its license cannot be GNU GPL since there is no source being distributed.

Maybe the ebuilds work for someone else, too? Maybe the gsopcast-svn ebuild could be attached to that bug as well?
Back to top
View user's profile Send private message
kreon28
Apprentice
Apprentice


Joined: 08 Jul 2006
Posts: 165

PostPosted: Fri Jul 27, 2007 8:42 pm    Post subject: Reply with quote

Hi,

I think I've got a problem with emerging qsopcast :/
Code:
>>> Emerging (1 of 1) media-tv/qsopcast-0.35 to /
 * qsopcast-0.3.5.tar.bz2 MD5 ;-) ...                                     [ ok ]
 * qsopcast-0.3.5.tar.bz2 RMD160 ;-) ...                                  [ ok ]
 * qsopcast-0.3.5.tar.bz2 SHA1 ;-) ...                                    [ ok ]
 * qsopcast-0.3.5.tar.bz2 SHA256 ;-) ...                                  [ ok ]
 * qsopcast-0.3.5.tar.bz2 size ;-) ...                                    [ ok ]
 * checking ebuild checksums ;-) ...                                      [ ok ]
 * checking auxfile checksums ;-) ...                                     [ ok ]
 * checking miscfile checksums ;-) ...                                    [ ok ]
 * checking qsopcast-0.3.5.tar.bz2 ;-) ...                                [ ok ]
>>> Unpacking source...
>>> Unpacking qsopcast-0.3.5.tar.bz2 to /var/tmp/portage/media-tv/qsopcast-0.35/work
sed: can't read /var/tmp/portage/media-tv/qsopcast-0.35/work/qsopcast-0.35/src/qsopcast.pro: No such file or directory
 * Downloading the icon ...
/usr/portage/media-tv/qsopcast/qsopcast-0.35.ebuild: line 38: /var/tmp/portage/media-tv/qsopcast-0.35/work/qsopcast-0.35/src/../sopcast-logo.gif: No such file or directory
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/media-tv/qsopcast-0.35 ...
Usage: qmake [mode] [options] [files]

   QMake has two modes, one mode for generating project files based on
some heuristics, and the other for generating makefiles. Normally you
shouldn't need to specify a mode, as makefile generation is the default
mode for qmake, but you may use this to test qmake on an existing project

Mode:
        -project       Put qmake into project file generation mode
                       In this mode qmake interprets files as files to
                       be built,
                       defaults to *.c; *.ui; *.y; *.l; *.ts; *.h; *.hpp; *.hh; *.H; *.hxx; *.cpp; *.cc; *.cxx; *.C
        -makefile      Put qmake into makefile generation mode (default)
                       In this mode qmake interprets files as project files to
                       be processed, if skipped qmake will try to find a project
                       file in your current working directory

Warnings Options:
        -Wnone         Turn off all warnings
        -Wall          Turn on all warnings
        -Wparser       Turn on parser warnings
        -Wlogic        Turn on logic warnings

Options:
         * You can place any variable assignment in options and it will be     *
         * processed as if it was in [files]. These assignments will be parsed *
         * before [files].                                                     *
        -o file        Write output to file
        -unix          Run in unix mode
        -win32         Run in win32 mode
        -macx          Run in Mac OS X mode
        -d             Increase debug level
        -t templ       Overrides TEMPLATE as templ
        -tp prefix     Overrides TEMPLATE so that prefix is prefixed into the value
        -help          This help
        -v             Version information
        -after         All variable assignments after this will be
                       parsed after [files]
        -cache file    Use file as cache           [makefile mode only]
        -spec spec     Use spec as QMAKESPEC       [makefile mode only]
        -nocache       Don't use a cache file      [makefile mode only]
        -nodepend      Don't generate dependencies [makefile mode only]
        -nomoc         Don't generate moc targets  [makefile mode only]
        -nopwd         Don't look for files in pwd [ project mode only]
        -norecursive   Don't do a recursive search [ project mode only]

!!! ERROR: media-tv/qsopcast-0.35 failed.
Call stack:
  ebuild.sh, line 1621:   Called dyn_compile
  ebuild.sh, line 973:   Called qa_call 'src_compile'
  ebuild.sh, line 44:   Called src_compile
  qsopcast-0.35.ebuild, line 42:   Called die

!!! qmake failed
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! A complete build log is located at '/var/tmp/portage/media-tv/qsopcast-0.35/temp/build.log'.


Anyone know what should I do?
Back to top
View user's profile Send private message
arttuv
n00b
n00b


Joined: 05 Jun 2007
Posts: 8

PostPosted: Sun Jul 29, 2007 10:57 am    Post subject: I have a typo in the ebuild, sry Reply with quote

kreon28 wrote:
>>> Unpacking qsopcast-0.3.5.tar.bz2 to /var/tmp/portage/media-tv/qsopcast-0.35/work
sed: can't read /var/tmp/portage/media-tv/qsopcast-0.35/work/qsopcast-0.35/src/qsopcast.pro: No such file or directory
* Downloading the icon ...
/usr/portage/media-tv/qsopcast/qsopcast-0.35.ebuild: line 38: /var/tmp/portage/media-tv/qsopcast-0.35/work/qsopcast-0.35/src/../sopcast-logo.gif: No such file or directory
>>> Source unpacked.


I seem to have a really embarrassing typo in the ebuild (the version). I'll fix it shortly.
Back to top
View user's profile Send private message
arttuv
n00b
n00b


Joined: 05 Jun 2007
Posts: 8

PostPosted: Sun Jul 29, 2007 11:09 am    Post subject: Rename the ebuild file Reply with quote

kreon28 wrote:
I think I've got a problem with emerging qsopcast :/
[code]>>> Emerging (1 of 1) media-tv/qsopcast-0.35 to /
* qsopcast-0.3.5.tar.bz2 MD5 ;-) ... [ ok ]

Anyone know what should I do?


Now I think I see the problem, I don't think it was my typo after all. ;)

See the difference above between the package name (qsopcast-0.3.5.tar.bz2) and your ebuild file name (qsopcast-0.35.ebuild)? The version numbers are not matching (0.3.5 vs 0.35).

Rename your ebuild file to match the source file version: add the missing dot between the '3' and '5'. I hope this fixes it for you?
Back to top
View user's profile Send private message
Dottout
l33t
l33t


Joined: 07 Mar 2006
Posts: 882

PostPosted: Sat Dec 01, 2007 2:17 pm    Post subject: Reply with quote

media-tv/sopcast-1.1.1.ebuild
Code:

# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

inherit eutils

MY_P="sp-auth"
S="${WORKDIR}/${MY_P}"

DESCRIPTION="SopCast free P2P Internet TV binary"
LICENSE="SopCast-unknown-license"
HOMEPAGE="http://www.sopcast.com/"
SRC_URI="http://download.sopcast.com/download/${MY_P}.tgz"

SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""

# All dependencies might not be listed, since the binary blob's homepage only lists libstdc++
RDEPEND=">=virtual/libstdc++-3.3"

DEPEND="${RDEPEND}"



src_unpack() {
        ewarn "SopCast binary blob is distributed without version info in its package."
        ewarn "Thus, in case this ebuild fails, you might want to remove your " $MY_SRC
        ewarn "from /usr/portage/distfiles and check whether they have release a newer"
        ewarn "version on their homepage at"
        ewarn $HOMEPAGE

        unpack ${A}
}

src_install() {
        cd ${S}
        dobin sp-sc-auth
        # we need to make the above available for older stuff expecting to find it with the old name
        dosym /usr/bin/sp-sc-auth /usr/bin/sp-sc
        dobin sp-so-auth
        dodoc Readme
}
Back to top
View user's profile Send private message
gr0x0rd
Guru
Guru


Joined: 12 Aug 2006
Posts: 311

PostPosted: Fri Dec 14, 2007 5:47 am    Post subject: Reply with quote

I used the resources in this thread to get sopcast up and running. All of the active gui's seem to use the qt libraries so I didn't bother with a GUI. There wasn't much out there in the way of a how-to once it was installed so I thought I'd post it here to save any new users some time...

Once the sp-sc is ready in your /usr/bin all you need is a sop:// url. Connect to the stream using the following commands:

Code:
$ sp-sc [url] 3908 8908 >/dev/null &


This will return a processID. Next, open your favorite media viewer and open the following network stream:

http://127.0.0.1:8908

Enjoy the show. When you're done, don't forget to kill the process.

That's it.
_________________
~g
emerge -FML...
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum