[svn:parrot] r37585 - trunk/ports/debian

allison at svn.parrot.org allison at svn.parrot.org
Thu Mar 19 06:27:48 UTC 2009


Author: allison
Date: Thu Mar 19 06:27:48 2009
New Revision: 37585
URL: https://trac.parrot.org/parrot/changeset/37585

Log:
[debian] Rework the Parrot packages for 1.0 installation expectations.

Added:
   trunk/ports/debian/parrot-devel.install.in
   trunk/ports/debian/parrot-minimal.install.in
Deleted:
   trunk/ports/debian/parrot-doc.docs
Modified:
   trunk/ports/debian/control.in
   trunk/ports/debian/libparrot-dev.install.in
   trunk/ports/debian/parrot-doc.install.in
   trunk/ports/debian/parrot.install.in
   trunk/ports/debian/rules

Modified: trunk/ports/debian/control.in
==============================================================================
--- trunk/ports/debian/control.in	Thu Mar 19 06:04:42 2009	(r37584)
+++ trunk/ports/debian/control.in	Thu Mar 19 06:27:48 2009	(r37585)
@@ -8,14 +8,22 @@
 
 Package: parrot
 Architecture: any
-Depends: ${shlibs:Depends}
+Depends: parrot-minimal (= ${binary:Version})
 Suggests: parrot-doc
-Recommends: perl
-Description: Virtual machine for dynamic languages
+Provides: parrot-test, parrot-data-dumper
+Description: A virtual machine for dynamic languages
  Parrot is a bytecode-based virtual machine designed for dynamic languages.
  Parrot hosts a variety of language implementations, including Tcl, Javascript,
  Ruby, Lua, Scheme, PHP, Python, Perl 6, and a .NET bytecode translator.
 
+Package: parrot-minimal
+Architecture: any
+Depends: ${shlibs:Depends}
+Description: A minimal install of the Parrot VM
+ This package contains the core Parrot interpreter. It's all that you need to
+ get up and running in the average use case, and is sufficient to run most
+ language implementations.
+
 Package: libparrot at SOVERSION@
 Architecture: any
 Section: libs
@@ -31,7 +39,8 @@
 Section: libdevel
 Depends: libparrot at SOVERSION@ (= ${binary:Version}), parrot
 Description: Parrot shared library development files
- This package contains files needed to develop applications which embed Parrot.
+ This package contains header files and a static library, needed to develop
+ applications which embed Parrot.
 
 Package: parrot-doc
 Architecture: all
@@ -41,3 +50,12 @@
  Parrot manual pages and raw Pod documentation. If you are developing a
  compiler or extensions for Parrot, you will need this. If you're only using a
  Parrot hosted language, the language-specific documentation is sufficient.
+
+Package: parrot-devel
+Architecture: any
+Depends: parrot, perl
+Provides: parrot-pge, parrot-tge, parrot-pct, parrot-nqp
+Description: Parrot development tools
+ This package contains development tools for the Parrot virtual machine. It is
+ essential for developing language implementations to run on Parrot, but not
+ needed for running languages once they've been installed.

