Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 195306 - sci-calculators/galculator-1.2.5.2-r1 fails to build
Summary: sci-calculators/galculator-1.2.5.2-r1 fails to build
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: gtk-2.12-tracker
  Show dependency tree
 
Reported: 2007-10-09 23:23 UTC by Harris Landgarten
Modified: 2007-10-26 19:43 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Harris Landgarten 2007-10-09 23:23:16 UTC
Compile fails with In file included from general_functions.c:27:
general_functions.h:54: error: conflicting types for 'gdk_color_to_string'

This is a upstream bug that has been fixed in versions after 1.3.0 see  Debian Bug#444531: galculator: FTBFS: error: conflicting types for 'gdk_color_to_string'

Reproducible: Always
Comment 1 Rémi Cardona (RETIRED) gentoo-dev 2007-10-10 08:05:35 UTC
Have you tried building gaculator with the current ebuild? None of us use this software (it's close to being on the goodbye list) it'd help a lot if you could try it in an overlay and let us know how it goes.

Thanks
Comment 2 Harris Landgarten 2007-10-10 11:17:04 UTC
The current ebuild works perfectly with galculator-1.3.1 and it fixes the bug.

The only thing I changed was the version number in the header.

BTW: I only use it because it supports rpn and my first calculator was an HP-35
Comment 3 Juergen Rose 2007-10-21 11:35:08 UTC
I use it too. It is the best RPN calculator I know.
    Juergen
Comment 4 Juergen Rose 2007-10-21 12:16:12 UTC
Creating an overlay with galculator-1.3.1 works perfectly. Why galculator-1.3.1 is not added to the normal portage tree?
   Juergen
Comment 5 Rémi Cardona (RETIRED) gentoo-dev 2007-10-21 12:43:39 UTC
galculator is not part of the Gnome project, so we don't really keep track of it :) But based on the feedback here, I'll add 1.3.1 to portage in ~arch.

In the future, if you guys could locally bump galculator in your overlays and let us know if it works, that would help us a lot to keep it up to date.

This is one software I don't think I would mind proxy-maintaining for one of you. Thanks
Comment 6 Brian Tarricone 2007-10-22 03:33:59 UTC
The plus for me is that galculator doesn't require GNOME libs (I run Xfce here).  At any rate, copying the galculator 1.2.5.2-r1 ebuild to an overlay as 1.3.1 works for me as well (on ppc).  Can this get bumped in portage?
Comment 7 Rémi Cardona (RETIRED) gentoo-dev 2007-10-22 06:56:14 UTC
Yeah the ebuild is fine, but there are a few things in it that are kind of quirky:

- the galculator.desktop file uses a gtk/gnome icon when it already ships its own icon. Unfortunately, the makefiles put this icon somewhere that can't be reached directly from .desktop files. Basically, the icon should be installed either in /usr/share/pixmaps/ or /usr/share/icons/hicolor/scalable/apps/ but not in /usr/share/pixmaps/galculator/. Patch more than welcome ;)
- the current handling of po/* files is deprecated. And since it's using intltool, galculator could be brought into the 21st century by following this : http://live.gnome.org/GnomeGoals/PoLinguas . While the current setup still works, it's spewing out a few warnings, but this should go upstream.

At any rate, I'll bump the ebuild as-is but feel free to consider this a small Gentoo/Gnome Love project :) Both items on this todo should be fixable in under an hour.
Comment 8 Rémi Cardona (RETIRED) gentoo-dev 2007-10-26 19:43:28 UTC
Bleh, sorry I forgot about this. Committed to CVS.

If _anyone_ is interested in those two things, I have a couple patches in a git repos for 1.3.1. Just for fun, I may continue to fix those tiny issues but if anyone feels like helping me out (for your own good!) don't hesitate to ping me.