Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 49832 - netlcdclient-0.2.2 ebuild
Summary: netlcdclient-0.2.2 ebuild
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High enhancement (vote)
Assignee: LCD Herd
URL: http://users.servicios.retecal.es/lui...
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2004-05-03 06:00 UTC by André Ludwig
Modified: 2006-11-01 09:54 UTC (History)
1 user (show)

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


Attachments
netlcdclient-0.2.2.ebuild.tar.bz2 (netlcdclient-0.2.2.ebuild.tar.bz2,2.15 KB, application/x-bzip)
2004-05-03 06:01 UTC, André Ludwig
Details
netlcdclient-0.2.2.ebuild (netlcdclient-0.2.2.ebuild,794 bytes, text/plain)
2004-05-04 01:08 UTC, André Ludwig
Details
netlcdclient-0.2.3.ebuild (netlcdclient-0.2.3.ebuild,730 bytes, text/plain)
2005-05-14 09:02 UTC, André Ludwig
Details
netlcdclient-0.2.3.tar.bz2 (netlcdclient-0.2.3.tar.bz2,1.28 KB, application/x-bzip)
2005-05-14 09:06 UTC, André Ludwig
Details
netlcdclient-0.2.3.ebuild (netlcdclient-0.2.3.ebuild,1.07 KB, text/plain)
2006-10-14 05:30 UTC, Robert Buchholz (RETIRED)
Details
netlcdclient-0.2.3-additional-files.tar.gz (netlcdclient-0.2.3-additional-files.tar.gz,6.02 KB, application/unix-tar)
2006-10-14 05:32 UTC, Robert Buchholz (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description André Ludwig 2004-05-03 06:00:47 UTC
I wrote an ebuild to install the netstat LCDd (LCDproc) client "netlcdclient". This is my first ebuild so if you recognize any issues, please report.

1. Download netlcdclient-0.2.2.ebuild.tar.bz2
2. unpack it to /usr/local/portage
3. do '# ACCEPT_KEYWORDS="~x86" emerge netlcdclient'

hope it works :)
Comment 1 André Ludwig 2004-05-03 06:01:58 UTC
Created attachment 30592 [details]
netlcdclient-0.2.2.ebuild.tar.bz2
Comment 2 Mr. Bones. (RETIRED) gentoo-dev 2004-05-03 16:40:43 UTC
Reattach as text/plain please.
Comment 3 André Ludwig 2004-05-04 01:08:00 UTC
Created attachment 30674 [details]
netlcdclient-0.2.2.ebuild

This is the ebuild in plain text. It needs three more files (netlcdclient,
netlcdclient.conf, netlcdclient-0.2.2.diff) in it's files/ dir.
Comment 4 Martin Holzer (RETIRED) gentoo-dev 2004-05-05 23:57:14 UTC
wanna try this too =?
Comment 5 Matthijs Langenberg 2005-05-14 06:28:14 UTC
I get a compile error:

>>> emerge (1 of 1) app-misc/netlcdclient-0.2.2 to /
>>> md5 files   ;-) netlcdclient-0.2.2.ebuild
>>> md5 files   ;-) files/digest-netlcdclient-0.2.2
>>> md5 files   ;-) files/netlcdclient.conf
>>> md5 files   ;-) files/netlcdclient-0.2.2.diff
>>> md5 files   ;-) files/netlcdclient
>>> md5 src_uri ;-) netlcdclient-0.2.2.tar.gz
>>> Unpacking source...
>>> Unpacking netlcdclient-0.2.2.tar.gz to /var/tmp/portage/netlcdclient-0.2.2/work
/usr/lib/portage/bin/ebuild.sh: line 20: epatch: command not found
>>> Source unpacked.
gcc -Wall -march=athlon-xp -O3 -pipe -fomit-frame-pointer  -c netlcdclient.c -DVERSION=\"0.2.2\"
gcc -march=athlon-xp -O3 -pipe -fomit-frame-pointer  -c sockets.c
netlcdclient.c:299:17: missing terminating " character
netlcdclient.c: In function `usage':
netlcdclient.c:301: error: `i' undeclared (first use in this function)
netlcdclient.c:301: error: (Each undeclared identifier is reported only once
netlcdclient.c:301: error: for each function it appears in.)
netlcdclient.c:301: error: syntax error before '...' token
netlcdclient.c:301: error: stray '\' in program
netlcdclient.c:301: error: stray '\' in program
netlcdclient.c:301: error: stray '\' in program
netlcdclient.c:301: error: stray '\' in program
netlcdclient.c:301: error: stray '\' in program
netlcdclient.c:301: error: stray '\' in program
netlcdclient.c:301: error: stray '\' in program
netlcdclient.c:309: error: stray '\' in program
netlcdclient.c:309: error: stray '\' in program
netlcdclient.c:309: error: stray '\' in program
netlcdclient.c:309: error: stray '\' in program
netlcdclient.c:309: error: stray '\' in program
netlcdclient.c:309: error: stray '\' in program
netlcdclient.c:315:1: missing terminating " character
netlcdclient.c: In function `format_value':
netlcdclient.c:506: warning: integer constant is too large for "long" type
netlcdclient.c:506: warning: comparison is always true due to limited range of data type
netlcdclient.c:519: warning: integer constant is too large for "long" type
netlcdclient.c:519: warning: comparison is always false due to limited range of data type
netlcdclient.c: In function `format_value_multi_interface':
netlcdclient.c:598: warning: integer constant is too large for "long" type
netlcdclient.c:598: warning: comparison is always true due to limited range of data type
netlcdclient.c:617: warning: integer constant is too large for "long" type
netlcdclient.c:617: warning: comparison is always false due to limited range of data type
make: *** [netlcdclient.o] Error 1
make: *** Waiting for unfinished jobs....

