From 73663ebfdb3664e1eca519a0d75f0c94323064e4 Mon Sep 17 00:00:00 2001 From: Torsten Kurbad Date: Mon, 13 Nov 2023 14:00:50 +0100 Subject: [PATCH] Updates --- dev-python/altgraph/Manifest | 3 + dev-python/altgraph/altgraph-0.17.3.ebuild | 24 ++++ dev-python/altgraph/metadata.xml | 8 ++ dev-python/django-qrcode/Manifest | 2 + .../django-qrcode/django-qrcode-0.3.ebuild | 44 ++++++ dev-python/packbits/Manifest | 2 + dev-python/packbits/packbits-0.6.ebuild | 19 +++ dev-python/pybluez/Manifest | 3 + dev-python/pybluez/pybluez-0.22.ebuild | 34 +++++ dev-python/pybluez/pybluez-9999.ebuild | 42 ++++++ dev-python/pytouch-cube/Manifest | 2 + .../files/pytouch-cube-9999-linux.diff | 22 +++ .../pytouch-cube/pytouch-cube-9999.ebuild | 48 +++++++ dev-python/qasync/Manifest | 2 + dev-python/qasync/qasync-0.24.0.ebuild | 23 +++ net-im/discord/Manifest | 6 + net-im/discord/discord-0.0.32.ebuild | 134 ++++++++++++++++++ net-im/discord/discord-0.0.33.ebuild | 134 ++++++++++++++++++ net-im/discord/discord-0.0.34.ebuild | 134 ++++++++++++++++++ net-print/cups-ptouch/Manifest | 1 + net-print/cups-ptouch/cups-ptouch-9999.ebuild | 51 +++++++ net-print/foomatic-db-engine/Manifest | 6 + .../files/4.0.12-use-pkgconfig.patch | 35 +++++ .../files/4.0.7-perl-module.patch | 11 ++ .../files/4.0.7-respect-ldflag.patch | 15 ++ .../foomatic-db-engine-4.0.12-r1.ebuild | 67 +++++++++ net-print/foomatic-db-engine/metadata.xml | 8 ++ 27 files changed, 880 insertions(+) create mode 100644 dev-python/altgraph/Manifest create mode 100644 dev-python/altgraph/altgraph-0.17.3.ebuild create mode 100644 dev-python/altgraph/metadata.xml create mode 100644 dev-python/django-qrcode/Manifest create mode 100644 dev-python/django-qrcode/django-qrcode-0.3.ebuild create mode 100644 dev-python/packbits/Manifest create mode 100644 dev-python/packbits/packbits-0.6.ebuild create mode 100644 dev-python/pybluez/Manifest create mode 100644 dev-python/pybluez/pybluez-0.22.ebuild create mode 100644 dev-python/pybluez/pybluez-9999.ebuild create mode 100644 dev-python/pytouch-cube/Manifest create mode 100644 dev-python/pytouch-cube/files/pytouch-cube-9999-linux.diff create mode 100644 dev-python/pytouch-cube/pytouch-cube-9999.ebuild create mode 100644 dev-python/qasync/Manifest create mode 100644 dev-python/qasync/qasync-0.24.0.ebuild create mode 100644 net-im/discord/discord-0.0.32.ebuild create mode 100644 net-im/discord/discord-0.0.33.ebuild create mode 100644 net-im/discord/discord-0.0.34.ebuild create mode 100644 net-print/cups-ptouch/Manifest create mode 100644 net-print/cups-ptouch/cups-ptouch-9999.ebuild create mode 100644 net-print/foomatic-db-engine/Manifest create mode 100644 net-print/foomatic-db-engine/files/4.0.12-use-pkgconfig.patch create mode 100644 net-print/foomatic-db-engine/files/4.0.7-perl-module.patch create mode 100644 net-print/foomatic-db-engine/files/4.0.7-respect-ldflag.patch create mode 100644 net-print/foomatic-db-engine/foomatic-db-engine-4.0.12-r1.ebuild create mode 100644 net-print/foomatic-db-engine/metadata.xml diff --git a/dev-python/altgraph/Manifest b/dev-python/altgraph/Manifest new file mode 100644 index 0000000..baf42f4 --- /dev/null +++ b/dev-python/altgraph/Manifest @@ -0,0 +1,3 @@ +DIST altgraph-0.17.3.tar.gz 48328 BLAKE2B 4732958bfdf3f99db3b8ec2a6fc392eae2d4cc18fc1c07ffeb7d227bbaff0576822027896bca3a7d2e8a3f6beb22375b4e42e5c052de5666ffdcd50e3027f312 SHA512 5e0ab6829d85013ff9a2dfdd6bf7f8606643c8d97a28ac3b3daf43f1180cc451a31f3ba463dd03056ab123f331051bdccbcbbf1bad6e8b19c2c40db01b3e5913 +EBUILD altgraph-0.17.3.ebuild 535 BLAKE2B 7161d71cce56e64087bce2003b4ff70d8851c212fdd31f24e5c084d85d12b634c9e054942a421845180fcf803bf038a8b3ab37792331858293689f27f8a7649c SHA512 2857877f6aa49047ffc4e6c9cd21b5c568721b0c97fe601dadb52c76a2b84600930912fb102ccbbecf35c661da23c6adee928b954d0fee330f2512f468d2ac37 +MISC metadata.xml 247 BLAKE2B ae5f267473484534ee61a7cd52245ee69d9c421501cb0a0d3f81718b5ab6c68910504916bf0286ea7867811287f3bf615170ebd98f53dd9d8550b5776e38d384 SHA512 4627261dec42712ceb800a9614f46820774178ca39fde85a057a3014aed7ffc9d3f5324857becb0c839cb713bff0eacd2b64cd1bcd2e914af6f3245032287559 diff --git a/dev-python/altgraph/altgraph-0.17.3.ebuild b/dev-python/altgraph/altgraph-0.17.3.ebuild new file mode 100644 index 0000000..b196794 --- /dev/null +++ b/dev-python/altgraph/altgraph-0.17.3.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..11} ) +DISTUTILS_USE_PEP517=setuptools +inherit distutils-r1 pypi + +DESCRIPTION="A constructing graphs, BFS and DFS traversals, etc" +HOMEPAGE="https://altgraph.readthedocs.io/en/latest/" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="amd64 ~arm64 x86" +IUSE="test" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +RESTRICT="!test? ( test )" + +RDEPEND="${PYTHON_DEPS}" +DEPEND="${RDEPEND}" + +distutils_enable_tests unittest diff --git a/dev-python/altgraph/metadata.xml b/dev-python/altgraph/metadata.xml new file mode 100644 index 0000000..ace7c2d --- /dev/null +++ b/dev-python/altgraph/metadata.xml @@ -0,0 +1,8 @@ + + + + + unknown@pentoo.ch + Author Unknown + + diff --git a/dev-python/django-qrcode/Manifest b/dev-python/django-qrcode/Manifest new file mode 100644 index 0000000..d264d13 --- /dev/null +++ b/dev-python/django-qrcode/Manifest @@ -0,0 +1,2 @@ +DIST django-qrcode-0.3.tar.gz 4188 BLAKE2B 7c38dae8b773b5e4a30255d08ad93ec0c0f17abcabea033728df70077e08693b05b203c78c2497479feabfc0d3b0c73a42aa4efcf72689e99323f98fcd7569e4 SHA512 fc7267c6bc18e54a38bff607f7dfec0825f8fd5ff3af07be2dd5cbeba46854cea66c3606e20b1f72b7ecbd5137ac6f5133afdf466ec59ee31511a7d6116de7c6 +EBUILD django-qrcode-0.3.ebuild 969 BLAKE2B 0572c4abb46247481c22e2832dce9a3a086bb447e570c081dc7e113b81a8629fb1f03f2a3b23c93c48f9bcafc632061dd924fb45a7e57e0d808849312fb6a6a4 SHA512 cc0372f454c4c468b84526ef7cff2657fd2f52d626a17b68e984f866a9831cfb619e5695f23c0b321cb9011e8def099fb7f30ed05c07a6104192b18ade45503c diff --git a/dev-python/django-qrcode/django-qrcode-0.3.ebuild b/dev-python/django-qrcode/django-qrcode-0.3.ebuild new file mode 100644 index 0000000..d662d3d --- /dev/null +++ b/dev-python/django-qrcode/django-qrcode-0.3.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..12} ) +PYPI_NO_NORMALIZE=1 + +inherit distutils-r1 pypi + +DESCRIPTION="Simple django application to simplify the inclusion of QR codes" +HOMEPAGE=" + https://github.com/pablorecio/django-qrcode + https://pypi.org/project/django-qrcode +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + >=dev-python/django-3.2[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + $(python_gen_impl_dep sqlite) + dev-python/freezegun[${PYTHON_USEDEP}] + dev-python/qrcode[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + dev-python/tomli[${PYTHON_USEDEP}] + ' 3.9 3.10) + ${RDEPEND} + ) +" + +python_test() { + local -x PYTHONPATH=test:${PYTHONPATH} + local -x DJANGO_SETTINGS_MODULE=test_project.settings + "${EPYTHON}" -m django test -v 2 django_otp || + die "Tests fail with ${EPYTHON}" +} diff --git a/dev-python/packbits/Manifest b/dev-python/packbits/Manifest new file mode 100644 index 0000000..80333ed --- /dev/null +++ b/dev-python/packbits/Manifest @@ -0,0 +1,2 @@ +DIST packbits-0.6.tar.gz 2167 BLAKE2B 7870c366950847d4a4eeff111f17ff2564a4aa71f629946bfd734e0d95844e67796b68cafb850268411980bf0700ae253b3b4c60a4224852eb8c2dee51db8390 SHA512 7f8b043cbc29246d17dd85b5f857fbdf66a8d981c2a2526323b99807189a54983ce9905b75d896039c3fff0261d077ad748c5afcfe69e81537743fabce66fb9a +EBUILD packbits-0.6.ebuild 421 BLAKE2B b599fd59147d856af9341ac31286babdd8b605c1dbaaf7e32d2d8651a9b2b72012712eddfa5f93388819c4fcbc6969abe654ba8c83dbde88415d4830ec10728d SHA512 72025f925bf3af1bc1bc6a10cc48350e9de3c279b2d5e50bb6331a273bf939f0fca7b44bba17581b587544de4f8644bfe7fb94008d2383bd4b9e08b35e44fbdb diff --git a/dev-python/packbits/packbits-0.6.ebuild b/dev-python/packbits/packbits-0.6.ebuild new file mode 100644 index 0000000..9894104 --- /dev/null +++ b/dev-python/packbits/packbits-0.6.ebuild @@ -0,0 +1,19 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +PYTHON_COMPAT=( python3_{9..12} ) + +inherit distutils-r1 pypi + +DESCRIPTION="PackBits encoder/decoder" +HOMEPAGE="https://github.com/psd-tools/packbits https://pypi.org/project/packbits" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="*" +RESTRICT="mirror" + +DOCS="README.rst" + +BDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" diff --git a/dev-python/pybluez/Manifest b/dev-python/pybluez/Manifest new file mode 100644 index 0000000..6e3381e --- /dev/null +++ b/dev-python/pybluez/Manifest @@ -0,0 +1,3 @@ +DIST PyBluez-0.22.zip 109060 BLAKE2B 0bbe0d23b3baf0e76567f2dee8f38ca1460767179df15b52c545e84cd131d23a5ae3752dd7867aae6307fd98f0b2c5a5f55b23c550805e163675526696f559fb SHA512 c166a976d311eba73516aaf86ab42b100a39ebccd3d70f93ccb89f59c12127a857698dcfe4b25f8f689eee12187b5f35ccc8235e36cf012e73df155ba5adfae6 +EBUILD pybluez-0.22.ebuild 739 BLAKE2B 575535643e5fcbab22a71dd634c871557ca30417e58f8655481eadeb14d614bab99e3da7c038ffdd6986dd5f3619dcea9e3c66308bbd7411fee806ba82a9ade8 SHA512 b5baab23926fcfb7829065e4551810b4f958b2bfe72d6806b468b3025a110ccdb7a1da55c3438ba0fc65081877d365463b426eb49f2663e4a45e1e99af6a72d7 +EBUILD pybluez-9999.ebuild 892 BLAKE2B f22aa457ffbcee6b66388fd70c4865e72672cbf398ded869dd185b4ade0fcb7832882bec472f0960aa86cfc07eae1fab972dcdb94d1493ffc1d500a28f33911b SHA512 5a4f9f919c017e25ccba7f04bf0ed29d59721d7ef5d08ab292cfa88fc87eba8cfd3989acee2654d651e777c98cbf29f04a04b10eb61fb03f7007fd421545d114 diff --git a/dev-python/pybluez/pybluez-0.22.ebuild b/dev-python/pybluez/pybluez-0.22.ebuild new file mode 100644 index 0000000..d0538e7 --- /dev/null +++ b/dev-python/pybluez/pybluez-0.22.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..12} ) +DISTUTILS_USE_PEP517=setuptools +PYPI_NO_NORMALIZE=1 +PYPI_PN="PyBluez" +inherit distutils-r1 pypi + +DESCRIPTION="Bluetooth Python extension module" +HOMEPAGE="https://github.com/pybluez/pybluez/ https://pypi.org/project/PyBluez/" +SRC_URI="$(pypi_sdist_url --no-normalize "${PYPI_PN}" "${PV}" ".zip")" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 arm arm64 x86" +IUSE="test" +RESTRICT="!test? ( test )" + +DOCS="" + +RDEPEND="net-wireless/bluez" +BDEPEND=" + app-arch/unzip + dev-python/setuptools[${PYTHON_USEDEP}] + test? ( + dev-python/pytest[${PYTHON_USEDEP}] + )" + +python_test() { + py.test -v -v || die +} diff --git a/dev-python/pybluez/pybluez-9999.ebuild b/dev-python/pybluez/pybluez-9999.ebuild new file mode 100644 index 0000000..c7cdde7 --- /dev/null +++ b/dev-python/pybluez/pybluez-9999.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..12} ) +DISTUTILS_USE_PEP517=setuptools +PYPI_NO_NORMALIZE=1 +PYPI_PN="PyBluez" +inherit distutils-r1 + +DESCRIPTION="Bluetooth Python extension module" +HOMEPAGE="https://github.com/pybluez/pybluez/ https://pypi.org/project/PyBluez/" + +if [[ ${PV} == "9999" ]] ; then + EGIT_REPO_URI="https://github.com/${PN}/${PN}.git" + KEYWORDS="" + inherit git-r3 +else + SRC_URI="$(pypi_sdist_url --no-normalize "${PYPI_PN}" "${PV}" ".zip")" + inherit pypi +fi + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 arm arm64 x86" +IUSE="test" +RESTRICT="!test? ( test )" + +DOCS="" + +RDEPEND="net-wireless/bluez" +BDEPEND=" + app-arch/unzip + dev-python/setuptools[${PYTHON_USEDEP}] + test? ( + dev-python/pytest[${PYTHON_USEDEP}] + )" + +python_test() { + py.test -v -v || die +} diff --git a/dev-python/pytouch-cube/Manifest b/dev-python/pytouch-cube/Manifest new file mode 100644 index 0000000..d159391 --- /dev/null +++ b/dev-python/pytouch-cube/Manifest @@ -0,0 +1,2 @@ +AUX pytouch-cube-9999-linux.diff 646 BLAKE2B e6d48eaad4aa283376539d3dc7c6b097f99081002e7682f93c04501aecee5de04cfe80472da048228e57312e42c7106c0fe766c33162707225c94564bf19b89e SHA512 d33016fa4636ab3f7b56e8020a703daf12a34adbefa1515981ac28b12db3615ff3ead76e6520e6a6fd6a41c7290ad09a530bce89739360a346194456a526f3b9 +EBUILD pytouch-cube-9999.ebuild 1278 BLAKE2B 79a58b920260a53994067308cece1152bef806777b1cc68de200344f54ae7025d0daca2199a538051ea505460df8a607389b9d3c7c13451d4db1b7d72bfd010e SHA512 de2fc5f89fce083cae8c8a78319e95424f5d6e56d644c0163692409534374fd24ddd7407275fdef273705582cbfccdee4ba2994142068741c35929ceaabdd153 diff --git a/dev-python/pytouch-cube/files/pytouch-cube-9999-linux.diff b/dev-python/pytouch-cube/files/pytouch-cube-9999-linux.diff new file mode 100644 index 0000000..4ee7979 --- /dev/null +++ b/dev-python/pytouch-cube/files/pytouch-cube-9999-linux.diff @@ -0,0 +1,22 @@ +diff -urN pytouch-cube-9999.orig/setup.py pytouch-cube-9999/setup.py +--- pytouch-cube-9999.orig/setup.py 2023-11-03 11:19:27.180117075 +0100 ++++ pytouch-cube-9999/setup.py 2023-11-03 11:21:07.917408856 +0100 +@@ -8,9 +8,6 @@ + from setuptools import setup + from util import * + import app +-import site +- +-qt_plugin_root = site.getsitepackages()[1] + "\\PyQt6\\Qt\\plugins" + + APP = 'pytouch3.py' + data_files = [ +@@ -24,6 +21,8 @@ + if is_mac: + setup_requires = ['py2app'] + elif is_win: ++ import site ++ qt_plugin_root = site.getsitepackages()[1] + "\\PyQt6\\Qt\\plugins" + kwargs = { + "windows": [{ + "script": APP[0], diff --git a/dev-python/pytouch-cube/pytouch-cube-9999.ebuild b/dev-python/pytouch-cube/pytouch-cube-9999.ebuild new file mode 100644 index 0000000..bbd217a --- /dev/null +++ b/dev-python/pytouch-cube/pytouch-cube-9999.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=8 +PYTHON_COMPAT=( python3_{9..12} ) +DISTUTILS_USE_PEP517=setuptools +DISTUTILS_SINGLE_IMPL=1 + +MY_PN="engineering_notation" + +inherit distutils-r1 + +DESCRIPTION="Qt5 Label Editor for Brother P-Touch Cube label maker" +HOMEPAGE="https://github.com/piksel/pytouch-cube" +if [[ ${PV} == "9999" ]] ; then + EGIT_REPO_URI="https://github.com/piksel/${PN}.git" + KEYWORDS="" + inherit git-r3 +else + KEYWORDS="~amd64 ~x86" + SRC_URI="https://github.com/piksel/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" +fi + +LICENSE="MIT" +SLOT="0" +IUSE="" +RESTRICT="test" + +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +RDEPEND="$(python_gen_cond_dep ' + >=dev-python/PyQt6-6.3[${PYTHON_USEDEP}] + dev-python/altgraph[${PYTHON_USEDEP}] + ~dev-python/appdirs-1.4.4[${PYTHON_USEDEP}] + dev-python/packbits[${PYTHON_USEDEP}] + dev-python/pybluez[${PYTHON_USEDEP}] + dev-python/pypng[${PYTHON_USEDEP}] + dev-python/pyserial[${PYTHON_USEDEP}] + dev-python/pyyaml[${PYTHON_USEDEP}] + dev-python/qasync[${PYTHON_USEDEP}] + dev-python/qrcode[${PYTHON_USEDEP}] + ')" + #dev-python/django-qrcode[${PYTHON_USEDEP}] + +DEPEND="${RDEPEND}" + +PATCHES="${FILESDIR}/${P}-linux.diff" diff --git a/dev-python/qasync/Manifest b/dev-python/qasync/Manifest new file mode 100644 index 0000000..17ea55b --- /dev/null +++ b/dev-python/qasync/Manifest @@ -0,0 +1,2 @@ +DIST qasync-0.24.0.tar.gz 18311 BLAKE2B 446ae9ba5e72aa70f6c86741a891bcaa61be86b1bb99d37e07f260892876b91c2cba7f8c92e6576af69b8d31d2b4bbdcc91a4e7d6ffa6c7cbe82cac85438f5bc SHA512 b9c09314b9e07b4510ae499fd0b37ce74e28ed6d0a63c7be276fb5c424e2f734d8fc2ea321c1f3e477c84e6d42bb5986d315eb199e01ecf9e6474ea490253758 +EBUILD qasync-0.24.0.ebuild 480 BLAKE2B 02288450be95d3417461baad4dc2f2f0f1f5396ef81aff46c1496f8f2546ee3c00406f6da8fe1283db5a9db607774a05d731c2d7641efd13e548c2f426b0e267 SHA512 5c9f8f7db05c099425e1f9f3c6c0106838c6501bd62cc93096bc5211b869aa12c8f3f75b53f9ea7562831f554ed07ee7fe40e178bbb6222b9936b7d0d2cfe86a diff --git a/dev-python/qasync/qasync-0.24.0.ebuild b/dev-python/qasync/qasync-0.24.0.ebuild new file mode 100644 index 0000000..30e3a24 --- /dev/null +++ b/dev-python/qasync/qasync-0.24.0.ebuild @@ -0,0 +1,23 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{9..11} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Implementation of the asyncio (PEP 3156) event-loop with Qt" +HOMEPAGE="https://github.com/CabbageDevelopment/qasync" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + dev-python/PyQt6[${PYTHON_USEDEP}] +" + +DEPEND=" + dev-python/setuptools[${PYTHON_USEDEP}] +" diff --git a/net-im/discord/Manifest b/net-im/discord/Manifest index b86a76c..5b5a9ee 100644 --- a/net-im/discord/Manifest +++ b/net-im/discord/Manifest @@ -1,3 +1,9 @@ DIST discord-0.0.31.tar.gz 92637981 BLAKE2B c1cb061dc45d34a05e443c1f6c4b352806bfebf0c5f0aa3a61d4abe57ad24bb54edc6fcd895ef49b15f376041814665fb7b2989cabcb64b950ecffba328f31bd SHA512 596f0e2271e61798594d97a85728eea2bfa851db7f1e8b7fa65e1631dfeb347fa8d6087556854c0e775b88678a03b8ece97d0c1293b156e7ea908f6570645248 +DIST discord-0.0.32.tar.gz 92662078 BLAKE2B 03b2bb5657a32b6374de826643c8c37b76b5146bf2a8012a9e492254f00ca17f3e1b44dd5f70265856bce84e167d7163c68faf2648d52930c573e5936a442b81 SHA512 e3ca9075e4a66c7c4358bdccb748f8f849de24cf3036b85d2c42dd15f8e56125fc42e86e73920751126b0e4fa73596a1d7af1f21ac9903911d6c843637c46813 +DIST discord-0.0.33.tar.gz 92880138 BLAKE2B 86b410ce6b030c09f859d60c5508230b03131b9a2e0eec58234e6c02c99a40be765e886fd2cf9586fca85552a452f4c6213926ebbf2137a7407df95edf9dabce SHA512 83e848d12137a2576f70834fcf612cdd0a0f3216916d450830813b7492efa53f7baaeefd37cd58091a0ed8303e3b037f32e995b51a35c416388c1a6d6998036f +DIST discord-0.0.34.tar.gz 92968432 BLAKE2B 0db1f1459169a7de36733dddf2a945b136fa854d73abbd72648fc3c46c0ec82ae81f944a228bf4d4d876cbed4924fc34d5eb81af989309d76adc8148883a9b1c SHA512 28ab59e18ca3c800030c7c4b4f016efed033e741ad42f18b993e8493d51a78d430a4ff3c0a3457fdf8b43907a013f3145e67748e7a896d440af56074226c5c46 EBUILD discord-0.0.31.ebuild 3413 BLAKE2B 80cd994612cfb1da73c9f6eefb9ba254eca549da180e704e7477946b0aa05b7f7daa1aff60501712c0c830ca5fa335e0f1d567d1a16b0bef4ca930dc7f9ad3d4 SHA512 ae44d8dd768191a3097b0e5882b85b6a4e72868cbb648bfdd911d5c5e1b56974e752dcc4a322948e55b246c3b94a48b26e185535b203b8f758accd11fb4f56c5 +EBUILD discord-0.0.32.ebuild 3413 BLAKE2B 80cd994612cfb1da73c9f6eefb9ba254eca549da180e704e7477946b0aa05b7f7daa1aff60501712c0c830ca5fa335e0f1d567d1a16b0bef4ca930dc7f9ad3d4 SHA512 ae44d8dd768191a3097b0e5882b85b6a4e72868cbb648bfdd911d5c5e1b56974e752dcc4a322948e55b246c3b94a48b26e185535b203b8f758accd11fb4f56c5 +EBUILD discord-0.0.33.ebuild 3413 BLAKE2B 80cd994612cfb1da73c9f6eefb9ba254eca549da180e704e7477946b0aa05b7f7daa1aff60501712c0c830ca5fa335e0f1d567d1a16b0bef4ca930dc7f9ad3d4 SHA512 ae44d8dd768191a3097b0e5882b85b6a4e72868cbb648bfdd911d5c5e1b56974e752dcc4a322948e55b246c3b94a48b26e185535b203b8f758accd11fb4f56c5 +EBUILD discord-0.0.34.ebuild 3413 BLAKE2B 80cd994612cfb1da73c9f6eefb9ba254eca549da180e704e7477946b0aa05b7f7daa1aff60501712c0c830ca5fa335e0f1d567d1a16b0bef4ca930dc7f9ad3d4 SHA512 ae44d8dd768191a3097b0e5882b85b6a4e72868cbb648bfdd911d5c5e1b56974e752dcc4a322948e55b246c3b94a48b26e185535b203b8f758accd11fb4f56c5 MISC metadata.xml 506 BLAKE2B ff098a1c9341a94ebb21da57c3028d3d96e884e19e3adf2df8d50b694a1ca3eee61f5dfd90eaa557a0a0eee769fd11dfa7bbf63308386a11faa56d13687e33c3 SHA512 56baf0a5323057b4af83a7b7d760b2b1e071e15ca4eef6546eab4104fbdd026906f68d8023a3155f492d8d93cd7022c5d0017372cbaf2894b94bd253b2ce3665 diff --git a/net-im/discord/discord-0.0.32.ebuild b/net-im/discord/discord-0.0.32.ebuild new file mode 100644 index 0000000..0c75ad5 --- /dev/null +++ b/net-im/discord/discord-0.0.32.ebuild @@ -0,0 +1,134 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +MY_PN="${PN/-bin/}" +MY_PV="${PV/-r*/}" + +CHROMIUM_VERSION="102" +CHROMIUM_LANGS=" + af am ar bg bn ca cs da de el en-GB en-US es es-419 et fa fi fil fr gu he hi + hr hu id it ja kn ko lt lv ml mr ms nb nl pl pt-BR pt-PT ro ru sk sl sr sv + sw ta te th tr uk ur vi zh-CN zh-TW +" + +inherit chromium-2 desktop linux-info optfeature unpacker xdg + +DESCRIPTION="All-in-one voice and text chat for gamers" +HOMEPAGE="https://discordapp.com" +SRC_URI="https://dl.discordapp.net/apps/linux/${MY_PV}/${MY_PN}-${MY_PV}.tar.gz" + +LICENSE="all-rights-reserved" +SLOT="0" +KEYWORDS="amd64" +RESTRICT="bindist mirror strip test" +IUSE="appindicator +seccomp" + +RDEPEND=" + >=app-accessibility/at-spi2-core-2.46.0:2 + app-crypt/libsecret + dev-libs/expat + dev-libs/glib:2 + dev-libs/nspr + dev-libs/nss + media-libs/alsa-lib + media-libs/fontconfig + media-libs/mesa[gbm(+)] + net-print/cups + sys-apps/dbus + sys-apps/util-linux + sys-libs/glibc + x11-libs/cairo + x11-libs/libdrm + x11-libs/gdk-pixbuf:2 + x11-libs/gtk+:3 + x11-libs/libX11 + x11-libs/libXScrnSaver + x11-libs/libXcomposite + x11-libs/libXdamage + x11-libs/libXext + x11-libs/libXfixes + x11-libs/libXrandr + x11-libs/libxcb + x11-libs/libxkbcommon + x11-libs/libxshmfence + x11-libs/pango + appindicator? ( dev-libs/libayatana-appindicator ) +" + +DESTDIR="/opt/${MY_PN}" + +QA_PREBUILT="*" + +CONFIG_CHECK="~USER_NS" + +S="${WORKDIR}/${MY_PN^}" + +src_unpack() { + unpack ${MY_PN}-${MY_PV}.tar.gz +} + +src_configure() { + default + chromium_suid_sandbox_check_kernel_config +} + +src_prepare() { + default + # remove post-install script + rm postinst.sh || die "the removal of the unneeded post-install script failed" + # cleanup languages + pushd "locales/" >/dev/null || die "location change for language cleanup failed" + chromium_remove_language_paks + popd >/dev/null || die "location reset for language cleanup failed" + # fix .desktop exec location + sed -i "/Exec/s:/usr/share/discord/Discord:${DESTDIR}/${MY_PN^}:" \ + "${MY_PN}.desktop" || + die "fixing of exec location on .desktop failed" + # USE seccomp + if ! use seccomp; then + sed -i '/Exec/s/Discord/Discord --disable-seccomp-filter-sandbox/' \ + "${MY_PN}.desktop" || + die "sed failed for seccomp" + fi +} + +src_install() { + doicon -s 256 "${MY_PN}.png" + + # install .desktop file + domenu "${MY_PN}.desktop" + + exeinto "${DESTDIR}" + + doexe "${MY_PN^}" chrome-sandbox libEGL.so libffmpeg.so libGLESv2.so libvk_swiftshader.so + + insinto "${DESTDIR}" + doins chrome_100_percent.pak chrome_200_percent.pak icudtl.dat resources.pak snapshot_blob.bin v8_context_snapshot.bin + insopts -m0755 + doins -r locales resources + + # Chrome-sandbox requires the setuid bit to be specifically set. + # see https://github.com/electron/electron/issues/17972 + fowners root "${DESTDIR}/chrome-sandbox" + fperms 4711 "${DESTDIR}/chrome-sandbox" + + # Crashpad is included in the package once in a while and when it does, it must be installed. + # See #903616 and #890595 + [[ -x chrome_crashpad_handler ]] && doins chrome_crashpad_handler + + dosym "${DESTDIR}/${MY_PN^}" "/usr/bin/${MY_PN}" + + # https://bugs.gentoo.org/898912 + if use appindicator; then + dosym ../../usr/lib64/libayatana-appindicator3.so /opt/discord/libappindicator3.so + fi +} + +pkg_postinst() { + xdg_pkg_postinst + + optfeature "sound support" \ + media-sound/pulseaudio media-sound/apulse[sdk] media-video/pipewire +} diff --git a/net-im/discord/discord-0.0.33.ebuild b/net-im/discord/discord-0.0.33.ebuild new file mode 100644 index 0000000..0c75ad5 --- /dev/null +++ b/net-im/discord/discord-0.0.33.ebuild @@ -0,0 +1,134 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +MY_PN="${PN/-bin/}" +MY_PV="${PV/-r*/}" + +CHROMIUM_VERSION="102" +CHROMIUM_LANGS=" + af am ar bg bn ca cs da de el en-GB en-US es es-419 et fa fi fil fr gu he hi + hr hu id it ja kn ko lt lv ml mr ms nb nl pl pt-BR pt-PT ro ru sk sl sr sv + sw ta te th tr uk ur vi zh-CN zh-TW +" + +inherit chromium-2 desktop linux-info optfeature unpacker xdg + +DESCRIPTION="All-in-one voice and text chat for gamers" +HOMEPAGE="https://discordapp.com" +SRC_URI="https://dl.discordapp.net/apps/linux/${MY_PV}/${MY_PN}-${MY_PV}.tar.gz" + +LICENSE="all-rights-reserved" +SLOT="0" +KEYWORDS="amd64" +RESTRICT="bindist mirror strip test" +IUSE="appindicator +seccomp" + +RDEPEND=" + >=app-accessibility/at-spi2-core-2.46.0:2 + app-crypt/libsecret + dev-libs/expat + dev-libs/glib:2 + dev-libs/nspr + dev-libs/nss + media-libs/alsa-lib + media-libs/fontconfig + media-libs/mesa[gbm(+)] + net-print/cups + sys-apps/dbus + sys-apps/util-linux + sys-libs/glibc + x11-libs/cairo + x11-libs/libdrm + x11-libs/gdk-pixbuf:2 + x11-libs/gtk+:3 + x11-libs/libX11 + x11-libs/libXScrnSaver + x11-libs/libXcomposite + x11-libs/libXdamage + x11-libs/libXext + x11-libs/libXfixes + x11-libs/libXrandr + x11-libs/libxcb + x11-libs/libxkbcommon + x11-libs/libxshmfence + x11-libs/pango + appindicator? ( dev-libs/libayatana-appindicator ) +" + +DESTDIR="/opt/${MY_PN}" + +QA_PREBUILT="*" + +CONFIG_CHECK="~USER_NS" + +S="${WORKDIR}/${MY_PN^}" + +src_unpack() { + unpack ${MY_PN}-${MY_PV}.tar.gz +} + +src_configure() { + default + chromium_suid_sandbox_check_kernel_config +} + +src_prepare() { + default + # remove post-install script + rm postinst.sh || die "the removal of the unneeded post-install script failed" + # cleanup languages + pushd "locales/" >/dev/null || die "location change for language cleanup failed" + chromium_remove_language_paks + popd >/dev/null || die "location reset for language cleanup failed" + # fix .desktop exec location + sed -i "/Exec/s:/usr/share/discord/Discord:${DESTDIR}/${MY_PN^}:" \ + "${MY_PN}.desktop" || + die "fixing of exec location on .desktop failed" + # USE seccomp + if ! use seccomp; then + sed -i '/Exec/s/Discord/Discord --disable-seccomp-filter-sandbox/' \ + "${MY_PN}.desktop" || + die "sed failed for seccomp" + fi +} + +src_install() { + doicon -s 256 "${MY_PN}.png" + + # install .desktop file + domenu "${MY_PN}.desktop" + + exeinto "${DESTDIR}" + + doexe "${MY_PN^}" chrome-sandbox libEGL.so libffmpeg.so libGLESv2.so libvk_swiftshader.so + + insinto "${DESTDIR}" + doins chrome_100_percent.pak chrome_200_percent.pak icudtl.dat resources.pak snapshot_blob.bin v8_context_snapshot.bin + insopts -m0755 + doins -r locales resources + + # Chrome-sandbox requires the setuid bit to be specifically set. + # see https://github.com/electron/electron/issues/17972 + fowners root "${DESTDIR}/chrome-sandbox" + fperms 4711 "${DESTDIR}/chrome-sandbox" + + # Crashpad is included in the package once in a while and when it does, it must be installed. + # See #903616 and #890595 + [[ -x chrome_crashpad_handler ]] && doins chrome_crashpad_handler + + dosym "${DESTDIR}/${MY_PN^}" "/usr/bin/${MY_PN}" + + # https://bugs.gentoo.org/898912 + if use appindicator; then + dosym ../../usr/lib64/libayatana-appindicator3.so /opt/discord/libappindicator3.so + fi +} + +pkg_postinst() { + xdg_pkg_postinst + + optfeature "sound support" \ + media-sound/pulseaudio media-sound/apulse[sdk] media-video/pipewire +} diff --git a/net-im/discord/discord-0.0.34.ebuild b/net-im/discord/discord-0.0.34.ebuild new file mode 100644 index 0000000..0c75ad5 --- /dev/null +++ b/net-im/discord/discord-0.0.34.ebuild @@ -0,0 +1,134 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +MY_PN="${PN/-bin/}" +MY_PV="${PV/-r*/}" + +CHROMIUM_VERSION="102" +CHROMIUM_LANGS=" + af am ar bg bn ca cs da de el en-GB en-US es es-419 et fa fi fil fr gu he hi + hr hu id it ja kn ko lt lv ml mr ms nb nl pl pt-BR pt-PT ro ru sk sl sr sv + sw ta te th tr uk ur vi zh-CN zh-TW +" + +inherit chromium-2 desktop linux-info optfeature unpacker xdg + +DESCRIPTION="All-in-one voice and text chat for gamers" +HOMEPAGE="https://discordapp.com" +SRC_URI="https://dl.discordapp.net/apps/linux/${MY_PV}/${MY_PN}-${MY_PV}.tar.gz" + +LICENSE="all-rights-reserved" +SLOT="0" +KEYWORDS="amd64" +RESTRICT="bindist mirror strip test" +IUSE="appindicator +seccomp" + +RDEPEND=" + >=app-accessibility/at-spi2-core-2.46.0:2 + app-crypt/libsecret + dev-libs/expat + dev-libs/glib:2 + dev-libs/nspr + dev-libs/nss + media-libs/alsa-lib + media-libs/fontconfig + media-libs/mesa[gbm(+)] + net-print/cups + sys-apps/dbus + sys-apps/util-linux + sys-libs/glibc + x11-libs/cairo + x11-libs/libdrm + x11-libs/gdk-pixbuf:2 + x11-libs/gtk+:3 + x11-libs/libX11 + x11-libs/libXScrnSaver + x11-libs/libXcomposite + x11-libs/libXdamage + x11-libs/libXext + x11-libs/libXfixes + x11-libs/libXrandr + x11-libs/libxcb + x11-libs/libxkbcommon + x11-libs/libxshmfence + x11-libs/pango + appindicator? ( dev-libs/libayatana-appindicator ) +" + +DESTDIR="/opt/${MY_PN}" + +QA_PREBUILT="*" + +CONFIG_CHECK="~USER_NS" + +S="${WORKDIR}/${MY_PN^}" + +src_unpack() { + unpack ${MY_PN}-${MY_PV}.tar.gz +} + +src_configure() { + default + chromium_suid_sandbox_check_kernel_config +} + +src_prepare() { + default + # remove post-install script + rm postinst.sh || die "the removal of the unneeded post-install script failed" + # cleanup languages + pushd "locales/" >/dev/null || die "location change for language cleanup failed" + chromium_remove_language_paks + popd >/dev/null || die "location reset for language cleanup failed" + # fix .desktop exec location + sed -i "/Exec/s:/usr/share/discord/Discord:${DESTDIR}/${MY_PN^}:" \ + "${MY_PN}.desktop" || + die "fixing of exec location on .desktop failed" + # USE seccomp + if ! use seccomp; then + sed -i '/Exec/s/Discord/Discord --disable-seccomp-filter-sandbox/' \ + "${MY_PN}.desktop" || + die "sed failed for seccomp" + fi +} + +src_install() { + doicon -s 256 "${MY_PN}.png" + + # install .desktop file + domenu "${MY_PN}.desktop" + + exeinto "${DESTDIR}" + + doexe "${MY_PN^}" chrome-sandbox libEGL.so libffmpeg.so libGLESv2.so libvk_swiftshader.so + + insinto "${DESTDIR}" + doins chrome_100_percent.pak chrome_200_percent.pak icudtl.dat resources.pak snapshot_blob.bin v8_context_snapshot.bin + insopts -m0755 + doins -r locales resources + + # Chrome-sandbox requires the setuid bit to be specifically set. + # see https://github.com/electron/electron/issues/17972 + fowners root "${DESTDIR}/chrome-sandbox" + fperms 4711 "${DESTDIR}/chrome-sandbox" + + # Crashpad is included in the package once in a while and when it does, it must be installed. + # See #903616 and #890595 + [[ -x chrome_crashpad_handler ]] && doins chrome_crashpad_handler + + dosym "${DESTDIR}/${MY_PN^}" "/usr/bin/${MY_PN}" + + # https://bugs.gentoo.org/898912 + if use appindicator; then + dosym ../../usr/lib64/libayatana-appindicator3.so /opt/discord/libappindicator3.so + fi +} + +pkg_postinst() { + xdg_pkg_postinst + + optfeature "sound support" \ + media-sound/pulseaudio media-sound/apulse[sdk] media-video/pipewire +} diff --git a/net-print/cups-ptouch/Manifest b/net-print/cups-ptouch/Manifest new file mode 100644 index 0000000..748cc6d --- /dev/null +++ b/net-print/cups-ptouch/Manifest @@ -0,0 +1 @@ +EBUILD cups-ptouch-9999.ebuild 1126 BLAKE2B 36bf8c50e719b2299f348c3abf7439d6484f47a8400a29939fb68642ce27eb4a0d2d71b68c6c1b79e5b75a050f4d8f6b00d6826c5449ad1267f6e00fbd996c82 SHA512 527d5ca5c58b1e7d268c7ec8f9cc902767be4d258cf7c3c5b82020cf66b4b7e008e44304ae8dfc36d283bbaf99a9e4e0fd707e26f74da639613e872c950ea1fe diff --git a/net-print/cups-ptouch/cups-ptouch-9999.ebuild b/net-print/cups-ptouch/cups-ptouch-9999.ebuild new file mode 100644 index 0000000..c051709 --- /dev/null +++ b/net-print/cups-ptouch/cups-ptouch-9999.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=7 + +inherit multilib + +MY_PN="printer-driver-ptouch" + +DESCRIPTION="P-Touch PT-series and QL-series printer driver for Linux (under CUPS)" +HOMEPAGE="https://github.com/philpem/printer-driver-ptouch" + +if [[ ${PV} == "9999" ]] ; then + EGIT_REPO_URI="https://github.com/philpem/${MY_PN}.git" + KEYWORDS="" + inherit autotools git-r3 +else + KEYWORDS="~amd64 ~x86" + SRC_URI="https://github.com/philpem/${MY_PN}/archive/refs/tags/v${PV}.tar.gz" +fi + +RESTRICT="nomirror" + +LICENSE="GPL-2" +SLOT="0" +IUSE="" + +RDEPEND="" +DEPEND="net-print/cups + net-print/foomatic-db-engine + ${RDEPEND}" + +src_prepare() { + if [[ ${PV} == "9999" ]] ; then + eautoreconf + fi + default +} + +src_configure() { + econf --libdir="/usr/libexec" +} + +src_install() { + default + + # Fix collisions + rm "${D}"/usr/share/foomatic/db/source/printer/Brother-PT-{1500PC,18R,1950,1950VP,1960,2300,2420PC,2450DX,2500PC,2600,2610,3600,550A,9200DX,9200PC,9400,9500PC,9600,PC}.xml + rm "${D}"/usr/share/foomatic/db/source/printer/Brother-QL-{5{00,50},650TD}.xml +} diff --git a/net-print/foomatic-db-engine/Manifest b/net-print/foomatic-db-engine/Manifest new file mode 100644 index 0000000..9973d49 --- /dev/null +++ b/net-print/foomatic-db-engine/Manifest @@ -0,0 +1,6 @@ +AUX 4.0.12-use-pkgconfig.patch 1010 BLAKE2B d37cb4ad77e191229c0ca7ae64b8f51b7ce275ea7f7434b0fdf629c0773f2b4f742e05a6afb06a627d4f7bb609e053f00e994bbea8b157d959a5852e8dcf135e SHA512 d0ea9514dbc7354d2d771af049de04455ccdf9145823174b99f963c82d1a4453f3198e31abc6a4953883f860df86b55452a2bfc0dd269112c029df6eddd3e1e6 +AUX 4.0.7-perl-module.patch 323 BLAKE2B c291580e579f27efe5d1bbf26ff1a5ad7345cae33a8e1499437f096691c53f6d43be3c4c55491bdcc7c852d9538064a1d9df575012f4d83c451a6c7920d466a3 SHA512 913cf4dca46b028581d7e5cf11ef8a4d03b3a0ad415059eea4db5825a67c18e2e62adff26c7a7d67b6af78109c176553849a28b57d06c383ff59c8b0c12a514a +AUX 4.0.7-respect-ldflag.patch 596 BLAKE2B b540f6b0a03a8abe28e245069ce1703e8505862c326ae8fa95c9b548c8eb908b90b6c7681d928b0e74a9963daec0a8fba6f7e37efaadfd79d46aa8961da615d7 SHA512 afb080f281c1c5a6b0011964a7c73e9f843fa347543324b4441c40aabe7b534a5689ae4be285095e43b91f5cf37f4cbd1d8f091740fc3c1824eb0099aabc9ca8 +DIST foomatic-db-engine-4.0.12.tar.gz 360499 BLAKE2B b03ba0a0cddc2d1c59a64ffa33e577f991d36c478e3f7b43f66474c749b7fb546f0ad5b04fee056c69532a6f126b87c95a72e5561443ef79bf3bdfed650d6b07 SHA512 b7e99ace6a632e9b0213183bd2c6c2d11ca072ea0414e8ca569082b7ec183dd81c80594ad63fdee82d761ae36d4fce9d3c881569a95a6085ec326ef7fd21154f +EBUILD foomatic-db-engine-4.0.12-r1.ebuild 1269 BLAKE2B 7b30bab883b60de599f8771feb115a2db9a22490be5f6a2b4269c64118e1bf70f325eb9b3a534a5e61cb0466b56347d3856ecda4fd61888087f9192bcc515fba SHA512 8c574ac205e38acb9e79ad59e26aaccdc5d559f5a10c3ad87ab02a9201ce312077df86fb46dddbd87b27467ee95d41f66a02d3698c40c20ee6b5931ee417ec21 +MISC metadata.xml 260 BLAKE2B ef27f93753b1b9b96d35941f8a39c7e3b1695a49bff8076cb92b718524ddf1449ffa97d26ae289ad493695a8bfbeadb6bee0030f649bef02e0ae155ca851713e SHA512 94c019f5d5e8bec9d817d4b192ae0b87effc9f73283800b6ee7b5fe50a85bf6e245eb9720c2d8f3b497b40c7e298969c5e23c5afe3af14384eee92e76afacc8c diff --git a/net-print/foomatic-db-engine/files/4.0.12-use-pkgconfig.patch b/net-print/foomatic-db-engine/files/4.0.12-use-pkgconfig.patch new file mode 100644 index 0000000..1469322 --- /dev/null +++ b/net-print/foomatic-db-engine/files/4.0.12-use-pkgconfig.patch @@ -0,0 +1,35 @@ +https://bugs.linuxfoundation.org/show_bug.cgi?id=1339 + +From: Brian Norris +Date: Fri, 15 Jan 2016 11:12:03 -0800 +Subject: [PATCH] configure.ac: use pkg-config instead of xml2-config + +The former is much more standard, and libxml2 ships a .pc file. + +Leave libxml alone, since I haven't tested it, and it may not ship a .pc +file. +--- + configure.ac | 8 +------- + 1 file changed, 1 insertion(+), 7 deletions(-) + +diff --git a/configure.ac b/configure.ac +index 1562ee61b9d5..0ed5323ff2e7 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -22,12 +22,7 @@ dnl LIBS="$LIBS" + # Test for libxml + # + xml_version= +-AC_PATH_PROG(XML2_CONFIG, xml2-config) +-if test ! -z "$XML2_CONFIG"; then +- xml_version=libxml2 +- XML_CFLAGS=`$XML2_CONFIG --cflags` +- XML_LIBS=`$XML2_CONFIG --libs` +-fi ++PKG_CHECK_MODULES(XML, libxml-2.0, [xml_version=libxml2]) + if test -z "$xml_version"; then + AC_PATH_PROG(XML_CONFIG, xml-config) + if test ! -z "$XML_CONFIG"; then +-- +2.1.2 + diff --git a/net-print/foomatic-db-engine/files/4.0.7-perl-module.patch b/net-print/foomatic-db-engine/files/4.0.7-perl-module.patch new file mode 100644 index 0000000..172f37f --- /dev/null +++ b/net-print/foomatic-db-engine/files/4.0.7-perl-module.patch @@ -0,0 +1,11 @@ +--- a/Makefile.in ++++ b/Makefile.in +@@ -42,7 +42,7 @@ LOCAL_LIBDIR=@LOCAL_LIBDIR@ + FOOMATIC_RIP=@FOOMATIC_RIP@ + + # foomatic-rip path for a "make inplace" installation +-LOCAL_FOOMATIC_RIP=@LOCAL_FOOMATIC_RIP@ ++LOCAL_FOOMATIC_RIP=@FOOMATIC_RIP@ + + # Locations for installing the components of this package + BINDIR=$(bindir) diff --git a/net-print/foomatic-db-engine/files/4.0.7-respect-ldflag.patch b/net-print/foomatic-db-engine/files/4.0.7-respect-ldflag.patch new file mode 100644 index 0000000..7a62faa --- /dev/null +++ b/net-print/foomatic-db-engine/files/4.0.7-respect-ldflag.patch @@ -0,0 +1,15 @@ +--- a/Makefile.in ++++ b/Makefile.in +@@ -231,10 +231,10 @@ + ( cd lib && $(PERL) Makefile.PL verbose INSTALLDIRS=$(PERL_INSTALLDIRS) ) + + foomatic-combo-xml: foomatic-combo-xml.c +- $(CC) $(CFLAGS) -o foomatic-combo-xml foomatic-combo-xml.c ++ $(CC) $(CFLAGS) $(LDFLAGS) -o foomatic-combo-xml foomatic-combo-xml.c + + foomatic-perl-data: foomatic-perl-data.c +- $(CC) $(CFLAGS) $(XML_CFLAGS) -o foomatic-perl-data foomatic-perl-data.c $(XML_LIBS) ++ $(CC) $(CFLAGS) $(LDFLAGS) -o foomatic-perl-data foomatic-perl-data.c $(XML_CFLAGS) $(XML_LIBS) + + man: lib/Foomatic/Defaults.pm + chmod a+rx ./makeMan diff --git a/net-print/foomatic-db-engine/foomatic-db-engine-4.0.12-r1.ebuild b/net-print/foomatic-db-engine/foomatic-db-engine-4.0.12-r1.ebuild new file mode 100644 index 0000000..2981008 --- /dev/null +++ b/net-print/foomatic-db-engine/foomatic-db-engine-4.0.12-r1.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools perl-module + +DESCRIPTION="Generates ppds out of xml foomatic printer description files" +HOMEPAGE="http://www.linuxprinting.org/foomatic.html" +SRC_URI="http://www.openprinting.org/download/foomatic/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha amd64 arm ~hppa ~ia64 ~mips ppc ppc64 ~s390 sparc x86" + +BDEPEND=" + net-print/cups + virtual/pkgconfig" +RDEPEND=" + dev-libs/libxml2 + >=net-print/cups-filters-1.0.43-r1[foomatic] +" +DEPEND="${RDEPEND}" +PDEPEND="net-print/foomatic-db" + +src_prepare() { + default + eapply \ + "${FILESDIR}"/4.0.7-perl-module.patch \ + "${FILESDIR}"/4.0.7-respect-ldflag.patch \ + "${FILESDIR}"/4.0.12-use-pkgconfig.patch + sed -i -e "s:@LIB_CUPS@:$(cups-config --serverbin):" Makefile.in || die + eautoreconf + + cd lib || die + perl-module_src_prepare +} + +src_configure() { + default + + cd lib || die + perl-module_src_configure +} + +src_compile() { + emake defaults + default + + cd lib || die + perl-module_src_compile +} + +src_test() { + cd lib || die + perl-module_src_test +} + +src_install() { + default + dodoc USAGE + + cd lib || die + perl-module_src_install + pushd "${S}/lib/Foomatic/" + perl_domodule -C Foomatic Defaults.pm +} diff --git a/net-print/foomatic-db-engine/metadata.xml b/net-print/foomatic-db-engine/metadata.xml new file mode 100644 index 0000000..8825047 --- /dev/null +++ b/net-print/foomatic-db-engine/metadata.xml @@ -0,0 +1,8 @@ + + + + + printing@gentoo.org + Gentoo Printing Project + +