Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 13 Mar 2011 16:27:47 +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:  <AANLkTinNdOWjT7X-gskxWu0VAo7wLusJWxiPs5Dck4=0@mail.gmail.com>
In-Reply-To: <20110312215307.GB26099@lonesome.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>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Mar 12, 2011 at 10:53 PM, Mark Linimon <linimon@lonesome.com> wrote:
> 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
===================================================================
RCS file: /home/ncvs/ports/devel/glib20/Makefile,v
retrieving revision 1.174
diff -r1.174 Makefile
42,43c42,43
< USE_PYTHON=   yes
< USE_PERL5=    yes
---
> USE_PYTHON_BUILD=yes
> USE_PERL5_BUILD=yes
Index: sysutils/hal/Makefile
===================================================================
RCS file: /home/ncvs/ports/sysutils/hal/Makefile,v
retrieving revision 1.69
diff -r1.69 Makefile
29c29
< USE_PYTHON=   yes
---
> USE_PYTHON_BUILD=yes
Index: sysutils/polkit/Makefile
===================================================================
RCS file: /home/ncvs/ports/sysutils/polkit/Makefile,v
retrieving revision 1.9
diff -r1.9 Makefile
20c20
< RUN_DEPENDS=
${LOCALBASE}/share/gir-1.0/GLib-2.0.gir:${PORTSDIR}/devel/gobject-introspection
---
> #RUN_DEPENDS= ${LOCALBASE}/share/gir-1.0/GLib-2.0.gir:${PORTSDIR}/devel/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 KDE.


Kind regards

Hans Ottevanger



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTinNdOWjT7X-gskxWu0VAo7wLusJWxiPs5Dck4=0>