cvs: embed /php-irssi Makefile.am README irssi.diff /php-irssi/examples .cvsignore Makefile.am rotator.php
[email protected] ("Wez Furlong") Wed, 02 Apr 2003 13:02:09 -0000
| Newsgroups | php.embed.cvs |
|---|---|
| Message-ID | <cvswez1049288529@cvsserver> |
wez Wed Apr 2 08:02:09 2003 EDT
Added files:
/embed/php-irssi/examples .cvsignore Makefile.am
Modified files:
/embed/php-irssi Makefile.am README irssi.diff
/embed/php-irssi/examples rotator.php
Log:
Install example scripts in {prefix}share/irssi/scripts
** You will need to re-patch irssi configure for this to work **
cd irssi
cvs up -C configure.in src/Makefile.am
patch -p0 < src/php-irssi/irssi.diff
Index: embed/php-irssi/Makefile.am
diff -u embed/php-irssi/Makefile.am:1.8 embed/php-irssi/Makefile.am:1.9
--- embed/php-irssi/Makefile.am:1.8 Wed Apr 2 05:35:04 2003
+++ embed/php-irssi/Makefile.am Wed Apr 2 08:02:09 2003
@@ -1,7 +1,7 @@
moduledir = $(libdir)/irssi/modules
-php_dirs =
+SUBDIRS = examples
module_LTLIBRARIES = libphp_core.la
Index: embed/php-irssi/README
diff -u embed/php-irssi/README:1.12 embed/php-irssi/README:1.13
--- embed/php-irssi/README:1.12 Tue Apr 1 08:43:21 2003
+++ embed/php-irssi/README Wed Apr 2 08:02:09 2003
@@ -1,6 +1,6 @@
README
-----------------------------------------------------------------------
-$Id: README,v 1.12 2003/04/01 13:43:21 bs Exp $
+$Id: README,v 1.13 2003/04/02 13:02:09 wez Exp $
HOWTO:
@@ -13,6 +13,7 @@
% ./buildconf
% ./configure --prefix=/usr/local/php5 --enable-embed
% make install
+ % cd ..
2. Get IRSSI and php-irssi, patch and build
Index: embed/php-irssi/irssi.diff
diff -u embed/php-irssi/irssi.diff:1.4 embed/php-irssi/irssi.diff:1.5
--- embed/php-irssi/irssi.diff:1.4 Mon Mar 3 12:08:54 2003
+++ embed/php-irssi/irssi.diff Wed Apr 2 08:02:09 2003
@@ -4,7 +4,7 @@
retrieving revision 1.238
diff -u -p -r1.238 configure.in
--- configure.in 25 Jan 2003 03:19:40 -0000 1.238
-+++ configure.in 3 Mar 2003 17:08:12 -0000
++++ configure.in 2 Apr 2003 12:58:54 -0000
@@ -196,6 +196,9 @@ AC_ARG_WITH(perl,
fi,
want_perl=static)
@@ -15,15 +15,16 @@
AC_ARG_WITH(file-offset-size,
[ --with-file-offset-size=BITS Set size of file offsets. Usually 32 or 64.
(default: 64 if available)],
-@@ -946,6 +949,7 @@ src/perl/common/Makefile.PL
+@@ -946,6 +949,8 @@ src/perl/common/Makefile.PL
src/perl/irc/Makefile.PL
src/perl/ui/Makefile.PL
src/perl/textui/Makefile.PL
+src/php-irssi/Makefile
++src/php-irssi/examples/Makefile
scripts/Makefile
scripts/examples/Makefile
docs/Makefile
-@@ -1039,6 +1043,7 @@ echo "Install prefix ...................
+@@ -1039,6 +1044,7 @@ echo "Install prefix ...................
echo
echo "Building with IPv6 support ....... : $want_ipv6"
@@ -37,7 +38,7 @@
retrieving revision 1.13
diff -u -p -r1.13 Makefile.am
--- src/Makefile.am 17 May 2001 20:13:57 -0000 1.13
-+++ src/Makefile.am 3 Mar 2003 17:08:12 -0000
++++ src/Makefile.am 2 Apr 2003 12:58:54 -0000
@@ -10,7 +10,11 @@ if HAVE_PERL
PERLDIR=perl
endif
Index: embed/php-irssi/examples/rotator.php
diff -u embed/php-irssi/examples/rotator.php:1.2 embed/php-irssi/examples/rotator.php:1.3
--- embed/php-irssi/examples/rotator.php:1.2 Wed Apr 2 05:50:06 2003
+++ embed/php-irssi/examples/rotator.php Wed Apr 2 08:02:09 2003
@@ -1,5 +1,5 @@
<?php
-/* $Id: rotator.php,v 1.2 2003/04/02 10:50:06 wez Exp $
+/* $Id: rotator.php,v 1.3 2003/04/02 13:02:09 wez Exp $
* Rotator displays a small statusbar item to show that irssi is still running.
*
* Usage:
@@ -31,6 +31,7 @@
function draw_bar($item, $get_size_only)
{
$item->min_size = $this->width;
+ $item->max_size = $this->width;
$item->default_handler($get_size_only, '{sb ' . $this->display . '}', '', true);
}
Index: embed/php-irssi/examples/.cvsignore
+++ embed/php-irssi/examples/.cvsignore
*.swp
deps
libs
Makefile
Makefile.in
*.lo
*.o
*.la
Index: embed/php-irssi/examples/Makefile.am
+++ embed/php-irssi/examples/Makefile.am
scriptdir = $(datadir)/irssi/scripts
script_DATA = \
autoop.php rotator.php linkchan.php command.php timeout.php users.php
EXTRA_DIST = $(script_DATA)