ChangeLog

# ChangeLog for app-office/dia
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/app-office/dia/ChangeLog,v 1.108 2008/08/03 10:32:20 ulm Exp $

03 Aug 2008; Ulrich Mueller metadata.xml:
Add USE flag description to metadata wrt GLEP 56.

28 Jul 2008; Gilles Dartiguelongue
+files/dia-0.96.1-64bit-fixes.patch, dia-0.96.1-r1.ebuild:
add 64 bit compilation fix patch, bug #191673.

29 May 2008; Ali Polatel dia-0.96.1-r1.ebuild:
python_mod_optimize is ROOT aware.

07 May 2008; Markus Rothe dia-0.96.1-r1.ebuild:
Stable on ppc64; bug #191673

06 May 2008; Jeroen Roovers dia-0.96.1-r1.ebuild:
Stable for HPPA (bug #191673).

01 May 2008; Markus Meier dia-0.96.1-r1.ebuild:
amd64/x86 stable, bug #191673

01 May 2008; Raúl Porcel dia-0.96.1-r1.ebuild:
alpha/ia64/sparc stable wrt #191673

01 May 2008; nixnut dia-0.96.1-r1.ebuild:
Stable on ppc wrt bug 191673

*dia-0.96.1-r1 (03 Apr 2008)

03 Apr 2008; Gilles Dartiguelongue
+files/dia-0.96.1-gnome-doc.patch, +files/dia-0.96.1-xml-fixes.patch,
+dia-0.96.1-r1.ebuild:
Remove man generation if USE="-doc", fix bug #205067. Always install
documentation where gnome can find it. Conditional destination doesn't do
any good anyway, fix #159381.

09 Mar 2008; Mart Raudsepp dia-0.95.1.ebuild,
dia-0.96.1.ebuild:
Fix build with newer intltool, bug 199598

17 Nov 2007; Gilles Dartiguelongue dia-0.96.1.ebuild:
added conditional doc generation, fix bug #199412

*dia-0.96.1 (10 Apr 2007)

10 Apr 2007; Robin H. Johnson -dia-0.96_pre3.ebuild,
+dia-0.96.1.ebuild:
Replace pre3 with the final of 0.96 now that it is available. ~mips dropped
due to new libgnomeprint dependancy.

10 Mar 2007; Peter Weller dia-0.95.1.ebuild:
Keyworded ~x86-fbsd

05 Feb 2007; Jeroen Roovers dia-0.95.1.ebuild:
Stable for HPPA (inkscape).

*dia-0.96_pre3 (02 Feb 2007)

02 Feb 2007; Robin H. Johnson +dia-0.96_pre3.ebuild:
Version bump to prerelease, fixes glitches with text overflow in exports
that I need.

27 Oct 2006; Gustavo Zacarias
-files/dia-0.94-db2man.patch, -files/dia-0.94-help.patch,
-files/0.94-disable_python_gtk_import.patch, -files/dia-0.94-gcc4.patch,
-files/dia-0.94-no_font_cache.patch, -files/dia-0.94-pkgconfig.patch,
-files/dia-0.94-png.patch, -files/dia-0.94-secure-eval.patch,
-files/dia-0.94_xfigoverflowfix.patch, -dia-0.94-r3.ebuild,
-dia-0.94-r4.ebuild, -dia-0.94-r5.ebuild:
Cleanup wrt #140499

15 Oct 2006; Aron Griffis dia-0.95.1.ebuild:
Mark 0.95.1 stable on ia64. #140499

28 Jun 2006; Jeroen Roovers dia-0.95.1.ebuild:
Marked ~hppa (for media-gfx/inkscape).

07 Jun 2006; John N. Laliberte dia-0.94-r4.ebuild,
dia-0.94-r5.ebuild:
mirrors to mirror, fixes #135898

31 May 2006; Thomas Cort dia-0.95.1.ebuild:
Stable on alpha wrt security Bug #133699.

30 May 2006; Gustavo Zacarias dia-0.95.1.ebuild:
Stable on sparc wrt security #133699

30 May 2006; Chris Gianelloni dia-0.95.1.ebuild:
Stable on amd64 and x86 wrt bug #133699.

30 May 2006; Markus Rothe dia-0.95.1.ebuild:
Stable on ppc64; bug #133699

30 May 2006; Tobias Scherbaum dia-0.95.1.ebuild:
ppc stable, bug #133699

*dia-0.95.1 (30 May 2006)

30 May 2006; John N. Laliberte +dia-0.95.1.ebuild:
new version. fixes #133699 and #130742. cleanup of ebuild.

22 Apr 2006; Thomas Cort dia-0.94-r5.ebuild:
Stable on amd64 wrt security Bug #128107.

22 Apr 2006; Markus Rothe dia-0.94-r5.ebuild:
Stable on ppc64; bug #128107

21 Apr 2006; Tobias Scherbaum dia-0.94-r5.ebuild:
ppc stable, bug #128107

21 Apr 2006; Chris Gianelloni dia-0.94-r5.ebuild:
Stable on x86 wrt bug #128107.

21 Apr 2006; Jason Wever dia-0.94-r5.ebuild:
Stable on SPARC wrt security bug #128107.

21 Apr 2006; Thomas Cort dia-0.94-r5.ebuild:
Stable on alpha wrt security Bug #128107.

*dia-0.94-r5 (20 Apr 2006)

20 Apr 2006; John N. Laliberte
+files/dia-0.94_xfigoverflowfix.patch, +dia-0.94-r5.ebuild:
add patch for #128107

22 Mar 2006; Marinus Schraal -files/dia-0.94-sheets-png.tar.bz2 :
Move png sheets to mirrors (#120627)

17 Feb 2006; Aron Griffis
+files/dia-0.94-pkgconfig.patch, dia-0.94-r4.ebuild:
Fix gnome compilation #118591. Mark 0.94-r4 stable on ia64

*dia-0.94-r4 (02 Nov 2005)

02 Nov 2005; Mike Gardiner +files/dia-0.94-png.patch,
+files/dia-0.94-sheets-png.tar.bz2, +dia-0.94-r4.ebuild:
Moved all of the xpm's to png's for the sheets. See bug #103401, and Gnome
Bug, #154079 for more information.

04 Oct 2005; Michael Hanselmann dia-0.94-r3.ebuild:
Stable on ppc.

03 Oct 2005; Markus Rothe dia-0.94-r3.ebuild:
Stable on ppc64 (bug #107916)

03 Oct 2005; Fernando J. Pereda dia-0.94-r3.ebuild:
stable on alpha wrt bug #107916

03 Oct 2005; Gustavo Zacarias dia-0.94-r3.ebuild:
Stable on sparc wrt #107916

03 Oct 2005; dia-0.94-r3.ebuild:
Marked stable on x86

03 Oct 2005; dia-0.94-r3.ebuild:
Marked stable on amd64

03 Oct 2005; Aron Griffis dia-0.94-r3.ebuild:
Mark 0.94-r3 stable on ia64 #107916

*dia-0.94-r3 (03 Oct 2005)

03 Oct 2005; +files/dia-0.94-secure-eval.patch,
+dia-0.94-r3.ebuild:
Fix insecure python eval. Bug #107916

03 Oct 2005; Hardave Riar dia-0.94-r2.ebuild:
Keyworded ~mips.

02 Oct 2005; Aron Griffis dia-0.94-r2.ebuild:
Mark 0.94-r2 stable on ia64

09 Sep 2005; Aron Griffis dia-0.94-r2.ebuild:
Mark 0.94-r2 stable on alpha

03 Sep 2005; Markus Rothe dia-0.94-r2.ebuild:
Stable on ppc64

02 Sep 2005; Michael Hanselmann dia-0.94-r2.ebuild:
Stable on ppc.

26 Aug 2005; Aron Griffis dia-0.94-r2.ebuild:
add ~ia64

24 Aug 2005; Marcus D. Hanwell dia-0.94-r2.ebuild:
Stable on amd64, closes bug 103540.

23 Aug 2005; Gustavo Zacarias dia-0.94-r2.ebuild:
Stable on sparc

23 Aug 2005; Leonardo Boshell dia-0.94-r2.ebuild:
Stable on x86.

*dia-0.94-r2 (12 Jul 2005)

12 Jul 2005; Leonardo Boshell dia-0.94-r2.ebuild,
files/dia-0.94-db2man.patch:
New revision. Added patch from upstream's CVS repository to correctly
generate the man page, resolves bug #98610.

13 Jun 2005; Fernando J. Pereda dia-0.94-r1.ebuild:
alpha stable

05 Jun 2005; Markus Rothe dia-0.94-r1.ebuild:
Stable on ppc64; dependency for bug #92995

27 May 2005; Leonardo Boshell dia-0.94-r1.ebuild:
Added dependency to docbook-xml-dtd-4.2. Resolves bug #93967.

21 May 2005; Markus Rothe dia-0.94-r1.ebuild:
Added ~ppc64 to KEYWORDS

27 Apr 2005; Alastair Tse
+files/0.94-disable_python_gtk_import.patch, dia-0.94-r1.ebuild:
taking out python gtk check to avoid problems for people building with X
(#31589)

17 Apr 2005; Mark Loeser +files/dia-0.94-gcc4.patch,
dia-0.94-r1.ebuild:
Adding patch to fix GCC4 compilation issues.

11 Apr 2005; Gustavo Zacarias dia-0.94-r1.ebuild:
Stable on sparc

10 Apr 2005; Michael Hanselmann dia-0.94-r1.ebuild:
Stable on ppc.

10 Apr 2005; Simon Stelling dia-0.94-r1.ebuild:
stable on amd64

09 Apr 2005; Leonardo Boshell dia-0.94-r1.ebuild:
Marked stable on x86.

*dia-0.94-r1 (17 Mar 2005)

17 Mar 2005; Leonardo Boshell dia-0.94-r1.ebuild,
files/dia-0.94-no_font_cache.patch, files/dia-0.94-help.patch:
New revision. Added the `static' use flag. Added a patch to fix incorrect
font display due to a buggy cache implementation. Resolves bug #81227 and
possibly #67999. Thanks to Markus Luisser for his help on bug #81227.
Added a patch to fix the Help->Manual action under gnome. See bug #83726.

02 Jan 2005; Ciaran McCreesh :
Change encoding to UTF-8 for GLEP 31 compliance

11 Dec 2004; Bryan Østergaard dia-0.93.ebuild:
Stable on alpha.

17 Oct 2004; Dylan Carlson dia-0.93.ebuild:
stable on amd64.

05 Oct 2004; Pieter Van den Abeele dia-0.93.ebuild:
Masked dia-0.93.ebuild stable for ppc

*dia-0.94 (03 Sep 2004)

03 Sep 2004; L. Boshell dia-0.94.ebuild:
New release.

20 Aug 2004; foser dia-0.92.2.ebuild :
Added patch by Benoit Boissinot fixing the FT includes (#44113)

05 Aug 2004; Gustavo Zacarias dia-0.93.ebuild:
Stable on sparc

26 Jul 2004; Mike Gardiner dia-0.93.ebuild:
Marked 0.93 x86, as requested in bug #57564

14 Jun 2004; L. Boshell dia-0.93.ebuild:
Inherit from eutils.

*dia-0.93 (07 Jun 2004)

07 Jun 2004; L. Boshell dia-0.93.ebuild,
files/dia-0.93-fix_py_prefix.patch:
New release, resolves bug #50144. Dependencies corrections. Patch that
fixes python-related checks in the configure script.

05 May 2004; Bryan Østergaard dia-0.92.2.ebuild:
Stable on alpha.

03 Mar 2004; Gustavo Zacarias dia-0.92.2.ebuild:
stable on sparc

09 Feb 2004; Dylan Carlson dia-0.92.2.ebuild:
added amd64 keyword.

17 Jan 2004; Bartosch Pixa :
manifest fix

16 Jan 2004; Bartosch Pixa dia-0.92.2.ebuild:
set ppc in keywords

10 Nov 2003; Aron Griffis dia-0.92.2.ebuild:
Add ~alpha

*dia-0.92.2 (07 Nov 2003)

07 Nov 2003; Alastair Tse dia-0.92.2.ebuild:
version bump

*dia-0.92.1 (28 Oct 2003)

28 Oct 2003; Alastair Tse dia-0.92.1.ebuild:
bugfix release that solves a couple show stopping font bugs

*dia-0.92 (21 Oct 2003)

21 Oct 2003; foser dia-0.92.ebuild :
New stable release, remove some obsolete cruft and smoothen deps

*dia-0.92_pre7 (15 Oct 2003)

15 Oct 2003; Alastair Tse dia-0.92_pre7.ebuild:
preemptive version bump because _pre4 had problems with non latin chars

12 Oct 2003; Alastair Tse dia-0.92_pre4.ebuild:
re-add cisco shapes patch

*dia-0.92_pre4 (10 Oct 2003)

10 Oct 2003; Alastair Tse dia-0.92_pre4.ebuild:
version bump. this is more stable than 0.91 and also fixes the pango text
problem with >=1.2.4

*dia-0.91 (26 Mar 2003)

21 Sep 2003; foser dia-0.91.ebuild :
Add gcc33 patch as supplied by brandy@gentoo.org (#21940)
Fix pango dep (#29121)
Use gnome2 eclass

31 Mar 2003; Alastair Tse dia-0.91.ebuild:
fix dia menu desktop entry. python, pygtk and gnome dep fixes.

30 Mar 2003; Martin Holzer dia-0.91.ebuild:
fixed pango dependency. closes #18480.

26 Mar 2003: Jungmin Seo dia-0.91.ebuild :
Fixed 'SRC_URI'

26 Mar 2003; Jungmin Seo dia-0.91.ebuild :
New version. now supports gtk+-2.

*dia-0.90-r2 (22 Oct 2002)

13 Feb 2003; Mark Guertin dia-0.90-r2.ebuild :
set ppc in keywords

11 Jan 2003; foser dia-0.90-r2.ebuild :
Fixed png deps (bug #13408)

15 Dev 2002; Jack Morgan dia-0.90-r2.ebuild :
Added ~sparc keyword

23 Oct 2002; foser dia-0.90-r2.ebuild :
Added libart_lgpl dep for png USE
Thanks go to Ryan Tolboom for notifying

22 Oct 2002; foser dia-0.90-r2.ebuild :
Added truetype and png USE flags (bug #8916)

*dia-0.90-r1 (21 Jun 2002)

30 Aug 2002; Seemant Kulleen dia-0.90-r1.ebuild :

LFH compliance and massive cleanup

06 Aug 2002; Mark Guertin :
Added ppc to keywords

25 Jul 2002; Daniel Ahlberg dia-0.90.ebuild :
Added KEYWORDS.

25 Jul 2002; Daniel Ahlberg dia-0.90-r1.ebuild :
Added KEYWORDS.

21 Jun 2002; Gabriele Giorgetti ChangeLog :

Added missing dep to dev-libs/libunicode. Fixes bug #3959


*dia-0.90 (20 Jun 2002)

20 Jun 2002; Gabriele Giorgetti ChangeLog :

New version, SLOT, LICENSE added, and updated dependencies.


*dia-0.88.1-r1 (1 Feb 2002)

25 Jul 2002; Daniel Ahlberg dia-0.88.1-r1.ebuild :
Added LICENSE, KEYWORDS, SLOT.

1 Feb 2002; G.Bevin ChangeLog :

Added initial ChangeLog which should be updated whenever the package is
updated in any way. This changelog is targetted to users. This means that the
comments should well explained and written in clean English. The details about
writing correct changelogs are explained in the skel.ChangeLog file which you
can find in the root directory of the portage repository.

Manifest

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

AUX dia-0.96.1-64bit-fixes.patch 323 RMD160 5e290e07b95e085eae7d57bee397bdcc1fb51b2c SHA1 eb3272698bcde66ca73393cda06b902a01d6be2a SHA256 f9f7dfa91d8795b76c0958d874b59bba8301970d9836a8fea3ea5a21ebca59ab
AUX dia-0.96.1-gnome-doc.patch 3322 RMD160 50ec2d4c14a267ab350d5dcdf95ae93a68f17f62 SHA1 0d474985c2d0849323dc0e9d2938b1fd2ead2f9b SHA256 92ee349e6bb13f68821aa9cf36dc239f4f83a7a61936967d261e837efe1f5bf6
AUX dia-0.96.1-xml-fixes.patch 1064 RMD160 2e3e15a605a76ac87458af4c81380ae2c1c0f863 SHA1 5b93651e9c898a3be1fc84090c4331def8f69207 SHA256 b128d7aada1c8c050a30389ff79e9e70dc444e1fb7c2428974324ec65570e1e9
DIST dia-0.95-1.tar.bz2 4203188 RMD160 680102d2da144c1a720a61e5b85c030f353000cc SHA1 887482cd25735ede7465302cb10b8c3efdc1da15 SHA256 809d00268b6f6ab02fb666c70ba0b8f556d258825e004ab4386103bcac4b7bc5
DIST dia-0.96.1.tar.bz2 4445553 RMD160 aef7b2227be2fb7eb5bdd31536790e868af74311 SHA1 e3d8f16f50dbbd03c1ce0235dba28c3e9612bb6e SHA256 7bb43d8b0cb287d728ea479fb65d1b57b8530af773018214e7f312dceed34237
EBUILD dia-0.95.1.ebuild 1730 RMD160 d55dd6661fee0332bd35fece05d58a49d5d4b982 SHA1 14e67aa90cf656077d23b8355603e794ee52959f SHA256 fbfe966d794f813c4e836181853556f1348dc6dcf439519fb1198bd319ebe8ae
EBUILD dia-0.96.1-r1.ebuild 2527 RMD160 b8425221aafaf40beb6f6df646fa3b62a1801fe8 SHA1 1cad8c968b8c5a62ca7edc0e2857ebee3405a560 SHA256 e60bab378531507ba6c6161b54f1778f5183fac3a4a232bca74c2cecd214fd06
EBUILD dia-0.96.1.ebuild 1833 RMD160 ffddddc2b4c444fe70fa9a7ee82762e60cf85de7 SHA1 f36eb6938b0bf1c43b7a19fe256d9ac9388ed1a2 SHA256 59639d5a5a243938b225dfd3529945c14ec52092d28ea827f0940d48bd00d027
MISC ChangeLog 13841 RMD160 517bdc61c29318a78787fb13ebeb8627da432511 SHA1 be4ad4fcadeffcc50505ece64ed79e27df382af0 SHA256 a460a63d34da193dd796f22c44e9f8b6f73c2fa6c44e6128bbbcb2e1c4634d64
MISC metadata.xml 687 RMD160 061a68c1fb154961a49f0e477c60e5622203ee9c SHA1 04993b30fa3d405bb573fb1590063b7300b2bbfe SHA256 bdcc845e385aea41bab345156554851037e00f1d268801d05e922f375ab97145
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkiViUIACgkQOeoy/oIi7uypwgCfd6qqK3+EP3qgjY15C9Q4iYAi
V3sAoOHvyE5xYmhghBxBMlHKzy5mUNam
=vV7+
-----END PGP SIGNATURE-----

dia-0.95.1.ebuild

# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-office/dia/dia-0.95.1.ebuild,v 1.11 2008/03/09 16:21:33 leio Exp $

inherit eutils gnome2 libtool autotools versionator

DESCRIPTION="Diagram/flowchart creation program"
HOMEPAGE="http://www.gnome.org/projects/dia/"
LICENSE="GPL-2"

# dia used -1 instead of .1 for the new version.
MY_PV=$(replace_version_separator 2 '-' )
MY_PV_MM=$(get_version_component_range 1-2 )
MY_P="${PN}-${MY_PV}"
SRC_URI="mirror://gnome/sources/${PN}/${MY_PV_MM}/${PN}-${MY_PV}.tar.bz2"

SLOT="0"
KEYWORDS="alpha amd64 hppa ia64 ~mips ppc ppc64 sparc x86 ~x86-fbsd"
IUSE="gnome png python zlib"

RDEPEND=">=x11-libs/gtk+-2.6.0
>=dev-libs/glib-2.6.0
>=x11-libs/pango-1.1.5
>=dev-libs/libxml2-2.3.9
>=dev-libs/libxslt-1
>=media-libs/freetype-2.0.95
dev-libs/popt
zlib? ( sys-libs/zlib )
png? ( media-libs/libpng
>=media-libs/libart_lgpl-2 )
gnome? ( >=gnome-base/libgnome-2.0
>=gnome-base/libgnomeui-2.0 )
python? ( >=dev-lang/python-1.5.2
>=dev-python/pygtk-1.99 )
~app-text/docbook-xml-dtd-4.2
app-text/docbook-xsl-stylesheets"

DEPEND="${RDEPEND}
>=dev-util/intltool-0.21
dev-util/pkgconfig"

G2CONF="${G2CONF} $(use_enable gnome) $(use_with python)"

DOCS="AUTHORS ChangeLog COPYING KNOWN_BUGS MAINTAINERS NEWS README RELEASE-PROCESS THANKS TODO"

S="${WORKDIR}/${MY_P}"

src_unpack() {
gnome2_src_unpack

# Disable python -c 'import gtk' during compile to prevent using
# X being involved (#31589)
# changed the patch to a sed to make it a bit more portable - AllanonJL
sed -i -e '/AM_CHECK_PYMOD/d' configure.in

eautoreconf
intltoolize --force || die "intltoolize failed"
}

dia-0.96.1-r1.ebuild

# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-office/dia/dia-0.96.1-r1.ebuild,v 1.8 2008/07/28 23:18:55 eva Exp $

inherit eutils gnome2 libtool autotools versionator python

DESCRIPTION="Diagram/flowchart creation program"
HOMEPAGE="http://www.gnome.org/projects/dia/"
LICENSE="GPL-2"

# dia used -1 instead of .1 for the new version.
MY_PV_MM=$(get_version_component_range 1-2 )
SRC_URI="mirror://gnome/sources/${PN}/${MY_PV_MM}/${P}.tar.bz2"

SLOT="0"
KEYWORDS="alpha amd64 hppa ia64 ppc ppc64 sparc x86 ~x86-fbsd"
# the doc USE flag doesn't seem to do anything without docbook2html
IUSE="cairo doc gnome gnome-print png python zlib"

RDEPEND=">=x11-libs/gtk+-2.6.0
>=dev-libs/glib-2.6.0
>=x11-libs/pango-1.1.5
>=dev-libs/libxml2-2.3.9
>=dev-libs/libxslt-1
>=media-libs/freetype-2.0.95
dev-libs/popt
zlib? ( sys-libs/zlib )
png? (
media-libs/libpng
>=media-libs/libart_lgpl-2 )
gnome? (
>=gnome-base/libgnome-2.0
>=gnome-base/libgnomeui-2.0 )
gnome-print? ( gnome-base/libgnomeprint )
cairo? ( x11-libs/cairo )
python? (
>=dev-lang/python-1.5.2
>=dev-python/pygtk-1.99 )
doc? (
~app-text/docbook-xml-dtd-4.2
app-text/docbook-xsl-stylesheets )"

DEPEND="${RDEPEND}
>=dev-util/intltool-0.21
dev-util/pkgconfig"

DOCS="AUTHORS ChangeLog KNOWN_BUGS MAINTAINERS NEWS README RELEASE-PROCESS THANKS TODO"

pkg_setup() {
G2CONF="${G2CONF}
$(use_with cairo)
$(use_with python)
$(use_enable doc db2html)
$(use_enable gnome)
$(use_with gnome-print gnomeprint)"
}

src_unpack() {
gnome2_src_unpack

# Disable python -c 'import gtk' during compile to prevent using
# X being involved (#31589)
# changed the patch to a sed to make it a bit more portable - AllanonJL
sed -i -e '/AM_CHECK_PYMOD/d' configure.in

# Fix compilation in a gnome environment, bug #159831
epatch "${FILESDIR}/${PN}-0.96.1-gnome-doc.patch"

# Fix broken XML in documentation
epatch "${FILESDIR}/${PN}-0.96.1-xml-fixes.patch"

# Skip man generation
use doc || sed -i -e '/if HAVE_DB2MAN/,/man_MANS/d' doc/*/Makefile.am

# Fix compilation QA, bug #191673
epatch "${FILESDIR}/${PN}-0.96.1-64bit-fixes.patch"

# Fix tests
echo "dia.desktop.in" >> po/POTFILES.skip

eautoreconf
intltoolize --force || die "intltoolize failed"
}

pkg_postinst() {
gnome2_pkg_postinst
use python && python_mod_optimize /usr/share/dia
}

pkg_postrm() {
gnome2_pkg_postrm
use python && python_mod_cleanup /usr/share/dia
}

dia-0.96.1.ebuild

# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-office/dia/dia-0.96.1.ebuild,v 1.3 2008/03/09 16:21:33 leio Exp $

inherit eutils gnome2 libtool autotools versionator

DESCRIPTION="Diagram/flowchart creation program"
HOMEPAGE="http://www.gnome.org/projects/dia/"
LICENSE="GPL-2"

# dia used -1 instead of .1 for the new version.
MY_PV_MM=$(get_version_component_range 1-2 )
SRC_URI="mirror://gnome/sources/${PN}/${MY_PV_MM}/${P}.tar.bz2"

SLOT="0"
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
IUSE="doc gnome png python zlib cairo gnome-print"

RDEPEND=">=x11-libs/gtk+-2.6.0
>=dev-libs/glib-2.6.0
>=x11-libs/pango-1.1.5
>=dev-libs/libxml2-2.3.9
>=dev-libs/libxslt-1
>=media-libs/freetype-2.0.95
dev-libs/popt
zlib? ( sys-libs/zlib )
png? ( media-libs/libpng
>=media-libs/libart_lgpl-2 )
gnome? ( >=gnome-base/libgnome-2.0
>=gnome-base/libgnomeui-2.0 )
gnome-print? ( gnome-base/libgnomeprint )
cairo? ( x11-libs/cairo )
python? ( >=dev-lang/python-1.5.2
>=dev-python/pygtk-1.99 )
doc? (
~app-text/docbook-xml-dtd-4.2
app-text/docbook-xsl-stylesheets )"

DEPEND="${RDEPEND}
>=dev-util/intltool-0.21
dev-util/pkgconfig"

DOCS="AUTHORS ChangeLog COPYING KNOWN_BUGS MAINTAINERS NEWS README RELEASE-PROCESS THANKS TODO"

pkg_setup() {
G2CONF="${G2CONF}
$(use_enable gnome)
$(use_with gnome-print gnomeprint)
$(use_with python)
$(use_with cairo)
$(use_enable doc db2html)"
}

src_unpack() {
gnome2_src_unpack

# Disable python -c 'import gtk' during compile to prevent using
# X being involved (#31589)
# changed the patch to a sed to make it a bit more portable - AllanonJL
sed -i -e '/AM_CHECK_PYMOD/d' configure.in

eautoreconf
intltoolize --force || die "intltoolize failed"
}

files

metadata.xml




gnome-office

Dia is a gtk+ based diagram creation program. 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 simple circuits. It is also
possible to add support for new shapes by writing simple XML
files, using a subset of SVG to draw the shape.


Gnome-Print support
(gnome-base/libgnomeprint)