[MLton-commit] r7519

Wesley Terpstra wesley at mlton.org
Mon Mar 21 10:55:27 PST 2011


Apparently, this is the way to go in order to allow multiple packages installed at once, whilst still allowing cross-target dependencies.


----------------------------------------------------------------------

U   mlton/trunk/package/debian/control
A   mlton/trunk/package/debian/mlton-runtime-alpha-linux-gnu.install
A   mlton/trunk/package/debian/mlton-runtime-arm-linux-gnueabi.install
A   mlton/trunk/package/debian/mlton-runtime-hppa-linux-gnu.install
A   mlton/trunk/package/debian/mlton-runtime-i486-gnu.install
A   mlton/trunk/package/debian/mlton-runtime-i486-kfreebsd-gnu.install
A   mlton/trunk/package/debian/mlton-runtime-i486-linux-gnu.install
A   mlton/trunk/package/debian/mlton-runtime-ia64-linux-gnu.install
A   mlton/trunk/package/debian/mlton-runtime-mips-linux-gnu.install
A   mlton/trunk/package/debian/mlton-runtime-mipsel-linux-gnu.install
A   mlton/trunk/package/debian/mlton-runtime-powerpc-linux-gnu.install
A   mlton/trunk/package/debian/mlton-runtime-s390-linux-gnu.install
A   mlton/trunk/package/debian/mlton-runtime-x86-64-kfreebsd-gnu.install
A   mlton/trunk/package/debian/mlton-runtime-x86-64-linux-gnu.install
D   mlton/trunk/package/debian/mlton-runtime.install

----------------------------------------------------------------------

Modified: mlton/trunk/package/debian/control
===================================================================
--- mlton/trunk/package/debian/control	2011-03-20 22:42:41 UTC (rev 7518)
+++ mlton/trunk/package/debian/control	2011-03-21 18:55:23 UTC (rev 7519)
@@ -5,12 +5,64 @@
 Build-Depends: mlton (>= 20070826), htmldoc, texlive-latex-base, procps, debhelper (>= 7.0.0), cdbs (>= 0.4.52), quilt
 Standards-Version: 3.9.1
 
+Package: mlton
+Architecture: all
+Multi-Arch: foreign
+Depends: ${misc:Depends}, mlton-compiler (= ${source:Version}), mlton-tools (= ${source:Version}), mlton-doc (= ${source:Version})
+Homepage: http://mlton.org/
+Description: Optimizing compiler for Standard ML
+ MLton is a whole-program optimizing compiler
+ for Standard ML.  MLton generates standalone 
+ executables with excellent runtime performance,
+ is SML 97 compliant, and has a complete basis
+ library.  MLton has source-level profiling,
+ a fast C FFI, an interface to the GNU
+ multiprecision library, and lots of useful
+ libraries.
+ .
+ This metapackage depends on all MLton packages.
+
+Package: mlton-basis
+Architecture: all
+Multi-Arch: foreign
+Depends: ${misc:Depends}
+Homepage: http://mlton.org/
+Description: Optimizing compiler for Standard ML - basis library
+ MLton is a whole-program optimizing compiler
+ for Standard ML.  MLton generates standalone 
+ executables with excellent runtime performance,
+ is SML 97 compliant, and has a complete basis
+ library.  MLton has source-level profiling,
+ a fast C FFI, an interface to the GNU
+ multiprecision library, and lots of useful
+ libraries.
+ .
+ This package includes the cross-platform basis.
+
+Package: mlton-doc
+Section: doc
+Architecture: all
+Multi-Arch: foreign
+Depends: ${misc:Depends}
+Homepage: http://mlton.org/
+Description: Optimizing compiler for Standard ML - documentation
+ MLton is a whole-program optimizing compiler
+ for Standard ML.  MLton generates standalone 
+ executables with excellent runtime performance,
+ is SML 97 compliant, and has a complete basis
+ library.  MLton has source-level profiling,
+ a fast C FFI, an interface to the GNU
+ multiprecision library, and lots of useful
+ libraries.
+ .
+ This package includes non-man-page documentation.
+
 Package: mlton-compiler
 Architecture: alpha amd64 armel hppa hurd-i386 i386 ia64 kfreebsd-i386 kfreebsd-amd64 mips mipsel powerpc s390 sparc
 Multi-Arch: foreign