!!! ERROR: app-misc/netlcdclient-0.2.2 failed.
!!! Function src_compile, Line 23, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.
----------------------------------------------
Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.3.5-20050130, glibc-2.3.4.20041102-r1, 2.6.11-gentoo-r6 i686)
=================================================================
System uname: 2.6.11-gentoo-r6 i686 AMD Athlon(tm) XP 2100+
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, May  3 2005, 13:36:23)]
distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
dev-lang/python:     2.3.5
sys-apps/sandbox:    [Not Present]
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.5, 1.8.5-r3, 1.6.3, 1.7.9-r1, 1.4_p6, 1.9.4
sys-devel/binutils:  2.15.92.0.2-r7
sys-devel/libtool:   1.5.16
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://ftp.easynet.nl/mirror/gentoo/ ftp://ftp.easynet.nl/mirror/gentoo/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo ftp://mirror.nutsmaas.nl/gentoo/"
MAKEOPTS="-j7"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow aalib acpi alsa apache2 apm berkdb bitmap-fonts crypt cups curl debug dedicated emboss encode ethereal exif foomaticdb fortran ftp gd gdbm gif icq imagemagick imap imlib ipv6 irc jabber jpeg libg++ libwww mad maildir mbox memlimit mikmod mime mmx motif mp3 mpeg msn mysql ncurses ncursus nls nptl nptlonly ogg oggvorbis oss pam pdflib perl php png python quicktime readline samba session sharedmem snmp sockets speex spell ssl svga tcpd tiff truetype truetype-fonts type1-fonts vorbis xml2 xmms xv yahoo zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS

I was just trying to create an ebuild for mpd_LCD, but I can't use this ebuild as an example now.

Comment 6 André Ludwig 2005-05-14 09:02:21 UTC
Created attachment 58884 [details]
netlcdclient-0.2.3.ebuild
Comment 7 André Ludwig 2005-05-14 09:06:07 UTC
Created attachment 58885 [details]
netlcdclient-0.2.3.tar.bz2

1. Download netlcdclient-0.2.2.ebuild.tar.bz2
2. unpack it to /usr/local/portage
3. do '# ACCEPT_KEYWORDS="~x86" emerge netlcdclient'

The attachment "netlcdclient-0.2.3.ebuild" is just the ebuild, it needs two
more files (netlcdclient,
netlcdclient.conf) in it's files/ dir.
Comment 8 Matthijs Langenberg 2005-05-15 13:21:15 UTC
That one (0.2.3) works for me, thanks for creating it.
I'm going to use this one as a template for other clients, I've never created an ebuild before so I hope it works out well.
Comment 9 Markus Ullmann (RETIRED) gentoo-dev 2006-10-08 07:29:50 UTC
Looks like fitting into lcd herd, Rob?
Comment 10 Robert Buchholz (RETIRED) gentoo-dev 2006-10-09 13:39:56 UTC
I have reworked the ebuild at [1], but I am unsure about the category naming.

Also, the package does not support the current lcdproc-0.5.0 api. I contacted the author of the program to see if it is still maintained.

[1] http://overlays.gentoo.org/dev/jokey/browser/trunk/app-misc/netlcdclient
Comment 11 Markus Ullmann (RETIRED) gentoo-dev 2006-10-09 14:48:10 UTC
As we have an LCD alias now, reassigning, sorry for bugspam
Comment 12 Robert Buchholz (RETIRED) gentoo-dev 2006-10-14 05:30:41 UTC
Created attachment 99652 [details]
netlcdclient-0.2.3.ebuild

I reworked the ebuild, included a patchset by Markus Dolze, and changed some lines myself.

Nevertheless, I found out that the client is included in lcdproc-0.5.0 already as 'iface' screen (doh!) and was heavily improved, so working with these unmaintained sources does not seem a too great idea.
Comment 13 Robert Buchholz (RETIRED) gentoo-dev 2006-10-14 05:32:03 UTC
Created attachment 99653 [details]
netlcdclient-0.2.3-additional-files.tar.gz

netlcdclient.confd and netlcdclient.initd for 'files'
netlcdclient-0.2.3-md-patchset.patch.gz has to be in SRC_URI
Comment 14 Markus Ullmann (RETIRED) gentoo-dev 2006-10-18 11:48:03 UTC
I'm tempted to say the same as if the support is already provided, why mess with old and possibly broken sources?
Comment 15 Markus Ullmann (RETIRED) gentoo-dev 2006-11-01 09:54:54 UTC
Due to no activity, WONTFIX