libraries/libproxy: Updated for version 0.4.7.

Signed-off-by: Erik Hanson <erik@slackbuilds.org>
This commit is contained in:
Robby Workman 2012-02-20 00:56:42 -06:00 committed by Robby Workman
parent e39d57ecca
commit a6dbd4e4e9
4 changed files with 58 additions and 10 deletions

View file

@ -6,3 +6,5 @@ back to programming. GNOME? KDE? Command line? WPAD? PAC? Network
changed? It doesn't matter! Just ask libproxy what proxy to use: you
get simple code and your users get correct, consistant behavior and
broad infrastructure compatibility.
This requires mozjs185 and nspr.

View file

@ -2,7 +2,7 @@
# Slackware build script for libproxy
# Copyright 2009-2011 Robby Workman Northport, AL, USA
# Copyright 2009-2012 Robby Workman Northport, AL, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@ -23,8 +23,8 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=libproxy
VERSION=${VERSION:-0.4.6}
BUILD=${BUILD:-2}
VERSION=${VERSION:-0.4.7}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@ -69,9 +69,9 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
# http://code.google.com/p/libproxy/source/detail?r=797
# This patch brings the 4.6 (r753) code up to r797.
patch -p0 < $CWD/4.6-r797.patch
# 0.4.7 won't build against seamonkey's nss stuff, and the first commit in
# svn after that release disables its use in favor of nspr and js185
patch -p0 < $CWD/only_link_mozjs185.diff
cmake . \
-DCMAKE_C_FLAGS="$SLKCFLAGS" \

View file

@ -1,10 +1,10 @@
PRGNAM="libproxy"
VERSION="0.4.6"
VERSION="0.4.7"
HOMEPAGE="http://code.google.com/p/libproxy/"
DOWNLOAD="http://libproxy.googlecode.com/files/libproxy-0.4.6.tar.gz"
MD5SUM="199c6b120baf1f7258a55f38d5ec74f5"
DOWNLOAD="http://libproxy.googlecode.com/files/libproxy-0.4.7.tar.gz"
MD5SUM="509e03a488a61cd62bfbaf3ab6a2a7a5"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="Robby Workman"
EMAIL="rw@rlworkman.net"
APPROVED="dsomero"
APPROVED="Erik Hanson"

View file

@ -0,0 +1,46 @@
Index: libproxy/cmake/modules/pacrunner_mozjs.cmk
===================================================================
--- libproxy/cmake/modules/pacrunner_mozjs.cmk (revision 814)
+++ libproxy/cmake/modules/pacrunner_mozjs.cmk (revision 815)
@@ -7,19 +7,15 @@
include_directories("${MOZJS_INCLUDE_DIR}")
endif()
elseif(NOT APPLE)
- set(MOZJS_SEARCH_ORDER "mozilla-js;xulrunner-js;firefox-js;seamonkey-js" CACHE STRING "MozJS search order")
option(WITH_MOZJS "Search for MOZJS package" ON)
if (WITH_MOZJS)
- foreach(MOZJSLIB ${MOZJS_SEARCH_ORDER})
- pkg_search_module(MOZJS ${MOZJSLIB}>=2.0b12)
- if(MOZJS_FOUND)
- include_directories(${MOZJS_INCLUDE_DIRS})
- link_directories(${MOZJS_LIBRARY_DIRS})
- break()
- else()
- set(MOZJS_FOUND 0)
- endif()
- endforeach()
+ pkg_search_module(MOZJS mozjs185>=1.8.5)
+ if(MOZJS_FOUND)
+ include_directories(${MOZJS_INCLUDE_DIRS})
+ link_directories(${MOZJS_LIBRARY_DIRS})
+ else()
+ set(MOZJS_FOUND 0)
+ endif()
else()
set(MOZJS_FOUND 0)
endif()
Index: NEWS
===================================================================
--- NEWS (revision 814)
+++ NEWS (revision 815)
@@ -1,3 +1,10 @@
+New in version 0.4.8 (not yet released)
+==============================
+* Only support standalone mozjs185 as mozilla js engine.
+ xulrunner being part of the now lightning fast moving firefox
+ is impossible to be tracked as a dependency and it is not
+ supported by Mozilla to be used in this scenario.
+
New in version 0.4.7
==============================
* Support/require xulrunner 2.0+