pkgsrc-WIP-changes archive

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

libimagequant: fix rust build



Module Name:	pkgsrc-wip
Committed By:	pin <voidpin%protonmail.com@localhost>
Pushed By:	pin
Date:		Sun Apr 30 17:41:03 2023 +0200
Changeset:	fee2a64ee047f720d309f8f36024486ab64ab2a9

Modified Files:
	libimagequant/Makefile
	libimagequant/distinfo
Added Files:
	libimagequant/cargo-depends.mk
Removed Files:
	libimagequant/TODO

Log Message:
libimagequant: fix rust build

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

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

diffstat:
 libimagequant/Makefile         |  2 +
 libimagequant/TODO             |  4 --
 libimagequant/cargo-depends.mk | 34 +++++++++++++++
 libimagequant/distinfo         | 96 ++++++++++++++++++++++++++++++++++++++++++
 4 files changed, 132 insertions(+), 4 deletions(-)

diffs:
diff --git a/libimagequant/Makefile b/libimagequant/Makefile
index ebf8bd4578..3dcfb15945 100644
--- a/libimagequant/Makefile
+++ b/libimagequant/Makefile
@@ -10,6 +10,8 @@ HOMEPAGE=	https://pngquant.org/lib/
 COMMENT=	High-quality conversion of RGBA images to 8-bit indexed-color
 LICENSE=	gnu-gpl-v3
 
+.include "cargo-depends.mk"
+
 #INSTALLATION_DIRS=	include lib
 
 #do-install:
diff --git a/libimagequant/TODO b/libimagequant/TODO
deleted file mode 100644
index c45ec5f241..0000000000
--- a/libimagequant/TODO
+++ /dev/null
@@ -1,4 +0,0 @@
-# cargo generate-lockfile
-error: no matching package named `bitflags` found
-location searched: registry `crates-io`
-required by package `imagequant-sys v4.0.1 (/usr/pkgsrc/graphics/libimagequant/work/libimagequant-4.1.1/imagequant-sys)`
diff --git a/libimagequant/cargo-depends.mk b/libimagequant/cargo-depends.mk
new file mode 100644
index 0000000000..f39b31756f
--- /dev/null
+++ b/libimagequant/cargo-depends.mk
@@ -0,0 +1,34 @@
+# $NetBSD$
+
+CARGO_CRATE_DEPENDS+=	adler-1.0.2
+CARGO_CRATE_DEPENDS+=	ahash-0.8.3
+CARGO_CRATE_DEPENDS+=	arrayvec-0.7.2
+CARGO_CRATE_DEPENDS+=	autocfg-1.1.0
+CARGO_CRATE_DEPENDS+=	bitflags-1.3.2
+CARGO_CRATE_DEPENDS+=	bytemuck-1.13.1
+CARGO_CRATE_DEPENDS+=	cc-1.0.79
+CARGO_CRATE_DEPENDS+=	cfg-if-1.0.0
+CARGO_CRATE_DEPENDS+=	crc32fast-1.3.2
+CARGO_CRATE_DEPENDS+=	crossbeam-channel-0.5.8
+CARGO_CRATE_DEPENDS+=	crossbeam-deque-0.8.3
+CARGO_CRATE_DEPENDS+=	crossbeam-epoch-0.9.14
+CARGO_CRATE_DEPENDS+=	crossbeam-utils-0.8.15
+CARGO_CRATE_DEPENDS+=	either-1.8.1
+CARGO_CRATE_DEPENDS+=	fallible_collections-0.4.7
+CARGO_CRATE_DEPENDS+=	flate2-1.0.26
+CARGO_CRATE_DEPENDS+=	hashbrown-0.13.2
+CARGO_CRATE_DEPENDS+=	hermit-abi-0.2.6
+CARGO_CRATE_DEPENDS+=	libc-0.2.142
+CARGO_CRATE_DEPENDS+=	lodepng-3.7.2
+CARGO_CRATE_DEPENDS+=	memoffset-0.8.0
+CARGO_CRATE_DEPENDS+=	miniz_oxide-0.7.1
+CARGO_CRATE_DEPENDS+=	noisy_float-0.2.0
+CARGO_CRATE_DEPENDS+=	num-traits-0.2.15
+CARGO_CRATE_DEPENDS+=	num_cpus-1.15.0
+CARGO_CRATE_DEPENDS+=	once_cell-1.17.1
+CARGO_CRATE_DEPENDS+=	rayon-1.7.0
+CARGO_CRATE_DEPENDS+=	rayon-core-1.11.0
+CARGO_CRATE_DEPENDS+=	rgb-0.8.36
+CARGO_CRATE_DEPENDS+=	scopeguard-1.1.0
+CARGO_CRATE_DEPENDS+=	thread_local-1.1.7
+CARGO_CRATE_DEPENDS+=	version_check-0.9.4
diff --git a/libimagequant/distinfo b/libimagequant/distinfo
index cc531597cd..29211112f9 100644
--- a/libimagequant/distinfo
+++ b/libimagequant/distinfo
@@ -1,5 +1,101 @@
 $NetBSD: distinfo,v 1.30 2023/04/27 06:06:19 wiz Exp $
 
+BLAKE2s (adler-1.0.2.crate) = f263779d752af886455fc0f42c997893fb1a09edcf1bd2980605251c2e3602aa
+SHA512 (adler-1.0.2.crate) = 7ab190d31890fc05b0b55d8e2c6527a505e06793d5496be0b3831e0513412f9ba97f8148f6f68ed0770fa9cd980a5092d885e058becf1d5506b7c74b82674aa1
+Size (adler-1.0.2.crate) = 12778 bytes
+BLAKE2s (ahash-0.8.3.crate) = 463c4e49539eb24c885915c860ed4fc060bc31e8d50069c2a3539c755ebc3f51
+SHA512 (ahash-0.8.3.crate) = cf2d2f1201ac0969cf4e2a0c47090bee971b2287ac44b5e091c90a9eced03cf6ff56d7900cc0f529d4acedc30bd400261c15e50efabdd1731f79951b449af53e
+Size (ahash-0.8.3.crate) = 42416 bytes
+BLAKE2s (arrayvec-0.7.2.crate) = 8aa10ad047a554cd7b40494bc9e022c75feb413f61b978dca46c1459ac913163
+SHA512 (arrayvec-0.7.2.crate) = 80cc6e55b6032f4882362813de970d3d99e600ada774b28ac6a24c9c8e018fda3b35c5750ac3a09fca6fb9496e2e3fe608b58d21b1b84685ebd170f567a0ecbc
+Size (arrayvec-0.7.2.crate) = 29341 bytes
+BLAKE2s (autocfg-1.1.0.crate) = dd57bc2348994ace592664469f4b2389f230343402c627a9981eb582f10b0060
+SHA512 (autocfg-1.1.0.crate) = df972c09abbdc0b6cb6bb55b1e29c7fed706ece38a62613d9e275bac46a19574a7f96f0152cccb0239efea04ee90083a146b58b15307696c4c81878cd12de28f
+Size (autocfg-1.1.0.crate) = 13272 bytes
+BLAKE2s (bitflags-1.3.2.crate) = e3a3b45a4403823875a03dbda329ca16068fa8f847cef81987c6b780101f2415
+SHA512 (bitflags-1.3.2.crate) = 3c698f757b5cc62f815f9a1cce365c3d2dd88e4db71f331dff8bba86c2865f755b81cb4c9bfc59bd86b7643b0943f9e09a7c4f8ad75eb2ab0e714803d0129f62
+Size (bitflags-1.3.2.crate) = 23021 bytes
+BLAKE2s (bytemuck-1.13.1.crate) = 2b3bc6492e16448601108eac8200825f1248c6214594f02fcd516f952fe7e796
+SHA512 (bytemuck-1.13.1.crate) = eb0a7e423a3f903fb831369e0c6d1e5fbffd7eff1b56bb7d1ffe4e5e18850cdfb9a7f9bdcfd53ce10b1c659dff11c59190b7b85ad89ca60485878548621f01c0
+Size (bytemuck-1.13.1.crate) = 42309 bytes
+BLAKE2s (cc-1.0.79.crate) = 17938b742da494c871322dd29eb6948f35a47beac2b647ef27ec595a33b8de91
+SHA512 (cc-1.0.79.crate) = cbf0a25f3a23fc540e9d638fabc23f761f1c240ebb4814e761e90437d71fc559cd155768ab9e78fc192220d8a605c66c3af342ed736b719181656170b98d7bf5
+Size (cc-1.0.79.crate) = 62624 bytes
+BLAKE2s (cfg-if-1.0.0.crate) = fbb02f63b24cc224b045ff2aac3aefd0a77cf7b578df4d5f9da9517a59aaf9bb
+SHA512 (cfg-if-1.0.0.crate) = 0fb16a8882fd30e86b62c5143b1cb18ab564e84e75bd1f28fd12f24ffdc4a42e0d2e012a99abb606c12efe3c11061ff5bf8e24ab053e550ae083f7d90f6576ff
+Size (cfg-if-1.0.0.crate) = 7934 bytes
+BLAKE2s (crc32fast-1.3.2.crate) = c60cd89cc50c52d5bedb1e7ce6c6299196d26700152f85282218c6fe15ec2a8b
+SHA512 (crc32fast-1.3.2.crate) = a683943e252afdb1b9d626a07533ed11cf7a63af603c19640056c5d2b9c884ad9aff33ac54c0853ffca2f6cf94b0730eae6c05abf3e53e55e709d180c8152357
+Size (crc32fast-1.3.2.crate) = 38661 bytes
+BLAKE2s (crossbeam-channel-0.5.8.crate) = f52230ed84b89bc15c117f5251f9575cf7c8672c7f44d589e9443a6a6c3e457c
+SHA512 (crossbeam-channel-0.5.8.crate) = 47677d6fe63050c51393e4a0537a3c65d7055c9eae118ebe60c5d716b4f47f23c2b1947b1e1b66bfb34a57c4db3a44631d323e996dd545565fe4f58c25863ff4
+Size (crossbeam-channel-0.5.8.crate) = 90455 bytes
+BLAKE2s (crossbeam-deque-0.8.3.crate) = 7cbeb24b31b979d705dd7aad84ebd1b3f25d939955c4c70dd3d8ad7cf26158eb
+SHA512 (crossbeam-deque-0.8.3.crate) = f3201c9afef7d2d119702696f7e5e7997a104b8f7d67c7adebd1cbed84d3a3415636ff674f1ccdfd95d0dc162384e46c6138c8203ede69577b0d5359a4b44672
+Size (crossbeam-deque-0.8.3.crate) = 21746 bytes
+BLAKE2s (crossbeam-epoch-0.9.14.crate) = f8dd3e189663f0a000109977fb35e4f0f4b931253da261fc4324c5fe82ca626a
+SHA512 (crossbeam-epoch-0.9.14.crate) = 543cb60cff7c0823733f6ace191b137a04025a2b40fe4fea5eb273772009627fb705aecf742bc59e01367d4c15a14aca73aa2caf7f4b509f4b25947e14fd1e19
+Size (crossbeam-epoch-0.9.14.crate) = 48524 bytes
+BLAKE2s (crossbeam-utils-0.8.15.crate) = e895a9fbc03fec8e54eae3634734ea34c740dd58c284575df9fa33bdff99cba4
+SHA512 (crossbeam-utils-0.8.15.crate) = adb9ce1886396bc637299cb8122d102bcc9e561f25d67ef73e98c9ed8a8b13b78bc0f5bbacab19d015e1a7690bc0201f08b3d8e82393ec347e7f2933eb622533
+Size (crossbeam-utils-0.8.15.crate) = 42326 bytes
+BLAKE2s (either-1.8.1.crate) = 337587245b86cc5cc5b8b9eac3cef2032d9c47569392c1816c218c59a2a37d67
+SHA512 (either-1.8.1.crate) = 5e4da301a605e0bc1ee3a269fe449aef044df05b5e833940c7f79bed61bbff4fc248e9c82b45dab92b2688d578ada000b271aaf67f2f4f7c82b35f05663cfe7e
+Size (either-1.8.1.crate) = 16027 bytes
+BLAKE2s (fallible_collections-0.4.7.crate) = d4eeea2918856295fb74258fe5e6700cc9113a4b8b3e5aadd64072d9fea5e2e7
+SHA512 (fallible_collections-0.4.7.crate) = cd20f266c5f544fc05307d782216f95140e17422097f57791a8f6124b6012bf0c6e90fe569957f55d6e0bb9585eb644370acbcd6f9763f20b714f76d0af31e68
+Size (fallible_collections-0.4.7.crate) = 49549 bytes
+BLAKE2s (flate2-1.0.26.crate) = 193e7c56b2d7808a79e4e8166aef689259715bf8011052313cf351d75319ac85
+SHA512 (flate2-1.0.26.crate) = a9f7b9e4adfd0a22fbf66e1cbcfe377cc03ec248c7fb7113097b839922b569cc96bf080089b8c800b35ec6f81b3f602a5860de55963b85f27ee6d75a9df88f3d
+Size (flate2-1.0.26.crate) = 70832 bytes
+BLAKE2s (hashbrown-0.13.2.crate) = 64d541f665f43ca787fd3f7a14c558df897bcb9372d9bd76ae2385dc0d967edf
+SHA512 (hashbrown-0.13.2.crate) = 21dae7a283326d21e16bb32ae0dd1481c4936939a32a06478a3351c2dec97941be532437b808e99ac40e7900a75433fe0efbd852158659a682461245e19d0e70
+Size (hashbrown-0.13.2.crate) = 105265 bytes
+BLAKE2s (hermit-abi-0.2.6.crate) = 37cb3bae542888f7efb0a48c9fed34fa42d9de604cf6dc0543dcc37d6fb78f51
+SHA512 (hermit-abi-0.2.6.crate) = bad8442bb822a9c99f6536db16523c80f5139af6a139bcc359c03725c59ff935816e2ecc5c491dc362ac75ab2dff41ab1e9dd29431f5e9a109b60eb9b7a8dc28
+Size (hermit-abi-0.2.6.crate) = 13027 bytes
+BLAKE2s (libc-0.2.142.crate) = 2506428fb94bfff22500073865dac34827aabd7dd4026b2303bf6b07d04e3fa9
+SHA512 (libc-0.2.142.crate) = 8eb465fea8bfa865aa592185ea2dd89a6d89252b0e44fb7398ae82c9fa031d501fc3a1c37e50d1971be528c6e1a4ca416da224ba82e5a8766ec598464593afdd
+Size (libc-0.2.142.crate) = 679343 bytes
 BLAKE2s (libimagequant-4.1.1.tar.gz) = aea4963d9a19f3008ab2fe978eabc6435b6bc8cfda111e9a66416d878d8942db
 SHA512 (libimagequant-4.1.1.tar.gz) = c91d82bbc2a9942e98489bb79cac8a1c3ce6b3f8a9a0829e7915d327e6aade766279680a6ff59804f152e86e098b2547df243331b3882900e6815694a999bcdd
 Size (libimagequant-4.1.1.tar.gz) = 86232 bytes
+BLAKE2s (lodepng-3.7.2.crate) = b4bb43ad9e696c17751d8cc9cf2db8ba158763a061ac90ebfd9e243f94250b97
+SHA512 (lodepng-3.7.2.crate) = f8a9a7e9d7583881c933404dbabc341943485131b25dd778f235a89f27ae1d613ce5b45d825f546ea1919b3599f80641f8479a216c801da27d2feddd59e8847c
+Size (lodepng-3.7.2.crate) = 48504 bytes
+BLAKE2s (memoffset-0.8.0.crate) = 2576a1ac2b4fcc3b66aac9f174d0c69f1ed224a00c7a9003054b3713e8b5b6bf
+SHA512 (memoffset-0.8.0.crate) = 47adcae0848ff967035e10543ea599c7af9c5bad387023eb4dc77c9e8d875994ec8139b9941b3ecc4fc17214d80944a47a3be174a45b334661914a5a7382dfbe
+Size (memoffset-0.8.0.crate) = 8912 bytes
+BLAKE2s (miniz_oxide-0.7.1.crate) = 8828f41da010ee5dff26a15deb1e0973dca6c69b22521812b366e0977103416d
+SHA512 (miniz_oxide-0.7.1.crate) = 5eb6ffe34a866403273ff0267ff7838aeb50722ca57a03d5a1d842a5f19a3b4af570b133a3b9d64d78eafe49e4b9732b92dd63fd9c6b0ce59b3295daf10f6a3c
+Size (miniz_oxide-0.7.1.crate) = 55194 bytes
+BLAKE2s (noisy_float-0.2.0.crate) = 038091f57161d5f9a9648def2efe76c78f7bbf3e3f0bb81dee2e3d0f6716c69c
+SHA512 (noisy_float-0.2.0.crate) = 98e7914d37e9c170753e999e349eb50603c4df5f9abc0c9803c150604e05848be24af318ca0370cc4902250aad2641b1393f2e75da15bf581737e44d3719cd38
+Size (noisy_float-0.2.0.crate) = 15564 bytes
+BLAKE2s (num-traits-0.2.15.crate) = d26091cb6caaf8d70fbe0d045c852e026461499d2c9a18721a049bbeb0049d3e
+SHA512 (num-traits-0.2.15.crate) = 5228498af0f15daeac3c9210f3e6e71cfaaeb30beea81dd37f8eb06b9592c8bf3226a47597cd8592ad4c513964a9a40f1ab2c33102ef3dfe3800d22c8d4528e8
+Size (num-traits-0.2.15.crate) = 49262 bytes
+BLAKE2s (num_cpus-1.15.0.crate) = 18e6ac6517f0d84c6852f63a3e99e261c0fd3cfece6080eaefec72a9ea0411b4
+SHA512 (num_cpus-1.15.0.crate) = fd4772868def9460a6ee17ef6fc00b0bc74115eec891bb3fdb07ba5b5fe4057a2ac69eb31ba8beddbd3189c7be4545888e5724879f3a89132fbc9b32aa7bb10f
+Size (num_cpus-1.15.0.crate) = 15680 bytes
+BLAKE2s (once_cell-1.17.1.crate) = 4e7e4583b148b41c5ee92bcdab4b1ba6891d8f21f80b3f9c5c84e23a90dc6c8b
+SHA512 (once_cell-1.17.1.crate) = 1302d51801e38bfee23e74c0046f1ecb1d3c27309b5fe11c2b6c99553b357db502ce1718695602f9d8b10429e8ff03f91c016d5d604957083728293824c05904
+Size (once_cell-1.17.1.crate) = 32856 bytes
+BLAKE2s (rayon-1.7.0.crate) = b50186fe0ad931c3728cd6558535ee566c51f5b50b8da6128d7c72372be0f33c
+SHA512 (rayon-1.7.0.crate) = d999c811b701d0aa4e547234bdc20a7df56728e142c4aa882bae081b7b057e8c3a72f4a62fb35535e57501e8c2ba7ff072068b59d6b5374e9ca6bb66cc0984d3
+Size (rayon-1.7.0.crate) = 169488 bytes
+BLAKE2s (rayon-core-1.11.0.crate) = a2e17d5e4876a34a8f1661d85121c4c6195e5ec65f907d37108ea97118d8bb7a
+SHA512 (rayon-core-1.11.0.crate) = 00ac782f49d688da90e823980e83b5ccd858f93769e2d801061fdef78728cff37d3a9fa4fd47a5cddb058f28f3289de349f8c8fdd94fa2f8c400d73bc4529800
+Size (rayon-core-1.11.0.crate) = 73118 bytes
+BLAKE2s (rgb-0.8.36.crate) = 6831cd101da349266349eef33c21ffda353262f78b31f33376afcc427c07e3d4
+SHA512 (rgb-0.8.36.crate) = e1e812b04e3c6b0ab93f7a10161eef808fe11888a5c1fc0060cd91fa90129c31491d5c64de0cec989acfcf66ce481bd61d9cdcdcb54e5bf2556da0e5c3bb7612
+Size (rgb-0.8.36.crate) = 16576 bytes
+BLAKE2s (scopeguard-1.1.0.crate) = d3884942354d25131c602303463c5686e520bd94daf216a810679acabf59b82e
+SHA512 (scopeguard-1.1.0.crate) = 368fa5726df8f42b599993681579a9ffd0196480ee3cd0f9f671e8493f3bedd1e1779bdf2beb329e77e0005fa09b816e3385f309490c0f2781568db275d4d17d
+Size (scopeguard-1.1.0.crate) = 11470 bytes
+BLAKE2s (thread_local-1.1.7.crate) = 30ffa86ff25796622be75de4031e817bf2c927f9c0f1c2331d511abe811a3fe8
+SHA512 (thread_local-1.1.7.crate) = 3772452c2a349fb564d29bb06e13c8ae64807db27c3ee217fa04fd0e9847e94adeea582b82ffc2d9116f31ff478eb088550caf1346c263de49b55fa17b431c31
+Size (thread_local-1.1.7.crate) = 13585 bytes
+BLAKE2s (version_check-0.9.4.crate) = a26f24d5e2c5e631462ebe434aa239957f5102009d3824d5dff2bc90d3c79fb0
+SHA512 (version_check-0.9.4.crate) = b172dc9a3759a4a683ffc39b9a40b03b9974b626a088217de87090466cef695226557c226cf3e469b2b25ee7297b7eb0d7719878cab42457f80146a81943c0c8
+Size (version_check-0.9.4.crate) = 14895 bytes


Home | Main Index | Thread Index | Old Index