Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 319995 - New ebuild for webcamstudio
Summary: New ebuild for webcamstudio
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement with 2 votes (vote)
Assignee: Default Assignee for New Packages
URL: http://www.ws4gl.org/
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2010-05-16 15:11 UTC by PhobosK
Modified: 2013-03-21 23:25 UTC (History)
6 users (show)

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


Attachments
Initial gstreamer-java ebuild (gstreamer-java-1.3.ebuild,1.06 KB, text/plain)
2010-05-16 15:13 UTC, PhobosK
Details
Initial webcamstudio ebuild (webcamstudio-0.54.ebuild,3.08 KB, text/plain)
2010-05-16 15:14 UTC, PhobosK
Details
All needed ebuilds as should be in portage overlay (portage.tar.bz2,3.37 KB, application/octet-stream)
2010-05-16 15:16 UTC, PhobosK
Details
Version 1.4 of gstreamer-java ebuild. (gstreamer-java-1.4.ebuild,1.05 KB, text/plain)
2010-09-06 21:03 UTC, PhobosK
Details
Version 0.56 of webcamstudio ebuild (webcamstudio-0.56.ebuild,3.33 KB, text/plain)
2010-09-06 21:05 UTC, PhobosK
Details
All needed ebuilds as should be in portage overlay (portage.tar.bz2,4.52 KB, application/octet-stream)
2010-09-06 21:06 UTC, PhobosK
Details
Fixed dependencies of the initial webcamstudio-0.54 version (revision 1). (webcamstudio-0.54-r1.ebuild,3.17 KB, text/plain)
2010-09-06 21:12 UTC, PhobosK
Details
Patrick's build log from failed emerge (webcamstudio_build_log.txt,179.42 KB, text/plain)
2010-09-09 22:13 UTC, Patrick McMunn
Details
failed build.log (build.log,9.28 KB, text/plain)
2010-11-03 13:46 UTC, fling
Details
WebcamStudio 0.56 revision 1 ebuild (webcamstudio-0.56-r1.ebuild,2.75 KB, text/plain)
2010-11-04 20:21 UTC, PhobosK
Details
WebcamStudio kernel module version 1.4 (webcamstudio-module-1.4.ebuild,1009 bytes, text/plain)
2010-11-04 20:24 UTC, PhobosK
Details
All needed ebuilds as should be in portage overlay. (portage.tar.bz2,5.39 KB, application/x-bzip2)
2010-11-04 20:26 UTC, PhobosK
Details
WebcamStudio kernel module version 1.4 revision 1 (webcamstudio-module-1.4-r1.ebuild,1.04 KB, text/plain)
2010-11-07 16:05 UTC, PhobosK
Details
A new WebcamStudio kernel module ebuild revision to fix broken compilation on kernel 2.6.37 (semaphore problem) (webcamstudio-module-1.4-r2.ebuild,1.11 KB, text/plain)
2011-02-05 22:40 UTC, PhobosK
Details
The patch for kernels 2.6.37 for the WebcamStudio kernel module - latest ebuild 1.4-r2 (webcamstudio-module-1.4-semaphore-fix.patch,1.32 KB, patch)
2011-02-05 22:42 UTC, PhobosK
Details | Diff
The Webcamstudio 0.60 alpha ebuild (SVN revision 370) (webcamstudio-0.60_p370.ebuild,4.11 KB, text/plain)
2012-05-05 11:35 UTC, PhobosK
Details
The Webcamstudio 0.60 alpha kernel module ebuild (SVN revision 370) (webcamstudio-module-104_p370.ebuild,1.78 KB, text/plain)
2012-05-05 11:36 UTC, PhobosK
Details
All needed ebuilds for Webcam studio 0.60 alpha (SVN revision 370) as should be in portage overlay. (media-video.tar.bz2,4.40 KB, application/x-bzip2)
2012-05-05 11:38 UTC, PhobosK
Details
Webcam studio 0.60 alpha (SVN revision 416) overlay. (media-video.tar.bz2,4.63 KB, application/x-bzip2)
2012-06-23 23:24 UTC, PhobosK
Details
Webcam studio 0.60 alpha (SVN revision 416) revision 1 ebuild (webcamstudio-module-104_p416-r1.ebuild,1.78 KB, text/plain)
2012-10-12 15:23 UTC, PhobosK
Details
The patch needed for Webcam studio 0.60 alpha (SVN revision 416) revision 1 ebuild (webcamstudio-module-v4l2_buffer_input-fix.patch,462 bytes, patch)
2012-10-12 15:25 UTC, PhobosK
Details | Diff
The patch needed for Webcam studio 0.60 alpha (SVN revision 416) revision 1 ebuild (webcamstudio-module-v4l2_buffer_input-fix.patch,532 bytes, patch)
2012-10-18 11:24 UTC, PhobosK
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description PhobosK 2010-05-16 15:11:38 UTC
WebcamStudio For GNU/Linux (http://www.ws4gl.org/) is an application written in Java that creates virtual webcam to broadcast over the Internet. It has a kernel module too.
I propose an ebuild for latest version (ATM) - 0.54
It has some bundled jars that are not in portage. For one of them - gstreamer-java bindings, I have made an ebuild (see bug #305301), so i am uploading this ebuild too.

The third attachment is the actual compressed portage overlay.

Reproducible: Always

Steps to Reproduce:
1. gstreamer-java ebuild goes to dev-java/gstreamer-java in portage overlay
2. webcamstudio ebuild goes into media-video/webcamstudio in portage overlay
3. Create the necessary digests and "emerge webcamstudio"

Actual Results:  
Working gstreamer-java bindings and a working WebcamStudio application.

Expected Results:  
Please test the ebuilds.
Comment 1 PhobosK 2010-05-16 15:13:07 UTC
Created attachment 231681 [details]
Initial gstreamer-java ebuild

Needed for the webcamstudio ebuild.
This goes to dev-java/gstreamer-java in portage overlay.
Comment 2 PhobosK 2010-05-16 15:14:14 UTC
Created attachment 231683 [details]
Initial webcamstudio ebuild

This goes to media-video/webcamstudio in portage overlay.
Comment 3 PhobosK 2010-05-16 15:16:17 UTC
Created attachment 231685 [details]
All needed ebuilds as should be in portage overlay

This is the compressed actual portage overlay with all needed files for the build of webcamstudio.
Comment 4 Alex Barker 2010-07-06 08:18:29 UTC
I cant seem to record video with this app.  I click the record button and it visibly looks fine however no video is created.  Screen captures are fine on the other hand.  Here is the stack trace... Missing dependency? 

Exception in thread "AWT-EventQueue-0" java.lang.IllegalArgumentException: No such Gstreamer factory: theoraenc
        at org.gstreamer.ElementFactory.makeRawElement(ElementFactory.java:174)
        at org.gstreamer.ElementFactory.make(ElementFactory.java:166)
        at webcamstudio.exporter.VideoExporterOGG.startExport(VideoExporterOGG.java:43)
        at webcamstudio.components.VideoRecorder.tglButtonRecordActionPerformed(VideoRecorder.java:199)
        at webcamstudio.components.VideoRecorder.access$200(VideoRecorder.java:23)
        at webcamstudio.components.VideoRecorder$3.actionPerformed(VideoRecorder.java:95)
        at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
        at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
        at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
        at javax.swing.JToggleButton$ToggleButtonModel.setPressed(JToggleButton.java:291)
        at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
        at java.awt.Component.processMouseEvent(Component.java:6263)
        at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
        at java.awt.Component.processEvent(Component.java:6028)
        at java.awt.Container.processEvent(Container.java:2041)
        at java.awt.Component.dispatchEventImpl(Component.java:4630)
        at java.awt.Container.dispatchEventImpl(Container.java:2099)
        at java.awt.Component.dispatchEvent(Component.java:4460)
        at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4574)
        at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4238)
        at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4168)
        at java.awt.Container.dispatchEventImpl(Container.java:2085)
        at java.awt.Window.dispatchEventImpl(Window.java:2478)
        at java.awt.Component.dispatchEvent(Component.java:4460)                                                                                                                                 
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)                                                                                                                                
        at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)                                                                                                     
        at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)                                                                                                        
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)                                                                                                     
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)                                                                                                                 
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)                                                                                                                 
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)     
Comment 5 Alex Barker 2010-07-29 15:21:17 UTC
This ebuild should depend on media-plugins/gst-plugins-theora.
Comment 6 PhobosK 2010-09-06 21:00:46 UTC
Yes you are right. The webcamstudio-0.54 ebuild misses these deps:
   media-plugins/gst-plugins-meta:0.10[ffmpeg,flac,lame,theora,v4l,v4l2,vorbis]
   media-plugins/gst-plugins-x264:0.10

