mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 12:10:06 +02:00
libsolv: removed legacy recipes (#11736)
* Delete libsolv-0.3.0_haiku_2013_10_01.patchset * Delete libsolv-0.3.0_haiku_2013_04_18.recipe * Delete libsolv-0.3.0_haiku_2013_05_20.recipe * Delete libsolv-0.3.0_haiku_2013_05_30.recipe * Delete libsolv-0.3.0_haiku_2013_06_16.recipe * Delete libsolv-0.3.0_haiku_2013_10_01.recipe * Delete libsolv-0.7.23.recipe * libsolv: added 0.7.31 * Delete libsolv-0.7.31.recipe
This commit is contained in:
@@ -1,62 +0,0 @@
|
||||
SUMMARY="Library for solving packages and reading repositories"
|
||||
DESCRIPTION="Library for solving packages and reading repositories."
|
||||
HOMEPAGE="https://github.com/openSUSE/libsolv"
|
||||
COPYRIGHT="2007-2013, Novell Inc."
|
||||
LICENSE="BSD (3-clause)"
|
||||
REVISION="3"
|
||||
SOURCE_URI="git+git://github.com/weinhold/libsolv.git#85dcb683b0c705c1789a3f688bd0d02368107824"
|
||||
|
||||
ARCHITECTURES="x86_gcc2 ?x86"
|
||||
|
||||
PROVIDES="
|
||||
libsolv = $portVersion
|
||||
lib:libsolv = $portVersion
|
||||
lib:libsolvext = $portVersion
|
||||
"
|
||||
REQUIRES="
|
||||
haiku
|
||||
lib:libexpat >= 1.5
|
||||
lib:libz
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
$REQUIRES
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
haiku_devel
|
||||
cmd:cmake
|
||||
cmd:gcc
|
||||
cmd:ld
|
||||
cmd:make
|
||||
cmd:sed
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
rm -rf build
|
||||
mkdir build
|
||||
cd build
|
||||
cmake -DCMAKE_INSTALL_PREFIX:PATH=$prefix ..
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
cd build
|
||||
make install
|
||||
|
||||
# set up the develop directory correctly
|
||||
prepareInstalledDevelLibs libsolv libsolvext
|
||||
|
||||
mkdir -p $includeDir
|
||||
mv $prefix/include/* $includeDir
|
||||
rmdir $prefix/include
|
||||
|
||||
# move cmake files
|
||||
mkdir -p $dataDir
|
||||
mv $prefix/share/cmake $dataDir
|
||||
rmdir $prefix/share
|
||||
|
||||
# We don't want the executables.
|
||||
rm -r $prefix/bin
|
||||
}
|
||||
@@ -1,62 +0,0 @@
|
||||
SUMMARY="Library for solving packages and reading repositories"
|
||||
DESCRIPTION="Library for solving packages and reading repositories."
|
||||
HOMEPAGE="https://github.com/openSUSE/libsolv"
|
||||
COPYRIGHT="2007-2013, Novell Inc."
|
||||
LICENSE="BSD (3-clause)"
|
||||
REVISION="2"
|
||||
SOURCE_URI="git+git://github.com/weinhold/libsolv.git#162ae79ad078caa7bb9c3ca44a76380093463ca9"
|
||||
|
||||
ARCHITECTURES="x86_gcc2 ?x86"
|
||||
|
||||
PROVIDES="
|
||||
libsolv = $portVersion
|
||||
lib:libsolv = $portVersion
|
||||
lib:libsolvext = $portVersion
|
||||
"
|
||||
REQUIRES="
|
||||
haiku
|
||||
lib:libexpat >= 1.5
|
||||
lib:libz
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
$REQUIRES
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
haiku_devel
|
||||
cmd:cmake
|
||||
cmd:gcc
|
||||
cmd:ld
|
||||
cmd:make
|
||||
cmd:sed
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
rm -rf build
|
||||
mkdir build
|
||||
cd build
|
||||
cmake -DCMAKE_INSTALL_PREFIX:PATH=$prefix ..
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
cd build
|
||||
make install
|
||||
|
||||
# set up the develop directory correctly
|
||||
prepareInstalledDevelLibs libsolv libsolvext
|
||||
|
||||
mkdir -p $includeDir
|
||||
mv $prefix/include/* $includeDir
|
||||
rmdir $prefix/include
|
||||
|
||||
# move cmake files
|
||||
mkdir -p $dataDir
|
||||
mv $prefix/share/cmake $dataDir
|
||||
rmdir $prefix/share
|
||||
|
||||
# We don't want the executables.
|
||||
rm -r $prefix/bin
|
||||
}
|
||||
@@ -1,75 +0,0 @@
|
||||
SUMMARY="Library for solving packages and reading repositories"
|
||||
DESCRIPTION="Library for solving packages and reading repositories."
|
||||
HOMEPAGE="https://github.com/openSUSE/libsolv"
|
||||
COPYRIGHT="2007-2013, Novell Inc."
|
||||
LICENSE="BSD (3-clause)"
|
||||
REVISION="3"
|
||||
SOURCE_URI="git+git://github.com/weinhold/libsolv.git#a53a69500a56fa1056c6f3a4b17cc91a50c51395"
|
||||
|
||||
ARCHITECTURES="x86_gcc2 ?x86"
|
||||
|
||||
PROVIDES="libsolv = $portVersion
|
||||
lib:libsolv = $portVersion
|
||||
lib:libsolvext = $portVersion
|
||||
"
|
||||
REQUIRES="haiku
|
||||
lib:libexpat
|
||||
lib:libz
|
||||
"
|
||||
|
||||
SUMMARY_devel="The libsolv development files"
|
||||
PROVIDES_devel="
|
||||
libsolv_devel = $portVersion
|
||||
devel:libsolv = $portVersion
|
||||
devel:libsolvext = $portVersion
|
||||
"
|
||||
REQUIRES_devel="
|
||||
libsolv == $portVersion base
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
devel:libexpat
|
||||
devel:libz
|
||||
"
|
||||
BUILD_PREREQUIRES="haiku_devel
|
||||
cmd:cmake
|
||||
cmd:gcc
|
||||
cmd:ld
|
||||
cmd:make
|
||||
cmd:sed
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
rm -rf build
|
||||
mkdir build
|
||||
cd build
|
||||
cmake -DCMAKE_INSTALL_PREFIX:PATH=$prefix ..
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
cd build
|
||||
make install
|
||||
|
||||
# set up the develop directory correctly
|
||||
prepareInstalledDevelLibs libsolv libsolvext
|
||||
|
||||
mkdir -p $includeDir
|
||||
mv $prefix/include/* $includeDir
|
||||
rmdir $prefix/include
|
||||
|
||||
# move cmake files
|
||||
mkdir -p $dataDir
|
||||
mv $prefix/share/cmake $dataDir
|
||||
rmdir $prefix/share
|
||||
|
||||
# We don't want the executables.
|
||||
rm -r $prefix/bin
|
||||
|
||||
# devel package
|
||||
packageEntries devel \
|
||||
$dataDir \
|
||||
$developDir
|
||||
}
|
||||
@@ -1,83 +0,0 @@
|
||||
SUMMARY="Library for solving packages and reading repositories"
|
||||
DESCRIPTION="Library for solving packages and reading repositories."
|
||||
HOMEPAGE="https://github.com/openSUSE/libsolv"
|
||||
COPYRIGHT="2007-2013, Novell Inc."
|
||||
LICENSE="BSD (3-clause)"
|
||||
REVISION="4"
|
||||
SOURCE_URI="https://github.com/weinhold/libsolv/archive/ef4a8778ef567224feb35019b711507ae1d6e7c3.tar.gz"
|
||||
CHECKSUM_SHA256="b3014e0d4b7b32e19f1fff53814f0630207163362f3059fdbf5f8a1fc1fc3118"
|
||||
SOURCE_DIR="libsolv-ef4a8778ef567224feb35019b711507ae1d6e7c3"
|
||||
|
||||
ARCHITECTURES="all"
|
||||
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
|
||||
|
||||
PROVIDES="
|
||||
libsolv$secondaryArchSuffix = $portVersion
|
||||
lib:libsolv$secondaryArchSuffix = $portVersion
|
||||
lib:libsolvext$secondaryArchSuffix = $portVersion
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
lib:libexpat$secondaryArchSuffix
|
||||
lib:libz$secondaryArchSuffix
|
||||
"
|
||||
|
||||
PROVIDES_devel="
|
||||
libsolv${secondaryArchSuffix}_devel = $portVersion
|
||||
devel:libsolv${secondaryArchSuffix} = $portVersion
|
||||
devel:libsolvext${secondaryArchSuffix} = $portVersion
|
||||
"
|
||||
REQUIRES_devel="
|
||||
libsolv${secondaryArchSuffix} == $portVersion base
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
devel:libexpat$secondaryArchSuffix
|
||||
devel:libz$secondaryArchSuffix
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
cmd:cmake
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:ld$secondaryArchSuffix
|
||||
cmd:make
|
||||
cmd:sed
|
||||
"
|
||||
|
||||
PATCH()
|
||||
{
|
||||
sed -i 's,${CMAKE_INSTALL_PREFIX}/bin',$binDir, CMakeLists.txt
|
||||
sed -i 's,${CMAKE_INSTALL_PREFIX}/include',$includeDir, \
|
||||
src/CMakeLists.txt ext/CMakeLists.txt
|
||||
}
|
||||
|
||||
BUILD()
|
||||
{
|
||||
rm -rf build
|
||||
mkdir build
|
||||
cd build
|
||||
cmake -DCMAKE_INSTALL_PREFIX:PATH=$prefix -DLIB=$relativeLibDir ..
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
cd build
|
||||
make install
|
||||
|
||||
# set up the develop directory correctly
|
||||
prepareInstalledDevelLibs libsolv libsolvext
|
||||
|
||||
# move cmake files
|
||||
mkdir -p $dataDir
|
||||
mv $prefix/share/cmake $dataDir
|
||||
rmdir $prefix/share
|
||||
|
||||
# We don't want the executables.
|
||||
rm -r $prefix/bin
|
||||
|
||||
# devel package
|
||||
packageEntries devel \
|
||||
$dataDir \
|
||||
$developDir
|
||||
}
|
||||
@@ -1,86 +0,0 @@
|
||||
SUMMARY="A library for solving packages and reading repositories"
|
||||
DESCRIPTION="A Library for solving packages and reading repositories."
|
||||
HOMEPAGE="https://github.com/openSUSE/libsolv"
|
||||
COPYRIGHT="2007-2013, Novell Inc."
|
||||
LICENSE="BSD (3-clause)"
|
||||
REVISION="4"
|
||||
srcGitRev="01ed09a3e1f4637f72d4239fe3724fcafa39be94"
|
||||
SOURCE_URI="https://github.com/weinhold/libsolv/archive/$srcGitRev.tar.gz"
|
||||
CHECKSUM_SHA256="4e96208d44dc15ed7ac95a86f35790f34a2bb97c0f0aa3dc355263a54a6ea7e1"
|
||||
SOURCE_FILENAME="$portVersionedName.tar.gz"
|
||||
SOURCE_DIR="libsolv-$srcGitRev"
|
||||
PATCHES="libsolv-$portVersion.patchset"
|
||||
|
||||
ARCHITECTURES="all"
|
||||
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
|
||||
|
||||
PROVIDES="
|
||||
libsolv$secondaryArchSuffix = $portVersion
|
||||
lib:libsolv$secondaryArchSuffix = $portVersion
|
||||
lib:libsolvext$secondaryArchSuffix = $portVersion
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
lib:libexpat$secondaryArchSuffix
|
||||
lib:libz$secondaryArchSuffix
|
||||
"
|
||||
|
||||
PROVIDES_devel="
|
||||
libsolv${secondaryArchSuffix}_devel = $portVersion
|
||||
devel:libsolv${secondaryArchSuffix} = $portVersion
|
||||
devel:libsolvext${secondaryArchSuffix} = $portVersion
|
||||
"
|
||||
REQUIRES_devel="
|
||||
libsolv${secondaryArchSuffix} == $portVersion base
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
devel:libexpat$secondaryArchSuffix
|
||||
devel:libz$secondaryArchSuffix
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
cmd:cmake
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:ld$secondaryArchSuffix
|
||||
cmd:make
|
||||
cmd:sed
|
||||
"
|
||||
|
||||
PATCH()
|
||||
{
|
||||
sed -i 's,${CMAKE_INSTALL_PREFIX}/bin',$binDir, CMakeLists.txt
|
||||
sed -i 's,${CMAKE_INSTALL_PREFIX}/include',$includeDir, \
|
||||
src/CMakeLists.txt ext/CMakeLists.txt
|
||||
}
|
||||
|
||||
BUILD()
|
||||
{
|
||||
rm -rf build
|
||||
mkdir build
|
||||
cd build
|
||||
cmake -DCMAKE_INSTALL_PREFIX:PATH=$prefix -DLIB=$relativeLibDir ..
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
cd build
|
||||
make install
|
||||
|
||||
# set up the develop directory correctly
|
||||
prepareInstalledDevelLibs libsolv libsolvext
|
||||
|
||||
# move cmake files
|
||||
mkdir -p $dataDir
|
||||
mv $prefix/share/cmake $dataDir
|
||||
rmdir $prefix/share
|
||||
|
||||
# We don't want the executables.
|
||||
rm -r $prefix/bin
|
||||
|
||||
# devel package
|
||||
packageEntries devel \
|
||||
$dataDir \
|
||||
$developDir
|
||||
}
|
||||
@@ -1,80 +0,0 @@
|
||||
SUMMARY="A library for solving packages and reading repositories"
|
||||
DESCRIPTION="A Library for solving packages and reading repositories."
|
||||
HOMEPAGE="https://github.com/openSUSE/libsolv"
|
||||
COPYRIGHT="2007-2019, Novell Inc."
|
||||
LICENSE="BSD (3-clause)"
|
||||
REVISION="3"
|
||||
SOURCE_URI="https://github.com/openSUSE/libsolv/archive/$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="0286155964373c6cc3802d025750786c3ee79608d5cb884598e110e3918bb2fe"
|
||||
SOURCE_FILENAME="libsolv-$portVersion.tar.gz"
|
||||
|
||||
ARCHITECTURES="?all arm sparc m68k arm64 riscv64"
|
||||
SECONDARY_ARCHITECTURES="?x86_gcc2 ?x86"
|
||||
|
||||
PROVIDES="
|
||||
libsolv$secondaryArchSuffix = $portVersion
|
||||
lib:libsolv$secondaryArchSuffix = $portVersion
|
||||
lib:libsolvext$secondaryArchSuffix = $portVersion
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
lib:libexpat$secondaryArchSuffix
|
||||
lib:libz$secondaryArchSuffix
|
||||
"
|
||||
|
||||
PROVIDES_devel="
|
||||
libsolv${secondaryArchSuffix}_devel = $portVersion
|
||||
devel:libsolv${secondaryArchSuffix} = $portVersion
|
||||
devel:libsolvext${secondaryArchSuffix} = $portVersion
|
||||
"
|
||||
REQUIRES_devel="
|
||||
libsolv${secondaryArchSuffix} == $portVersion base
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
devel:libexpat$secondaryArchSuffix
|
||||
devel:libz$secondaryArchSuffix
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
cmd:cmake
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:ld$secondaryArchSuffix
|
||||
cmd:make
|
||||
cmd:sed
|
||||
"
|
||||
|
||||
PATCH()
|
||||
{
|
||||
sed -i 's,${CMAKE_INSTALL_PREFIX}/bin',$binDir, CMakeLists.txt
|
||||
sed -i 's,${CMAKE_INSTALL_PREFIX}/include',$includeDir, \
|
||||
src/CMakeLists.txt ext/CMakeLists.txt
|
||||
sed -i 's,${CMAKE_INSTALL_PREFIX}/share/cmake/Modules',$dataDir/cmake/Modules, \
|
||||
CMakeLists.txt
|
||||
}
|
||||
|
||||
BUILD()
|
||||
{
|
||||
cmake -Bbuild -S. -DCMAKE_BUILD_TYPE=Release $cmakeDirArgs
|
||||
make -C build $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
make -C build install
|
||||
|
||||
# remove the manpages for the binaries
|
||||
rm -rf $manDir/man1
|
||||
|
||||
# set up the develop directory correctly
|
||||
prepareInstalledDevelLibs libsolv libsolvext
|
||||
fixPkgconfig
|
||||
|
||||
# We don't want the executables.
|
||||
rm -r $prefix/bin
|
||||
|
||||
# devel package
|
||||
packageEntries devel \
|
||||
$dataDir \
|
||||
$developDir
|
||||
}
|
||||
@@ -1,38 +0,0 @@
|
||||
From 864ecf16d010628abed0242db2d4fa2effb9965d Mon Sep 17 00:00:00 2001
|
||||
From: Adrien Destugues <pulkomandy@gmail.com>
|
||||
Date: Fri, 21 Nov 2014 15:34:28 +0100
|
||||
Subject: Remove fopencookie hack.
|
||||
|
||||
* mmu_man added these prototypes in Haiku so this now breaks the build.
|
||||
|
||||
diff --git a/ext/solv_xfopen.c b/ext/solv_xfopen.c
|
||||
index 63fec23..a9a6e40 100644
|
||||
--- a/ext/solv_xfopen.c
|
||||
+++ b/ext/solv_xfopen.c
|
||||
@@ -17,23 +17,6 @@
|
||||
#include "util.h"
|
||||
|
||||
|
||||
-/* Evil hack for Haiku: fopencookie() is implemented internally, but not
|
||||
- exported by a header. */
|
||||
-#ifdef __HAIKU__
|
||||
-
|
||||
-typedef struct {
|
||||
- ssize_t (*read)(void*, char*, size_t);
|
||||
- ssize_t (*write)(void*, const char*, size_t);
|
||||
- int (*seek)(off_t*, int);
|
||||
- int (*close)(void*);
|
||||
-} cookie_io_functions_t;
|
||||
-
|
||||
-
|
||||
-FILE *fopencookie(void*, const char*, cookie_io_functions_t);
|
||||
-
|
||||
-#endif /* __HAIKU__ */
|
||||
-
|
||||
-
|
||||
static FILE *cookieopen(void *cookie, const char *mode,
|
||||
ssize_t (*cread)(void *, char *, size_t),
|
||||
ssize_t (*cwrite)(void *, const char *, size_t),
|
||||
--
|
||||
1.8.3.4
|
||||
|
||||
Reference in New Issue
Block a user