-Depends: ${shlibs:Depends}, ${misc:Depends}, gcc, libc6-dev, libgmp-dev, mlton-basis (= ${source:Version}), mlton-runtime (= ${binary:Version})
+Depends: ${shlibs:Depends}, ${misc:Depends}, gcc, libc6-dev, libgmp-dev, mlton-basis (= ${source:Version}), mlton-runtime-native (= ${binary:Version}) | mlton-runtime
 Homepage: http://mlton.org/
-Description: Optimizing compiler for Standard ML - Compiler package
+Description: Optimizing compiler for Standard ML - compiler
  MLton is a whole-program optimizing compiler
  for Standard ML.  MLton generates standalone 
  executables with excellent runtime performance,
@@ -27,7 +79,7 @@
 Multi-Arch: foreign
 Depends: ${shlibs:Depends}, ${misc:Depends}
 Homepage: http://mlton.org/
-Description: Optimizing compiler for Standard ML - Tools package
+Description: Optimizing compiler for Standard ML - tools
  MLton is a whole-program optimizing compiler
  for Standard ML.  MLton generates standalone 
  executables with excellent runtime performance,
@@ -39,12 +91,28 @@
  .
  This package includes tools which autogenerate SML.
 
-Package: mlton-runtime
+Package: mlton-runtime-native
 Architecture: alpha amd64 armel hppa hurd-i386 i386 ia64 kfreebsd-i386 kfreebsd-amd64 mips mipsel powerpc s390 sparc
-Multi-Arch: allowed
+Depends: ${misc:Depends}, mlton-runtime-alpha-gnu-linux [alpha] | mlton-runtime-x86-64-linux-gnu [amd64] | mlton-runtime-arm-linux-gnueabi [armel] | mlton-runtime-hppa-linux-gnu [hppa] | mlton-runtime-i486-gnu [hurd-i386] | mlton-runtime-i486-linux-gnu [i386] | mlton-runtime-ia64-linux-gnu [ia64] | mlton-runtime-i486-kfreebsd-gnu [kfreebsd-i386] | mlton-runtime-x86-64-kfreebsd-gnu [kfreebsd-amd64] | mlton-runtime-mips-linux-gnu [mips] | mlton-runtime-mips-linux-gnu [mipsel] | mlton-runtime-powerpc-linux-gnu [powerpc] | mlton-runtime-s390-linux-gnu [s390] | mlton-runtime-sparc-linux-gnu [sparc]
+Homepage: http://mlton.org/
+Description: Optimizing compiler for Standard ML - native runtime libraries
+ MLton is a whole-program optimizing compiler
+ for Standard ML.  MLton generates standalone 
+ executables with excellent runtime performance,
+ is SML 97 compliant, and has a complete basis
+ library.  MLton has source-level profiling,
+ a fast C FFI, an interface to the GNU
+ multiprecision library, and lots of useful
+ libraries.
+ .
+ This metapackage depends on native target libraries.
+
+Package: mlton-runtime-alpha-linux-gnu
+Architecture: alpha
 Depends: ${misc:Depends}
+Provides: mlton-runtime
 Homepage: http://mlton.org/
-Description: Optimizing compiler for Standard ML - Runtime package
+Description: Optimizing compiler for Standard ML - alpha runtime libraries
  MLton is a whole-program optimizing compiler
  for Standard ML.  MLton generates standalone 
  executables with excellent runtime performance,
@@ -54,14 +122,14 @@
  multiprecision library, and lots of useful
  libraries.
  .
- This package includes target-specific files.
+ This package provides alpha target libraries.
 
-Package: mlton-basis
-Architecture: all
-Multi-Arch: foreign
+Package: mlton-runtime-x86-64-linux-gnu
+Architecture: amd64
 Depends: ${misc:Depends}
