Stop data retention! Click here & act! Are you a webmaster and want to participate? Here you can find all necessary material for your website - Willst du auch an der Aktion teilnehmen? Hier findest du alle relevanten Infos und Materialien:
Chris Karakas Online Forum Index Karakas Online
 FAQFAQ   Forum SearchForum Search   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
Binary and source RPMs for dia in SuSE 9.0



 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.
   Chris Karakas Online Forum Index -> Computer Graphics Forum RSS Feed of this Forum
Share this page: These icons link to social bookmarking sites where readers can share and discover new web pages.Digg  del.icio.us  tc.eserver.org  Blinklist  Furl  Reddit  Blogmarks  Magnolia  Sphere  Yahoo!  Google  Windows Live  Technorati  Blue Dot  Simpy  Newsvine  Stumble Upon  co.mments.com  Blinkbits  BlogMemes  Connotea  View previous topic :: View next topic  
Author Message
chris
Dark Lord of the Sith


Joined: 10 May 2003
Posts: 6267
Location: Outer Space

PostPosted: Wed Aug 09, 2006 7:27 pm    Post subject: Binary and source RPMs for dia in SuSE 9.0
Reply with quote

Image

Dia is inspired by the commercial Windows program 'Visio', though more geared towards informal diagrams for casual use. It can be used to draw many different kinds of diagrams. It currently has special objects to help draw entity relationship diagrams, UML diagrams, flowcharts, network diagrams, and many other diagrams. It is also possible to add support for new shapes by writing simple XML files, using a subset of SVG to draw the shape.

It can load and save diagrams to a custom XML format (gzipped by default, to save space), can export diagrams to a number of formats, including EPS, SVG, XFIG, WMF and PNG, and can print diagrams (including ones that span multiple pages).

For dia, I have created binary and source RPM packages for SuSE 9.0:

Source RPM:




Binary RPM:



Use the command

Code:

rpm -Uhv xxx.rpm


to install the binary RPMs. I used the build package of SuSE to compile my own source RPMs from source, as described for example in Compiling SuSE Source Packages. Note that up to and including version 9.0, SuSE uses the usedforbuild string on a comment line of the spec file to list all needed files for a successful compilation of the package.

The packages are build for SuSE 9.0. To rebuild a package for your own version of (SuSE) Linux, use the source RPMs and the build and/or rpmbuild commands, as described in How to compile an older version for a newer system in RPM.

For those of you interested in the gory details, here they are (if you don't care, don't worry - the spec file will duly remind you of all of them, one by one Twisted Evil):

To compile dia on a SuSE 9.0 system, you need a "base Linux system" comprising of the following packages:

  • fillup
  • attr
  • acl
  • aaa_base
  • filesystem
  • autoconf
  • automake
  • bash
  • bind-utils
  • binutils
  • bison
  • bzip2
  • cpio
  • cpp
  • cracklib
  • cyrus-sasl
  • db
  • devs
  • diffutils
  • e2fsprogs
  • file
  • coreutils
  • findutils
  • flex
  • gawk
  • gcc
  • gdbm
  • gdbm-devel
  • gettext
  • glibc
  • glibc-devel
  • glibc-locale
  • gpm
  • grep
  • groff
  • gzip
  • kbd
  • less
  • libgcc
  • libstdc++
  • libtool
  • libxcrypt
  • zlib
  • m4
  • make
  • man
  • mktemp
  • modutils
  • ncurses
  • ncurses-devel
  • net-tools
  • netcfg
  • pam
  • pam-devel
  • pam-modules
  • patch
  • perl
  • permissions
  • ps
  • rcs
  • readline
  • rpm
  • sed
  • sendmail
  • sharutils
  • shadow
  • strace
  • syslogd
  • sysvinit
  • tar
  • texinfo
  • timezone
  • unzip
  • util-linux
  • vim
  • zlib-devel


AND also the following "extra packages", needed specifically by dia:

  • XFree86-devel
  • XFree86-libs
  • alsa
  • alsa-devel
  • atk
  • atk-devel
  • audiofile
  • autoconf
  • automake
  • binutils
  • bonobo-activation
  • bonobo-activation-devel
  • cracklib
  • docbook-dsssl-stylesheets
  • docbook-toys
  • esound
  • esound-devel
  • expat
  • fontconfig
  • fontconfig-devel
  • freetype2
  • freetype2-devel
  • gcc
  • gconf2
  • gconf2-devel
  • gdbm
  • gettext
  • glib2
  • glib2-devel
  • gnome-filesystem
  • gnome-libs
  • gnome-libs-devel
  • gnome-vfs2
  • gnome-vfs2-devel
  • gtk2
  • gtk2-devel
  • indent
  • intltool
  • iso_ent
  • libart_lgpl
  • libart_lgpl-devel
  • libbonobo
  • libbonobo-devel
  • libbonoboui
  • libbonoboui-devel
  • libglade2
  • libglade2-devel
  • libgnome
  • libgnome-devel
  • libgnomecanvas
  • libgnomecanvas-devel
  • libgnomeprint
  • libgnomeprint-devel
  • libgnomeprintui
  • libgnomeprintui-devel
  • libgnomeui
  • libgnomeui-devel
  • libjpeg
  • libpng
  • libpng-devel
  • libtiff
  • libtool
  • libungif
  • libunicode
  • libwnck
  • libwnck-devel
  • libxml2
  • libxml2-devel
  • linc
  • linc-devel
  • openjade
  • opensp
  • openssl-devel
  • orbit2
  • orbit2-devel
  • pango
  • pango-devel
  • perl
  • pkgconfig
  • popt-devel
  • rpm
  • sgml-skel
  • update-desktop-files
  • perl-XML-Parser
  • gcc-c++
  • libstdc++
  • libstdc++-devel
  • python
  • python-devel
  • python-xml
  • pyxml
  • libxslt
  • libxslt-devel
  • python-gtk
  • resmgr
  • docbook_4
  • docbook-xsl-stylesheets


It is important to have python, python-gtk, pyxml, docbook_4 and docbook-xsl-stylesheets, because otherwise the compilation process will break with various errors like:

Code:

ImportError: cannot import name saxexts


(which is a way of telling you "install pyxml") or

Code:

*** No rule to make target 'dia.1', needed by 'all-am'.  Stop.


(which is a shorthand for "you didn't install docbook and its XML stylesheets, so I could not build 'dia.1', which is needed by 'all-am', which in turn seems to be so improtant that I have to stop").

You should also make sure that your installed versions satisfy the following minimum version requirements:

  • gtk2 >= 2.4
  • pango >= 1.1.5
  • libxml2 >= 2.3.9
  • freetype2 >= 2.0.9
  • intltool >= 0.21
  • fontconfig >= 1.0.1
  • glib2 >= 2.1.3
  • atk >= 1.9.1
  • python >= 1.5.2


Install the above, have an eye on the minimum version requirements and you should up and running fine! Enjoy! Very Happy
_________________
Regards

Chris Karakas
www.karakas-online.de
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Share this page: These icons link to social bookmarking sites where readers can share and discover new web pages.Digg  del.icio.us  tc.eserver.org  Blinklist  Furl  Reddit  Blogmarks  Magnolia  Sphere  Yahoo!  Google  Windows Live  Technorati  Blue Dot  Simpy  Newsvine  Stumble Upon  co.mments.com  Blinkbits  BlogMemes  Connotea 
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.
   Chris Karakas Online Forum Index -> Computer Graphics Forum
Page 1 of 1
This page contains valid HTML 4.01 Transitional - click here to check it!
This page contains a valid CSS - click here to check it!

 

Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group