Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 341433 - sopcast-player-0.3.3 - A GTK+ front-end for the SopCast P2P TV player
Summary: sopcast-player-0.3.3 - A GTK+ front-end for the SopCast P2P TV player
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement with 3 votes (vote)
Assignee: Default Assignee for New Packages
URL:
Whiteboard:
Keywords:
Depends on: 181134
Blocks:
  Show dependency tree
 
Reported: 2010-10-17 08:12 UTC by Ryan Li
Modified: 2020-12-11 11:45 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Proposed ebuild for sopcast-player 0.3.3 (sopcast-player-0.3.3.ebuild,636 bytes, text/plain)
2010-10-17 08:16 UTC, Ryan Li
Details
media-tv/sopcast-player-0.3.3-r1.ebuild (sopcast-player-0.3.3.ebuild,679 bytes, text/plain)
2010-10-17 08:44 UTC, Ryan Li
Details
New ebuild for version 0.4.1 (sopcast-player-0.4.1.ebuild,698 bytes, text/plain)
2010-11-20 12:57 UTC, Ryan Li
Details
sopcast-player-0.7.1.ebuild (sopcast-player-0.7.1.ebuild,716 bytes, application/octet-stream)
2011-05-19 13:30 UTC, Ján Bednár
Details
sopcast-player-0.7.2.ebuild (sopcast-player-0.7.2.ebuild,866 bytes, text/plain)
2011-05-31 10:31 UTC, Ryan Li
Details
version bump (sopcast-player-0.8.3.ebuild,962 bytes, text/plain)
2012-05-22 19:24 UTC, Pietro Acinapura
Details
sopcast-player-0.8.5.ebuild (sopcast-player-0.8.5.ebuild,946 bytes, text/plain)
2012-06-19 14:10 UTC, Pietro Acinapura
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ryan Li 2010-10-17 08:12:24 UTC
Hello!

Here is an ebuild for the sopcast-player software, which should be a new package in the Gentoo world.

sopcast-player is a GTK+ front-end for the underlying sopcast P2P TV viewer, which is very popular for online TV in many countries. It is written in PyGTK and licensed under GPL v2.

sopcast-player relies on sopcast-bin, which is the underlying content provider. An ebuild for it could be found at Bug 181134.

Obviously judging from its name, I suggest it categorized under media-tv/.

Works fine on an x86 environment.

Ryan Li
Comment 1 Ryan Li 2010-10-17 08:14:39 UTC
$ emerge --info:

Portage 2.1.8.3 (default/linux/x86/10.0/desktop/gnome, gcc-4.4.3, glibc-2.11.2-r0, 2.6.34-gentoo-r6 i686)
=================================================================
System uname: Linux-2.6.34-gentoo-r6-i686-Intel-R-_Core-TM-_i5_CPU_M_430_@_2.27GHz-with-gentoo-1.12.13
Timestamp of tree: Sun, 17 Oct 2010 06:45:03 +0000
app-shells/bash:     4.1_p7
dev-java/java-config: 2.1.11
dev-lang/python:     2.6.5-r3, 3.1.2-r4
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 1.12.13
sys-apps/sandbox:    2.3-r1
sys-devel/autoconf:  2.13, 2.65-r1
sys-devel/automake:  1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.3-r2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.10
sys-devel/make:      3.81-r2
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="* -@EULA"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -march=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="rsync://mirrors.xmu.edu.cn/gentoo/ http://mirrors.xmu.edu.cn/gentoo ftp://mirrors.xmu.edu.cn/gentoo"
LANG="en_GB.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync2.cn.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa apache2 applet aspell autoipd automount bash-completion battstat berkdb branding bzip2 cairo cdr cjk cli consolekit cracklib crypt cups cxx dbus dhclient dhcpcd disk-partition dri dts dvd dvdr eds emboss encode eurephia evo exif fam ffmpeg firefox flac fontconfig fortran gd gdbm gdu gif gnome gnome-keyring gnutls gpm graphviz gstreamer gtk guile hal iconv imagemagick ipod iproute2 ipv6 java jpeg jpeg2k lame laptop latex lcms ldap libnotify lzma lzo mad mdnsresponder-compat mikmod mmx mng modules mp3 mp4 mpeg mudflap mysql nautilus ncurses networking networkmanager nls nptl nptlonly ntp ogg opengl openmp oss pam pango passwordsave pcre pdf perl php pkcs11 png policykit ppds pppd pulseaudio python qt3support readline reflection samba sdl session spell sqlite ssl startup-notification svg sysfs tcpd theora tiff truetype unicode usb vorbis webkit wifi x264 x86 xcb xml xorg xulrunner xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CAMERAS="canon" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" PHP_TARGETS="php-5.2" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="radeon" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 2 Ryan Li 2010-10-17 08:16:05 UTC
Created attachment 250987 [details]
Proposed ebuild for sopcast-player 0.3.3
Comment 3 Ryan Li 2010-10-17 08:44:17 UTC
Created attachment 250989 [details]
media-tv/sopcast-player-0.3.3-r1.ebuild

Make a symbolic link named sp-sc to sopcast-bin at install so that sopcast-player could correctly use the sopcast-bin provided by the other package.
Comment 4 Liviu Balan 2010-11-06 23:48:23 UTC
Does not work with the new vlc 1.1.4 ebuild. Since this is the only stable ebuild in portage (seems the 1.0* vlc releases have been removed) it will not work...

Here is the error:

