public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/proj/guru:dev commit in: media-libs/lodepng/
@ 2022-05-29 23:06 Alessandro Barbieri
  0 siblings, 0 replies; 4+ messages in thread
From: Alessandro Barbieri @ 2022-05-29 23:06 UTC (permalink / raw
  To: gentoo-commits

commit:     6db729f112844298196d188177bba363334834b6
Author:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Sun May 29 21:08:01 2022 +0000
Commit:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Sun May 29 21:08:01 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=6db729f1

media-libs/lodepng: add subslot

Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>

 media-libs/lodepng/Manifest                                         | 2 +-
 .../lodepng/{lodepng-20210627.ebuild => lodepng-20210627-r1.ebuild} | 6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/media-libs/lodepng/Manifest b/media-libs/lodepng/Manifest
index 9c8e5d286..b67c6d112 100644
--- a/media-libs/lodepng/Manifest
+++ b/media-libs/lodepng/Manifest
@@ -1 +1 @@
-DIST lodepng-20210627-8c6a9e30576f07bf470ad6f09458a2dcd7a6a84a.tar.gz 242778 BLAKE2B eb4b95fdc800b070c96d3303d2c44a33b4304dae946b26569f52a1ad8847d049108975b082ba49b35c84b97bd1ce58ba74885c6dc843e1e8a73446de1c167369 SHA512 2e0abc063be45dc04a070656260e9a2b9fa1172433cdd7d4988f0afc11751ad28aa802350598ef0e2b27c2c011fd9d9f7ab7f267b0bfcdf28f9f708b888c4411
+DIST lodepng-20210627-8c6a9e30576f07bf470ad6f09458a2dcd7a6a84a.gh.tar.gz 242778 BLAKE2B eb4b95fdc800b070c96d3303d2c44a33b4304dae946b26569f52a1ad8847d049108975b082ba49b35c84b97bd1ce58ba74885c6dc843e1e8a73446de1c167369 SHA512 2e0abc063be45dc04a070656260e9a2b9fa1172433cdd7d4988f0afc11751ad28aa802350598ef0e2b27c2c011fd9d9f7ab7f267b0bfcdf28f9f708b888c4411

diff --git a/media-libs/lodepng/lodepng-20210627.ebuild b/media-libs/lodepng/lodepng-20210627-r1.ebuild
similarity index 91%
rename from media-libs/lodepng/lodepng-20210627.ebuild
rename to media-libs/lodepng/lodepng-20210627-r1.ebuild
index c579c7860..7dda29727 100644
--- a/media-libs/lodepng/lodepng-20210627.ebuild
+++ b/media-libs/lodepng/lodepng-20210627-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -10,11 +10,11 @@ HOMEPAGE="
 	http://lodev.org/lodepng
 	https://github.com/lvandeve/lodepng
 "
-SRC_URI="https://github.com/lvandeve/lodepng/archive/${COMMIT}.tar.gz -> ${P}-${COMMIT}.tar.gz"
+SRC_URI="https://github.com/lvandeve/lodepng/archive/${COMMIT}.tar.gz -> ${P}-${COMMIT}.gh.tar.gz"
 S="${WORKDIR}/${PN}-${COMMIT}"
 
 LICENSE="ZLIB"
-SLOT="0"
+SLOT="0/${PV}"
 KEYWORDS="~amd64"
 IUSE="benchmark pngdetail showpng test"
 


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: media-libs/lodepng/
@ 2022-05-30 17:02 Alessandro Barbieri
  0 siblings, 0 replies; 4+ messages in thread
From: Alessandro Barbieri @ 2022-05-30 17:02 UTC (permalink / raw
  To: gentoo-commits

commit:     d092d2163bb287872d88c379841f87141448c3a8
Author:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Mon May 30 16:59:33 2022 +0000
Commit:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Mon May 30 17:02:51 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=d092d216

media-libs/lodepng: remove stray file

Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>

 media-libs/lodepng/Makefile | 37 -------------------------------------
 1 file changed, 37 deletions(-)

diff --git a/media-libs/lodepng/Makefile b/media-libs/lodepng/Makefile
deleted file mode 100644
index 6731999d9..000000000
--- a/media-libs/lodepng/Makefile
+++ /dev/null
@@ -1,37 +0,0 @@
-# This makefile only makes the unit test, benchmark and pngdetail and showpng
-# utilities. It does not make the PNG codec itself as shared or static library.
-# That is because:
-# LodePNG itself has only 1 source file (lodepng.cpp, can be renamed to
-# lodepng.c) and is intended to be included as source file in other projects and
-# their build system directly.
-
-
-CC ?= gcc
-CXX ?= g++
-
-CFLAGS += -W -Wall -Wextra -ansi -pedantic -Wno-unused-function
-CXXFLAGS += -W -Wall -Wextra -ansi -pedantic
-
-all: unittest benchmark pngdetail showpng lodepng.so
-
-%.o: %.cpp
-	@mkdir -p `dirname $@`
-	$(CXX) -I ./ $(CXXFLAGS) -fPIC -c $< -o $@
-
-lodepng.so: lodepng.o
-	$(CXX) $(CXXFLAGS) $(LDFLAGS) -fPIC -shared -Wl,-soname,lodepngn.so $^ -o $@
-
-unittest: lodepng.so lodepng_util.o lodepng_unittest.o
-	$(CXX) $^ $(CXXFLAGS) $(LDFLAGA) -fPIE -o $@ -L. -llodepng
-
-benchmark: lodepng.so lodepng_benchmark.o
-	$(CXX) $^ $(CXXFLAGS) $(LDFLAGS) -fPIE -lSDL -o $@ -L. -llodepng
-
-pngdetail: lodepng.so lodepng_util.o pngdetail.o
-	$(CXX) $^ $(CXXFLAGS) $(LDFLAGS) -fPIE -o $@ -L. -llodepng
-
-showpng: lodepng.so examples/example_sdl.o
-	$(CXX) -I ./ $^ $(CXXFLAGS) $(LDFLAGS) -fPIE -lSDL -o $@ -L. -llodepng
-
-clean:
-	rm -f unittest benchmark pngdetail showpng lodepng_unittest.o lodepng_benchmark.o lodepng.o lodepng_util.o pngdetail.o examples/example_sdl.o


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: media-libs/lodepng/
@ 2022-05-30 17:02 Alessandro Barbieri
  0 siblings, 0 replies; 4+ messages in thread
From: Alessandro Barbieri @ 2022-05-30 17:02 UTC (permalink / raw
  To: gentoo-commits

commit:     c0af0f29d91b5d6255c9726756911a3c03d2c12b
Author:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Mon May 30 17:02:12 2022 +0000
Commit:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Mon May 30 17:02:51 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=c0af0f29

media-libs/lodepng: revert adding subslot

Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>

 media-libs/lodepng/lodepng-20210627-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/lodepng/lodepng-20210627-r1.ebuild b/media-libs/lodepng/lodepng-20210627-r1.ebuild
index 7dda29727..1e568f6e1 100644
--- a/media-libs/lodepng/lodepng-20210627-r1.ebuild
+++ b/media-libs/lodepng/lodepng-20210627-r1.ebuild
@@ -14,7 +14,7 @@ SRC_URI="https://github.com/lvandeve/lodepng/archive/${COMMIT}.tar.gz -> ${P}-${
 S="${WORKDIR}/${PN}-${COMMIT}"
 
 LICENSE="ZLIB"
-SLOT="0/${PV}"
+SLOT="0"
 KEYWORDS="~amd64"
 IUSE="benchmark pngdetail showpng test"
 


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: media-libs/lodepng/
@ 2022-05-31  9:30 Alessandro Barbieri
  0 siblings, 0 replies; 4+ messages in thread
From: Alessandro Barbieri @ 2022-05-31  9:30 UTC (permalink / raw
  To: gentoo-commits

commit:     607dbbf907e4317095228e5a11e5257902cf6029
Author:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Tue May 31 08:58:44 2022 +0000
Commit:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Tue May 31 09:30:15 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=607dbbf9

media-libs/lodepng: add library path for testing

Closes: https://bugs.gentoo.org/848768
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>

 media-libs/lodepng/lodepng-20210627-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/lodepng/lodepng-20210627-r1.ebuild b/media-libs/lodepng/lodepng-20210627-r1.ebuild
index 1e568f6e1..17942bc24 100644
--- a/media-libs/lodepng/lodepng-20210627-r1.ebuild
+++ b/media-libs/lodepng/lodepng-20210627-r1.ebuild
@@ -46,5 +46,5 @@ src_install() {
 }
 
 src_test() {
-	./unittest || die
+	LD_LIBRARY_PATH="${S}:${LD_LIBRARY_PATH}" ./unittest || die
 }


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-05-31  9:30 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-05-30 17:02 [gentoo-commits] repo/proj/guru:dev commit in: media-libs/lodepng/ Alessandro Barbieri
  -- strict thread matches above, loose matches on Subject: below --
2022-05-31  9:30 Alessandro Barbieri
2022-05-30 17:02 Alessandro Barbieri
2022-05-29 23:06 Alessandro Barbieri

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox