I do not know how to send new ebuild to the Gentoo portage tree. If anybody know how to do it, I will be very glat for any message. Reproducible: Always Steps to Reproduce: 1. 2. 3.
Created attachment 72344 [details] media-video/vloopback-0.96a
Created attachment 72345 [details, diff] files/vloopback_example.patch
Created attachment 72346 [details, diff] files/vloopback_version.patch
Created attachment 72347 [details] vloopback.tar.gz Packed full ebuild.
Created attachment 75874 [details] vloopback.tar.gz Included 0.96a and 0.97-snap2 version.
Comment on attachment 75874 [details] vloopback.tar.gz Full packed ebuild. Include new 0.96a and 0.97-snap2 version.
Created attachment 75875 [details] vloopback/vloopback-0.96a New ebuild with /etc/modules.d/vloopback extension.
Created attachment 75876 [details, diff] files/vloopback-0.96a_Makefile.patch
Created attachment 75877 [details, diff] files/vloopback-0.96a_resize.c.patch
Created attachment 75878 [details, diff] files/vloopback-0.96a_vloopback.c.patch
Created attachment 75879 [details, diff] files/vloopback-0.97-snap2_Makefile.patch
Created attachment 75880 [details, diff] files/vloopback-0.97-snap2_resize.c.patch
Created attachment 75881 [details] media-video/vloopback-0.97-snap2 New snapshot version of vloopback. Does not work for me.
Created attachment 77589 [details] vloopback-0.97.ebuild New ebuild.
Created attachment 77590 [details, diff] vloopback-0.97-snap2_Makefile.patch
Created attachment 77591 [details, diff] vloopback-0.97-snap2_resize.c.patch
Created attachment 77592 [details] vloopback.tar.gz Packed 0.96a and 0.92-snap2 version.
Created attachment 77593 [details] vloopback-0.97_pre2.ebuild
Created attachment 77594 [details] vloopback.tar.gz Packed 0.96a and 0.97-snap2 version.
(In reply to comment #19) > Created an attachment (id=77594) [edit] > vloopback.tar.gz > > Packed 0.96a and 0.97-snap2 version. > We don't even look at attched tarballs. Plain text, please.
Created attachment 98054 [details] vloopback-0.97_pre3.ebuild Ebuild for vloopback 0.97-snap3.
Created attachment 98055 [details, diff] vloopback-0.97-snap3_Makefile.patch Patch for vloopback 0.97-snap3.
Created attachment 98056 [details, diff] vloopback-0.97-snap3_resize.c.patch Patch for vloopback 0.97-snap3.
(In reply to comment #23) > Created an attachment (id=98056) [edit] > vloopback-0.97-snap3_resize.c.patch > > Patch for vloopback 0.97-snap3. > (In reply to comment #23) > Created an attachment (id=98056) [edit] > vloopback-0.97-snap3_resize.c.patch > > Patch for vloopback 0.97-snap3. > On 64-bit, symlink /usr/src/linux-2.6.18-rc4-viper/arch/x86_64 to /usr/src/linux-2.6.18-rc4-viper/arch/amd64 instead of the one suggested by the ebuild. Won't compile, though;) Lots of "/var/tmp/portage/media-video/vloopback-0.97_pre3/work/vloopback-0.97-snap3/vloopback.c:1109: error: dereferencing pointer to incomplete type" Portage 2.1.2_rc2-r2 (default-linux/amd64/2006.0, gcc-4.1.1, glibc-2.5.90.20061022-r1, 2.6.18-rc4-viper-tripleseven x86_64)
*** Bug 157739 has been marked as a duplicate of this bug. ***
Created attachment 103791 [details] vloopback-1.1_rc1.ebuild (for 2.6.18) to use with quickcam.ko (qc-usb) it need to load it with compatible=2 parameter echo 'options quickcam compatible=2' >> /etc/modules.d/quickcam && modules-update && modprobe -r quickcam && modprobe quickcam && modprobe vloopback
Created attachment 113261 [details] vloopback-1.1_rc1.ebuild with some syntax corrections
Comment on attachment 113261 [details] vloopback-1.1_rc1.ebuild with some syntax corrections works with 2.6.19
(In reply to comment #28) > (From update of attachment 113261 [details] [edit]) > works with 2.6.19 > Could you please add my patches for Makefile and resize.c into your ebuild? Maybe also the notice about the using of the vresize would be handy for somebody.
Created attachment 114459 [details] vloopback-1.1_rc1.ebuild Merged version of mine and Mardi's ebuild.
Created attachment 114460 [details, diff] vloopback-1.1_rc1_Makefile.patch Patch for Makefile.
Created attachment 114461 [details, diff] vloopback-1.1_rc1_resize.c.patch Patch for resize.c.
on amd64 with gentoo-sources-2.6.20-gentoo-r8 the following command is needed here cd /usr/src/linux-2.6.20-gentoo-r8/arch && ln -s x86_64 amd64
Created attachment 138944 [details] now module is added to moduledb..
@portage maintainers: what is needed to get this into portage? If it's not "stable" enough for testing than please put it in rep-masked.. thx and happy holidays, cmuelle8
*** Bug 202834 has been marked as a duplicate of this bug. ***
Created attachment 139006 [details] see comment changed useflag from example to extras (but does the same) examples is used for example source code according to http://www.gentoo.org/dyn/use-index.xml (so some people might be surprised by what example does for vloopback ebuild) extras is used by quite a few packages to install extra scripts tools binaries to a package, so I suggest using this flag for vloopback tools as well another choice might be "tools" or "utils" which is also used by some packages.. i wish there would be a little more consistency of how those three flags are used across ebuilds ;-) take care, cmuelle8
Created attachment 181309 [details] vloopback-1.2.ebuild Ebuild for the vloopback-1.2.
Created attachment 181311 [details, diff] files/resize.patch Patch to rename the file resize.c to vresize.c.
The vloopback-1.2.ebuild thing doesn't work! :( When I used it with emerge i get lots of errors! Here is some of them: /var/tmp/portage/media-video/vloopback-1.2/work/vloopback-1.2/vloopback.c:1079: error: 'VIDIOCSFREQ' undeclared (first use in this function) /var/tmp/portage/media-video/vloopback-1.2/work/vloopback-1.2/vloopback.c:1080: error: 'VIDIOCGAUDIO' undeclared (first use in this function) /var/tmp/portage/media-video/vloopback-1.2/work/vloopback-1.2/vloopback.c:1081: error: 'VIDIOCSAUDIO' undeclared (first use in this function) /var/tmp/portage/media-video/vloopback-1.2/work/vloopback-1.2/vloopback.c:1083: error: 'VIDIOCKEY' undeclared (first use in this function) /var/tmp/portage/media-video/vloopback-1.2/work/vloopback-1.2/vloopback.c: At top leve l: /var/tmp/portage/media-video/vloopback-1.2/work/vloopback-1.2/vloopback.c:1128: error: 'v4l_compat_ioctl32' undeclared here (not in a function) /var/tmp/portage/media-video/vloopback-1.2/work/vloopback-1.2/vloopback.c:1141: warnin g: initialization from incompatible pointer type make[2]: *** [/var/tmp/portage/media-video/vloopba
(In reply to comment #40) > The vloopback-1.2.ebuild thing doesn't work! :( When I used it with emerge i > get lots of errors! There is a new version available: 1.3 Try renaming your ebuild: mv vloopback-1.2.ebuild vloopback-1.3.ebuild and see if that works. Please give us feedback if it does. If you have time, please try with use flag "extras" enabled and without.. cheers, Christian
Yes, now it works with emerge! But I cannot modprobe it! "FATAL: Error inserting vloopback (/lib/modules/2.6.30-gentoo-r8/video/vloopback.ko): Unknown symbol in module, or unknown paramet" I will trying with the "extras" USE flag also. No, it doesn't works: * Cannot find $EPATCH_SOURCE! Value for $EPATCH_SOURCE is: * * /usr/local/portage/media-video/vloopback/files/resize.patch * ( resize.patch ) * * ERROR: media-video/vloopback-1.3 failed. * Call stack: * ebuild.sh, line 49: Called src_unpack * environment, line 3412: Called epatch '/usr/local/portage/media- video/vloopback/files/resize.patch' * environment, line 1416: Called die * The specific snippet of code: * die "Cannot find \$EPATCH_SOURCE!"; * The die message: * Cannot find $EPATCH_SOURCE! * * If you need support, post the topmost build error, and the call stack if rele vant. * A complete build log is located at '/var/tmp/portage/media-video/vloopback-1. 3/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/media-video/vloop back-1.3/temp/environment'. * This ebuild is from an overlay: '/usr/local/portage/' * >>> Failed to emerge media-video/vloopback-1.3, Log file: >>> '/var/tmp/portage/media-video/vloopback-1.3/temp/build.log' * Messages for package media-video/vloopback-1.3: * Cannot find $EPATCH_SOURCE! Value for $EPATCH_SOURCE is: * * /usr/local/portage/media-video/vloopback/files/resize.patch * ( resize.patch ) * * ERROR: media-video/vloopback-1.3 failed. * Call stack: * ebuild.sh, line 49: Called src_unpack * environment, line 3412: Called epatch '/usr/local/portage/media- video/vloopback/files/resize.patch' * environment, line 1416: Called die * The specific snippet of code: * die "Cannot find \$EPATCH_SOURCE!"; * The die message: * Cannot find $EPATCH_SOURCE! * * If you need support, post the topmost build error, and the call stack if rele vant. * A complete build log is located at '/var/tmp/portage/media-video/vloopback-1. 3/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/media-video/vloop back-1.3/temp/environment'. * This ebuild is from an overlay: '/usr/local/portage/'
Created attachment 212908 [details] a svn ebuild