History log of /haiku/build/scripts/build_haiku_package
Revision Date Author Comments
# db0b7d84 06-Sep-2021 Augustin Cavalier <waddlesplash@gmail.com>

build: Use $rmAttrs and $(RM) in more places instead of 'rm' directly.

Should not result in a functional change in most cases, but it might
on some systems without full xattrs or emulation.


# 159663ce 01-Aug-2013 Ingo Weinhold <ingo_weinhold@gmx.de>

Remove no longer needed HAIKU_STRIP_DEBUG_FROM_OPTIONAL_PACKAGES


# c01380b1 07-Jul-2013 Ingo Weinhold <ingo_weinhold@gmx.de>

Move package info pre-processing to jam build system

Also, pre-process all package infos (not only the generic ones) and
define the macro HAIKU_BOOTSTRAP_BUILD, if building a package for a
bootstrap image.


# 59e2e2f3 03-Jun-2013 Oliver Tappe <zooey@hirschkaefer.de>

Adjust handling of package infos.

* add HAIKU_PACKAGING_ARCH, which is set to the target packaging
architecture
* introduce support for generic package infos, which are package infos
that are the same for all architectures, except for the declaration
of the package architecture itself
* move package info files underneath architecture-specific or generic
folder


# fa962e60 31-May-2013 Ingo Weinhold <ingo_weinhold@gmx.de>

build_haiku_package: Print some progress info

Remove the output in extractFile(), though. The extracted packages are
so small that it doesn't matter anymore.


# ba96552b 31-May-2013 Ingo Weinhold <ingo_weinhold@gmx.de>

Support extracting archives to the packages we build

* BuildHaikuPackage rule: Create the script that contains the extraction
commands.
* build_haiku_package: Add extractFile() function (stripped down version
from build_haiku_image).

In build_haiku_image the functionality was mainly used to extract the
optional packages, which is no longer done. We still need it e.g. for
the Wifi firmware packages that want to be extracted.


# 06f5437c 18-May-2013 Ingo Weinhold <ingo_weinhold@gmx.de>

Add HAIKU_PACKAGE_COMPRESSION_LEVEL build variable

It allows to control the compression level used for package creation
and update. The default (9) is *very* slow, so developers may want to
use a smaller level during the regular development process to keep
turn-around times low.


# 518840e3 08-May-2013 Ingo Weinhold <ingo_weinhold@gmx.de>

Complete MIME related support for image/package creation

* Update MimeSet rule to use the MIME DB the build system creates.
* Add CreateAppMimeDBEntries rule and call it from Link for targets that
might be applications that need to be registered with the MIME DB. For
the target the rule is invoked with it creates a directory into which
the entries for the types to be registered are written. The directory
is associated with the target via the HAIKU_MIME_DB_ENTRIES variable.
* AddFilesToContainer: If a target is added that has MIME DB entries,
also add those to the container.
* build_haiku_package: Call mimeset for the package contents.


# 161d45fe 03-Jul-2011 Ingo Weinhold <ingo_weinhold@gmx.de>

Support for package "update" build profile action

* Add global HAIKU_PACKAGES_UPDATE_ONLY build system variable, which is
set for the "update" and "update-all" build profile actions.
* Change the HAIKU_INCLUDE_IN_CONTAINER_VAR variable on packages to
HAIKU_INCLUDE_IN_PACKAGES for all packages. The variable is also
set for the "update" and "update-all" build profile actions.
* Introduce HAIKU_CONTAINER_INHERIT_UPDATE_VARIABLE on container
variable. If set, the contained variable will be set on the container
when one or more files in it are updated. It is set on packages so an
update of a file in a package causes the package to be updated in the
image.
* Introduce HAIKU_CONTAINER_ALWAYS_CREATE_DIRECTORIES on container
variable. If set, directories will be created also in update mode. It
is set on packages.


# 32081667 30-Jun-2011 Ingo Weinhold <ingo_weinhold@gmx.de>

Make use of package create -i option


# 355b8ba7 17-Jun-2011 Ingo Weinhold <ingo_weinhold@gmx.de>

Build a system Haiku package

* Create rules (build/jam/PackageRules) and a script,
build_haiku_package, to build hpkg files.
* Move all rule invocations that copy files and created symlinks and
directories in the "system" directory from HaikuImage to
HaikuPackages, which creates a package "haiku.hpkg".
* build_haiku_image: Comment out adding the copyrights info to
AboutSystem for the moment.


# 159663cebabbc8dcd94c2f64f110ca2536cf24fc 01-Aug-2013 Ingo Weinhold <ingo_weinhold@gmx.de>

