X-Recipient: archive-cygwin@delorie.com
X-Spam-Check-By: sourceware.org
X-Mailer: 21.4 (patch 21) "Educational Television" XEmacs Lucid (via feedmail 10 I)
To: Angelo Graziosi <angelo.graziosi@alice.it>
Cc: cygwin@cygwin.com
Subject: Re: [ITA] xfig/xfig-lib: An interactive drawing tool (patch)
References: <47FA9D04.5090803@alice.it> 	<7z4pacl4fl.fsf@vzell-de.de.oracle.com> <47FBD05F.5060206@alice.it> 	<47FBE2E3.8040001@alice.it>
From: "Dr. Volker Zell" <dr.volker.zell@oracle.com>
Date: Thu, 10 Apr 2008 22:31:48 +0200
In-Reply-To: <47FBE2E3.8040001@alice.it> (Angelo Graziosi's message of "Tue, 	08 Apr 2008 23:25:55 +0200")
Message-ID: <7zprsx78p7.fsf@vzell-de.de.oracle.com>
User-Agent: Gnus/5.1008 (Gnus v5.10.8) XEmacs/21.4.21 (cygwin32)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

>>>>> Angelo Graziosi writes:

    > Angelo Graziosi ha scritto:
    >> Dr. Volker Zell ha scritto:
    >>>>>>>> Angelo Graziosi writes:
    >>> 
    >>>>> But why still 3.2.4 version? A new release 3.2.5 with several bug
    >>>>> fixes has been released [1].
    >>> 
    >>> The problem is it does not compile due to dependency on
    >>> 
    >>> #include <complex.h>
    >>> in w_intersect.c (which we don't have) and later on
    >>> 
    >>> w_intersect.c:884: error: syntax error before "ix1c"
    >>> w_intersect.c:885: error: syntax error before "iy1c"
    >>> w_intersect.c:886: error: syntax error before "ix2c"
    >>> w_intersect.c:887: error: syntax error before "iy2c"
    >>> w_intersect.c:891: error: `iy1c' undeclared (first use in this function)
    >>> w_intersect.c:891: error: (Each undeclared identifier is reported
    >>> only once
    >>> w_intersect.c:891: error: for each function it appears in.)
    >>> w_intersect.c:891: error: `_Complex_I' undeclared (first use in
    >>> this function)
    >>> w_intersect.c:892: error: `ix1c' undeclared (first use in this function)
    >>> w_intersect.c:894: error: `iy2c' undeclared (first use in this function)
    >>> w_intersect.c:895: error: `ix2c' undeclared (first use in this function)
    >>> 
    >>> Ciao
    >>> Volker
    >> The patch below should solve the thing.
    >> It avoids the complex computing. If z=(x,y) is a complex number, then
    >> the line 891 of w_intersect.c reads
    >> iy1c = (-X,sqrt(-rx))/(2.0 * W)
    >> which with reals reads
    >> iy1c_x = -X/(2.0 * W)
    >> iy1c_y = sqrt(-rx)/(2.0 * W)
    >> The line 892 (in complexs) reads
    >> ix1c = (K * iy1c) + L
    >> i.e. in real form
    >> ix1c_x = K*iy1c_x+L
    >> ix1c_y = K*iy1c_y+0
    >> and so on.
    >> To be noted :
    >> ---  K,X,W,L are all real.
    >> ---  (-rx)>0 in sqrt(-rx) (see line 873 and 880)
    >> My buildnow fails when installing:
    >> ------------------------------------------
    >> [...]
    >> rman -f HTML < xfig._man \
    >> > xfig.1-html && mv -f xfig.1-html xfig.1.html
    >> >>> Installing xfig-3.2.5-1
    >> Copying Fig Object Libraries
    >> + mkdirhier /tmp.builds/xfig-3.2.5-1/inst/usr/bin
    >> + mkdirhier /tmp.builds/xfig-3.2.5-1/inst/usr/lib/xfig/Libraries
    >     ^^^^^^^^^

    > Oops... +XCOMM in the Imakefile! Sorry.

    > Now it builds and installs.


Did you try sending the patch upstream ?

    >    Angelo.

Ciao
  Volker
  

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

