[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: building dia



On Thu, 12 Sep 2002, Cyrille Chepelov wrote:
> Le Thu, Sep 12, 2002, à 10:53:38AM -0700, Mike Charnoky a écrit:
>> I've been having problems with flowchart box resizing and noticed that
>> this was fixed a few days ago.  I'd like to rebuild dia with this fix.
>> Should I download the .90 sources and apply the patch?  How stable is
>> the latest snapshot?  Am I correct to assume that dia is undergoing some
>> drastic changes with the move to Gnome 2.0?
> 
> You could try to backport the patch to 0.90. IIRC, there aren't much
> changed in FS objects since 0.90 besides this patch, except font
> handling.

Here is the patch in its entirety:

Index: box.c
===================================================================
RCS file: /cvs/gnome/dia/objects/flowchart/box.c,v
retrieving revision 1.26
retrieving revision 1.27
diff -r1.26 -r1.27
307d306
< 
436,437c435,438
<   elem->width = width;
<   elem->height = height;
---
>   if (width > elem->width)
>     elem->width = width;
>   if (height > elem->height)
>     elem->height = height;

Your line numbers may vary.

> Indeed, the CVS version uses gtk2.0/GNOME 2.0

It is fairly stable, except for antialiasing, PNG export and special input
methods. 

>> Also, how can I build this for Windows?  I have some documents that I
>> need to share with some office mates, some of whom are Windows-only
>> folks.
> 
> You need MSVC, a lot of patience, and I strongly advise you to not
> undertake building every dependency -- compile only dia itself if you can
> avoir compiling the rest (just to save you some hassle). If you do
> succeed, we would be very interested in hearing that.

Indeed, if you set out to build every dependency, we would much appreciate
a log of what it takes.  Docs are *very* sparse on the subject, and in need
of improvement.

-Lars

-- 
Lars Clausen (http://shasta.cs.uiuc.edu/~lrclause)| HÃ¥rdgrim of Numenor
"I do not agree with a word that you say, but I   |----------------------------
will defend to the death your right to say it."   | Where are we going, and
    --Evelyn Beatrice Hall paraphrasing Voltaire  | what's with the handbasket?



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index] Mail converted by Mofo Magic and the Flying D

 
All trademarks and copyrights are the property of their respective owners.

Other Directory Sites: SeekWonder | Directory Owners Forum

GuideSMACK