parent
37bbcc4481
commit
c206a73f4d
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,2 +1 @@
|
||||
DIST sumibi-0.5.2.tar.gz 26755 BLAKE2B 329c094ed118e9dc53af1fb77fa31f8db5b97d69ac39fb0eaba99eeeeb8ab4588b1f9e232145a3c377fcf38bbaced605e86dd8c1ccb078969762d475d9cff7b7 SHA512 b630be8b7c73ba5e0babc2c2946ddb05019fa15b0a8aaf5b578c97de32094de174d6ced9c0168b2e802e35e2b30b4a02501a0d8c41b90a8f8bb4a85fe501cff3
|
||||
DIST sumibi-0.7.4.tar.gz 66886 BLAKE2B 9da3a411bc232061f311e70e9dadcb8399f36842d2e344145604e5c26cdcf46f00f38ef2d8130a2a56dde729a9e0348ad7056d00d764389dde4717d622d24478 SHA512 23c78c445479699551a5a25d67bb909746b6b1377bc81c372ffee02a4baf7968490d454b54340ec0cb46ec92d21a3945b8bb231f8b9833309022c204373d0a2b
|
||||
|
@ -1,4 +0,0 @@
|
||||
|
||||
;;; sumibi site-lisp configuration
|
||||
|
||||
(require 'sumibi)
|
@ -1,32 +0,0 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=0
|
||||
|
||||
inherit elisp
|
||||
|
||||
DESCRIPTION="Statistical Japanese input method using the Internet as a large corpus"
|
||||
HOMEPAGE="http://www.sumibi.org/"
|
||||
SRC_URI="mirror://sourceforge.jp/sumibi/17176/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
SITEFILE=50${PN}-gentoo.el
|
||||
|
||||
src_compile() {
|
||||
cd client/elisp
|
||||
elisp-compile *.el || die "elisp-compile failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cd client/elisp
|
||||
elisp-install ${PN} *.{el,elc} || die "elisp-install failed"
|
||||
elisp-site-file-install "${FILESDIR}/${SITEFILE}" \
|
||||
|| die "elisp-site-file-install failed"
|
||||
|
||||
cd "${S}"
|
||||
dodoc README CREDITS CHANGELOG
|
||||
}
|
Binary file not shown.
@ -1 +1,2 @@
|
||||
DIST diskimage-builder-2.24.0.tar.gz 408702 BLAKE2B 069083aef6214d59d9731a13691c2b48cb354085b698c8f711b3cd93c54d44acb08487510b2b9b038a53c533ea17f41b2521c36eee643c09dc409ea13c21fa6b SHA512 90bf13059f9310f3b45bf7c1a550d837e4d73920efa2af2ae30ec3cd5118d3db223b6953d5209ef0f7029c23f17772de1a36cfba87d7e86bbe8a481aa4ee0639
|
||||
DIST diskimage-builder-2.25.0.tar.gz 419297 BLAKE2B 78ac5b1119233080dddef917b05ca4f51f73382bb325cbf228f63837ab79be9ce524351404f2a26cf735440c66a3dc246a1642258b77f217406998650860eb39 SHA512 4afd257b01924a526ef335bf6699f5fbf49ca0c08bb3d288a6823783b842827e3afb51794771994f068332c6ee2ecf6f105fc03112d6a7807932fb5ab1fa4c24
|
||||
|
@ -0,0 +1,42 @@
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
PYTHON_COMPAT=( python2_7 python3_6 python3_7 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Golden Disk Image builder."
|
||||
HOMEPAGE="http://docs.openstack.org/developer/diskimage-builder/"
|
||||
if [[ ${PV} == 9999* ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://opendev.org/openstack/diskimage-builder.git"
|
||||
else
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
KEYWORDS="~amd64 ~arm64 ~x86 ~amd64-linux ~x86-linux"
|
||||
fi
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
CDEPEND=">=dev-python/pbr-2.0.0[${PYTHON_USEDEP}]
|
||||
!~dev-python/pbr-2.1.0[${PYTHON_USEDEP}]"
|
||||
DEPEND="${CDEPEND}
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]"
|
||||
RDEPEND="${CDEPEND}
|
||||
>=dev-python/Babel-2.3.4[${PYTHON_USEDEP}]
|
||||
!~dev-python/Babel-2.4.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/networkx-1.10[${PYTHON_USEDEP}]
|
||||
<dev-python/networkx-2.3[${PYTHON_USEDEP}]
|
||||
>=dev-python/pyyaml-3.12[${PYTHON_USEDEP}]
|
||||
>=dev-python/flake8-2.5.4[${PYTHON_USEDEP}]
|
||||
<dev-python/flake8-2.6.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/six-1.10.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/stevedore-1.20.0[${PYTHON_USEDEP}]
|
||||
app-emulation/qemu
|
||||
sys-block/parted
|
||||
sys-fs/multipath-tools
|
||||
sys-fs/dosfstools
|
||||
sys-apps/gptfdisk
|
||||
!dev-python/dib-utils[${PYTHON_USEDEP}]"
|
Binary file not shown.
@ -1 +1,4 @@
|
||||
DIST man-pages-3.70.tar.xz 1266044 BLAKE2B 00aa14ac7c9aafb9883713c4d13fe9318cf10cfe844663226bcd374b0a77b8b8a60cefeada7ca058f9d4e8b4e1056f4c8c6d762f46507f08f454bbe450f49fe3 SHA512 3e5590fe5181a914bb49531b7786eefc9d13d1ce1e3a80b09500dfc31a7fa01543f36c44484194613d2c87b840e4bdd9774eedc67251d3378014698078cb3ca3
|
||||
DIST man-pages-fr-3.70-1-r1.tar.gz 4669973 BLAKE2B 2fd32c5e922f8d74dbec74724c9acb8f5fdc0fd7a88f4687465713b22ddee5589b4a54383bdf14eb76076538e9d28a20ffdac2415c521b21e21f5186606121d6 SHA512 002ca3b7066437ce3a42f9c0396940ffc8593d2acdd05a3150c54b8d1f272ef6a448a18e6f3de0f90ac6eb4e616c132eb4e11e3e052b2e6f83a820a7d56f32d1
|
||||
DIST man-pages-fr-3.70-1.tar.xz 1143156 BLAKE2B 09a86733caf03246e530e898688d0f93ef401a74cc66eb1f5ee05ded5dee0be45fc27fcbcf458f2c5a3286a6655c7b7302eb1b2759be6e0205e69db95ce989dc SHA512 7bb6991b2278c898d67d465ebe434dc3a969e9ec5c962ed6b6fdb41e66121a1924573f529d310adf30cd8494515888627b3226f26b906452a8882c4851c290d8
|
||||
DIST perkamon-man-pages-3.70.tar.gz 24292 BLAKE2B 60848a93d95c1eedc50b10a4b8cfd68c3847ae5e6d13de06058f1c89218d953f68f5428fe3d422c11078f80a5bcb678abd51388b6ee4ea20c2db2e9a87fc51e6 SHA512 648f16c958d1ed5933da1e971f94391761cad94414eb4d0d3eee612f9cabef3a56f07c5f83b72be3f98d49a9956d3ccceb1568ea76572f6d4a6fb8b50a8225a5
|
||||
|
@ -0,0 +1,26 @@
|
||||
diff --git a/Makefile.old b/Makefile
|
||||
index a4e4285..b3b3690 100644
|
||||
--- a/Makefile.old
|
||||
+++ b/Makefile
|
||||
@@ -39,7 +39,7 @@ stamp-unpack-git:
|
||||
touch $@
|
||||
|
||||
setup: stamp-setup
|
||||
-stamp-setup: stamp-unpack
|
||||
+stamp-setup:
|
||||
$(MAKE) -C perkamon setup
|
||||
mv perkamon/build .
|
||||
touch $@
|
||||
diff --git a/perkamon/Makefile.old b/perkamon/Makefile
|
||||
index 3a3aa32..57e532c 100644
|
||||
--- a/perkamon/Makefile.old
|
||||
+++ b/perkamon/Makefile
|
||||
@@ -99,7 +99,7 @@ stamp-unpack-git:
|
||||
# Prepare sources for being used by po4a.
|
||||
# This target is called once after manual pages are unpacked.
|
||||
setup: stamp-setup
|
||||
-stamp-setup: stamp-unpack
|
||||
+stamp-setup:
|
||||
-rm -rf build
|
||||
mkdir -p build/C
|
||||
for i in $$(seq 8); do mkdir build/C/man$$i; done
|
@ -0,0 +1,50 @@
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
MY_PV="${PV}-1"
|
||||
DESCRIPTION="A somewhat comprehensive collection of French Linux man pages"
|
||||
HOMEPAGE="https://traduc.org/perkamon"
|
||||
|
||||
SRC_URI="
|
||||
https://gitlab.com/perkamon/${PN}/-/archive/${MY_PV}/${PN}-${MY_PV}.tar.gz -> ${PN}-${MY_PV}-${PR}.tar.gz
|
||||
https://gitlab.com/perkamon/man-pages/-/archive/${PV}/man-pages-${PV}.tar.gz -> perkamon-man-pages-${PV}.tar.gz
|
||||
https://mirrors.edge.kernel.org/pub/linux/docs/man-pages/Archive/man-pages-${PV}.tar.xz
|
||||
"
|
||||
|
||||
LICENSE="BSD GPL-2+ man-pages"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux"
|
||||
|
||||
BDEPEND="app-text/po4a"
|
||||
|
||||
RDEPEND="virtual/man"
|
||||
|
||||
S="${WORKDIR}/${PN}-${MY_PV}"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PF}-fix-unpack.patch"
|
||||
)
|
||||
|
||||
src_unpack() {
|
||||
unpack "${PN}-${MY_PV}-${PR}.tar.gz"
|
||||
|
||||
cd "${S}" || die
|
||||
unpack "perkamon-man-pages-${PV}.tar.gz"
|
||||
mv "man-pages-${PV}" "perkamon" || die
|
||||
|
||||
cd "perkamon" || die
|
||||
unpack "man-pages-${PV}.tar.xz"
|
||||
mv "man-pages-${PV}" "man-pages" || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake translate
|
||||
}
|
||||
|
||||
src_install() {
|
||||
einstalldocs
|
||||
|
||||
doman -i18n=fr build/fr/man*/*
|
||||
}
|
Binary file not shown.
Binary file not shown.
@ -1,3 +1 @@
|
||||
DIST ddcutil-0.8.4.tar.gz 558405 BLAKE2B 4bb93d6b9b28a17ef182c1f39e3b6351070c5541fd8eefccde2a6d771e28a8c656abe1e00a58ee935290cba79af09b1c2d6b611532827455b5ec83532bbb46c4 SHA512 e7bf78295a008607ef520e055873acc0bac6d94b850a6ea1f7d4a4ea9e080d23b4b7d82e5725a220ff120ab1523aa320265ba22671982625c10088521c72a14c
|
||||
DIST ddcutil-0.8.6.tar.gz 613272 BLAKE2B ce7072a819c5a2aa125ae8f6d5550cf0a516714f0635672015a0c24c9e525d34139c903ce7791955e0b30b8d4c66e94453eed60f8d8d024caccb49204d6fb853 SHA512 4ec473a37dc135700f4ce06634e6aa303199f4d743fba02c04ca509d0c31d45f59da7c6cd9818efc1fd8bc20dae518c5656fc8a38e9f00057677b1e997434fb0
|
||||
DIST ddcutil-0.9.1.tar.gz 656853 BLAKE2B e4f11253176587cb5ee3c9647a01ab04d5a92ce4ca7a4098378318fc069e635e43c3716ace316498f64ceaaa00aa90db3b5f409b74b8d7089a7c25254c0e360d SHA512 b2d5866606a4bc081d89180e910822f2a2a653a2782e3df582536ddc86c7d3dc02309dbb41f8d566f6ebdc5d82d3aa11792a04c28b3d83552b024dfd59891fda
|
||||
|
@ -1,104 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit autotools flag-o-matic linux-info udev user
|
||||
|
||||
DESCRIPTION="Program for querying and changing monitor settings"
|
||||
HOMEPAGE="http://www.ddcutil.com/"
|
||||
SRC_URI="https://github.com/rockowitz/ddcutil/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
# Binary drivers need special instructions compared to the open source counterparts.
|
||||
# If a user switches drivers, they will need to set different use flags for
|
||||
# Xorg or Wayland or Mesa, so this will trigger the rebuild against
|
||||
# the different drivers.
|
||||
# Remove ATI/AMD driver since it's masked for removal.
|
||||
# Will most likely need to set this for AMDGPU when in portage.
|
||||
IUSE="usb-monitor user-permissions video_cards_nvidia"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~x86"
|
||||
|
||||
RDEPEND="x11-libs/libXrandr
|
||||
x11-libs/libX11
|
||||
dev-libs/glib:2
|
||||
sys-apps/i2c-tools
|
||||
virtual/udev
|
||||
usb-monitor? (
|
||||
dev-libs/hidapi
|
||||
virtual/libusb:1
|
||||
sys-apps/usbutils )"
|
||||
DEPEND="virtual/pkgconfig
|
||||
${RDEPEND}"
|
||||
|
||||
pkg_pretend() {
|
||||
# This program needs /dev/ic2-* devices to communicate with the monitor.
|
||||
CONFIG_CHECK="~I2C_CHARDEV"
|
||||
ERROR_I2C_CHARDEV="You must enable I2C_CHARDEV in your kernel to continue"
|
||||
if use usb-monitor; then
|
||||
CONFIG_CHECK+=" ~HIDRAW ~USB_HIDDEV"
|
||||
ERROR_HIDRAW="HIDRAW is needed to support USB monitors"
|
||||
ERROR_I2C_CHARDEV="USB_HIDDEV is needed to support USB monitors"
|
||||
fi
|
||||
|
||||
# Now do the actual checks setup above
|
||||
check_extra_config
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# Bug 607818.
|
||||
replace-flags -O3 -O2
|
||||
|
||||
# Python API is still very experimental.
|
||||
local myeconfargs=(
|
||||
$(use_enable usb-monitor usb)
|
||||
--disable-swig
|
||||
--enable-lib
|
||||
)
|
||||
|
||||
econf "${myeconfargs[@]}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
if use user-permissions; then
|
||||
udev_dorules data/etc/udev/rules.d/45-ddcutil-i2c.rules
|
||||
if use usb-monitor; then
|
||||
udev_dorules data/etc/udev/rules.d/45-ddcutil-usb.rules
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if use user-permissions; then
|
||||
enewgroup i2c
|
||||
einfo "To allow non-root users access to the /dev/i2c-* devices, add those"
|
||||
einfo "users to the i2c group: usermod -aG i2c user"
|
||||
einfo "Restart the computer or reload the i2c-dev module to activate"
|
||||
einfo "the new udev rule."
|
||||
einfo "For more information read: http://www.ddcutil.com/i2c_permissions/"
|
||||
|
||||
if use usb-monitor; then
|
||||
enewgroup video
|
||||
einfo "To allow non-root users access to USB monitors, add those users"
|
||||
einfo "to the video group: usermod -aG video user"
|
||||
einfo "Restart the computer, reload the hiddev and hidraw modules, or replug"
|
||||
einfo "the monitor to activate the new udev rule."
|
||||
einfo "For more information read: http://www.ddcutil.com/usb/"
|
||||
fi
|
||||
|
||||
udev_reload
|
||||
fi
|
||||
|
||||
if use video_cards_nvidia; then
|
||||
ewarn "Please read the following webpage on proper usage with the nVidia "
|
||||
ewarn "binary drivers, or it may not work: http://www.ddcutil.com/nvidia/"
|
||||
fi
|
||||
}
|
@ -1,108 +0,0 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit autotools flag-o-matic linux-info udev user
|
||||
|
||||
DESCRIPTION="Program for querying and changing monitor settings"
|
||||
HOMEPAGE="http://www.ddcutil.com/"
|
||||
SRC_URI="https://github.com/rockowitz/ddcutil/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="GPL-2"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="drm usb-monitor user-permissions video_cards_nvidia X"
|
||||
REQUIRED_USE="drm? ( X )"
|
||||
|
||||
RDEPEND="dev-libs/glib:2
|
||||
sys-apps/i2c-tools
|
||||
virtual/udev
|
||||
drm? ( x11-libs/libdrm )
|
||||
usb-monitor? (
|
||||
dev-libs/hidapi
|
||||
virtual/libusb:1
|
||||
sys-apps/usbutils
|
||||
)
|
||||
X? (
|
||||
x11-libs/libXrandr
|
||||
x11-libs/libX11
|
||||
)"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig"
|
||||
|
||||
PATCHES=( ${FILESDIR}/${P}-remove-pedantic-cflag.patch )
|
||||
|
||||
pkg_pretend() {
|
||||
# This program needs /dev/ic2-* devices to communicate with the monitor.
|
||||
CONFIG_CHECK="~I2C_CHARDEV"
|
||||
ERROR_I2C_CHARDEV="You must enable I2C_CHARDEV in your kernel to continue"
|
||||
if use usb-monitor; then
|
||||
CONFIG_CHECK+=" ~HIDRAW ~USB_HIDDEV"
|
||||
ERROR_HIDRAW="HIDRAW is needed to support USB monitors"
|
||||
ERROR_I2C_CHARDEV="USB_HIDDEV is needed to support USB monitors"
|
||||
fi
|
||||
|
||||
# Now do the actual checks setup above
|
||||
check_extra_config
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# Bug 607818.
|
||||
replace-flags -O3 -O2
|
||||
|
||||
local myeconfargs=(
|
||||
$(use_enable drm)
|
||||
$(use_enable usb-monitor usb)
|
||||
$(use_enable X x11)
|
||||
--enable-lib
|
||||
--disable-cffi
|
||||
--disable-cython
|
||||
--disable-swig
|
||||
)
|
||||
|
||||
econf "${myeconfargs[@]}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
if use user-permissions; then
|
||||
udev_dorules data/etc/udev/rules.d/45-ddcutil-i2c.rules
|
||||
if use usb-monitor; then
|
||||
udev_dorules data/etc/udev/rules.d/45-ddcutil-usb.rules
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if use user-permissions; then
|
||||
enewgroup i2c
|
||||
einfo "To allow non-root users access to the /dev/i2c-* devices, add those"
|
||||
einfo "users to the i2c group: usermod -aG i2c user"
|
||||
einfo "Restart the computer or reload the i2c-dev module to activate"
|
||||
einfo "the new udev rule."
|
||||
einfo "For more information read: http://www.ddcutil.com/i2c_permissions/"
|
||||
|
||||
if use usb-monitor; then
|
||||
enewgroup video
|
||||
einfo "To allow non-root users access to USB monitors, add those users"
|
||||
einfo "to the video group: usermod -aG video user"
|
||||
einfo "Restart the computer, reload the hiddev and hidraw modules, or replug"
|
||||
einfo "the monitor to activate the new udev rule."
|
||||
einfo "For more information read: http://www.ddcutil.com/usb/"
|
||||
fi
|
||||
|
||||
udev_reload
|
||||
fi
|
||||
|
||||
if use video_cards_nvidia; then
|
||||
ewarn "Please read the following webpage on proper usage with the nVidia "
|
||||
ewarn "binary drivers, or it may not work: http://www.ddcutil.com/nvidia/"
|
||||
fi
|
||||
}
|
@ -1,106 +0,0 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit autotools flag-o-matic linux-info udev user
|
||||
|
||||
DESCRIPTION="Program for querying and changing monitor settings"
|
||||
HOMEPAGE="http://www.ddcutil.com/"
|
||||
SRC_URI="https://github.com/rockowitz/ddcutil/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="GPL-2"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="drm usb-monitor user-permissions video_cards_nvidia X"
|
||||
REQUIRED_USE="drm? ( X )"
|
||||
|
||||
RDEPEND="dev-libs/glib:2
|
||||
sys-apps/i2c-tools
|
||||
virtual/udev
|
||||
drm? ( x11-libs/libdrm )
|
||||
usb-monitor? (
|
||||
dev-libs/hidapi
|
||||
virtual/libusb:1
|
||||
sys-apps/usbutils
|
||||
)
|
||||
X? (
|
||||
x11-libs/libXrandr
|
||||
x11-libs/libX11
|
||||
)"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig"
|
||||
|
||||
pkg_pretend() {
|
||||
# This program needs /dev/ic2-* devices to communicate with the monitor.
|
||||
CONFIG_CHECK="~I2C_CHARDEV"
|
||||
ERROR_I2C_CHARDEV="You must enable I2C_CHARDEV in your kernel to continue"
|
||||
if use usb-monitor; then
|
||||
CONFIG_CHECK+=" ~HIDRAW ~USB_HIDDEV"
|
||||
ERROR_HIDRAW="HIDRAW is needed to support USB monitors"
|
||||
ERROR_I2C_CHARDEV="USB_HIDDEV is needed to support USB monitors"
|
||||
fi
|
||||
|
||||
# Now do the actual checks setup above
|
||||
check_extra_config
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# Bug 607818.
|
||||
replace-flags -O3 -O2
|
||||
|
||||
local myeconfargs=(
|
||||
$(use_enable drm)
|
||||
$(use_enable usb-monitor usb)
|
||||
$(use_enable X x11)
|
||||
--enable-lib
|
||||
--disable-cffi
|
||||
--disable-cython
|
||||
--disable-swig
|
||||
)
|
||||
|
||||
econf "${myeconfargs[@]}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
if use user-permissions; then
|
||||
udev_dorules data/etc/udev/rules.d/45-ddcutil-i2c.rules
|
||||
if use usb-monitor; then
|
||||
udev_dorules data/etc/udev/rules.d/45-ddcutil-usb.rules
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if use user-permissions; then
|
||||
enewgroup i2c
|
||||
einfo "To allow non-root users access to the /dev/i2c-* devices, add those"
|
||||
einfo "users to the i2c group: usermod -aG i2c user"
|
||||
einfo "Restart the computer or reload the i2c-dev module to activate"
|
||||
einfo "the new udev rule."
|
||||
einfo "For more information read: http://www.ddcutil.com/i2c_permissions/"
|
||||
|
||||
if use usb-monitor; then
|
||||
enewgroup video
|
||||
einfo "To allow non-root users access to USB monitors, add those users"
|
||||
einfo "to the video group: usermod -aG video user"
|
||||
einfo "Restart the computer, reload the hiddev and hidraw modules, or replug"
|
||||
einfo "the monitor to activate the new udev rule."
|
||||
einfo "For more information read: http://www.ddcutil.com/usb/"
|
||||
fi
|
||||
|
||||
udev_reload
|
||||
fi
|
||||
|
||||
if use video_cards_nvidia; then
|
||||
ewarn "Please read the following webpage on proper usage with the nVidia "
|
||||
ewarn "binary drivers, or it may not work: http://www.ddcutil.com/nvidia/"
|
||||
fi
|
||||
}
|
@ -1,126 +0,0 @@
|
||||
diff -urN a/src/app_sysenv/Makefile.am b/src/app_sysenv/Makefile.am
|
||||
--- a/src/app_sysenv/Makefile.am 2018-01-20 06:40:55.000000000 +0000
|
||||
+++ b/src/app_sysenv/Makefile.am 2018-01-28 20:16:44.143484825 +0000
|
||||
@@ -15,8 +15,8 @@
|
||||
|
||||
|
||||
AM_CFLAGS = -Wall
|
||||
-AM_CFLAGS += -Werror
|
||||
-AM_CFLAGS += -Wpedantic
|
||||
+#AM_CFLAGS += -Werror
|
||||
+#AM_CFLAGS += -Wpedantic
|
||||
|
||||
if ENABLE_CALLGRAPH_COND
|
||||
AM_CFLAGS += -fdump-rtl-expand
|
||||
diff -urN a/src/base/Makefile.am b/src/base/Makefile.am
|
||||
--- a/src/base/Makefile.am 2018-01-20 06:40:55.000000000 +0000
|
||||
+++ b/src/base/Makefile.am 2018-01-28 20:21:31.124936834 +0000
|
||||
@@ -4,7 +4,7 @@
|
||||
-I$(top_srcdir)/src/public
|
||||
|
||||
AM_CFLAGS = -Wall
|
||||
-AM_CFLAGS += -Werror
|
||||
+#AM_CFLAGS += -Werror
|
||||
# AM_CFLAGS += -Wpedantic
|
||||
|
||||
if ENABLE_CALLGRAPH_COND
|
||||
diff -urN a/src/cmdline/Makefile.am b/src/cmdline/Makefile.am
|
||||
--- a/src/cmdline/Makefile.am 2018-01-20 06:40:55.000000000 +0000
|
||||
+++ b/src/cmdline/Makefile.am 2018-01-28 20:20:32.178848976 +0000
|
||||
@@ -4,7 +4,7 @@
|
||||
-I$(top_srcdir)/src/public
|
||||
|
||||
AM_CFLAGS = -Wall
|
||||
-AM_CFLAGS += -Werror
|
||||
+#AM_CFLAGS += -Werror
|
||||
# flags g_option parser structs in cmd_parser_goption.c
|
||||
# AM_CFLAGS += -Wpedantic
|
||||
|
||||
diff -urN a/src/ddc/Makefile.am b/src/ddc/Makefile.am
|
||||
--- a/src/ddc/Makefile.am 2018-01-20 06:40:55.000000000 +0000
|
||||
+++ b/src/ddc/Makefile.am 2018-01-28 20:18:09.643626498 +0000
|
||||
@@ -11,8 +11,8 @@
|
||||
|
||||
|
||||
AM_CFLAGS = -Wall
|
||||
-AM_CFLAGS += -Werror
|
||||
-AM_CFLAGS += -Wpedantic
|
||||
+#AM_CFLAGS += -Werror
|
||||
+#AM_CFLAGS += -Wpedantic
|
||||
|
||||
if ENABLE_CALLGRAPH_COND
|
||||
AM_CFLAGS += -fdump-rtl-expand
|
||||
diff -urN a/src/i2c/Makefile.am b/src/i2c/Makefile.am
|
||||
--- a/src/i2c/Makefile.am 2018-01-20 06:40:55.000000000 +0000
|
||||
+++ b/src/i2c/Makefile.am 2018-01-28 20:17:30.271562118 +0000
|
||||
@@ -4,8 +4,8 @@
|
||||
-I$(top_srcdir)/src/public
|
||||
|
||||
AM_CFLAGS = -Wall
|
||||
-AM_CFLAGS += -Werror
|
||||
-AM_CFLAGS += -Wpedantic
|
||||
+#AM_CFLAGS += -Werror
|
||||
+#AM_CFLAGS += -Wpedantic
|
||||
|
||||
if ENABLE_CALLGRAPH_COND
|
||||
AM_CFLAGS += -fdump-rtl-expand
|
||||
diff -urN a/src/sample_clients/Makefile.am b/src/sample_clients/Makefile.am
|
||||
--- a/src/sample_clients/Makefile.am 2018-01-20 06:40:55.000000000 +0000
|
||||
+++ b/src/sample_clients/Makefile.am 2018-01-28 20:19:57.230795822 +0000
|
||||
@@ -7,7 +7,7 @@
|
||||
-I$(top_srcdir)/src
|
||||
|
||||
AM_CFLAGS = -Wall -fPIC
|
||||
-AM_CFLAGS += -Werror
|
||||
+#AM_CFLAGS += -Werror
|
||||
|
||||
check_PROGRAMS =
|
||||
if ENABLE_SHARED_LIB_COND
|
||||
diff -urN a/src/test/Makefile.am b/src/test/Makefile.am
|
||||
--- a/src/test/Makefile.am 2018-01-20 06:40:55.000000000 +0000
|
||||
+++ b/src/test/Makefile.am 2018-01-28 20:19:03.509712410 +0000
|
||||
@@ -12,7 +12,7 @@
|
||||
|
||||
|
||||
|
||||
-AM_CFLAGS = -Wall -Werror
|
||||
+AM_CFLAGS = -Wall
|
||||
|
||||
if ENABLE_CALLGRAPH_COND
|
||||
AM_CFLAGS += -fdump-rtl-expand
|
||||
diff -urN a/src/usb/Makefile.am b/src/usb/Makefile.am
|
||||
--- a/src/usb/Makefile.am 2018-01-20 06:40:55.000000000 +0000
|
||||
+++ b/src/usb/Makefile.am 2018-01-28 20:18:26.146653076 +0000
|
||||
@@ -5,7 +5,7 @@
|
||||
-I$(top_srcdir)/src/public
|
||||
|
||||
AM_CFLAGS = -Wall
|
||||
-AM_CFLAGS += -Wpedantic
|
||||
+#AM_CFLAGS += -Wpedantic
|
||||
|
||||
if ENABLE_CALLGRAPH_COND
|
||||
AM_CFLAGS += -fdump-rtl-expand
|
||||
diff -urN a/src/util/Makefile.am b/src/util/Makefile.am
|
||||
--- a/src/util/Makefile.am 2018-01-20 06:40:55.000000000 +0000
|
||||
+++ b/src/util/Makefile.am 2018-01-28 20:21:07.245901502 +0000
|
||||
@@ -3,7 +3,7 @@
|
||||
$(LIBDRM_CFLAGS)
|
||||
|
||||
AM_CFLAGS = -Wall
|
||||
-AM_CFLAGS += -Werror
|
||||
+#AM_CFLAGS += -Werror
|
||||
# -pedantic issues warnings re code that doesn't conform to ISO C
|
||||
# Alas, -m modifier on sscanf is a POSIX extension, not ISO C
|
||||
# In combination with -Werror, causes device_util.c to fail compilation
|
||||
diff -urN a/src/vcp/Makefile.am b/src/vcp/Makefile.am
|
||||
--- a/src/vcp/Makefile.am 2018-01-20 06:40:55.000000000 +0000
|
||||
+++ b/src/vcp/Makefile.am 2018-01-28 20:19:28.024750741 +0000
|
||||
@@ -4,7 +4,7 @@
|
||||
-I$(top_srcdir)/src/public
|
||||
|
||||
AM_CFLAGS = -Wall
|
||||
-AM_CFLAGS += -Werror
|
||||
+#AM_CFLAGS += -Werror
|
||||
# vcp_feature_codes.c requires extensive changes if -Wpedantic
|
||||
# AM_CFLAGS += -Wpedantic
|
||||
|
@ -1,4 +1,2 @@
|
||||
DIST gramps-4.2.5.tar.gz 18694912 BLAKE2B f91bc665ab4a970e7de193ba3bea4250e99b692cb92e76fae4a37cfa2c46280e6a45ff6712c7a68213735b6e7016f2caa3180971976c92aaa7e61d73ad2e3d5a SHA512 20a8ebff7ea2e3a80248830e55d58ebe0b5a350e1ac31efb3f2b900af38c134037bae91a58fb441be54f9fac8226555a3f5771cc358d3a4a92e89af911433b9c
|
||||
DIST gramps-4.2.8.tar.gz 18704769 BLAKE2B 795febcc2c93a0c9b72aceeba1ac4c4f10953c2bf3b23dd8d38f662a231e21967e6f263e14d2344ef2f422e170617b7b80be4fafc2cb20c4a659366836b0e641 SHA512 c814914eb3a650dd5753d83e492d91d5db11b55321f63bd460e4eb8d80a36dd727a3792a203e3061dfaa89fd13549f51809bb83cc65b2a494c1fb8f42dcb4b8f
|
||||
DIST gramps-5.0.0.tar.gz 16773759 BLAKE2B 603a73b448fd41e4d491ca681c0177112541ff780566756f26a2bca7614a4699b90006d321e7925dd936a32367ccfd9b4b93d6ce70af5b750de641b17dd9c2d8 SHA512 95d775fc48a8165b14431a76cd9e60a80df5db0256c98d953fd1a270849446748d8630e0b5ff1b823345fcc7992b48a7c9d577c81a28e10ba0a6177f2501b6e3
|
||||
DIST gramps-5.0.1.tar.gz 16718439 BLAKE2B 75b4a70275f7e6e181ba948df6fe44cbb9221436c2e860db8ef83bcc02b916aa3921ae09fa8ed18876f28551ed10b5047ae1aef0967b48532b54ad97c8af6d8a SHA512 68b905a8e59eedb620329b05bdd4cca842a79f885645140d31b637fc82ec7470892ebf0fd899aeb6a1205473f79e7f13d6c5e05b36da94b9049dcbb78e07aa76
|
||||
|
@ -1,45 +0,0 @@
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
PYTHON_COMPAT=( python3_5 )
|
||||
|
||||
DISTUTILS_SINGLE_IMPL=1
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Genealogical Research and Analysis Management Programming System"
|
||||
HOMEPAGE="https://gramps-project.org/"
|
||||
SRC_URI="https://github.com/gramps-project/${PN}/archive/v${PV}.tar.gz
|
||||
-> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2+"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE="+reports exif geo spell"
|
||||
|
||||
RDEPEND="
|
||||
dev-python/bsddb3[${PYTHON_USEDEP}]
|
||||
dev-python/pycairo[${PYTHON_USEDEP}]
|
||||
>=dev-python/pygobject-3.12:3[cairo,${PYTHON_USEDEP}]
|
||||
dev-python/pyicu[${PYTHON_USEDEP}]
|
||||
gnome-base/librsvg:2
|
||||
>x11-libs/gtk+-3.14.8:3[introspection]
|
||||
x11-libs/pango[introspection]
|
||||
x11-misc/xdg-utils
|
||||
reports? ( media-gfx/graphviz )
|
||||
exif? ( >=media-libs/gexiv2-0.5[${PYTHON_USEDEP},introspection] )
|
||||
geo? ( >=sci-geosciences/osm-gps-map-1.1.0 )
|
||||
spell? ( app-text/gtkspell:3[introspection] )
|
||||
"
|
||||
|
||||
python_configure_all() {
|
||||
mydistutilsargs=( --resourcepath=/usr/share )
|
||||
}
|
||||
|
||||
python_prepare_all() {
|
||||
# Install documentation to the proper location. This can't be done
|
||||
# easily with a patch because we substitute in the $PF variable,
|
||||
# and that changes with every revision.
|
||||
sed -i "s:share/doc/gramps:share/doc/${PF}:g" setup.py || die
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
@ -1,71 +0,0 @@
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
PYTHON_COMPAT=( python3_{5,6} )
|
||||
PYTHON_REQ_USE="sqlite"
|
||||
|
||||
DISTUTILS_SINGLE_IMPL=1
|
||||
inherit distutils-r1 xdg-utils
|
||||
|
||||
DESCRIPTION="Genealogical Research and Analysis Management Programming System"
|
||||
HOMEPAGE="https://gramps-project.org/"
|
||||
SRC_URI="https://github.com/gramps-project/${PN}/archive/v${PV}.tar.gz
|
||||
-> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="+rcs +reports exif geo postscript spell"
|
||||
|
||||
RDEPEND="
|
||||
dev-python/bsddb3[${PYTHON_USEDEP}]
|
||||
dev-python/pycairo[${PYTHON_USEDEP}]
|
||||
>=dev-python/pygobject-3.12:3[cairo,${PYTHON_USEDEP}]
|
||||
dev-python/pyicu[${PYTHON_USEDEP}]
|
||||
gnome-base/librsvg:2
|
||||
>x11-libs/gtk+-3.14.8:3[introspection]
|
||||
x11-libs/pango[introspection]
|
||||
x11-misc/xdg-utils
|
||||
reports? ( media-gfx/graphviz[postscript?] )
|
||||
exif? ( >=media-libs/gexiv2-0.5[${PYTHON_USEDEP},introspection] )
|
||||
geo? ( >=sci-geosciences/osm-gps-map-1.1.0 )
|
||||
spell? ( app-text/gtkspell:3[introspection] )
|
||||
rcs? ( dev-vcs/rcs )
|
||||
"
|
||||
|
||||
python_prepare_all() {
|
||||
# Install documentation to the proper location. This can't be done
|
||||
# easily with a patch because we substitute in the $PF variable,
|
||||
# and that changes with every revision.
|
||||
sed -i "s:share/doc/gramps:share/doc/${PF}:g" setup.py || die
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_configure_all() {
|
||||
mydistutilsargs=(
|
||||
--resourcepath=/usr/share
|
||||
--no-compress-manpages
|
||||
)
|
||||
}
|
||||
|
||||
python_test_all() {
|
||||
# GRAMPS builds just fine out of tree but it confuses its test suite.
|
||||
# The following might be an ugly hack but at least it lets the tests
|
||||
# run properly until either I or upstream have come up with something
|
||||
# better.
|
||||
rm -rf "${S}/build" && ln -s "${BUILD_DIR}" "${S}"/build || \
|
||||
die "Failed to symlink build directory to source directory"
|
||||
|
||||
esetup.py test
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
xdg_desktop_database_update
|
||||
xdg_mimeinfo_database_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
xdg_desktop_database_update
|
||||
xdg_mimeinfo_database_update
|
||||
}
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue