Date: Sun, 13 Mar 2011 17:35:53 +0100 From: Hans Ottevanger <hans.ottevanger@gmail.com> To: Mark Linimon <linimon@lonesome.com> Cc: freebsd-ports@freebsd.org Subject: Re: Superfluous dependencies Message-ID: <AANLkTi=ASHG4o0reHzOmnzLbfePXcgeLcVbZh8BpNjkU@mail.gmail.com> In-Reply-To: <AANLkTinNdOWjT7X-gskxWu0VAo7wLusJWxiPs5Dck4=0@mail.gmail.com> References: <AANLkTik65O3gbUoVBM-YbjWu0dpq0OuNn2KoUaC5b5ov@mail.gmail.com> <4D76426A.2010006@secnap.com> <AANLkTi=j7fR%2BRm4Fy14Q_KPDyE%2B7%2BO_d3pd3Yaek=kJG@mail.gmail.com> <20110312215307.GB26099@lonesome.com> <AANLkTinNdOWjT7X-gskxWu0VAo7wLusJWxiPs5Dck4=0@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Mar 13, 2011 at 4:27 PM, Hans Ottevanger <hans.ottevanger@gmail.com> wrote: > On Sat, Mar 12, 2011 at 10:53 PM, Mark Linimon <linimon@lonesome.com> wro= te: >> On Thu, Mar 10, 2011 at 10:28:40AM +0100, Hans Ottevanger wrote: >>> If anybody is interested I could consolidate my results and post a few = patches. >> >> I would like to see them. >> >> This is the kind of really-dull-but-necessary work that we need to have >> people work on to fight the creeping dependencies :-) >> >> mcl >> > > Real life intervened the last few days, so excuses for the delay. > > Since the test system I used last week became a mess in the process, I > restarted the effort this morning on my 9.0-CURRENT system (amd64, > r219593). I have cvsupped the ports tree at about 10:45 UTC. Limiting > the discussion to Xorg alone for now, I made the following changes to > just three makefiles: > > Index: devel/glib20/Makefile > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > RCS file: /home/ncvs/ports/devel/glib20/Makefile,v > retrieving revision 1.174 > diff -r1.174 Makefile > 42,43c42,43 > < USE_PYTHON=3D =A0 yes > < USE_PERL5=3D =A0 =A0yes > --- >> USE_PYTHON_BUILD=3Dyes >> USE_PERL5_BUILD=3Dyes > Index: sysutils/hal/Makefile > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > RCS file: /home/ncvs/ports/sysutils/hal/Makefile,v > retrieving revision 1.69 > diff -r1.69 Makefile > 29c29 > < USE_PYTHON=3D =A0 yes > --- >> USE_PYTHON_BUILD=3Dyes > Index: sysutils/polkit/Makefile > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > RCS file: /home/ncvs/ports/sysutils/polkit/Makefile,v > retrieving revision 1.9 > diff -r1.9 Makefile > 20c20 > < RUN_DEPENDS=3D > ${LOCALBASE}/share/gir-1.0/GLib-2.0.gir:${PORTSDIR}/devel/gobject-introsp= ection > --- >> #RUN_DEPENDS=3D ${LOCALBASE}/share/gir-1.0/GLib-2.0.gir:${PORTSDIR}/deve= l/gobject-introspection > > The first two are quite trivial, the third could be a bit tricky, but > I cannot find (and imagine) a situation where gobject-introspection is > needed on run-time for a "normal" end-user. > > After building and installing xorg-7.5.1 I can deinstall the following > packages (and probably quite a few others that are only needed at > build-time): > > autoconf-2.68 > automake-1.11.1 > bison-2.4.3,1 > gobject-introspection-0.9.12_1 > help2man-1.39.2 > intltool-0.41.1 > m4-1.4.15,1 > p5-Locale-gettext-1.05_3 > p5-XML-Parser-2.40 > perl-5.10.1_3 > python27-2.7.1_1 > xcb-proto-1.6 > > As far as I can see now, X functions OK, though I still have to compile K= DE. > > > Kind regards > > Hans Ottevanger > As suggested by Chris Rees, also as unified diffs: --- devel/glib20/Makefile.orig 2011-03-13 17:26:30.000000000 +0100 +++ devel/glib20/Makefile 2011-03-13 17:26:47.000000000 +0100 @@ -39,8 +39,8 @@ USE_GNOME=3D gnomehack pkgconfig ltverhack USE_GMAKE=3D yes MAKE_JOBS_SAFE=3D yes -USE_PYTHON=3D yes -USE_PERL5=3D yes +USE_PYTHON_BUILD=3Dyes +USE_PERL5_BUILD=3Dyes CONFIGURE_ARGS=3D --enable-static --with-libiconv=3Dgnu \ --disable-gtk-doc --with-html-dir=3D${PREFIX}/share/doc \ --disable-man --without-xml-catalog \ --- sysutils/hal/Makefile.orig 2011-03-13 17:05:01.000000000 +0100 +++ sysutils/hal/Makefile 2011-03-13 17:27:58.000000000 +0100 @@ -26,7 +26,7 @@ USE_GNOME=3D gnomehack intlhack ltverhack USE_AUTOTOOLS=3D libtool USE_LDCONFIG=3D yes -USE_PYTHON=3D yes +USE_PYTHON_BUILD=3Dyes CONFIGURE_ARGS=3D --disable-gtk-doc \ --with-backend=3Dfreebsd \ --disable-docbook-docs \ --- sysutils/polkit/Makefile.orig 2011-03-13 17:05:11.000000000 +0100 +++ sysutils/polkit/Makefile 2011-03-13 17:28:54.000000000 +0100 @@ -17,7 +17,7 @@ BUILD_DEPENDS=3D ${LOCALBASE}/share/gir-1.0/GLib-2.0.gir:${PORTSDIR}/devel/gobject-introspec= tion LIB_DEPENDS=3D eggdbus-1.0:${PORTSDIR}/devel/eggdbus \ expat.6:${PORTSDIR}/textproc/expat2 -RUN_DEPENDS=3D ${LOCALBASE}/share/gir-1.0/GLib-2.0.gir:${PORTSDIR}/devel/gobject-introspec= tion +#RUN_DEPENDS=3D ${LOCALBASE}/share/gir-1.0/GLib-2.0.gir:${PORTSDIR}/devel/gobject-introspec= tion USE_GNOME=3D gnomehack glib20 intlhack USE_GMAKE=3D yes Kind regards, Hans Ottevanger
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTi=ASHG4o0reHzOmnzLbfePXcgeLcVbZh8BpNjkU>