Traceback (most recent call last):
  File "/usr/share/sopcast-player/lib/sopcast-player.py", line 1780, in <module>
    pySop = pySopCast()
  File "/usr/share/sopcast-player/lib/sopcast-player.py", line 368, in __init__
    self.vlc = VLCWidget.VLCWidget(*p)
  File "/usr/share/sopcast-player/lib/VLCWidget.py", line 28, in __init__
    self.player=instance.mediacontrol_new_from_instance()
AttributeError: 'Instance' object has no attribute 'mediacontrol_new_from_instance'
Comment 5 Ryan Li 2010-11-20 12:57:04 UTC
Created attachment 254909 [details]
New ebuild for version 0.4.1

The author just updated the software to 0.4.1, and the new ebuild comes here.
Comment 6 zhoumi 2011-05-01 02:22:27 UTC
please update the ebuild for the main version is 0.6.0 now.
Comment 7 Ján Bednár 2011-05-19 13:30:49 UTC
Created attachment 273961 [details]
sopcast-player-0.7.1.ebuild
Comment 8 Ryan Li 2011-05-31 10:31:34 UTC
Created attachment 275311 [details]
sopcast-player-0.7.2.ebuild

ebuild for 0.7.2 which updates icon cache.
Comment 9 Anton Bolshakov 2012-04-20 23:34:30 UTC
(In reply to comment #8)
> ebuild for 0.7.2 which updates icon cache.

does not work here:

the first error:
*** stack smashing detected ***: python2.7 - terminated
python2.7: stack smashing attack in function <unknown> - terminated

seems like the bug http://code.google.com/p/sopcast-player/issues/detail?id=84


the second:
libglade-WARNING **: unknown property `ubuntu_local' for class `GtkMenu'

it's in the pySopCast.glade file
Comment 10 Pietro Acinapura 2012-05-22 19:24:53 UTC
Created attachment 312741 [details]
version bump
Comment 11 Pietro Acinapura 2012-05-22 19:25:41 UTC
Comment on attachment 312741 [details]
version bump

sopcast-player-0.8.3
Comment 12 Pietro Acinapura 2012-06-19 14:10:22 UTC
Created attachment 315759 [details]
sopcast-player-0.8.5.ebuild

sopcast-player-0.8.5.ebuild version bump
Comment 13 MarcusX 2012-09-06 01:10:22 UTC
I emerged sopcast-player-0.8.5 successfully, but I can't find any shortcut for the program..
I checked the emerge log and it seems that when I emerged it, it placed a copy of the source code in /sopcast-player
I went there and I read the INSTALL document, therefore I ran:

make
make install

When I ran the last command, I got the following error:


T430s sopcast-player # make install
#@if test -z ""; then \
#       sed -e 's|@PYTHON@|/usr/bin/python|g' -e 's|@DIR@|/sopcast-player|g' -e 's|@NAME@|sopcast-player|g' sopcast-player.in > sopcast-player; \
#fi
install -p -dm 0755 /usr/share/sopcast-player/resources
install -p -dm 0755 /usr/share/sopcast-player/lib
install -p -dm 0755 /usr/share/sopcast-player/ui
install -p -dm 0755 /usr/bin
install -p -dm 0755 /usr/share/locale
install -p -dm 0755 /usr/share/icons/hicolor/scalable/apps
install -p -dm 0755 /usr/share/applications
install -p -m 0644 lib/* /usr/share/sopcast-player/lib
install: omitting directory 'lib/__pycache__'
make: *** [install] Error 1




Can someone help please?

thanks a lot!
Comment 14 MarcusX 2012-09-06 01:15:10 UTC
My 'emerge --info' if it helps troubleshooting the problem:



T430s sopcast-player # emerge --info
Portage 2.1.11.13 (default/linux/amd64/10.0, gcc-4.5.4, glibc-2.15-r2, 3.4.9-gentoo x86_64)
=================================================================
System uname: Linux-3.4.9-gentoo-x86_64-Intel-R-_Core-TM-_i5-3320M_CPU_@_2.60GHz-with-gentoo-2.1
Timestamp of tree: Tue, 04 Sep 2012 03:30:01 +0000
ccache version 3.1.7 [disabled]
app-shells/bash:          4.2_p37
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.3-r2, 3.2.3
dev-util/ccache:          3.1.7
dev-util/cmake:           2.8.8-r3
dev-util/pkgconfig:       0.27
sys-apps/baselayout:      2.1-r1
sys-apps/openrc:          0.10.5
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.11.6
sys-devel/binutils:       2.22-r1
sys-devel/gcc:            4.5.4
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r3
sys-kernel/linux-headers: 3.4-r2 (virtual/os-headers)
sys-libs/glibc:           2.15-r2
Repositories: gentoo x-portage
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.4/ext-active/ /etc/php/cgi-php5.4/ext-active/ /etc/php/cli-php5.4/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://10.10.10.30/gentoo-portage"
USE="X acl alsa amd64 apache2 apm bash-completion berkdb bluetooth bzip2 cli consolekit cracklib crypt cups cxx dri dv dvd dvr ffmpeg fortran gd gdbm git gpm gstreamer gtk iconv java javascript jpeg jpeg2k kde lame laptop matroska midi mmx mng modules mp2 mp3 mplayer mudflap multilib mysql mysqli ncurses nfs nls nptl ntfs3g opengl openmp pam pcre perl php plasma png policykit pppd python python3 qt3 qt3support qt4 readline rtc samba semantic-desktop session smp sql sqlite sqlite3 sse sse2 sse3 sse4_1 sse4_2 ssl ssse3 subversion suhosin svg symlink tcpd truetype udev unicode v4l v4l2 x264 xine xml xorg xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" PHP_TARGETS="php5-3" PYTHON_TARGETS="python3_2 python2_7" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="intel" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON