js38.guncellendi
This commit is contained in:
parent
b99ab0362f
commit
c30471cf11
|
@ -980,6 +980,8 @@ mount_islemi(){
|
|||
mount -v -B /dev $LFS/dev
|
||||
mount -vt devpts devpts $LFS/dev/pts
|
||||
mount -vt proc proc $LFS/proc
|
||||
#bazı durumlarda bu kullanılacak tty değilde pty i kullanan derlemelerde
|
||||
#mount --bind /dev/pts $LFS/dev/pts
|
||||
mount -vt sysfs sysfs $LFS/sys
|
||||
if [ -h /dev/shm ]; then rm -f $LFS/dev/shm;mkdir $LFS/dev/shm;fi
|
||||
mount -vt tmpfs shm $LFS/dev/shm
|
||||
|
|
|
@ -1,16 +0,0 @@
|
|||
Add bracket for sed 4.3 compliance
|
||||
|
||||
Based on upstream fix by Daniel Stenberg in 09 jan 2017
|
||||
See: https://hg.mozilla.org/mozilla-central/rev/ebcbf47a83e7
|
||||
|
||||
--- a/js/src/configure 2017-02-21 16:56:42.350105741 -0300
|
||||
+++ b/js/src/configure 2017-02-21 17:33:13.183493978 -0300
|
||||
@@ -15231,7 +15231,7 @@
|
||||
fi
|
||||
fi
|
||||
|
||||
- surum=`sed -n 's/^[:space:]*#[[:space:]]*define[[:space:]][[:space:]]*U_ICU_VERSION_MAJOR_NUM[[:space:]][[:space:]]*\([0-9][0-9]*\)[[:space:]]*$/\1/p' "$icudir/common/unicode/uvernum.h"`
|
||||
+ surum=`sed -n 's/^[[:space:]]*#[[:space:]]*define[[:space:]][[:space:]]*U_ICU_VERSION_MAJOR_NUM[[:space:]][[:space:]]*\([0-9][0-9]*\)[[:space:]]*$/\1/p' "$icudir/common/unicode/uvernum.h"`
|
||||
if test x"$surum" = x; then
|
||||
{ echo "configure: error: cannot determine icu version number from uvernum.h header file $lineno" 1>&2; echo "configure: error: cannot determine icu version number from uvernum.h header file $lineno" 1>&5; exit 1; }
|
||||
fi
|
|
@ -1,22 +0,0 @@
|
|||
Add major version to pkg-config filename.
|
||||
Author: Rico Tzschichholz <ricotz@ubuntu.com>
|
||||
Forwarded: no
|
||||
Last-Update: 2015-05-04
|
||||
|
||||
Index: b/js/src/Makefile.in
|
||||
===================================================================
|
||||
--- a/js/src/Makefile.in
|
||||
+++ b/js/src/Makefile.in
|
||||
@@ -214,10 +214,10 @@
|
||||
$(JS_CONFIG_NAME): js-config
|
||||
cp $^ $@
|
||||
|
||||
-$(LIBRARY_NAME).pc: js.pc
|
||||
+$(JS_LIBRARY_NAME).pc: js.pc
|
||||
cp $^ $@
|
||||
|
||||
-install:: $(LIBRARY_NAME).pc
|
||||
+install:: $(JS_LIBRARY_NAME).pc
|
||||
$(SYSINSTALL) $^ $(DESTDIR)$(libdir)/pkgconfig
|
||||
|
||||
install:: js-config.h
|
|
@ -1,65 +0,0 @@
|
|||
# HG changeset patch
|
||||
# Parent 4732a0e5d22bc7e5c1f1ace7a182d537d9cc2c6a
|
||||
Add major version to shell and js-config filenames.
|
||||
Author: Rico Tzschichholz <ricotz@ubuntu.com>
|
||||
Forwarded: no
|
||||
Last-Update: 2014-10-29
|
||||
|
||||
---
|
||||
diff --git a/js/src/configure b/js/src/configure
|
||||
--- a/js/src/configure
|
||||
+++ b/js/src/configure
|
||||
@@ -1696,8 +1696,13 @@
|
||||
MOZJS_PATCH_VERSION=`echo $MOZILLA_VERSION | sed "s|^[0-9]*\.[0-9]*[^0-9]*||"`
|
||||
IS_ALPHA=`echo $MOZILLA_VERSION | grep '[ab]'`
|
||||
|
||||
+if test -n "$JS_STANDALONE"; then
|
||||
+JS_SHELL_NAME=js$MOZJS_MAJOR_VERSION
|
||||
+JS_CONFIG_NAME=js$MOZJS_MAJOR_VERSION-config
|
||||
+else
|
||||
JS_SHELL_NAME=js
|
||||
JS_CONFIG_NAME=js-config
|
||||
+fi
|
||||
|
||||
|
||||
if test -n "$IS_ALPHA"; then
|
||||
|
||||
diff --git a/js/src/configure.in b/js/src/configure.in
|
||||
--- a/js/src/configure.in
|
||||
+++ b/js/src/configure.in
|
||||
@@ -234,16 +234,13 @@ MOZJS_MINOR_VERSION=`echo $MOZILLA_VERSI
|
||||
MOZJS_PATCH_VERSION=`echo $MOZILLA_VERSION | sed "s|^[0-9]*\.[0-9]*[^0-9]*||"`
|
||||
IS_ALPHA=`echo $MOZILLA_VERSION | grep '[ab]'`
|
||||
|
||||
-dnl XXX in a temporary bid to avoid developer anger at renaming files
|
||||
-dnl XXX before "js" symlinks exist, don't change names.
|
||||
-dnl
|
||||
-dnl if test -n "$JS_STANDALONE"; then
|
||||
-dnl JS_SHELL_NAME=js$MOZJS_MAJOR_VERSION
|
||||
-dnl JS_CONFIG_NAME=js$MOZJS_MAJOR_VERSION-config
|
||||
-dnl else
|
||||
+if test -n "$JS_STANDALONE"; then
|
||||
+JS_SHELL_NAME=js$MOZJS_MAJOR_VERSION
|
||||
+JS_CONFIG_NAME=js$MOZJS_MAJOR_VERSION-config
|
||||
+else
|
||||
JS_SHELL_NAME=js
|
||||
JS_CONFIG_NAME=js-config
|
||||
-dnl fi
|
||||
+fi
|
||||
|
||||
changequote([,])
|
||||
if test -n "$IS_ALPHA"; then
|
||||
|
||||
diff -r 80a9e64d75f5 js/src/Makefile.in
|
||||
--- a/js/src/Makefile.in Wed Jun 25 15:11:42 2014 +0200
|
||||
+++ b/js/src/Makefile.in Sat Jul 05 14:08:38 2014 +0200
|
||||
@@ -273,6 +273,9 @@
|
||||
SCRIPTS = $(JS_CONFIG_NAME)
|
||||
SDK_BINARY = $(JS_CONFIG_NAME)
|
||||
|
||||
+$(JS_CONFIG_NAME): js-config
|
||||
+ cp $^ $@
|
||||
+
|
||||
$(LIBRARY_NAME).pc: js.pc
|
||||
cp $^ $@
|
||||
|
|
@ -1,39 +1,35 @@
|
|||
# Tanım: JavaScript tercüman ve kütüphaneleri - Sürüm 38
|
||||
# URL: https://developer.mozilla.org/en-US/docs/Mozilla/Projects/SpiderMonkey/Releases/38
|
||||
# Paketçi: Cihan Alkan
|
||||
# Paketçi: milisarge
|
||||
# Gerekler: nspr icu libffi python zip
|
||||
|
||||
isim=js38
|
||||
surum=38.8.0
|
||||
devir=1
|
||||
devir=2
|
||||
kaynak=(https://ftp.mozilla.org/pub/firefox/releases/38.8.0esr/source/firefox-38.8.0esr.source.tar.bz2
|
||||
mozjs38-fix-tracelogger.patch
|
||||
mozjs38-shell-version.patch
|
||||
mozjs38-pkg-config-version.patch
|
||||
mozjs38-install-name.patch
|
||||
mozjs38-copy-headers.patch
|
||||
mozjs38-add-bracket.patch
|
||||
mozjs38-1269317.patch)
|
||||
|
||||
derle() {
|
||||
cd mozilla-esr38
|
||||
patch -Np1 -i $SRC/mozjs38-fix-tracelogger.patch
|
||||
patch -Np1 -i $SRC/mozjs38-shell-version.patch
|
||||
patch -Np1 -i $SRC/mozjs38-pkg-config-version.patch
|
||||
patch -Np1 -i $SRC/mozjs38-install-name.patch
|
||||
patch -Np1 -i $SRC/mozjs38-copy-headers.patch
|
||||
patch -Np1 -i $SRC/mozjs38-add-bracket.patch
|
||||
patch -Np1 -i $SRC/mozjs38-1269317.patch
|
||||
unset CPPFLAGS
|
||||
CXXFLAGS+=' -fno-delete-null-pointer-checks -fpermissive -fno-tree-vrp -fno-strict-aliasing'
|
||||
CFLAGS+=' -fno-delete-null-pointer-checks -fpermissive -fno-tree-vrp -fno-strict-aliasing'
|
||||
export PYTHON=/usr/bin/python2
|
||||
export SHELL=$XTERM_SHELL
|
||||
export SHELL=/bin/sh
|
||||
|
||||
cd $SRC/mozilla-esr38/js/src
|
||||
./configure --prefix=/usr --with-system-nspr --enable-system-ffi \
|
||||
--with-system-zlib --with-system-icu --with-intl-api --enable-ctypes \
|
||||
--enable-threadsafe --enable-system-ffi --enable-shared-js --enable-gcgenerational --disable-optimize --enable-pie
|
||||
SHELL=/bin/sh make
|
||||
|
||||
SHELL=/bin/sh make || SHELL=/bin/sh make
|
||||
SHELL=/bin/sh make DESTDIR="$PKG" install
|
||||
rm -f "$PKG"/usr/lib/*.ajs
|
||||
rm -f "$PKG"/usr/bin/js38
|
||||
|
|
Loading…
Reference in New Issue