Opened 19 years ago

Closed 19 years ago

Last modified 9 years ago

#7121 closed defect (fixed)

dia: Move port:p5-xml-parser from depends_lib into depends_build

Reported by: blair (Blair Zajac) Owned by: gnome-darwinports@…
Priority: Normal Milestone:
Component: ports Version: 1.0
Keywords: Cc:
Port: dia

Description (last modified by ryandesign (Ryan Carsten Schmidt))

Hello,

dia's port:p5-xml-parser is a build time dependency. not a run time one. Can it be moved into depends_build?

I don't use DP's Perl at all, so if the dependency can be moved to a buld depends, then this will allow me to keep the /opt/local a little smaller for my client systems that receive DP via rsync, as I can remove perl5.8 after building dia.

Just to back my assertion up, both Debian and Fink have it as a build dependency, not a runtime one:

# Debian

$ grep libxml-parser-perl dia-0.94.0/debian/control
Build-Depends: debhelper (>= 4.2.21), libgnome2-dev, libglib2.0-dev, libgtk2.0-dev, xlibs-dev, libxml2-dev, libpopt-dev, libpng12-dev, libart-2.0-dev, libunicode-dev, libfreetype6-dev, libpango1.0-dev, libgnomeui-dev, libxslt1-dev, python-dev, python-gtk2, xmlto, libxml-parser-perl, dpatch

# Fink

$ grep xml-parser-pm586 /sw/fink/10.4-transitional/unstable/main/finkinfo/graphics/dia.info
BuildDepends: orbit2-dev, libart2, atk1, audiofile, libbonobo2-dev, bonobo-activation2, libbonoboui2-dev, libbonoboui2, esound, gettext-dev, gettext-bin, gettext-tools, libiconv-dev, gconf2-dev, glib2-dev, gtk+2-dev, gdk-pixbuf, libgnome2-dev, libgnomecanvas2-dev, libgnomeui2-dev, gnome-vfs2-dev | gnome-vfs2-ssl-dev, libjpeg, pango1-xft2-dev, libpng3, popt, libxml2, intltool, gnome-keyring-dev (>= 0.4.3-1), xml-parser-pm586, gcc3.3

Thanks,
Blair

--- Portfile.orig       2006-01-29 05:15:40.000000000 -0800
+++ Portfile    2006-02-06 21:54:06.000000000 -0800
@@ -19,7 +19,8 @@
 use_bzip2      yes
 checksums      md5 63584224912dab49fed8d2cf87ea2d85
 depends_lib    lib:libgtk.2:gtk2 lib:libxml2.2.6.5:libxml2 port:libxslt \
-               port:libart_lgpl port:popt port:p5-xml-parser
+               port:libart_lgpl port:popt
+depends_build  port:p5-xml-parser
 patchfiles     patch-shape_info.c
 configure.env   CPPFLAGS="-L${prefix}/lib -I${prefix}/include" \
                 CFLAGS="-no-cpp-precomp -L${prefix}/lib" \

Change History (2)

comment:1 Changed 19 years ago by rhwood@…

Resolution: fixed
Status: newclosed

The fix is in CVS.

comment:2 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Port: dia added
Note: See TracTickets for help on using tickets.