From f93c54eee7dd0dfbb135ad0f2b09518674bd96b6 Mon Sep 17 00:00:00 2001 From: fbrosson Date: Thu, 17 May 2018 10:40:08 +0000 Subject: [PATCH] lz4: drop the old releases, r130 & r131. (#2563) --- app-arch/lz4/lz4-r130.recipe | 70 ---------------------- app-arch/lz4/lz4-r131.recipe | 76 ------------------------ app-arch/lz4/patches/lz4-r130.patchset | 81 -------------------------- app-arch/lz4/patches/lz4-r131.patchset | 81 -------------------------- 4 files changed, 308 deletions(-) delete mode 100644 app-arch/lz4/lz4-r130.recipe delete mode 100644 app-arch/lz4/lz4-r131.recipe delete mode 100644 app-arch/lz4/patches/lz4-r130.patchset delete mode 100644 app-arch/lz4/patches/lz4-r131.patchset diff --git a/app-arch/lz4/lz4-r130.recipe b/app-arch/lz4/lz4-r130.recipe deleted file mode 100644 index a860c71b8..000000000 --- a/app-arch/lz4/lz4-r130.recipe +++ /dev/null @@ -1,70 +0,0 @@ -SUMMARY="Data compression utilities and libraries for the LZ4 format" -DESCRIPTION=" -LZ4 is a very fast lossless compression algorithm, providing compression speed \ -at 400 MB/s per core, scalable with multi-cores CPU. It also features an \ -extremely fast decoder, with speed in multiple GB/s per core, typically \ -reaching RAM speed limits on multi-core systems. -" -HOMEPAGE="https://code.google.com/p/lz4/" -LICENSE="BSD (2-clause)" -COPYRIGHT="2011-2014, Yann Collet" -SOURCE_URI="https://github.com/Cyan4973/lz4/archive/$portVersion.tar.gz" -SOURCE_FILENAME="lz4-$portVersion.tar.gz" -CHECKSUM_SHA256="c48450d27524c2e5856997133e059e3cf9909241110a6e21ad278890ac425afc" -REVISION="1" -ARCHITECTURES="?x86_gcc2 ?x86 ?x86_64" -SECONDARY_ARCHITECTURES="?x86 ?x86_gcc2" - -PATCHES="lz4-$portVersion.patchset" - -PROVIDES=" - lz4${secondaryArchSuffix} = $portVersion - lib:liblz4${secondaryArchSuffix} = 1.7.0 compat >= 1 - " - -if [ -z "$secondaryArchSuffix" ]; then -PROVIDES="$PROVIDES - cmd:lz4 = $portVersion - cmd:lz4c = $portVersion - cmd:lz4cat = $portVersion - " -fi - -REQUIRES=" - haiku$secondaryArchSuffix >= $haikuVersion - " -BUILD_REQUIRES=" - haiku${secondaryArchSuffix}_devel >= $haikuVersion - " -BUILD_PREREQUIRES=" - cmd:ar - cmd:gcc$secondaryArchSuffix - cmd:ld$secondaryArchSuffix - cmd:make - " - -BUILD() -{ - make $jobArgs all -} - -INSTALL() -{ - make install LIBDIR=$libDir INCLUDEDIR=$includeDir \ - BINDIR=$binDir MANDIR=$manDir/man1 - prepareInstalledDevelLibs liblz4 - fixPkgconfig - - packageEntries devel \ - $developDir -} - -# ----- devel package ------------------------------------------------------- - -PROVIDES_devel=" - lz4${secondaryArchSuffix}_devel = $portVersion - devel:liblz4$secondaryArchSuffix = 1.7.0 compat >= 1 - " -REQUIRES_devel=" - lz4${secondaryArchSuffix} == $portVersion base - " diff --git a/app-arch/lz4/lz4-r131.recipe b/app-arch/lz4/lz4-r131.recipe deleted file mode 100644 index 8b8dd336e..000000000 --- a/app-arch/lz4/lz4-r131.recipe +++ /dev/null @@ -1,76 +0,0 @@ -SUMMARY="Data compression utilities and libraries" -DESCRIPTION="LZ4 is a very fast lossless compression algorithm, providing \ -compression speed at 400 MB/s per core, scalable with multi-core CPUs. It \ -also features an extremely fast decoder, with speed in multiple GB/s per \ -core, typically reaching RAM speed limits on multi-core systems." -HOMEPAGE="https://github.com/Cyan4973/lz4" -COPYRIGHT="2011-2014, Yann Collet" -LICENSE="BSD (2-clause)" -REVISION="3" -SOURCE_URI="https://github.com/Cyan4973/lz4/archive/$portVersion.tar.gz" -SOURCE_FILENAME="lz4-$portVersion.tar.gz" -CHECKSUM_SHA256="9d4d00614d6b9dec3114b33d1224b6262b99ace24434c53487a0c8fd0b18cfed" -PATCHES="lz4-$portVersion.patchset" - -ARCHITECTURES="?x86_gcc2 ?x86 ?x86_64" -SECONDARY_ARCHITECTURES="?x86 ?x86_gcc2" - -PROVIDES=" - lz4${secondaryArchSuffix} = $portVersion - lib:liblz4${secondaryArchSuffix} = 1.7.0 compat >= 1 - " - -if [ -z "$secondaryArchSuffix" ]; then -PROVIDES="$PROVIDES - cmd:lz4 = $portVersion - cmd:lz4c = $portVersion - cmd:lz4cat = $portVersion - cmd:unlz4 = $portVersion - " -fi - -REQUIRES=" - haiku$secondaryArchSuffix - " - -PROVIDES_devel=" - lz4${secondaryArchSuffix}_devel = $portVersion - devel:liblz4$secondaryArchSuffix = 1.7.0 compat >= 1 - " -REQUIRES_devel=" - lz4${secondaryArchSuffix} == $portVersion base - " - -BUILD_REQUIRES=" - haiku${secondaryArchSuffix}_devel - " -BUILD_PREREQUIRES=" - cmd:ar - cmd:gcc$secondaryArchSuffix - cmd:ld$secondaryArchSuffix - cmd:make - " - -BUILD() -{ - make $jobArgs all -} - -INSTALL() -{ - make install LIBDIR=$libDir INCLUDEDIR=$includeDir \ - BINDIR=$binDir MANDIR=$manDir/man1 - - if [ -n "$secondaryArchSuffix" ]; then - rm $binDir/lz4 - rm $binDir/lz4c - rm $binDir/lz4cat - rm $binDir/unlz4 - fi - - prepareInstalledDevelLibs liblz4 - fixPkgconfig - - packageEntries devel \ - $developDir -} diff --git a/app-arch/lz4/patches/lz4-r130.patchset b/app-arch/lz4/patches/lz4-r130.patchset deleted file mode 100644 index 65018320a..000000000 --- a/app-arch/lz4/patches/lz4-r130.patchset +++ /dev/null @@ -1,81 +0,0 @@ -From 3b8ba3c0dd4e03b68b2ad16e9f4a72ecf72a50a8 Mon Sep 17 00:00:00 2001 -From: Jerome Duval -Date: Tue, 5 Aug 2014 17:14:07 +0000 -Subject: haiku patch - - -diff --git a/Makefile b/Makefile -index 88c4016..0dfd802 100644 ---- a/Makefile -+++ b/Makefile -@@ -76,7 +76,7 @@ clean: - - #------------------------------------------------------------------------ - #make install is validated only for Linux, OSX, kFreeBSD and Hurd targets --ifneq (,$(filter $(shell uname),Linux Darwin GNU/kFreeBSD GNU)) -+ifneq (,$(filter $(shell uname),Linux Darwin GNU/kFreeBSD GNU Haiku)) - - install: - @cd $(LZ4DIR); $(MAKE) -e install -diff --git a/lib/Makefile b/lib/Makefile -index 4be1499..25a731d 100644 ---- a/lib/Makefile -+++ b/lib/Makefile -@@ -40,7 +40,7 @@ LIBVER=$(LIBVER_MAJOR).$(LIBVER_MINOR).$(LIBVER_PATCH) - DESTDIR?= - PREFIX ?= /usr/local - CFLAGS ?= -O3 --CFLAGS += -I. -std=c99 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -pedantic -+CFLAGS += -I. -Wall -Wundef -Wshadow -Wstrict-prototypes -pedantic - - LIBDIR?= $(PREFIX)/lib - INCLUDEDIR=$(PREFIX)/include -@@ -81,7 +81,7 @@ clean: - - #------------------------------------------------------------------------ - #make install is validated only for Linux, OSX, kFreeBSD and Hurd targets --ifneq (,$(filter $(shell uname),Linux Darwin GNU/kFreeBSD GNU)) -+ifneq (,$(filter $(shell uname),Linux Darwin GNU/kFreeBSD GNU Haiku)) - - liblz4.pc: liblz4.pc.in Makefile - @echo creating pkgconfig -diff --git a/programs/Makefile b/programs/Makefile -index 39335db..d346edf 100644 ---- a/programs/Makefile -+++ b/programs/Makefile -@@ -39,11 +39,11 @@ RELEASE?= r129 - DESTDIR?= - PREFIX ?= /usr/local - CFLAGS ?= -O3 --CFLAGS += -std=c99 -Wall -Wextra -Wundef -Wshadow -Wcast-qual -Wcast-align -Wstrict-prototypes -pedantic -DLZ4_VERSION=\"$(RELEASE)\" -+CFLAGS += -Wall -Wundef -Wshadow -Wstrict-prototypes -pedantic -DLZ4_VERSION=\"$(RELEASE)\" - FLAGS := -I../lib $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) - --BINDIR := $(PREFIX)/bin --MANDIR := $(PREFIX)/share/man/man1 -+#BINDIR := $(PREFIX)/bin -+#MANDIR := $(PREFIX)/share/man/man1 - LZ4DIR := ../lib - - -@@ -70,7 +70,7 @@ m32: lz4c32 fullbench32 fuzzer32 frametest32 - - bins: lz4 lz4c fullbench fuzzer frametest datagen - --all: bins m32 -+all: bins - - lz4: $(LZ4DIR)/lz4.c $(LZ4DIR)/lz4hc.c $(LZ4DIR)/lz4frame.c $(LZ4DIR)/xxhash.c bench.c lz4io.c lz4cli.c - $(CC) $(FLAGS) $^ -o $@$(EXT) -@@ -114,7 +114,7 @@ clean: - - #------------------------------------------------------------------------ - #make install is validated only for Linux, OSX, kFreeBSD and Hurd targets --ifneq (,$(filter $(shell uname),Linux Darwin GNU/kFreeBSD GNU)) -+ifneq (,$(filter $(shell uname),Linux Darwin GNU/kFreeBSD GNU Haiku)) - - install: lz4 lz4c - @echo Installing binaries --- -1.8.3.4 - diff --git a/app-arch/lz4/patches/lz4-r131.patchset b/app-arch/lz4/patches/lz4-r131.patchset deleted file mode 100644 index b2efef253..000000000 --- a/app-arch/lz4/patches/lz4-r131.patchset +++ /dev/null @@ -1,81 +0,0 @@ -From 5551437c7b121ebb5db0bbf0ea8a590b563f07b2 Mon Sep 17 00:00:00 2001 -From: Jerome Duval -Date: Tue, 5 Aug 2014 17:14:07 +0000 -Subject: haiku patch - - -diff --git a/Makefile b/Makefile -index d1b0d0c..abb7cd5 100644 ---- a/Makefile -+++ b/Makefile -@@ -81,7 +81,7 @@ clean: - - #------------------------------------------------------------------------ - #make install is validated only for Linux, OSX, kFreeBSD and Hurd targets --ifneq (,$(filter $(shell uname),Linux Darwin GNU/kFreeBSD GNU)) -+ifneq (,$(filter $(shell uname),Linux Darwin GNU/kFreeBSD GNU Haiku)) - - install: - @cd $(LZ4DIR); $(MAKE) -e install -diff --git a/lib/Makefile b/lib/Makefile -index 02ddd3b..abea656 100644 ---- a/lib/Makefile -+++ b/lib/Makefile -@@ -40,7 +40,7 @@ LIBVER=$(LIBVER_MAJOR).$(LIBVER_MINOR).$(LIBVER_PATCH) - DESTDIR?= - PREFIX ?= /usr/local - CFLAGS ?= -O3 --CFLAGS += -I. -std=c99 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -pedantic -DXXH_NAMESPACE=LZ4_ -+CFLAGS += -I. -Wall -Wundef -Wshadow -Wstrict-prototypes -pedantic -DXXH_NAMESPACE=LZ4_ - - LIBDIR?= $(PREFIX)/lib - INCLUDEDIR=$(PREFIX)/include -@@ -81,7 +81,7 @@ clean: - - #------------------------------------------------------------------------ - #make install is validated only for Linux, OSX, kFreeBSD and Hurd targets --ifneq (,$(filter $(shell uname),Linux Darwin GNU/kFreeBSD GNU)) -+ifneq (,$(filter $(shell uname),Linux Darwin GNU/kFreeBSD GNU Haiku)) - - liblz4.pc: liblz4.pc.in Makefile - @echo creating pkgconfig -diff --git a/programs/Makefile b/programs/Makefile -index f422902..41c5101 100644 ---- a/programs/Makefile -+++ b/programs/Makefile -@@ -39,11 +39,11 @@ RELEASE?= r131 - DESTDIR?= - PREFIX ?= /usr/local - CFLAGS ?= -O3 --CFLAGS += -std=c99 -Wall -Wextra -Wundef -Wshadow -Wcast-qual -Wcast-align -Wstrict-prototypes -pedantic -DLZ4_VERSION=\"$(RELEASE)\" -+CFLAGS += -Wall -Wundef -Wshadow -Wstrict-prototypes -pedantic -DLZ4_VERSION=\"$(RELEASE)\" - FLAGS := -I../lib $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) - --BINDIR := $(PREFIX)/bin --MANDIR := $(PREFIX)/share/man/man1 -+#BINDIR := $(PREFIX)/bin -+#MANDIR := $(PREFIX)/share/man/man1 - LZ4DIR := ../lib - - -@@ -70,7 +70,7 @@ m32: lz4c32 fullbench32 fuzzer32 frametest32 - - bins: lz4 lz4c fullbench fuzzer frametest datagen - --all: bins m32 -+all: bins - - lz4: $(LZ4DIR)/lz4.c $(LZ4DIR)/lz4hc.c $(LZ4DIR)/lz4frame.c $(LZ4DIR)/xxhash.c bench.c lz4io.c lz4cli.c - $(CC) $(FLAGS) $^ -o $@$(EXT) -@@ -114,7 +114,7 @@ clean: - - #------------------------------------------------------------------------ - #make install is validated only for Linux, OSX, kFreeBSD and Hurd targets --ifneq (,$(filter $(shell uname),Linux Darwin GNU/kFreeBSD GNU)) -+ifneq (,$(filter $(shell uname),Linux Darwin GNU/kFreeBSD GNU Haiku)) - - install: lz4 lz4c - @echo Installing binaries --- -1.8.3.4 -