Changeset 7380


Ignore:
Timestamp:
02/17/11 05:58:54 (2 years ago)
Author:
alanbach-guest
Message:
  • Added libv8 to Vinnie security
Location:
pkg/security/vinnie/main/libv8/trunk/debian
Files:
3 added
3 deleted
7 edited

Legend:

Unmodified
Added
Removed
  • pkg/security/vinnie/main/libv8/trunk/debian/README.source

    r7379 r7380  
    1 Patches management 
    2 ===== 
    3 This package uses quilt to manage all modifications to the upstream 
    4 source.  Changes are stored in the source package as diffs in 
    5 debian/patches and applied during the build.  Please see: 
    6     /usr/share/doc/quilt/README.source 
    7  
    8 for more information on how to apply the patches, modify patches, or 
    9 remove a patch. 
    10  
    11  
    121Import a new version using git-buildpackage layout: 
    132===== 
     
    41304) edit debian/control and remove any reference to the old version by updating 
    4231it with the new version 
    43  
    44  
    45 ARMEL and VFP 
    46 ============= 
    47  
    48 v8 detects at runtime the available processor features, like vfp. 
    49 Unfortunately, in libv8 2.4.9.9 it assumes "vfp" feature is "vfp3", see : 
    50 http://code.google.com/p/v8/issues/detail?id=914 
    51 This bug appears when running v8 on some arm variants (qemu arm being one of them), 
    52 and has been fixed in version 2.5.4 
  • pkg/security/vinnie/main/libv8/trunk/debian/changelog

    r7379 r7380  
     1libv8 (2.5.9.15-2) unstable; urgency=low 
     2 
     3  * Builds with snapshot=on. (Closes: #612781)  
     4 
     5 -- Jérémy Lal <kapouer@melix.org>  Sat, 12 Feb 2011 02:27:40 +0100 
     6 
     7libv8 (2.5.9.15-1) unstable; urgency=low 
     8 
     9  * New upstream release. 
     10 
     11  [ Jérémy Lal ] 
     12  * Map DEB_HOST_ARCH and DEB_HOST_ARCH_OS to v8 scons options 'arch' 
     13    and 'os'. (Closes: #611215) 
     14    Move to team-maintainance, with me as maintainer and Jonas 
     15    Smedegaard as uploader. 
     16    Drop Antonio Radici as uploader: Thanks for your contributions, 
     17    Antonio! 
     18 
     19  [ Jonas Smedegaard ] 
     20  * Tidy CDBS variables internally in rules file. 
     21 
     22 -- Jonas Smedegaard <dr@jones.dk>  Mon, 07 Feb 2011 01:36:39 +0100 
     23 
    124libv8 (2.5.9.9-2) unstable; urgency=low 
    225 
  • pkg/security/vinnie/main/libv8/trunk/debian/control

    r7379 r7380  
    11Source: libv8 
    22Priority: optional 
    3 Maintainer: Antonio Radici <antonio@dyne.org> 
    4 Uploaders: Jérémy Lal <kapouer@melix.org> 
     3Maintainer: Debian Javascript Maintainers <pkg-javascript-devel@lists.alioth.debian.org> 
     4Uploaders: Jérémy Lal <kapouer@melix.org>, 
     5 Jonas Smedegaard <dr@jones.dk> 
    56Build-Depends: debhelper (>= 7), pkg-config, scons, cdbs (>= 0.4.73) 
    67Standards-Version: 3.9.1 
     
    1415Section: libdevel 
    1516Architecture: i386 amd64 armel 
    16 Depends: libv8-2.5.9.9 (= ${binary:Version}), ${misc:Depends} 
     17Depends: libv8-2.5.9.15 (= ${binary:Version}), ${misc:Depends} 
    1718Description: Development files for the V8 JavaScript Engine 
    1819 V8 is Google's open source, high performance JavaScript engine. It is written 
     
    2223 V8 JavaScript Engine 
    2324 
    24 Package: libv8-2.5.9.9 
     25Package: libv8-2.5.9.15 
    2526Architecture: i386 amd64 armel 
    2627Depends: ${shlibs:Depends}, ${misc:Depends} 
     
    3637Section: debug 
    3738Architecture: i386 amd64 armel 
    38 Depends: libv8-2.5.9.9 (= ${binary:Version}), ${misc:Depends} 
     39Depends: libv8-2.5.9.15 (= ${binary:Version}), ${misc:Depends} 
    3940Description: Debugging symbols for the V8 JavaScript Engine 
    4041 V8 is Google's open source, high performance JavaScript engine. It is written 
  • pkg/security/vinnie/main/libv8/trunk/debian/patches/0001-enable_soname.patch

    r7379 r7380  
    1 patch to enable the soname that is not automatically shipped with SConstruct 
    2  
     1Description: scons soname=on needs soname to be set 
     2Forwarded: not-needed 
     3Author: Antonio Radici <antonio@dyne.org> 
     4Last-Update: 2011-01-24 
    35--- a/src/version.cc 
    46+++ b/src/version.cc 
     
    810 // number. This define is mainly used by the SCons build script. 
    911-#define SONAME            "" 
    10 +#define SONAME            "libv8.so.2.5.9.9" 
     12+#define SONAME            "libv8.so.2.5.9.15" 
    1113  
    1214 namespace v8 { 
  • pkg/security/vinnie/main/libv8/trunk/debian/patches/0002-armel-build.patch

    r7379 r7380  
    1 Tune flags to build libv8 on armel 
    2  * mno-thumb-interwork to allow compilation on default debian armel target (-march=armv4t), see http://code.google.com/p/v8/issues/detail?id=590. Actually simply removing the warning seems to be fine now. 
    3  * fno-tree-sink to workaround a gcc armel bug, see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39604 
    4  * Wno-psabi to fix gcc warnings on armel, see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42748 
    5  
     1Description: tune flags to build libv8 on armel 
     2 * mno-thumb-interwork to allow compilation on default debian armel target (-march=armv4t) 
     3 * fno-tree-sink to workaround a gcc armel bug 
     4 * Wno-psabi to fix gcc warnings on armel 
     5Forwarded: not-needed 
     6Author: Antonio Radici <antonio@dyne.org> 
     7Author: Jérémy Lal <kapouer@melix.org> 
     8Bug-V8: http://code.google.com/p/v8/issues/detail?id=590 
     9Bug-GCC: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39604 
     10Bug-GCC: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42748 
     11Last-Update: 2010-11-25 
    612--- a/SConstruct 
    713+++ b/SConstruct 
  • pkg/security/vinnie/main/libv8/trunk/debian/patches/series

    r7379 r7380  
    110001-enable_soname.patch 
    220002-armel-build.patch 
    3 0003-platform-detection-x86_64-and-mips.patch 
    4 0004-add-the-install-target.patch 
     30003-add-the-install-target.patch 
  • pkg/security/vinnie/main/libv8/trunk/debian/rules

    r7379 r7380  
    44include /usr/share/cdbs/1/class/scons.mk 
    55 
    6 SONAME                  := 2.5.9.9 
     6SONAME = 2.5.9.15 
    77 
    8 DEB_DH_MAKESHLIBS_ARGS := -- -c4 
     8DEB_DH_MAKESHLIBS_ARGS = -- -c4 
    99 
    1010CXXFLAGS += -fno-strict-aliasing 
     
    1313export CXXFLAGS 
    1414 
    15 DEB_SCONS_OPTIONS          := library=shared soname=on shlibtype=hidden 
    16 DEB_SCONS_BUILD_TARGET     := library 
    17 # policy 4.9.1 
    18 ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS))) 
    19         DEB_SCONS_BUILD_OPTIONS    := sample=shell 
    20         DEB_SCONS_BUILD_TARGET     += sample cctests 
    21 endif 
    22 ifneq (,$(filter parallel=%,$(DEB_BUILD_OPTIONS))) 
    23         NUMJOBS = $(patsubst parallel=%,%,$(filter parallel=%,$(DEB_BUILD_OPTIONS))) 
    24         DEB_SCONS_BUILD_OPTIONS += -j$(NUMJOBS) 
    25 endif 
    26 DEB_SCONS_INSTALL_OPTIONS  := $(DEB_SCONS_OPTIONS) DESTDIR=$(DEB_DESTDIR) 
     15# map HOST ARCH AND OS to v8 options 
     16v8arch := $(or $(v8arch),$(if $(filter i386,$(DEB_HOST_ARCH)),ia32)) 
     17v8arch := $(or $(v8arch),$(if $(filter amd64,$(DEB_HOST_ARCH)),x64)) 
     18v8arch := $(or $(v8arch),$(if $(filter armel,$(DEB_HOST_ARCH)),arm)) 
     19v8arch := $(or $(v8arch),$(if $(filter armhf,$(DEB_HOST_ARCH)),arm)) 
     20v8arch := $(or $(v8arch),$(if $(filter mipsel,$(DEB_HOST_ARCH)),mips)) 
     21v8arch := $(or $(v8arch),$(DEB_HOST_ARCH)) 
     22v8os := $(or $(v8os),$(if $(filter linux,$(DEB_HOST_ARCH_OS)),linux)) 
     23v8os := $(or $(v8os),$(if $(filter kfreebsd,$(DEB_HOST_ARCH_OS)),freebsd)) 
     24v8os := $(or $(v8os),$(DEB_HOST_ARCH_OS)) 
     25 
     26DEB_SCONS_OPTIONS = library=shared soname=on snapshot=on shlibtype=hidden arch=$(v8arch) os=$(v8os) 
     27DEB_SCONS_BUILD_TARGET = library 
     28 
     29# regression tests need to build shell for mjsunit, and cc code for cctest 
     30DEB_SCONS_CHECK_TARGET = sample sample=shell cctests 
     31 
     32DEB_SCONS_INSTALL_OPTIONS += DESTDIR="$(cdbs_curdestdir)" 
    2733 
    2834clean:: 
     
    3238        rm -f shell 
    3339 
     40# actually run regression tests 
    3441common-post-build-impl:: 
    35 ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS))) 
    36         LD_PRELOAD=$(CURDIR)/libv8-$(SONAME).so $(CURDIR)/tools/test.py --no-build cctest mjsunit message 
    37 endif 
     42        $(if $(filter nocheck,$(DEB_BUILD_OPTIONS)),,LD_PRELOAD=$(CURDIR)/libv8-$(SONAME).so $(CURDIR)/tools/test.py --snapshot --no-build cctest mjsunit message arch=$(v8arch)) 
    3843 
    3944common-install-impl:: 
Note: See TracChangeset for help on using the changeset viewer.