Changes

From Amahi Wiki
Jump to: navigation, search
649 bytes added ,  08:34, 19 March 2010
Updated for update of deb
=Requirements=
You may want to have two different installations of Ubuntu.
* A development platform, running Ubuntu 9.04 Desktop 32 bit and/or 64 bit with the recommended development packages installed.
* An Amahi sandbox, running Ubuntu 9.04 Desktop 32 bit '''preferably''' under [http://www.virtualbox.org/ VirtualBox].
Please don't install the Amahi packages on the development platform as this might break your networking.
# Install Ubuntu 9.04 Desktop 32 bit.
# Install essential build toolchain.
## sudo aptitude apt-get update## sudo apt-get install build-essential
## sudo apt-get install devscripts
## sudo apt-get install debhelper
## sudo apt-get install fakeroot
## sudo apt-get install lintian
# Install git. # sudo aptitude install git-core
# Read [https://wiki.ubuntu.com/PackagingGuide/Complete Ubuntu packaging guide] to get an idea of other additional packages that you may want to install to create Ubuntu packages. I will list the packages to make your part easier at a later point.
On your development platform, download Amahi source code from our git repository. Follow these steps to build Ubuntu packages.
Update Changelog1. If you are repackaging for a new version Run dch -v with the version number currently in the makefile. Where you run the command depends on if you are changing hdactl or hda-platform. # cd deb/ubuntu/karmic/hdactl OR # Set AMAHI_DEB_MAINTAINER environment variable. cd deb/ubuntu/karmic/hda-platform  # export AMAHI_DEB_MAINTAINER="Full Name dch -v <you@domain.comversion number>" You need to have a GnuPG key created for Add the e-mail address changes that you use in this field. It will be used made to sign the packagesystem. You will be prompted If you are just updating for a new version state so.  If you are not changing the passphrase when version number run dch -a. Where you run the package is built in the later stagescommand depends on if you are changing hdactl or hda-platform. # cd deb/ubuntu/karmic/hdactl OR # cd deb/ubuntu/karmic/hda-platform  # dch -a##NOTE: If you are just building a .deb for your own testing you can just run make deb or continue to step 2.  2. To build hdactl package, change to 'platform/hdactl' directory and run 'make deb'.   # cd platform/hdactl # make deb   You will find the .deb file generated under platform/hdactl/release directory.# 3. To build hda-platform package, change to 'platform/platform' directory and run 'make deb'.   # cd platform/platform # make deb   You will find the .deb file generated under platform/platform/release directory.
=Architecture differences=
16

edits