blob: ba208d922fb3cef8fa96efabaea0f6eab7f745fb [file] [log] [blame]
Andrew Geissler82c905d2020-04-13 13:39:40 -05001SUMMARY = "Subversion (svn) version control system client"
2HOMEPAGE = "http://subversion.apache.org"
Andrew Geissler90fd73c2021-03-05 15:25:55 -06003DESCRIPTION = "Subversion is an open source version control system."
Andrew Geissler82c905d2020-04-13 13:39:40 -05004SECTION = "console/network"
Andrew Geissler7e0e3c02022-02-25 20:34:39 +00005LICENSE = "Apache-2.0 & MIT"
Andrew Geissler82c905d2020-04-13 13:39:40 -05006LIC_FILES_CHKSUM = "file://LICENSE;md5=6487ae7094d359fa90fb9c4096e52e2b"
7
8DEPENDS = "apr-util serf sqlite3 file lz4"
Patrick Williams213cb262021-08-07 19:21:33 -05009DEPENDS:append:class-native = " file-replacement-native"
Andrew Geissler82c905d2020-04-13 13:39:40 -050010
11SRC_URI = "${APACHE_MIRROR}/${BPN}/${BPN}-${PV}.tar.bz2 \
Andrew Geissler82c905d2020-04-13 13:39:40 -050012 file://serfmacro.patch \
13 "
14
Patrick Williams03907ee2022-05-01 06:28:52 -050015SRC_URI[sha256sum] = "c9130e8d0b75728a66f0e7038fc77052e671830d785b5616aad53b4810d3cc28"
Andrew Geissler82c905d2020-04-13 13:39:40 -050016
Andrew Geissler5a43b432020-06-13 10:46:56 -050017inherit autotools pkgconfig gettext python3native
Andrew Geissler82c905d2020-04-13 13:39:40 -050018
19CVE_PRODUCT = "apache:subversion"
20
21PACKAGECONFIG ?= ""
22
23PACKAGECONFIG[boost] = "--with-boost=${RECIPE_SYSROOT}${exec_prefix},--without-boost,boost"
24PACKAGECONFIG[sasl] = "--with-sasl,--without-sasl,cyrus-sasl"
25PACKAGECONFIG[gnome-keyring] = "--with-gnome-keyring,--without-gnome-keyring,glib-2.0 gnome-keyring"
26
27EXTRA_OECONF = " \
28 --with-apr=${STAGING_BINDIR_CROSS} \
29 --with-apr-util=${STAGING_BINDIR_CROSS} \
30 --without-apxs \
31 --without-berkeley-db \
32 --without-swig \
33 --disable-keychain \
34 --with-utf8proc=internal \
35 ac_cv_path_RUBY=none \
36"
37
38EXTRA_OEMAKE += "pkgconfig_dir=${libdir}/pkgconfig"
39
40acpaths = "-I build/ -I build/ac-macros/"
41
42CPPFLAGS += "-P"
43BUILD_CPPFLAGS += "-P"
44
Patrick Williams213cb262021-08-07 19:21:33 -050045do_configure:prepend () {
Andrew Geissler82c905d2020-04-13 13:39:40 -050046 rm -f ${S}/libtool
47 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
48 rm -f ${S}/aclocal.m4
49 sed -i -e 's:with_sasl="/usr/local":with_sasl="${STAGING_DIR}":' ${S}/build/ac-macros/sasl.m4
50}
51
52#| x86_64-linux-libtool: install: warning: `/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-qa-logrotate/build/build/tmp/work/x86_64-linux/subversion-native/1.8.9-r0/build/subversion/libsvn_ra_local/libsvn_ra_local-1.la' has not been installed in `/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-qa-logrotate/build/build/tmp/sysroots/x86_64-linux/usr/lib'| x86_64-linux-libtool: install: warning: `/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-qa-logrotate/build/build/tmp/work/x86_64-linux/subversion-native/1.8.9-r0/build/subversion/libsvn_repos/libsvn_repos-1.la' has not been installed in `/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-qa-logrotate/build/build/tmp/sysroots/x86_64-linux/usr/lib'| /usr/bin/ld: cannot find -lsvn_delta-1| collect2: ld returned 1 exit status| x86_64-linux-libtool: install: warning: `/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-qa-logrotate/build/build/tmp/work/x86_64-linux/subversion-native/1.8.9-r0/build/subversion/libsvn_ra_svn/libsvn_ra_svn-1.la' has not been installed in `/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-qa-logrotate/build/build/tmp/sysroots/x86_64-linux/usr/lib'| x86_64-linux-libtool: install: warning: `/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-qa-logrotate/build/build/tmp/work/x86_64-linux/subversion-native/1.8.9-r0/build/subversion/libsvn_ra_serf/libsvn_ra_serf-1.la' has not been installed in `/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-qa-logrotate/build/build/tmp/sysroots/x86_64-linux/usr/lib'
53#| x86_64-linux-libtool: install: error: relink `libsvn_ra_serf-1.la' with the above command before installing it
54#| x86_64-linux-libtool: install: warning: `../../subversion/libsvn_repos/libsvn_repos-1.la' has not been installed in `/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-qa-logrotate/build/build/tmp/sysroots/x86_64-linux/usr/lib'
55#| /home/pokybuild/yocto-autobuilder/yocto-worker/nightly-qa-logrotate/build/build/tmp/work/x86_64-linux/subversion-native/1.8.9-r0/subversion-1.8.9/build-outputs.mk:1090: recipe for target 'install-serf-lib' failed
56#| make: *** [install-serf-lib] Error 1
57PARALLEL_MAKEINST = ""
58
Patrick Williams213cb262021-08-07 19:21:33 -050059RDEPENDS:${PN} = "serf"
Andrew Geissler82c905d2020-04-13 13:39:40 -050060
Andrew Geisslerb7d28612020-07-24 16:15:54 -050061BBCLASSEXTEND = "native nativesdk"