[MacPorts] #7121: dia: Move port:p5-xml-parser from depends_lib into depends_build
MacPorts
noreply at macports.org
Thu Mar 24 07:20:14 PDT 2016
#7121: dia: Move port:p5-xml-parser from depends_lib into depends_build
----------------------+---------------------------------
Reporter: blair@… | Owner: gnome-darwinports@…
Type: defect | Status: closed
Priority: Normal | Milestone:
Component: ports | Version: 1.0
Resolution: fixed | Keywords:
Port: dia |
----------------------+---------------------------------
Changes (by ryandesign@…):
* port: => dia
Old description:
> 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" \
New description:
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" \
}}}
--
--
Ticket URL: <https://trac.macports.org/ticket/7121#comment:2>
MacPorts <https://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list