commit js for openSUSE:Factory

2013-12-19 Thread h_root
Hello community,

here is the log from the commit of package js for openSUSE:Factory checked in 
at 2013-12-19 12:13:18

Comparing /work/SRC/openSUSE:Factory/js (Old)
 and  /work/SRC/openSUSE:Factory/.js.new (New)


Package is js

Changes:

--- /work/SRC/openSUSE:Factory/js/js.changes2013-08-13 10:32:21.0 
+0200
+++ /work/SRC/openSUSE:Factory/.js.new/js.changes   2013-12-19 
12:13:20.0 +0100
@@ -1,0 +2,6 @@
+Sun Dec 15 02:31:22 UTC 2013 - uweig...@de.ibm.com
+
+- ppc64le-support.patch: Add support for powerpc64le.
+- js-filter.patch: don't try to use the JIT on powerpc64le
+
+---

New:

  ppc64le-support.patch



Other differences:
--
++ js.spec ++
--- /var/tmp/diff_new_pack.2i8FFf/_old  2013-12-19 12:13:21.0 +0100
+++ /var/tmp/diff_new_pack.2i8FFf/_new  2013-12-19 12:13:21.0 +0100
@@ -27,6 +27,7 @@
 Patch0: js-64bitbigendian.patch 
 Patch1: js-filter.patch
 Patch2: do-not-enforce-wrong-arm-flags.patch
+Patch3: ppc64le-support.patch
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  autoconf213
 BuildRequires:  gcc-c++
@@ -70,6 +71,7 @@
 %patch0 -p1
 %patch1
 %patch2
+%patch3 -p1
 
 %build
 # no need to add build time to binaries

++ js-filter.patch ++
--- /var/tmp/diff_new_pack.2i8FFf/_old  2013-12-19 12:13:21.0 +0100
+++ /var/tmp/diff_new_pack.2i8FFf/_new  2013-12-19 12:13:21.0 +0100
@@ -5,7 +5,7 @@
  #
  
 -ifeq (,$(filter-out powerpc sparc,$(TARGET_CPU)))
-+ifeq (,$(filter-out powerpc powerpc64 s390 s390x aarch64,$(TARGET_CPU)))
++ifeq (,$(filter-out powerpc powerpc64 powerpc64le s390 s390x 
aarch64,$(TARGET_CPU)))
  
  VPATH +=  $(srcdir)/assembler \
$(srcdir)/assembler/wtf \

++ ppc64le-support.patch ++
Index: js-1.8.5/js/src/configure.in
===
--- js-1.8.5.orig/js/src/configure.in
+++ js-1.8.5/js/src/configure.in
@@ -1498,7 +1498,7 @@ case $OS_TEST in
 CPU_ARCH=x86
 ;;
 
-powerpc64 | ppc64)
+powerpc64 | ppc64 | powerpc64le | ppc64le)
 CPU_ARCH=ppc64
 ;;
 
Index: js-1.8.5/js/src/assembler/wtf/Platform.h
===
--- js-1.8.5.orig/js/src/assembler/wtf/Platform.h
+++ js-1.8.5/js/src/assembler/wtf/Platform.h
@@ -129,16 +129,22 @@
|| defined(__POWERPC__) \
|| defined(_M_PPC)  \
|| defined(__PPC)
+#if !defined(__ppc64__)  !defined(__PPC64__)
 #define WTF_CPU_PPC 1
+#endif
+#if !defined(__LITTLE_ENDIAN__)
 #define WTF_CPU_BIG_ENDIAN 1
 #endif
+#endif
 
 /* CPU(PPC64) - PowerPC 64-bit */
 #if   defined(__ppc64__) \
|| defined(__PPC64__)
 #define WTF_CPU_PPC64 1
+#if !defined(__LITTLE_ENDIAN__)
 #define WTF_CPU_BIG_ENDIAN 1
 #endif
+#endif
 
 /* CPU(SH4) - SuperH SH-4 */
 #if defined(__SH4__)
-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit js for openSUSE:Factory

2013-08-13 Thread h_root
Hello community,

here is the log from the commit of package js for openSUSE:Factory checked in 
at 2013-08-13 10:32:19

Comparing /work/SRC/openSUSE:Factory/js (Old)
 and  /work/SRC/openSUSE:Factory/.js.new (New)


Package is js

Changes:

--- /work/SRC/openSUSE:Factory/js/js.changes2013-03-22 11:20:40.0 
+0100
+++ /work/SRC/openSUSE:Factory/.js.new/js.changes   2013-08-13 
10:32:21.0 +0200
@@ -1,0 +2,5 @@
+Mon Aug 12 17:43:49 UTC 2013 - sch...@suse.de
+
+- js-filter.patch: don't try to use the JIT on aarch64
+
+---



Other differences:
--
++ js-filter.patch ++
--- /var/tmp/diff_new_pack.Oc6ZEs/_old  2013-08-13 10:32:21.0 +0200
+++ /var/tmp/diff_new_pack.Oc6ZEs/_new  2013-08-13 10:32:21.0 +0200
@@ -5,7 +5,7 @@
  #
  
 -ifeq (,$(filter-out powerpc sparc,$(TARGET_CPU)))
-+ifeq (,$(filter-out powerpc powerpc64 s390 s390x,$(TARGET_CPU)))
++ifeq (,$(filter-out powerpc powerpc64 s390 s390x aarch64,$(TARGET_CPU)))
  
  VPATH +=  $(srcdir)/assembler \
$(srcdir)/assembler/wtf \

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit js for openSUSE:Factory

2013-03-22 Thread h_root
Hello community,

here is the log from the commit of package js for openSUSE:Factory checked in 
at 2013-03-22 11:20:39

Comparing /work/SRC/openSUSE:Factory/js (Old)
 and  /work/SRC/openSUSE:Factory/.js.new (New)


Package is js, Maintainer is 

Changes:

--- /work/SRC/openSUSE:Factory/js/js.changes2012-06-29 10:40:46.0 
+0200
+++ /work/SRC/openSUSE:Factory/.js.new/js.changes   2013-03-22 
11:20:40.0 +0100
@@ -1,0 +2,6 @@
+Thu Mar 21 14:14:37 UTC 2013 - dmuel...@suse.com
+
+- fix build on SLE11 (work around SLE's configure macro)
+- add missing dependency to devel package 
+
+---



Other differences:
--
++ js.spec ++
--- /var/tmp/diff_new_pack.LMrwlx/_old  2013-03-22 11:20:42.0 +0100
+++ /var/tmp/diff_new_pack.LMrwlx/_new  2013-03-22 11:20:42.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package js
 #
-# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -56,6 +56,7 @@
 Summary:Header files, libraries and development documentation for 
%{name}
 Group:  Development/Libraries/Other
 Requires:   libmozjs185-1_0 = %{version}-%{release}
+Requires:   mozilla-nspr-devel
 Requires:   pkg-config
 Provides:   libjs-devel = %{version}-%{release}
 
@@ -79,6 +80,12 @@
 #
 export SUSE_ASNEEDED=0
 export MOZILLA_VERSION=%{version}
+# work around SLE's %%configure 
+%if 0%{?suse_version} = 1110
+export CC=%__cc
+export CXX=%__cxx
+export AR=%__ar
+%endif
 cd js
 pushd src
 %configure --with-system-nspr --enable-threadsafe

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit js for openSUSE:Factory

2012-06-29 Thread h_root
Hello community,

here is the log from the commit of package js for openSUSE:Factory checked in 
at 2012-06-29 10:20:36

Comparing /work/SRC/openSUSE:Factory/js (Old)
 and  /work/SRC/openSUSE:Factory/.js.new (New)


Package is js, Maintainer is 

Changes:

--- /work/SRC/openSUSE:Factory/js/js.changes2011-11-14 11:54:59.0 
+0100
+++ /work/SRC/openSUSE:Factory/.js.new/js.changes   2012-06-29 
10:40:46.0 +0200
@@ -1,0 +2,5 @@
+Thu Jun 28 06:52:40 UTC 2012 - adr...@suse.de
+
+- do not enforce wrong build flags on arm (fixes build)
+
+---

New:

  do-not-enforce-wrong-arm-flags.patch



Other differences:
--
++ js.spec ++
--- /var/tmp/diff_new_pack.tOpPYB/_old  2012-06-29 10:40:47.0 +0200
+++ /var/tmp/diff_new_pack.tOpPYB/_new  2012-06-29 10:40:47.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package js
 #
-# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,19 +16,24 @@
 #
 
 
-
 Name:   js
 Summary:JavaScript interpreter
-Version:1.8.5
-Release:3
 License:MPL-1.1 or GPL-2.0+ or LGPL-2.1+
 Group:  Development/Languages/Other
+Version:1.8.5
+Release:0
 Url:http://www.mozilla.org/js/
 Source0:http://ftp.mozilla.org/pub/mozilla.org/js/js185-1.0.0.tar.bz2
 Patch0: js-64bitbigendian.patch 
 Patch1: js-filter.patch
+Patch2: do-not-enforce-wrong-arm-flags.patch
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
-BuildRequires:  autoconf213 gcc-c++ mozilla-nspr-devel pkg-config python zip
+BuildRequires:  autoconf213
+BuildRequires:  gcc-c++
+BuildRequires:  mozilla-nspr-devel
+BuildRequires:  pkg-config
+BuildRequires:  python
+BuildRequires:  zip
 
 %description
 JavaScript is the Netscape-developed object scripting language used in millions
@@ -38,7 +43,6 @@
 
 %package -n libmozjs185-1_0
 Summary:JavaScript library
-License:MPL-1.1 or GPL-2.0+ or LGPL-2.1+
 Group:  System/Libraries
 
 %description -n libmozjs185-1_0
@@ -50,7 +54,6 @@
 
 %package devel
 Summary:Header files, libraries and development documentation for 
%{name}
-License:MPL-1.1 or GPL-2.0+ or LGPL-2.1+
 Group:  Development/Libraries/Other
 Requires:   libmozjs185-1_0 = %{version}-%{release}
 Requires:   pkg-config
@@ -65,6 +68,7 @@
 %setup -q -n %{name}-%{version}
 %patch0 -p1
 %patch1
+%patch2
 
 %build
 # no need to add build time to binaries

++ do-not-enforce-wrong-arm-flags.patch ++
--- js/src/configure.in.orig2012-06-28 08:47:35.002113771 +0200
+++ js/src/configure.in 2012-06-28 08:49:33.384116471 +0200
@@ -3546,23 +3546,6 @@
 fi
 AC_SUBST(HAVE_ARM_SIMD)
 
-AC_MSG_CHECKING(for ARM NEON support in compiler)
-_SAVE_CFLAGS=$CFLAGS
-if test $GNU_CC; then
-  # gcc needs -mfpu=neon to recognize NEON instructions
-  CFLAGS=$CFLAGS -mfpu=neon -mfloat-abi=softfp
-fi
-AC_TRY_COMPILE([],
-   [asm(vadd.i8 d0, d0, d0);],
-   result=yes, result=no)
-AC_MSG_RESULT($result)
-if test $result = yes; then
-AC_DEFINE(HAVE_ARM_NEON)
-HAVE_ARM_NEON=1
-fi
-CFLAGS=$_SAVE_CFLAGS
-AC_SUBST(HAVE_ARM_NEON)
-
 dnl 
 dnl = pthread support
 dnl = Start by checking whether the system support pthreads
@@ -4660,74 +4643,6 @@
 MOZ_ARM_ARCH=armv7
   ;;
 esac
-dnl 
-dnl = Enable building the Thumb2 instruction set
-dnl 
-MOZ_ARG_ENABLE_BOOL(thumb2,
- [  --enable-thumb2 Enable Thumb2 instruction set (implies ARMv7)],
-MOZ_THUMB2=1,
-MOZ_THUMB2=)
-if test -n $MOZ_THUMB2; then
-  MOZ_ARM_ARCH=armv7
-fi
-
-dnl 
-dnl = Enable building for ARM specific CPU features
-dnl 
-MOZ_ARG_WITH_STRING(cpu-arch,
-[  --with-cpu-arch=arch  Use specific arm architecture CPU features, 
default armv7],
-MOZ_ARM_ARCH=$withval)
-
-if test -n $MOZ_THUMB2; then
-  case $target_cpu in
-arm*)
-  if test $MOZ_ARM_ARCH != armv7; then
-AC_MSG_ERROR([--enable-thumb2 is not compatible with 
cpu-arch=$MOZ_ARM_ARCH])
-  fi
-  if test $GNU_CC; then
-AC_DEFINE(MOZ_THUMB2)
-AC_DEFINE(MOZ_ARM_ARCH)
-CFLAGS=$CFLAGS -march=armv7-a -mthumb -mfloat-abi=softfp 

