small bug on Lights shapes



Hello,

I tried Lights shapes on the svn version with another PC, I wasn't
working. Here is the patch for it to work (a missing Makefile.am and two
or three things tu build the Makefile).

In this patch you'll see first the diff of the man page generated with a
more recent version of the Docbook stylesheet (debian etch), I don't
know if you are interested... The diff was generated with svn diff -x -u .

Thank you in advance for applying it,
-- 
Elie Roux
Index: doc/en/dia.1
===================================================================
--- doc/en/dia.1        (révision 3797)
+++ doc/en/dia.1        (copie de travail)
@@ -1,6 +1,6 @@
 .\"     Title: dia
 .\"    Author: Fredrik Hallenberg <hallon lysator liu se>
-.\" Generator: DocBook XSL Stylesheets v1.71.1 <http://docbook.sf.net/>
+.\" Generator: DocBook XSL Stylesheets v1.71.0 <http://docbook.sf.net/>
 .\"      Date: 2004.11.26
 .\"    Manual: 
 .\"    Source: 
@@ -35,27 +35,27 @@
 accepts the following options:
 .PP
 \fB\-c\fR \fB\-\-credits\fR
-.RS 4
+.RS 3n
 Display credits list and exit.
 .RE
 .PP
 \fB\-e \fR\fB\fIOUTPUT\fR\fR \fB\-\-export=\fR\fB\fIOUTPUT\fR\fR
-.RS 4
+.RS 3n
 Export loaded file to OUTPUT and exit.
 .RE
 .PP
 \fB\-h\fR \fB\-\-help\fR
-.RS 4
+.RS 3n
 Display a list of all commandline options.
 .RE
 .PP
 \fB\-n\fR \fB\-\-nosplash\fR
-.RS 4
+.RS 3n
 Do not show the splash screen.
 .RE
 .PP
 \fB\-s \fR\fB\fIWxH\fR\fR \fB\-\-size=\fR\fB\fIWxH\fR\fR
-.RS 4
+.RS 3n
 Export loaded file in decimal given width and/or height. It is allowed to only select width or height. E.g.
 \fB\-\-size=\fR\fB\fI520x\fR\fR
 exports an image that is 520 pixels wide, while
@@ -71,17 +71,17 @@
 .RE
 .PP
 \fB\-L \fR\fB\fILAYER,LAYER,...\fR\fR \fB\-\-show\-layers=\fR\fB\fILAYER,LAYER,...\fR\fR
-.RS 4
+.RS 3n
 Only include specified layers when exporting. Layers can be specified either as a layer name, the layer 
number or a numeric range X\-Y of layers. \-\-show\-layers=background,2\-5 shows the layer named background 
and layers 2\-5, \-\-show\-layers=2\- shows layers 2 and up.
 .RE
 .PP
 \fB\-t \fR\fB\fIFORMAT\fR\fR \fB\-\-export\-to\-format=\fR\fB\fIFORMAT\fR\fR
-.RS 4
+.RS 3n
 Export loaded file in FORMAT and exit. Format are described below.
 .RE
 .PP
 \fB\-v\fR \fB\-\-version\fR
-.RS 4
+.RS 3n
 Display
 \fBdia\fR
 version and exit.
@@ -90,19 +90,19 @@
 .PP
 The following export formats are supported by
 \fBdia\fR.
