Subject: Adding perl as a runtime dependency to packages (was: CVS commit: pkgsrc/editors and pkgsrc/wm/fvwm)
To: None <tech-pkg@NetBSD.org>
From: Bernd Ernesti <veego@NetBSD.org>
List: tech-pkg
Date: 08/06/2006 08:43:31
Hi,

there were a few commits which added perl as a runtime dependendy to
some packages. I only bring up two of them:

pkgsrc/editors/emacs (pkgsrc/editors/emacs-nox11)
pkgsrc/wm/fvwm

This maybe technical correct, but it adds a lot of bloat to these
packages. Some package should just depend on the core components
to make it easy to install them and not to add a big package like
perl just for a minor script.

emacs:
Why is bin/emacs-grep-changelog installed at all? We don't install
the emacs changelog file(s) so there is no reason to install this file
too.
If we want to install it then it should be an independent package which
should also work with all other ChangeLog files, but my take is that this
adds too much work for us to do that.
=> remove that file and kill the perl dependency.

fvwm:
The commit didn't say why perl was really added, so I can only guess
that it maybe because of FvwmConsoleC.pl.
If that is the case then we should add a package option to enable perl,
defaulting to off. This is an enhancement for a window manager which is
not really needed by default. fvwm is a small wm and it should be keept
that way.

Bernd

On Tue, Jun 20, 2006 at 11:47:24PM +0000, Min Sik Kim wrote:
> 
> Module Name:	pkgsrc
> Committed By:	minskim
> Date:		Tue Jun 20 23:47:24 UTC 2006
> 
> Modified Files:
> 	pkgsrc/editors/emacs: Makefile Makefile.common
> 	pkgsrc/editors/emacs-nox11: Makefile
> 
> Log Message:
> Add a run-time depenency on perl because bin/emacs-grep-changelog
> requires perl to run.
> 
> Bump PKGREVISION.
> 
> 
> To generate a diff of this commit:
> cvs rdiff -r1.95 -r1.96 pkgsrc/editors/emacs/Makefile
> cvs rdiff -r1.8 -r1.9 pkgsrc/editors/emacs/Makefile.common
> cvs rdiff -r1.22 -r1.23 pkgsrc/editors/emacs-nox11/Makefile

On Tue, Jul 11, 2006 at 09:05:35AM +0000, Roland Illig wrote:
>
> Module Name:  pkgsrc
> Committed By: rillig
> Date:		Tue Jul 11 09:05:35 UTC 2006
>
> Modified Files:
> 	pkgsrc/wm/fvwm: Makefile
>
> Log Message:
> USE_TOOLS+=perl:run. Bumped PKGREVISION.
>
>
> To generate a diff of this commit:
> cvs rdiff -r1.2 -r1.3 pkgsrc/wm/fvwm/Makefile