Modified: trunk/ports/debian/libparrot-dev.install.in
==============================================================================
--- trunk/ports/debian/libparrot-dev.install.in	Thu Mar 19 06:04:42 2009	(r37584)
+++ trunk/ports/debian/libparrot-dev.install.in	Thu Mar 19 06:27:48 2009	(r37585)
@@ -1,3 +1,3 @@
-usr/include/*
+usr/include/parrot/@VERSION@/parrot/*
 usr/lib/libparrot.a
-usr/lib/pkgconfig/parrot/*
+usr/lib/pkgconfig/parrot/@VERSION@/parrot.pc

Added: trunk/ports/debian/parrot-devel.install.in
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ trunk/ports/debian/parrot-devel.install.in	Thu Mar 19 06:27:48 2009	(r37585)
@@ -0,0 +1,20 @@
+usr/bin/parrot_debugger
+usr/bin/pbc_disassemble
+usr/bin/pbc_dump
+usr/bin/pbc_info
+usr/bin/pbc_merge
+usr/bin/pbc_to_exe
+usr/bin/parrot_config
+usr/lib/parrot/@VERSION@/tools/*
+usr/lib/parrot/@VERSION@/languages/nqp/*
+usr/lib/parrot/@VERSION@/languages/pct/*
+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/Protoobject.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/include/parrot/@VERSION@/pmc/*

Deleted: trunk/ports/debian/parrot-doc.docs
==============================================================================
--- trunk/ports/debian/parrot-doc.docs	Thu Mar 19 06:27:48 2009	(r37584)
+++ /dev/null	00:00:00 1970	(deleted)
@@ -1,120 +0,0 @@
-docs/tests.pod
-docs/gettingstarted.pod
-docs/porting_intro.pod
-docs/dev/infant.pod
-docs/dev/events.pod
-docs/dev/pcc_state.pod
-docs/dev/fhs.pod
-docs/dev/longopt.pod
-docs/dev/jit_i386.pod
-docs/dev/byteorder.pod
-docs/dev/pmc_freeze.pod
-docs/dev/pmc_obj_design_meeting_notes.pod
-docs/dev/parrot_api.pod
-docs/dev/optimizer.pod
-docs/dev/debugging_with_msvc.pod
-docs/dev/headerizer.pod
-docs/dev/pccmethods.pod
-docs/dev/c_functions.pod
-docs/parrotbyte.pod
-docs/pdds/pdd15_objects.pod
-docs/pdds/pdd17_pmc.pod
-docs/pdds/pdd09_gc.pod
-docs/pdds/pdd27_multiple_dispatch.pod
-docs/pdds/pdd28_strings.pod
-docs/pdds/pdd22_io.pod
-docs/pdds/pdd00_pdd.pod
-docs/pdds/pdd21_namespaces.pod
-docs/pdds/draft/pdd10_embedding.pod
-docs/pdds/draft/pdd29_compiler_tools.pod
-docs/pdds/draft/pdd31_hll_interop.pod
-docs/pdds/draft/pdd05_opfunc.pod
-docs/pdds/draft/pdd01_overview.pod
-docs/pdds/draft/pdd11_extending.pod
-docs/pdds/draft/pdd08_keys.pod
-docs/pdds/draft/pdd06_pasm.pod
-docs/pdds/draft/pdd14_numbers.pod
-docs/pdds/draft/pdd16_native_call.pod
-docs/pdds/draft/pdd30_install.pod
-docs/pdds/pdd18_security.pod
-docs/pdds/pdd07_codingstd.pod
-docs/pdds/pdd03_calling_conventions.pod
-docs/pdds/pdd20_lexical_vars.pod
-docs/pdds/pdd26_ast.pod
-docs/pdds/pdd19_pir.pod
-docs/pdds/pdd_template.pod
-docs/pdds/pdd23_exceptions.pod
-docs/pdds/pdd24_events.pod
-docs/pdds/pdd15_object_metamodel.svg
-docs/pdds/pdd13_bytecode.pod
-docs/pdds/pdd25_concurrency.pod
-docs/pdds/pdd15_object_metamodel.png
-docs/user/pir/objects.pod
-docs/user/pir/pmcs.pod
-docs/user/pir/intro.pod
-docs/user/pir/exceptions.pod
-docs/multidispatch.pod
-docs/resources/favicon.ico
-docs/resources/parrot_logo.png
-docs/resources/parrot.css
-docs/resources/up.gif
-docs/vtables.pod
-docs/native_exec.pod
-docs/embed.pod
-docs/intro.pod
-docs/imcc/imcfaq.pod
-docs/imcc/operation.pod
-docs/imcc/README
-docs/debugger.pod
-docs/pmc.pod
-docs/project/release_manager_guide.pod
-docs/project/cage_cleaners_guide.pod
-docs/project/pause_guide.pod
-docs/project/ticket_triaging.pod
-docs/project/branching_guide.pod
-docs/project/metacommitter_guide.pod
-docs/project/committer_guide.pod
-docs/project/support_policy.pod
-docs/project/debian_packaging_guide.pod
-docs/project/ubuntu_packaging_guide.pod
-docs/project/roles_responsibilities.pod
-docs/faq.pod
-docs/configuration.pod
-docs/compiler_faq.pod
-docs/pct/gettingstarted.pod
-docs/pct/pct_optable_guide.pod
-docs/pct/past_building_blocks.pod
-docs/jit.pod
-docs/extend.pod
-docs/pmc2c.pod
-docs/glossary.pod
-docs/req/model_users.pod
-docs/stability.pod
-docs/overview.pod
-docs/parrothist.pod
-docs/running.pod
-docs/pmc/struct.pod
-docs/pmc/documentation.pod
-docs/pmc/array.pod
-docs/pmc/subs.pod
-docs/book/ch10_hlls.pod
-docs/book/ch03_pir_basics.pod
-docs/book/ch12_opcodes.pod
-docs/book/ch02_getting_started.pod
-docs/book/ch07_testing_and_debugging.pod
-docs/book/ch13_reference.pod
-docs/book/ch08_architecture.pod
-docs/book/ch09_pct.pod
-docs/book/ch11_pmcs.pod
-docs/book/ch06_library.pod
-docs/book/ch04_pir_subroutines.pod
-docs/book/figs/p6e_0801.png
-docs/book/ch01_overview.pod
-docs/book/ch05_pasm.pod
-docs/book/README
-docs/book/appX_patch_submission.pod
-docs/memory_internals.pod
-docs/submissions.pod
-docs/debug.pod
-docs/parrot.pod
-docs/optable.pod

Modified: trunk/ports/debian/parrot-doc.install.in
==============================================================================
--- trunk/ports/debian/parrot-doc.install.in	Thu Mar 19 06:04:42 2009	(r37584)
+++ trunk/ports/debian/parrot-doc.install.in	Thu Mar 19 06:27:48 2009	(r37585)
@@ -1 +1 @@
-usr/share/doc/parrot/*
+usr/share/doc/parrot/@VERSION@/pod/*

Added: trunk/ports/debian/parrot-minimal.install.in
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ trunk/ports/debian/parrot-minimal.install.in	Thu Mar 19 06:27:48 2009	(r37585)
@@ -0,0 +1 @@
+usr/bin/parrot

Modified: trunk/ports/debian/parrot.install.in
==============================================================================
--- trunk/ports/debian/parrot.install.in	Thu Mar 19 06:04:42 2009	(r37584)
+++ trunk/ports/debian/parrot.install.in	Thu Mar 19 06:27:48 2009	(r37585)
@@ -1,6 +1,6 @@
-usr/bin/parrot
-usr/bin/pbc_disassemble
-usr/bin/pbc_dump
-usr/bin/pbc_info
-usr/bin/pbc_merge
-usr/lib/parrot/*
+usr/lib/parrot/@VERSION@/include/*
+usr/lib/parrot/@VERSION@/dynext/*
+usr/lib/parrot/@VERSION@/library/Test/*
+usr/lib/parrot/@VERSION@/library/Data/*
+usr/lib/parrot/@VERSION@/library/dumper.pir
+usr/lib/parrot/@VERSION@/library/dumper.pbc

Modified: trunk/ports/debian/rules
==============================================================================
--- trunk/ports/debian/rules	Thu Mar 19 06:04:42 2009	(r37584)
+++ trunk/ports/debian/rules	Thu Mar 19 06:27:48 2009	(r37585)
@@ -13,7 +13,9 @@
 CONTROL_FILES = \
   debian/control.in \
   debian/parrot.install.in \
+  debian/parrot-minimal.install.in \
   debian/parrot-doc.install.in \
+  debian/parrot-devel.install.in \
   debian/libparrot-dev.install.in
 
 debian-control-stamp: $(CONTROL_FILES) VERSION
@@ -48,7 +50,7 @@
 clean:
 	dh_testdir
 	dh_testroot
-	rm -f build-stamp configure-stamp debian/parrot.1 debian/parrot_config.1 debian/pbc_dump.1 debian/pbc_disassemble.1 debian/parrot-debugger.1 debian/pbc_info.1 debian/pbc_merge.1 debian/libparrot$(SOVERSION).install src/nci_test.o src/main.o ext/Parrot-Embed/Makefile.PL languages/PIR/Makefile languages/perl5/Makefile languages/pynie/Makefile runtime/parrot/include/signal.pasm test.c test.ldo
+	rm -f build-stamp configure-stamp debian/parrot.1 debian/parrot_config.1 debian/pbc_dump.1 debian/pbc_disassemble.1 debian/parrot-debugger.1 debian/pbc_info.1 debian/pbc_merge.1 debian/libparrot$(SOVERSION).install src/main.o ext/Parrot-Embed/Makefile.PL test.c test.ldo
 	[ ! -f Makefile ] || $(MAKE) distclean
 	dh_clean 
 
@@ -63,9 +65,6 @@
 	dh_installdirs
 	find $(CURDIR)/debian/tmp -type f
 	dh_install --sourcedir=$(CURDIR)/debian/tmp --list-missing
-	install -m755 $(CURDIR)/debian/tmp/usr/bin/parrot_debugger $(CURDIR)/debian/parrot/usr/bin/parrot-debugger
-	install -m644 src/null_config.o $(CURDIR)/debian/libparrot-dev/usr/lib/parrot/config
-	install -m644 src/parrot_config.o $(CURDIR)/debian/libparrot-dev/usr/lib/parrot/config
 
 
 # Build architecture-independent files here.


More information about the parrot-commits mailing list