+Provides: mlton-runtime
 Homepage: http://mlton.org/
-Description: Optimizing compiler for Standard ML - Basis package
+Description: Optimizing compiler for Standard ML - amd64 runtime libraries
  MLton is a whole-program optimizing compiler
  for Standard ML.  MLton generates standalone 
  executables with excellent runtime performance,
@@ -71,15 +139,14 @@
  multiprecision library, and lots of useful
  libraries.
  .
- This package includes the cross-platform basis.
+ This package provides x86-64 target libraries.
 
-Package: mlton-doc
-Section: doc
-Architecture: all
-Multi-Arch: foreign
+Package: mlton-runtime-arm-linux-gnueabi
+Architecture: armel
 Depends: ${misc:Depends}
+Provides: mlton-runtime
 Homepage: http://mlton.org/
-Description: Optimizing compiler for Standard ML - Documentation package
+Description: Optimizing compiler for Standard ML - armel runtime libraries
  MLton is a whole-program optimizing compiler
  for Standard ML.  MLton generates standalone 
  executables with excellent runtime performance,
@@ -89,13 +156,14 @@
  multiprecision library, and lots of useful
  libraries.
  .
- This package includes non-man-page documentation.
+ This package provides arm target libraries.
 
-Package: mlton
-Architecture: all
-Depends: ${misc:Depends}, mlton-compiler, mlton-tools, mlton-doc
+Package: mlton-runtime-hppa-linux-gnu
+Architecture: hppa
+Depends: ${misc:Depends}
+Provides: mlton-runtime
 Homepage: http://mlton.org/
-Description: Optimizing compiler for Standard ML - Complete package
+Description: Optimizing compiler for Standard ML - hppa runtime libraries
  MLton is a whole-program optimizing compiler
  for Standard ML.  MLton generates standalone 
  executables with excellent runtime performance,
@@ -105,4 +173,175 @@
  multiprecision library, and lots of useful
  libraries.
  .
- This metapackage depends on all MLton packages.
+ This package provides hppa target libraries.
+
+Package: mlton-runtime-i486-gnu
+Architecture: hurd-i386
+Depends: ${misc:Depends}
+Provides: mlton-runtime
+Homepage: http://mlton.org/
+Description: Optimizing compiler for Standard ML - hurd-i386 runtime libraries
+ MLton is a whole-program optimizing compiler
+ for Standard ML.  MLton generates standalone 
+ executables with excellent runtime performance,
+ is SML 97 compliant, and has a complete basis
+ library.  MLton has source-level profiling,
+ a fast C FFI, an interface to the GNU
+ multiprecision library, and lots of useful
+ libraries.
+ .
+ This package provides hurd i486 target libraries.
+
+Package: mlton-runtime-i486-linux-gnu
+Architecture: i386
+Depends: ${misc:Depends}
+Provides: mlton-runtime
+Homepage: http://mlton.org/
+Description: Optimizing compiler for Standard ML - i386 runtime libraries
+ MLton is a whole-program optimizing compiler
+ for Standard ML.  MLton generates standalone 
+ executables with excellent runtime performance,
+ is SML 97 compliant, and has a complete basis
+ library.  MLton has source-level profiling,
+ a fast C FFI, an interface to the GNU
+ multiprecision library, and lots of useful
+ libraries.
+ .
+ This package provides i486 target libraries.
+
+Package: mlton-runtime-ia64-linux-gnu
+Architecture: ia64
+Depends: ${misc:Depends}
+Provides: mlton-runtime
+Homepage: http://mlton.org/
+Description: Optimizing compiler for Standard ML - ia64 runtime libraries
+ MLton is a whole-program optimizing compiler
+ for Standard ML.  MLton generates standalone 
+ executables with excellent runtime performance,
+ is SML 97 compliant, and has a complete basis
+ library.  MLton has source-level profiling,
+ a fast C FFI, an interface to the GNU
+ multiprecision library, and lots of useful
+ libraries.
+ .
+ This package provides ia64 target libraries.
+
+Package: mlton-runtime-i486-kfreebsd-gnu
+Architecture: kfreebsd-i386
+Depends: ${misc:Depends}
+Provides: mlton-runtime
+Homepage: http://mlton.org/
+Description: Optimizing compiler for Standard ML - kfreebsd-i386 runtime libraries
+ MLton is a whole-program optimizing compiler
+ for Standard ML.  MLton generates standalone 
+ executables with excellent runtime performance,
+ is SML 97 compliant, and has a complete basis
+ library.  MLton has source-level profiling,
+ a fast C FFI, an interface to the GNU
+ multiprecision library, and lots of useful
+ libraries.
+ .
+ This package provides kfreebsd i386 target libraries.
+
+Package: mlton-runtime-x86-64-kfreebsd-gnu
+Architecture: kfreebsd-amd64
+Depends: ${misc:Depends}
+Provides: mlton-runtime
+Homepage: http://mlton.org/
+Description: Optimizing compiler for Standard ML - kfreebsd-amd64 runtime libraries
+ MLton is a whole-program optimizing compiler
+ for Standard ML.  MLton generates standalone 
+ executables with excellent runtime performance,
+ is SML 97 compliant, and has a complete basis
+ library.  MLton has source-level profiling,
+ a fast C FFI, an interface to the GNU
+ multiprecision library, and lots of useful
+ libraries.
+ .
+ This package provides kfreebsd amd64 target libraries.
+
+Package: mlton-runtime-mips-linux-gnu
+Architecture: mips
+Depends: ${misc:Depends}
+Provides: mlton-runtime
+Homepage: http://mlton.org/
+Description: Optimizing compiler for Standard ML - mips runtime libraries
+ MLton is a whole-program optimizing compiler
+ for Standard ML.  MLton generates standalone 
+ executables with excellent runtime performance,
+ is SML 97 compliant, and has a complete basis
+ library.  MLton has source-level profiling,
+ a fast C FFI, an interface to the GNU
+ multiprecision library, and lots of useful
+ libraries.
+ .
+ This package provides mips target libraries.
+
+Package: mlton-runtime-mipsel-linux-gnu
+Architecture: mipsel
+Depends: ${misc:Depends}
+Provides: mlton-runtime
+Homepage: http://mlton.org/
+Description: Optimizing compiler for Standard ML - mipsel runtime libraries
+ MLton is a whole-program optimizing compiler
+ for Standard ML.  MLton generates standalone 
+ executables with excellent runtime performance,
+ is SML 97 compliant, and has a complete basis
+ library.  MLton has source-level profiling,
+ a fast C FFI, an interface to the GNU
+ multiprecision library, and lots of useful
+ libraries.
+ .
+ This package provides mipsel target libraries.
+
+Package: mlton-runtime-powerpc-linux-gnu
+Architecture: powerpc
+Depends: ${misc:Depends}
+Provides: mlton-runtime
+Homepage: http://mlton.org/
+Description: Optimizing compiler for Standard ML - powerpc runtime libraries
+ MLton is a whole-program optimizing compiler
+ for Standard ML.  MLton generates standalone 
+ executables with excellent runtime performance,
+ is SML 97 compliant, and has a complete basis
+ library.  MLton has source-level profiling,
+ a fast C FFI, an interface to the GNU
+ multiprecision library, and lots of useful
+ libraries.
+ .
+ This package provides powerpc target libraries.
+
+Package: mlton-runtime-s390-linux-gnu
+Architecture: s390
+Depends: ${misc:Depends}
+Provides: mlton-runtime
+Homepage: http://mlton.org/
+Description: Optimizing compiler for Standard ML - s390 runtime libraries
+ MLton is a whole-program optimizing compiler
+ for Standard ML.  MLton generates standalone 
+ executables with excellent runtime performance,
+ is SML 97 compliant, and has a complete basis
+ library.  MLton has source-level profiling,
+ a fast C FFI, an interface to the GNU
+ multiprecision library, and lots of useful
+ libraries.
+ .
+ This package provides s390 target libraries.
+
+Package: mlton-runtime-sparc-linux-gnu
+Architecture: sparc
+Depends: ${misc:Depends}
+Provides: mlton-runtime
+Homepage: http://mlton.org/
+Description: Optimizing compiler for Standard ML - sparc runtime libraries
+ MLton is a whole-program optimizing compiler
+ for Standard ML.  MLton generates standalone 
+ executables with excellent runtime performance,
+ is SML 97 compliant, and has a complete basis
+ library.  MLton has source-level profiling,
+ a fast C FFI, an interface to the GNU
+ multiprecision library, and lots of useful
+ libraries.
+ .
+ This package provides sparc target libraries.
+

