alien_svn: drop recipe. (#10132)

This is faily unmaintained, and build depends on Python 2.x. It CAN
be build with Python 3.10, but it WILL fail on 3.12.

The only in-tree user of this was `git_svn`, and that can use the actually
maintained bindings from upstream `subversion` (as it does in Debian, for example).
This commit is contained in:
OscarL
2024-02-22 08:15:45 -03:00
committed by GitHub
parent 5acfbfd43f
commit ec60527f20
2 changed files with 0 additions and 141 deletions

View File

@@ -1,56 +0,0 @@
SUMMARY="Core module of the subversion perl bindings"
DESCRIPTION="SVN::Core implements higher level functions of fundamental \
subversion functions."
HOMEPAGE="https://metacpan.org/release/Alien-SVN"
COPYRIGHT="2010-2015 Apache Software Foundation"
LICENSE="Artistic"
REVISION="8"
SOURCE_URI="https://cpan.metacpan.org/authors/id/M/MS/MSCHWERN/Alien-SVN-v$portVersion.tar.gz"
CHECKSUM_SHA256="acf8ebce1cb6958ef24611a453abee32b8e4dfe767563834362891ef3f30fc68"
SOURCE_DIR="Alien-SVN-v$portVersion"
PATCHES="alien_svn-$portVersion.patchset"
ARCHITECTURES="all"
PROVIDES="
alien_svn = $portVersion
"
REQUIRES="
vendor_perl
"
BUILD_REQUIRES="
haiku_devel
devel:libapr_1
devel:libaprutil_1
devel:libexpat
devel:libsqlite3
devel:libz
lib:libiconv
module_build
"
BUILD_PREREQUIRES="
cmd:awk
cmd:cmp
cmd:diff
cmd:gcc
cmd:grep
cmd:make
cmd:perl
cmd:python
"
BUILD()
{
export CFLAGS=-O0
export CPPFLAGS=-P
export PERL_MM_USE_DEFAULT=1 # Don't ask questions and use the default values
export svn_cv_pycfmt_apr_int64_t=B_PRId64
perl Build.PL --installdirs vendor --prefix $prefix
./Build
}
INSTALL()
{
./Build install --installdirs vendor
}

View File

@@ -1,85 +0,0 @@
From 220c627e1547dacb3d21c26f185cbeb7814384fb Mon Sep 17 00:00:00 2001
From: Adrien Destugues <pulkomandy@pulkomandy.tk>
Date: Sun, 27 Mar 2016 09:18:25 +0200
Subject: Fix use of deprecated find_directory constant.
diff --git a/src/subversion/subversion/libsvn_subr/config_file.c b/src/subversion/subversion/libsvn_subr/config_file.c
index 9969b8e..a08410b 100644
--- a/src/subversion/subversion/libsvn_subr/config_file.c
+++ b/src/subversion/subversion/libsvn_subr/config_file.c
@@ -401,7 +401,7 @@ svn_config__sys_config_path(const char **path_p,
{
char folder[B_PATH_NAME_LENGTH];
- status_t error = find_directory(B_COMMON_SETTINGS_DIRECTORY, -1, false,
+ status_t error = find_directory(B_SYSTEM_SETTINGS_DIRECTORY, -1, false,
folder, sizeof(folder));
if (error)
return SVN_NO_ERROR;
--
2.7.0
From 5491e3bf8b70362fb8160a9e466ab91e85e2b689 Mon Sep 17 00:00:00 2001
From: Adrien Destugues <pulkomandy@pulkomandy.tk>
Date: Sun, 27 Mar 2016 16:55:17 +0200
Subject: Remove -g from cflags as it confuses gcc2.
diff --git a/src/subversion/configure b/src/subversion/configure
index ad65cab..2a1657c 100755
--- a/src/subversion/configure
+++ b/src/subversion/configure
@@ -3386,9 +3386,9 @@ if test "$ac_test_CFLAGS" = set; then
CFLAGS=$ac_save_CFLAGS
elif test $ac_cv_prog_cc_g = yes; then
if test "$GCC" = yes; then
- CFLAGS="-g -O2"
+ CFLAGS="-O2"
else
- CFLAGS="-g"
+ CFLAGS=""
fi
else
if test "$GCC" = yes; then
diff --git a/src/subversion/configure.ac b/src/subversion/configure.ac
index 955ba25..477a7ab 100644
--- a/src/subversion/configure.ac
+++ b/src/subversion/configure.ac
@@ -1046,8 +1046,7 @@ if test "$enable_debugging" = "yes" ; then
SVN_CFLAGS_ADD_IFELSE([-fno-inline])
SVN_CFLAGS_ADD_IFELSE([-fno-omit-frame-pointer])
SVN_CFLAGS_ADD_IFELSE([-g3],[],[
- SVN_CFLAGS_ADD_IFELSE([-g2],[],[
- SVN_CFLAGS_ADD_IFELSE([-g])])])
+ SVN_CFLAGS_ADD_IFELSE([-g2],[],[])])
fi
if test -z ["`echo $CXXUSERFLAGS' ' | $EGREP -- '-g[0-9]? '`"]; then
AC_MSG_NOTICE([Enabling debugging for C++])
@@ -1055,8 +1054,7 @@ if test "$enable_debugging" = "yes" ; then
SVN_CXXFLAGS_ADD_IFELSE([-fno-inline])
SVN_CXXFLAGS_ADD_IFELSE([-fno-omit-frame-pointer])
SVN_CXXFLAGS_ADD_IFELSE([-g3],[],[
- SVN_CXXFLAGS_ADD_IFELSE([-g2],[],[
- SVN_CXXFLAGS_ADD_IFELSE([-g])])])
+ SVN_CXXFLAGS_ADD_IFELSE([-g2],[],[])])
fi
dnl SVN_DEBUG enables specific features for developer builds
dnl AP_DEBUG enables specific (Apache) features for developer builds
diff --git a/src/subversion/subversion/bindings/swig/perl/native/Makefile.PL.in b/src/subversion/subversion/bindings/swig/perl/native/Makefile.PL.in
index a60430b..baacb60 100644
--- a/src/subversion/subversion/bindings/swig/perl/native/Makefile.PL.in
+++ b/src/subversion/subversion/bindings/swig/perl/native/Makefile.PL.in
@@ -84,7 +84,7 @@ my %config = (
" -I$swig_srcdir/perl/libsvn_swig_perl",
" -I$svnlib_srcdir/include",
" -I$svnlib_builddir",
- " -I$swig_srcdir -g"),
+ " -I$swig_srcdir"),
OBJECT => q/$(O_FILES)/,
LIBS => [join(' ', $apr_ldflags,
(map {"-L$_"} @ldpaths),
--
2.7.0