-
Notifications
You must be signed in to change notification settings - Fork 90
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
python3_12: fork banch of random packages and add python target
- Loading branch information
Showing
110 changed files
with
5,203 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
DIST system-config-printer-1.5.18.tar.xz 1396808 BLAKE2B 910e853829ee876edc597a3103b5ab857b3b8c1cb87096f25213b1088e35d9f4d320dad61f55b530283a7650b07abe028a53b4e144b33b1b66c733cb2caa8011 SHA512 33dc9c52d92f4234e055fb10a99cadd58424dcdb62554797b44bdd5319f1c3662bd2fa33417ac3a3f5ec51216d64e81e1897f3e671eb49f6be34057d7c38f3f4 |
22 changes: 22 additions & 0 deletions
22
...n/system-config-printer/files/system-config-printer-1.5.18-fix-debugprint-exception.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
From 399b3334d6519639cfe7f1c0457e2475b8ee5230 Mon Sep 17 00:00:00 2001 | ||
From: Zdenek Dohnal <zdohnal@redhat.com> | ||
Date: Thu, 13 Oct 2022 14:03:37 +0200 | ||
Subject: [PATCH] Fix debugprint() in options.py (fixes #291) | ||
|
||
--- | ||
options.py | 2 +- | ||
1 file changed, 1 insertions(+), 1 deletion(-) | ||
|
||
diff --git a/options.py b/options.py | ||
index d756f98dc..d7c236deb 100644 | ||
--- a/options.py | ||
+++ b/options.py | ||
@@ -423,7 +423,7 @@ def __init__(self, name, value, supported, on_change): | ||
debugprint("Unknown value for %s: %s" % (name, value)) | ||
debugprint("Choices: %s" % (supported)) | ||
if len(supported) > 0: | ||
- debugprint("Selecting from choices:", supported[0]) | ||
+ debugprint("Selecting from choices: %s" % supported[0]) | ||
self.selector.set_active(0) | ||
self.selector.connect("changed", self.changed) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> | ||
<pkgmetadata> | ||
<maintainer type="person"> | ||
<email>reavertm@gentoo.org</email> | ||
<name>Maciej Mrozowski</name> | ||
</maintainer> | ||
<maintainer type="project"> | ||
<email>gnome@gentoo.org</email> | ||
<name>Gentoo GNOME Desktop</name> | ||
</maintainer> | ||
<maintainer type="project"> | ||
<email>kde@gentoo.org</email> | ||
<name>Gentoo KDE Project</name> | ||
</maintainer> | ||
<upstream> | ||
<remote-id type="github">OpenPrinting/system-config-printer</remote-id> | ||
</upstream> | ||
</pkgmetadata> |
92 changes: 92 additions & 0 deletions
92
app-admin/system-config-printer/system-config-printer-1.5.18-r1.ebuild
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,92 @@ | ||
# Copyright 1999-2023 Gentoo Authors | ||
# Distributed under the terms of the GNU General Public License v2 | ||
|
||
EAPI=8 | ||
|
||
PYTHON_COMPAT=( python3_{10..12} ) | ||
PYTHON_REQ_USE="xml(+)" | ||
inherit python-single-r1 systemd udev xdg | ||
|
||
DESCRIPTION="Graphical user interface for CUPS administration" | ||
HOMEPAGE="https://github.com/OpenPrinting/system-config-printer" | ||
SRC_URI="https://github.com/OpenPrinting/${PN}/releases/download/v${PV}/${P}.tar.xz" | ||
|
||
LICENSE="GPL-2+" | ||
SLOT="0" | ||
KEYWORDS="~alpha amd64 ~arm arm64 ~ia64 ~loong ppc ppc64 ~riscv ~sparc x86" | ||
IUSE="keyring policykit" | ||
REQUIRED_USE="${PYTHON_REQUIRED_USE}" | ||
|
||
# Needs cups running, bug 284005 | ||
RESTRICT="test" | ||
|
||
# Additional unhandled dependencies | ||
# gnome-extra/gnome-packagekit[${PYTHON_USEDEP}] with pygobject:2 ? | ||
# python samba client: smbc | ||
# selinux: needed for troubleshooting | ||
COMMON_DEPEND="${PYTHON_DEPS} | ||
dev-libs/glib:2 | ||
net-print/cups[dbus] | ||
virtual/libusb:1 | ||
>=virtual/udev-172 | ||
x11-libs/gtk+:3[introspection] | ||
x11-libs/libnotify[introspection] | ||
x11-libs/pango[introspection] | ||
" | ||
DEPEND="${COMMON_DEPEND} | ||
app-text/docbook-xml-dtd:4.1.2 | ||
>=app-text/xmlto-0.0.22 | ||
dev-perl/XML-Parser | ||
dev-util/desktop-file-utils | ||
>=sys-devel/gettext-0.20 | ||
virtual/pkgconfig | ||
" | ||
RDEPEND="${COMMON_DEPEND} | ||
$(python_gen_cond_dep ' | ||
dev-python/dbus-python[${PYTHON_USEDEP}] | ||
dev-python/pycairo[${PYTHON_USEDEP}] | ||
dev-python/pycups[${PYTHON_USEDEP}] | ||
dev-python/pygobject:3[${PYTHON_USEDEP}] | ||
dev-python/requests[${PYTHON_USEDEP}] | ||
dev-python/urllib3[${PYTHON_USEDEP}] | ||
') | ||
keyring? ( app-crypt/libsecret[introspection] ) | ||
policykit? ( net-print/cups-pk-helper ) | ||
" | ||
|
||
PATCHES=( "${FILESDIR}/${P}-fix-debugprint-exception.patch" ) # git master (1.5.19) | ||
|
||
pkg_setup() { | ||
python-single-r1_pkg_setup | ||
} | ||
|
||
src_configure() { | ||
local myeconfargs=( | ||
--with-xmlto | ||
--enable-nls | ||
--with-desktop-vendor=Gentoo | ||
--with-udev-rules | ||
--with-systemdsystemunitdir=$(systemd_get_systemunitdir) | ||
) | ||
econf "${myeconfargs[@]}" | ||
} | ||
|
||
src_compile() { | ||
default | ||
python_optimize cupshelpers | ||
} | ||
|
||
src_install() { | ||
default | ||
python_fix_shebang "${ED}" | ||
python_optimize | ||
python_domodule cupshelpers | ||
} | ||
|
||
pkg_postinst() { | ||
udev_reload | ||
} | ||
|
||
pkg_postrm() { | ||
udev_reload | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
DIST recoll-1.36.2.tar.gz 3129206 BLAKE2B 0631d8c88f56f3381dd899fa385cba84a720d9d3a49b19b9b344de9542d79e3e5d5e10008fd7dd098795df2a4c79a682ff9a10ff4f99243fa2f7abd99831b553 SHA512 4c7ce5b6f6213ba4cb9266dcd6ea26e56850aa984c343552464766c5036ac6fd2ac6e9e71157997e10e8ba0350d23a4ebc3f2d57978805aa2d33674aa2a6c8b0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> | ||
<pkgmetadata> | ||
<maintainer type="person" proxied="yes"> | ||
<email>ppurka@gmail.com</email> | ||
<name>Punarbasu 'ppurka' Purkayastha</name> | ||
</maintainer> | ||
<maintainer type="project" proxied="proxy"> | ||
<email>proxy-maint@gentoo.org</email> | ||
<name>Proxy Maintainers Project</name> | ||
</maintainer> | ||
<upstream> | ||
<maintainer status="active"> | ||
<email>jfd@recoll.org</email> | ||
<name>Jean-Francois Dockes</name> | ||
</maintainer> | ||
<bugs-to>https://bitbucket.org/medoc/recoll/issues</bugs-to> | ||
</upstream> | ||
<use> | ||
<flag name="camelcase">Enable indexing for camelCase sentences and words</flag> | ||
<flag name="chm">Enable CHM file support via <pkg>dev-python/pychm</pkg></flag> | ||
<flag name="inotify">Use the Linux Kernel notification subsystem for monitoring file alterations in realtime</flag> | ||
<flag name="session">Stop monitoring file alterations when X11 session terminates</flag> | ||
<flag name="webengine">Use <pkg>dev-qt/qtwebengine</pkg> for fancy result list display</flag> | ||
</use> | ||
<longdescription lang="en"> | ||
Recoll is a desktop full-text search tool. It can search most document | ||
formats. You may need external applications for text extraction. It | ||
can reach any storage place: files, archive members, email attachments, | ||
transparently handling decompression. | ||
</longdescription> | ||
</pkgmetadata> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,128 @@ | ||
# Copyright 1999-2023 Gentoo Authors | ||
# Distributed under the terms of the GNU General Public License v2 | ||
|
||
EAPI=8 | ||
|
||
PYTHON_COMPAT=( python3_{10..12} ) | ||
|
||
inherit linux-info optfeature python-single-r1 qmake-utils systemd | ||
|
||
DESCRIPTION="Personal full text search package" | ||
HOMEPAGE="https://www.lesbonscomptes.com/recoll/" | ||
SRC_URI="https://www.lesbonscomptes.com/recoll/${P}.tar.gz" | ||
|
||
LICENSE="GPL-2+" | ||
SLOT="0" | ||
KEYWORDS="amd64 ~arm64 x86" | ||
|
||
IUSE="camelcase chm +inotify qt5 session +spell systemd webengine" | ||
REQUIRED_USE=" | ||
session? ( inotify ) | ||
webengine? ( qt5 ) | ||
${PYTHON_REQUIRED_USE} | ||
" | ||
|
||
DEPEND=" | ||
dev-libs/libxml2 | ||
dev-libs/libxslt | ||
dev-libs/xapian:= | ||
sys-libs/zlib | ||
virtual/libiconv | ||
chm? ( | ||
dev-libs/chmlib | ||
dev-python/pychm | ||
) | ||
qt5? ( | ||
dev-qt/qtcore:5 | ||
dev-qt/qtgui:5 | ||
dev-qt/qtprintsupport:5 | ||
dev-qt/qtwidgets:5 | ||
webengine? ( dev-qt/qtwebengine:5[widgets] ) | ||
) | ||
session? ( | ||
inotify? ( | ||
x11-libs/libSM | ||
x11-libs/libICE | ||
x11-libs/libX11 | ||
) | ||
) | ||
spell? ( app-text/aspell ) | ||
systemd? ( sys-apps/systemd ) | ||
${PYTHON_DEPS} | ||
" | ||
|
||
BDEPEND=" | ||
qt5? ( dev-qt/linguist-tools:5 ) | ||
" | ||
|
||
RDEPEND=" | ||
${DEPEND} | ||
app-arch/unzip | ||
" | ||
|
||
pkg_setup() { | ||
if use inotify; then | ||
local CONFIG_CHECK="~INOTIFY_USER" | ||
check_extra_config | ||
fi | ||
python-single-r1_pkg_setup | ||
} | ||
|
||
src_prepare() { | ||
default | ||
python_fix_shebang filters | ||
} | ||
|
||
src_configure() { | ||
use qt5 && export QMAKE="$(qt5_get_bindir)/qmake" | ||
|
||
local myeconfargs=( | ||
$(use_enable camelcase) | ||
$(use_enable chm python-chm) | ||
$(use_enable session x11mon) | ||
$(use_enable qt5 qtgui) | ||
$(use_enable spell python-aspell) | ||
$(use_enable webengine) | ||
$(use_with inotify) | ||
$(use_with spell aspell) | ||
$(use_with systemd) | ||
--with-system-unit-dir="$(systemd_get_systemunitdir)" | ||
--with-user-unit-dir="$(systemd_get_userunitdir)" | ||
--disable-webkit | ||
--without-fam | ||
--enable-recollq | ||
) | ||
|
||
econf "${myeconfargs[@]}" | ||
} | ||
|
||
src_install() { | ||
emake STRIP="$(type -P true || die)" DESTDIR="${D}" install | ||
python_optimize | ||
|
||
# html docs should be placed in /usr/share/doc/${PN}/html | ||
dodoc -r "${ED}"/usr/share/recoll/doc/. | ||
rm -r "${ED}/usr/share/recoll/doc" || die | ||
find "${D}" -name '*.la' -delete || die | ||
} | ||
|
||
pkg_postinst() { | ||
optfeature "XML based documents support" "dev-libs/libxslt[python] dev-libs/libxml2[python]" | ||
optfeature "PDF files support" app-text/poppler | ||
optfeature "PDF files with OCR support" app-text/tesseract | ||
optfeature "MS Word files support" app-text/antiword | ||
optfeature "Wordperfect files support" "app-text/libwpd[tools]" | ||
optfeature "Lyx files support" app-office/lyx | ||
optfeature "GNU Info files support" sys-apps/texinfo | ||
optfeature "RAR archives support" dev-python/rarfile | ||
optfeature "7zip archives support" dev-python/pylzma | ||
optfeature "iCalendar files support" dev-python/icalendar | ||
optfeature "Postscript files support" app-text/pstotext | ||
optfeature "RTF files support" app-text/unrtf | ||
optfeature "TeX files support" dev-text/detex | ||
optfeature "DVI files support" virtual/tex-base | ||
optfeature "DJVU files support" app-text/djvu | ||
optfeature "tags in audio files support" media-libs/mutagen | ||
optfeature "tags in image files support" media-libs/exiftool | ||
optfeature "Midi karaoke files support" dev-python/chardet | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
DIST gobject-introspection-1.76.1.tar.xz 1055416 BLAKE2B 2251c34b543c95f95bdec6853c8234db1b2e6271e729eaa5abf28e39c7718b326e0813a1214c62fb4634fd11218c4c856e6651de09081b01c9fcf8f73b8cf316 SHA512 84331a30f8854d2259609650c21aadd6363ea1417a75828bd395f8f4346da1c6d6550cff5f2c9f5f6fd6fbf2a9d27b5880c2ee1616fa905c5f362384d481a916 | ||
DIST gobject-introspection-1.78.1.tar.xz 1060296 BLAKE2B 115cf9ea27cec2d8d3a84081c909b72144fd1568bc316677c26f49652dc93b34fba10701678ad4977dcf97a89f7608545fbd2d73c2503c87635b2102e66ae024 SHA512 a3081882995a762645b04faa71082dbd523bee845519007e48b13235aad8a4cd4c74f0d042a6c17710125f945bd970e4b76e95a559274e294d595e04725a4e97 |
79 changes: 79 additions & 0 deletions
79
dev-libs/gobject-introspection/gobject-introspection-1.76.1.ebuild
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,79 @@ | ||
# Copyright 1999-2023 Gentoo Authors | ||
# Distributed under the terms of the GNU General Public License v2 | ||
|
||
EAPI=8 | ||
|
||
PYTHON_COMPAT=( python3_{9..12} ) | ||
PYTHON_REQ_USE="xml(+)" | ||
inherit gnome.org meson python-single-r1 xdg | ||
|
||
DESCRIPTION="Introspection system for GObject-based libraries" | ||
HOMEPAGE="https://wiki.gnome.org/Projects/GObjectIntrospection" | ||
|
||
LICENSE="LGPL-2+ GPL-2+" | ||
SLOT="0" | ||
IUSE="doctool gtk-doc test" | ||
RESTRICT="!test? ( test )" | ||
REQUIRED_USE="${PYTHON_REQUIRED_USE}" | ||
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" | ||
|
||
# virtual/pkgconfig needed at runtime, bug #505408 | ||
RDEPEND=" | ||
>=dev-libs/gobject-introspection-common-${PV} | ||
>=dev-libs/glib-2.75.0:2 | ||
dev-libs/libffi:= | ||
doctool? ( | ||
$(python_gen_cond_dep ' | ||
dev-python/mako[${PYTHON_USEDEP}] | ||
dev-python/markdown[${PYTHON_USEDEP}] | ||
') | ||
) | ||
virtual/pkgconfig | ||
${PYTHON_DEPS} | ||
" | ||
# Wants real bison, not app-alternatives/yacc | ||
DEPEND="${RDEPEND}" | ||
BDEPEND=" | ||
gtk-doc? ( | ||
>=dev-util/gtk-doc-1.19 | ||
app-text/docbook-xml-dtd:4.3 | ||
app-text/docbook-xml-dtd:4.5 | ||
) | ||
sys-devel/bison | ||
sys-devel/flex | ||
test? ( | ||
x11-libs/cairo[glib] | ||
$(python_gen_cond_dep ' | ||
dev-python/mako[${PYTHON_USEDEP}] | ||
dev-python/markdown[${PYTHON_USEDEP}] | ||
') | ||
) | ||
" | ||
|
||
pkg_setup() { | ||
python-single-r1_pkg_setup | ||
} | ||
|
||
src_configure() { | ||
local emesonargs=( | ||
$(meson_feature test cairo) | ||
$(meson_feature doctool) | ||
#-Dglib_src_dir | ||
$(meson_use gtk-doc gtk_doc) | ||
#-Dcairo_libname | ||
-Dpython="${EPYTHON}" | ||
#-Dgir_dir_prefix | ||
) | ||
meson_src_configure | ||
} | ||
|
||
src_install() { | ||
meson_src_install | ||
python_fix_shebang "${ED}"/usr/bin/ | ||
python_optimize "${ED}"/usr/$(get_libdir)/gobject-introspection/giscanner | ||
|
||
# Prevent collision with gobject-introspection-common | ||
rm -v "${ED}"/usr/share/aclocal/introspection.m4 \ | ||
"${ED}"/usr/share/gobject-introspection-1.0/Makefile.introspection || die | ||
rmdir "${ED}"/usr/share/aclocal || die | ||
} |
Oops, something went wrong.