Added: mlton/trunk/package/debian/mlton-runtime-alpha-linux-gnu.install
===================================================================
--- mlton/trunk/package/debian/mlton-runtime-alpha-linux-gnu.install	2011-03-20 22:42:41 UTC (rev 7518)
+++ mlton/trunk/package/debian/mlton-runtime-alpha-linux-gnu.install	2011-03-21 18:55:23 UTC (rev 7519)
@@ -0,0 +1 @@
+usr/lib/mlton/targets/alpha-linux-gnu/*

Added: mlton/trunk/package/debian/mlton-runtime-arm-linux-gnueabi.install
===================================================================
--- mlton/trunk/package/debian/mlton-runtime-arm-linux-gnueabi.install	2011-03-20 22:42:41 UTC (rev 7518)
+++ mlton/trunk/package/debian/mlton-runtime-arm-linux-gnueabi.install	2011-03-21 18:55:23 UTC (rev 7519)
@@ -0,0 +1 @@
+usr/lib/mlton/targets/arm-linux-gnueabi/*

Added: mlton/trunk/package/debian/mlton-runtime-hppa-linux-gnu.install
===================================================================
--- mlton/trunk/package/debian/mlton-runtime-hppa-linux-gnu.install	2011-03-20 22:42:41 UTC (rev 7518)
+++ mlton/trunk/package/debian/mlton-runtime-hppa-linux-gnu.install	2011-03-21 18:55:23 UTC (rev 7519)
@@ -0,0 +1 @@
+usr/lib/mlton/targets/hppa-linux-gnu/*

Added: mlton/trunk/package/debian/mlton-runtime-i486-gnu.install
===================================================================
--- mlton/trunk/package/debian/mlton-runtime-i486-gnu.install	2011-03-20 22:42:41 UTC (rev 7518)
+++ mlton/trunk/package/debian/mlton-runtime-i486-gnu.install	2011-03-21 18:55:23 UTC (rev 7519)
@@ -0,0 +1 @@
+usr/lib/mlton/targets/i486-gnu/*

Added: mlton/trunk/package/debian/mlton-runtime-i486-kfreebsd-gnu.install
===================================================================
--- mlton/trunk/package/debian/mlton-runtime-i486-kfreebsd-gnu.install	2011-03-20 22:42:41 UTC (rev 7518)
+++ mlton/trunk/package/debian/mlton-runtime-i486-kfreebsd-gnu.install	2011-03-21 18:55:23 UTC (rev 7519)
@@ -0,0 +1 @@
+usr/lib/mlton/targets/i486-kfreebsd-gnu/*

Added: mlton/trunk/package/debian/mlton-runtime-i486-linux-gnu.install
===================================================================
--- mlton/trunk/package/debian/mlton-runtime-i486-linux-gnu.install	2011-03-20 22:42:41 UTC (rev 7518)
+++ mlton/trunk/package/debian/mlton-runtime-i486-linux-gnu.install	2011-03-21 18:55:23 UTC (rev 7519)
@@ -0,0 +1 @@
+usr/lib/mlton/targets/i486-linux-gnu/*

Added: mlton/trunk/package/debian/mlton-runtime-ia64-linux-gnu.install
===================================================================
--- mlton/trunk/package/debian/mlton-runtime-ia64-linux-gnu.install	2011-03-20 22:42:41 UTC (rev 7518)
+++ mlton/trunk/package/debian/mlton-runtime-ia64-linux-gnu.install	2011-03-21 18:55:23 UTC (rev 7519)
@@ -0,0 +1 @@
+usr/lib/mlton/targets/ia64-linux-gnu/*

Added: mlton/trunk/package/debian/mlton-runtime-mips-linux-gnu.install
===================================================================
--- mlton/trunk/package/debian/mlton-runtime-mips-linux-gnu.install	2011-03-20 22:42:41 UTC (rev 7518)
+++ mlton/trunk/package/debian/mlton-runtime-mips-linux-gnu.install	2011-03-21 18:55:23 UTC (rev 7519)
@@ -0,0 +1 @@
+usr/lib/mlton/targets/mips-linux-gnu/*

Added: mlton/trunk/package/debian/mlton-runtime-mipsel-linux-gnu.install
===================================================================
--- mlton/trunk/package/debian/mlton-runtime-mipsel-linux-gnu.install	2011-03-20 22:42:41 UTC (rev 7518)
+++ mlton/trunk/package/debian/mlton-runtime-mipsel-linux-gnu.install	2011-03-21 18:55:23 UTC (rev 7519)
@@ -0,0 +1 @@
+usr/lib/mlton/targets/mipsel-linux-gnu/*

Added: mlton/trunk/package/debian/mlton-runtime-powerpc-linux-gnu.install
===================================================================
--- mlton/trunk/package/debian/mlton-runtime-powerpc-linux-gnu.install	2011-03-20 22:42:41 UTC (rev 7518)
+++ mlton/trunk/package/debian/mlton-runtime-powerpc-linux-gnu.install	2011-03-21 18:55:23 UTC (rev 7519)
@@ -0,0 +1 @@
+usr/lib/mlton/targets/powerpc-linux-gnu/*

Added: mlton/trunk/package/debian/mlton-runtime-s390-linux-gnu.install
===================================================================
--- mlton/trunk/package/debian/mlton-runtime-s390-linux-gnu.install	2011-03-20 22:42:41 UTC (rev 7518)
+++ mlton/trunk/package/debian/mlton-runtime-s390-linux-gnu.install	2011-03-21 18:55:23 UTC (rev 7519)
@@ -0,0 +1 @@
+usr/lib/mlton/targets/s390-linux-gnu/*

Added: mlton/trunk/package/debian/mlton-runtime-x86-64-kfreebsd-gnu.install
===================================================================
--- mlton/trunk/package/debian/mlton-runtime-x86-64-kfreebsd-gnu.install	2011-03-20 22:42:41 UTC (rev 7518)
+++ mlton/trunk/package/debian/mlton-runtime-x86-64-kfreebsd-gnu.install	2011-03-21 18:55:23 UTC (rev 7519)
@@ -0,0 +1 @@
+usr/lib/mlton/targets/x86_64-kfreebsd-gnu/*

Added: mlton/trunk/package/debian/mlton-runtime-x86-64-linux-gnu.install
===================================================================
--- mlton/trunk/package/debian/mlton-runtime-x86-64-linux-gnu.install	2011-03-20 22:42:41 UTC (rev 7518)
+++ mlton/trunk/package/debian/mlton-runtime-x86-64-linux-gnu.install	2011-03-21 18:55:23 UTC (rev 7519)
@@ -0,0 +1 @@
+usr/lib/mlton/targets/x86_64-linux-gnu/*

Deleted: mlton/trunk/package/debian/mlton-runtime.install
===================================================================
--- mlton/trunk/package/debian/mlton-runtime.install	2011-03-20 22:42:41 UTC (rev 7518)
+++ mlton/trunk/package/debian/mlton-runtime.install	2011-03-21 18:55:23 UTC (rev 7519)
@@ -1 +0,0 @@
-usr/lib/mlton/targets/*-*




More information about the MLton-commit mailing list