Remove no longer needed HAIKU_STRIP_DEBUG_FROM_OPTIONAL_PACKAGES


# c01380b1b7e3c6ac4d27c73dd1b2dee290cb8b5e 07-Jul-2013 Ingo Weinhold <ingo_weinhold@gmx.de>

Move package info pre-processing to jam build system

Also, pre-process all package infos (not only the generic ones) and
define the macro HAIKU_BOOTSTRAP_BUILD, if building a package for a
bootstrap image.


# 59e2e2f3a7a7deb5f68a552c5327e54949ed0e80 03-Jun-2013 Oliver Tappe <zooey@hirschkaefer.de>

Adjust handling of package infos.

* add HAIKU_PACKAGING_ARCH, which is set to the target packaging
architecture
* introduce support for generic package infos, which are package infos
that are the same for all architectures, except for the declaration
of the package architecture itself
* move package info files underneath architecture-specific or generic
folder


# fa962e60082cdf103ebeaee07869749cdddee828 31-May-2013 Ingo Weinhold <ingo_weinhold@gmx.de>

build_haiku_package: Print some progress info

Remove the output in extractFile(), though. The extracted packages are
so small that it doesn't matter anymore.


# ba96552b6a796adbc66613492d4b6658b2e8ce16 31-May-2013 Ingo Weinhold <ingo_weinhold@gmx.de>

Support extracting archives to the packages we build

* BuildHaikuPackage rule: Create the script that contains the extraction
commands.
* build_haiku_package: Add extractFile() function (stripped down version
from build_haiku_image).

In build_haiku_image the functionality was mainly used to extract the
optional packages, which is no longer done. We still need it e.g. for
the Wifi firmware packages that want to be extracted.


# 06f5437c21c0c849d0cbd16a2a7444182c50ba01 18-May-2013 Ingo Weinhold <ingo_weinhold@gmx.de>

Add HAIKU_PACKAGE_COMPRESSION_LEVEL build variable

It allows to control the compression level used for package creation
and update. The default (9) is *very* slow, so developers may want to
use a smaller level during the regular development process to keep
turn-around times low.


# 518840e305b44986a28aff2db042a932bf2fd650 08-May-2013 Ingo Weinhold <ingo_weinhold@gmx.de>

Complete MIME related support for image/package creation

* Update MimeSet rule to use the MIME DB the build system creates.
* Add CreateAppMimeDBEntries rule and call it from Link for targets that
might be applications that need to be registered with the MIME DB. For
the target the rule is invoked with it creates a directory into which
the entries for the types to be registered are written. The directory
is associated with the target via the HAIKU_MIME_DB_ENTRIES variable.
* AddFilesToContainer: If a target is added that has MIME DB entries,
also add those to the container.
* build_haiku_package: Call mimeset for the package contents.


# 161d45feb55fde0e00e3e065ddd800529bdd1074 03-Jul-2011 Ingo Weinhold <ingo_weinhold@gmx.de>

Support for package "update" build profile action

* Add global HAIKU_PACKAGES_UPDATE_ONLY build system variable, which is
set for the "update" and "update-all" build profile actions.
* Change the HAIKU_INCLUDE_IN_CONTAINER_VAR variable on packages to
HAIKU_INCLUDE_IN_PACKAGES for all packages. The variable is also
set for the "update" and "update-all" build profile actions.
* Introduce HAIKU_CONTAINER_INHERIT_UPDATE_VARIABLE on container
variable. If set, the contained variable will be set on the container
when one or more files in it are updated. It is set on packages so an
update of a file in a package causes the package to be updated in the
image.
* Introduce HAIKU_CONTAINER_ALWAYS_CREATE_DIRECTORIES on container
variable. If set, directories will be created also in update mode. It
is set on packages.


# 32081667b118ca5603e9036ad18ef8161c34386a 30-Jun-2011 Ingo Weinhold <ingo_weinhold@gmx.de>

Make use of package create -i option


# 355b8ba7553a58e35406084ea875f8f3f519a12b 17-Jun-2011 Ingo Weinhold <ingo_weinhold@gmx.de>

Build a system Haiku package

* Create rules (build/jam/PackageRules) and a script,
build_haiku_package, to build hpkg files.
* Move all rule invocations that copy files and created symlinks and
directories in the "system" directory from HaikuImage to
HaikuPackages, which creates a package "haiku.hpkg".
* build_haiku_image: Comment out adding the copyrights info to
AboutSystem for the moment.