commit js for openSUSE:Factory

2011-12-06 Thread h_root
Hello community,

here is the log from the commit of package js for openSUSE:Factory checked in 
at 2011-12-06 18:20:51

Comparing /work/SRC/openSUSE:Factory/js (Old)
 and  /work/SRC/openSUSE:Factory/.js.new (New)


Package is js, Maintainer is 

Changes:




Other differences:
--
++ js.spec ++
--- /var/tmp/diff_new_pack.O0Gp9R/_old  2011-12-06 18:36:18.0 +0100
+++ /var/tmp/diff_new_pack.O0Gp9R/_new  2011-12-06 18:36:18.0 +0100
@@ -21,7 +21,7 @@
 Summary:JavaScript interpreter
 Version:1.8.5
 Release:3
-License:MPLv1.1 or GPLv2+ or LGPLv2+
+License:MPL-1.1 or GPL-2.0+ or LGPL-2.1+
 Group:  Development/Languages/Other
 Url:http://www.mozilla.org/js/
 Source0:http://ftp.mozilla.org/pub/mozilla.org/js/js185-1.0.0.tar.bz2
@@ -38,7 +38,7 @@
 
 %package -n libmozjs185-1_0
 Summary:JavaScript library
-License:MPLv1.1 or GPLv2+ or LGPLv2+
+License:MPL-1.1 or GPL-2.0+ or LGPL-2.1+
 Group:  System/Libraries
 
 %description -n libmozjs185-1_0
