From owner-freebsd-gnome@FreeBSD.ORG Sun Nov 16 04:33:45 2003 Return-Path: Delivered-To: freebsd-gnome@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 26B1316A4CE for ; Sun, 16 Nov 2003 04:33:45 -0800 (PST) Received: from ubul.goodwill.hu (ubul.goodwill.hu [217.65.110.210]) by mx1.FreeBSD.org (Postfix) with ESMTP id CFCB843F93 for ; Sun, 16 Nov 2003 04:33:43 -0800 (PST) (envelope-from szabszi@goodwill.hu) Received: from amavis by ubul.goodwill.hu with scanned-ok (Exim 3.35 #1 (Debian)) id 1ALM65-0006dm-00 for ; Sun, 16 Nov 2003 13:33:45 +0100 Received: from szabszi by ubul.goodwill.hu with local (Exim 3.35 #1 (Debian)) id 1ALM63-0006db-00 for ; Sun, 16 Nov 2003 13:33:43 +0100 Date: Sun, 16 Nov 2003 13:33:43 +0100 From: =?iso-8859-2?Q?G=E9czi?= Szabolcs To: gnome@freebsd.org Message-ID: <20031116123343.GA25072@goodwill.hu> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.3.28i X-Virus-Scanned: by AMaViS perl-11 Subject: gnome-pilot X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Nov 2003 12:33:45 -0000 Hello, I tried to compile the gnome-pilot2 but I got this error message: gmake install-data-hook gmake[4]: Entering directory /usr/ports/palm/gnomepilot2/work/gnome-pilot-2.0.10/help/C' /bin/sh ../../mkinstalldirs /usr/X11R6/share/gnome/omf/gnome-pilot for file in gnome-pilot-C.omf; do \ install -o root -g wheel -m 444 $file.out /usr/X11R6/share/gnome/omf/gnome-pilot/$file; \ done install: gnome-pilot-C.omf.out: No such file or directory gmake[4]: *** [install-data-hook-omf] Error 71 gmake[4]: Leaving directory /usr/ports/palm/gnomepilot2/work/gnome-pilot-2.0.10/help/C' gmake[3]: *** [install-data-am] Error 2 gmake[3]: Leaving directory /usr/ports/palm/gnomepilot2/work/gnome-pilot-2.0.10/help/C' gmake[2]: *** [install-am] Error 2 gmake[2]: Leaving directory /usr/ports/palm/gnomepilot2/work/gnome-pilot-2.0.10/help/C' gmake[1]: *** [install-recursive] Error 1 gmake[1]: Leaving directory /usr/ports/palm/gnomepilot2/work/gnome-pilot-2.0.10/help' gmake: *** [install-recursive] Error 1 *** Error code 2 Stop in /usr/ports/palm/gnomepilot2. any idea? (FreeBSD 5.1, today cvsupped ports) -- Géczi Szabolcs GPG: http://www.goodwill.hu/~szabszi/szabszi.asc Fingerprint: B36C 150C C316 5A15 DB5F 183A 303B 5AEB 36C2 3162 From owner-freebsd-gnome@FreeBSD.ORG Sun Nov 16 06:37:26 2003 Return-Path: Delivered-To: freebsd-gnome@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 286DE16A4CE for ; Sun, 16 Nov 2003 06:37:26 -0800 (PST) Received: from sv02.webonaut.com (kirk.webonaut.com [212.41.243.26]) by mx1.FreeBSD.org (Postfix) with ESMTP id AAECC43FA3 for ; Sun, 16 Nov 2003 06:37:24 -0800 (PST) (envelope-from klammer@webonaut.com) Received: from localhost (localhost [127.0.0.1]) by sv02.webonaut.com (Postfix) with ESMTP id B3A8076421; Sun, 16 Nov 2003 15:37:21 +0100 (CET) Received: from sv02.webonaut.com ([127.0.0.1]) by localhost (sv02.webonaut.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 65302-02; Sun, 16 Nov 2003 15:37:19 +0100 (CET) Received: from webonaut.com (sisko.webonaut.com [212.41.243.28]) by sv02.webonaut.com (Postfix) with ESMTP id 54B3B7641F; Sun, 16 Nov 2003 15:37:19 +0100 (CET) Message-ID: <3FB78BA0.3090803@webonaut.com> Date: Sun, 16 Nov 2003 15:37:20 +0100 From: Franz Klammer User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.5) Gecko/20031021 Thunderbird/0.3 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Jeremy Messenger , gnome@freebsd.org References: <3FB3CA31.20309@webonaut.com> <3FB3DB2B.8090904@webonaut.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at webonaut.com Subject: Re: SysInfo-desklet, small problems... X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Nov 2003 14:37:26 -0000 Jeremy Messenger wrote: > I can't get the network works so I have the feel that there might be > some more stuff that you have changed somewhere in SysInfo or > libdesklets? I keep get error like this: > > LibGTop-Server: kvm_read (ifnetaddr): Bad address in my attempts to get sysinfo running i'm also did a portupgrade -f for libgtop and python. mabe you should do the same. maybe it's relevant: my output of uname -a: FreeBSD ds9.webonaut.com 5.1-CURRENT FreeBSD 5.1-CURRENT #10: Tue Nov 11 13:42:18 CET 2003 > Your patch works great as far I can tell by add print stuff and check > in the configure option, but I think it can't find my IP or whatever > in the SysInfo or somewhere. > > Umm, I tried to comment out the same line what you did on > SysInfo-0.21.2 for refresh and it doesn't work on me. :-/ It only will > appear if I click on configure, but it doesn't refresh thought. > you suppose in one of you last mail the i changed more the the one line in sysinfo, and the anser is: YES! -> in libmap.conf - i use this overall-settings: libc_r.so.5 libkse.so.1 libc_r.so libkse.so it seems that it only work only with libkse. if i go back to libc_r sysinfo doesn't work. > As for libdesklets::Disk.py, all I have to do is add an "?" in the > fstype (with ufs and etc) and it works fine. I know, it's not a real > solution but at least it works and still need to fix somewhere in the > libgtop. > but if you enter add the "?" you will also find procfs/linprocfs/nullfs wich doesn't really make sense to examine. i will suggest use my patch as workaround until a real solution is found. hope that helps. franz. > Thanks again! > your'e welcome! :-) > Cheers, > Mezz > > From owner-freebsd-gnome@FreeBSD.ORG Sun Nov 16 08:24:54 2003 Return-Path: Delivered-To: freebsd-gnome@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3527E16A4CE for ; Sun, 16 Nov 2003 08:24:54 -0800 (PST) Received: from sv02.webonaut.com (kirk.webonaut.com [212.41.243.26]) by mx1.FreeBSD.org (Postfix) with ESMTP id 05DF943FB1 for ; Sun, 16 Nov 2003 08:24:52 -0800 (PST) (envelope-from klammer@webonaut.com) Received: from localhost (localhost [127.0.0.1]) by sv02.webonaut.com (Postfix) with ESMTP id 55ED576421; Sun, 16 Nov 2003 17:24:45 +0100 (CET) Received: from sv02.webonaut.com ([127.0.0.1]) by localhost (sv02.webonaut.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 65302-04; Sun, 16 Nov 2003 17:23:07 +0100 (CET) Received: from webonaut.com (sisko.webonaut.com [212.41.243.28]) by sv02.webonaut.com (Postfix) with ESMTP id 0141F7641F; Sun, 16 Nov 2003 17:23:06 +0100 (CET) Message-ID: <3FB7A46D.1050204@webonaut.com> Date: Sun, 16 Nov 2003 17:23:09 +0100 From: Franz Klammer User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.5) Gecko/20031021 Thunderbird/0.3 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Alexander Leidinger References: <3FB3CA31.20309@webonaut.com> <3FB3D047.3010701@webonaut.com> <20031114100638.08c69054.Alexander@Leidinger.net> In-Reply-To: <20031114100638.08c69054.Alexander@Leidinger.net> Content-Type: multipart/mixed; boundary="------------010800060204090706090502" X-Virus-Scanned: by amavisd-new at webonaut.com cc: gnome@freebsd.org Subject: Re: Fwd: Re: gdesksets/files/patch-libdesklets::Network.py X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Nov 2003 16:24:54 -0000 This is a multi-part message in MIME format. --------------010800060204090706090502 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit ok! now i've found why the function __do_sys not working: __do_sys is calling sysstart() to get the system boottime. but this function is removed from libdesklets/Sys.py. if i remove all relevant lines from __do_sys and from sysinfo.display i get now also the Load, Uptime and Idle time. Expect of course the boot time. attached a shar-file of gdesklet-sysinfo for review. some kown problems: - to make it run you need to activate libkse in /etc/libmap.conf - it doesn't/can't show the starttime and cpu-cache. - also it needs my libdesklet-modifications/-fixes to be able to configure it. franz. Alexander Leidinger wrote: >On Thu, 13 Nov 2003 14:30:43 -0600 >Jeremy Messenger wrote: > > > >>>SysInfo-desklet >>> >>>it start's the thread, but i had to comment out following Sensor-line >>>in __init__.py::__get_sys_info_thread(): >>> >>> #self.__do_sys(signal, index) >>> >>>whatever this line does - it works without it ;-) >>> >>> > >Great work. > > thanks! :-) >Bye, >Alexander. > > > -- webonaut.com :: web technology klammer@webonaut.com :: http://webonaut.com/ fon +43-664-3434708 -- MIG_media intelligence group > agentur für werbung & neue medien A-5020 Salzburg > Linzergasse 21 Fon +43-662-453091-0 > Fax -99 office@mig.co.at > http://www.mig.co.at -- --------------010800060204090706090502 Content-Type: text/plain; name="sysinfo.shar" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="sysinfo.shar" # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # gdesklets-sysinfo/ # gdesklets-sysinfo/Makefile # gdesklets-sysinfo/distinfo # gdesklets-sysinfo/pkg-descr # gdesklets-sysinfo/pkg-message # gdesklets-sysinfo/pkg-plist # gdesklets-sysinfo/files # gdesklets-sysinfo/files/patch-Install_SysInfo_Sensor.bin # gdesklets-sysinfo/files/patch-sysinfo.display # gdesklets-sysinfo/files/postbuild-patch-__init__.py # echo c - gdesklets-sysinfo/ mkdir -p gdesklets-sysinfo/ > /dev/null 2>&1 echo x - gdesklets-sysinfo/Makefile sed 's/^X//' >gdesklets-sysinfo/Makefile << 'END-of-gdesklets-sysinfo/Makefile' X# New ports collection makefile for: gdesklets-clock X# Date created: 13 November 2003 X# Whom: Franz Klammer X# X# $FreeBSD:$ X# X XPORTNAME= gdesklets-sysinfo XPORTVERSION= 0.21.2 XCATEGORIES= deskutils gnome XMASTER_SITES= http://gdesklets.gnomedesktop.org/files/ XDISTNAME= SysInfo-${PORTVERSION} XWRKSRC= ${WRKDIR}/${NAME} X XMAINTAINER= klammer@webonaut.com XCOMMENT= desklet shows various information about your system X XRUN_DEPENDS= ${X11BASE}/libdata/pkgconfig/gdesklets-core.pc:${PORTSDIR}/deskutils/gdesklets X X#USE_BZIP2= yes XUSE_X_PREFIX= yes XNAME= SysInfo X Xpost-extract: X @${MV} ${WRKDIR}/Install_${NAME}_Sensor.bin ${WRKSRC}/ X Xdo-build: X @${WRKSRC}/Install_${NAME}_Sensor.bin --nomsg ${WRKSRC} X @${PATCH} -sp0 < ${PATCHDIR}/postbuild-patch-__init__.py X @${FIND} ${WRKSRC} -name '*.orig' -delete X Xdo-install: X @${MKDIR} ${PREFIX}/share/gnome/gdesklets/Displays/${NAME} X @${CP} ${WRKSRC}/*.display ${PREFIX}/share/gnome/gdesklets/Displays/${NAME}/ X @${CP} -Rp ${WRKSRC}/gfx ${PREFIX}/share/gnome/gdesklets/Displays/${NAME}/ X @${CP} -Rp ${WRKSRC}/${NAME} ${PREFIX}/share/gnome/gdesklets/Sensors/ X @${CP} ${WRKSRC}/AUTHORS ${PREFIX}/share/gnome/gdesklets/Displays/${NAME}/ X @${LN} -s ${PREFIX}/share/gnome/gdesklets/Displays/${NAME}/AUTHORS \ X ${PREFIX}/share/gnome/gdesklets/Sensors/${NAME}/AUTHORS X Xpost-install: X @${CAT} ${PKGMESSAGE} X X.include END-of-gdesklets-sysinfo/Makefile echo x - gdesklets-sysinfo/distinfo sed 's/^X//' >gdesklets-sysinfo/distinfo << 'END-of-gdesklets-sysinfo/distinfo' XMD5 (SysInfo-0.21.2.tar.gz) = 588c0f52ee113fe8abaa384367753547 END-of-gdesklets-sysinfo/distinfo echo x - gdesklets-sysinfo/pkg-descr sed 's/^X//' >gdesklets-sysinfo/pkg-descr << 'END-of-gdesklets-sysinfo/pkg-descr' XSysInfo shows various information about your system. X XWWW: http://gdesklets.gnomedesktop.org/ END-of-gdesklets-sysinfo/pkg-descr echo x - gdesklets-sysinfo/pkg-message sed 's/^X//' >gdesklets-sysinfo/pkg-message << 'END-of-gdesklets-sysinfo/pkg-message' X## XTo view all installed applets: X X ls ${PREFIX}/share/gnome/gdesklets/Displays X XTo use those applets: X X gdesklets ${PREFIX}/share/gnome/gdesklets/Displays/${name}/${name}.display X XReplace ${name} with the correct name of the applets you want to use. X XNOTE: Be sure to login as your user when you use the gdesklets command, X as the configuration will be stored in the ~/.gdesklets/ directory. X## END-of-gdesklets-sysinfo/pkg-message echo x - gdesklets-sysinfo/pkg-plist sed 's/^X//' >gdesklets-sysinfo/pkg-plist << 'END-of-gdesklets-sysinfo/pkg-plist' Xshare/gnome/gdesklets/Displays/SysInfo/AUTHORS Xshare/gnome/gdesklets/Displays/SysInfo/gfx/bg.png Xshare/gnome/gdesklets/Displays/SysInfo/gfx/border-left.png Xshare/gnome/gdesklets/Displays/SysInfo/gfx/border-right.png Xshare/gnome/gdesklets/Displays/SysInfo/gfx/border-top.png Xshare/gnome/gdesklets/Displays/SysInfo/gfx/border-topleft.png Xshare/gnome/gdesklets/Displays/SysInfo/gfx/gauge-bg.png Xshare/gnome/gdesklets/Displays/SysInfo/gfx/gauge.png Xshare/gnome/gdesklets/Displays/SysInfo/gfx/gauge_h.png Xshare/gnome/gdesklets/Displays/SysInfo/sysinfo.display Xshare/gnome/gdesklets/Sensors/SysInfo/AUTHORS Xshare/gnome/gdesklets/Sensors/SysInfo/ChangeLog Xshare/gnome/gdesklets/Sensors/SysInfo/__init__.py Xshare/gnome/gdesklets/Sensors/SysInfo/gfx/SysInfo.png Xshare/gnome/gdesklets/Sensors/SysInfo/gfx/boot.png Xshare/gnome/gdesklets/Sensors/SysInfo/gfx/cpu.png Xshare/gnome/gdesklets/Sensors/SysInfo/gfx/hdd.png Xshare/gnome/gdesklets/Sensors/SysInfo/gfx/memory.png Xshare/gnome/gdesklets/Sensors/SysInfo/gfx/network.png X@dirrm share/gnome/gdesklets/Displays/SysInfo/gfx X@dirrm share/gnome/gdesklets/Displays/SysInfo X@dirrm share/gnome/gdesklets/Sensors/SysInfo/gfx X@dirrm share/gnome/gdesklets/Sensors/SysInfo END-of-gdesklets-sysinfo/pkg-plist echo c - gdesklets-sysinfo/files mkdir -p gdesklets-sysinfo/files > /dev/null 2>&1 echo x - gdesklets-sysinfo/files/patch-Install_SysInfo_Sensor.bin sed 's/^X//' >gdesklets-sysinfo/files/patch-Install_SysInfo_Sensor.bin << 'END-of-gdesklets-sysinfo/files/patch-Install_SysInfo_Sensor.bin' X--- Install_SysInfo_Sensor.bin.orig Thu Nov 13 17:37:51 2003 X+++ Install_SysInfo_Sensor.bin Thu Nov 13 17:38:37 2003 X@@ -75,15 +75,9 @@ X else: X cmd = "mkdir -p %(destination)s; cd %(destination)s; " \ X "LANG=C tar -xzvf %(tmp)s 2>&1" X- fail, out = commands.getstatusoutput(cmd % vars()) X+ commands.getstatusoutput(cmd % vars()) X os.unlink(tmp) X X- if (fail): X- if (no_message): print ERROR_TAR + out X- else: message(ERROR_TAR + out, "error") X- sys.exit(1) X- X- print out X if (not list_only): X if (no_message): print SUCCESS X else: message(SUCCESS, "info") END-of-gdesklets-sysinfo/files/patch-Install_SysInfo_Sensor.bin echo x - gdesklets-sysinfo/files/patch-sysinfo.display sed 's/^X//' >gdesklets-sysinfo/files/patch-sysinfo.display << 'END-of-gdesklets-sysinfo/files/patch-sysinfo.display' X--- sysinfo.display Fri Sep 12 22:38:01 2003 X+++ sysinfo.display Sun Nov 16 16:22:52 2003 X@@ -26,15 +26,15 @@ X watch="value=sys:value1, visible=sys:show1, font=sys:fonts, X color=sys:val_color"/> X X-