Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 329 - alevt-1.6.0.ebuild (New Package)
Summary: alevt-1.6.0.ebuild (New Package)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High enhancement (vote)
Assignee: Bart Verwilst
URL:
Whiteboard:
Keywords: EBUILD
: 397 (view as bug list)
Depends on:
Blocks:
 
Reported: 2002-01-25 09:23 UTC by Heitham Omar
Modified: 2003-02-04 19:42 UTC (History)
1 user (show)

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


Attachments
alevt-1.6.0.ebuild (alevt.tar.gz,1.08 KB, text/plain)
2002-01-25 09:25 UTC, Heitham Omar
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Heitham Omar 2002-01-25 09:23:51 UTC
Please find attached alevt.tar.gz containing alevt-1.6.0.ebuild and two patches,
one to fix a compile error in alevt-date.c and one to change the location the
makefile installs the files.

Alevt is a teletext/videotext viewer for X11. The homepage is down at this time.

I suggest media-video/alevt, the ebuild depends on libpng and xfree.
Comment 1 Heitham Omar 2002-01-25 09:25:01 UTC
Created attachment 84 [details]
alevt-1.6.0.ebuild
Comment 2 Bart Verwilst 2002-01-30 13:11:33 UTC
Please put the files themselfs on bugzilla, easier for me ;o)
Comment 3 Heitham Omar 2002-01-30 15:16:06 UTC
# Copyright 1999-2001 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Maintainer: First Last <your email>
# /space/gentoo/cvsroot/gentoo-x86/skel.build,v 1.11 2001/12/06 22:12:34 drobbin
s Exp

S=${WORKDIR}/${P}

DESCRIPTION="Teletext viewer for X11"
SRC_URI="http://www.ibiblio.org/pub/Linux/apps/video/${P}.tar.gz"
HOMEPAGE="http://"

DEPEND="virtual/glibc
    >=media-libs/libpng-1.0.8
    >=x11-base/xfree-4.0.1"

src_unpack() {
    unpack ${A}
    cd ${S}
    patch -p1 < ${FILESDIR}/${PF}-alevt-date.diff
    patch -p1 < ${FILESDIR}/${PF}-makefile.diff
}

src_compile() {
    emake || die
}

src_install () {
    make DESTDIR=${D} install || die
}
Comment 4 Heitham Omar 2002-01-30 15:19:09 UTC
alevt-1.6.0-alevt-date.diff:

--- alevt-1.6.0/alevt-date.c    Sat Sep 16 22:34:42 2000
+++ alevt-1.6.0.ice/alevt-date.c        Thu Jan 24 21:59:32 2002
@@ -3,6 +3,7 @@
 #include <stdlib.h>
 #include <unistd.h>
 #include <signal.h>
+#include <time.h>
 
 #include "os.h"
 #include "vt.h"
@@ -22,7 +23,7 @@
 {
     struct tm *tm;
     time_t sys_t;
-    int dt;
+    int dt, timezone;
     char buf[256];
 
     if (t < 0 || t > 235959 || t%100 > 59 || t/100%100 > 59)
Comment 5 Heitham Omar 2002-01-30 15:20:58 UTC
alevt-1.6.0-makefile.diff:

--- alevt-1.6.0/Makefile        Wed Oct 11 19:08:29 2000
+++ alevt-1.6.0.ice/Makefile    Thu Jan 24 22:12:15 2002
@@ -69,12 +69,12 @@
 # anything below this line is just for me!
 
 install: all
-       install -m 0755 alevt           /usr/local/bin
-       install -m 0755 alevt-date      /usr/local/bin
-       install -m 0755 alevt-cap       /usr/local/bin
-       install -m 0644 alevt.1x        /usr/local/man/man1
-       install -m 0644 alevt-date.1    /usr/local/man/man1
-       install -m 0644 alevt-cap.1     /usr/local/man/man1
+       install -m 0755 alevt           /usr/bin
+       install -m 0755 alevt-date      /usr/bin
+       install -m 0755 alevt-cap       /usr/bin
+       install -m 0644 alevt.1x        /usr/man/man1
+       install -m 0644 alevt-date.1    /usr/man/man1
+       install -m 0644 alevt-cap.1     /usr/man/man1
        install -m 0644 contrib/mini-alevt.xpm /usr/include/X11/pixmaps
        sync
Comment 6 Jan Czmok 2002-02-09 12:19:43 UTC
*** Bug 397 has been marked as a duplicate of this bug. ***
Comment 7 Bart Verwilst 2002-04-13 17:44:33 UTC
Could you please send me the 2 patches by email, attached? 
and please mention the bugnumber as well, so i know where to look :o)
Thanks!