Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 1657

Summary: alevt-1.6.0.ebuild (New Package)
Product: Gentoo Linux Reporter: Markus Bertheau (RETIRED) <ska-fan>
Component: New packagesAssignee: Seemant Kulleen (RETIRED) <seemant>
Status: RESOLVED FIXED    
Severity: enhancement CC: ska-fan
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
URL: http://twanger.dyndns.org/alevt.tar.gz
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: the ebuild and patch attached using the workaround to bug 71 :)
alevt-1.6.0-r3.ebuild
files/alevt.desktop

Description Markus Bertheau (RETIRED) gentoo-dev 2002-04-10 16:19:19 UTC
Hi!

Please find attached alevt.tar containing alevt-1.6.0.ebuild and a
patch so that it will compile at all and use /dev/v4l/vbi0 as default
videotext device.

alevt is a X videotext decoder.

I suggest media-video/alevt. This ebuild solely depends on xfree.

Markus Bertheau
Comment 1 Markus Bertheau (RETIRED) gentoo-dev 2002-04-10 16:24:10 UTC
Hmm, file upload didn't work for me. Grab it at the specified URL.
Comment 2 Markus Bertheau (RETIRED) gentoo-dev 2002-04-11 06:12:39 UTC
I should add that i tried emake, but it doesn't work.
Comment 3 Markus Bertheau (RETIRED) gentoo-dev 2002-04-11 14:07:56 UTC
I made a revised ebuild which 
1. patches the Makefile such that parallel build works
2. includes a working homepage url (that one was hard to find :))
3. the patch was diff'ed against a clean directory :)

Because i still can't attach files to bugreports, the new ebuild is available
under the old url.

Markus Bertheau
Comment 4 Markus Bertheau (RETIRED) gentoo-dev 2002-04-11 14:17:39 UTC
Created attachment 531 [details]
the ebuild and patch attached using the workaround to bug 71 :)
Comment 5 Tod M. Neidt (RETIRED) gentoo-dev 2002-04-12 01:01:56 UTC
Hi!

The ebuild looks good.

Can you explain the rationale for hardcoding the vbi0 device?

Also is "alevt.1x" a typo?
Comment 6 Markus Bertheau (RETIRED) gentoo-dev 2002-04-12 11:00:58 UTC
Thanks, my 

Well, previously /dev/vbi was hardcoded, which could be and still can be changed
with a command line option. On my system, with /dev/vbi as the default device
alevt would not start when called without a command line option because I don't
have the /dev/vbi symlink to /dev/v4l/vbi0. Because Gentoo Linux uses devfs, I
assume everyone with a TV card has /dev/v4l/vbi0, but not everyone, like me, has
the /dev/vbi symlink. So I basically changed the default device to make alevt
work on every Gentoo Linux system without a command line option.

alevt.1x is not a typo, although I don't know enough about man pages to explain
why it it suffixed this way. Maybe the x is for "X Application". The original
sources produce a alevt.1x, too.

Is the category well-chosen?
Comment 7 Tod M. Neidt (RETIRED) gentoo-dev 2002-04-15 23:18:26 UTC
Hi Markus!

Yes, I believe you suggested the appropriate category.

Your're correct .1x is not a typoand seems to associated with X apps. These man
pages seem to be installed in /usr/X11R6/man....

The reason I asked about the /dev/vbi is that I am not familar with TV cards :),
so I didn't know if this is a reasonable default to assume that everyone will
have .  Perhaps we need to add a line to /etc/devfs.conf to have this symlink
created?
Comment 8 Seemant Kulleen (RETIRED) gentoo-dev 2002-06-29 00:53:33 UTC
verwilst apparently added this package a while ago independently, but I kinda
like some of the things you are doing in your ebuild, so I'll have a look
Comment 9 Seemant Kulleen (RETIRED) gentoo-dev 2002-06-29 09:23:06 UTC
Markus,

in fact, can you comment on the current alevt ebuild in portage?  Does the thing
work for you, etc etc?

Not having a v4l device on my system, I am hard pressed to test it, so I am
going to rely on you heavily for this commit.
Comment 10 Markus Bertheau (RETIRED) gentoo-dev 2002-06-29 10:16:17 UTC
A comparison gives:

- I'm not at all sure about the dependencies, my ebuild only has xfree-4.2.0,
the current one has glibc, libpng and xfree-4.0.1
- my ebuild does not install the pixmap icon file

- my ebuild uses dobin, doman and dodoc where the current uses mkdir and install
- the current ebuild unneccessarily patches the install target of the makefile,
it isn't used by the ebuild anyway
- my ebuild features a parallel make makefile patch :)
- the current ebuild has the HOMEPAGE variable not set
- the current ebuild does not change the default vbi device (see a previous comment)

that's everything I could spot
Comment 11 Seemant Kulleen (RETIRED) gentoo-dev 2002-07-03 12:14:07 UTC
Hi Markus,

Your ebuild is now in portage.

Thanks for that, and sorry it took so long :(
Comment 12 Markus Bertheau (RETIRED) gentoo-dev 2002-07-06 06:40:14 UTC
New ebuild that features a menu entry in the Right Location
(/usr/share/applications), which should work for KDE3 and GNOME2.
Comment 13 Markus Bertheau (RETIRED) gentoo-dev 2002-07-06 06:41:33 UTC
Created attachment 1990 [details]
alevt-1.6.0-r3.ebuild
Comment 14 Markus Bertheau (RETIRED) gentoo-dev 2002-07-06 06:42:06 UTC
Created attachment 1991 [details]
files/alevt.desktop
Comment 15 Seemant Kulleen (RETIRED) gentoo-dev 2002-07-06 20:45:24 UTC
Markus,

You've verified that this works for both KDE3 and Gnome2?
Comment 16 Seemant Kulleen (RETIRED) gentoo-dev 2002-07-09 04:21:12 UTC
added