pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

zbar: Remove test glue in Makefile and TODO



Module Name:	pkgsrc-wip
Committed By:	Leonardo Taccari <leot%NetBSD.org@localhost>
Pushed By:	leot
Date:		Wed Dec 4 10:10:10 2019 +0100
Changeset:	b06802f9e69007350f29e0732677e8ba6d0cc260

Modified Files:
	zbar/Makefile
Removed Files:
	zbar/TODO

Log Message:
zbar: Remove test glue in Makefile and TODO

Ideally we probably should remove the argp dependency to make it easily
testable in pkgsrc.  However, this needs discussion with upstream and then
possible code adjustments.  For the moment remove the test glue.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=b06802f9e69007350f29e0732677e8ba6d0cc260

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 zbar/Makefile |  8 --------
 zbar/TODO     | 15 ---------------
 2 files changed, 23 deletions(-)

diffs:
diff --git a/zbar/Makefile b/zbar/Makefile
index c23ac3fd3e..6d4ee620cf 100644
--- a/zbar/Makefile
+++ b/zbar/Makefile
@@ -13,7 +13,6 @@ LICENSE=	gnu-lgpl-v2.1
 GNU_CONFIGURE=	yes
 USE_LIBTOOL=	yes
 USE_TOOLS+=	pkg-config
-USE_LANGUAGES=	c c++	# c++ needed only for test
 
 CONFIGURE_ARGS+=	--with-jpeg
 CONFIGURE_ARGS+=	--disable-video
@@ -26,13 +25,6 @@ PKGCONFIG_OVERRIDE+=	zbar-gtk.pc.in
 PKGCONFIG_OVERRIDE+=	zbar-qt.pc.in
 PKGCONFIG_OVERRIDE+=	zbar.pc.in
 
-TEST_TARGET=	check
-
-REPLACE_PYTHON+=		test/barcodetest.py examples/upcrpc.py
-PYTHON_FOR_BUILD_ONLY=		test
-PYTHON_VERSIONS_ACCEPTED=	27	# XXX: double-check me!
-.include "../../lang/python/application.mk"
-
 .include "options.mk"
 
 .include "../../mk/jpeg.buildlink3.mk"
diff --git a/zbar/TODO b/zbar/TODO
deleted file mode 100644
index 8545f0038f..0000000000
--- a/zbar/TODO
+++ /dev/null
@@ -1,15 +0,0 @@
-* python3 support must be tested (new in this release)
-* `make test' no longer works, build of tests fail with:
-
- | test/test_decode.c:24:10: fatal error: argp.h: No such file or directory
- | #include <argp.h>
-
-   investigate further!
-
-   * devel/argp leads to:
-   | ld: test/test_decode-test_decode.o: in function `parse_opt':
-   | test_decode.c:(.text+0x5f8): undefined reference to `argp_state_help'
-   | ld: test_decode.c:(.text+0x626): undefined reference to `argp_state_help'
-   | ld: test/test_decode-test_decode.o: in function `main':
-   | test_decode.c:(.text.startup+0x17): undefined reference to `argp_parse'
-   | ld: test_decode.c:(.text.startup+0x2f5): undefined reference to `argp_help'


Home | Main Index | Thread Index | Old Index