I am attaching the ebuilds for the latest stable webcamstudio - 0.56 (dependancies fixed).
Comment 7 PhobosK 2010-09-06 21:03:29 UTC
Created attachment 246301 [details]
Version 1.4 of gstreamer-java ebuild.

Necessary for webcamstudio-0.56
Comment 8 PhobosK 2010-09-06 21:05:16 UTC
Created attachment 246302 [details]
Version 0.56 of webcamstudio ebuild

This is the latest stable WebcamStudio version (0.56) ebuild.
Comment 9 PhobosK 2010-09-06 21:06:48 UTC
Created attachment 246304 [details]
All needed ebuilds as should be in portage overlay

All needed ebuilds as should be in portage overlay (incl. older versions of webcamstudio and gstreamer-java ebuilds.
Comment 10 PhobosK 2010-09-06 21:12:30 UTC
Created attachment 246306 [details]
Fixed dependencies of the initial webcamstudio-0.54 version (revision 1).
Comment 11 Patrick McMunn 2010-09-09 02:16:20 UTC
Since this ebuild downloads source code from subversion rather than a specific release tarball, why not name the ebuild webcamstudio-9999.ebuild?
Comment 12 PhobosK 2010-09-09 17:38:40 UTC
Yes it uses SVN, but it uses a specific revision - the one that is the release version of the Webcamstudio.
The reason the tarballs from SourceForge are useless for Gentoo is because they are just a packed Debian files.
Probably my naming of the ebuilds is not exact but actually they download the release version source code, so a *-9999.ebuild naming will not be proper.
Comment 13 Patrick McMunn 2010-09-09 22:13:55 UTC
Created attachment 246629 [details]
Patrick's build log from failed emerge
Comment 14 Patrick McMunn 2010-09-09 22:16:30 UTC
My emerge failed. I do not know if I need Netbeans installed, but I installed it anyway. Here'e my output:

localhost patrick # emerge --info =media-video/webcamstudio-0.56
Portage 2.2_rc67-r2 (default/linux/x86/10.0/desktop/kde, gcc-4.4.3, glibc-2.10.1-r1, 2.6.35-gentoo i686)
=================================================================
                        System Settings
=================================================================
System uname: Linux-2.6.35-gentoo-i686-AMD_Athlon-TM-_XP_2200+-with-gentoo-2.1.8
Timestamp of tree: Tue, 07 Sep 2010 18:00:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     4.1_p7
dev-java/java-config: 2.1.11
dev-lang/python:     2.6.5-r3, 2.7, 3.0.1, 3.1.2-r4
dev-util/ccache:     2.4-r8
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 2.1.8
sys-apps/openrc:     0.6.0
sys-apps/sandbox:    2.3-r1
sys-devel/autoconf:  2.13, 2.65-r1
sys-devel/automake:  1.6.3-r1, 1.8.5-r4, 1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1
sys-devel/gcc:       4.3.3-r2, 4.4.3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.10
sys-devel/make:      3.81-r2
virtual/os-headers:  2.6.32
ACCEPT_KEYWORDS="x86 ~x86"
ACCEPT_LICENSE="*"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-Os -march=athlon-xp -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /etc/entropy /usr/lib/fax /usr/share/X11/xkb /usr/share/config /var/lib/hsqldb /var/spool/fax/etc /var/spool/torque"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-Os -march=athlon-xp -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests ccache collision-protect distlocks fixpackages mini-manifest multilib-strict news parallel-fetch preserve-libs protect-owned sandbox sfperms splitdebug strict unmerge-logs unmerge-orphans userfetch userpriv"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.UTF-8"                                                                                                                                               
LDFLAGS="-Wl,-O1,--as-needed"                                                                                                                                    
LINGUAS="en en_US UTF-8"                                                                                                                                         
MAKEOPTS="-j2"                                                                                                                                                   
PKGDIR="/usr/portage/packages"                                                                                                                                   
PORTAGE_COMPRESS="bzip2"                                                                                                                                         
PORTAGE_COMPRESS_FLAGS="-9"                                                                                                                                      
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="/var/lib/layman/bibletime /var/lib/layman/gamerlay /var/lib/layman/kde /var/lib/layman/oss-overlay /var/lib/layman/plan9 /var/lib/layman/planeshift /var/lib/layman/python /var/lib/layman/qting-edge /var/lib/layman/ruby /var/lib/layman/sunrise /var/lib/layman/voip /var/lib/layman/x11 /var/lib/layman/gnome /var/lib/layman/mozilla /var/lib/layman/multimedia /var/lib/layman/keruspe /var/lib/layman/zugaina /var/lib/layman /usr/portage /var/lib/layman/paddymac"       
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="/ 3dnow 3dnowext R X a52 aac aalib acl acpi adabas addns ads aio alac alsa amr ao apache2 apic aplaymidi ares assistant audio authdaemond avahi b43 bash-completion bcmath berkdb bindist birdstep branding bzip2 cairo calendar caps cdb cddb cdr cg cgi cjk cleartype cli client clucene cluster cmov concurrentmodphp consolekit cracklib crypt css ctype cups curl curlwrappers custom-cflags custom-optimization cx8 cxx db2 dbase dbmaker dbus de devil dga dhcpcd dirac directfb discard-path dmx dri dts dvb dvd dvdr dvdread dxr3 emboss empress empress-bcs encode esoob espeak exceptions exif faac faad fam fastbuild fbcon fdftk ffmpeg filter firebird firefox flac flatfile fontconfig force-cgi-redirect fortran fpu frontbase ftp fuse fxsr gallium gd gdbm ggi gif glitz gmp gnome gnutls gpm gsm gstreamer gtk hal handbook hash iconv icu id3tag idn ilbc imagemagick imap inifile ioctl iodbc ipv6 jack java javascript joystick jpeg jpeg2k json kde kerberos kipi kolab ladspa lame lasi lcms ldap ldap-sasl ldb libcaca libedit libnotify libsamplerate libssh2 lirc lm_sensors lv2 lzma mad mca mce mcve mhash midi mikmod mmap mmx mmxext mng modplug modules motif mp3 mp4 mpeg msql msr mssql mtrr mudflap multimedia musepack music mysql mysqli nas ncurses netapi network networkmanager nls nostatic nptl nptlonly nsplugin nss ocamlopt odbc ogg openal openexr opengl openmedia openmp optimized-qmake oss oss4 overlays packagekit pae pam pango pat pch pcntl pcre pdf pdo perl pge phonon plasma png policykit portaudio posix postgres ppds ppp pppd ps pse pse36 python qdbm qt3support qt4 quota raw rdp readline recode reflection resolvconf ruby samba sapdb sasl scanner schroedinger sdl semantic-desktop sep server session sharedext sharedmem simplexml sip slp smbclient smbkrb5passwd smbsharedmodes sndfile snmp soap sockets solid sound speex spell spl sql sqlite sqlite3 srp sse ssl startup-notification suhosin svg svga swat sybase sybase-ct syscall sysfs syslog sysvipc taglib tcl tcpd tdb theora threads thumbnail tiff timidity tk tokenizer truetype tsc tslib twolame udev unicode usb uuid v4l v4l2 vcd video vidix vme vnc vorbis wav wavpack webkit wifi win32codecs wmf x264 x86 xattr xcb xinerama xinetd xml xmlpatterns xmlreader xmlrpc xmlwriter xorg xpm xulrunner xv xvid zeroconf zip zlib zsh-completion" ALSA_CARDS="cmipci" 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" ELIBC="glibc" INPUT_DEVICES="evdev joystick keyboard mouse wacom" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_US UTF-8" QEMU_SOFTMMU_TARGETS="i386" QEMU_USER_TARGETS="i386" RUBY_TARGETS="ruby18" SANE_BACKENDS="pixma" USERLAND="GNU" VIDEO_CARDS="radeon radeonhd" 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, PORTAGE_RSYNC_EXTRA_OPTS

localhost patrick # emerge -pqv =media-video/webcamstudio-0.56
[ebuild  N    ] media-video/webcamstudio-0.56  USE="doc -source"
Comment 15 fling 2010-11-03 13:42:08 UTC
# emerge webcamstudio failed

emerge --info | wgetpaste
Your paste can be seen here: http://paste.pocoo.org/show/285538/

wgetpaste '/var/tmp/portage/media-video/webcamstudio-0.56/temp/build.log'
Your paste can be seen here: http://paste.pocoo.org/show/285540/

wgetpaste '/var/tmp/portage/media-video/webcamstudio-0.56/temp/environment'
Your paste can be seen here: http://paste.pocoo.org/show/285541/
Comment 16 fling 2010-11-03 13:46:33 UTC
Created attachment 253039 [details]
failed build.log

 # emerge --info
Portage 2.1.8.3 (default/linux/amd64/10.0/desktop, gcc-4.4.4, glibc-2.11.2-r3, 2.6.35-gentoo-r11_fling x86_64)
=================================================================
System uname: Linux-2.6.35-gentoo-r11_fling-x86_64-AMD_Phenom-tm-_II_X4_965_Processor-with-gentoo-2.0.1
Timestamp of tree: Wed, 03 Nov 2010 13:00:01 +0000
distcc 3.1 x86_64-pc-linux-gnu [disabled]
ccache version 2.4 [enabled]
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/ccache:     2.4-r7
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.1-r1
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.4-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
ABI="amd64"
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
ACCEPT_PROPERTIES="*"
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="*"
ANT_HOME="/usr/share/ant"
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"
ARCH="amd64"
ASFLAGS_x86="--32"
AUTOCLEAN="yes"
BROWSER="chromium"
CBUILD="x86_64-pc-linux-gnu"
CCACHE_DIR="/var/cache/ccache"
CCACHE_SIZE="6G"
CDEFINE_amd64="__x86_64__"
CDEFINE_x86="__i386__"
CFLAGS="-march=amdfam10 -O2 -pipe"
CFLAGS_x86="-m32"
CHOST="x86_64-pc-linux-gnu"
CHOST_amd64="x86_64-pc-linux-gnu"
CHOST_x86="i686-pc-linux-gnu"
CLEAN_DELAY="5"
COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog"
COLLISION_IGNORE="/lib/modules"
COLORFGBG="15;0"
COLORTERM="rxvt"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config /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/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo"
CVS_RSH="ssh"
CXXFLAGS="-march=amdfam10 -O2 -pipe"
DCCC_PATH="/usr/lib64/distcc/bin"
DEFAULT_ABI="amd64"
DESKTOP_STARTUP_ID="awesome/urxvt/28788-4-studio_TIME21908076"
DISPLAY=":0.0"
DISTCC_DIR="/tmp/.distcc"
DISTCC_LOG=""
DISTCC_VERBOSE=""
DISTDIR="/usr/portage/distfiles"
EDITOR="/bin/nano"
ELIBC="glibc"
EMERGE_DEFAULT_OPTS="-v --nospinner --keep-going"
EMERGE_WARNING_DELAY="10"
EPREFIX=""
EROOT="/"
FEATURES="assume-digests buildpkg candy ccache distlocks fixpackages metadata-transfer news parallel-fetch prelink protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
FETCHCOMMAND="/usr/bin/wget -t 5 -T 60 --passive-ftp -O "${DISTDIR}/${FILE}" "${URI}""
FLTK_DOCDIR="/usr/share/doc/fltk-2.0_pre6970/html"
GCC_SPECS=""
GDK_USE_XFT="1"
GENTOO_MIRRORS="/mnt/cdrom      http://de-mirror.org/distro/gentoo/     http://mirror.yandex.ru/gentoo-distfiles/       ftp://mirror.yandex.ru/gentoo-distfiles/ "
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"
GUILE_LOAD_PATH="/usr/share/guile/1.8"
HG="/usr/bin/hg"
HOME="/root"
INFOPATH="/usr/share/info:/usr/share/binutils-data/x86_64-pc-linux-gnu/2.20.1/info:/usr/share/gcc-data/x86_64-pc-linux-gnu/4.4.4/info"
INPUT_DEVICES="keyboard mouse"
JAVAC="/etc/java-config-2/current-system-vm/bin/javac"
JAVACC_HOME="/usr/share/javacc/"
JAVA_HOME="/etc/java-config-2/current-system-vm"
JDK_HOME="/etc/java-config-2/current-system-vm"
KERNEL="linux"
LANG="ru_RU.UTF-8"
LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text"
LC_ALL=""
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LDFLAGS_x86="-m elf_i386"
LESS="-R -M --shift 5"
LESSOPEN="|lesspipe.sh %s"
LIBDIR_amd64="lib64"
LIBDIR_amd64_fbsd="lib64"
LIBDIR_ppc="lib32"
LIBDIR_ppc64="lib64"
LIBDIR_sparc32="lib32"
LIBDIR_sparc64="lib64"
LIBDIR_x86="lib32"
LIBDIR_x86_fbsd="lib32"
LINGUAS="ru"
LOGNAME="root"
LS_COLORS="rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lz=01;31:*.xz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.axv=01;35:*.anx=01;35:*.ogv=01;35:*.ogx=01;35:*.pdf=00;32:*.ps=00;32:*.txt=00;32:*.patch=00;32:*.diff=00;32:*.log=00;32:*.tex=00;32:*.doc=00;32:*.aac=00;36:*.au=00;36:*.flac=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.axa=00;36:*.oga=00;36:*.spx=00;36:*.xspf=00;36:"
MAIL="/var/mail/fling"
MAKEOPTS="-j5"
MANPATH="/etc/java-config-2/current-system-vm/man:/usr/local/share/man:/usr/share/man:/usr/share/binutils-data/x86_64-pc-linux-gnu/2.20.1/man:/usr/share/gcc-data/x86_64-pc-linux-gnu/4.4.4/man:/etc/java-config/system-vm/man/"
MULTILIB_ABIS="amd64 x86"
MULTILIB_STRICT_DENY="64-bit.*shared object"
MULTILIB_STRICT_DIRS="/lib32 /lib /usr/lib32 /usr/lib /usr/kde/*/lib32 /usr/kde/*/lib /usr/qt/*/lib32 /usr/qt/*/lib /usr/X11R6/lib32 /usr/X11R6/lib"
MULTILIB_STRICT_EXEMPT="(perl5|gcc|gcc-lib|binutils|eclipse-3|debug|portage)"
NETBEANS="apisupport cnd groovy gsf harness ide identity j2ee java mobility nb php profiler soa visualweb webcommon websvccommon xml"
OLDPWD="/root"
OPENGL_PROFILE="nvidia"
PAGER="/usr/bin/less"
PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/usr/x86_64-pc-linux-gnu/i686-pc-linux-gnu/gcc-bin/4.4.4:/usr/x86_64-pc-linux-gnu/gcc-bin/4.4.4"
PHP_TARGETS="php5-2"
PKGDIR="/usr/portage/packages"
PORTAGE_ARCHLIST="ppc x86-openbsd ppc-openbsd ppc64 x86-winnt x86-fbsd ppc-aix alpha arm x86-freebsd s390 amd64 arm-linux x86-macos x64-openbsd ia64-hpux hppa x86-netbsd x86-cygwin amd64-linux ia64-linux x86 sparc-solaris x64-freebsd sparc64-solaris x86-linux x64-macos sparc m68k-mint ia64 mips ppc-macos x86-interix hppa-hpux amd64-fbsd x64-solaris mips-irix m68k sh x86-solaris sparc-fbsd"
PORTAGE_BINHOST_CHUNKSIZE="3000"
PORTAGE_BIN_PATH="/usr/lib64/portage/bin"
PORTAGE_COMPRESS_EXCLUDE_SUFFIXES="css gif htm[l]? jp[e]?g js pdf png"
PORTAGE_CONFIGROOT="/"
PORTAGE_DEBUG="0"
PORTAGE_DEPCACHEDIR="/var/cache/edb/dep"
PORTAGE_ECLASS_WARNING_ENABLE="0"
PORTAGE_ELOG_CLASSES="log warn error"
PORTAGE_ELOG_MAILFROM="portage@localhost"
PORTAGE_ELOG_MAILSUBJECT="[portage] ebuild log for ${PACKAGE} on ${HOST}"
PORTAGE_ELOG_MAILURI="root"
PORTAGE_ELOG_SYSTEM="save_summary echo"
PORTAGE_FETCH_CHECKSUM_TRY_MIRRORS="5"
PORTAGE_FETCH_RESUME_MIN_SIZE="350K"
PORTAGE_GID="250"
PORTAGE_INST_GID="0"
PORTAGE_INST_UID="0"
PORTAGE_IONICE_COMMAND="ionice -c 3 -p ${PID}"
PORTAGE_NICENESS="19"
PORTAGE_PYM_PATH="/usr/lib64/portage/pym"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_RSYNC_RETRIES="3"
PORTAGE_SYNC_STALE="30"
PORTAGE_TMPDIR="/var/tmp"
PORTAGE_VERBOSE="1"
PORTAGE_WORKDIR_MODE="0700"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/home/overlay /var/lib/layman/fling /var/lib/layman/pro-audio /var/lib/layman/qutim /var/lib/layman/sunrise /var/lib/layman/x11"
PRELINK_PATH_MASK="/usr/lib64/klibc:/usr/lib64/libfreebl3.so:/usr/lib64/libnssdbm3.so:/usr/lib64/libsoftokn3.so"
PROFILE_ONLY_VARIABLES="ARCH ELIBC KERNEL USERLAND"
PWD="/root"
PYTHONDONTWRITEBYTECODE="1"
QEMU_SOFTMMU_TARGETS="x86_64"
RESUMECOMMAND="/usr/bin/wget -c -t 5 -T 60 --passive-ftp -O "${DISTDIR}/${FILE}" "${URI}""
ROOT="/"
ROOTPATH="/opt/bin:/usr/x86_64-pc-linux-gnu/i686-pc-linux-gnu/gcc-bin/4.4.4:/usr/x86_64-pc-linux-gnu/gcc-bin/4.4.4"
RPMDIR="/usr/portage/rpm"
RUBY_TARGETS="ruby18"
SHELL="/bin/bash"
SHLVL="3"
STAGE1_USE="multilib nptl nptlonly unicode"
STY="9074.pts-0.studio"
SYMLINK_LIB="yes"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
TERM="screen"
TERMCAP="SC|screen|VT 100/ANSI X3.64 virtual terminal:\
        :DO=\E[%dB:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:bs:bt=\E[Z:\
        :cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:ct=\E[3g:\
        :do=^J:nd=\E[C:pt:rc=\E8:rs=\Ec:sc=\E7:st=\EH:up=\EM:\
        :le=^H:bl=^G:cr=^M:it#8:ho=\E[H:nw=\EE:ta=^I:is=\E)0:\
        :li#81:co#319:am:xn:xv:LP:sr=\EM:al=\E[L:AL=\E[%dL:\
        :cs=\E[%i%d;%dr:dl=\E[M:DL=\E[%dM:dc=\E[P:DC=\E[%dP:\
        :im=\E[4h:ei=\E[4l:mi:IC=\E[%d@:ks=\E[?1h\E=:\
        :ke=\E[?1l\E>:vi=\E[?25l:ve=\E[34h\E[?25h:vs=\E[34l:\
        :ti=\E[?1049h:te=\E[?1049l:us=\E[4m:ue=\E[24m:so=\E[3m:\
        :se=\E[23m:mb=\E[5m:md=\E[1m:mr=\E[7m:me=\E[m:ms:\
        :Co#8:pa#64:AF=\E[3%dm:AB=\E[4%dm:op=\E[39;49m:AX:\
        :vb=\Eg:G0:as=\E(0:ae=\E(B:\
        :ac=\140\140aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~..--++,,hhII00:\
        :po=\E[5i:pf=\E[4i:Z0=\E[?3h:Z1=\E[?3l:k0=\E[10~:\
        :k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k5=\E[15~:k6=\E[17~:\
        :k7=\E[18~:k8=\E[19~:k9=\E[20~:k;=\E[21~:F1=\E[23~:\
        :F2=\E[24~:F3=\E[1;2P:F4=\E[1;2Q:F5=\E[1;2R:F6=\E[1;2S:\
        :F7=\E[15;2~:F8=\E[17;2~:F9=\E[18;2~:FA=\E[19;2~:kb=^H:\
        :K2=\EOE:kB=\E[Z:kF=\E[1;2B:kR=\E[1;2A:*4=\E[3;2~:\
        :*7=\E[1;2F:#2=\E[1;2H:#3=\E[2;2~:#4=\E[1;2D:%c=\E[6;2~:\
        :%e=\E[5;2~:%i=\E[1;2C:kh=\E[1~:@1=\E[1~:kH=\E[4~:\
        :@7=\E[4~:kN=\E[6~:kP=\E[5~:kI=\E[2~:kD=\E[3~:ku=\EOA:\
        :kd=\EOB:kr=\EOC:kl=\EOD:km:"
USE="3dnow 3dnowext X alsa amd64 bash-completion branding cups custom-cflags dbus exif gimp gpm lcms mmx mmxext multilib nls nptl opengl openmp qt3support sqlite sse sse2 sse3 ssl system-sqlite threads truetype unicode" 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="*" 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" 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="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="ru" PHP_TARGETS="php5-2" QEMU_SOFTMMU_TARGETS="x86_64" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia" 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" 
USER="root"
USERLAND="GNU"
USE_EXPAND="ALSA_CARDS ALSA_PCM_PLUGINS APACHE2_MODULES APACHE2_MPMS CAMERAS COLLECTD_PLUGINS CROSSCOMPILE_OPTS DVB_CARDS ELIBC FCDSL_CARDS FOO2ZJS_DEVICES FRITZCAPI_CARDS GPSD_PROTOCOLS INPUT_DEVICES KERNEL LCD_DEVICES LINGUAS LIRC_DEVICES MISDN_CARDS NETBEANS_MODULES NGINX_MODULES_HTTP NGINX_MODULES_MAIL PHP_TARGETS QEMU_SOFTMMU_TARGETS QEMU_USER_TARGETS RUBY_TARGETS SANE_BACKENDS USERLAND VIDEO_CARDS XFCE_PLUGINS XTABLES_ADDONS"
USE_EXPAND_HIDDEN="CROSSCOMPILE_OPTS ELIBC KERNEL USERLAND"
USE_ORDER="env:pkg:conf:defaults:pkginternal:env.d"
VBOX_APP_HOME="/usr/lib64/virtualbox-ose"
VIDEO_CARDS="nvidia"
WANT_MP="true"
WINDOW="1"
WINDOWID="27262984"
XAUTHORITY="/home/fling/.Xauthority"
XDG_CONFIG_DIRS="/etc/xdg"
XDG_DATA_DIRS="/usr/local/share:/usr/share"
XSESSION="awesome"
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"
XZ_OPT="--memory=max"
_="/usr/bin/emerge"
Comment 17 PhobosK 2010-11-03 19:45:50 UTC
Both ebuilds fail because of the vloopback module which according to the author supports kernels up to 2.6.28 ( http://webcamstudio.svn.sourceforge.net/viewvc/webcamstudio/trunk/vloopback/README?revision=895&view=markup ).
It is a known problem and the author works on it: http://www.ws4gl.org/news-flash-/vloopbackdoesnotcompileunderubuntu910

Probably i should add some kernel checks in the ebuild and separate the kernel module from the program, but actually the program is useless without the kernel module.

As far as i am aware the author works on some replacement of the vloopback but probably you should check the forum there: http://webcamstudio.3802688.n2.nabble.com/
Comment 18 PhobosK 2010-11-03 20:09:06 UTC
OK. There could be a fix i will try later today and will post an updated ebuilds if the fix works.
Comment 19 fling 2010-11-04 10:57:11 UTC
that would be nice
Comment 20 PhobosK 2010-11-04 20:21:56 UTC
Created attachment 253211 [details]
WebcamStudio 0.56 revision 1 ebuild

WebcamStudio kernel module now in a separate ebuild.
Comment 21 PhobosK 2010-11-04 20:24:17 UTC
Created attachment 253213 [details]
WebcamStudio kernel module version 1.4

Initial ebuild of the WebcamStudio kernel module.
Should work on kernels 2.6.33+
Comment 22 PhobosK 2010-11-04 20:26:01 UTC
Created attachment 253215 [details]
All needed ebuilds as should be in portage overlay.
Comment 23 PhobosK 2010-11-04 20:32:26 UTC
@Patrick McMunn and @fLiNg,
Will you please test if the webcamstudio-module-1.4.ebuild works for you.
According to the upstream developers it should work on kernels 2.6.33+
I am still using 2.6.32-gentoo-r1 because of a Ralink wireless driver problem and I cannot test it on later kernels... sorry...
Comment 24 fling 2010-11-05 05:22:03 UTC
now program starts and i see a prewiew, flashsites see my virtual webcam
but i cant see any video streamed
Comment 25 PhobosK 2010-11-05 09:10:15 UTC
Probably it is a problem with the flash plugin on your system, especially if the system is x86_64.
You may try if your streaming is really working using camstream for example and the video device that WebcamStudio uses as output (usually it's /dev/video2, but you can find out in your dmesg log). Actually camstream will show you the input device (File ->Open viewer-> Device).
Comment 26 PhobosK 2010-11-07 16:05:28 UTC
Created attachment 253531 [details]
WebcamStudio kernel module version 1.4 revision 1

Version bump fixing the kernel sources selection during compilation.
Comment 27 Alex Barker 2010-11-16 03:48:20 UTC
This ebuild is currently missing the dependency media-plugins/gst-plugins-gconf.

I am also getting the following error I can't seem to figure out:

"OGG Export Error: BaseSrc: [alsasrc0],11, Could not negotiate format"
Comment 28 Patrick McMunn 2010-12-13 19:07:57 UTC
(In reply to comment #23)
> @Patrick McMunn and @fLiNg,
> Will you please test if the webcamstudio-module-1.4.ebuild works for you.
> According to the upstream developers it should work on kernels 2.6.33+
> I am still using 2.6.32-gentoo-r1 because of a Ralink wireless driver problem
> and I cannot test it on later kernels... sorry...
> 

Last night I compiled webcamstudio successfully using your latest ebuild for webcamstudio and the vloopback module. Good going! However, after rebooting so that the kernel module could load and running webcamstudio, I suddenly got a full screen console error message - apparently my system was completely locked up, and I had to reboot the machine with the reset button. I am using kernel 2.6.36-gentoo-r3. But I have a couple of older kernels installed too. Perhaps I can try recompiling the kernel module for older versions and see if it works. Also, in the past I have downloaded the binary webcam studio build from the website and run it directly with the "java -jar" command and used it without the kernel module loaded.
Comment 29 PhobosK 2011-02-05 22:40:29 UTC
Created attachment 261610 [details]
A new WebcamStudio kernel module ebuild revision to fix broken compilation on kernel 2.6.37 (semaphore problem)

The new kernel 2.3.37 introduces some changes that break the compilation of the WebcamStudio kernel module. 
This is the new revision of the ebuild + the the needed patch to fix that.
Comment 30 PhobosK 2011-02-05 22:42:21 UTC
Created attachment 261612 [details, diff]
The patch for kernels 2.6.37 for the WebcamStudio kernel module - latest ebuild 1.4-r2 

This is the patch itself for the WebcamStudio kernel module.
Comment 31 Alex Barker 2011-02-22 05:34:41 UTC
Ebuild is missing depend: gst-plugins-gconf

In addition to that missing depend I still get an error: OGG Export Error: BaseSrc: [alsasrc0],11, Could not negotiate format that i havnt figured out yet

Comment 32 Denilson Sá Maia 2011-09-20 19:28:30 UTC
This ebuild is currently broken:

emerge: there are no ebuilds built with USE flags to satisfy "media-plugins/gst-plugins-meta:0.10[ffmpeg,flac,lame,theora,v4l,v4l2,vorbis]".

Suggestion: Add all these files to github or bitbucket, so it will be easy to add them as a new overlay. Or, even better, add them to sunrise.
Comment 33 PhobosK 2011-09-20 19:40:22 UTC
Sorry about it being broken...
But it is because of the latest changes in gstreamer ebuilds...

I have not updated this ebuild because upstream author is making general changes to the code of webcamstudio and it is still a kinda alpha...
I will wait a couple of weeks for him to finish the core code changes and I will fix this ebuild too...

Yeah adding this and some other of my ebuilds that are still not in the main gentoo tree is a good idea...
I'll keep you posted on it.
Comment 34 PhobosK 2012-05-05 11:31:11 UTC
Hi all,
Finally the last couple of weeks the author of Webcamstudio had time to fix most bugs, rewrite the code and make it working... It is still considered alpha stage though.

I have prepared the necessary ebuilds to compile and use Webcamstudio 0.60 alpha. Tested them on amd64, Gentoo ~ and kernel 3.1.5-gentoo. They work fine as a whole.

One thing needs to be fixed about the ebuilds: preparing an archive of the Webcamstudio's trunk and using it instead of the SVN... but i hope we will fix that with some of the Gentoo devs and upload the archive where needed.

NOTES: 
1. gstreamer support is dropped in favour of ffmpeg, so no more need of dev-java/gstreamer-java dependency 
2. for now the author uses the jffmpeg project libs (http://jffmpeg.sourceforge.net/) but i didn't have the time to prepare an ebuild for it... The project seems to be very useful and probably needs to go to Gentoo main tree too... but i will take care of it later
3. for now Webcamstudio uses pulseaudio heavily, so if you do not use it(or like it), you need to change the parameters of the ffmpeg command line in ~/.webcamstudio/ffmpeg-capture_linux.properties and ~/.webcamstudio/ffmpeg-output_linux.properties (copy these from source tree). This is a project limitation, so i have not touched that at all... especially considering that pulse support may get better handling in the next alpha versions of Webcamstudio

So I am uploading the separate ebuilds + an archive that should go into your portage layout (like '/usr/local/portage' for example)
Comment 35 PhobosK 2012-05-05 11:35:39 UTC
Created attachment 310859 [details]
The Webcamstudio 0.60 alpha ebuild (SVN revision 370)
Comment 36 PhobosK 2012-05-05 11:36:37 UTC
Created attachment 310861 [details]
The Webcamstudio 0.60 alpha kernel module ebuild (SVN revision 370)
Comment 37 PhobosK 2012-05-05 11:38:56 UTC
Created attachment 310863 [details]
All needed ebuilds for Webcam studio 0.60 alpha (SVN revision 370) as should be in portage overlay.
Comment 38 Patrick McMunn 2012-05-07 18:29:03 UTC
You may want to double check. If I'm not mistaken, even though FFMPEG is preferred, I think Webcam Studio still supports GStreamer as an option.
Comment 39 PhobosK 2012-05-07 19:06:21 UTC
(In reply to comment #38)
> You may want to double check. If I'm not mistaken, even though FFMPEG is
> preferred, I think Webcam Studio still supports GStreamer as an option.

No need to :)....
I had done the necessary checks already even in the source code... do not worry :)... The problem is that there is a lot of obsolete code/libraries etc in the svn repo and some of the official packed sources.. and that may have lead you to the impression that it still uses gstreamer-java.... But it doesn't... What it does use are files named XXXX.properties (https://code.google.com/p/webcamstudio/source/browse/#svn%2Ftrunk%2Ftrunk%2Fsrc%2Fwebcamstudio%2Fexternals) that do contain command line of either ffmpeg or the gst-launcher binaries(these are commented out at rev370, but latest of today are on, with ffmpeg commented out)

And the proposed here ebuild is for the latest SVN revision (370) as of 1 of May.
I see the author today(the 7th of May) had temporary reversed back to Gstreamer, but it actually uses the gst-launch (via new class ProccessRenderrer) not the java gstreamer lib/bridge...

Anyway... as I said WebcamStudio is still a heavy alpha(and the so called 'stable' 0.56 version will not be worked on/supported anymore), so such changes will be normal.. considering the author doesn't have enough time to work on the project...

The 370 revision works on Gentoo as expected, so it can be considered a 'stable alpha', if there is such a thing... Though it has some problems on Ubuntu and Fedora... I've applied a small patch for the ffmpeg path as you can see that fixes the problem.. And if pulseaudio systems do not work, you just change the command line as i have described above...



Have you tested it btw?
Comment 40 PhobosK 2012-06-23 23:24:57 UTC
Created attachment 316111 [details]
Webcam studio 0.60 alpha (SVN revision 416) overlay.

This is the new overlay(with the ebuilds inside) of webcamstudio/webcamstudio-module - version 0.60 alpha (SVN revision 416).
There are a lot of changes upstream stabilizing the app, but still it is alpha and some things do not work.

Some notes on the ebuilds/overlay:
1. I've split the kernel module from main app, because the module has
a helper and can be used in other apps/libs.
2. I had removed the SVN method in the ebuilds and had prepared tarballs
with the source of both webcamstudio and webcamstudio-module(that is the
vloopback folder actually).
3. The main source tarball is actually a 'svn export' tree. I just
removed the ffmpeg.exe ('cause it takes too much space, making the
tarball ~18Mb and is not used in *nix) and the vloopback folder which is
packed separately as a webcamstudio-module tarball.
4. Since the upstream code is still very alpha, I'm using some quick
fixes in the ebuild: 
   - fixing full paths to the command line binaries used; 
   - renaming avconv to ffmpeg for compatibility with virtual/ffmpeg (no
matter if libav or ffmpeg are used);
   - fixing the webcam source to use gstreamer, 'cause both avconv and
ffmpeg do not work on all webcams. 

Any comments are welcome...
Thanks.
Comment 41 Patrick McMunn 2012-07-06 01:51:14 UTC
Although I haven't tested the program extensively yet, revision 416 builds and runs just fine on my system (AMD Athlon XP 1800+ with icedtea7 as VM and kernel 3.4.4-gentoo with CK patch). The previous revision (300-something) didn't even build for me.
Comment 42 PhobosK 2012-10-12 15:23:46 UTC
Created attachment 326380 [details]
Webcam studio 0.60 alpha (SVN revision 416) revision 1 ebuild

Since kernel version 3.6.0 there are some changes in the v4l2 code which prevent webcamstudio-module r416 to compile. One of these changes is dropping support for v4l2_buffer.input (see log at http://git.kernel.org/?p=linux/kernel/git/stable/linux-stable.git;a=commit;h=2b719d7baf490e24ce7d817c6337b7c87fda84c1)

The new "webcamstudio-module-104_p416-r1.ebuild" fixes this problem applying a patch.

I had reported the problem upstream.

Sadly there is no new development activity upstream, so i cannot offer you any other new ebuild.

You can follow the new ebuilds here: http://gentoo.plexyplanet.org/overlay/media-video/
Comment 43 PhobosK 2012-10-12 15:25:46 UTC
Created attachment 326382 [details, diff]
The patch needed for Webcam studio 0.60 alpha (SVN revision 416) revision 1 ebuild

This is the actual patch needed for the Webcam studio 0.60 alpha (SVN revision 416) revision 1 ebuild.
Comment 44 Naohiro Aota gentoo-dev 2012-10-15 01:33:49 UTC
(In reply to comment #43)
> Created attachment 326382 [details, diff] [details, diff]
> The patch needed for Webcam studio 0.60 alpha (SVN revision 416) revision 1
> ebuild
> 
> This is the actual patch needed for the Webcam studio 0.60 alpha (SVN
> revision 416) revision 1 ebuild.

I think you can improve the patch by adding:

...
#else
b->reserved2 = 0;
#endif

http://git.kernel.org/?p=linux/kernel/git/stable/linux-stable.git;a=blobdiff;f=Documentation/DocBook/media/v4l/vidioc-qbuf.xml;h=77ff5be0809d13ef530ff07718e243aab98358fc;hp=9caa49af580fe2a2ae5607a30f1a5d2141ff072a;hb=2b719d7baf490e24ce7d817c6337b7c87fda84c1;hpb=5cf73ce15f704876378733794864336fbec6c97e
Comment 45 PhobosK 2012-10-18 11:24:31 UTC
Created attachment 326832 [details, diff]
The patch needed for Webcam studio 0.60 alpha (SVN revision 416) revision 1 ebuild

Yes you are quite right about this refinement @Naohiro Aota.
I've fixed that and added one more that's needed :)
So this is the new patch for the module.
Tested on i386 and amd64 and working...
Thanks.
Comment 46 Patrick McMunn 2013-01-23 00:25:11 UTC
I just thought I'd let everyone know that the upstream author has decided to end development of Webcam Studio. http://www.ws4gl.org/news-flash-/timetomoveon
Comment 47 Patrick McMunn 2013-03-02 04:54:16 UTC
I wanted to follow up again. After the original developer announced he was ending development, he made a later announcement that another developer, Karl Ellis, will continue development. Development can now be followed on https://plus.google.com/u/0/communities/110329269823088092206
Comment 48 PhobosK 2013-03-21 23:25:56 UTC
(In reply to comment #47)

Just another follow up...
Development will continue and will be done by the WebcamStudio Team (which i am part of too now).

When some basic bugs and restructuring is done I will let you know here and add the necessary ebuilds... BTW my plan is to make them available in every release update source tarball...

The new active url of the project (where the development is going on) is:
https://code.google.com/p/webcamstudio/