Menu

Tree [r681] / branches / jostb-debian-ubuntu-patch / php-java-bridge / debian /
 History

HTTPS access


File Date Author Commit
 patches 2007-03-20 andremachado [r498] New upstream 4.0.2 version. Included some new d...
 Makefile.frag 2007-03-20 andremachado [r497] inclusion for easy checkout
 README.Debian 2007-04-09 andremachado [r530] New debian 4.0.8-1 package version
 changelog 2007-04-09 andremachado [r529] New debian 4.0.8-1 package version
 compat 2006-12-05 andremachado [r472] initial version
 control 2007-04-10 jost_boekemeier [r536] debian->ubuntu patch
 copyright 2006-12-05 andremachado [r472] initial version
 dirs 2006-12-11 andremachado [r482] cleaning rules using dh_install for .ini and .w...
 docs 2007-04-03 andremachado [r520] split in multiple debian packages.
 php-java-bridge-devel.docs 2007-04-10 jost_boekemeier [r536] debian->ubuntu patch
 php-java-bridge-devel.examples 2007-04-03 andremachado [r521] creation of debian devel package
 php-java-bridge-docs.docs 2007-04-03 andremachado [r520] split in multiple debian packages.
 php-java-bridge-j2ee-docs.docs 2007-04-03 andremachado [r520] split in multiple debian packages.
 php-java-bridge-j2ee.dirs 2007-04-03 andremachado [r520] split in multiple debian packages.
 php-java-bridge-j2ee.docs 2007-04-03 andremachado [r520] split in multiple debian packages.
 php-java-bridge-j2ee.install 2007-04-03 andremachado [r520] split in multiple debian packages.
 php-java-bridge.examples 2006-12-08 andremachado [r477] clean examples packaging
 postinst 2007-04-10 jost_boekemeier [r536] debian->ubuntu patch
 postrm 2007-04-10 jost_boekemeier [r536] debian->ubuntu patch
 rules 2007-04-10 jost_boekemeier [r536] debian->ubuntu patch

Read Me

php-java-bridge for Debian
--------------------------

This Debian package was compiled for installing php5 C modules, j2ee server, docs and development files using separated packages.
Also, it must use Sun Java 5, as of today.
You do not need C implemantation and php J2EE server versions simultaneously.
If you use php4, you will have to adjust the /debian/control for your needs and rebuild binary packages.
Use the command 
debuild -rfakeroot -uc -us
Compilation against GCJ is possible, but some tweaks must be done. Read the other document files.


1. Creating and Building Debian package directly from CVS
Most steps are only needed if you will commit a new version to the repository.
If you want only to build an already commited version, you will need only create a local working area (checkout module) as anonymous cvs user and then jump to the step "building the package".

1.1 Creating package 

1.1.1 Create your local project area (checkout module). 
See http://sourceforge.net/cvs/?group_id=117793
The commands below are suitable for cvs commiters. Use your sourceforge cvs username. 
If you are only building the package, use anonymous cvs checkout as instructed in the URL. 

mkdir ~/compilation
cd ~/compilation
export CVS_RSH=ssh
cvs -d:ext:your_sourcefoge_cvs_username@php-java-bridge.cvs.sourceforge.net:/cvsroot/php-java-bridge checkout php-java-bridge

Now you should have your own local area (checked out module) in ~/compilation/php-java-bridge
If you are only building the package, jump to the step 2.

1.1.1.1 If you are trying to merge a downloaded and then expanded src.tgz into the cvs tree, use the command below, adapting it to the suitable version.

cp --recursive --update --verbose --archive --preserve php-java-bridge-4.0.8/*  --target-directory=php-java-bridge

1.1.2 Commit the (eventual) changes to the repository. Ideally, you will not to do this, if step 1.1.1.1 is not needed.

1.1.3 Create an upstream tag. The formating is very strict. Adapt to the suitable version.
cd ~/compilation/php-java-bridge
cvs -f tag 'upstream_version_4_0_8' '.'

1.1.4 Create or edit the Debian php-java-bridge specific patches.
cd ~/compilation/php-java-bridge

dpatch-edit-patch patch 10_MakefileFrag_patch

Copy around from a personal template or edit the  Makefile.frag into the ./debian directory.
Exit dpatch shell. 
All your modifications were being recorded and will result in the defined patch file name into the ./debian/patches directory.

1.1.5 Modify the Debian changelog in the correct way. It is very important to follow the strict formating, as the Debian changelog is actualy used as one of the package control files.
debchange -v 4.0.8-1

1.1.6 Modify some other */debian files, if needed.

1.1.7 Commit all changes.

1.1.8 Create the Debian version tag. The formating is very strict. Adapt to the suitable version.
cd ~/compilation/php-java-bridge
cvs -f tag 'debian_version_4_0_8-1' '.'


2. Building the package from cvs tree.
If you are only building the package, you could use the anonymous cvs pserver login and checkout as explained in previous item.
mkdir ~/compilation_tmp
cd ~/compilation/php-java-bridge

Hint: You need to specify the absolute path to the temporary scratchpad working area instead of ~/.

cvs-buildpackage  -rfakeroot -uc -us -R. -W/home/andremachado/compilation_tmp

The generated files will result at the specified temporary scratchpad working area.







 -- Andre Felipe Machado <af-machado@uol.com.br>  Tue, 09 Apr 2007 09:25:26 -0300
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.