作図ソフト dia の改良版
Revision | aec96afabbc379b556e318ed44a9dba3e16cc1f2 (tree) |
---|---|
Time | 2004-04-14 03:57:53 |
Author | Lars Clausen <lclausen@src....> |
Commiter | Lars Clausen |
Dia manual renamed. Ellipse fix. 0.92-pre2
@@ -8,6 +8,22 @@ | ||
8 | 8 | |
9 | 9 | * is.po: Added "is" to ALL_LINGUAS. |
10 | 10 | |
11 | +2004-04-04 Lars Clausen <lars@raeder.dk> | |
12 | + | |
13 | + * configure.in: | |
14 | + * dia.spec (Release): | |
15 | + * NEWS: | |
16 | + * config.h.win32: | |
17 | + * doc/{en,pl}/dia.xml: | |
18 | + Update to pre2. | |
19 | + | |
20 | + * dia.spec: Updated as per mail from Zhang Lin-bo <zlb@lsec.cc.ac.cn> | |
21 | + | |
22 | +2004-04-03 Lars Clausen <lars@raeder.dk> | |
23 | + | |
24 | + * objects/standard/ellipse.c (ellipse_copy): Properly copy the | |
25 | + handle in the middle of the ellipse. | |
26 | + | |
11 | 27 | 2004-03-21 Hans Breuer <hans@breuer.org> |
12 | 28 | |
13 | 29 | * lib/makefile.msc : removed -DGTK_DISABLE_DEPRECATED; the |
@@ -1,3 +1,9 @@ | ||
1 | +dia-0.93-pre2: 04-Apr-2004 | |
2 | + | |
3 | +Fixed crash bug in ellipse, plus various compilation problems. Also | |
4 | +renamed the dia manual to make dia.spec work better and did a few updates | |
5 | +to dia.spec. | |
6 | + | |
1 | 7 | dia-0.93-pre1: 11-Mar-2004 |
2 | 8 | |
3 | 9 | Major improvements in this release include: |
@@ -15,7 +15,7 @@ | ||
15 | 15 | #define GETTEXT_PACKAGE "dia" |
16 | 16 | #define LOCALEDIR "../lib/locale" |
17 | 17 | |
18 | -#define VERSION "0.93-pre1" | |
18 | +#define VERSION "0.93-pre2" | |
19 | 19 | |
20 | 20 | /* |
21 | 21 | * We are linking libxml as DLL with either msvc or mingw, but this |
@@ -1,6 +1,6 @@ | ||
1 | 1 | dnl Process this -*- autoconf -*- file with autoconf to produce a |
2 | 2 | dnl configure script. |
3 | -AC_INIT(dia, 0.93-pre1, http://bugzilla.gnome.org/enter_bug.cgi?product=dia) | |
3 | +AC_INIT(dia, 0.93-pre2, http://bugzilla.gnome.org/enter_bug.cgi?product=dia) | |
4 | 4 | AC_CONFIG_SRCDIR(app/diagram.c) |
5 | 5 | AM_INIT_AUTOMAKE(AC_PACKAGE_NAME,AC_PACKAGE_VERSION) |
6 | 6 |
@@ -6,16 +6,18 @@ Summary: A gtk+ based diagram creation program. | ||
6 | 6 | Name: %name |
7 | 7 | Version: %ver |
8 | 8 | # This indicates changes to the spec file after last time %ver has changed. |
9 | -Release: pre1 | |
9 | +Release: pre2 | |
10 | 10 | Copyright: GPL |
11 | 11 | Group: Applications/ |
12 | 12 | Source: ftp://ftp.gnome.org/pub/GNOME/stable/sources/dia/%{name}-%{ver}.tar.gz |
13 | 13 | URL: http://www.lysator.liu.se/~alla/dia/dia.html |
14 | 14 | BuildRoot: /var/tmp/%{name}-%{ver}-root |
15 | 15 | |
16 | -Requires: libxml2 >= 2.3.9 gtk2 pango >= 1.1.5 freetype >= 2.0.9 | |
16 | +Requires: libxml2 >= 2.3.9 gtk2 pango >= 1.1.5 freetype2 >= 2.0.9 | |
17 | +Requires: libgnome libgnomeui popt | |
17 | 18 | BuildRequires: libxml2-devel >= 2.3.9 gtk2-devel pango-devel >= 1.1.5 |
18 | -BuildRequires: freetype-devel >= 2.0.9 intltool > 0.21 | |
19 | +BuildRequires: freetype2-devel >= 2.0.9 intltool > 0.21 | |
20 | +BuildRequires: libgnome-devel libgnomeui-devel | |
19 | 21 | |
20 | 22 | %description |
21 | 23 | Dia is a GNU program designed to be much like the Windows |
@@ -26,6 +28,8 @@ flowchart and others. The native file format for Dia is XML (optionally | ||
26 | 28 | gzip compressed). It has print support, and can export to a number of formats such as EPS, SVG, CGM and PNG. |
27 | 29 | |
28 | 30 | %changelog |
31 | +* Sat Mar 27 2004 Lars Clausen <lars@raeder.dk> | |
32 | +- Update requirements to add the optional but always compiled in parts. | |
29 | 33 | * Thu Feb 4 2003 Lars Clausen <lrclause@cs.uiuc.edu> |
30 | 34 | - update requirements. |
31 | 35 | - update prerelease number, move to release field. |
@@ -49,7 +53,7 @@ gzip compressed). It has print support, and can export to a number of formats s | ||
49 | 53 | - First RPM release. |
50 | 54 | |
51 | 55 | %prep |
52 | -%setup -q | |
56 | +%setup -q -n %name-%ver-%release | |
53 | 57 | |
54 | 58 | %build |
55 | 59 |
@@ -67,6 +71,8 @@ make | ||
67 | 71 | rm -fr $RPM_BUILD_ROOT |
68 | 72 | make prefix=$RPM_BUILD_ROOT%{_prefix} install |
69 | 73 | |
74 | +rm -rf $RPM_BUILD_ROOT/%{_prefix}/var | |
75 | + | |
70 | 76 | gzip --best $RPM_BUILD_ROOT%{_prefix}/man/man1/dia.1 |
71 | 77 | |
72 | 78 | %clean |
@@ -1,5 +1,5 @@ | ||
1 | 1 | figdir=graphics |
2 | -docname=dia-manual | |
2 | +docname=dia | |
3 | 3 | lang=en |
4 | 4 | omffile= |
5 | 5 | entities= |
@@ -9,7 +9,7 @@ dist-hook: app-dist-hook | ||
9 | 9 | |
10 | 10 | EXTRA_DIST += \ |
11 | 11 | dia.1 \ |
12 | - dia-manual.xml \ | |
12 | + dia.xml \ | |
13 | 13 | graphics/line_props.png \ |
14 | 14 | graphics/home_network.png \ |
15 | 15 | graphics/line_icon.png \ |
@@ -8,7 +8,7 @@ | ||
8 | 8 | |
9 | 9 | [ |
10 | 10 | |
11 | - <!ENTITY VERSION "0.93-pre1"> | |
11 | + <!ENTITY VERSION "0.93-pre2"> | |
12 | 12 | |
13 | 13 | <!ENTITY INTRODUCTION SYSTEM "intro.xml"> |
14 | 14 |
@@ -1,5 +1,5 @@ | ||
1 | 1 | figdir=graphics |
2 | -docname=dia-manual | |
2 | +docname=dia | |
3 | 3 | lang=pl |
4 | 4 | omffile= |
5 | 5 | entities= |
@@ -8,7 +8,7 @@ include $(top_srcdir)/xmldocs.make | ||
8 | 8 | dist-hook: app-dist-hook |
9 | 9 | |
10 | 10 | EXTRA_DIST += \ |
11 | - dia-manual.xml \ | |
11 | + dia.xml \ | |
12 | 12 | graphics/line_props.png \ |
13 | 13 | graphics/home_network.png \ |
14 | 14 | graphics/greendots.png |
@@ -1,7 +1,7 @@ | ||
1 | 1 | <?xml version="1.0" encoding="iso-8859-1"?> |
2 | 2 | |
3 | 3 | <!DOCTYPE Book PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN" "../../dtd/docbookx.dtd"[ |
4 | -<!ENTITY VERSION "0.93-pre1"> | |
4 | +<!ENTITY VERSION "0.93-pre2"> | |
5 | 5 | <!ENTITY INTRODUCTION SYSTEM "intro.sgml"> |
6 | 6 | <!ENTITY QUICKSTART SYSTEM "usage-quickstart.sgml"> |
7 | 7 | <!ENTITY CANVAS SYSTEM "usage-canvas.sgml"> |
@@ -208,6 +208,7 @@ ellipse_move_handle(Ellipse *ellipse, Handle *handle, | ||
208 | 208 | HandleMoveReason reason, ModifierKeys modifiers) |
209 | 209 | { |
210 | 210 | Element *elem = &ellipse->element; |
211 | + Point nw_to, se_to; | |
211 | 212 | |
212 | 213 | assert(ellipse!=NULL); |
213 | 214 | assert(handle!=NULL); |
@@ -472,6 +473,10 @@ ellipse_copy(Ellipse *ellipse) | ||
472 | 473 | newellipse->aspect = ellipse->aspect; |
473 | 474 | newellipse->line_style = ellipse->line_style; |
474 | 475 | |
476 | + newobj->handles[8] = &newellipse->center_handle; | |
477 | + newellipse->center_handle = ellipse->center_handle; | |
478 | + newellipse->center_handle.connected_to = NULL; | |
479 | + | |
475 | 480 | for (i=0;i<9;i++) { |
476 | 481 | newobj->connections[i] = &newellipse->connections[i]; |
477 | 482 | newellipse->connections[i].object = newobj; |