@@ -50,7 +50,7 @@
 
 %package devel
 Summary:Header files, libraries and development documentation for 
%{name}
-License:MPLv1.1 or GPLv2+ or LGPLv2+
+License:MPL-1.1 or GPL-2.0+ or LGPL-2.1+
 Group:  Development/Libraries/Other
 Requires:   libmozjs185-1_0 = %{version}-%{release}
 Requires:   pkg-config

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit js for openSUSE:Factory

2011-11-14 Thread h_root
Hello community,

here is the log from the commit of package js for openSUSE:Factory checked in 
at 2011-11-14 11:54:57

Comparing /work/SRC/openSUSE:Factory/js (Old)
 and  /work/SRC/openSUSE:Factory/.js.new (New)


Package is js, Maintainer is 

Changes:

--- /work/SRC/openSUSE:Factory/js/js.changes2011-09-23 02:04:24.0 
+0200
+++ /work/SRC/openSUSE:Factory/.js.new/js.changes   2011-11-14 
11:54:59.0 +0100
@@ -1,0 +2,5 @@
+Thu Nov 10 17:53:50 UTC 2011 - dval...@suse.com
+
+- fix ppc64 build 
+
+---

New:

  js-64bitbigendian.patch
  js-filter.patch



Other differences:
--
++ js.spec ++
--- /var/tmp/diff_new_pack.0YA9Lm/_old  2011-11-14 11:55:00.0 +0100
+++ /var/tmp/diff_new_pack.0YA9Lm/_new  2011-11-14 11:55:00.0 +0100
@@ -25,6 +25,8 @@
 Group:  Development/Languages/Other
 Url:http://www.mozilla.org/js/
 Source0:http://ftp.mozilla.org/pub/mozilla.org/js/js185-1.0.0.tar.bz2
+Patch0: js-64bitbigendian.patch 
+Patch1: js-filter.patch
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  autoconf213 gcc-c++ mozilla-nspr-devel pkg-config python zip
 
@@ -61,6 +63,8 @@
 
 %prep
 %setup -q -n %{name}-%{version}
+%patch0 -p1
+%patch1
 
 %build
 # no need to add build time to binaries

++ js-64bitbigendian.patch ++
Index: js-1.8.5/js/src/jsval.h
===
--- js-1.8.5.orig/js/src/jsval.h
+++ js-1.8.5/js/src/jsval.h
@@ -347,6 +347,7 @@ typedef union jsval_layout
 int32  i32;
 uint32 u32;
 JSWhyMagic why;
+jsuwordword;
 } payload;
 } s;
 double asDouble;
++ js-filter.patch ++
--- js/src/Makefile.in.orig 2011-11-10 18:33:13.0 +0100
+++ js/src/Makefile.in  2011-11-10 18:35:54.0 +0100
@@ -382,7 +382,7 @@
 # END enclude sources for V8 dtoa
 #
 
-ifeq (,$(filter-out powerpc sparc,$(TARGET_CPU)))
+ifeq (,$(filter-out powerpc powerpc64 s390 s390x,$(TARGET_CPU)))
 
 VPATH +=   $(srcdir)/assembler \
$(srcdir)/assembler/wtf \
-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit js for openSUSE:Factory

2011-06-17 Thread h_root

Hello community,

here is the log from the commit of package js for openSUSE:Factory
checked in at Fri Jun 17 13:00:13 CEST 2011.




--- js/js.changes   2011-04-19 16:51:20.0 +0200
+++ /mounts/work_src_done/STABLE/js/js.changes  2011-06-17 09:48:39.0 
+0200
@@ -1,0 +2,12 @@
+Fri Jun 17 09:40:46 CEST 2011 - vu...@opensuse.org
+
+- Pass --enable-threadsafe to configure, as gjs relies on this.
+
+---
+Fri Jun 17 06:46:44 UTC 2011 - w...@rosenauer.org
+
+- create package by using make install
+- use upstream pkg-config file (libjs - mozjs185)
+- avoid __DATE__ and __TIME__ in binaries
+
+---

