summaryrefslogtreecommitdiff
path: root/media-gfx
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-11-03 03:04:04 +0000
committerV3n3RiX <venerix@koprulu.sector>2024-11-03 03:04:04 +0000
commit212000bb5eabdfeb9a6e7a9b8f28e2740cae555a (patch)
treedbbe26e892147b95a24336cc44d791dbe0c0ce5f /media-gfx
parent37a097af13d675b83911ac006ee9ee22d2163f9a (diff)
gentoo auto-resync : 03:11:2024 - 03:04:03
Diffstat (limited to 'media-gfx')
-rw-r--r--media-gfx/Manifest.gzbin38371 -> 38377 bytes
-rw-r--r--media-gfx/asymptote/Manifest2
-rw-r--r--media-gfx/asymptote/asymptote-2.92.ebuild243
-rw-r--r--media-gfx/cropgui/Manifest2
-rw-r--r--media-gfx/cropgui/cropgui-0.9.ebuild47
-rw-r--r--media-gfx/graphviz/Manifest2
-rw-r--r--media-gfx/graphviz/graphviz-12.0.0.ebuild2
-rw-r--r--media-gfx/pngtools/Manifest3
-rw-r--r--media-gfx/pngtools/files/pngtools-0.3-implicit-declarations.patch40
-rw-r--r--media-gfx/pngtools/files/pngtools-0.4-libpng14.patch34
-rw-r--r--media-gfx/pngtools/files/pngtools-0.4-libpng15-fixes.patch190
-rw-r--r--media-gfx/sane-airscan/Manifest2
-rw-r--r--media-gfx/sane-airscan/sane-airscan-0.99.27-r1.ebuild2
13 files changed, 298 insertions, 271 deletions
diff --git a/media-gfx/Manifest.gz b/media-gfx/Manifest.gz
index a6c3be1bf4b9..49cb5b21e693 100644
--- a/media-gfx/Manifest.gz
+++ b/media-gfx/Manifest.gz
Binary files differ
diff --git a/media-gfx/asymptote/Manifest b/media-gfx/asymptote/Manifest
index 177dc6e4cf19..d082af88ecfe 100644
--- a/media-gfx/asymptote/Manifest
+++ b/media-gfx/asymptote/Manifest
@@ -3,6 +3,8 @@ AUX asymptote-2.70-info.patch 436 BLAKE2B 70eac7625341e21f9cf03cf1ea08e4864fe102
AUX asymptote-2.85-xdg-utils.patch 762 BLAKE2B 4b5ea874e89723e0a26b3a16a55660703a78316bc0df1b8cc2a23963aac51d4d0b2107598c67316cfcee132a1b88b90b3c600bc279b098f2e709c65911f37a51 SHA512 8c6f85518968fbf10ac66b7bc1819bcc90562076475c5405d4f21da0de64406de4c26de2ba9481e15dc21d9f086cd2920b263c7bb483c90a5ed40900dfaf937c
DIST asymptote-2.89.src.tgz 15133552 BLAKE2B bde5acd3e76543b3c936e785ccf081c38687d535f336ee0e3da62f5fe078bb040dc162b64f02e94f392129c120bdf497b86e3862059abdb1b4544bab3cce3218 SHA512 a9874f0dc6eb05b95ef551611d85f39222af2a0628d7904160b08bdaf797c2b9ec6d12af7ae26dee69dbc056a5bffad4e450d4846a517d80990d89759e0c47a0
DIST asymptote-2.90.src.tgz 15154576 BLAKE2B 57e3c4287f2e8a6b6f3d660cdd04bb753b435294d4769bbcf84d6c7bf80c813609528767af7d19853d9f72f4f1ce9e6a8dcc6a75731a2f3d16098d5da5b81b6c SHA512 2d050f7a2cfc34d2d6b5382a48e7bf09031d98a77e61b654b4af84b5e8e11553a9a713a6dea8d09291761427d7134742a3d266e57ac57ffda3587ec0487ecfca
+DIST asymptote-2.92.src.tgz 17075592 BLAKE2B 426fe3bb652f2f227d6f8cdd8e05c4b4bf0e2a0c47b3c252c5efb189ad3e7a0946664d714f161f70a9715f75dadf5510445e404d8c2e7b33f9e710200965caf0 SHA512 242a91357e7f0d2a4fc786fa881498d09d5b3b679cf1ee83e6af49f645935699a6e703eb8069446e11098028bc0cb0549f527695d3ea289066124d707c592559
EBUILD asymptote-2.89.ebuild 5547 BLAKE2B 1ebd17a78dd79edb0eac18b054f7fe786227ccee3eefc1f397b759d698cf400e8a19ab2cebee15cd21edd299c26027ca39f6fb707db3e54ee0e650bc11ed6794 SHA512 8f9aeb3295c7c8252f1ea974769e1cf82357ac088b576bf2ee277c7bcd1967b236e563000cdeb61e459922dfabb17776eae68c380ebdd4eb8c2002ff6949e73b
EBUILD asymptote-2.90.ebuild 5549 BLAKE2B 243717d534c43198a016f434bb5456f6c75baca9e90a16ada3bb4eb0521946a1b62a54f3f09f9d2d96733731b57f0cd8366e3c168816a31ae462b394216aca98 SHA512 a8b40bae9beaaf9505026158e50cc6436c7e839c82f14e7c66b7beb03d032f55eab7bd788426ebd21ca77c6b05d16c7e1c024c6c727e5e256f49bfdb2d4dfa16
+EBUILD asymptote-2.92.ebuild 5549 BLAKE2B dc60e5bef75658aa63be488fa85f8ceeef883cf7521fd54a1837d1c7768a6aa88d6686a5736d20511790fd6a6c6b14439cd81447be04538aa730390394eb54dc SHA512 218c466cfe227c3d259429c685c93c792ca389f3115acd1e25f891dbc963746bc64b31f6d665994eccd11eef280508ab1eb88c90c6b4cb169335bd627ad857a2
MISC metadata.xml 1423 BLAKE2B 64dd5d6c928a11d4a47297362223164cb19d91f6a08a0582b66831e2e8e2d7594389c2244fa1527dfe945da0e67985f5c639e3dae2482f57b510bf828a4605ed SHA512 1561e416e56bca130a72f90886981f63224c21e2a077a7b93e6fdd877f38dd12dfa9e0b747840e7f459e2df16c5b08e0177d26c526eb21bebe00fa8c91326bc9
diff --git a/media-gfx/asymptote/asymptote-2.92.ebuild b/media-gfx/asymptote/asymptote-2.92.ebuild
new file mode 100644
index 000000000000..ca9e0caa6681
--- /dev/null
+++ b/media-gfx/asymptote/asymptote-2.92.ebuild
@@ -0,0 +1,243 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+
+inherit autotools elisp-common latex-package python-r1
+
+DESCRIPTION="A vector graphics language that provides a framework for technical drawing"
+HOMEPAGE="https://asymptote.sourceforge.io/"
+SRC_URI="https://downloads.sourceforge.net/asymptote/${P}.src.tgz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~riscv ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
+IUSE="+boehm-gc context curl doc emacs examples fftw gsl +imagemagick latex lsp offscreen +opengl python sigsegv svg test vim-syntax X"
+RESTRICT="!test? ( test )"
+
+REQUIRED_USE="
+ ${PYTHON_REQUIRED_USE}
+ offscreen? ( opengl )
+ doc? ( boehm-gc )"
+
+RDEPEND="
+ >=sys-libs/ncurses-5.4-r5:0=
+ >=sys-libs/readline-4.3-r5:0=
+ net-libs/libtirpc:=
+ imagemagick? ( media-gfx/imagemagick[png] )
+ opengl? ( media-libs/mesa[X(+)] media-libs/freeglut media-libs/glew:0 media-libs/glm )
+ offscreen? ( media-libs/mesa[osmesa] )
+ svg? ( app-text/dvisvgm )
+ sigsegv? ( dev-libs/libsigsegv )
+ boehm-gc? ( >=dev-libs/boehm-gc-7.0[cxx,threads] )
+ fftw? ( >=sci-libs/fftw-3.0.1:= )
+ gsl? ( sci-libs/gsl:= )
+ python? ( ${PYTHON_DEPS} )
+ curl? ( net-misc/curl )
+ lsp? (
+ dev-libs/boost
+ dev-libs/rapidjson
+ dev-libs/utfcpp
+ )
+ X? (
+ ${PYTHON_DEPS}
+ dev-python/PyQt5[${PYTHON_USEDEP},gui,widgets,svg]
+ dev-python/cson
+ dev-python/numpy
+ >=gnome-base/librsvg-2.40
+ )
+ latex? (
+ virtual/latex-base
+ dev-texlive/texlive-latexextra
+ )
+ context? ( dev-texlive/texlive-context )
+ emacs? ( >=app-editors/emacs-23.1:* )
+ vim-syntax? ( || ( app-editors/vim app-editors/gvim ) )"
+DEPEND="${RDEPEND}
+ dev-lang/perl
+ doc? (
+ media-gfx/imagemagick[png]
+ virtual/texi2dvi
+ virtual/latex-base
+ dev-texlive/texlive-latexextra
+ app-text/ghostscript-gpl )
+ test? ( app-text/ghostscript-gpl )"
+
+TEXMF=/usr/share/texmf-site
+
+PATCHES=(
+ # Changing pdf, ps, image viewers to xdg-open
+ "${FILESDIR}/${PN}-2.92-xdg-utils.patch"
+
+ # Bug #322473
+ "${FILESDIR}/${PN}-2.70-info.patch"
+)
+
+src_prepare() {
+ sed -e "s:Datadir/doc/asymptote:Datadir/doc/${PF}:" \
+ -i configure.ac \
+ || die "sed configure.ac failed"
+
+ default
+ eautoreconf
+}
+
+src_configure() {
+ # for the CPPFLAGS see
+ # https://sourceforge.net/forum/forum.php?thread_id=1683277&forum_id=409349
+ econf \
+ CPPFLAGS=-DHAVE_SYS_TYPES_H \
+ CFLAGS="${CXXFLAGS}" \
+ --disable-gc-debug \
+ --disable-gc-full-debug \
+ --with-latex=/usr/share/texmf-site/tex/latex \
+ --with-context=/usr/share/texmf-site/tex/context \
+ $(use_enable boehm-gc gc system) \
+ $(use_enable curl) \
+ $(use_enable lsp) \
+ $(use_enable fftw) \
+ $(use_enable gsl) \
+ $(use_enable opengl gl) \
+ $(use_enable offscreen) \
+ $(use_enable sigsegv)
+}
+
+src_compile() {
+ default
+
+ cd doc || die
+ emake asy.1
+ einfo "Making info"
+ cd png || die
+ emake ${PN}.info
+ cd .. || die
+ if use doc; then
+ cd FAQ || die
+ emake
+ cd .. || die
+ # pdf
+ einfo "Making pdf docs"
+ export VARTEXFONTS="${T}"/fonts
+ # see bug #260606
+ emake -j1 asymptote.pdf
+ emake CAD.pdf asy-latex.pdf asyRefCard.pdf
+ fi
+ cd .. || die
+
+ if use emacs; then
+ einfo "Compiling emacs lisp files"
+ elisp-compile base/*.el
+ fi
+}
+
+src_install() {
+ # the program
+ dobin asy
+
+ # .asy files
+ insinto /usr/share/${PN}
+ doins -r base/*.asy base/*.js base/*.sh base/*.ps base/shaders base/webgl
+ chmod 755 "${D}"/usr/share/${PN}/shaders/*
+
+ # documentation
+ dodoc README ReleaseNotes ChangeLog
+ cd doc || die
+ doman asy.1
+ doinfo png/${PN}.info
+ if use doc; then
+ dodoc FAQ/asy-faq.ascii
+ dodoc CAD.pdf asy-latex.pdf asyRefCard.pdf asymptote.pdf
+ fi
+ cd .. || die
+
+ # asymptote.py
+ if use python; then
+ python_moduleinto ${PN}
+ python_foreach_impl python_domodule aspy.py
+ python_foreach_impl python_domodule base/${PN}.py
+ fi
+
+ # X GUI
+ if use X; then
+ cd GUI || die
+ python_setup
+ sed -e 1d -i xasy.py
+ echo "#!/usr/bin/env ${EPYTHON}" > xasy1
+ cat xasy1 xasy.py > xasy
+ rm xasy1 xasy.py
+ mv xasy xasy.py
+ cd .. || die
+ python_domodule GUI
+ chmod 755 "${D}/$(python_get_sitedir)/${PN}/GUI/xasy.py"
+ dosym "$(python_get_sitedir)/${PN}/GUI/xasy.py" /usr/bin/xasy
+ doman doc/xasy.1x
+ fi
+
+ # examples
+ if use examples; then
+ docinto examples
+ dodoc \
+ examples/*.asy \
+ examples/*.views \
+ examples/*.dat \
+ examples/*.bib \
+ examples/*.png \
+ examples/*.pdb1 \
+ doc/*.asy \
+ doc/*.csv \
+ doc/*.dat \
+ doc/pixel.pdf \
+ doc/extra/*.asy
+ docinto examples/animations
+ dodoc examples/animations/*.asy
+ fi
+
+ # LaTeX style
+ if use latex; then
+ cd doc || die
+ insinto "${TEXMF}"/tex/latex/${PN}
+ doins *.sty latexmkrc
+ if use examples; then
+ docinto examples
+ dodoc latexusage.tex externalprc.tex
+ docinto examples/animations
+ dodoc ../examples/animations/*.tex
+ fi
+ cd .. || die
+ fi
+
+ # ConTeXt
+ if use context; then
+ insinto /usr/share/texmf-site/tex/context
+ doins doc/colo-asy.tex
+ fi
+
+ # emacs mode
+ if use emacs; then
+ elisp-install ${PN} base/*.el base/*.elc asy-keywords.el
+ elisp-site-file-install "${FILESDIR}"/64${PN}-gentoo.el
+ fi
+
+ # vim syntax
+ if use vim-syntax; then
+ insinto /usr/share/vim/vimfiles/syntax
+ doins base/asy.vim
+ insinto /usr/share/vim/vimfiles/ftdetect
+ doins base/asy_filetype.vim
+ fi
+}
+
+pkg_postinst() {
+ use latex && latex-package_rehash
+ use emacs && elisp-site-regen
+
+ elog 'Use the variable ASYMPTOTE_PSVIEWER to set the postscript viewer'
+ elog 'Use the variable ASYMPTOTE_PDFVIEWER to set the PDF viewer'
+}
+
+pkg_postrm() {
+ use latex && latex-package_rehash
+ use emacs && elisp-site-regen
+}
diff --git a/media-gfx/cropgui/Manifest b/media-gfx/cropgui/Manifest
index e2e1d7ccca60..f5be51b36835 100644
--- a/media-gfx/cropgui/Manifest
+++ b/media-gfx/cropgui/Manifest
@@ -1,5 +1,7 @@
DIST cropgui-0.7.tar.gz 855705 BLAKE2B d2693034b3e3a4355f58c4d17d355721189da8442b5d49ba4c11dc0033371c74301a99c001613c427375bdb9cd733f56a870186a6a59b631feaae93dbd69b232 SHA512 ea06527bdd80382bf4986ea1eea8d3c0e11ea60c472bebb489fdc3bd8206f087d0377d769e8fe86ec4573f6d510266443fd25134894b91206e1c5c9d6f7cf563
DIST cropgui-0.8.tar.gz 857102 BLAKE2B 0fb1dd24c282e6c5595de97dc2c52d20e7c1200d7092edb8e3173276873c49512088f1fc8deed0c1e3d6b606009fe06f3c38cf98c7dac15dd74ccbdab2d71539 SHA512 911bea2b989ce53afeaf067fe5d718440b0a15c26b9488259569f1a287c8128cb7244bcb0721b15ec3564644a0ba8e9ed2991d275420bf3e3659cb0be2e8622d
+DIST cropgui-0.9.tar.gz 857265 BLAKE2B 8df3f1451b5a663fb9fdd7d414ec7f5e15f0db307c2b15c0bbd67a42b0e0358ffc8ca9cd5f5fcf837d289b3c76c27c54feddd440a0d43c2589c5d465f969345c SHA512 dd5b329d9da71a5764403099e379398aa352aca57574975799e74081d31933fb3f93fd8e2ea4657972a4d7e8a198b4195b37bc6a4778ae645b490b0f0318ac16
EBUILD cropgui-0.7.ebuild 1148 BLAKE2B 49ad93c2abdab01eb9a198916f550a77e8a8d9368cc88f9e65902c1ce1ca57fa1fa9b420732b56c51ba2f1f772a652b19b70f70e3395ac3f50c0a7086eb6000a SHA512 cfe0ca8e18ba085dd2f0ffbb8555a75e1fbd1c3b81a6a63a742e03dbb0ce2cfb55f8596df1776415ae1513eef9c1ef8e624e2e77cde3812c9a5df21b6439e12e
EBUILD cropgui-0.8.ebuild 1148 BLAKE2B c6d8c21c7868f9278a74c9c57c83a03eddb8ccf1a5f709e4355f664865054ed2513730f330e6a540d1cba6f3764ae1e4d0621b70eb6d182c22b8438df1383428 SHA512 0788661bfe89640b70f22969fa80ba15dcb1b35772c592d05941881fdd6b4f0c51eeed54fcba782b9191afce3750b87797ac896c94a8605bb91856a6275423d5
+EBUILD cropgui-0.9.ebuild 1151 BLAKE2B 97c6f67d0220308f35e26130107f36be24475aaaa300d8caccb2d4899b30c4b0fb973c10178183d39243098cefdaf1bd76109b854fd1531a3da64859f69e702e SHA512 5cea272e28cb7fe05f870a08883710322316110a0734e058351423e64c2ed548707416f7902805599b4778900096d5f075b671607493c6cd1766f4fe5ffffc4d
MISC metadata.xml 323 BLAKE2B 4f4655c7441d04e7d3840d96e9230c3f479955d01b44344b2b424af910b48e60fdf33a21c5ba6cc5490255a38bcb7f6359516e41ac5569446c7e000e23dda693 SHA512 b40805e072a6f3588784f689fcf6c90525f1b9c23c20570ecc5e647e6d151ab3fd81b953a0263a3c0429947cfca5ef23f2a48a242ee9aa789e2c543ca29eaf86
diff --git a/media-gfx/cropgui/cropgui-0.9.ebuild b/media-gfx/cropgui/cropgui-0.9.ebuild
new file mode 100644
index 000000000000..39b2dd8f684b
--- /dev/null
+++ b/media-gfx/cropgui/cropgui-0.9.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{9,10,11,12,13} )
+inherit python-r1 desktop wrapper xdg-utils
+
+DESCRIPTION="GUI for lossless cropping of jpeg images"
+HOMEPAGE="https://emergent.unpythonic.net/01248401946"
+SRC_URI="https://github.com/jepler/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+DEPEND="${PYTHON_DEPS}"
+RDEPEND="${PYTHON_DEPS}
+ dev-python/pillow[${PYTHON_USEDEP}]
+ dev-python/pygobject:3[${PYTHON_USEDEP}]
+ media-libs/exiftool
+ media-gfx/imagemagick"
+
+install_cropgui_wrapper() {
+ python_domodule cropgtk.py cropgui_common.py filechooser.py cropgui.glade
+ make_wrapper "${PN}.tmp" "${PYTHON} $(python_get_sitedir)/${PN}/cropgtk.py"
+ python_newexe "${ED}/usr/bin/${PN}.tmp" "${PN}"
+ rm "${ED}/usr/bin/${PN}.tmp" || die
+}
+
+src_install() {
+ python_moduleinto "${PN}"
+ python_foreach_impl install_cropgui_wrapper
+
+ domenu "${PN}.desktop"
+ doicon "${PN}.png"
+}
+
+pkg_postinst() {
+ xdg_desktop_database_update
+}
+
+pkg_postrm() {
+ xdg_desktop_database_update
+}
diff --git a/media-gfx/graphviz/Manifest b/media-gfx/graphviz/Manifest
index 1bdd45f6687c..f53d5bc56dcc 100644
--- a/media-gfx/graphviz/Manifest
+++ b/media-gfx/graphviz/Manifest
@@ -3,6 +3,6 @@ DIST graphviz-12.0.0.tar.xz 21279920 BLAKE2B 67d4444dcc31417fd01268b0fdc81538d86
DIST graphviz-12.1.2.tar.xz 20939968 BLAKE2B 4c9ad31f9ce6c68e67a48330b6693c9d6dc9ecebd4ef74e0aa250fd6cb86f02a585c8b6fe16b1322aedfa844004327f72ac4cbcca782848d55202b8e4695371d SHA512 2c31c33bcc0a912b08bf837df318152f910452e3efa5e6c19cf76c49017c64d6dad4cde719d4713bb41343c4484381d94706c2e993233aaa45a334390338cde9
EBUILD graphviz-11.0.0.ebuild 6292 BLAKE2B cd5314ceddbf687cd310eb2e01a1db77e7c970cf27654f768e8c80079c7584ce728a3766e4ccef75eb7ca3e7d2ace353e8991751027a8aeb3c933c79032805e4 SHA512 1602d4934fd21228b046dbe6c14c5b2097d096f17409bf20e0af198e93f5d0c5a84c209af60f8cc8e89d7adde209922bfc58b243aeba7968963cce2d2be806a1
EBUILD graphviz-12.0.0-r100.ebuild 6497 BLAKE2B 73aac1004d0acebea0a1555260980a227d810bd8f194f2c271dc09f79884c364324e1d79129ecee5ad3a90156f9a41ea32dd3002a429d60e717ca8b52baff898 SHA512 889fc6a842a87092678a8b3c16428754e2bc03a1c8ae995be1e70654295dadb00d2b71d23252146405e44d965c9f4941d294895fc350fdfd2e4857be4b4f0063
-EBUILD graphviz-12.0.0.ebuild 6293 BLAKE2B 0d88fb61096904db78bf4afa7f5166e45dc9e290dd4dd896b78b270cc7dc1143b53e0fa6bb08e0d3d36b28bb865714e5a14e4ce273470676d8ef52924cb7c5f2 SHA512 b4b08b386bc2a510d40b25e8ab84d49f236cac090bcb94896dd8e1c0f583816f7c86659f8c59c0acb986c493232b604004ed1141f81d1c58f9c793a29965fa18
+EBUILD graphviz-12.0.0.ebuild 6292 BLAKE2B 20181effb0550326bf269c293e39744c4fe37154a6486edb4396e264f6e189913854956c8b16d7a0c46db152f8b2710714f2e4d275949d1b982898f9fc9053e0 SHA512 b248a23aad79a03fde4594c9b591ebc682134e8fd1cd2c590bce481beddf6fbf5405e64e2279f3599013cba88bc381f35db880898b74deb91ff65648cc6d8250
EBUILD graphviz-12.1.2.ebuild 6497 BLAKE2B 73aac1004d0acebea0a1555260980a227d810bd8f194f2c271dc09f79884c364324e1d79129ecee5ad3a90156f9a41ea32dd3002a429d60e717ca8b52baff898 SHA512 889fc6a842a87092678a8b3c16428754e2bc03a1c8ae995be1e70654295dadb00d2b71d23252146405e44d965c9f4941d294895fc350fdfd2e4857be4b4f0063
MISC metadata.xml 2309 BLAKE2B 261f100c9c78cf3bb50ffd84260594d34fa5af75f0b3789ce5640e0d633494405e64b3e9f7524e35ef87d11164c501e21fcef2cc483f60ad6ad2e350f500e3b2 SHA512 1a29d11154b72af3deeb0202136926f0871797086ce1a5a4d1fc71822e86d0e76ff789c684fabad85fac1abd5f29913a555be0916f42b90f5ce62fa395e1cbba
diff --git a/media-gfx/graphviz/graphviz-12.0.0.ebuild b/media-gfx/graphviz/graphviz-12.0.0.ebuild
index 9b924dbf83bb..26570a419bdf 100644
--- a/media-gfx/graphviz/graphviz-12.0.0.ebuild
+++ b/media-gfx/graphviz/graphviz-12.0.0.ebuild
@@ -14,7 +14,7 @@ SRC_URI="https://gitlab.com/api/v4/projects/4207231/packages/generic/graphviz-re
LICENSE="CPL-1.0"
SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris"
IUSE="+cairo devil doc examples gtk2 gts guile lasi nls pdf perl postscript python qt5 ruby svg tcl webp X"
REQUIRED_USE="
diff --git a/media-gfx/pngtools/Manifest b/media-gfx/pngtools/Manifest
index f6c64971b882..cd8c0cdaed45 100644
--- a/media-gfx/pngtools/Manifest
+++ b/media-gfx/pngtools/Manifest
@@ -1,6 +1,3 @@
-AUX pngtools-0.3-implicit-declarations.patch 1428 BLAKE2B 7e6cc10c336658e039de5f37416d9b0b696b731d12364dd72d119fb58edb04bf506eef32541615f98bc2a06b8d5841a705a316e6f9fd84e09ea591291be45be4 SHA512 80ac14a46940324dcd33f0f6f215e56888cc46a24d216d120339e026fa2ef0624511c262daa195308d420ffa773e2279b73d332316f626dac4ec3c96d6a2ee6c
-AUX pngtools-0.4-libpng14.patch 1265 BLAKE2B a959b83fe85a10348d815ccccaa17d2e46c03398a38cdffff52372a39419ef2ed70deb7e5751228066085c714969d755665801bf8b973d945622159af1937e03 SHA512 94940722266361f90239712875067ab0d82c18545300d9d604b76eb00ffdb8e82af0e0ab78966b645aba2dbdf59666a2da593365d5b9c9745def2b8ede0a4480
-AUX pngtools-0.4-libpng15-fixes.patch 6722 BLAKE2B 083318ef199f4c07ed1f44ddf95623fd198e10a2b939f86c1bf7a9995fac98080d0dbbe79e2e88817e8f07c5bd2f79ad80d7ee2d41cb0d03ca7aa46b8707ba64 SHA512 aafc4c746efc0ef00e9d9e59acf0dee58b56ce80a9f04ddfa9879f46f342170f4641f23081323299a143d4837367645240f823ba9900592fcfdec71961f3f330
AUX pngtools-0.4_p20220314-docbook-dtd.patch 2482 BLAKE2B b6f48ff4fa4d3f20f3d720d7e03b37b2a9b4af5c0daabf73ef2f91a874106bb7b465f024c24c79516fd8a6c10a0569cab59ccde0afd1a21cf1c337e23801ffae SHA512 ee28229423354cd99bae0e964ddb6554e5c7eb61e3d2ccd0151ae68aa138ac1f6781746cb134a6a9e9af6c62bc58804b212f35a03757c5fed51e98a172c90a02
DIST pngtools-0.4_p20220314.tar.gz 651338 BLAKE2B 9df108da4a52c6292c52a08ddc59163d386bc5de4aaaac96a166ba1e5dc38029b4261e80b8a186997d199ecd11b43fe9e46a41b6b25c65595b7baa4eab43376e SHA512 d1812051d4d1e6306805c96f686798e5af0a304ec045dbf02d77ab3f6432bc0f4e0c96c800bbb159d6ca9e83e8ef479c6d4ba742072fa897ec55808061001676
EBUILD pngtools-0.4_p20220314.ebuild 973 BLAKE2B e5297259cfcd47706fddd44cfbac026f61c090b7da99f35b112c66748707fcf568e158ca783158b8b8f6c96a6bd47c16290632730696df6940558b9cb6bf1e97 SHA512 b9d18223dedf08252930a872bd4e88fa9126076f36d9a483158b06c225499f92f5a872893480f5c3ca6e33d7c6a6f7f3b72619a4c3833553905786451536fb14
diff --git a/media-gfx/pngtools/files/pngtools-0.3-implicit-declarations.patch b/media-gfx/pngtools/files/pngtools-0.3-implicit-declarations.patch
deleted file mode 100644
index 682bcc8c29d3..000000000000
--- a/media-gfx/pngtools/files/pngtools-0.3-implicit-declarations.patch
+++ /dev/null
@@ -1,40 +0,0 @@
-diff -ur pngtools.orig/inflateraster.c pngtools/inflateraster.c
---- pngtools.orig/inflateraster.c 2005-04-08 04:23:34.000000000 +0300
-+++ pngtools/inflateraster.c 2008-04-23 20:38:05.000000000 +0300
-@@ -1,5 +1,6 @@
- #include <stdlib.h>
- #include <stdio.h>
-+#include <math.h>
-
- // Inflate a raster to a given pixel sample size
- char *inflateraster(char *input, unsigned long width, unsigned long height,
-diff -ur pngtools.orig/pngchunkdesc.c pngtools/pngchunkdesc.c
---- pngtools.orig/pngchunkdesc.c 2005-04-08 04:23:34.000000000 +0300
-+++ pngtools/pngchunkdesc.c 2008-04-23 20:44:38.000000000 +0300
-@@ -20,6 +20,7 @@
- ******************************************************************************/
-
- #include <stdio.h>
-+#include <string.h>
-
- char *meanings[4][2] = {
- {"Critical", "Ancillary"},
-diff -ur pngtools.orig/pngchunks.c pngtools/pngchunks.c
---- pngtools.orig/pngchunks.c 2005-04-08 04:23:35.000000000 +0300
-+++ pngtools/pngchunks.c 2008-04-23 20:38:29.000000000 +0300
-@@ -1,6 +1,7 @@
- // List the chunks which appear in a given PNG image
-
- #include <stdio.h>
-+#include <stdlib.h>
- #include <unistd.h>
- #include <sys/mman.h>
- #include <sys/types.h>
-diff -ur pngtools.orig/pngcp.c pngtools/pngcp.c
---- pngtools.orig/pngcp.c 2005-04-08 04:23:35.000000000 +0300
-+++ pngtools/pngcp.c 2008-04-23 20:38:13.000000000 +0300
-@@ -1,3 +1,4 @@
-+#include <stdlib.h>
- #include <unistd.h>
- #include <stdio.h>
- #include <math.h>
diff --git a/media-gfx/pngtools/files/pngtools-0.4-libpng14.patch b/media-gfx/pngtools/files/pngtools-0.4-libpng14.patch
deleted file mode 100644
index f849549bae13..000000000000
--- a/media-gfx/pngtools/files/pngtools-0.4-libpng14.patch
+++ /dev/null
@@ -1,34 +0,0 @@
-diff -ur pngtools-0.4.orig/Makefile.am pngtools-0.4/Makefile.am
---- pngtools-0.4.orig/Makefile.am 2008-11-27 01:14:17.000000000 +0200
-+++ pngtools-0.4/Makefile.am 2010-03-09 00:51:10.000000000 +0200
-@@ -4,3 +4,6 @@
- pngcp_SOURCES = pngcp.c pngread.c pngwrite.c inflateraster.c
- pngchunkdesc_SOURCES = pngchunkdesc.c
- pngchunks_SOURCES = pngchunks.c
-+
-+pnginfo_LDADD = -lpng
-+pngcp_LDADD = -lpng
-diff -ur pngtools-0.4.orig/pnginfo.c pngtools-0.4/pnginfo.c
---- pngtools-0.4.orig/pnginfo.c 2008-11-27 01:14:17.000000000 +0200
-+++ pngtools-0.4/pnginfo.c 2010-03-09 00:42:58.000000000 +0200
-@@ -152,7 +152,7 @@
-
- // Check that it really is a PNG file
- fread (sig, 1, 8, image);
-- if (!png_check_sig (sig, 8))
-+ if (!png_sig_cmp(sig, 0, 8) == 0)
- {
- printf (" This file is not a valid PNG file\n");
- fclose (image);
-diff -ur pngtools-0.4.orig/pngread.c pngtools-0.4/pngread.c
---- pngtools-0.4.orig/pngread.c 2008-11-27 01:14:17.000000000 +0200
-+++ pngtools-0.4/pngread.c 2010-03-09 00:43:27.000000000 +0200
-@@ -26,7 +26,7 @@
-
- // Check that it really is a PNG file
- fread(sig, 1, 8, image);
-- if(!png_check_sig(sig, 8)){
-+ if(!png_sig_cmp(sig, 0, 8) == 0){
- fprintf(stderr, "This file is not a valid PNG file\n");
- goto error;
- }
diff --git a/media-gfx/pngtools/files/pngtools-0.4-libpng15-fixes.patch b/media-gfx/pngtools/files/pngtools-0.4-libpng15-fixes.patch
deleted file mode 100644
index 29b73233610b..000000000000
--- a/media-gfx/pngtools/files/pngtools-0.4-libpng15-fixes.patch
+++ /dev/null
@@ -1,190 +0,0 @@
-diff -Nuar --exclude '*.orig' --exclude '*.rej' pngtools-0.4.orig//pnginfo.c pngtools-0.4/pnginfo.c
---- pngtools-0.4.orig//pnginfo.c 2011-09-16 07:05:05.235477249 +0000
-+++ pngtools-0.4/pnginfo.c 2011-09-16 07:07:52.385872705 +0000
-@@ -185,20 +185,25 @@
- ///////////////////////////////////////////////////////////////////////////
-
- printf (" Image Width: %d Image Length: %d\n", width, height);
-+ int pixel_depth;
-+ pixel_depth = bitdepth * png_get_channels(png, info);
- if(tiffnames == pnginfo_true){
- printf (" Bits/Sample: %d\n", bitdepth);
-- printf (" Samples/Pixel: %d\n", info->channels);
-- printf (" Pixel Depth: %d\n", info->pixel_depth); // Does this add value?
-+ printf (" Samples/Pixel: %d\n", png_get_channels(png, info));
-+ printf (" Pixel Depth: %d\n", pixel_depth); // Does this add value?
- }
- else{
- printf (" Bitdepth (Bits/Sample): %d\n", bitdepth);
-- printf (" Channels (Samples/Pixel): %d\n", info->channels);
-- printf (" Pixel depth (Pixel Depth): %d\n", info->pixel_depth); // Does this add value?
-+ printf (" Channels (Samples/Pixel): %d\n", png_get_channels(png, info));
-+ printf (" Pixel depth (Pixel Depth): %d\n", pixel_depth); // Does this add value?
- }
-
- // Photometric interp packs a lot of information
- printf (" Colour Type (Photometric Interpretation): ");
-
-+ int num_palette;
-+ int num_trans;
-+
- switch (colourtype)
- {
- case PNG_COLOR_TYPE_GRAY:
-@@ -207,10 +212,10 @@
-
- case PNG_COLOR_TYPE_PALETTE:
- printf ("PALETTED COLOUR ");
-- if (info->num_trans > 0)
-+ if (num_trans > 0)
- printf ("with alpha ");
- printf ("(%d colours, %d transparent) ",
-- info->num_palette, info->num_trans);
-+ num_palette, num_trans);
- break;
-
- case PNG_COLOR_TYPE_RGB:
-@@ -232,7 +237,7 @@
- printf ("\n");
-
- printf (" Image filter: ");
-- switch (info->filter_type)
-+ switch (png_get_filter_type(png, info))
- {
- case PNG_FILTER_TYPE_BASE:
- printf ("Single row per byte filter ");
-@@ -249,7 +254,7 @@
- printf ("\n");
-
- printf (" Interlacing: ");
-- switch (info->interlace_type)
-+ switch (png_get_interlace_type(png, info))
- {
- case PNG_INTERLACE_NONE:
- printf ("No interlacing ");
-@@ -266,7 +271,7 @@
- printf ("\n");
-
- printf (" Compression Scheme: ");
-- switch (info->compression_type)
-+ switch (png_get_compression_type(png, info))
- {
- case PNG_COMPRESSION_TYPE_BASE:
- printf ("Deflate method 8, 32k window");
-@@ -278,9 +283,13 @@
- }
- printf ("\n");
-
-+ png_uint_32 x_pixels_per_unit, y_pixels_per_unit;
-+ int phys_unit_type;
-+ png_get_pHYs (png, info, &x_pixels_per_unit, &y_pixels_per_unit, &phys_unit_type);
-+
- printf (" Resolution: %d, %d ",
-- info->x_pixels_per_unit, info->y_pixels_per_unit);
-- switch (info->phys_unit_type)
-+ x_pixels_per_unit, y_pixels_per_unit);
-+ switch (phys_unit_type)
- {
- case PNG_RESOLUTION_UNKNOWN:
- printf ("(unit unknown)");
-@@ -299,15 +308,18 @@
- // FillOrder is always msb-to-lsb, big endian
- printf (" FillOrder: msb-to-lsb\n Byte Order: Network (Big Endian)\n");
-
-+ png_textp text;
-+ int num_text, max_text;
-+
- // Text comments
- printf (" Number of text strings: %d of %d\n",
-- info->num_text, info->max_text);
-+ num_text, max_text);
-
-- for (i = 0; i < info->num_text; i++)
-+ for (i = 0; i < num_text; i++)
- {
-- printf (" %s ", info->text[i].key);
-+ printf (" %s ", text[i].key);
-
-- switch (info->text[1].compression)
-+ switch (text[1].compression)
- {
- case -1:
- printf ("(tEXt uncompressed)");
-@@ -332,12 +344,12 @@
-
- printf (": ");
- j = 0;
-- while (info->text[i].text[j] != '\0')
-+ while (text[i].text[j] != '\0')
- {
-- if (info->text[i].text[j] == '\n')
-+ if (text[i].text[j] == '\n')
- printf ("\\n");
- else
-- fputc (info->text[i].text[j], stdout);
-+ fputc (text[i].text[j], stdout);
-
- j++;
- }
-@@ -385,14 +397,14 @@
-
- printf ("Dumping the bitmap for this image:\n");
- printf ("(Expanded samples result in %d bytes per pixel, %d channels with %d bytes per channel)\n\n",
-- info->channels * bytespersample, info->channels, bytespersample);
-+ png_get_channels(png, info) * bytespersample, png_get_channels(png, info), bytespersample);
-
- // runlen is used to stop us displaying repeated byte patterns over and over --
- // I display them once, and then tell you how many times it occured in the file.
- // This currently only applies to runs on zeros -- I should one day add an
- // option to extend this to runs of other values as well
- runlen = 0;
-- for (i = 0; i < rowbytes * height / info->channels; i += info->channels * bytespersample)
-+ for (i = 0; i < rowbytes * height / png_get_channels(png, info); i += png_get_channels(png, info) * bytespersample)
- {
- int scount, bcount, pixel;
-
-@@ -408,16 +420,16 @@
-
- // Determine if this is a pixel whose entire value is zero
- pixel = 0;
-- for(scount = 0; scount < info->channels; scount++)
-+ for(scount = 0; scount < png_get_channels(png, info); scount++)
- for(bcount = 0; bcount < bytespersample; bcount++)
- pixel += bitmap[i + scount * bytespersample + bcount];
-
- if ((runlen == 0) && !pixel)
- {
- printf ("[");
-- for(scount = 0; scount < info->channels; scount++){
-+ for(scount = 0; scount < png_get_channels(png, info); scount++){
- for(bcount = 0; bcount < bytespersample; bcount++) printf("00");
-- if(scount != info->channels - 1) printf(" ");
-+ if(scount != png_get_channels(png, info) - 1) printf(" ");
- }
- printf ("] ");
- runlen++;
-@@ -425,10 +437,10 @@
-
- if (runlen == 0){
- printf ("[");
-- for(scount = 0; scount < info->channels; scount++){
-+ for(scount = 0; scount < png_get_channels(png, info); scount++){
- for(bcount = 0; bcount < bytespersample; bcount++)
- printf("%02x", (unsigned char) bitmap[i + scount * bytespersample + bcount]);
-- if(scount != info->channels - 1) printf(" ");
-+ if(scount != png_get_channels(png, info) - 1) printf(" ");
- }
- printf("] ");
- }
-diff -Nuar --exclude '*.orig' --exclude '*.rej' pngtools-0.4.orig//pngread.c pngtools-0.4/pngread.c
---- pngtools-0.4.orig//pngread.c 2011-09-16 07:05:05.235477249 +0000
-+++ pngtools-0.4/pngread.c 2011-09-16 07:05:44.865570870 +0000
-@@ -68,7 +68,7 @@
- // palette is correctly reported...
- //png_set_strip_alpha (png);
- png_read_update_info (png, info);
-- *channels = info->channels;
-+ *channels = png_get_channels(png, info);
-
- rowbytes = png_get_rowbytes (png, info);
- if((row_pointers = malloc (*height * sizeof (png_bytep))) == NULL){
diff --git a/media-gfx/sane-airscan/Manifest b/media-gfx/sane-airscan/Manifest
index 84bb76454404..961aed80c62f 100644
--- a/media-gfx/sane-airscan/Manifest
+++ b/media-gfx/sane-airscan/Manifest
@@ -2,7 +2,7 @@ AUX sane-airscan-0.99.27-c99-fixes.patch 1834 BLAKE2B d0012e462e0fb04158e0705fd3
AUX sane-airscan-0.99.27-makefile-fixes.patch 1913 BLAKE2B 1fe9fc148e3ac4f9928cb46a9ef35d2b94104dca39ffec09617d6143ce619c8739afad2811d7c5455ce4c0f190a88c68069a800607926009d2121c90aa8bca8b SHA512 8ed38a9debaf0520d7576f1874dd05b634a43825fb258fa3a0df0f3a93ebac6391d5a7e30ba460221d4174b7865f0372e91ff88f430baeca567dd4f633c0099a
DIST sane-airscan-0.99.27.tar.gz 198418 BLAKE2B bcf2aff08feb90a65c10a4abaca67939874ad7c9376745b572f18ebfdaf7bff3e344d1379b00c73904a6892731a75f4632a90ea7c20f7cb4e30eab43413b829d SHA512 a35a92e26a4e3831f127e59bc520248abde8a7b304eb63ecf1d68092f51a8bc49bbc7503bead47ac84d0333d59ae0045d6d7a9f7b89d95f3ddfa2458f3781256
DIST sane-airscan-0.99.29.tar.gz 211753 BLAKE2B 35f0df4d5df57d2651e6d0195046e703a5f4a49b8d50345d749b570892b0c865cf7b1ed7313fba27ce9586cededffd5d85ce211ca767b50f59fe752c2f869d4c SHA512 a75a3db66aa1c77508a946dc7647f322d0be9c8defc6b4b6fdf1015f5a81ea02209efb7aa2c5284813e257bc2b8727a430804385368c8c7b97df24d61adda483
-EBUILD sane-airscan-0.99.27-r1.ebuild 867 BLAKE2B 566b78aa7268725f71aed1ac8a6de2186dfd2870273ed1494c547410368060f63fd6c677ec948d8fb37dafa31bb9577d83d8c270afc3fbbdcda09b926d6ede64 SHA512 e722adf97b989f50a2b1034e4d6689a04b240a616d69a602f5bf96f6e42171a19addea91ff00e591593aaa26d50cafa3ad70c6400f362bc0217c1d8bbfe2b834
+EBUILD sane-airscan-0.99.27-r1.ebuild 866 BLAKE2B aff98728662858f1a6ad14861b76da93aaa3be73cf72cc02371b74048ee550b423859140e081eb224c685964bd2ea2e45c6fa1d7f88b99384e39500fbf9fb941 SHA512 11ae9ba8e30cc6b55205274097b6af1b079334566c0e5274839e9028bf479889af3ace6851fbf3b3b568f7190137306224b6734b0bad914e79338ddc7a6b31cb
EBUILD sane-airscan-0.99.27.ebuild 808 BLAKE2B a079180be74226fe5f3b535943b29f249552931a0a48bec2061ebc750997382988d79d43317095fe4bc2ae0f7c9556cfe08d909d601237be8989049e0abf37d0 SHA512 53cfcc46cbc2d9eef3a5f2161df7e0cd9b8aa5b3c22dd08664df3bf9dc1949eaa9ea6d760f0c298331fd6b84ff01393dbc479c86b2addb7430c19e111cbad721
EBUILD sane-airscan-0.99.29.ebuild 847 BLAKE2B ecf9040131b72dfcca370c0c3003ee5a51aeed29704ac08f4effb8482432e867e38fb0edd850ccbd42b1207da3b607f67851a291ac8cb81d9af7a7e55031f298 SHA512 cf26e16d3e3b3c42fd8a963f8b76ba5c4bccab4bce95c81739aff06440b14e07be6a5fcdfec1dfb0b941cd68edd0118ce1cf01a667710348fb965dff078acb96
MISC metadata.xml 340 BLAKE2B c9c2c847ab7adb2109f7fee5346019acfbdbac25394c052ecef5dd263de2991388c272b37c46bd405078f93a0fdaa4a47ddbd976f468d1acb37fc6b8c9014e99 SHA512 92ba711173b57be840567bf539ad1c6a99698a267994dfbedb8067e25edeed38a87bb142e1a34dc16752afb65a134ce6af338cbbc5a69cdd652d5dc96fd234c7
diff --git a/media-gfx/sane-airscan/sane-airscan-0.99.27-r1.ebuild b/media-gfx/sane-airscan/sane-airscan-0.99.27-r1.ebuild
index 1b8168dae0cd..0de44191942b 100644
--- a/media-gfx/sane-airscan/sane-airscan-0.99.27-r1.ebuild
+++ b/media-gfx/sane-airscan/sane-airscan-0.99.27-r1.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://github.com/alexpevzner/${PN}/archive/${PV}.tar.gz -> ${P}.tar.g
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="amd64 ~x86"
DEPEND="
net-dns/avahi