Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 55617
Alias:
Product:
Component:
Status: RESOLVED
Resolution: DUPLICATE of bug 60282
Assigned To: Mike Gardiner (RETIRED) <obz@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: David Holm (RETIRED) <dholm@gentoo.org>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
gdesklets-core-0.30_pre.ebuild gnome-extra/gdesklets-core-0.30_pre.ebuild text/plain David Holm (RETIRED) 2004-06-29 14:04 0000 1.84 KB Details
gdesklets-core-0.30_pre.ebuild gdesklets-core-0.30_pre.ebuild text/plain teedog@gmail.com 2004-07-08 15:34 0000 1.85 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 55617 depends on: Show dependency tree
Bug 55617 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2004-06-29 14:03 0000

    

------- Comment #1 From David Holm (RETIRED) 2004-06-29 14:04:14 0000 -------
Created an attachment (id=34446) [details]
gnome-extra/gdesklets-core-0.30_pre.ebuild

------- Comment #2 From teedog@gmail.com 2004-07-08 15:25:34 0000 -------
All dependencies compiled fine, but I received the following error when
compiling gdesklet:

gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -I/usr/include/libgtop-2.0 -I/usr/include/python2.3
-L/usr/lib -L/usr/X11R6/lib -lXau -lgtop-2.0 -lglib-2.0
-DLIBGTOP_VERSION_CODE=2006000 -O3 -march=pentium3 -pipe -MT
_glibtopmodule_la-libgtop_const.lo -MD -MP -MF
.deps/_glibtopmodule_la-libgtop_const.Tpo -c libgtop_const.c  -fPIC -DPIC -o
.libs/_glibtopmodule_la-libgtop_const.o
gcc: -lXau: linker input file unused because linking not done
gcc: -lgtop-2.0: linker input file unused because linking not done
gcc: -lglib-2.0: linker input file unused because linking not done
gcc: -lXau: linker input file unused because linking not done
gcc: -lgtop-2.0: linker input file unused because linking not done
gcc: -lglib-2.0: linker input file unused because linking not done
cp -f glibtop_tmpl.i glibtop.i && ./libgtop_const >> glibtop.i
swig -python glibtop.i
make[4]: swig: Command not found
make[4]: *** [glibtop_wrap.c] Error 127
make[4]: *** Waiting for unfinished jobs....
gcc: -lXau: linker input file unused because linking not done
gcc: -lgtop-2.0: linker input file unused because linking not done
gcc: -lglib-2.0: linker input file unused because linking not done
gcc: -lXau: linker input file unused because linking not done
gcc: -lgtop-2.0: linker input file unused because linking not done
gcc: -lglib-2.0: linker input file unused because linking not done
make[4]: Leaving directory
`/var/tmp/portage/gdesklets-core-0.30_pre/work/gDesklets-0.30pre/libdesklets/system'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory
`/var/tmp/portage/gdesklets-core-0.30_pre/work/gDesklets-0.30pre/libdesklets/system'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/var/tmp/portage/gdesklets-core-0.30_pre/work/gDesklets-0.30pre/libdesklets'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/var/tmp/portage/gdesklets-core-0.30_pre/work/gDesklets-0.30pre'
make: *** [all] Error 2

!!! ERROR: gnome-extra/gdesklets-core-0.30_pre failed.
!!! Function gnome2_src_compile, Line 39, Exitcode 2
!!! compile failure

------- Comment #3 From teedog@gmail.com 2004-07-08 15:34:00 0000 -------
Created an attachment (id=35030) [details]
gdesklets-core-0.30_pre.ebuild

Emerging swig got rid of the compile errors above.  Added dev-lang/swig to
DEPEND.

------- Comment #4 From Mike Gardiner (RETIRED) 2004-07-12 18:46:17 0000 -------
How's this for stability and everything? I'm toying with the idea of putting it
in as I haven't had many problems? (of course putting 0.26.2 in first). Please
comment specifically.

Thanks.

------- Comment #5 From Rafael Cordones Marcos 2004-07-15 02:53:19 0000 -------
I emerged gdesklets-core-0.30_pre ebuild on my system.

I have "kde gnome" in my USE flags *but* I only run KDE and have not emerged the whole GNOME desktop. Supposedly this should be fine as exposed in
http://gnomesupport.org/forums/viewtopic.php?t=7160

When I start gDesklets I get an icon in the KDE system tray.

Then I load a desklet with:

rcm@testa:~$> gdesklets open /usr/share/gdesklets/Displays/Clock/rafclock.display
ID: id108988298887L58263
rcm@testa:~$>

But nothing happens so I look at the log file in 
/home/rcm/.gdesklets/gdesklets\:0.0.log and I get:

<bound method Starter.__handle_set_remove_command of <main.Starter.Starter instance at 0x412264cc>>
<bound method Starter.__handle_set_startup_command of <main.Starter.Starter instance at 0x412264cc>>
REMOVING id108988259059L57464
<bound method Starter.__handle_set_remove_command of <main.Starter.Starter instance at 0x412264cc>>
<bound method Starter.__handle_set_startup_command of <main.Starter.Starter instance at 0x412264cc>>
<bound method Starter.__handle_open_display of <main.Starter.Starter instance at 0x412264cc>>
IDENT id108988259059L57464 /usr/share/gdesklets/Displays/Clock/rafclock.display
exception [Errno 2] No such file or directory: '/home/rcm/.gdesklets/Sensors'
PURGE
PURGE []
purging id108988259059L57464

From this I deduce that gDesklets is looking for the sensors at the wrong place which should be /usr/share/gdesklets/Sensors/

As I quick "fix" I do a

rcm@testa:~$> cp -r /usr/share/gdesklets/Sensors /home/rcm/.gdesklets/

I restart gDesklets and reopen /usr/share/gdesklets/Displays/Clock/rafclock.display

Now I get the following error in the log 

IDENT id108988298887L58263 /usr/share/gdesklets/Displays/Clock/rafclock.display
Error while configuring display: No module named gtkhtml2
PURGE
PURGE []
purging id108988298887L58263
REMOVING id108988298887L58263

Then I look if I have gtkhtml installed, which I have not. In fact, I do not have the gtkhtml USE flag activated.

I then add "gtkhtml" USE flag and re-emerge gnome-python and now it works!!

So I think gnome-python MUST be emerged with gtkhtml support for gDesklets to work.

Question: how do we force emerging gnome-python with gtkhtml support even if the user has not set the gtkhtml flag?

We still have to fix the issue with gDesklets looking for sensors in the users home directory and not in /usr/share/gdesklets/ system-wide directory.



------- Comment #6 From Stefan Schweizer 2004-07-17 14:30:29 0000 -------
*** Bug 57415 has been marked as a duplicate of this bug. ***

------- Comment #7 From Mike Gardiner (RETIRED) 2004-08-20 21:14:37 0000 -------

*** This bug has been marked as a duplicate of 60282 ***

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug