On 2009-11-10, Jan Nieuwenhuizen wrote: > Op dinsdag 10-11-2009 om 00:51 uur [tijdzone -0800], schreef Patrick > McCarty: > > On 2009-11-09, Patrick McCarty wrote: > > > On Mon, Nov 9, 2009 at 3:15 PM, Nick Payne <nick.pa...@internode.on.net> > > > wrote: > > > > Patrick McCarty wrote: > > > I'm not sure what to do here. But IWBN if db did not install any of > > these invalid symlinks. > > Yes, IWBN if upstream authors had a clue. I'd go for > something like > > def install (self): > my-super-class.install (self) > self.system ('rm -rf %(install_prefix)s/share/doc/')
Okay, here's a patch for that. Thanks, Patrick
>From 03a4a46493ecf47ed2b384e5514f815358789f1f Mon Sep 17 00:00:00 2001 From: Patrick McCarty <pnor...@gmail.com> Date: Tue, 10 Nov 2009 01:37:50 -0800 Subject: [PATCH] db: Remove the /usr/docs/ directory structure. This might speed up the LilyPond Windows uninstaller. --- gub/specs/db.py | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/gub/specs/db.py b/gub/specs/db.py index c046a03..09abebf 100644 --- a/gub/specs/db.py +++ b/gub/specs/db.py @@ -20,6 +20,8 @@ class Db (target.AutoBuild): '%(builddir)s/build_unix/Makefile') def install (self): target.AutoBuild.install (self) + # FIXME: /usr/docs/ is full of invalid symlinks + self.system ('rm -rf %(install_prefix)s/docs') self.system ('rm -f %(install_prefix)s/lib/libdb.{a,so{,.a},la}') self.system ('cd %(install_prefix)s/lib && ln -s libdb-*.a libdb.a') self.system ('cd %(install_prefix)s/lib && cp libdb-*.la libdb.la') @@ -57,6 +59,8 @@ LDFLAGS=-lwsock32 ''')) def install (self): target.AutoBuild.install (self) + # FIXME: /usr/docs/ is full of invalid symlinks + self.system ('rm -rf %(install_prefix)s/docs') self.system ('rm -f %(install_prefix)s/{bin,lib}/libdb.{{,so,dll}{,.a},la}') self.system ('cd %(install_prefix)s/lib && cp libdb-*.a libdb.a') self.system ('cd %(install_prefix)s/lib && cp libdb-*.la libdb.la') @@ -81,4 +85,6 @@ class Db__tools (tools.AutoBuild, Db): pass def install (self): tools.AutoBuild.install (self) + # FIXME: /usr/docs/ is full of invalid symlinks + self.system ('rm -rf %(install_prefix)s/docs') self.system ('cd %(install_prefix)s/lib && ln -s libdb-*.la libdb.la') -- 1.6.5.2
_______________________________________________ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user