calling whatdependson for head-i586




Other differences:
--
++ js.spec ++
--- /var/tmp/diff_new_pack.1VPVzO/_old  2011-06-17 12:58:49.0 +0200
+++ /var/tmp/diff_new_pack.1VPVzO/_new  2011-06-17 12:58:49.0 +0200
@@ -20,7 +20,7 @@
 Name:   js
 Summary:JavaScript interpreter
 Version:1.8.5
-Release:1
+Release:3
 License:MPLv1.1 or GPLv2+ or LGPLv2+
 Group:  Development/Languages/Other
 Url:http://www.mozilla.org/js/
@@ -61,27 +61,19 @@
 
 %prep
 %setup -q -n %{name}-%{version}
-cd js
-# Create pkgconfig file
-%{__cat}  libjs.pc  'EOF'
-prefix=%{_prefix}
-exec_prefix=%{_prefix}
-libdir=%{_libdir}
-includedir=%{_includedir}
-
-Name: libjs
-Description: JS library
-Requires: nspr
-Version: %{version}
-Libs: -L${libdir} -ljs
-Cflags: -DXP_UNIX=1 -DJS_THREADSAFE=1 -I${includedir}
-EOF
 
 %build
+# no need to add build time to binaries
+modified=$(sed -n '/^/n;s/ - .*$//;p;q' %{_sourcedir}/%{name}.changes)
+DATE=\$(date -d ${modified} +%%b %%e %%Y)\
+TIME=\$(date -d ${modified} +%%R)\
+find . -regex .*\.c\|.*\.cpp\|.*\.h -exec sed -i 
s/__DATE__/${DATE}/g;s/__TIME__/${TIME}/g {} +
+#
 export SUSE_ASNEEDED=0
+export MOZILLA_VERSION=%{version}
 cd js
 pushd src
-%configure --with-system-nspr
+%configure --with-system-nspr --enable-threadsafe
 popd
 export BUILD_OPT=1
 %{__make} %{?_smp_mflags} -C src \
@@ -90,20 +82,18 @@
BUILD_OPT=1 \
 
 %install
-cd js
-%{__mkdir_p} %{buildroot}%{_bindir} \
-%{buildroot}%{_libdir}/pkgconfig \
-%{buildroot}%{_includedir}
-%{__install} -m 0755 src/jscpucfg src/shell/js \
-   %{buildroot}%{_bindir}/
-%{__install} -m 0755 src/libmozjs185.so \
-%{buildroot}%{_libdir}/
-%{__mv} %{buildroot}%{_libdir}/libmozjs185.so 
%{buildroot}%{_libdir}/libmozjs185.so.1.0
-ln -s libmozjs185.so.1.0 %{buildroot}%{_libdir}/libmozjs185.so
-%{__install} -m 0644 src/js*.h src/js.msg src/*.tbl \
-%{buildroot}%{_includedir}/
-%{__install} -m 0644 libjs.pc \
-%{buildroot}%{_libdir}/pkgconfig/
+cd js/src
+%{makeinstall}
+%{__rm} -rf %{buildroot}%{_libdir}/libmozjs185-1.0.a
+# SO links are created wrong, fixing them
+%{__rm} -rf %{buildroot}%{_libdir}/libmozjs185.so.1.0
+%{__rm} -rf %{buildroot}%{_libdir}/libmozjs185.so
+%{__ln_s} libmozjs185.so.1.0.0 %{buildroot}%{_libdir}/libmozjs185.so.1.0
+%{__ln_s} libmozjs185.so.1.0.0 %{buildroot}%{_libdir}/libmozjs185.so
+# JS shell
+%{__install} -m 0755 shell/js %{buildroot}%{_bindir}/
+# headers are installed with executable permissions
+chmod 644 %{buildroot}%{_includedir}/js/*
 
 %clean
 %{__rm} -rf %{buildroot}
@@ -123,11 +113,10 @@
 
 %files devel
 %defattr(-,root,root,-)
-%{_bindir}/jscpucfg
+#%{_bindir}/jscpucfg
+%{_bindir}/js-config
 %{_libdir}/pkgconfig/*.pc
 %{_libdir}/*.so
-%{_includedir}/js*.h
-%{_includedir}/*.tbl
-%{_includedir}/js.msg
+%{_includedir}/js/
 
 %changelog






Remember to have fun...

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org