-.TP 4
+.TP 3n
 \(bu
 cgm
 (Computer Graphics Metafile, ISO 8632)
-.TP 4
+.TP 3n
 \(bu
 dia
 (Native dia diagram)
-.TP 4
+.TP 3n
 \(bu
 dxf
 (Drawing Interchange File)
-.TP 4
+.TP 3n
 \(bu
 eps
 or
@@ -120,41 +120,41 @@
 uses a dia specific font renderer. If you have problems with Pango rendering, e.g. Unicode, try
 eps\-builtin
 instead.
-.TP 4
+.TP 3n
 \(bu
 fig
 (XFig format)
-.TP 4
+.TP 3n
 \(bu
 mp
 (TeX MetaPost macros)
-.TP 4
+.TP 3n
 \(bu
 plt
 or
 hpgl
 (HP Graphics Language)
-.TP 4
+.TP 3n
 \(bu
 png
 (Portable Network Graphics)
-.TP 4
+.TP 3n
 \(bu
 shape
 (Dia Shape File)
-.TP 4
+.TP 3n
 \(bu
 svg
 (Scalable Vector Graphics)
-.TP 4
+.TP 3n
 \(bu
 tex
 (TeX PSTricks macros)
-.TP 4
+.TP 3n
 \(bu
 wpg
 (WordPerfect Graphics)
-.TP 4
+.TP 3n
 \(bu
 wmf
 (Windows MetaFile)
@@ -166,29 +166,29 @@
 in the user's home, which contains different files to store user preferences. To reset
 \fBdia\fR
 to it's default behaviour, just remove the respective file:
-.TP 4
+.TP 3n
 \(bu
 \fIdefaults.dia\fR: contains default values for elements (XML format).
-.TP 4
+.TP 3n
 \(bu
 \fIdiarc\fR: keeps
 \fBdia\fR
 preferences (ASCII).
-.TP 4
+.TP 3n
 \(bu
 \fIhistory\fR: keeps the list of last edited diagrams (ASCII).
-.TP 4
+.TP 3n
 \(bu
 \fImenurc\fR: contains an automated accelerator map dump (Lisp).
-.TP 4
+.TP 3n
 \(bu
 \fIpersistence\fR: contains GUI information, e.g. open windows (XML).
-.TP 4
+.TP 3n
 \(bu
 \fIpluginrc\fR: the list of loaded plugins (XML).
 .SH "SEE ALSO"
 .PP
-\fIPango\fR\&[1]
+[1]\&\fIPango\fR
 .PP
 X (1)
 .PP
@@ -210,24 +210,22 @@
 .PP
 \fBFredrik Hallenberg\fR <\&hallon lysator liu se\&>
 .sp -1n
-.IP "" 4
+.IP "" 3n
 Author.
 .PP
 \fBW. Borgert\fR <\&debacle debian org\&>
 .sp -1n
-.IP "" 4
+.IP "" 3n
 Author.
 .PP
 \fBAlan Horkan\fR <\&horkana tcd ie\&>
 .sp -1n
-.IP "" 4
+.IP "" 3n
 Author.
 .SH "COPYRIGHT"
 Copyright \(co 1999, 2004 Fredrik Hallenberg, W. Borgert, Alan Horkan
 .br
 .SH "REFERENCES"
-.IP " 1." 4
-Pango
-.RS 4
+.TP 3
+1.\ Pango
 \%http://www.pango.org/
-.RE
Index: shapes/Lights/Makefile.am
===================================================================
--- shapes/Lights/Makefile.am   (révision 0)
+++ shapes/Lights/Makefile.am   (révision 0)
@@ -0,0 +1,37 @@
+
+shapedir = $(pkgdatadir)/shapes
+
+lightsdir = $(shapedir)/Lights
+
+SHAPES = \
+       ACL.shape \
+       ACL.png \
+       Blacklight.shape \
+       Blacklight.png \
+       Blinders.shape \
+       Blinders.png \
+       ERS.shape \
+       ERS.png \
+       Fresnel.shape \
+       Fresnel.png \
+       Moving_head.shape \
+       Moving_head.png \
+       PAR_floor.shape \
+       PAR_floor.png \
+       PAR.shape \
+       PAR.png \
+       PC.shape \
+       PC.png \
+       Scanner.shape \
+       Scanner.png \
+       Striplight.shape \
+       Striplight.png \
+       Stroboscope.shape \
+       Stroboscope.png \
+       Structure.shape \
+       Structure.png
+
+EXTRA_DIST = $(SHAPES)
+
+lights_DATA = $(SHAPES)
+
Index: shapes/Makefile.am
===================================================================
--- shapes/Makefile.am  (révision 3797)
+++ shapes/Makefile.am  (copie de travail)
@@ -1,7 +1,5 @@
 
 SUBDIRS = Circuit flowchart Contact network Pneumatic Electric \
        Civil jigsaw MSE SDL Logic sybase Misc Assorted Cisco \
-       Cybernetics Map ChemEng RDP Gane_and_Sarson BPMN
+       Cybernetics Map ChemEng RDP Gane_and_Sarson BPMN Lights
 
-
-
Index: configure.in
===================================================================
--- configure.in        (révision 3797)
+++ configure.in        (copie de travail)
@@ -481,6 +481,7 @@
 shapes/flowchart/Makefile
 shapes/Gane_and_Sarson/Makefile
 shapes/jigsaw/Makefile
+shapes/Lights/Makefile
 shapes/Logic/Makefile
 shapes/Map/Makefile
 shapes/Map/Isometric/Makefile


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