From: Laurentiu Palcu <laurentiu.palcu@intel.com>
To: Saul Wold <sgw@linux.intel.com>
Cc: openembedded-core@lists.openembedded.org
Subject: Re: [PATCH 09/13] subversion: upgrade to 1.8.1
Date: Thu, 1 Aug 2013 16:25:55 +0300 [thread overview]
Message-ID: <20130801132555.GB20124@lpalcu-linux> (raw)
In-Reply-To: <51F990E4.3060505@linux.intel.com>
On Wed, Jul 31, 2013 at 03:34:12PM -0700, Saul Wold wrote:
> On 07/31/2013 06:09 AM, Laurentiu Palcu wrote:
> I am still not sure why you want to retain 1.7? 1.8 has addressed
> the same bugs and security fixes, correct? We do not normally keep
> older versions around.
This is how it was done so far. We had two recipes: 1.7 and 1.6. The
recommended one and the stable one.
>
> I tried running the svn command by hand it it infact did fail with
> 1.8, but worked with the 1.7 release.
From the 1.8 release notes:
"Subversion 1.8 introduces changes to the working copy format. In
previous releases of Subversion (1.6 and earlier), Subversion would
automatically upgrade the working copy to the new format when a write
operation was performed. Subversion 1.8, however, requires an upgrade
for both read and write operations on the working copy, and makes the
upgrade a manual step.
Before using Subversion 1.8 with existing working copies, users will be
required to run the svn upgrade command to upgrade working copy metadata
to the new format. This command may take a while, and for some users, it
may be more practical to simply checkout a new working copy."
> >
>
> Notice the missing RA Module for http(s) - ra_neon
The commit message states that the neon module is not supported anymore
in 1.8... So, that's normal.
"* removed fix-install-depends.patch since neon support has been removed
completely from 1.8;
* remove the 'neon' RDEPENDS/DEPENDS too from the reason explained above;"
Thanks,
Laurentiu
>
> Sau!
>
> >Additionaly:
> > * change libtool2.patch to apply clean on the new version;
> > * removed fix-install-depends.patch since neon support has been removed
> > completely from 1.8;
> > * remove the 'neon' RDEPENDS/DEPENDS too from the reason explained above;
> > * added disable_mac_checks.patch in order to avoid MAC OS features checks.
> > Otherwise we'll end up with a configure error when cross-compiling;
> > * removed 1.6 recipes since this version is no longer supported by
> > subversion;
> > * licence changed slightly with the addition of a small piece for
> > libsvn_subr/utf_width.c (see below):
> >
> > "Markus Kuhn -- 2007-05-26 (Unicode 5.0)
> >
> > Permission to use, copy, modify, and distribute this software
> > for any purpose and without fee is hereby granted. The author
> > disclaims all warranties with regard to this software."
> >
> >Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
> >---
> > .../subversion-1.8.1/disable_mac_checks.patch | 21 +++++++++
> > .../libtool2.patch | 14 +++---
> > .../subversion/disable-revision-install.patch | 36 ----------------
> > .../subversion/fix-install-depends.patch | 45 --------------------
> > .../{subversion_1.6.15.bb => subversion_1.8.1.bb} | 24 +++++------
> > 5 files changed, 40 insertions(+), 100 deletions(-)
> > create mode 100644 meta/recipes-devtools/subversion/subversion-1.8.1/disable_mac_checks.patch
> > rename meta/recipes-devtools/subversion/{subversion => subversion-1.8.1}/libtool2.patch (54%)
> > delete mode 100644 meta/recipes-devtools/subversion/subversion/disable-revision-install.patch
> > delete mode 100644 meta/recipes-devtools/subversion/subversion/fix-install-depends.patch
> > rename meta/recipes-devtools/subversion/{subversion_1.6.15.bb => subversion_1.8.1.bb} (54%)
> >
> >diff --git a/meta/recipes-devtools/subversion/subversion-1.8.1/disable_mac_checks.patch b/meta/recipes-devtools/subversion/subversion-1.8.1/disable_mac_checks.patch
> >new file mode 100644
> >index 0000000..e8e1009
> >--- /dev/null
> >+++ b/meta/recipes-devtools/subversion/subversion-1.8.1/disable_mac_checks.patch
> >@@ -0,0 +1,21 @@
> >+Upstream-Status: Inappropriate (embedded specific)
> >+
> >+Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
> >+
> >+Index: subversion-1.8.1/configure.ac
> >+===================================================================
> >+--- subversion-1.8.1.orig/configure.ac 2013-07-30 14:44:23.745412720 +0300
> >++++ subversion-1.8.1/configure.ac 2013-07-30 14:45:19.784154761 +0300
> >+@@ -484,9 +484,9 @@
> >+
> >+ dnl Mac OS specific features -------------------
> >+
> >+-SVN_LIB_MACHO_ITERATE
> >+-SVN_LIB_MACOS_PLIST
> >+-SVN_LIB_MACOS_KEYCHAIN
> >++#SVN_LIB_MACHO_ITERATE
> >++#SVN_LIB_MACOS_PLIST
> >++#SVN_LIB_MACOS_KEYCHAIN
> >+
> >+ dnl APR_HAS_DSO -------------------
> >+
> >diff --git a/meta/recipes-devtools/subversion/subversion/libtool2.patch b/meta/recipes-devtools/subversion/subversion-1.8.1/libtool2.patch
> >similarity index 54%
> >rename from meta/recipes-devtools/subversion/subversion/libtool2.patch
> >rename to meta/recipes-devtools/subversion/subversion-1.8.1/libtool2.patch
> >index 32f88b7..4cc148a 100644
> >--- a/meta/recipes-devtools/subversion/subversion/libtool2.patch
> >+++ b/meta/recipes-devtools/subversion/subversion-1.8.1/libtool2.patch
> >@@ -1,10 +1,12 @@
> > Upstream-Status: Inappropriate [embedded specific]
> >
> >-Index: subversion-1.5.5/configure.ac
> >+Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
> >+
> >+Index: subversion-1.8.1/configure.ac
> > ===================================================================
> >---- subversion-1.5.5.orig/configure.ac 2008-08-26 18:27:56.000000000 +0100
> >-+++ subversion-1.5.5/configure.ac 2009-01-07 18:00:47.000000000 +0000
> >-@@ -153,8 +153,8 @@
> >+--- subversion-1.8.1.orig/configure.ac 2013-07-30 13:41:09.000000000 +0300
> >++++ subversion-1.8.1/configure.ac 2013-07-30 13:45:01.430887155 +0300
> >+@@ -226,8 +226,8 @@
> > LIBTOOL="$sh_libtool"
> > SVN_LIBTOOL="$sh_libtool"
> > else
> >@@ -12,6 +14,6 @@ Index: subversion-1.5.5/configure.ac
> > - SVN_LIBTOOL="\$(SHELL) $sh_libtool"
> > + sh_libtool="$abs_builddir/$host_alias-libtool"
> > + SVN_LIBTOOL="\$(SHELL) \$(abs_builddir)/$host_alias-libtool"
> >- dnl libtoolize requires that the following line not be indented
> >- ifdef([LT_INIT], [LT_INIT], [AC_PROG_LIBTOOL])
> > fi
> >+ AC_SUBST(SVN_LIBTOOL)
> >+
> >diff --git a/meta/recipes-devtools/subversion/subversion/disable-revision-install.patch b/meta/recipes-devtools/subversion/subversion/disable-revision-install.patch
> >deleted file mode 100644
> >index 66450fa..0000000
> >--- a/meta/recipes-devtools/subversion/subversion/disable-revision-install.patch
> >+++ /dev/null
> >@@ -1,36 +0,0 @@
> >-Upstream-Status: Inappropriate [embedded specific]
> >-
> >-Index: subversion-1.6.15/Makefile.in
> >-===================================================================
> >---- subversion-1.6.15.orig/Makefile.in 2010-11-17 06:47:23.000000000 -0800
> >-+++ subversion-1.6.15/Makefile.in 2011-01-31 10:11:07.358779686 -0800
> >-@@ -305,7 +305,7 @@
> >- clean: external-clean local-clean
> >- distclean: external-distclean local-distclean
> >- extraclean: external-extraclean local-extraclean
> >--install: external-install local-install revision-install
> >-+install: external-install local-install #revision-install
> >-
> >- @INCLUDE_OUTPUTS@
> >-
> >-@@ -363,13 +363,13 @@
> >- local-install: @INSTALL_RULES@
> >-
> >- ### HACK!! Find a better way to do this
> >--revision-install:
> >-- test -d $(DESTDIR)$(includedir)/subversion-1 || \
> >-- $(MKDIR) $(DESTDIR)$(includedir)/subversion-1
> >-- (subversion/svnversion/svnversion $(top_srcdir) || \
> >-- svnversion $(top_srcdir) || \
> >-- echo "unknown"; \
> >-- ) > $(DESTDIR)$(includedir)/subversion-1/svn-revision.txt
> >-+#revision-install:
> >-+# test -d $(DESTDIR)$(includedir)/subversion-1 || \
> >-+# $(MKDIR) $(DESTDIR)$(includedir)/subversion-1
> >-+# (subversion/svnversion/svnversion $(top_srcdir) || \
> >-+# svnversion $(top_srcdir) || \
> >-+# echo "unknown"; \
> >-+# ) > $(DESTDIR)$(includedir)/subversion-1/svn-revision.txt
> >-
> >- install-static: @INSTALL_STATIC_RULES@
> >-
> >diff --git a/meta/recipes-devtools/subversion/subversion/fix-install-depends.patch b/meta/recipes-devtools/subversion/subversion/fix-install-depends.patch
> >deleted file mode 100644
> >index 6f49ed4..0000000
> >--- a/meta/recipes-devtools/subversion/subversion/fix-install-depends.patch
> >+++ /dev/null
> >@@ -1,45 +0,0 @@
> >-install-neon-lib should depend on libsvn_delta's installation
> >-
> >-install-neon-lib needs libsvn_delta-1.la which will be regenerated
> >-during libsvn_delta-1.la's installation, if libsvn_delta-1.la is
> >-in regenerating and at the same time install-neon-lib links it, the
> >-error willl happen.
> >-
> >-Let install-neon-lib run after libsvn_delta-1.la is installed will fix
> >-the problem.
> >-
> >-Upstream-Status: Pending
> >-
> >-Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
> >----
> >- build-outputs.mk | 2 +-
> >- build.conf | 2 ++
> >- 2 files changed, 3 insertions(+), 1 deletion(-)
> >-
> >-diff --git a/build-outputs.mk b/build-outputs.mk
> >---- a/build-outputs.mk
> >-+++ b/build-outputs.mk
> >-@@ -979,7 +979,7 @@ install-locale: subversion/po/de.mo subversion/po/es.mo subversion/po/fr.mo subv
> >- $(MKDIR) $(DESTDIR)$(localedir)/zh_TW/LC_MESSAGES
> >- cd subversion/po ; $(INSTALL_LOCALE) zh_TW.mo $(DESTDIR)$(localedir)/zh_TW/LC_MESSAGES/$(PACKAGE_NAME).mo
> >-
> >--install-neon-lib: subversion/libsvn_ra_neon/libsvn_ra_neon-1.la
> >-+install-neon-lib: subversion/libsvn_ra_neon/libsvn_ra_neon-1.la $(SVN_FS_LIB_INSTALL_DEPS)
> >- $(MKDIR) $(DESTDIR)$(neon_libdir)
> >- cd subversion/libsvn_ra_neon ; $(INSTALL_NEON_LIB) libsvn_ra_neon-1.la $(DESTDIR)$(neon_libdir)/libsvn_ra_neon-1.la
> >-
> >-diff --git a/build.conf b/build.conf
> >---- a/build.conf
> >-+++ b/build.conf
> >-@@ -272,6 +272,8 @@ type = ra-module
> >- path = subversion/libsvn_ra_neon
> >- install = neon-lib
> >- libs = libsvn_delta libsvn_subr aprutil apriconv apr neon
> >-+# conditionally add more dependencies
> >-+add-install-deps = $(SVN_FS_LIB_INSTALL_DEPS)
> >- msvc-static = yes
> >-
> >- # Accessing repositories via DAV through serf
> >---
> >-1.7.10.4
> >-
> >diff --git a/meta/recipes-devtools/subversion/subversion_1.6.15.bb b/meta/recipes-devtools/subversion/subversion_1.8.1.bb
> >similarity index 54%
> >rename from meta/recipes-devtools/subversion/subversion_1.6.15.bb
> >rename to meta/recipes-devtools/subversion/subversion_1.8.1.bb
> >index ef679b3..d47d95c 100644
> >--- a/meta/recipes-devtools/subversion/subversion_1.6.15.bb
> >+++ b/meta/recipes-devtools/subversion/subversion_1.8.1.bb
> >@@ -1,29 +1,26 @@
> > DESCRIPTION = "The Subversion (svn) client"
> > SECTION = "console/network"
> >-DEPENDS = "apr-util neon sqlite3"
> >-RDEPENDS_${PN} = "neon"
> >+DEPENDS = "apr-util sqlite3"
> > LICENSE = "Apache-2"
> > HOMEPAGE = "http://subversion.tigris.org"
> >
> > BBCLASSEXTEND = "native"
> >
> >-PR = "r3"
> >+inherit gettext
> >
> >-SRC_URI = "http://subversion.tigris.org/downloads/${BPN}-${PV}.tar.bz2 \
> >- file://disable-revision-install.patch \
> >+SRC_URI = "${APACHE_MIRROR}/${BPN}/${BPN}-${PV}.tar.bz2 \
> > file://libtool2.patch \
> >- file://fix-install-depends.patch \
> >- "
> >+ file://disable_mac_checks.patch \
> >+"
> >+SRC_URI[md5sum] = "f2ee0471b8a560f5efa0f2349d9c9ab9"
> >+SRC_URI[sha256sum] = "faaaaedba25777331e761884598af1dd9fe33631d6415b2e0ba5348867c4edb4"
> >
> >-SRC_URI[md5sum] = "113fca1d9e4aa389d7dc2b210010fa69"
> >-SRC_URI[sha256sum] = "b2919d603a5f3c19f42e3265c4b930e2376c43b3969b90ef9c42b2f72d5aaa45"
> >-
> >-LIC_FILES_CHKSUM = "file://COPYING;md5=2a69fef414e2cb907b4544298569300b"
> >+LIC_FILES_CHKSUM = "file://LICENSE;md5=1c2f0119e478700b5428e26386cff923"
> >
> > PACKAGECONFIG[sasl] = "--with-sasl,--without-sasl,cyrus-sasl"
> >
> > EXTRA_OECONF = " \
> >- --without-berkeley-db --without-apxs --without-apache \
> >+ --without-berkeley-db --without-apxs \
> > --without-swig --with-apr=${STAGING_BINDIR_CROSS} \
> > --with-apr-util=${STAGING_BINDIR_CROSS} \
> > ac_cv_path_RUBY=none"
> >@@ -36,6 +33,7 @@ acpaths = "-I build/ -I build/ac-macros/"
> >
> > do_configure_prepend () {
> > rm -f ${S}/libtool
> >- rm -f ${S}/build/libtool.m4
> >+ rm -f ${S}/build/libtool.m4 ${S}/build/ltmain.sh ${S}/build/ltoptions.m4 ${S}/build/ltsugar.m4 ${S}/build/ltversion.m4 ${S}/build/lt~obsolete.m4
> >+ rm -f ${S}/aclocal.m4
> > sed -i -e 's:with_sasl="/usr/local":with_sasl="${STAGING_DIR}":' ${S}/build/ac-macros/sasl.m4
> > }
> >
next prev parent reply other threads:[~2013-08-01 13:25 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-07-31 13:09 [PATCH 00/13] Package upgrades Laurentiu Palcu
2013-07-31 13:09 ` [PATCH 01/13] xf86-video-intel: upgrade to 2.21.13 Laurentiu Palcu
2013-07-31 13:09 ` [PATCH 02/13] git: upgrade to 1.8.3.4 Laurentiu Palcu
2013-07-31 13:09 ` [PATCH 03/13] nasm: upgrade to 2.10.09 Laurentiu Palcu
2013-07-31 13:09 ` [PATCH 04/13] powertop: upgrade to 2.4 Laurentiu Palcu
2013-07-31 13:09 ` [PATCH 05/13] libdrm: upgrade to 2.4.46 Laurentiu Palcu
2013-07-31 13:09 ` [PATCH 06/13] libpciaccess: upgrade to 0.13.2 Laurentiu Palcu
2013-07-31 13:09 ` [PATCH 07/13] xrandr: upgrade to 1.4.1 Laurentiu Palcu
2013-07-31 13:09 ` [PATCH 08/13] xf86-input-evdev: upgrade to 2.8.1 Laurentiu Palcu
2013-08-01 23:57 ` Saul Wold
2013-07-31 13:09 ` [PATCH 09/13] subversion: upgrade to 1.8.1 Laurentiu Palcu
2013-07-31 22:34 ` Saul Wold
2013-07-31 23:59 ` Flanagan, Elizabeth
2013-08-01 6:30 ` Burton, Ross
2013-08-01 8:37 ` Martin Jansa
2013-08-01 13:25 ` Laurentiu Palcu [this message]
2013-07-31 13:09 ` [PATCH 10/13] xhost: upgrade to 1.0.6 Laurentiu Palcu
2013-07-31 13:09 ` [PATCH 11/13] makedepend: upgrade to 1.0.5 Laurentiu Palcu
2013-07-31 13:09 ` [PATCH 12/13] flex: upgrade to 2.5.37 Laurentiu Palcu
2013-07-31 13:56 ` Burton, Ross
2013-07-31 13:09 ` [PATCH 13/13] grub_2.00: fix compilation when using flex 2.5.37 Laurentiu Palcu
2013-07-31 13:58 ` [PATCH 00/13] Package upgrades Burton, Ross
2013-08-02 10:40 ` [PATCH v2 00/13] Package upgrades (cover letter only) Laurentiu Palcu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20130801132555.GB20124@lpalcu-linux \
--to=laurentiu.palcu@intel.com \
--cc=openembedded-core@lists.openembedded.org \
--cc=sgw@linux.intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox