OpenPKG CVS Repository
http://cvs.openpkg.org/
____________________________________________________________________________
Server: cvs.openpkg.org Name: Ralf S. Engelschall
Root: /v/openpkg/cvs Email: [EMAIL PROTECTED]
Module: openpkg-src Date: 05-Jun-2007 20:01:43
Branch: HEAD Handle: 2007060519014300
Modified files:
openpkg-src/links links.patch links.spec
Log:
fix JavaScript building and fix dependencies, too
Summary:
Revision Changes Path
1.2 +19 -6 openpkg-src/links/links.patch
1.51 +7 -4 openpkg-src/links/links.spec
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-src/links/links.patch
============================================================================
$ cvs diff -u -r1.1 -r1.2 links.patch
--- openpkg-src/links/links.patch 24 Aug 2005 18:46:24 -0000 1.1
+++ openpkg-src/links/links.patch 5 Jun 2007 18:01:43 -0000 1.2
@@ -1,19 +1,32 @@
-Index: view.c
---- view.c.orig 2005-08-03 08:51:06 +0200
-+++ view.c 2005-08-24 20:44:47 +0200
-@@ -2973,6 +2973,7 @@
+Index: session.c
+--- session.c.orig 2007-04-10 20:21:21 +0200
++++ session.c 2007-06-05 19:54:14 +0200
+@@ -2420,7 +2420,9 @@
+ ses->defered_target = stracpy(target);
+ ses->defered_target_base = df;
+ ses->defered_data = data;
++#ifdef JS
+ ses->defered_seq = jsint_execute_seq++;
++#endif
+ return;
}
+ pos = extract_position(u);
+Index: view.c
+--- view.c.orig 2006-11-08 17:13:24 +0100
++++ view.c 2007-06-05 19:53:30 +0200
+@@ -3210,6 +3210,7 @@
+ #ifdef JS
if (!event_catchable(ev) || !fd->f_data || !fd->vs) goto dont_catch;
+#ifdef JS
if (fd->vs->current_link >= 0 && fd->vs->current_link <
fd->f_data->nlinks) {
struct link *l = &fd->f_data->links[fd->vs->current_link];
if (ev->b < EVH_LINK_KEYDOWN_PROCESSED && l->js_event &&
l->js_event->keydown_code) {
-@@ -2992,6 +2993,7 @@
+@@ -3229,6 +3230,7 @@
ev->b = EVH_DOCUMENT_KEYPRESS_PROCESSED;
if (!(call_keyboard_event(fd,
fd->f_data->js_event->keypress_code, ev))) return 1;
}
+#endif
dont_catch:
+ #endif
- if (!F) r = frame_ev(ses, fd, ev);
@@ .
patch -p0 <<'@@ .'
Index: openpkg-src/links/links.spec
============================================================================
$ cvs diff -u -r1.50 -r1.51 links.spec
--- openpkg-src/links/links.spec 12 Apr 2007 07:42:47 -0000 1.50
+++ openpkg-src/links/links.spec 5 Jun 2007 18:01:43 -0000 1.51
@@ -33,7 +33,7 @@
Group: Web
License: BSD
Version: 2.1pre28
-Release: 20070412
+Release: 20070605
# list of sources
Source0: http://links.twibright.com/download/links-%{version}.tar.gz
@@ -44,8 +44,8 @@
BuildRoot: %{l_buildroot}
BuildPreReq: OpenPKG, openpkg >= 20040130
PreReq: OpenPKG, openpkg >= 20040130
-BuildPreReq: openssl
-PreReq: openssl
+BuildPreReq: openssl, pcre, bzip2, zlib
+PreReq: openssl, pcre, bzip2, zlib
AutoReq: no
AutoReqProv: no
@@ -74,7 +74,10 @@
./configure \
--prefix=%{l_prefix} \
--sysconfdir=%{l_prefix}/etc/links \
- --with-ssl=%{l_prefix}
+ --enable-javascript \
+ --with-ssl=%{l_prefix} \
+ --without-bzip2 \
+ --without-zlib
%{l_make} %{l_mflags -O}
%install
@@ .
______________________________________________________________________
OpenPKG http://openpkg.org
CVS Repository Commit List [email protected]