Return-Path: X-Original-To: apmail-incubator-ooo-commits-archive@minotaur.apache.org Delivered-To: apmail-incubator-ooo-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 20057C35D for ; Tue, 7 Aug 2012 01:27:08 +0000 (UTC) Received: (qmail 40408 invoked by uid 500); 7 Aug 2012 01:27:08 -0000 Delivered-To: apmail-incubator-ooo-commits-archive@incubator.apache.org Received: (qmail 40296 invoked by uid 500); 7 Aug 2012 01:27:07 -0000 Mailing-List: contact ooo-commits-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: ooo-dev@incubator.apache.org Delivered-To: mailing list ooo-commits@incubator.apache.org Received: (qmail 40286 invoked by uid 99); 7 Aug 2012 01:27:07 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 07 Aug 2012 01:27:07 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 07 Aug 2012 01:27:03 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id 920E223889DA; Tue, 7 Aug 2012 01:26:20 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1370096 - in /incubator/ooo/symphony/trunk/main: ./ python/ python/prj/ pyuno/ Date: Tue, 07 Aug 2012 01:26:20 -0000 To: ooo-commits@incubator.apache.org From: pfg@apache.org X-Mailer: svnmailer-1.0.8-patched Message-Id: <20120807012620.920E223889DA@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: pfg Date: Tue Aug 7 01:26:19 2012 New Revision: 1370096 URL: http://svn.apache.org/viewvc?rev=1370096&view=rev Log: i119384 - Python update to version 2.7.3. Merge revision 1348593, 1362466, 1363605, 1366182, 1366577, 1367398, 1367616 and 1368317. While here update the ooo.lst file. This is done so that the build doesn't break when we get remove the older python. Added: incubator/ooo/symphony/trunk/main/python/python-2.7.3-mingw.patch - copied unchanged from r1366182, incubator/ooo/trunk/main/python/python-2.7.3-mingw.patch incubator/ooo/symphony/trunk/main/python/python-2.7.3-nohardlink.patch - copied unchanged from r1366182, incubator/ooo/trunk/main/python/python-2.7.3-nohardlink.patch incubator/ooo/symphony/trunk/main/python/python-2.7.3-pcbuild.patch - copied, changed from r1366182, incubator/ooo/trunk/main/python/python-2.7.3-pcbuild.patch incubator/ooo/symphony/trunk/main/python/python-2.7.3-sysbase.patch - copied unchanged from r1366182, incubator/ooo/trunk/main/python/python-2.7.3-sysbase.patch incubator/ooo/symphony/trunk/main/python/python-freebsd.patch - copied, changed from r1366182, incubator/ooo/trunk/main/python/python-freebsd.patch incubator/ooo/symphony/trunk/main/python/python-md5.patch - copied unchanged from r1366182, incubator/ooo/trunk/main/python/python-md5.patch incubator/ooo/symphony/trunk/main/python/python-solaris.patch - copied unchanged from r1367398, incubator/ooo/trunk/main/python/python-solaris.patch incubator/ooo/symphony/trunk/main/python/python-ssl.patch - copied unchanged from r1366182, incubator/ooo/trunk/main/python/python-ssl.patch Removed: incubator/ooo/symphony/trunk/main/python/Python-2.6.1-mingw.patch incubator/ooo/symphony/trunk/main/python/Python-2.6.1-nohardlink.patch incubator/ooo/symphony/trunk/main/python/Python-2.6.1-sysbase.patch incubator/ooo/symphony/trunk/main/python/Python-2.6.1.patch incubator/ooo/symphony/trunk/main/python/Python-disable-dbm.patch incubator/ooo/symphony/trunk/main/python/Python-linux3.patch incubator/ooo/symphony/trunk/main/python/Python-parallel-make.patch incubator/ooo/symphony/trunk/main/python/Python-ssl.patch Modified: incubator/ooo/symphony/trunk/main/ooo.lst incubator/ooo/symphony/trunk/main/python/ (props changed) incubator/ooo/symphony/trunk/main/python/makefile.mk incubator/ooo/symphony/trunk/main/python/prj/d.lst incubator/ooo/symphony/trunk/main/python/pyversion.mk incubator/ooo/symphony/trunk/main/pyuno/ (props changed) Modified: incubator/ooo/symphony/trunk/main/ooo.lst URL: http://svn.apache.org/viewvc/incubator/ooo/symphony/trunk/main/ooo.lst?rev=1370096&r1=1370095&r2=1370096&view=diff ============================================================================== --- incubator/ooo/symphony/trunk/main/ooo.lst (original) +++ incubator/ooo/symphony/trunk/main/ooo.lst Tue Aug 7 01:26:19 2012 @@ -10,7 +10,6 @@ http://svn.apache.org/repos/asf/incubato # Libraries with category A license 0168229624cfac409e766913506961a8-ucpp-1.3.2.tar.gz 067201ea8b126597670b5eff72e1f66c-mythes-1.2.0.tar.gz -0b49ede71c21c0599b0cc19b353a6cb3-README_apache-commons.txt 128cfc86ed5953e57fe0f5ae98b62c2e-libtextcat-2.2.tar.gz 17410483b5b5f267aa18b7e00b65e6e0-hsqldb_1_8_0.zip 1756c4fa6c616ae15973c104cd8cb256-Adobe-Core35_AFMs-314.tar.gz @@ -18,13 +17,12 @@ http://svn.apache.org/repos/asf/incubato 1f24ab1d39f4a51faf22244c94a6203f-xmlsec1-1.2.14.tar.gz 220035f111ea045a51e290906025e8b5-libpng-1.5.1.tar.gz 284e768eeda0e2898b0d5bf7e26a016e-raptor-1.4.18.tar.gz -2ae988b339daec234019a7066f96733e-commons-lang-2.3-src.tar.gz 2c9b0f83ed5890af02c0df1c1776f39b-commons-httpclient-3.1-src.tar.gz -2f6ecca935948f7db92d925d88d0d078-icu4c-4_0_1-src.tgz -af36f635271a239d76d038d6cf8da8df-icu4c-4_8_1-src.tgz +2e482c7567908d334785ce7d69ddfff7-commons-codec-1.6-src.tar.gz 3b179ed18f65c43141528aa6d2440db4-serf-1.0.0.tar.bz2 3c219630e4302863a9a83d0efde889db-commons-logging-1.1.1-src.tar.gz 48d8169acc35f97e05d8dcdfd45be7f2-lucene-2.3.2.tar.gz +625ff5f2f968dd908bca43c9469d6e6b-commons-lang-2.4-src.tar.gz 63ddc5116488985e820075e65fbe6aa4-openssl-0.9.8o.tar.gz 666a5d56098a9debf998510e304c8095-apr-util-1.4.1.tar.gz 7376930b0d3f3d77a685d94c4a3acda8-STLport-4.5-0119.tar.gz @@ -34,14 +32,13 @@ af36f635271a239d76d038d6cf8da8df-icu4c-4 980143f96b3f6ce45d2e4947da21a5e9-stax-src-1.2.0.zip a2c10c04f396a9ce72894beb18b4e1f9-jpeg-8c.tar.gz a7983f859eafb2677d7ff386a023bc40-xsltml_2.1.2.zip -af3c3acf618de6108d65fcdc92b492e1-commons-codec-1.3-src.tar.gz -bc702168a2af16869201dbe91e46ae48-LICENSE_Python-2.6.1 +af36f635271a239d76d038d6cf8da8df-icu4c-4_8_1-src.tgz c441926f3a552ed3e5b274b62e86af16-STLport-4.0.tar.gz +c57477edd6d18bd9eeca2f21add73919-Python-2.7.3.tar.bz2 c735eab2d659a96e5a594c9e8541ad63-zlib-1.2.5.tar.gz ca66e26082cab8bb817185a116db809b-redland-1.0.8.tar.gz cf8a6967f7de535ae257fa411c98eb88-mdds_0.3.0.tar.bz2 e61d0364a30146aaa3001296f853b2b9-libxslt-1.1.26.tar.gz -e81c2f0953aa60f8062c05a4673f2be0-Python-2.6.1.tar.bz2 ea91f2fb4212a21d708aced277e6e85a-vigra1.4.0.tar.gz ecb2e37e45c9933e2a963cabe03670ab-curl-7.19.7.tar.gz ee8b492592568805593f81f8cdf2a04c-expat-2.0.1.tar.gz Propchange: incubator/ooo/symphony/trunk/main/python/ ------------------------------------------------------------------------------ --- svn:mergeinfo (added) +++ svn:mergeinfo Tue Aug 7 01:26:19 2012 @@ -0,0 +1 @@ +/incubator/ooo/trunk/main/python:1348593,1362466,1363605,1366182,1366577,1367398,1367616,1368317 Modified: incubator/ooo/symphony/trunk/main/python/makefile.mk URL: http://svn.apache.org/viewvc/incubator/ooo/symphony/trunk/main/python/makefile.mk?rev=1370096&r1=1370095&r2=1370096&view=diff ============================================================================== --- incubator/ooo/symphony/trunk/main/python/makefile.mk (original) +++ incubator/ooo/symphony/trunk/main/python/makefile.mk Tue Aug 7 01:26:19 2012 @@ -1,29 +1,25 @@ -#************************************************************************* -# -# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. -# -# Copyright 2000, 2010 Oracle and/or its affiliates. -# -# OpenOffice.org - a multi-platform office productivity suite -# -# This file is part of OpenOffice.org. -# -# OpenOffice.org is free software: you can redistribute it and/or modify -# it under the terms of the GNU Lesser General Public License version 3 -# only, as published by the Free Software Foundation. -# -# OpenOffice.org is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Lesser General Public License version 3 for more details -# (a copy is included in the LICENSE file that accompanied this code). -# -# You should have received a copy of the GNU Lesser General Public License -# version 3 along with OpenOffice.org. If not, see -# -# for a copy of the LGPLv3 License. -# -#************************************************************************* +#************************************************************** +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# +#************************************************************** + + PRJ=. @@ -46,15 +42,15 @@ all: TARFILE_NAME=Python-$(PYVERSION) -TARFILE_MD5=e81c2f0953aa60f8062c05a4673f2be0 +TARFILE_MD5=c57477edd6d18bd9eeca2f21add73919 PATCH_FILES=\ - Python-$(PYVERSION).patch \ - Python-parallel-make.patch \ - Python-ssl.patch \ - Python-2.6.1-sysbase.patch\ - Python-2.6.1-nohardlink.patch \ - Python-disable-dbm.patch \ - Python-linux3.patch + python-solaris.patch \ + python-freebsd.patch \ + python-md5.patch \ + python-ssl.patch \ + python-$(PYVERSION)-sysbase.patch \ + python-$(PYVERSION)-nohardlink.patch \ + python-$(PYVERSION)-pcbuild.patch CONFIGURE_DIR= @@ -86,7 +82,7 @@ BUILD_ACTION=$(ENV_BUILD) $(GNUMAKE) -j$ # WINDOWS # ---------------------------------- .IF "$(COM)"=="GCC" -PATCH_FILES=Python-$(PYVERSION)-mingw.patch +PATCH_FILES=python-$(PYVERSION)-mingw.patch BUILD_DIR= MYCWD=$(shell cygpath -m $(shell @pwd))/$(INPATH)/misc/build python_CFLAGS=-mno-cygwin -mthreads Modified: incubator/ooo/symphony/trunk/main/python/prj/d.lst URL: http://svn.apache.org/viewvc/incubator/ooo/symphony/trunk/main/python/prj/d.lst?rev=1370096&r1=1370095&r2=1370096&view=diff ============================================================================== --- incubator/ooo/symphony/trunk/main/python/prj/d.lst (original) +++ incubator/ooo/symphony/trunk/main/python/prj/d.lst Tue Aug 7 01:26:19 2012 @@ -30,74 +30,85 @@ mkdir: %_DEST%\lib%_EXT%\python\lib2to3\ mkdir: %_DEST%\lib%_EXT%\python\sqlite3 mkdir: %_DEST%\lib%_EXT%\python\ctypes mkdir: %_DEST%\lib%_EXT%\python\ctypes\macholib - -..\%__SRC%\misc\build\Python-2.6.1\Lib\* %_DEST%\lib%_EXT%\python\* -..\%__SRC%\misc\build\Python-2.6.1\Lib\lib-old\* %_DEST%\lib%_EXT%\python\lib-old\* -..\%__SRC%\misc\build\Python-2.6.1\Lib\lib-tk\* %_DEST%\lib%_EXT%\python\lib-tk\* -..\%__SRC%\misc\build\Python-2.6.1\Lib\site-packages\* %_DEST%\lib%_EXT%\python\site-packages\* -..\%__SRC%\misc\build\Python-2.6.1\Lib\encodings\* %_DEST%\lib%_EXT%\python\encodings\* -..\%__SRC%\misc\build\Python-2.6.1\Lib\email\* %_DEST%\lib%_EXT%\python\email\* -..\%__SRC%\misc\build\Python-2.6.1\Lib\email\mime\* %_DEST%\lib%_EXT%\python\email\mime\* -..\%__SRC%\misc\build\Python-2.6.1\Lib\compiler\* %_DEST%\lib%_EXT%\python\compiler\* -..\%__SRC%\misc\build\Python-2.6.1\Lib\hotshot\* %_DEST%\lib%_EXT%\python\hotshot\* -..\%__SRC%\misc\build\Python-2.6.1\Lib\distutils\* %_DEST%\lib%_EXT%\python\distutils\* -..\%__SRC%\misc\build\Python-2.6.1\Lib\distutils\command\* %_DEST%\lib%_EXT%\python\distutils\command\* -..\%__SRC%\misc\build\Python-2.6.1\Lib\xml\* %_DEST%\lib%_EXT%\python\xml\* -..\%__SRC%\misc\build\Python-2.6.1\Lib\xml\dom\* %_DEST%\lib%_EXT%\python\xml\dom\* -..\%__SRC%\misc\build\Python-2.6.1\Lib\xml\parsers\* %_DEST%\lib%_EXT%\python\xml\parsers\* -..\%__SRC%\misc\build\Python-2.6.1\Lib\xml\sax\* %_DEST%\lib%_EXT%\python\xml\sax\* -..\%__SRC%\misc\build\Python-2.6.1\Lib\curses\* %_DEST%\lib%_EXT%\python\curses\* -..\%__SRC%\misc\build\Python-2.6.1\Lib\plat-linux2\* %_DEST%\lib%_EXT%\python\plat-linux2\* -..\%__SRC%\misc\build\Python-2.6.1\Lib\config\* %_DEST%\lib%_EXT%\python\config\* -..\%__SRC%\misc\build\Python-2.6.1\Lib\bsddb\* %_DEST%\lib%_EXT%\python\bsddb\* -..\%__SRC%\misc\build\Python-2.6.1\Lib\logging\* %_DEST%\lib%_EXT%\python\logging\* -..\%__SRC%\misc\build\Python-2.6.1\Lib\idlelib\* %_DEST%\lib%_EXT%\python\idlelib\* -..\%__SRC%\misc\build\Python-2.6.1\Lib\idlelib\Icons\* %_DEST%\lib%_EXT%\python\idlelib\Icons\* -..\%__SRC%\misc\build\Python-2.6.1\Lib\wsgiref\* %_DEST%\lib%_EXT%\python\wsgiref\* -..\%__SRC%\misc\build\Python-2.6.1\Lib\json\* %_DEST%\lib%_EXT%\python\json\* -..\%__SRC%\misc\build\Python-2.6.1\Lib\lib2to3\* %_DEST%\lib%_EXT%\python\lib2to3\* -..\%__SRC%\misc\build\Python-2.6.1\Lib\lib2to3\fixes\* %_DEST%\lib%_EXT%\python\lib2to3\fixes\* -..\%__SRC%\misc\build\Python-2.6.1\Lib\lib2to3\pgen2\* %_DEST%\lib%_EXT%\python\lib2to3\pgen2\* -..\%__SRC%\misc\build\Python-2.6.1\Lib\sqlite3\* %_DEST%\lib%_EXT%\python\sqlite3\* -..\%__SRC%\misc\build\Python-2.6.1\Lib\ctypes\* %_DEST%\lib%_EXT%\python\ctypes\* -..\%__SRC%\misc\build\Python-2.6.1\Lib\ctypes\macholib\* %_DEST%\lib%_EXT%\python\ctypes\macholib\* -..\%__SRC%\misc\build\Python-2.6.1\Lib\xml\etree\* %_DEST%\lib%_EXT%\python\xml\etree +mkdir: %_DEST%\lib%_EXT%\python\importlib +mkdir: %_DEST%\lib%_EXT%\python\multiprocessing +mkdir: %_DEST%\lib%_EXT%\python\multiprocessing\dummy +mkdir: %_DEST%\lib%_EXT%\python\unittest +mkdir: %_DEST%\lib%_EXT%\python\python2.7\config + +..\%__SRC%\misc\build\Python-2.7.3\Lib\* %_DEST%\lib%_EXT%\python\* +..\%__SRC%\misc\build\Python-2.7.3\Lib\lib-old\* %_DEST%\lib%_EXT%\python\lib-old\* +..\%__SRC%\misc\build\Python-2.7.3\Lib\lib-tk\* %_DEST%\lib%_EXT%\python\lib-tk\* +..\%__SRC%\misc\build\Python-2.7.3\Lib\site-packages\* %_DEST%\lib%_EXT%\python\site-packages\* +..\%__SRC%\misc\build\Python-2.7.3\Lib\encodings\* %_DEST%\lib%_EXT%\python\encodings\* +..\%__SRC%\misc\build\Python-2.7.3\Lib\email\* %_DEST%\lib%_EXT%\python\email\* +..\%__SRC%\misc\build\Python-2.7.3\Lib\email\mime\* %_DEST%\lib%_EXT%\python\email\mime\* +..\%__SRC%\misc\build\Python-2.7.3\Lib\compiler\* %_DEST%\lib%_EXT%\python\compiler\* +..\%__SRC%\misc\build\Python-2.7.3\Lib\hotshot\* %_DEST%\lib%_EXT%\python\hotshot\* +..\%__SRC%\misc\build\Python-2.7.3\Lib\distutils\* %_DEST%\lib%_EXT%\python\distutils\* +..\%__SRC%\misc\build\Python-2.7.3\Lib\distutils\command\* %_DEST%\lib%_EXT%\python\distutils\command\* +..\%__SRC%\misc\build\Python-2.7.3\Lib\xml\* %_DEST%\lib%_EXT%\python\xml\* +..\%__SRC%\misc\build\Python-2.7.3\Lib\xml\dom\* %_DEST%\lib%_EXT%\python\xml\dom\* +..\%__SRC%\misc\build\Python-2.7.3\Lib\xml\parsers\* %_DEST%\lib%_EXT%\python\xml\parsers\* +..\%__SRC%\misc\build\Python-2.7.3\Lib\xml\sax\* %_DEST%\lib%_EXT%\python\xml\sax\* +..\%__SRC%\misc\build\Python-2.7.3\Lib\curses\* %_DEST%\lib%_EXT%\python\curses\* +..\%__SRC%\misc\build\Python-2.7.3\Lib\plat-linux2\* %_DEST%\lib%_EXT%\python\plat-linux2\* +..\%__SRC%\misc\build\Python-2.7.3\Lib\config\* %_DEST%\lib%_EXT%\python\config\* +..\%__SRC%\misc\build\Python-2.7.3\Lib\bsddb\* %_DEST%\lib%_EXT%\python\bsddb\* +..\%__SRC%\misc\build\Python-2.7.3\Lib\logging\* %_DEST%\lib%_EXT%\python\logging\* +..\%__SRC%\misc\build\Python-2.7.3\Lib\idlelib\* %_DEST%\lib%_EXT%\python\idlelib\* +..\%__SRC%\misc\build\Python-2.7.3\Lib\idlelib\Icons\* %_DEST%\lib%_EXT%\python\idlelib\Icons\* +..\%__SRC%\misc\build\Python-2.7.3\Lib\wsgiref\* %_DEST%\lib%_EXT%\python\wsgiref\* +..\%__SRC%\misc\build\Python-2.7.3\Lib\json\* %_DEST%\lib%_EXT%\python\json\* +..\%__SRC%\misc\build\Python-2.7.3\Lib\lib2to3\* %_DEST%\lib%_EXT%\python\lib2to3\* +..\%__SRC%\misc\build\Python-2.7.3\Lib\lib2to3\fixes\* %_DEST%\lib%_EXT%\python\lib2to3\fixes\* +..\%__SRC%\misc\build\Python-2.7.3\Lib\lib2to3\pgen2\* %_DEST%\lib%_EXT%\python\lib2to3\pgen2\* +..\%__SRC%\misc\build\Python-2.7.3\Lib\sqlite3\* %_DEST%\lib%_EXT%\python\sqlite3\* +..\%__SRC%\misc\build\Python-2.7.3\Lib\ctypes\* %_DEST%\lib%_EXT%\python\ctypes\* +..\%__SRC%\misc\build\Python-2.7.3\Lib\ctypes\macholib\* %_DEST%\lib%_EXT%\python\ctypes\macholib\* +..\%__SRC%\misc\build\Python-2.7.3\Lib\xml\etree\* %_DEST%\lib%_EXT%\python\xml\etree +..\%__SRC%\misc\build\Python-2.7.3\Lib\xml\etree\* %_DEST%\lib%_EXT%\python\xml\etree +..\%__SRC%\misc\build\Python-2.7.3\Lib\importlib\* %_DEST%\lib%_EXT%\python\importlib\* +..\%__SRC%\misc\build\Python-2.7.3\Lib\multiprocessing\* %_DEST%\lib%_EXT%\python\multiprocessing\* +..\%__SRC%\misc\build\Python-2.7.3\Lib\multiprocessing\dummy\* %_DEST%\lib%_EXT%\python\multiprocessing\dummy\* +..\%__SRC%\misc\build\Python-2.7.3\Lib\unittest\* %_DEST%\lib%_EXT%\python\unittest\* +..\%__SRC%\misc\build\Python-2.7.3\Makefile %_DEST%\lib%_EXT%\python\python2.7\config\Makefile ..\pyversion.mk %_DEST%\inc%_EXT%\pyversion.mk -..\%__SRC%\misc\build\Python-2.6.1\Include\* %_DEST%\inc%_EXT%\python\* +..\%__SRC%\misc\build\Python-2.7.3\Include\* %_DEST%\inc%_EXT%\python\* #unix ONLY ! ..\%__SRC%\misc\build\python-inst\bin\python %_DEST%\bin%_EXT%\python -..\%__SRC%\misc\build\Python-2.6.1\pyconfig.h %_DEST%\inc%_EXT%\python\pyconfig.h -..\%__SRC%\misc\build\python-inst\lib\python2.6\lib-dynload\* %_DEST%\lib%_EXT%\python\lib-dynload\* -..\%__SRC%\misc\build\python-inst\bin\python2.6 %_DEST%\bin%_EXT%\python -..\%__SRC%\misc\build\python-inst\lib\libpython2.6.so.1.0 %_DEST%\lib%_EXT%\libpython2.6.so.1.0 -symlink: %_DEST%\lib%_EXT%\libpython2.6.so.1.0 %_DEST%\lib%_EXT%\libpython2.6.so +..\%__SRC%\misc\build\Python-2.7.3\pyconfig.h %_DEST%\inc%_EXT%\python\pyconfig.h +..\%__SRC%\misc\build\python-inst\lib\python2.7\lib-dynload\* %_DEST%\lib%_EXT%\python\lib-dynload\* +..\%__SRC%\misc\build\python-inst\bin\python2.7 %_DEST%\bin%_EXT%\python +..\%__SRC%\misc\build\python-inst\lib\libpython2.7.so.1.0 %_DEST%\lib%_EXT%\libpython2.7.so.1.0 +symlink: %_DEST%\lib%_EXT%\libpython2.7.so.1.0 %_DEST%\lib%_EXT%\libpython2.7.so # MacOS X -..\%__SRC%\misc\build\python-inst\lib\libpython2.6.dylib %_DEST%\lib%_EXT%\libpython2.6.dylib +..\%__SRC%\misc\build\python-inst\lib\libpython2.7.dylib %_DEST%\lib%_EXT%\libpython2.7.dylib #MingW ONLY ! ..\%__SRC%\misc\build\python-inst\bin\python.exe %_DEST%\bin%_EXT%\python.exe -..\%__SRC%\misc\build\Python-2.6.1\libpython2.6.dll %_DEST%\bin%_EXT%\libpython2.6.dll +..\%__SRC%\misc\build\Python-2.7.3\libpython2.7.dll %_DEST%\bin%_EXT%\libpython2.7.dll # WINDOWS ONLY ! ..\%__SRC%\misc\build\pyconfig.h %_DEST%\inc%_EXT%\python\pyconfig.h -..\%__SRC%\misc\build\Python-2.6.1\PCbuild\python.exe %_DEST%\bin%_EXT%\python.exe -..\%__SRC%\misc\build\Python-2.6.1\PCbuild\python26.dll %_DEST%\bin%_EXT%\python26.dll -..\%__SRC%\misc\build\Python-2.6.1\PCbuild\python26.lib %_DEST%\lib%_EXT%\python26.lib -..\%__SRC%\misc\build\Python-2.6.1\PCbuild\_socket.pyd %_DEST%\lib%_EXT%\python\_socket.pyd -..\%__SRC%\misc\build\Python-2.6.1\PCbuild\_ssl.pyd %_DEST%\lib%_EXT%\python\_ssl.pyd -..\%__SRC%\misc\build\Python-2.6.1\PCbuild\select.pyd %_DEST%\lib%_EXT%\python\select.pyd -..\%__SRC%\misc\build\Python-2.6.1\PCbuild\unicodedata.pyd %_DEST%\lib%_EXT%\python\unicodedata.pyd -..\%__SRC%\misc\build\Python-2.6.1\PCbuild\winsound.pyd %_DEST%\lib%_EXT%\python\winsound.pyd -..\%__SRC%\misc\build\Python-2.6.1\PCbuild\pyexpat.pyd %_DEST%\lib%_EXT%\python\pyexpat.pyd -..\%__SRC%\misc\build\Python-2.6.1\PCbuild\_testcapi.pyd %_DEST%\lib%_EXT%\python\_testcapi.pyd -..\%__SRC%\misc\build\Python-2.6.1\PCbuild\_multiprocessing.pyd %_DEST%\lib%_EXT%\python\_multiprocessing.pyd -..\%__SRC%\misc\build\Python-2.6.1\PCbuild\_msi.pyd %_DEST%\lib%_EXT%\python\_msi.pyd -..\%__SRC%\misc\build\Python-2.6.1\PCbuild\_elementtree.pyd %_DEST%\lib%_EXT%\python\_elementtree.pyd -..\%__SRC%\misc\build\Python-2.6.1\PCbuild\_ctypes.pyd %_DEST%\lib%_EXT%\python\_ctypes.pyd +..\%__SRC%\misc\build\Python-2.7.3\PCbuild\python.exe %_DEST%\bin%_EXT%\python.exe +..\%__SRC%\misc\build\Python-2.7.3\PCbuild\python27.dll %_DEST%\bin%_EXT%\python27.dll +..\%__SRC%\misc\build\Python-2.7.3\PCbuild\python27.lib %_DEST%\lib%_EXT%\python27.lib +..\%__SRC%\misc\build\Python-2.7.3\PCbuild\_socket.pyd %_DEST%\lib%_EXT%\python\_socket.pyd +..\%__SRC%\misc\build\Python-2.7.3\PCbuild\_ssl.pyd %_DEST%\lib%_EXT%\python\_ssl.pyd +..\%__SRC%\misc\build\Python-2.7.3\PCbuild\select.pyd %_DEST%\lib%_EXT%\python\select.pyd +..\%__SRC%\misc\build\Python-2.7.3\PCbuild\unicodedata.pyd %_DEST%\lib%_EXT%\python\unicodedata.pyd +..\%__SRC%\misc\build\Python-2.7.3\PCbuild\winsound.pyd %_DEST%\lib%_EXT%\python\winsound.pyd +..\%__SRC%\misc\build\Python-2.7.3\PCbuild\pyexpat.pyd %_DEST%\lib%_EXT%\python\pyexpat.pyd +..\%__SRC%\misc\build\Python-2.7.3\PCbuild\_testcapi.pyd %_DEST%\lib%_EXT%\python\_testcapi.pyd +..\%__SRC%\misc\build\Python-2.7.3\PCbuild\_multiprocessing.pyd %_DEST%\lib%_EXT%\python\_multiprocessing.pyd +..\%__SRC%\misc\build\Python-2.7.3\PCbuild\_msi.pyd %_DEST%\lib%_EXT%\python\_msi.pyd +..\%__SRC%\misc\build\Python-2.7.3\PCbuild\_elementtree.pyd %_DEST%\lib%_EXT%\python\_elementtree.pyd +..\%__SRC%\misc\build\Python-2.7.3\PCbuild\_ctypes.pyd %_DEST%\lib%_EXT%\python\_ctypes.pyd #linklib: libpython.so.*.*.* Copied: incubator/ooo/symphony/trunk/main/python/python-2.7.3-pcbuild.patch (from r1366182, incubator/ooo/trunk/main/python/python-2.7.3-pcbuild.patch) URL: http://svn.apache.org/viewvc/incubator/ooo/symphony/trunk/main/python/python-2.7.3-pcbuild.patch?p2=incubator/ooo/symphony/trunk/main/python/python-2.7.3-pcbuild.patch&p1=incubator/ooo/trunk/main/python/python-2.7.3-pcbuild.patch&r1=1366182&r2=1370096&rev=1370096&view=diff ============================================================================== --- incubator/ooo/trunk/main/python/python-2.7.3-pcbuild.patch (original) +++ incubator/ooo/symphony/trunk/main/python/python-2.7.3-pcbuild.patch Tue Aug 7 01:26:19 2012 @@ -1,6 +1,6 @@ diff -u misc/Python-2.7.3/PCbuild/_bsddb.vcproj misc/build/Python-2.7.3/PCbuild/_bsddb.vcproj --- misc/Python-2.7.3/PCbuild/_bsddb.vcproj 2012-04-09 18:07:35.000000000 -0500 -+++ misc/build/Python-2.7.3/PCbuild/_bsddb.vcproj 2012-07-25 18:42:53.000000000 -0500 ++++ misc/build/Python-2.7.3/PCbuild/_bsddb.vcproj 2012-07-30 20:59:37.000000000 -0500 @@ -56,6 +56,7 @@ /> diff -u misc/Python-2.7.3/PCbuild/pythonw.vcproj misc/build/Python-2.7.3/PCbuild/pythonw.vcproj --- misc/Python-2.7.3/PCbuild/pythonw.vcproj 2012-04-09 18:07:35.000000000 -0500 -+++ misc/build/Python-2.7.3/PCbuild/pythonw.vcproj 2012-07-25 18:42:54.000000000 -0500 ++++ misc/build/Python-2.7.3/PCbuild/pythonw.vcproj 2012-07-30 20:59:37.000000000 -0500 @@ -66,6 +66,7 @@ StackReserveSize="2000000" BaseAddress="0x1d000000" @@ -1336,7 +1443,7 @@ diff -u misc/Python-2.7.3/PCbuild/python Name="VCALinkTool" diff -u misc/Python-2.7.3/PCbuild/select.vcproj misc/build/Python-2.7.3/PCbuild/select.vcproj --- misc/Python-2.7.3/PCbuild/select.vcproj 2012-04-09 18:07:35.000000000 -0500 -+++ misc/build/Python-2.7.3/PCbuild/select.vcproj 2012-07-25 18:42:54.000000000 -0500 ++++ misc/build/Python-2.7.3/PCbuild/select.vcproj 2012-07-30 20:59:37.000000000 -0500 @@ -57,6 +57,7 @@ AdditionalDependencies="ws2_32.lib" IgnoreDefaultLibraryNames="libc" @@ -1403,7 +1510,7 @@ diff -u misc/Python-2.7.3/PCbuild/select Name="VCALinkTool" diff -u misc/Python-2.7.3/PCbuild/sqlite3.vcproj misc/build/Python-2.7.3/PCbuild/sqlite3.vcproj --- misc/Python-2.7.3/PCbuild/sqlite3.vcproj 2012-04-09 18:07:35.000000000 -0500 -+++ misc/build/Python-2.7.3/PCbuild/sqlite3.vcproj 2012-07-25 18:42:54.000000000 -0500 ++++ misc/build/Python-2.7.3/PCbuild/sqlite3.vcproj 2012-07-30 20:59:37.000000000 -0500 @@ -56,6 +56,7 @@ > 8) ++ ++def __bswap64(_x): return \ ++ ++def __bswap32(_x): return \ ++ ++def __bswap16(_x): return \ ++ ++def __htonl(x): return __bswap32(x) ++ ++def __htons(x): return __bswap16(x) ++ ++def __ntohl(x): return __bswap32(x) ++ ++def __ntohs(x): return __bswap16(x) ++ ++IPPROTO_IP = 0 ++IPPROTO_ICMP = 1 ++IPPROTO_TCP = 6 ++IPPROTO_UDP = 17 ++ ++# Included from sys/_sockaddr_storage.h ++def htonl(x): return __htonl(x) ++ ++def htons(x): return __htons(x) ++ ++def ntohl(x): return __ntohl(x) ++ ++def ntohs(x): return __ntohs(x) ++ ++IPPROTO_RAW = 255 ++INET_ADDRSTRLEN = 16 ++IPPROTO_HOPOPTS = 0 ++IPPROTO_IGMP = 2 ++IPPROTO_GGP = 3 ++IPPROTO_IPV4 = 4 ++IPPROTO_IPIP = IPPROTO_IPV4 ++IPPROTO_ST = 7 ++IPPROTO_EGP = 8 ++IPPROTO_PIGP = 9 ++IPPROTO_RCCMON = 10 ++IPPROTO_NVPII = 11 ++IPPROTO_PUP = 12 ++IPPROTO_ARGUS = 13 ++IPPROTO_EMCON = 14 ++IPPROTO_XNET = 15 ++IPPROTO_CHAOS = 16 ++IPPROTO_MUX = 18 ++IPPROTO_MEAS = 19 ++IPPROTO_HMP = 20 ++IPPROTO_PRM = 21 ++IPPROTO_IDP = 22 ++IPPROTO_TRUNK1 = 23 ++IPPROTO_TRUNK2 = 24 ++IPPROTO_LEAF1 = 25 ++IPPROTO_LEAF2 = 26 ++IPPROTO_RDP = 27 ++IPPROTO_IRTP = 28 ++IPPROTO_TP = 29 ++IPPROTO_BLT = 30 ++IPPROTO_NSP = 31 ++IPPROTO_INP = 32 ++IPPROTO_SEP = 33 ++IPPROTO_3PC = 34 ++IPPROTO_IDPR = 35 ++IPPROTO_XTP = 36 ++IPPROTO_DDP = 37 ++IPPROTO_CMTP = 38 ++IPPROTO_TPXX = 39 ++IPPROTO_IL = 40 ++IPPROTO_IPV6 = 41 ++IPPROTO_SDRP = 42 ++IPPROTO_ROUTING = 43 ++IPPROTO_FRAGMENT = 44 ++IPPROTO_IDRP = 45 ++IPPROTO_RSVP = 46 ++IPPROTO_GRE = 47 ++IPPROTO_MHRP = 48 ++IPPROTO_BHA = 49 ++IPPROTO_ESP = 50 ++IPPROTO_AH = 51 ++IPPROTO_INLSP = 52 ++IPPROTO_SWIPE = 53 ++IPPROTO_NHRP = 54 ++IPPROTO_MOBILE = 55 ++IPPROTO_TLSP = 56 ++IPPROTO_SKIP = 57 ++IPPROTO_ICMPV6 = 58 ++IPPROTO_NONE = 59 ++IPPROTO_DSTOPTS = 60 ++IPPROTO_AHIP = 61 ++IPPROTO_CFTP = 62 ++IPPROTO_HELLO = 63 ++IPPROTO_SATEXPAK = 64 ++IPPROTO_KRYPTOLAN = 65 ++IPPROTO_RVD = 66 ++IPPROTO_IPPC = 67 ++IPPROTO_ADFS = 68 ++IPPROTO_SATMON = 69 ++IPPROTO_VISA = 70 ++IPPROTO_IPCV = 71 ++IPPROTO_CPNX = 72 ++IPPROTO_CPHB = 73 ++IPPROTO_WSN = 74 ++IPPROTO_PVP = 75 ++IPPROTO_BRSATMON = 76 ++IPPROTO_ND = 77 ++IPPROTO_WBMON = 78 ++IPPROTO_WBEXPAK = 79 ++IPPROTO_EON = 80 ++IPPROTO_VMTP = 81 ++IPPROTO_SVMTP = 82 ++IPPROTO_VINES = 83 ++IPPROTO_TTP = 84 ++IPPROTO_IGP = 85 ++IPPROTO_DGP = 86 ++IPPROTO_TCF = 87 ++IPPROTO_IGRP = 88 ++IPPROTO_OSPFIGP = 89 ++IPPROTO_SRPC = 90 ++IPPROTO_LARP = 91 ++IPPROTO_MTP = 92 ++IPPROTO_AX25 = 93 ++IPPROTO_IPEIP = 94 ++IPPROTO_MICP = 95 ++IPPROTO_SCCSP = 96 ++IPPROTO_ETHERIP = 97 ++IPPROTO_ENCAP = 98 ++IPPROTO_APES = 99 ++IPPROTO_GMTP = 100 ++IPPROTO_IPCOMP = 108 ++IPPROTO_SCTP = 132 ++IPPROTO_MH = 135 ++IPPROTO_PIM = 103 ++IPPROTO_CARP = 112 ++IPPROTO_PGM = 113 ++IPPROTO_PFSYNC = 240 ++IPPROTO_OLD_DIVERT = 254 ++IPPROTO_MAX = 256 ++IPPROTO_DONE = 257 ++IPPROTO_DIVERT = 258 ++IPPROTO_SEND = 259 ++IPPROTO_SPACER = 32767 ++IPPORT_RESERVED = 1024 ++IPPORT_EPHEMERALFIRST = 10000 ++IPPORT_EPHEMERALLAST = 65535 ++IPPORT_HIFIRSTAUTO = 49152 ++IPPORT_HILASTAUTO = 65535 ++IPPORT_RESERVEDSTART = 600 ++IPPORT_MAX = 65535 ++def IN_CLASSA(i): return (((u_int32_t)(i) & 0x80000000) == 0) ++ ++IN_CLASSA_NET = 0xff000000 ++IN_CLASSA_NSHIFT = 24 ++IN_CLASSA_HOST = 0x00ffffff ++IN_CLASSA_MAX = 128 ++def IN_CLASSB(i): return (((u_int32_t)(i) & 0xc0000000) == 0x80000000) ++ ++IN_CLASSB_NET = 0xffff0000 ++IN_CLASSB_NSHIFT = 16 ++IN_CLASSB_HOST = 0x0000ffff ++IN_CLASSB_MAX = 65536 ++def IN_CLASSC(i): return (((u_int32_t)(i) & 0xe0000000) == 0xc0000000) ++ ++IN_CLASSC_NET = 0xffffff00 ++IN_CLASSC_NSHIFT = 8 ++IN_CLASSC_HOST = 0x000000ff ++def IN_CLASSD(i): return (((u_int32_t)(i) & 0xf0000000) == 0xe0000000) ++ ++IN_CLASSD_NET = 0xf0000000 ++IN_CLASSD_NSHIFT = 28 ++IN_CLASSD_HOST = 0x0fffffff ++def IN_MULTICAST(i): return IN_CLASSD(i) ++ ++def IN_EXPERIMENTAL(i): return (((u_int32_t)(i) & 0xf0000000) == 0xf0000000) ++ ++def IN_BADCLASS(i): return (((u_int32_t)(i) & 0xf0000000) == 0xf0000000) ++ ++def IN_LINKLOCAL(i): return (((u_int32_t)(i) & 0xffff0000) == 0xa9fe0000) ++ ++def IN_LOOPBACK(i): return (((u_int32_t)(i) & 0xff000000) == 0x7f000000) ++ ++def IN_ZERONET(i): return (((u_int32_t)(i) & 0xff000000) == 0) ++ ++def IN_LOCAL_GROUP(i): return (((u_int32_t)(i) & 0xffffff00) == 0xe0000000) ++ ++INADDR_NONE = 0xffffffff ++IN_LOOPBACKNET = 127 ++IP_OPTIONS = 1 ++IP_HDRINCL = 2 ++IP_TOS = 3 ++IP_TTL = 4 ++IP_RECVOPTS = 5 ++IP_RECVRETOPTS = 6 ++IP_RECVDSTADDR = 7 ++IP_SENDSRCADDR = IP_RECVDSTADDR ++IP_RETOPTS = 8 ++IP_MULTICAST_IF = 9 ++IP_MULTICAST_TTL = 10 ++IP_MULTICAST_LOOP = 11 ++IP_ADD_MEMBERSHIP = 12 ++IP_DROP_MEMBERSHIP = 13 ++IP_MULTICAST_VIF = 14 ++IP_RSVP_ON = 15 ++IP_RSVP_OFF = 16 ++IP_RSVP_VIF_ON = 17 ++IP_RSVP_VIF_OFF = 18 ++IP_PORTRANGE = 19 ++IP_RECVIF = 20 ++IP_IPSEC_POLICY = 21 ++IP_FAITH = 22 ++IP_ONESBCAST = 23 ++IP_BINDANY = 24 ++IP_FW_TABLE_ADD = 40 ++IP_FW_TABLE_DEL = 41 ++IP_FW_TABLE_FLUSH = 42 ++IP_FW_TABLE_GETSIZE = 43 ++IP_FW_TABLE_LIST = 44 ++IP_FW3 = 48 ++IP_DUMMYNET3 = 49 ++IP_FW_ADD = 50 ++IP_FW_DEL = 51 ++IP_FW_FLUSH = 52 ++IP_FW_ZERO = 53 ++IP_FW_GET = 54 ++IP_FW_RESETLOG = 55 ++IP_FW_NAT_CFG = 56 ++IP_FW_NAT_DEL = 57 ++IP_FW_NAT_GET_CONFIG = 58 ++IP_FW_NAT_GET_LOG = 59 ++IP_DUMMYNET_CONFIGURE = 60 ++IP_DUMMYNET_DEL = 61 ++IP_DUMMYNET_FLUSH = 62 ++IP_DUMMYNET_GET = 64 ++IP_RECVTTL = 65 ++IP_MINTTL = 66 ++IP_DONTFRAG = 67 ++IP_ADD_SOURCE_MEMBERSHIP = 70 ++IP_DROP_SOURCE_MEMBERSHIP = 71 ++IP_BLOCK_SOURCE = 72 ++IP_UNBLOCK_SOURCE = 73 ++IP_MSFILTER = 74 ++MCAST_JOIN_GROUP = 80 ++MCAST_LEAVE_GROUP = 81 ++MCAST_JOIN_SOURCE_GROUP = 82 ++MCAST_LEAVE_SOURCE_GROUP = 83 ++MCAST_BLOCK_SOURCE = 84 ++MCAST_UNBLOCK_SOURCE = 85 ++IP_DEFAULT_MULTICAST_TTL = 1 ++IP_DEFAULT_MULTICAST_LOOP = 1 ++IP_MIN_MEMBERSHIPS = 31 ++IP_MAX_MEMBERSHIPS = 4095 ++IP_MAX_SOURCE_FILTER = 1024 ++IP_MAX_GROUP_SRC_FILTER = 512 ++IP_MAX_SOCK_SRC_FILTER = 128 ++IP_MAX_SOCK_MUTE_FILTER = 128 ++MCAST_UNDEFINED = 0 ++MCAST_INCLUDE = 1 ++MCAST_EXCLUDE = 2 ++IP_PORTRANGE_DEFAULT = 0 ++IP_PORTRANGE_HIGH = 1 ++IP_PORTRANGE_LOW = 2 ++IPPROTO_MAXID = (IPPROTO_AH + 1) ++IPCTL_FORWARDING = 1 ++IPCTL_SENDREDIRECTS = 2 ++IPCTL_DEFTTL = 3 ++IPCTL_DEFMTU = 4 ++IPCTL_RTEXPIRE = 5 ++IPCTL_RTMINEXPIRE = 6 ++IPCTL_RTMAXCACHE = 7 ++IPCTL_SOURCEROUTE = 8 ++IPCTL_DIRECTEDBROADCAST = 9 ++IPCTL_INTRQMAXLEN = 10 ++IPCTL_INTRQDROPS = 11 ++IPCTL_STATS = 12 ++IPCTL_ACCEPTSOURCEROUTE = 13 ++IPCTL_FASTFORWARDING = 14 ++IPCTL_KEEPFAITH = 15 ++IPCTL_GIF_TTL = 16 ++IPCTL_MAXID = 17 ++def in_nullhost(x): return ((x).s_addr == INADDR_ANY) ++ ++def in_allhosts(x): return ((x).s_addr == htonl(INADDR_ALLHOSTS_GROUP)) ++ ++ ++# Included from netinet6/in6.h ++__KAME_VERSION = "FreeBSD" ++IPV6PORT_RESERVED = 1024 ++IPV6PORT_ANONMIN = 49152 ++IPV6PORT_ANONMAX = 65535 ++IPV6PORT_RESERVEDMIN = 600 ++IPV6PORT_RESERVEDMAX = (IPV6PORT_RESERVED-1) ++INET6_ADDRSTRLEN = 46 ++IPV6_ADDR_INT32_ONE = 1 ++IPV6_ADDR_INT32_TWO = 2 ++IPV6_ADDR_INT32_MNL = 0xff010000 ++IPV6_ADDR_INT32_MLL = 0xff020000 ++IPV6_ADDR_INT32_SMP = 0x0000ffff ++IPV6_ADDR_INT16_ULL = 0xfe80 ++IPV6_ADDR_INT16_USL = 0xfec0 ++IPV6_ADDR_INT16_MLL = 0xff02 ++IPV6_ADDR_INT32_ONE = 0x01000000 ++IPV6_ADDR_INT32_TWO = 0x02000000 ++IPV6_ADDR_INT32_MNL = 0x000001ff ++IPV6_ADDR_INT32_MLL = 0x000002ff ++IPV6_ADDR_INT32_SMP = 0xffff0000 ++IPV6_ADDR_INT16_ULL = 0x80fe ++IPV6_ADDR_INT16_USL = 0xc0fe ++IPV6_ADDR_INT16_MLL = 0x02ff ++def IN6_IS_ADDR_UNSPECIFIED(a): return \ ++ ++def IN6_IS_ADDR_LOOPBACK(a): return \ ++ ++def IN6_IS_ADDR_V4COMPAT(a): return \ ++ ++def IN6_IS_ADDR_V4MAPPED(a): return \ ++ ++IPV6_ADDR_SCOPE_NODELOCAL = 0x01 ++IPV6_ADDR_SCOPE_INTFACELOCAL = 0x01 ++IPV6_ADDR_SCOPE_LINKLOCAL = 0x02 ++IPV6_ADDR_SCOPE_SITELOCAL = 0x05 ++IPV6_ADDR_SCOPE_ORGLOCAL = 0x08 ++IPV6_ADDR_SCOPE_GLOBAL = 0x0e ++__IPV6_ADDR_SCOPE_NODELOCAL = 0x01 ++__IPV6_ADDR_SCOPE_INTFACELOCAL = 0x01 ++__IPV6_ADDR_SCOPE_LINKLOCAL = 0x02 ++__IPV6_ADDR_SCOPE_SITELOCAL = 0x05 ++__IPV6_ADDR_SCOPE_ORGLOCAL = 0x08 ++__IPV6_ADDR_SCOPE_GLOBAL = 0x0e ++def IN6_IS_ADDR_LINKLOCAL(a): return \ ++ ++def IN6_IS_ADDR_SITELOCAL(a): return \ ++ ++def IN6_IS_ADDR_MC_NODELOCAL(a): return \ ++ ++def IN6_IS_ADDR_MC_INTFACELOCAL(a): return \ ++ ++def IN6_IS_ADDR_MC_LINKLOCAL(a): return \ ++ ++def IN6_IS_ADDR_MC_SITELOCAL(a): return \ ++ ++def IN6_IS_ADDR_MC_ORGLOCAL(a): return \ ++ ++def IN6_IS_ADDR_MC_GLOBAL(a): return \ ++ ++def IN6_IS_ADDR_MC_NODELOCAL(a): return \ ++ ++def IN6_IS_ADDR_MC_LINKLOCAL(a): return \ ++ ++def IN6_IS_ADDR_MC_SITELOCAL(a): return \ ++ ++def IN6_IS_ADDR_MC_ORGLOCAL(a): return \ ++ ++def IN6_IS_ADDR_MC_GLOBAL(a): return \ ++ ++def IN6_IS_SCOPE_LINKLOCAL(a): return \ ++ ++def IN6_IS_SCOPE_EMBED(a): return \ ++ ++def IFA6_IS_DEPRECATED(a): return \ ++ ++def IFA6_IS_INVALID(a): return \ ++ ++IPV6_OPTIONS = 1 ++IPV6_RECVOPTS = 5 ++IPV6_RECVRETOPTS = 6 ++IPV6_RECVDSTADDR = 7 ++IPV6_RETOPTS = 8 ++IPV6_SOCKOPT_RESERVED1 = 3 ++IPV6_UNICAST_HOPS = 4 ++IPV6_MULTICAST_IF = 9 ++IPV6_MULTICAST_HOPS = 10 ++IPV6_MULTICAST_LOOP = 11 ++IPV6_JOIN_GROUP = 12 ++IPV6_LEAVE_GROUP = 13 ++IPV6_PORTRANGE = 14 ++ICMP6_FILTER = 18 ++IPV6_2292PKTINFO = 19 ++IPV6_2292HOPLIMIT = 20 ++IPV6_2292NEXTHOP = 21 ++IPV6_2292HOPOPTS = 22 ++IPV6_2292DSTOPTS = 23 ++IPV6_2292RTHDR = 24 ++IPV6_2292PKTOPTIONS = 25 ++IPV6_CHECKSUM = 26 ++IPV6_V6ONLY = 27 ++IPV6_BINDV6ONLY = IPV6_V6ONLY ++IPV6_IPSEC_POLICY = 28 ++IPV6_FAITH = 29 ++IPV6_FW_ADD = 30 ++IPV6_FW_DEL = 31 ++IPV6_FW_FLUSH = 32 ++IPV6_FW_ZERO = 33 ++IPV6_FW_GET = 34 ++IPV6_RTHDRDSTOPTS = 35 ++IPV6_RECVPKTINFO = 36 ++IPV6_RECVHOPLIMIT = 37 ++IPV6_RECVRTHDR = 38 ++IPV6_RECVHOPOPTS = 39 ++IPV6_RECVDSTOPTS = 40 ++IPV6_RECVRTHDRDSTOPTS = 41 ++IPV6_USE_MIN_MTU = 42 ++IPV6_RECVPATHMTU = 43 ++IPV6_PATHMTU = 44 ++IPV6_REACHCONF = 45 ++IPV6_PKTINFO = 46 ++IPV6_HOPLIMIT = 47 ++IPV6_NEXTHOP = 48 ++IPV6_HOPOPTS = 49 ++IPV6_DSTOPTS = 50 ++IPV6_RTHDR = 51 ++IPV6_PKTOPTIONS = 52 ++IPV6_RECVTCLASS = 57 ++IPV6_AUTOFLOWLABEL = 59 ++IPV6_TCLASS = 61 ++IPV6_DONTFRAG = 62 ++IPV6_PREFER_TEMPADDR = 63 ++IPV6_BINDANY = 64 ++IPV6_MSFILTER = 74 ++IPV6_RTHDR_LOOSE = 0 ++IPV6_RTHDR_STRICT = 1 ++IPV6_RTHDR_TYPE_0 = 0 ++IPV6_DEFAULT_MULTICAST_HOPS = 1 ++IPV6_DEFAULT_MULTICAST_LOOP = 1 ++IPV6_MIN_MEMBERSHIPS = 31 ++IPV6_MAX_MEMBERSHIPS = 4095 ++IPV6_MAX_GROUP_SRC_FILTER = 512 ++IPV6_MAX_SOCK_SRC_FILTER = 128 ++IPV6_PORTRANGE_DEFAULT = 0 ++IPV6_PORTRANGE_HIGH = 1 ++IPV6_PORTRANGE_LOW = 2 ++IPV6PROTO_MAXID = (IPPROTO_PIM + 1) ++IPV6CTL_FORWARDING = 1 ++IPV6CTL_SENDREDIRECTS = 2 ++IPV6CTL_DEFHLIM = 3 ++IPV6CTL_DEFMTU = 4 ++IPV6CTL_FORWSRCRT = 5 ++IPV6CTL_STATS = 6 ++IPV6CTL_MRTSTATS = 7 ++IPV6CTL_MRTPROTO = 8 ++IPV6CTL_MAXFRAGPACKETS = 9 ++IPV6CTL_SOURCECHECK = 10 ++IPV6CTL_SOURCECHECK_LOGINT = 11 ++IPV6CTL_ACCEPT_RTADV = 12 ++IPV6CTL_KEEPFAITH = 13 ++IPV6CTL_LOG_INTERVAL = 14 ++IPV6CTL_HDRNESTLIMIT = 15 ++IPV6CTL_DAD_COUNT = 16 ++IPV6CTL_AUTO_FLOWLABEL = 17 ++IPV6CTL_DEFMCASTHLIM = 18 ++IPV6CTL_GIF_HLIM = 19 ++IPV6CTL_KAME_VERSION = 20 ++IPV6CTL_USE_DEPRECATED = 21 ++IPV6CTL_RR_PRUNE = 22 ++IPV6CTL_MAPPED_ADDR = 23 ++IPV6CTL_V6ONLY = 24 ++IPV6CTL_RTEXPIRE = 25 ++IPV6CTL_RTMINEXPIRE = 26 ++IPV6CTL_RTMAXCACHE = 27 ++IPV6CTL_USETEMPADDR = 32 ++IPV6CTL_TEMPPLTIME = 33 ++IPV6CTL_TEMPVLTIME = 34 ++IPV6CTL_AUTO_LINKLOCAL = 35 ++IPV6CTL_RIP6STATS = 36 ++IPV6CTL_PREFER_TEMPADDR = 37 ++IPV6CTL_ADDRCTLPOLICY = 38 ++IPV6CTL_USE_DEFAULTZONE = 39 ++IPV6CTL_MAXFRAGS = 41 ++IPV6CTL_IFQ = 42 ++IPV6CTL_ISATAPRTR = 43 ++IPV6CTL_MCAST_PMTU = 44 ++IPV6CTL_STEALTH = 45 ++ICMPV6CTL_ND6_ONLINKNSRFC4861 = 47 ++IPV6CTL_NO_RADR = 48 ++IPV6CTL_NORBIT_RAIF = 49 ++IPV6CTL_RFC6204W3 = 50 ++IPV6CTL_MAXID = 51 +--- misc/Python-2.7.3/Lib/plat-freebsd9/regen 1969-12-31 19:00:00.000000000 -0500 ++++ misc/build/Python-2.7.3/Lib/plat-freebsd9/regen 2012-08-01 18:55:27.000000000 -0500 +@@ -0,0 +1,3 @@ ++#! /bin/sh ++set -v ++python ../../Tools/scripts/h2py.py -i '(u_long)' /usr/include/netinet/in.h --- misc/Python-2.7.3/Lib/test/test_threading.py 2012-04-09 18:07:32.000000000 -0500 -+++ misc/build/Python-2.7.3/Lib/test/test_threading.py 2012-07-24 22:39:03.000000000 -0500 ++++ misc/build/Python-2.7.3/Lib/test/test_threading.py 2012-08-01 18:44:40.000000000 -0500 @@ -421,7 +421,7 @@ # #12316 and #11870), and fork() from a worker thread is known to trigger # problems with some operating systems (issue #3863): skip problematic tests @@ -11,9 +630,8 @@ diff -ru misc/Python-2.7.3/Lib/test/test 'os2emx') def _run_and_join(self, script): -diff -ru misc/Python-2.7.3/Modules/_ctypes/libffi/configure misc/build/Python-2.7.3/Modules/_ctypes/libffi/configure --- misc/Python-2.7.3/Modules/_ctypes/libffi/configure 2012-04-09 18:07:33.000000000 -0500 -+++ misc/build/Python-2.7.3/Modules/_ctypes/libffi/configure 2012-07-24 22:39:03.000000000 -0500 ++++ misc/build/Python-2.7.3/Modules/_ctypes/libffi/configure 2012-08-01 18:53:21.000000000 -0500 @@ -6289,7 +6289,7 @@ rm -rf conftest* ;; @@ -23,10 +641,92 @@ diff -ru misc/Python-2.7.3/Modules/_ctyp s390*-*linux*|s390*-*tpf*|sparc*-*linux*) # Find out which ABI we are using. echo 'int i;' > conftest.$ac_ext -diff -ru misc/Python-2.7.3/Python/thread_pthread.h misc/build/Python-2.7.3/Python/thread_pthread.h +@@ -11275,6 +11275,9 @@ + powerpc-*-freebsd*) + TARGET=POWERPC_FREEBSD; TARGETDIR=powerpc + ;; ++ powerpc64-*-freebsd*) ++ TARGET=POWERPC; TARGETDIR=powerpc ++ ;; + powerpc*-*-rtems*) + TARGET=POWERPC; TARGETDIR=powerpc + ;; +--- misc/Python-2.7.3/Modules/fcntlmodule.c 2012-04-09 18:07:34.000000000 -0500 ++++ misc/build/Python-2.7.3/Modules/fcntlmodule.c 2012-08-01 18:44:40.000000000 -0500 +@@ -97,20 +97,15 @@ + { + #define IOCTL_BUFSZ 1024 + int fd; +- /* In PyArg_ParseTuple below, we use the unsigned non-checked 'I' ++ /* In PyArg_ParseTuple below, we use the unsigned non-checked 'k' + format for the 'code' parameter because Python turns 0x8000000 + into either a large positive number (PyLong or PyInt on 64-bit + platforms) or a negative number on others (32-bit PyInt) + whereas the system expects it to be a 32bit bit field value + regardless of it being passed as an int or unsigned long on +- various platforms. See the termios.TIOCSWINSZ constant across +- platforms for an example of thise. +- +- If any of the 64bit platforms ever decide to use more than 32bits +- in their unsigned long ioctl codes this will break and need +- special casing based on the platform being built on. ++ various platforms. + */ +- unsigned int code; ++ unsigned long code; + int arg; + int ret; + char *str; +@@ -118,7 +113,7 @@ + int mutate_arg = 1; + char buf[IOCTL_BUFSZ+1]; /* argument plus NUL byte */ + +- if (PyArg_ParseTuple(args, "O&Iw#|i:ioctl", ++ if (PyArg_ParseTuple(args, "O&kw#|i:ioctl", + conv_descriptor, &fd, &code, + &str, &len, &mutate_arg)) { + char *arg; +@@ -169,7 +164,7 @@ + } + + PyErr_Clear(); +- if (PyArg_ParseTuple(args, "O&Is#:ioctl", ++ if (PyArg_ParseTuple(args, "O&ks#:ioctl", + conv_descriptor, &fd, &code, &str, &len)) { + if (len > IOCTL_BUFSZ) { + PyErr_SetString(PyExc_ValueError, +@@ -191,7 +186,7 @@ + PyErr_Clear(); + arg = 0; + if (!PyArg_ParseTuple(args, +- "O&I|i;ioctl requires a file or file descriptor," ++ "O&k|i;ioctl requires a file or file descriptor," + " an integer and optionally an integer or buffer argument", + conv_descriptor, &fd, &code, &arg)) { + return NULL; --- misc/Python-2.7.3/Python/thread_pthread.h 2012-04-09 18:07:35.000000000 -0500 -+++ misc/build/Python-2.7.3/Python/thread_pthread.h 2012-07-24 22:39:03.000000000 -0500 -@@ -56,7 +56,6 @@ ++++ misc/build/Python-2.7.3/Python/thread_pthread.h 2012-08-01 18:44:40.000000000 -0500 +@@ -38,13 +38,18 @@ + #endif + #endif + ++#ifdef __FreeBSD__ ++#include ++#endif ++ + /* The POSIX spec says that implementations supporting the sem_* + family of functions must indicate this by defining + _POSIX_SEMAPHORES. */ + #ifdef _POSIX_SEMAPHORES + /* On FreeBSD 4.x, _POSIX_SEMAPHORES is defined empty, so + we need to add 0 to make it work there as well. */ +-#if (_POSIX_SEMAPHORES+0) == -1 ++#if defined(__FreeBSD__) && __FreeBSD_version < 701104 && \ ++ (_POSIX_SEMAPHORES+0) == -1 + #define HAVE_BROKEN_POSIX_SEMAPHORES + #else + #include +@@ -56,7 +61,6 @@ in default setting. So the process scope is preferred to get enough number of threads to work. */ #ifdef __FreeBSD__ @@ -34,51 +734,34 @@ diff -ru misc/Python-2.7.3/Python/thread #if __FreeBSD_version >= 500000 && __FreeBSD_version < 504101 #undef PTHREAD_SYSTEM_SCHED_SUPPORTED #endif -@@ -161,6 +160,9 @@ +@@ -161,6 +165,7 @@ { pthread_t th; int status; -+#ifdef __FreeBSD__ -+ sigset_t set, oset; -+#endif ++ sigset_t set, oset; #if defined(THREAD_STACK_SIZE) || defined(PTHREAD_SYSTEM_SCHED_SUPPORTED) pthread_attr_t attrs; #endif -@@ -172,6 +174,9 @@ - if (!initialized) - PyThread_init_thread(); - -+#ifdef __FreeBSD__ -+ SET_THREAD_SIGMASK(SIG_SETMASK, &oset, NULL); -+#endif - #if defined(THREAD_STACK_SIZE) || defined(PTHREAD_SYSTEM_SCHED_SUPPORTED) - if (pthread_attr_init(&attrs) != 0) - return -1; -@@ -189,7 +194,10 @@ +@@ -189,6 +194,8 @@ #if defined(PTHREAD_SYSTEM_SCHED_SUPPORTED) pthread_attr_setscope(&attrs, PTHREAD_SCOPE_SYSTEM); #endif -- -+#ifdef __FreeBSD__ -+ sigfillset(&set); -+ SET_THREAD_SIGMASK(SIG_BLOCK, &set, &oset); -+#endif ++ sigfillset(&set); ++ SET_THREAD_SIGMASK(SIG_BLOCK, &set, &oset); + status = pthread_create(&th, #if defined(THREAD_STACK_SIZE) || defined(PTHREAD_SYSTEM_SCHED_SUPPORTED) - &attrs, -@@ -200,6 +208,9 @@ +@@ -200,6 +207,7 @@ (void *)arg ); -+#ifdef __FreeBSD__ -+ SET_THREAD_SIGMASK(SIG_SETMASK, &oset, NULL); -+#endif ++ SET_THREAD_SIGMASK(SIG_SETMASK, &oset, NULL); #if defined(THREAD_STACK_SIZE) || defined(PTHREAD_SYSTEM_SCHED_SUPPORTED) pthread_attr_destroy(&attrs); #endif -diff -ru misc/Python-2.7.3/configure misc/build/Python-2.7.3/configure +diff -ruN misc/Python-2.7.3/configure misc/build/Python-2.7.3/configure --- misc/Python-2.7.3/configure 2012-04-09 18:07:36.000000000 -0500 -+++ misc/build/Python-2.7.3/configure 2012-07-24 22:39:03.000000000 -0500 ++++ misc/build/Python-2.7.3/configure 2012-08-01 18:44:40.000000000 -0500 @@ -4916,7 +4916,7 @@ ;; SunOS*) @@ -100,9 +783,9 @@ diff -ru misc/Python-2.7.3/configure mis INSTSONAME="$LDLIBRARY".$SOVERSION ;; hp*|HP*) -diff -ru misc/Python-2.7.3/setup.py misc/build/Python-2.7.3/setup.py +diff -ruN misc/Python-2.7.3/setup.py misc/build/Python-2.7.3/setup.py --- misc/Python-2.7.3/setup.py 2012-04-09 18:07:36.000000000 -0500 -+++ misc/build/Python-2.7.3/setup.py 2012-07-24 22:39:03.000000000 -0500 ++++ misc/build/Python-2.7.3/setup.py 2012-08-01 18:44:40.000000000 -0500 @@ -1432,7 +1432,7 @@ macros = dict() libraries = [] Modified: incubator/ooo/symphony/trunk/main/python/pyversion.mk URL: http://svn.apache.org/viewvc/incubator/ooo/symphony/trunk/main/python/pyversion.mk?rev=1370096&r1=1370095&r2=1370096&view=diff ============================================================================== --- incubator/ooo/symphony/trunk/main/python/pyversion.mk (original) +++ incubator/ooo/symphony/trunk/main/python/pyversion.mk Tue Aug 7 01:26:19 2012 @@ -1,8 +1,8 @@ # when you want to change the python version, you must update the d.lst # in the python project accordingly !!! PYMAJOR=2 -PYMINOR=6 -PYMICRO=1 +PYMINOR=7 +PYMICRO=3 PYVERSION=$(PYMAJOR).$(PYMINOR).$(PYMICRO) .IF "$(GUI)" == "UNX" Propchange: incubator/ooo/symphony/trunk/main/pyuno/ ------------------------------------------------------------------------------ svn:mergeinfo = /incubator/ooo/trunk/main/pyuno:1366577