NetBSD Problem Report #37017

From ccatrian@eml.cc  Sat Sep 22 15:54:49 2007
Return-Path: <ccatrian@eml.cc>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by narn.NetBSD.org (Postfix) with ESMTP id 9E77C63B86C
	for <gnats-bugs@gnats.netbsd.org>; Sat, 22 Sep 2007 15:54:49 +0000 (UTC)
Message-Id: <1190471969.16142@core.cjc.cl>
Date: Sat, 22 Sep 2007 10:39:29 -0400
From: "César Catrián Carreño" <ccatrian@eml.cc>
To: "gnats bugs" <gnats-bugs@NetBSD.org>
Subject: Update Galculator from 1.2.5.2 to 1.3
X-Send-Pr-Version: gtk-send-pr 0.4.8 
X-GNATS-Notify:

>Number:         37017
>Category:       pkg
>Synopsis:       Update Galculator from 1.2.5.2 to 1.3
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    obache
>State:          closed
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Sat Sep 22 15:55:00 +0000 2007
>Closed-Date:    Sun Sep 23 07:03:11 +0000 2007
>Last-Modified:  Sun Sep 23 07:05:01 +0000 2007
>Originator:     César Catrián Carreño
>Release:        NetBSD 4.99.31 i386
>Organization:
>Environment:


System: NetBSD 4.99.31 (Basado en GENERIC: 1.781) #0: Thu Sep 20 21:50:32 CLT 2007
	cetrox@core.cjc.cl:/home/cetrox/src/netbsd-current/src/sys/arch/i386/compile/SAT



>Description:


Old source fails to build with new gtk-2:
In file included from main.c:34:
general_functions.h:54: error: conflicting types for 'gdk_color_to_string'
/pkg_comp/obj/pkgsrc/math/galculator/default/.buildlink/include/gtk-2.0/gdk/gdkcolor.h:137: error: previous declaration of 'gdk_color_to_string' was here
and
general_functions.c:320: error: conflicting types for 'gdk_color_to_string'
/pkg_comp/obj/pkgsrc/math/galculator/default/.buildlink/include/gtk-2.0/gdk/gdkcolor.h:137: error: previous declaration of 'gdk_color_to_string' was here


>How-To-Repeat:





>Fix:


--- math/galculator/Makefile.orig       2007-09-22 10:28:50.000000000 -0400
+++ math/galculator/Makefile    2007-09-22 10:32:06.000000000 -0400
@@ -1,8 +1,7 @@
 # $NetBSD: Makefile,v 1.13 2007/09/21 13:03:58 wiz Exp $
 #

-DISTNAME=              galculator-1.2.5.2
-PKGREVISION=           2
+DISTNAME=              galculator-1.3
 CATEGORIES=            math
 MASTER_SITES=          ${MASTER_SITE_SOURCEFORGE:=galculator/}

@@ -10,6 +9,8 @@
 HOMEPAGE=              http://galculator.sourceforge.net/
 COMMENT=               Desktop calculator with scientific / RPN modes

+WRKSRC=                        ${WRKDIR}/galculator-1.3.0
+
 USE_PKGLOCALEDIR=      yes
 GNU_CONFIGURE=         yes
 USE_TOOLS+=            gmake msgfmt pkg-config intltool


--- math/galculator/PLIST.orig  2007-09-22 10:34:03.000000000 -0400
+++ math/galculator/PLIST       2007-09-22 10:35:47.000000000 -0400
@@ -4,19 +4,24 @@
 share/applications/galculator.desktop
 share/galculator/glade/about.glade
 share/galculator/glade/basic_buttons.glade
-share/galculator/glade/color.glade
+share/galculator/glade/classic_view.glade
 share/galculator/glade/dispctrl_bottom.glade
 share/galculator/glade/dispctrl_right.glade
 share/galculator/glade/dispctrl_right_vertical.glade
-share/galculator/glade/font.glade
 share/galculator/glade/main_frame.glade
+share/galculator/glade/paper_view.glade
 share/galculator/glade/prefs.glade
 share/galculator/glade/scientific_buttons.glade
 share/locale/de/LC_MESSAGES/galculator.mo
+share/locale/es_MX/LC_MESSAGES/galculator.mo
 share/locale/fr/LC_MESSAGES/galculator.mo
 share/locale/ja/LC_MESSAGES/galculator.mo
 share/locale/pl/LC_MESSAGES/galculator.mo
 share/locale/pt_BR/LC_MESSAGES/galculator.mo
 share/locale/ro/LC_MESSAGES/galculator.mo
+share/locale/ru/LC_MESSAGES/galculator.mo
+share/locale/sk/LC_MESSAGES/galculator.mo
+share/pixmaps/galculator/galculator.svg
+share/pixmaps/galculator/galculator_48x48.png
 @dirrm share/galculator/glade
 @dirrm share/galculator



>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: pkg-manager->obache
Responsible-Changed-By: obache@netbsd.org
Responsible-Changed-When: Sun, 23 Sep 2007 04:59:48 +0000
Responsible-Changed-Why:
I'll handle this.


State-Changed-From-To: open->closed
State-Changed-By: obache@netbsd.org
State-Changed-When: Sun, 23 Sep 2007 07:03:11 +0000
State-Changed-Why:
Updated.  Thanks for the PR!


From: OBATA Akio <obache@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: PR/37017 CVS commit: pkgsrc/math/galculator
Date: Sun, 23 Sep 2007 07:00:31 +0000 (UTC)

 Module Name:	pkgsrc
 Committed By:	obache
 Date:		Sun Sep 23 07:00:31 UTC 2007

 Modified Files:
 	pkgsrc/math/galculator: Makefile PLIST distinfo

 Log Message:
 Update galculator to 1.3.
 Based on patch provided by PR 37017.
 Fixes build problem with gtk-2.12.0.
 OKed by wiz@.

 This release introduces so-called paper mode, a new galculator view intended to
 be more intuitive by means of "Do your calculations as you would do them on a
 paper". Along with this new GUI feature, various bugs all over the GUI - core
 interface have been fixed, with the arithmetic core stable and flawless since a
 handful of releases.


 To generate a diff of this commit:
 cvs rdiff -r1.13 -r1.14 pkgsrc/math/galculator/Makefile
 cvs rdiff -r1.2 -r1.3 pkgsrc/math/galculator/PLIST
 cvs rdiff -r1.3 -r1.4 pkgsrc/math/galculator/distinfo

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.