Source: parrot Version: 3.6.0-1 Severity: wishlist Tags: patch As discussed at [0], please add a separate package providing the runtime libraries needed by some languages, currently installed by parrot-devel, so that they don't need to Depends on parrot-devel.
I've attached a patch, feel free to change the package name if you don't like it, and to add/remove files if you need to (I've moved all the files under /usr/lib/parrot/3.6.0/library). I've already tried to build and run rakudo with this change, and everything seems to work fine. Cheers [0] http://lists.alioth.debian.org/pipermail/pkg-parrot-devel/2011-August/000173.html -- System Information: Debian Release: wheezy/sid APT prefers unstable APT policy: (700, 'unstable'), (600, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 3.0.0 (SMP w/2 CPU cores; PREEMPT) Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to it_IT.UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages parrot depends on: ii libc6 2.13-20 ii libreadline6 6.2-4 ii parrot-minimal 3.6.0-1 parrot recommends no packages. Versions of packages parrot suggests: pn parrot-doc <none> -- no debconf information
--- a/debian/parrot-devel.install +++ b/debian/parrot-devel.install @@ -8,23 +8,8 @@ usr/bin/parrot-nqp usr/lib/parrot/3.6.0/tools/* usr/lib/parrot/3.6.0/languages/pct/* -usr/lib/parrot/3.6.0/library/distutils.pbc -usr/lib/parrot/3.6.0/library/HLL.pbc -usr/lib/parrot/3.6.0/library/Regex.pbc -usr/lib/parrot/3.6.0/library/P6Regex.pbc -usr/lib/parrot/3.6.0/library/PCT.pbc -usr/lib/parrot/3.6.0/library/PCT/* -usr/lib/parrot/3.6.0/library/P6object.pbc -usr/lib/parrot/3.6.0/library/Parrot/Exception.pbc -usr/lib/parrot/3.6.0/library/config.pir -usr/lib/parrot/3.6.0/library/config.pbc -usr/lib/parrot/3.6.0/library/nqp-setting.pbc -usr/lib/parrot/3.6.0/library/opsc.pbc usr/lib/parrot/3.6.0/languages/pge/* -usr/lib/parrot/3.6.0/library/PGE.pbc -usr/lib/parrot/3.6.0/library/PGE/* usr/lib/parrot/3.6.0/languages/tge/* -usr/lib/parrot/3.6.0/library/TGE.pbc usr/lib/parrot/3.6.0/VERSION usr/lib/parrot/3.6.0/parrot_config.o usr/include/parrot/3.6.0/pmc/* --- a/debian/parrot-devel.install.in +++ b/debian/parrot-devel.install.in @@ -8,23 +8,8 @@ usr/bin/parrot-nqp usr/lib/parrot/@VERSION@/tools/* usr/lib/parrot/@VERSION@/languages/pct/* -usr/lib/parrot/@VERSION@/library/distutils.pbc -usr/lib/parrot/@VERSION@/library/HLL.pbc -usr/lib/parrot/@VERSION@/library/Regex.pbc -usr/lib/parrot/@VERSION@/library/P6Regex.pbc -usr/lib/parrot/@VERSION@/library/PCT.pbc -usr/lib/parrot/@VERSION@/library/PCT/* -usr/lib/parrot/@VERSION@/library/P6object.pbc -usr/lib/parrot/@VERSION@/library/Parrot/Exception.pbc -usr/lib/parrot/@VERSION@/library/config.pir -usr/lib/parrot/@VERSION@/library/config.pbc -usr/lib/parrot/@VERSION@/library/nqp-setting.pbc -usr/lib/parrot/@VERSION@/library/opsc.pbc usr/lib/parrot/@VERSION@/languages/pge/* -usr/lib/parrot/@VERSION@/library/PGE.pbc -usr/lib/parrot/@VERSION@/library/PGE/* usr/lib/parrot/@VERSION@/languages/tge/* -usr/lib/parrot/@VERSION@/library/TGE.pbc usr/lib/parrot/@VERSION@/VERSION usr/lib/parrot/@VERSION@/parrot_config.o usr/include/parrot/@VERSION@/pmc/* --- /dev/null +++ b/debian/parrot-runtime.install @@ -0,0 +1,15 @@ +usr/lib/parrot/3.6.0/library/distutils.pbc +usr/lib/parrot/3.6.0/library/HLL.pbc +usr/lib/parrot/3.6.0/library/Regex.pbc +usr/lib/parrot/3.6.0/library/P6Regex.pbc +usr/lib/parrot/3.6.0/library/PCT.pbc +usr/lib/parrot/3.6.0/library/PCT/* +usr/lib/parrot/3.6.0/library/P6object.pbc +usr/lib/parrot/3.6.0/library/Parrot/Exception.pbc +usr/lib/parrot/3.6.0/library/config.pir +usr/lib/parrot/3.6.0/library/config.pbc +usr/lib/parrot/3.6.0/library/nqp-setting.pbc +usr/lib/parrot/3.6.0/library/opsc.pbc +usr/lib/parrot/3.6.0/library/PGE.pbc +usr/lib/parrot/3.6.0/library/PGE/* +usr/lib/parrot/3.6.0/library/TGE.pbc --- /dev/null +++ b/debian/parrot-runtime.install.in @@ -0,0 +1,15 @@ +usr/lib/parrot/@VERSION@/library/distutils.pbc +usr/lib/parrot/@VERSION@/library/HLL.pbc +usr/lib/parrot/@VERSION@/library/Regex.pbc +usr/lib/parrot/@VERSION@/library/P6Regex.pbc +usr/lib/parrot/@VERSION@/library/PCT.pbc +usr/lib/parrot/@VERSION@/library/PCT/* +usr/lib/parrot/@VERSION@/library/P6object.pbc +usr/lib/parrot/@VERSION@/library/Parrot/Exception.pbc +usr/lib/parrot/@VERSION@/library/config.pir +usr/lib/parrot/@VERSION@/library/config.pbc +usr/lib/parrot/@VERSION@/library/nqp-setting.pbc +usr/lib/parrot/@VERSION@/library/opsc.pbc +usr/lib/parrot/@VERSION@/library/PGE.pbc +usr/lib/parrot/@VERSION@/library/PGE/* +usr/lib/parrot/@VERSION@/library/TGE.pbc --- a/debian/control +++ b/debian/control @@ -28,6 +28,13 @@ to get up and running in the average use case, and is sufficient to run most language implementations. +Package: parrot-runtime +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: runtime libraries of the Parrot VM + This package contains the runtime libraries of the Parrot virtual machine, + which may be required to run languages on parrot once installed. + Package: libparrot3.6.0 Architecture: any Section: libs @@ -35,7 +42,7 @@ Description: Parrot shared library This package contains the Parrot shared library, used by the Parrot virtual machine and by programs that embed Parrot. - + Package: libparrot-dev Architecture: any Section: libdevel @@ -57,7 +64,8 @@ Package: parrot-devel Architecture: any Section: devel -Depends: ${shlibs:Depends}, ${misc:Depends}, parrot, libparrot-dev, perl +Depends: ${shlibs:Depends}, ${misc:Depends}, parrot, parrot-runtime, + libparrot-dev, perl Provides: parrot-pge, parrot-tge, parrot-pct, parrot-nqp Conflicts: parrot ( << 1.0.0 ), libparrot-dev ( << 1.0.0 ) Replaces: parrot ( << 1.0.0 ), libparrot-dev ( << 1.0.0 ) --- a/debian/control.in +++ b/debian/control.in @@ -28,6 +28,13 @@ to get up and running in the average use case, and is sufficient to run most language implementations. +Package: parrot-runtime +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: runtime libraries of the Parrot VM + This package contains the runtime libraries of the Parrot virtual machine, + which may be required to run languages on parrot once installed. + Package: libparrot@SOVERSION@ Architecture: any Section: libs @@ -35,7 +42,7 @@ Description: Parrot shared library This package contains the Parrot shared library, used by the Parrot virtual machine and by programs that embed Parrot. - + Package: libparrot-dev Architecture: any Section: libdevel @@ -57,7 +64,8 @@ Package: parrot-devel Architecture: any Section: devel -Depends: ${shlibs:Depends}, ${misc:Depends}, parrot, libparrot-dev, perl +Depends: ${shlibs:Depends}, ${misc:Depends}, parrot, parrot-runtime, + libparrot-dev, perl Provides: parrot-pge, parrot-tge, parrot-pct, parrot-nqp Conflicts: parrot ( << 1.0.0 ), libparrot-dev ( << 1.0.0 ) Replaces: parrot ( << 1.0.0 ), libparrot-dev ( << 1.0.0 )