Re: building cvs snapshot



On Mon, 03 Sep 2001, Cyrille Chepelov wrote:

Le lun, sep 03, 2001, à 06:24:06 +0100, Nicholas Piper a écrit:

With which prefix have you ./configure'd ?

I didn't provide one. The make install put the sheets in that
directory, so I presume dia would be told to look there too.

It should, indeed. Perhaps stracing dia (|grep open) could provide clues ?

Interesting;

open("/usr/local/share/dia/sheets/UML.sheet", O_RDONLY) = 7
open("/usr/local/share/dia/sheets/ER.sheet", O_RDONLY) = 7
open("/usr/local/share/dia/sheets/sybase.sheet", O_RDONLY) = 7
open("/usr/local/share/dia/sheets/FS.sheet", O_RDONLY) = 7
open("/usr/local/share/dia/sheets/network.sheet", O_RDONLY) = 7

nicholas piamox7:/tmp/dia-cvs-snapshot$ ls -l /usr/local/share/dia/sheets/UML.sheet
-rw-r--r--    1 root     root         2752 Sep  3 16:36 /usr/local/share/dia/sheets/UML.sheet

So Dia *is* finding the files... Just not adding them to the GUI
widget.

(The cycle widget has no entries)

It looks normal, but I'm pasting UML.sheet below in case you notice
something wrong with it.

Before I do that, there is a second issue. My .dia directory was
existing from 0.88 Dia. If I delete ~/.dia/pluginrc and then run Dia
0.89-test and quit twice, on the *second* time I get ;

/home/nicholas/.dia/pluginrc:1: error: Unsupported encoding ANSI_X3.4-1968
<?xml version="1.0" encoding="ANSI_X3.4-1968"?>

But if I delete/move ~/.dia away, Dia 0.89 creates and uses it fine
(and it makes a pluginrc which contains <?xml version="1.0"
encoding="ANSI_X3.4-1968"?>)

----8<---------

<?xml version="1.0" encoding="utf-8"?> <!-- -*- xml -*- -->
<sheet xmlns="http://www.lysator.liu.se/~alla/dia/dia-sheet-ns";>
  <name>UML</name>
  <description>Editor for UML Static Structure Diagrams</description>
  <contents>
    <object name="UML - Class" intdata="0">
      <description>Create a class</description>
    </object>
    <object name="UML - Class" intdata="1">
      <description>Create a template class</description>
      <icon>UML/umlclass_template.xpm</icon>
    </object>
    <object name="UML - Note">
      <description>Create a note</description>
    </object>
    <object name="UML - Dependency">
      <description>Create a dependency</description>
    </object>
    <object name="UML - Realizes">
      <description>Realizes, implements a specific interface</description>
    </object>
    <object name="UML - Generalization">
      <description>Generalization, class inheritance</description>
    </object>
    <object name="UML - Association" intdata="0">
      <description>Association, two classes are associated</description>
    </object>
    <object name="UML - Association" intdata="1">
      <description>Aggregation, one class is part of another</description>
      <icon>UML/aggregation.xpm</icon>
    </object>
    <object name="UML - Implements">
      <description>Implements, class implements a specific interface</description>
    </object>
    <object name="UML - Constraint">
      <description>Constraint, place a constraint on something</description>
    </object>
    <object name="UML - SmallPackage">
      <description>Create a (small) package</description>
    </object>
    <object name="UML - LargePackage">
      <description>Create a (large) package</description>
    </object>
    <object name="UML - Actor">
      <description>Create an actor</description>
    </object>
    <object name="UML - Usecase">
      <description>Create a use case</description>
    </object>
    <object name="UML - Lifeline">
      <description>Create a lifeline</description>
    </object>
    <object name="UML - Object">
      <description>Create an object</description>
    </object>
    <object name="UML - Message">
      <description>Create a message</description>
    </object>
    <object name="UML - Component">
      <description>Create a component</description>
    </object>
    <object name="UML - Node">
      <description>Create a node</description>
    </object>
    <object name="UML - Classicon">
      <description>Create a class stereotype icon</description>
    </object>
    <object name="UML - State">
      <description>Create a state machine</description>
    </object>
    <object name="UML - Branch">
      <description>Create a branch</description>
    </object>
  </contents>
</sheet>


-- Part 3 MEng Cybernetics; Reading, UK http://www.nickpiper.co.uk/
Change PGP actions of mailer or fetch key see website 1024D/3ED8B27F
Choose life. Be Vegan :-) Please reduce needless cruelty + suffering !




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