diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-01-15 15:51:32 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-01-15 15:51:32 +0000 |
commit | 21435953e16cda318a82334ddbadb3b5c36d9ea7 (patch) | |
tree | e1810a4b135afce04b34862ef0fab2bfaeb8aeca /dev-tcltk/tkimg | |
parent | 7bc9c63c9da678a7e6fceb095d56c634afd22c56 (diff) |
gentoo resync : 15.01.2020
Diffstat (limited to 'dev-tcltk/tkimg')
-rw-r--r-- | dev-tcltk/tkimg/Manifest | 8 | ||||
-rw-r--r-- | dev-tcltk/tkimg/files/tkimg-1.4-png2.patch | 36 | ||||
-rw-r--r-- | dev-tcltk/tkimg/tkimg-1.4-r9.ebuild | 90 | ||||
-rw-r--r-- | dev-tcltk/tkimg/tkimg-1.4.7.ebuild | 12 | ||||
-rw-r--r-- | dev-tcltk/tkimg/tkimg-1.4.9.ebuild | 12 |
5 files changed, 14 insertions, 144 deletions
diff --git a/dev-tcltk/tkimg/Manifest b/dev-tcltk/tkimg/Manifest index 613ce9b27748..6eb28b28101f 100644 --- a/dev-tcltk/tkimg/Manifest +++ b/dev-tcltk/tkimg/Manifest @@ -1,11 +1,7 @@ AUX tkimg-1.4-jpeg-9.patch 364 BLAKE2B bc9b3e4e404b49a9909d7198929033ebee4ab839f1f2ec71aea9435637bdcb6a3f0dd9c2ed379d9e0f7215853b0e693337876ac0842a37b32533151ef4d9b739 SHA512 4bb6cf0b7774700d607bccfb1590660344754749c40acefcba23046333b1029006acede784177473c629ab63247402bbbc4ab172946485af950c5e8ec6abb8c9 -AUX tkimg-1.4-png2.patch 1044 BLAKE2B 236e5fa637b4b1cc6c74dd85d4fe73520941af360873b0455ab146c443d844470d6afb67071976cd1850a79e0906b7374947d2c802c8ba85f83682c6ae0f77a5 SHA512 fbf982af5446fc54212745eee8338d5dc4b169f79045963be23a84c7a0ef9e68f54d895156b4f040f6585499f1ead9967ac0ce57106e3ca3615fbaa9adcd1fb7 DIST Img-1.4.9-Source.tar.gz 7702460 BLAKE2B 958956e786cea208f24a30532fa65914439d8289a4fce7dfa149e8202d1abe680bd8cb1cc5d8b3fb3e31d48bf5302db14977997f92ebaa786503138be872fa0b SHA512 c749a567de4eb2b9acc4d84344141ed8ba3703e4e22895d3fe0b292fe10bb0c09920cd765952fa1b95bfe8c0cb5e2955421c29bedaa07b7f3b36e7697a8f36c9 DIST Img-Source-1.4.7.tar.gz 7259144 BLAKE2B 48794a21564864c5b20953d1504acde5512be4aaa8db0834f63b15431af0bfa8bb2050f241e7b2d9b383480b59e17567f26f45c91e9f9a7fc58600cfe6ef6595 SHA512 6a395d6263e2f46151d0d3f5c6044d87a933617981200d2663328b8c7993b8a3aacba45568cee7aa2f5d8c8d020cb63956179aab5147d25d91b8834c0dfa4b9d -DIST tkimg-1.4-patchset-1.tar.xz 17956 BLAKE2B f6d3e5e5f258434bd02e21271357f2e2013ce7c90f2d1862e8e7ac0f1cf235d39b1713434a00261ec442c1843a70194b4d14081a5d4cec07c8ad6bf45bbf1db3 SHA512 bd20e0beaa224c42e856e6d44d86c2a5f04c28d096c561f44c4afcf8c821bf859c602156a9be60f23f906e8da2f43c89ca358d32e8f9497296e7c5a5bf23ed69 DIST tkimg-1.4.7-patchset-1.tar.xz 8208 BLAKE2B c2e6f5d6ef415c897cac33da4a003efec467312e844912e5a519cfb3ddf04ac5cac830eed05418ef74f931df2211c53c40669e53ce3bed219a7c2c714a398de5 SHA512 596c505db7f2ff40c786b83a018eba7f82718d350b6a601f8b93aa64fac238d6b8def603cd719f89fc526e5d2891a94b46de1a2ba628b8ff0ec80979892e28d8 -DIST tkimg1.4.tar.bz2 4912894 BLAKE2B 630ce6b95f42f0883373970ff919493d34cf4a61119af9520702079c6272f9b6ddbc6241197b39ac509d9b2c76c6f3d3bd29944acea4cdc1c82134cba473818a SHA512 b03aba6e21e35b8733dbc4fa66fae67284a05e68248e5afb2a85c1520c74d0c6c5091860a3ab682f4a662a318c562339e9b7b82f050e63bbf48d1b4757d379a1 -EBUILD tkimg-1.4-r9.ebuild 1842 BLAKE2B 470dcd82e9d64a0e809c39679ce8fa602f14d085eba6a665fbb112f0810a216378688a5fdec79e8bd16a6a06f4fa0a6efdac8e6742aa90449e2d674c38debc9d SHA512 35c3e79accf91eb48d577eb019c65125ca4ced5add2c2130599b3d92a8f4970ad1238df0dcf6cc22dadadb51d624338515933a522918b0b3cd1cd39e1f8d1e89 -EBUILD tkimg-1.4.7.ebuild 1910 BLAKE2B 7c6b367b1424bbd647334f62f12638751b96583ce6173d4347e1e834a990003b94e1b58958d89f58470f98540210ad470009910c92a80074056bc7a1f3422faf SHA512 ccb67c6d83901305402a6cd3b6556f1911805303005d5a0c3382823bb242d9fe5810b0d9035e0ee043d4dbe8c92f74f249a4147273cbd948a7c29ed3206c0dae -EBUILD tkimg-1.4.9.ebuild 2255 BLAKE2B 72c4cbf059238eb2268a4f3468c1df059e6c5abf12c03210e77b20b3d274768c0d41e2844601896dd525ffe04b44599fe169c7f1aa1b2845891353140f9b871c SHA512 0f4a9f01aa5675dc23eca626122efa75586eee39f0236a6e920f8efb7e15a2e3f9604f8c5ab1c65773fe64fee5d9ce026f4e729ed4a2edc5859eac5a27a1ecc9 +EBUILD tkimg-1.4.7.ebuild 1904 BLAKE2B faba72f6a1b921eb47c64bb6d630838a2a23e7c615ae6dd28860307382fa9dd91c65b580132765534d501a6ecee3b10975ba7a683c0eec62c73dc36b21635dbc SHA512 c6ca2c1dc26c7c986d4126521c52aa0ed8ec6129fb11ec723e6b2c982270c410e4e019ea313bcd7565d096acd97dbfcee93b27de2b8614048511811d5f78366d +EBUILD tkimg-1.4.9.ebuild 2250 BLAKE2B 6ac28172b78427829477ff65b3a227519fee5e3d165d224a6b2b81c3ddf1cfc83f22d71334e291852d2d1ae2774856512764dbef451f76783c9acc52d433e110 SHA512 c5d92f64424eaa68b0777cfe8c5e75c68b833b8ce088d652ff0996b72702de9c17f0fa0d6c7829d55f7363efaba9d3d9832564b6ecb954176ce3806135448c4c MISC metadata.xml 436 BLAKE2B 264c09c99797be5f1a242a1146d8552ab4cf632ad404d950829d102b2f3f8a40c5542ff04e9770a4870153843e462298af802e6caaff9e5bbb37abdb32697155 SHA512 d0401ca91110d4ffb90190d7135d3a5e6ef1aa0d3106cd7a84e72e64f3f565ee2ef30ac19aa2f119838a50d9c926132b93f2723a763d25b819db42fc57c16adf diff --git a/dev-tcltk/tkimg/files/tkimg-1.4-png2.patch b/dev-tcltk/tkimg/files/tkimg-1.4-png2.patch deleted file mode 100644 index 195e9be43fa7..000000000000 --- a/dev-tcltk/tkimg/files/tkimg-1.4-png2.patch +++ /dev/null @@ -1,36 +0,0 @@ ---- png/png.c.orig 2010-06-17 06:40:24.000000000 -0700 -+++ png/png.c 2013-04-23 20:57:32.000000000 -0700 -@@ -332,6 +332,16 @@ - png_set_expand(png_ptr); - } - -+ if (png_get_sRGB && png_get_sRGB(png_ptr, info_ptr, &intent)) { -+ png_set_sRGB(png_ptr, info_ptr, intent); -+ } else if (png_get_gAMA) { -+ double gamma; -+ if (!png_get_gAMA(png_ptr, info_ptr, &gamma)) { -+ gamma = 0.45455; -+ } -+ png_set_gamma(png_ptr, 1.0, gamma); -+ } -+ - png_read_update_info(png_ptr,info_ptr); - block.pixelSize = png_get_channels(png_ptr, info_ptr); - block.pitch = png_get_rowbytes(png_ptr, info_ptr); -@@ -353,16 +363,6 @@ - block.offset[3] = 0; - } - -- if (png_get_sRGB && png_get_sRGB(png_ptr, info_ptr, &intent)) { -- png_set_sRGB(png_ptr, info_ptr, intent); -- } else if (png_get_gAMA) { -- double gamma; -- if (!png_get_gAMA(png_ptr, info_ptr, &gamma)) { -- gamma = 0.45455; -- } -- png_set_gamma(png_ptr, 1.0, gamma); -- } -- - png_data= (char **) ckalloc(sizeof(char *) * info_height + - info_height * block.pitch); - diff --git a/dev-tcltk/tkimg/tkimg-1.4-r9.ebuild b/dev-tcltk/tkimg/tkimg-1.4-r9.ebuild deleted file mode 100644 index 155c4483e327..000000000000 --- a/dev-tcltk/tkimg/tkimg-1.4-r9.ebuild +++ /dev/null @@ -1,90 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -inherit eutils multilib prefix toolchain-funcs virtualx - -MYP="${PN}${PV}" - -DESCRIPTION="Adds a lot of image formats to Tcl/Tk" -HOMEPAGE="http://tkimg.sourceforge.net/" -SRC_URI=" - https://dev.gentoo.org/~jlec/distfiles/${P}-patchset-1.tar.xz - mirror://sourceforge/${PN}/${PV}/${MYP}.tar.bz2" - -SLOT="0" -LICENSE="BSD" -KEYWORDS="amd64 ppc x86 ~amd64-linux ~x86-linux" -IUSE="doc test static-libs" - -RDEPEND=" - dev-lang/tk:= - >=dev-tcltk/tcllib-1.11 - media-libs/tiff:0= - >=media-libs/libpng-1.6:0= - >=sys-libs/zlib-1.2.7:= - x11-libs/libX11 - virtual/jpeg:=" -DEPEND="${RDEPEND} - test? ( - x11-apps/xhost - media-fonts/font-misc-misc - media-fonts/font-cursor-misc )" - -# Fails with jpeg-turbo silently, #386253 -#RESTRICT="test" - -S="${WORKDIR}/${MYP}" - -src_prepare() { - epatch \ - "${WORKDIR}"/${P}-jpeg.patch \ - "${FILESDIR}"/${P}-jpeg-9.patch \ - "${WORKDIR}"/${P}-tiff.patch \ - "${WORKDIR}"/${P}-png.patch \ - "${FILESDIR}"/${P}-png2.patch \ - "${WORKDIR}"/${P}-zlib.patch - - find compat/{libjpeg,libpng,zlib,libtiff} -delete - - sed \ - -e 's:-O2 -fomit-frame-pointer::g' \ - -e 's: -pipe::g' \ - -i */configure || die - - eprefixify */*.h - tc-export AR -} - -src_test() { - Xemake test || die "Xmake failed" -} - -src_install() { - local l bl - - emake \ - DESTDIR="${D}" \ - INSTALL_ROOT="${D}" \ - install - - if ! use static-libs; then - find "${ED}"/usr/$(get_libdir)/ -type f -name "*\.a" -delete || die - fi - - # Make library links - for l in "${ED}"/usr/lib*/Img*/*tcl*.so; do - bl=$(basename $l) - dosym Img1.4/${bl} /usr/$(get_libdir)/${bl} - done - - dodoc ChangeLog README Reorganization.Notes.txt changes ANNOUNCE - - if use doc; then - insinto /usr/share/doc/${PF} - doins demo.tcl - insinto /usr/share/doc/${PF}/html - doins -r doc/* - fi -} diff --git a/dev-tcltk/tkimg/tkimg-1.4.7.ebuild b/dev-tcltk/tkimg/tkimg-1.4.7.ebuild index 107524465fb5..77643a72c844 100644 --- a/dev-tcltk/tkimg/tkimg-1.4.7.ebuild +++ b/dev-tcltk/tkimg/tkimg-1.4.7.ebuild @@ -14,7 +14,7 @@ SRC_URI="mirror://sourceforge/${PN}/${PN}/1.4/${PN}%20${PV}/${MYP}.tar.gz SLOT="0" LICENSE="BSD" -KEYWORDS="amd64 ppc ~x86 ~amd64-linux ~x86-linux" +KEYWORDS="amd64 ppc x86 ~amd64-linux ~x86-linux" IUSE="doc test static-libs" RDEPEND=" @@ -75,15 +75,15 @@ src_install() { # Make library links for l in "${ED}"/usr/lib*/Img*/*tcl*.so; do bl=$(basename $l) - dosym Img1.4/${bl} /usr/$(get_libdir)/${bl} + dosym Img${PV}/${bl} /usr/$(get_libdir)/${bl} done dodoc ChangeLog README Reorganization.Notes.txt changes ANNOUNCE if use doc; then - insinto /usr/share/doc/${PF} - doins demo.tcl - insinto /usr/share/doc/${PF}/html - doins -r doc/* + docompress -x usr/share/doc/${PF}/demo.tcl + dodoc demo.tcl + docinto html + dodoc -r doc/* fi } diff --git a/dev-tcltk/tkimg/tkimg-1.4.9.ebuild b/dev-tcltk/tkimg/tkimg-1.4.9.ebuild index 2746c0ba15ec..d2c7d256208b 100644 --- a/dev-tcltk/tkimg/tkimg-1.4.9.ebuild +++ b/dev-tcltk/tkimg/tkimg-1.4.9.ebuild @@ -1,7 +1,7 @@ # Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=7 inherit autotools eutils multilib prefix toolchain-funcs virtualx @@ -88,15 +88,15 @@ src_install() { # Make library links for l in "${ED}"/usr/lib*/Img*/*tcl*.so; do bl=$(basename $l) - dosym Img1.4/${bl} /usr/$(get_libdir)/${bl} + dosym Img${PV}/${bl} /usr/$(get_libdir)/${bl} done dodoc ChangeLog README Reorganization.Notes.txt changes ANNOUNCE if use doc; then - insinto /usr/share/doc/${PF} - doins demo.tcl - insinto /usr/share/doc/${PF}/html - doins -r doc/* + docompress -x usr/share/doc/${PF}/demo.tcl + dodoc demo.tcl + docinto html + dodoc -r doc/* fi } |