savannah-hackers-public
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Savannah-hackers-public] Porting savane from PHP to Perl on version 3.1


From: socketpro
Subject: [Savannah-hackers-public] Porting savane from PHP to Perl on version 3.1-cleanup (penguindude24)
Date: Thu, 11 Sep 2014 08:41:16 -0400

UPDATE: I have completed a partial port for Savane to use a "pure" GNU 
Autotools build and install system.

This version of Savane is called 3.1-cleanup-rev2.

There are attachments in this email:
- Savane-Util-3.1.tar.gz ("attached")
- savane-3.1-cleanup.tar.gz (Had to split it into 395K chunks, and will send 
the file as numerous emails to the list)

The install guide INSTALL-ver3.1-cleanup-rev2 is complete and thorough. To 
install this revision of 3.1-cleanup, you will need:

- Savane-Util (this was the Perl distribution under lib/ in savane's srcdir). 
Should be included as an attachment in this e-mail.

- some Perl modules (complete list in INSTALL-ver3.1-cleanup-rev2 file)

Some things are not yet completed:
po/ directory is currently disabled. Thus the only language Savane currently 
supports in English. This will change over the next day or so after I put the 
po/ directory under autoconf and automake management.

A "rough" Changelog of the changes I made to savane-3.1-cleanup.tar.gz:

- updated the SQL files so they will work on modern MySQL implementations. It 
can work with the MySQL version (mysql-server-5.5) that ships with the current 
Debian Stable, codename "Wheezy".

- moved the Perl modules under lib/ into one distribution. It is called 
Savane::Util. No perl scripts in savane need to be updated to reflect the 
changes I made. backend/ scripts will run as normal--just set PERL5LIB if you 
installed modules somewhere other than /usr/local.

- I temporarily disabled the po/ directory. I wanted to get savane working 
before I put po/ directory under Autotools managemnt. Just leave out the LOCALE 
stuff when sv_update_conf(1) asks you questions about anything "locale". Things 
will proceed as normal but savane will only support Englist until I put the po/ 
directory in the proper place in teh build system.

- I had to edit some .php files (most of them under frontend/php/include) 
because the latest version of PHP no longer does "call time pass by reference." 
Which means that someFunction(&$parameter) is now illegal. 
someFunction($parameter), without the "&" is the current proper form.

- All Makefile.in.savane files were deleted. The new build system does not 
requrire them anymore. bootstrap, configure.sh, and configure.savane were also 
deleted. Savane works just as did before--much needless sh code and Makefile.am 
code was deleted.

- And of course, I had to update configure.ac, and most or all of the 
Makefile.am files.

- the GNU Build system has been modernised. AM_INIT_AUTOMAKE was being used to 
set the package name, rather than AM_INIT--the current implementation. AM_INIT 
now called like it is in GNU Autoconf manual.

- savane-3.1-cleanup-rev2 can run on Debian Stable "Wheezy". savane-3.1-cleanup 
can only run on Debian Old Stable out of the box, or "Squeeze".

Also, I left the .git directory in the source code directory, so you can get a 
more thorough idea of what was changed by running "git status".

Any Q's about the INSTALL hit me up: "taj" <beowulf21 AT yandex.com>.

Attachment: Savane-Util-3.01.tar.gz
Description: GNU Zip compressed data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]