X-Git-Url: http://git.pld-linux.org/?p=packages%2Ffirefox.git;a=blobdiff_plain;f=mozilla-firefox-system-virtualenv.patch;h=a2d150ff8ac26a4d3defa301da506f462b755971;hp=fbba18b2d0da0c5667a96f45520ff5add486ba24;hb=c5cd9be2f8e1de17393f6cead93a9124ef75fcdc;hpb=96ef4151a9f89d2bd54eb0e01aa153c1ca1b0e69 diff --git a/mozilla-firefox-system-virtualenv.patch b/mozilla-firefox-system-virtualenv.patch index fbba18b..a2d150f 100644 --- a/mozilla-firefox-system-virtualenv.patch +++ b/mozilla-firefox-system-virtualenv.patch @@ -1,53 +1,12 @@ -Restore --system-site-packages when system virtualenv gets 1.7 upgrade - ---- a/mozilla/configure.in~ 2013-02-15 22:14:45.000000000 +0100 -+++ a/mozilla/configure.in 2013-02-20 17:05:55.258742791 +0100 -@@ -141,7 +141,7 @@ - PYTHON=`cd $MOZ_BUILD_ROOT && pwd -W`/_virtualenv/Scripts/python.exe - ;; - *) -- PYTHON=$MOZ_BUILD_ROOT/_virtualenv/bin/python -+ PYTHON=/usr/bin/python - ;; - esac - ---- a/mozilla/configure~ 2013-02-15 22:15:48.000000000 +0100 -+++ a/mozilla/configure 2013-02-20 17:06:11.479134735 +0100 -@@ -1344,7 +1344,7 @@ - PYTHON=`cd $MOZ_BUILD_ROOT && pwd -W`/_virtualenv/Scripts/python.exe - ;; - *) -- PYTHON=$MOZ_BUILD_ROOT/_virtualenv/bin/python -+ PYTHON=/usr/bin/python - ;; - esac - ---- iceweasel-19.0/mozilla/configure.in~ 2013-02-20 17:11:35.849980531 +0100 -+++ iceweasel-19.0/mozilla/configure.in 2013-02-20 17:18:24.806617099 +0100 -@@ -128,13 +128,6 @@ - AC_MSG_ERROR([python was not found in \$PATH]) - fi - --AC_MSG_RESULT([Creating Python environment]) --dnl This verifies our Python version is sane and ensures the Python --dnl virtualenv is present and up to date. It sanitizes the environment --dnl for us, so we don't need to clean anything out. --$PYTHON $_topsrcdir/build/virtualenv/populate_virtualenv.py \ -- $_topsrcdir $MOZ_BUILD_ROOT/_virtualenv || exit 1 -- - dnl Create a virtualenv where we can install local Python packages - case "$host_os" in - mingw*) ---- iceweasel-19.0/mozilla/configure~ 2013-02-20 17:11:35.853313949 +0100 -+++ iceweasel-19.0/mozilla/configure 2013-02-20 17:17:59.639339399 +0100 -@@ -1335,10 +1335,6 @@ - { echo "configure: error: python was not found in \$PATH" 1>&2; exit 1; } - fi - --echo "$ac_t""Creating Python environment" 1>&6 --$PYTHON $_topsrcdir/build/virtualenv/populate_virtualenv.py \ -- $_topsrcdir $MOZ_BUILD_ROOT/_virtualenv || exit 1 -- - case "$host_os" in - mingw*) - PYTHON=`cd $MOZ_BUILD_ROOT && pwd -W`/_virtualenv/Scripts/python.exe +--- xulrunner-21.0/mozilla/build/virtualenv/populate_virtualenv.py~ 2013-05-11 21:19:23.000000000 +0200 ++++ xulrunner-21.0/mozilla/build/virtualenv/populate_virtualenv.py 2013-05-14 22:51:32.136719267 +0200 +@@ -37,8 +37,7 @@ + @property + def virtualenv_script_path(self): + """Path to virtualenv's own populator script.""" +- return os.path.join(self.topsrcdir, 'python', 'virtualenv', +- 'virtualenv.py') ++ return '/usr/bin/virtualenv' + + @property + def python_path(self):