[Bug 1211971] Re: Please backport vim 2:7.4.000-1ubuntu2 (main) from saucy

Grant Bowman grantbow at ubuntu.com
Thu Aug 15 12:12:19 UTC 2013


This patch needs work for the general case but it built. DIST=precise
ARCH=amd64 pbuild

Since ruby 1.9.1 hasn't been backported to 12.04 LTS using a
Build-Conflicts: ruby1.8 prevents the build.

The 2.7 version of python-config has no --configdir option.

diff -u vim-7.4.000-old/debian/control vim-7.4.000/debian/control
--- vim-7.4.000-old/debian/control	2013-08-11 17:00:23.000000000 -0700
+++ vim-7.4.000/debian/control	2013-08-15 04:36:24.668874851 -0700
@@ -20,7 +20,7 @@
 # ruby1.8{,-dev} Provides: ruby{,-dev} which can cause breakage on buildds if
 # ruby/ruby1.8-dev or ruby1.8/ruby-dev pairs get installed due to a mismatch in
 # the ruby binary version and the library version
-Build-Conflicts: ruby1.8, ruby1.8-dev
+#Build-Conflicts: ruby1.8, ruby1.8-dev
 Build-Depends-Indep: docbook-xml, docbook-utils
 XS-Debian-Vcs-Hg: http://anonscm.debian.org/hg/pkg-vim/vim
 XS-Debian-Vcs-Browser: http://anonscm.debian.org/hg/pkg-vim/vim
diff -u vim-7.4.000-old/debian/rules vim-7.4.000/debian/rules
--- vim-7.4.000-old/debian/rules	2013-08-11 17:05:31.000000000 -0700
+++ vim-7.4.000/debian/rules	2013-08-15 04:34:29.418015699 -0700
@@ -96,7 +96,7 @@
 NOINTERPFLAGS+=--disable-mzschemeinterp
 NOINTERPFLAGS+=--disable-perlinterp
 ifeq ($(DEB_VENDOR),Ubuntu)
-	NOINTERPFLAGS+=--enable-pythoninterp --with-python-config-dir=$(shell python-config --configdir)
+	NOINTERPFLAGS+=--enable-pythoninterp --with-python-config-dir=/usr/lib/python2.7/config
 else
 	NOINTERPFLAGS+=--disable-pythoninterp
 endif
@@ -107,7 +107,7 @@
 ALLINTERPFLAGS:=--enable-luainterp
 ALLINTERPFLAGS+=--disable-mzschemeinterp
 ALLINTERPFLAGS+=--enable-perlinterp
-ALLINTERPFLAGS+=--enable-pythoninterp --with-python-config-dir=$(shell python-config --configdir)
+ALLINTERPFLAGS+=--enable-pythoninterp --with-python-config-dir=/usr/lib/python2.7/config
 ALLINTERPFLAGS+=--disable-python3interp
 ALLINTERPFLAGS+=--enable-rubyinterp
 ALLINTERPFLAGS+=--enable-tclinterp


** Patch added: "patch for vim_7.4.000-1ubuntu2 allows 12.04 build"
   https://bugs.launchpad.net/precise-backports/+bug/1211971/+attachment/3773587/+files/vim_7.4.000-1ubuntu2-precise.patch

-- 
You received this bug notification because you are a member of Ubuntu
Backporters, which is subscribed to Precise Backports.
Matching subscriptions: Ubuntu Backporters
https://bugs.launchpad.net/bugs/1211971

Title:
  Please backport vim 2:7.4.000-1ubuntu2 (main) from saucy

To manage notifications about this bug go to:
https://bugs.launchpad.net/precise-backports/+bug/1211971/+subscriptions



More information about the ubuntu-backports mailing list