• R/O
  • HTTP
  • SSH
  • HTTPS

コミット

タグ
未設定

よく使われているワード(クリックで追加)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

作図ソフト dia の改良版


コミットメタ情報

リビジョンaec96afabbc379b556e318ed44a9dba3e16cc1f2 (tree)
日時2004-04-14 03:57:53
作者Lars Clausen <lclausen@src....>
コミッターLars Clausen

ログメッセージ

Dia manual renamed. Ellipse fix. 0.92-pre2

変更サマリ

差分

--- a/ChangeLog
+++ b/ChangeLog
@@ -8,6 +8,22 @@
88
99 * is.po: Added "is" to ALL_LINGUAS.
1010
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+
1127 2004-03-21 Hans Breuer <hans@breuer.org>
1228
1329 * lib/makefile.msc : removed -DGTK_DISABLE_DEPRECATED; the
--- a/NEWS
+++ b/NEWS
@@ -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+
17 dia-0.93-pre1: 11-Mar-2004
28
39 Major improvements in this release include:
--- a/config.h.win32
+++ b/config.h.win32
@@ -15,7 +15,7 @@
1515 #define GETTEXT_PACKAGE "dia"
1616 #define LOCALEDIR "../lib/locale"
1717
18-#define VERSION "0.93-pre1"
18+#define VERSION "0.93-pre2"
1919
2020 /*
2121 * We are linking libxml as DLL with either msvc or mingw, but this
--- a/configure.in
+++ b/configure.in
@@ -1,6 +1,6 @@
11 dnl Process this -*- autoconf -*- file with autoconf to produce a
22 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)
44 AC_CONFIG_SRCDIR(app/diagram.c)
55 AM_INIT_AUTOMAKE(AC_PACKAGE_NAME,AC_PACKAGE_VERSION)
66
--- a/dia.spec
+++ b/dia.spec
@@ -6,16 +6,18 @@ Summary: A gtk+ based diagram creation program.
66 Name: %name
77 Version: %ver
88 # This indicates changes to the spec file after last time %ver has changed.
9-Release: pre1
9+Release: pre2
1010 Copyright: GPL
1111 Group: Applications/
1212 Source: ftp://ftp.gnome.org/pub/GNOME/stable/sources/dia/%{name}-%{ver}.tar.gz
1313 URL: http://www.lysator.liu.se/~alla/dia/dia.html
1414 BuildRoot: /var/tmp/%{name}-%{ver}-root
1515
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
1718 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
1921
2022 %description
2123 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
2628 gzip compressed). It has print support, and can export to a number of formats such as EPS, SVG, CGM and PNG.
2729
2830 %changelog
31+* Sat Mar 27 2004 Lars Clausen <lars@raeder.dk>
32+- Update requirements to add the optional but always compiled in parts.
2933 * Thu Feb 4 2003 Lars Clausen <lrclause@cs.uiuc.edu>
3034 - update requirements.
3135 - 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
4953 - First RPM release.
5054
5155 %prep
52-%setup -q
56+%setup -q -n %name-%ver-%release
5357
5458 %build
5559
@@ -67,6 +71,8 @@ make
6771 rm -fr $RPM_BUILD_ROOT
6872 make prefix=$RPM_BUILD_ROOT%{_prefix} install
6973
74+rm -rf $RPM_BUILD_ROOT/%{_prefix}/var
75+
7076 gzip --best $RPM_BUILD_ROOT%{_prefix}/man/man1/dia.1
7177
7278 %clean
--- a/doc/en/Makefile.am
+++ b/doc/en/Makefile.am
@@ -1,5 +1,5 @@
11 figdir=graphics
2-docname=dia-manual
2+docname=dia
33 lang=en
44 omffile=
55 entities=
@@ -9,7 +9,7 @@ dist-hook: app-dist-hook
99
1010 EXTRA_DIST += \
1111 dia.1 \
12- dia-manual.xml \
12+ dia.xml \
1313 graphics/line_props.png \
1414 graphics/home_network.png \
1515 graphics/line_icon.png \
--- a/doc/en/dia-manual.xml
+++ b/doc/en/dia.xml
@@ -8,7 +8,7 @@
88
99 [
1010
11- <!ENTITY VERSION "0.93-pre1">
11+ <!ENTITY VERSION "0.93-pre2">
1212
1313 <!ENTITY INTRODUCTION SYSTEM "intro.xml">
1414
--- a/doc/pl/Makefile.am
+++ b/doc/pl/Makefile.am
@@ -1,5 +1,5 @@
11 figdir=graphics
2-docname=dia-manual
2+docname=dia
33 lang=pl
44 omffile=
55 entities=
@@ -8,7 +8,7 @@ include $(top_srcdir)/xmldocs.make
88 dist-hook: app-dist-hook
99
1010 EXTRA_DIST += \
11- dia-manual.xml \
11+ dia.xml \
1212 graphics/line_props.png \
1313 graphics/home_network.png \
1414 graphics/greendots.png
--- a/doc/pl/dia-manual.xml
+++ b/doc/pl/dia.xml
@@ -1,7 +1,7 @@
11 <?xml version="1.0" encoding="iso-8859-1"?>
22
33 <!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">
55 <!ENTITY INTRODUCTION SYSTEM "intro.sgml">
66 <!ENTITY QUICKSTART SYSTEM "usage-quickstart.sgml">
77 <!ENTITY CANVAS SYSTEM "usage-canvas.sgml">
--- a/objects/standard/ellipse.c
+++ b/objects/standard/ellipse.c
@@ -208,6 +208,7 @@ ellipse_move_handle(Ellipse *ellipse, Handle *handle,
208208 HandleMoveReason reason, ModifierKeys modifiers)
209209 {
210210 Element *elem = &ellipse->element;
211+ Point nw_to, se_to;
211212
212213 assert(ellipse!=NULL);
213214 assert(handle!=NULL);
@@ -472,6 +473,10 @@ ellipse_copy(Ellipse *ellipse)
472473 newellipse->aspect = ellipse->aspect;
473474 newellipse->line_style = ellipse->line_style;
474475
476+ newobj->handles[8] = &newellipse->center_handle;
477+ newellipse->center_handle = ellipse->center_handle;
478+ newellipse->center_handle.connected_to = NULL;
479+
475480 for (i=0;i<9;i++) {
476481 newobj->connections[i] = &newellipse->connections[i];
477482 newellipse->connections[i].object = newobj;