parent
d55fa66054
commit
81e357001f
Binary file not shown.
Binary file not shown.
@ -0,0 +1,12 @@
|
||||
# Copyright 2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit acct-user
|
||||
|
||||
DESCRIPTION="user for gpsd"
|
||||
ACCT_USER_ID=299
|
||||
ACCT_USER_GROUPS=( dialout )
|
||||
|
||||
acct-user_add_deps
|
Binary file not shown.
@ -1 +0,0 @@
|
||||
DIST holland-1.0.10.tar.gz 449334 BLAKE2B 0b0290b916448be1865ff2b5c2f0e78de9c4640418fc049b999f5dd171d8fa54c63411b5b8972c843d98f77e6b9726dbc849cb73d3771244e871bb9fea67652a SHA512 5183ec73012edcaba50ef5cc9b892480d5f60301d01d17bd96c5490bd8e6ae42bd21abb6084e6665317b8025489981a02293cd583964f01e86459609b93e918f
|
@ -1,39 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Holland Example Plugin"
|
||||
HOMEPAGE="http://www.hollandbackup.org/"
|
||||
|
||||
MY_P="${P%%-*}-${P##*-}"
|
||||
|
||||
SRC_URI="http://hollandbackup.org/releases/stable/${PV%.*}/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
|
||||
RDEPEND=""
|
||||
PDEPEND="~app-backup/holland-${PV}[${PYTHON_USEDEP}]"
|
||||
|
||||
S="${WORKDIR}/${MY_P}/plugins/${PN//-/.}"
|
||||
|
||||
python_install_all() {
|
||||
distutils-r1_python_install_all
|
||||
|
||||
keepdir /etc/holland
|
||||
keepdir /etc/holland/backupsets
|
||||
keepdir /etc/holland/providers
|
||||
|
||||
insinto /etc/holland/backupsets
|
||||
doins "${S}"/../../config/backupsets/examples/${PN##*-}.conf
|
||||
|
||||
insinto /etc/holland/providers
|
||||
doins "${S}"/../../config/providers/${PN##*-}.conf
|
||||
}
|
@ -1,5 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<!-- maintainer-needed -->
|
||||
</pkgmetadata>
|
@ -1 +0,0 @@
|
||||
DIST holland-1.0.10.tar.gz 449334 BLAKE2B 0b0290b916448be1865ff2b5c2f0e78de9c4640418fc049b999f5dd171d8fa54c63411b5b8972c843d98f77e6b9726dbc849cb73d3771244e871bb9fea67652a SHA512 5183ec73012edcaba50ef5cc9b892480d5f60301d01d17bd96c5490bd8e6ae42bd21abb6084e6665317b8025489981a02293cd583964f01e86459609b93e918f
|
@ -1,38 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Holland pgdump Plugin"
|
||||
HOMEPAGE="http://www.hollandbackup.org/"
|
||||
|
||||
MY_P="${P%%-*}-${P##*-}"
|
||||
|
||||
SRC_URI="http://hollandbackup.org/releases/stable/${PV%.*}/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
|
||||
RDEPEND="
|
||||
~app-backup/holland-lib-common-${PV}[${PYTHON_USEDEP}]
|
||||
dev-python/psycopg[${PYTHON_USEDEP}]
|
||||
"
|
||||
PDEPEND="~app-backup/holland-${PV}[${PYTHON_USEDEP}]"
|
||||
|
||||
S="${WORKDIR}/${MY_P}/plugins/${PN//-/.}"
|
||||
|
||||
python_install_all() {
|
||||
distutils-r1_python_install_all
|
||||
|
||||
keepdir /etc/holland
|
||||
keepdir /etc/holland/providers
|
||||
|
||||
insinto /etc/holland/providers
|
||||
doins "${S}"/../../config/providers/${PN##*-}.conf
|
||||
}
|
@ -1,5 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<!-- maintainer-needed -->
|
||||
</pkgmetadata>
|
@ -1 +0,0 @@
|
||||
DIST holland-1.0.10.tar.gz 449334 BLAKE2B 0b0290b916448be1865ff2b5c2f0e78de9c4640418fc049b999f5dd171d8fa54c63411b5b8972c843d98f77e6b9726dbc849cb73d3771244e871bb9fea67652a SHA512 5183ec73012edcaba50ef5cc9b892480d5f60301d01d17bd96c5490bd8e6ae42bd21abb6084e6665317b8025489981a02293cd583964f01e86459609b93e918f
|
@ -1,39 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Holland Random Plugin"
|
||||
HOMEPAGE="http://www.hollandbackup.org/"
|
||||
|
||||
MY_P="${P%%-*}-${P##*-}"
|
||||
|
||||
SRC_URI="http://hollandbackup.org/releases/stable/${PV%.*}/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
|
||||
RDEPEND=""
|
||||
PDEPEND="~app-backup/holland-${PV}[${PYTHON_USEDEP}]"
|
||||
|
||||
S="${WORKDIR}/${MY_P}/plugins/${PN//-/.}"
|
||||
|
||||
python_install_all() {
|
||||
distutils-r1_python_install_all
|
||||
|
||||
keepdir /etc/holland
|
||||
keepdir /etc/holland/backupsets
|
||||
keepdir /etc/holland/providers
|
||||
|
||||
insinto /etc/holland/backupsets
|
||||
doins "${S}"/../../config/backupsets/examples/${PN##*-}.conf
|
||||
|
||||
insinto /etc/holland/providers
|
||||
doins "${S}"/../../config/providers/${PN##*-}.conf
|
||||
}
|
@ -1,5 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<!-- maintainer-needed -->
|
||||
</pkgmetadata>
|
@ -1 +0,0 @@
|
||||
DIST holland-1.0.10.tar.gz 449334 BLAKE2B 0b0290b916448be1865ff2b5c2f0e78de9c4640418fc049b999f5dd171d8fa54c63411b5b8972c843d98f77e6b9726dbc849cb73d3771244e871bb9fea67652a SHA512 5183ec73012edcaba50ef5cc9b892480d5f60301d01d17bd96c5490bd8e6ae42bd21abb6084e6665317b8025489981a02293cd583964f01e86459609b93e918f
|
@ -1,39 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Holland sqlite Plugin"
|
||||
HOMEPAGE="http://www.hollandbackup.org/"
|
||||
|
||||
MY_P="${P%%-*}-${P##*-}"
|
||||
|
||||
SRC_URI="http://hollandbackup.org/releases/stable/${PV%.*}/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
|
||||
RDEPEND="~app-backup/holland-lib-common-${PV}[${PYTHON_USEDEP}]"
|
||||
PDEPEND="~app-backup/holland-${PV}[${PYTHON_USEDEP}]"
|
||||
|
||||
S="${WORKDIR}/${MY_P}/plugins/${PN//-/.}"
|
||||
|
||||
python_install_all() {
|
||||
distutils-r1_python_install_all
|
||||
|
||||
keepdir /etc/holland
|
||||
keepdir /etc/holland/backupsets
|
||||
keepdir /etc/holland/providers
|
||||
|
||||
insinto /etc/holland/backupsets
|
||||
doins "${S}"/../../config/backupsets/examples/${PN##*-}.conf
|
||||
|
||||
insinto /etc/holland/providers
|
||||
doins "${S}"/../../config/providers/${PN##*-}.conf
|
||||
}
|
@ -1,5 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<!-- maintainer-needed -->
|
||||
</pkgmetadata>
|
@ -1 +0,0 @@
|
||||
DIST holland-1.0.10.tar.gz 449334 BLAKE2B 0b0290b916448be1865ff2b5c2f0e78de9c4640418fc049b999f5dd171d8fa54c63411b5b8972c843d98f77e6b9726dbc849cb73d3771244e871bb9fea67652a SHA512 5183ec73012edcaba50ef5cc9b892480d5f60301d01d17bd96c5490bd8e6ae42bd21abb6084e6665317b8025489981a02293cd583964f01e86459609b93e918f
|
@ -1,25 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Holland Core Library"
|
||||
HOMEPAGE="http://www.hollandbackup.org/"
|
||||
|
||||
MY_P="${P%%-*}-${P##*-}"
|
||||
|
||||
SRC_URI="http://hollandbackup.org/releases/stable/${PV%.*}/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
|
||||
RDEPEND=""
|
||||
PDEPEND="~app-backup/holland-${PV}[${PYTHON_USEDEP}]"
|
||||
|
||||
S="${WORKDIR}/${MY_P}/plugins/${PN//-/.}"
|
@ -1,5 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<!-- maintainer-needed -->
|
||||
</pkgmetadata>
|
@ -1 +0,0 @@
|
||||
DIST holland-1.0.10.tar.gz 449334 BLAKE2B 0b0290b916448be1865ff2b5c2f0e78de9c4640418fc049b999f5dd171d8fa54c63411b5b8972c843d98f77e6b9726dbc849cb73d3771244e871bb9fea67652a SHA512 5183ec73012edcaba50ef5cc9b892480d5f60301d01d17bd96c5490bd8e6ae42bd21abb6084e6665317b8025489981a02293cd583964f01e86459609b93e918f
|
@ -1,25 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Holland LVM Library"
|
||||
HOMEPAGE="http://www.hollandbackup.org"
|
||||
|
||||
MY_P="${P%%-*}-${P##*-}"
|
||||
|
||||
SRC_URI="http://hollandbackup.org/releases/stable/${PV%.*}/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
|
||||
RDEPEND=""
|
||||
PDEPEND="~app-backup/holland-${PV}[${PYTHON_USEDEP}]"
|
||||
|
||||
S="${WORKDIR}/${MY_P}/plugins/${PN//-/.}"
|
@ -1,5 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<!-- maintainer-needed -->
|
||||
</pkgmetadata>
|
@ -1 +0,0 @@
|
||||
DIST holland-1.0.10.tar.gz 449334 BLAKE2B 0b0290b916448be1865ff2b5c2f0e78de9c4640418fc049b999f5dd171d8fa54c63411b5b8972c843d98f77e6b9726dbc849cb73d3771244e871bb9fea67652a SHA512 5183ec73012edcaba50ef5cc9b892480d5f60301d01d17bd96c5490bd8e6ae42bd21abb6084e6665317b8025489981a02293cd583964f01e86459609b93e918f
|
@ -1,54 +0,0 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Holland Core Plugins"
|
||||
HOMEPAGE="http://www.hollandbackup.org/"
|
||||
SRC_URI="http://hollandbackup.org/releases/stable/${PV%.*}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="doc examples postgres sqlite"
|
||||
|
||||
DEPEND="
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
|
||||
"
|
||||
RDEPEND="
|
||||
postgres? ( ~app-backup/holland-backup-pgdump-${PV}[${PYTHON_USEDEP}] )
|
||||
sqlite? ( ~app-backup/holland-backup-sqlite-${PV}[${PYTHON_USEDEP}] )
|
||||
examples? (
|
||||
~app-backup/holland-backup-example-${PV}[${PYTHON_USEDEP}]
|
||||
~app-backup/holland-backup-random-${PV}[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
python_compile_all() {
|
||||
use doc && emake -C docs html
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
use doc && local DOCS=( README config/README config/providers/README docs/man/README docs/man/holland.rst )
|
||||
use doc && local HTML_DOCS=( docs/build/html/. )
|
||||
|
||||
distutils-r1_python_install_all
|
||||
|
||||
keepdir /var/log/holland
|
||||
|
||||
keepdir /etc/holland
|
||||
keepdir /etc/holland/backupsets
|
||||
keepdir /etc/holland/providers
|
||||
|
||||
insinto /etc/holland
|
||||
doins config/holland.conf
|
||||
|
||||
insinto /etc/holland/backupsets
|
||||
doins config/backupsets/default.conf
|
||||
|
||||
doman docs/man/holland.1
|
||||
}
|
@ -1,5 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<!-- maintainer-needed -->
|
||||
</pkgmetadata>
|
@ -1,2 +1 @@
|
||||
DIST luckybackup-0.4.9.tar.gz 5954338 BLAKE2B 632738f8c422ba7d56536fae866ce31d224910b41495e4df3be28a8013ba776e30b4d8e70ceb26c92d28aaf70c96402f27687c55d8f5d7aa5d405bab506a66be SHA512 86d6f1bd84f3bfd89734f0f2066cb17bbf9b4ede96167398de03a460c14d24bf4b50a91bb380655ace9a23497271e102b940ea99a7595cf17f596660dae7f7dd
|
||||
DIST luckybackup-0.5.0.tar.gz 5954426 BLAKE2B 7243db713b8e5a6f3929e6d011faff8bdef8b7580c328d336843c71e738fd92a0fd19b2bc3dd0a4695f0af6ec5b436b18833dc20c5ad3479036a1a0bca22be12 SHA512 41fe878a8008b291c2e6f5f8a77ae7dba9d2c547689e53a2dde15cbe733eefd7debf21b3570bd3414dace522ec7843f645639af2cca49b7c2f950eeac62b1f45
|
||||
|
@ -1,59 +0,0 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit qmake-utils
|
||||
|
||||
DESCRIPTION="Powerful and flexible backup (and syncing) tool, using RSync and Qt"
|
||||
HOMEPAGE="http://luckybackup.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3+"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="
|
||||
dev-qt/qtcore:5
|
||||
dev-qt/qtgui:5
|
||||
dev-qt/qtwidgets:5
|
||||
"
|
||||
RDEPEND="${DEPEND}
|
||||
net-misc/rsync"
|
||||
|
||||
DOCS=( readme/{AUTHORS,README,TODO,TRANSLATIONS,changelog} )
|
||||
|
||||
src_prepare() {
|
||||
sed -i \
|
||||
-e "s:/usr/share/doc/${PN}:/usr/share/doc/${PF}:g" \
|
||||
-e "s:/usr/share/doc/packages/${PN}:/usr/share/doc/${PF}:g" \
|
||||
luckybackup.pro src/global.cpp || die "sed failed"
|
||||
|
||||
# The su-to-root command is an ubuntu-specific script so it will
|
||||
# not work with Gentoo. No reason to have it anyway.
|
||||
sed -i -e "/^Exec/s:=.*:=/usr/bin/${PN}:" menu/${PN}-gnome-su.desktop \
|
||||
|| die "failed to remove su-to-root"
|
||||
|
||||
# causes empty directory to be installed
|
||||
sed -i -e '/^INSTALLS/s/debianmenu //' luckybackup.pro \
|
||||
|| die "sed installs failed"
|
||||
|
||||
# bogus dependency - bug #645732
|
||||
sed -i -e '/QT += network/s/^/#/' luckybackup.pro || die
|
||||
|
||||
# remove text version - cannot remote HTML version
|
||||
# as it's used within the application
|
||||
rm license/gpl.txt || die "rm failed"
|
||||
|
||||
default
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
eqmake5 ${PN}.pro
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake INSTALL_ROOT="${D}" install
|
||||
einstalldocs
|
||||
}
|
Binary file not shown.
@ -1,2 +0,0 @@
|
||||
DIST burn-cd-1.8.0.gz 14977 BLAKE2B 3cc72d908f86affd8c6fef1144ece00ea00ef4cf63858c5a3a01ff83640bd9b513feddf590c774538de6621611bfc842077ef60f28bde6db906aefd0eaa46ccb SHA512 d052d6bd909af3f3c96cee727e222e179d913aa42c2d2afe8104c57b5263b06f318d6ec870ad2862779d757c4d522b7d82892eb0725255261a28243c919b82cf
|
||||
DIST burn-cd-1.8.1.tar.gz 153586 BLAKE2B 7762bfe7bb497752c0f78ddc2dba2a00423db2e3ef3dcd02ecb36a60eb6a4ecab69d04bc85971531443b8820cb8320e22349817540d95c694b9861261e6e821f SHA512 2da40c703351e97d164eeef7c5662cad66292b71a97f47ae4ddcbcf11a09fb298c6c9e8160da53b0908434e64048c2397beaa988b1cbc1513660f73d8f2fe1fe
|
@ -1,31 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit python-single-r1
|
||||
|
||||
DESCRIPTION="Smart console frontend for virtual/cdrtools and dvd+rw-tools"
|
||||
HOMEPAGE="http://burn-cd.sourceforge.net"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${P}.gz"
|
||||
|
||||
LICENSE="LGPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="${PYTHON_DEPS}
|
||||
virtual/cdrtools
|
||||
app-cdr/dvd+rw-tools"
|
||||
DEPEND=""
|
||||
|
||||
REQUIRED_USE=${PYTHON_REQUIRED_USE}
|
||||
|
||||
S=${WORKDIR}
|
||||
|
||||
src_install() {
|
||||
python_fix_shebang ${P}
|
||||
newbin ${P} ${PN}
|
||||
}
|
@ -1,27 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
inherit python-r1
|
||||
|
||||
DESCRIPTION="Smart console frontend for the cdrkit/cdrtools & dvd+rw-tools"
|
||||
HOMEPAGE="https://github.com/aglyzov/burn-cd/"
|
||||
SRC_URI="https://github.com/aglyzov/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
DEPEND="${PYTHON_DEPS}"
|
||||
RDEPEND="${DEPEND}
|
||||
virtual/cdrtools
|
||||
app-cdr/dvd+rw-tools"
|
||||
|
||||
src_install() {
|
||||
newbin ${P} ${PN}
|
||||
insinto /etc
|
||||
newins dotburn-cd.conf burn-cd.conf
|
||||
}
|
@ -1,16 +0,0 @@
|
||||
<?xml version='1.0' encoding='UTF-8'?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>canutethegreat@gmail.com</email>
|
||||
<name>Ronald Farrer</name>
|
||||
</maintainer>
|
||||
<maintainer type="project">
|
||||
<email>proxy-maint@gentoo.org</email>
|
||||
<name>Proxy Maintainers</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">aglyzov/burn-cd</remote-id>
|
||||
<remote-id type="sourceforge">burn-cd</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
Binary file not shown.
@ -1 +0,0 @@
|
||||
DIST opendict-0.6.7.tar.gz 169580 BLAKE2B 665fe181bf16d8e923470568b6685149075b6c5a9afe2deffe6ee4ff792b4e6a2c166f3ce4297f59fc57cd11efe299a93518c4fb5e929b13270d04f172a62146 SHA512 ef97ec84591bda4d8d4746fa4532de109cf03d89dfd5aa20e1775224c687b503759c020b2286e5cedd395ebce5db3b2a10495adc31fcc31dbd4fddfca6fee1f8
|
@ -1,11 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>wxwidgets@gentoo.org</email>
|
||||
<name>Gentoo wxWidgets Project</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="sourceforge">opendict</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
@ -1,91 +0,0 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit gnome2 python-single-r1 readme.gentoo-r1
|
||||
|
||||
DESCRIPTION="OpenDict is a free cross-platform dictionary program"
|
||||
HOMEPAGE="http://opendict.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/opendict/files/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ppc x86"
|
||||
|
||||
IUSE=""
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
RDEPEND="${PYTHON_DEPS}
|
||||
$(python_gen_cond_dep '
|
||||
dev-python/wxpython:3.0[${PYTHON_MULTI_USEDEP}]
|
||||
')
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
DISABLE_AUTOFORMATTING="yes"
|
||||
DOC_CONTENTS="If you want system-wide plugins, unzip them into
|
||||
${ROOT}usr/share/${PN}/dictionaries/plugins
|
||||
|
||||
Some are available from http://opendict.sourceforge.net/?cid=3"
|
||||
|
||||
src_prepare() {
|
||||
sed -e "s:), '..')):), '../../../../..', 'share', 'opendict')):g" \
|
||||
-i "${S}/lib/info.py"
|
||||
|
||||
gnome2_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# override gnome2_src_configure
|
||||
default
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# evil makefile
|
||||
:
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# makefile is broken, do it manually
|
||||
|
||||
dodir /usr/share/${PN}/dictionaries/plugins # global dictionary plugins folder
|
||||
|
||||
# Needed by GUI
|
||||
insinto /usr/share/${PN}
|
||||
doins "${S}"/copying.html
|
||||
|
||||
insinto /usr/share/${PN}/pixmaps
|
||||
doins "${S}"/pixmaps/*
|
||||
|
||||
DHOME="$(python_get_sitedir)/opendict"
|
||||
insinto "${DHOME}/lib"
|
||||
doins -r "${S}"/lib/*
|
||||
exeinto "${DHOME}"
|
||||
python_fix_shebang opendict.py
|
||||
doexe opendict.py
|
||||
|
||||
dosym "${DHOME}/opendict.py" /usr/bin/opendict
|
||||
|
||||
domenu misc/${PN}.desktop
|
||||
|
||||
insinto /usr/share/icons/hicolor/24x24/apps/
|
||||
newins "${S}/pixmaps/icon-24x24.png" opendict.png
|
||||
insinto /usr/share/icons/hicolor/32x32/apps/
|
||||
newins "${S}/pixmaps/icon-32x32.png" opendict.png
|
||||
insinto /usr/share/icons/hicolor/48x48/apps/
|
||||
newins "${S}/pixmaps/icon-48x48.png" opendict.png
|
||||
insinto /usr/share/icons/hicolor/scalable/apps/
|
||||
newins "${S}/pixmaps/SVG/icon-rune.svg" opendict.svg
|
||||
|
||||
doman opendict.1
|
||||
dodoc README.txt TODO.txt doc/Plugin-HOWTO.html
|
||||
|
||||
readme.gentoo_create_doc
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
gnome2_pkg_postinst
|
||||
readme.gentoo_print_elog
|
||||
}
|
Binary file not shown.
@ -1 +0,0 @@
|
||||
DIST Editra-0.7.20.tar.gz 4072243 BLAKE2B 3a2d38888ea9d7a12a77d4adb57b7e5c926757791e8b48eedd8413b6712cbfb2c616c3cf26f3f49c3a7ac5acf37d373cff8d37c63e255a1d0a9ec1add3dcbbe6 SHA512 e568ce2a5f04300c33223bf7a0e6fbc52d0a51c3472afb9b613fe21cfbeba0b9b453d87837e52c7c48050fc266ff5ff194a42f797053f21f0a25cd5c4579febe
|
@ -1,54 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit eutils distutils-r1 fdo-mime
|
||||
|
||||
MY_PN=${PN/e/E}
|
||||
|
||||
DESCRIPTION="Multi-platform text editor supporting over 50 programming languages"
|
||||
HOMEPAGE="http://editra.org https://pypi.org/project/Editra/"
|
||||
SRC_URI="http://editra.org/uploads/src/${MY_PN}-${PV}.tar.gz"
|
||||
|
||||
LICENSE="wxWinLL-3.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE="spell"
|
||||
|
||||
DEPEND="
|
||||
dev-python/wxpython:3.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/setuptools-0.6[${PYTHON_USEDEP}]"
|
||||
# setuptools is RDEPEND because it's used by the runtime for installing plugins
|
||||
RDEPEND="${DEPEND}
|
||||
spell? ( dev-python/pyenchant[${PYTHON_USEDEP}] )"
|
||||
|
||||
PATCHES=( "${FILESDIR}/${P}-wx30.patch" )
|
||||
|
||||
S="${WORKDIR}"/${MY_PN}-${PV}
|
||||
|
||||
python_compile() {
|
||||
# https://code.google.com/p/editra/issues/detail?id=481
|
||||
distutils-r1_python_compile --no-clean
|
||||
}
|
||||
|
||||
python_install() {
|
||||
distutils-r1_python_install --no-clean
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
distutils-r1_python_install_all
|
||||
|
||||
doicon "${S}"/pixmaps/editra.png
|
||||
make_desktop_entry editra Editra editra "Utility;TextEditor"
|
||||
dodoc FAQ THANKS
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
fdo-mime_desktop_database_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
fdo-mime_desktop_database_update
|
||||
}
|
@ -1,44 +0,0 @@
|
||||
Description: Updates for better wxPython 3.0 compatibility
|
||||
Author: Olly Betts <olly@survex.com>
|
||||
Bug-Debian: https://bugs.debian.org/758947
|
||||
Forwarded: no
|
||||
Last-Update: 2014-08-30
|
||||
|
||||
--- editra-0.7.20+dfsg.1.orig/src/ed_main.py
|
||||
+++ editra-0.7.20+dfsg.1/src/ed_main.py
|
||||
@@ -432,7 +432,7 @@ class MainWindow(wx.Frame, viewmgr.Persp
|
||||
|
||||
dlg = wx.FileDialog(self, _("Editra: Open"), fdir, "",
|
||||
''.join(syntax.GenFileFilters()),
|
||||
- wx.OPEN | wx.MULTIPLE | wx.CHANGE_DIR)
|
||||
+ wx.FD_OPEN | wx.FD_MULTIPLE | wx.FD_CHANGE_DIR)
|
||||
dlg.SetFilterIndex(_PGET('FFILTER', 'int', 0))
|
||||
|
||||
if ebmlib.LockCall(self._mlock, dlg.ShowModal) == wx.ID_OK:
|
||||
@@ -680,7 +680,7 @@ class MainWindow(wx.Frame, viewmgr.Persp
|
||||
os.path.dirname(sdir),
|
||||
title.lstrip(u"*"),
|
||||
u''.join(syntax.GenFileFilters()),
|
||||
- wx.SAVE | wx.OVERWRITE_PROMPT)
|
||||
+ wx.FD_SAVE | wx.FD_OVERWRITE_PROMPT)
|
||||
|
||||
if ebmlib.LockCall(self._mlock, dlg.ShowModal) == wx.ID_OK:
|
||||
path = dlg.GetPath()
|
||||
@@ -713,7 +713,7 @@ class MainWindow(wx.Frame, viewmgr.Persp
|
||||
dlg = wx.FileDialog(self, _("Where to Save Profile?"), \
|
||||
CONFIG['PROFILE_DIR'], "default.ppb", \
|
||||
_("Profile") + " (*.ppb)|*.ppb",
|
||||
- wx.SAVE | wx.OVERWRITE_PROMPT)
|
||||
+ wx.FD_SAVE | wx.FD_OVERWRITE_PROMPT)
|
||||
|
||||
if ebmlib.LockCall(self._mlock, dlg.ShowModal) == wx.ID_OK:
|
||||
profiler.TheProfile.Write(dlg.GetPath())
|
||||
@@ -732,7 +732,7 @@ class MainWindow(wx.Frame, viewmgr.Persp
|
||||
if evt.Id == ID_LOAD_PROFILE:
|
||||
dlg = wx.FileDialog(self, _("Load a Custom Profile"),
|
||||
CONFIG['PROFILE_DIR'], "default.ppb",
|
||||
- _("Profile") + " (*.ppb)|*.ppb", wx.OPEN)
|
||||
+ _("Profile") + " (*.ppb)|*.ppb", wx.FD_OPEN)
|
||||
|
||||
if ebmlib.LockCall(self._mlock, dlg.ShowModal) == wx.ID_OK:
|
||||
profiler.TheProfile.Load(dlg.GetPath())
|
@ -1,8 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>wxwidgets@gentoo.org</email>
|
||||
<name>Gentoo wxWidgets Project</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
@ -1 +0,0 @@
|
||||
DIST leo-5.6.tar.gz 9255687 BLAKE2B 46a9aa1d90a1663ece57731b3685def3bf050f2c398310aca9d24c07256d23e40a94e505c43bd90c6c5a58fda2021409d3e6510eddd5a1bc0533273c45495475 SHA512 c9f6583be4f6a76d781adccc4076782c6f136b1057796228a398cd31c92d61e1b7a86d151f36352c6b1f677bb3d298b6f347c9874e3782c645fdb6ee38747955
|
@ -1,36 +0,0 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
MY_P="${PN}-editor-${PV}"
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
PYTHON_REQUIRED_USE="tk"
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Leo: Literate Editor with Outlines"
|
||||
HOMEPAGE="https://github.com/leo-editor/leo-editor/"
|
||||
SRC_URI="https://github.com/leo-editor/leo-editor/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE="doc"
|
||||
|
||||
RDEPEND="
|
||||
app-text/silvercity[${PYTHON_USEDEP}]
|
||||
dev-python/PyQt5[${PYTHON_USEDEP}]
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
python_prepare_all() {
|
||||
distutils-r1_python_prepare_all
|
||||
cp leo/dist/setup.py leo/dist/leo-install.py . || die
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
use doc && local HTML_DOCS=( leo/doc/html/. )
|
||||
distutils-r1_python_install_all
|
||||
}
|
@ -1,9 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<!-- maintainer-needed -->
|
||||
<upstream>
|
||||
<remote-id type="github">leo-editor/leo-editor</remote-id>
|
||||
<remote-id type="sourceforge">leo</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
Binary file not shown.
@ -1,2 +0,0 @@
|
||||
DIST PlayOnLinux_4.2.12.tar.gz 3204230 BLAKE2B 80ef0e5763448da4a37263c64d408e8263771694666a7c704b5900dfe0e52cc18405c34d609d8c49a0d05a383fca2d035e956e3bbe9a9a0c92a4e43b319ed7ba SHA512 f4ededc8fe0117c66fd5672e136e19b9b48a41acdd3e1b1b3dd7fae2c354e77795f0a4f8286b09b7d1813363aee50fa0811c04c3194aaf745963a2e6115b3909
|
||||
DIST PlayOnLinux_4.3.4.tar.gz 3101890 BLAKE2B d724cbd90a0f1bbc94c6365fcf6511d39ea0e8e9de32f42716111324f69091874ab19d3fa88a6bd9f77ed6308bc03ca708406fdc24faa60bf662e6a4f5d15d86 SHA512 7f2089d37379adee01424777e9c3b7ec16dd56ba2f4b834b4f0447832c050b2df3218a7361e8e735d5cc359aec6a000fea88e11632c9434232e4f749bb21c173
|
@ -1,17 +0,0 @@
|
||||
Description: Remove binary code from the package
|
||||
Upstream ships a binary plugin in the archive. This plugin is not necessary to
|
||||
get PlayOnLinux working and it still can be downloaded from upstream.
|
||||
Forwarded: not-needed
|
||||
Author: Bertrand Marc <beberking@gmail.com>
|
||||
--- a/plugins/plugins.lst
|
||||
+++ b/plugins/plugins.lst
|
||||
@@ -21,9 +21,6 @@
|
||||
|
||||
## in fact empty line is also ignored because it's more easy to read =)
|
||||
|
||||
-##Capture
|
||||
-capture;Capture_2.4.3.pol;Capture;enable;2.4.3;11;1;0
|
||||
-
|
||||
##Screencap
|
||||
screencap;ScreenCap_0.0.4.pol;ScreenCap;enable;0.0.4;1;1;1
|
||||
|
@ -1,35 +0,0 @@
|
||||
diff --git a/etc/pol_bash b/etc/pol_bash
|
||||
index 7911f05..bd891e4 100644
|
||||
--- a/etc/pol_bash
|
||||
+++ b/etc/pol_bash
|
||||
@@ -29,7 +29,15 @@ export HISTCONTROL=ignoreboth
|
||||
shopt -s checkwinsize
|
||||
|
||||
# make less more friendly for non-text input files, see lesspipe(1)
|
||||
-[ -x /usr/bin/lesspipe ] && eval "$(lesspipe)"
|
||||
+less_pipe_cmd=$(lesspipe 2> /dev/null)
|
||||
+if [ "$less_pipe_cmd" == export* ]; then
|
||||
+ eval "$(lesspipe)"
|
||||
+else
|
||||
+ if [ -x /usr/bin/lesspipe ]; then
|
||||
+ export LESSOPEN='| lesspipe %s'
|
||||
+ fi
|
||||
+fi
|
||||
+unset less_pipe_cmd
|
||||
|
||||
# set variable identifying the chroot you work in (used in the prompt below)
|
||||
if [ -z "$debian_chroot" ] && [ -r /etc/debian_chroot ]; then
|
||||
@@ -73,7 +81,9 @@ fi
|
||||
# enable programmable completion features (you don't need to enable
|
||||
# this, if it's already enabled in /etc/bash.bashrc and /etc/profile
|
||||
# sources /etc/bash.bashrc).
|
||||
-if [ -f /etc/bash_completion ]; then
|
||||
- . /etc/bash_completion
|
||||
-fi
|
||||
-
|
||||
+for bashcomp in /etc/{bash_completion,profile.d/bash-completion.sh}; do
|
||||
+ if [ -r "$bashcomp" ]; then
|
||||
+ . "$bashcomp"
|
||||
+ fi
|
||||
+done
|
||||
+unset bashcomp
|
@ -1,17 +0,0 @@
|
||||
# This patch enables the $DEBIAN_PACKAGE variable for playonlinux.
|
||||
# The changes are described in the source comments below.
|
||||
# The flag is unfortnuately named debian, however the
|
||||
# benefits apply to any package management system.
|
||||
# Patch written by Adam Mills <adam@armills.info>
|
||||
|
||||
--- a/python/lib/Variables.py 2013-08-10 22:19:46.053365072 -0400
|
||||
+++ b/python/lib/Variables-patched.py 2013-08-10 22:17:58.275881842 -0400
|
||||
@@ -26,7 +26,7 @@
|
||||
# Debian packagers should switch this to TRUE
|
||||
# It will disable update alerts, bug reports, statistics
|
||||
# It will set the good locale directory, and it will use the good msttcorefonts
|
||||
-os.environ["DEBIAN_PACKAGE"] = "FALSE"
|
||||
+os.environ["DEBIAN_PACKAGE"] = "TRUE"
|
||||
|
||||
# Variables PlayOnMac
|
||||
if (os.environ["POL_OS"] == "Mac"):
|
@ -1,33 +0,0 @@
|
||||
.TH PLAYONLINUX-PKG 1 "February 6, 2009"
|
||||
|
||||
.SH NAME
|
||||
playonlinux-pkg \- tool to manage playonlinux packages
|
||||
|
||||
.SH SYNOPSIS
|
||||
.B playonlinux-pkg
|
||||
.RI [ options ]
|
||||
.RI [ package ]
|
||||
|
||||
.SH DESCRIPTION
|
||||
.B playonlinux-pkg
|
||||
is a tool to install or manage the playonlinux packages
|
||||
|
||||
.SH OPTIONS
|
||||
.TP
|
||||
.I "-b, --browse"
|
||||
Choose a file.
|
||||
.TP
|
||||
.I "-e, --extract"
|
||||
Extract the package.
|
||||
.TP
|
||||
.I "-i, --install"
|
||||
Install the package.
|
||||
.TP
|
||||
.I "-h, --help"
|
||||
Show usage.
|
||||
|
||||
.SH AUTHOR
|
||||
playonlinux was written by Quentin Pâris <qparis@playonlinux.com>.
|
||||
.PP
|
||||
This manual page was written by Bertrand Marc <beberking@gmail.com>,
|
||||
for the Debian project (but may be used by others).
|
@ -1,33 +0,0 @@
|
||||
.TH PLAYONLINUX 1 "February 6, 2009"
|
||||
|
||||
.SH NAME
|
||||
PlayOnLinux \- front-end for Wine
|
||||
|
||||
.SH SYNOPSIS
|
||||
.B playonlinux
|
||||
.RI [ options ]
|
||||
|
||||
.SH DESCRIPTION
|
||||
.B PlayOnLinux
|
||||
is a front-end for Wine. It allows you to easily install and use numerous games and software designed to run with Microsoft®'s Windows®.
|
||||
.br
|
||||
Few games are compatible with GNU/Linux at the moment and it certainly is a factor preventing the migration to this system.
|
||||
.P
|
||||
.B PlayOnLinux
|
||||
performs installations in
|
||||
.I ~/.PlayOnLinux
|
||||
and uses separate Wine prefixes to avoid conflicts between applications.
|
||||
|
||||
.SH OPTIONS
|
||||
.TP
|
||||
.I --version
|
||||
Show version number and exit.
|
||||
.TP
|
||||
.I "--run <prog>"
|
||||
Run directly the specified program.
|
||||
|
||||
.SH AUTHOR
|
||||
playonlinux was written by Quentin Pâris <qparis@playonlinux.com>.
|
||||
.PP
|
||||
This manual page was written by Bertrand Marc <beberking@gmail.com>,
|
||||
for the Debian project (but may be used by others).
|
@ -1,15 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>NP-Hardass@gentoo.org</email>
|
||||
<name>NP-Hardass</name>
|
||||
</maintainer>
|
||||
<maintainer type="project">
|
||||
<email>wine@gentoo.org</email>
|
||||
<name>Wine</name>
|
||||
</maintainer>
|
||||
<use>
|
||||
<flag name="winbind">Enables support for the winbind auth daemon</flag>
|
||||
</use>
|
||||
</pkgmetadata>
|
@ -1,118 +0,0 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="6"
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit eutils gnome2-utils python-single-r1
|
||||
|
||||
MY_PN="PlayOnLinux"
|
||||
|
||||
DESCRIPTION="Set of scripts to easily install and use Windows games and software"
|
||||
HOMEPAGE="https://playonlinux.com/"
|
||||
SRC_URI="http://www.playonlinux.com/script_files/${MY_PN}/${PV}/${MY_PN}_${PV}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="winbind"
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="${PYTHON_DEPS}
|
||||
app-arch/cabextract
|
||||
app-arch/p7zip
|
||||
app-arch/unzip
|
||||
app-crypt/gnupg
|
||||
virtual/wine
|
||||
$(python_gen_cond_dep '
|
||||
dev-python/wxpython:3.0[${PYTHON_MULTI_USEDEP}]
|
||||
')
|
||||
net-misc/wget
|
||||
x11-apps/mesa-progs
|
||||
x11-terms/xterm
|
||||
media-gfx/icoutils
|
||||
net-analyzer/netcat
|
||||
virtual/imagemagick-tools
|
||||
winbind? ( net-fs/samba[winbind] )
|
||||
"
|
||||
|
||||
S="${WORKDIR}/${PN}"
|
||||
|
||||
# TODO:
|
||||
# Having a real install script
|
||||
# It will let using LANGUAGES easily
|
||||
# How to deal with Microsoft Fonts installation asked every time ?
|
||||
# How to deal with wine version installed ? (have a better mgmt of system one)
|
||||
# Look at debian pkg: https://packages.debian.org/sid/playonlinux
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-4.2.4-pol-bash.patch"
|
||||
"${FILESDIR}/${PN}-4.2.4-binary-plugin.patch"
|
||||
"${FILESDIR}/${PN}-4.2.6-stop-update-warning.patch"
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
python_fix_shebang .
|
||||
|
||||
# remove playonmac
|
||||
rm etc/{playonmac.icns,terminal.applescript} || die
|
||||
|
||||
# remove desktop integration
|
||||
rm etc/{PlayOnLinux.desktop,PlayOnLinux.directory,playonlinux-Programs.menu} || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# all things without exec permissions
|
||||
insinto "/usr/share/${PN}"
|
||||
doins -r resources lang lib etc plugins
|
||||
|
||||
# bash/ install
|
||||
exeinto "/usr/share/${PN}/bash"
|
||||
find "${S}/bash" -type f -exec doexe '{}' +
|
||||
exeinto "/usr/share/${PN}/bash/expert"
|
||||
find "${S}/bash/expert" -type f -exec doexe '{}' +
|
||||
|
||||
# python/ install
|
||||
python_moduleinto "/usr/share/${PN}"
|
||||
python_domodule python
|
||||
|
||||
# main executable files
|
||||
exeinto "/usr/share/${PN}"
|
||||
doexe ${PN}{,-pkg,-bash,-shell,-url_handler}
|
||||
|
||||
# icons
|
||||
doicon -s 128 etc/${PN}.png
|
||||
for size in 16 22 32; do
|
||||
newicon -s $size etc/${PN}$size.png ${PN}.png
|
||||
done
|
||||
|
||||
doman "${FILESDIR}"/playonlinux{,-pkg}.1
|
||||
dodoc CHANGELOG.md
|
||||
|
||||
make_wrapper ${PN} "./${PN}" "/usr/share/${PN}"
|
||||
make_wrapper ${PN}-pkg "./${PN}-pkg" "/usr/share/${PN}"
|
||||
make_desktop_entry ${PN} ${MY_PN} ${PN} Game
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
gnome2_icon_savelist
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
gnome2_icon_cache_update
|
||||
}
|
||||
|
||||
pkg_prerm() {
|
||||
if [[ -z ${REPLACING_VERSIONS} ]]; then
|
||||
elog "Installed software and games with playonlinux have not been removed."
|
||||
elog "To remove them, you can re-install playonlinux and remove them using it,"
|
||||
elog "or do it manually by removing .PlayOnLinux/ in your home directory."
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
gnome2_icon_cache_update
|
||||
}
|
@ -1,108 +0,0 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit desktop eutils python-single-r1 xdg
|
||||
|
||||
MY_PN="PlayOnLinux"
|
||||
|
||||
DESCRIPTION="Set of scripts to easily install and use Windows games and software"
|
||||
HOMEPAGE="https://playonlinux.com/"
|
||||
SRC_URI="https://www.playonlinux.com/script_files/${MY_PN}/${PV}/${MY_PN}_${PV}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="winbind"
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="${PYTHON_DEPS}
|
||||
app-arch/cabextract
|
||||
app-arch/p7zip
|
||||
app-arch/unzip
|
||||
app-crypt/gnupg
|
||||
app-misc/jq
|
||||
$(python_gen_cond_dep '
|
||||
dev-python/wxpython:3.0[${PYTHON_MULTI_USEDEP}]
|
||||
')
|
||||
media-gfx/icoutils
|
||||
|| ( net-analyzer/netcat net-analyzer/openbsd-netcat )
|
||||
net-misc/wget
|
||||
virtual/imagemagick-tools
|
||||
virtual/wine
|
||||
winbind? ( net-fs/samba[winbind] )
|
||||
x11-apps/mesa-progs
|
||||
x11-terms/xterm
|
||||
"
|
||||
|
||||
S="${WORKDIR}/${PN}"
|
||||
|
||||
# TODO:
|
||||
# Having a real install script
|
||||
# It will let using LANGUAGES easily
|
||||
# How to deal with Microsoft Fonts installation asked every time ?
|
||||
# How to deal with wine version installed ? (have a better mgmt of system one)
|
||||
# Look at debian pkg: https://packages.debian.org/sid/playonlinux
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-4.2.4-pol-bash.patch"
|
||||
"${FILESDIR}/${PN}-4.2.4-binary-plugin.patch"
|
||||
"${FILESDIR}/${PN}-4.2.6-stop-update-warning.patch"
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
python_fix_shebang .
|
||||
|
||||
# remove playonmac
|
||||
rm etc/{playonmac.icns,terminal.applescript} || die
|
||||
|
||||
# remove desktop integration
|
||||
rm etc/{PlayOnLinux.desktop,PlayOnLinux.directory,playonlinux-Programs.menu} || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# all things without exec permissions
|
||||
insinto "/usr/share/${PN}"
|
||||
doins -r resources lang lib etc plugins
|
||||
|
||||
# bash/ install
|
||||
exeinto "/usr/share/${PN}/bash"
|
||||
find "${S}/bash" -type f -exec doexe '{}' +
|
||||
exeinto "/usr/share/${PN}/bash/expert"
|
||||
find "${S}/bash/expert" -type f -exec doexe '{}' +
|
||||
|
||||
# python/ install
|
||||
python_moduleinto "/usr/share/${PN}"
|
||||
python_domodule python
|
||||
|
||||
# main executable files
|
||||
exeinto "/usr/share/${PN}"
|
||||
doexe ${PN}{,-pkg,-bash,-shell,-url_handler}
|
||||
|
||||
# icons
|
||||
doicon -s 128 etc/${PN}.png
|
||||
for size in 16 22 32; do
|
||||
newicon -s $size etc/${PN}$size.png ${PN}.png
|
||||
done
|
||||
|
||||
doman "${FILESDIR}"/playonlinux{,-pkg}.1
|
||||
dodoc CHANGELOG.md
|
||||
|
||||
make_wrapper ${PN} "./${PN}" "/usr/share/${PN}"
|
||||
make_wrapper ${PN}-pkg "./${PN}-pkg" "/usr/share/${PN}"
|
||||
make_desktop_entry ${PN} ${MY_PN} ${PN} Game
|
||||
}
|
||||
|
||||
pkg_prerm() {
|
||||
if [[ -z ${REPLACING_VERSIONS} ]]; then
|
||||
elog "Installed software and games with playonlinux have not been removed."
|
||||
elog "To remove them, you can re-install playonlinux and remove them using it,"
|
||||
elog "or do it manually by removing .PlayOnLinux/ in your home directory."
|
||||
fi
|
||||
}
|
Binary file not shown.
@ -0,0 +1,106 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
inherit desktop flag-o-matic multilib toolchain-funcs xdg
|
||||
|
||||
DESCRIPTION="A file manager that implements the popular two-pane design"
|
||||
HOMEPAGE="https://github.com/tom2tom/emelfm2"
|
||||
SRC_URI="http://emelfm2.net/rel/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-3 LGPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86"
|
||||
IUSE="acl ansi gimp +gtk3 kernel_linux nls policykit spell udisks"
|
||||
|
||||
EMELFM2_LINGUAS=( de fr ja pl ru zh_CN )
|
||||
COMMON_DEPEND="
|
||||
>=dev-libs/glib-2.26:2
|
||||
!gtk3? ( >=x11-libs/gtk+-2.12:2 )
|
||||
acl? ( sys-apps/acl )
|
||||
gimp? ( media-gfx/gimp )
|
||||
gtk3? ( x11-libs/gtk+:3 )
|
||||
policykit? ( sys-auth/polkit )
|
||||
spell? ( >=app-text/gtkspell-2.0.14:2 )
|
||||
"
|
||||
RDEPEND="
|
||||
${COMMON_DEPEND}
|
||||
udisks? ( sys-fs/udisks:2 )
|
||||
"
|
||||
DEPEND="
|
||||
${COMMON_DEPEND}
|
||||
virtual/pkgconfig
|
||||
nls? ( sys-devel/gettext )
|
||||
"
|
||||
REQUIRED_USE="
|
||||
spell? ( !gtk3 )
|
||||
"
|
||||
RESTRICT="test"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
sed -i \
|
||||
-e 's:@$(BIN_MSGFMT):$(BIN_MSGFMT):g' \
|
||||
-e 's:@$(CC):$(CC):g' \
|
||||
-e 's:dbus-glib-1::' \
|
||||
Makefile || die
|
||||
|
||||
local lingua
|
||||
for lingua in ${EMELFM2_LINGUAS[@]}; do
|
||||
has ${lingua} ${LINGUAS-${lingua}} || mv po/${lingua}.po{,.unwanted}
|
||||
done
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
append-cflags -fcommon
|
||||
|
||||
myemelconf=(
|
||||
$(usex acl WITH_ACL=1 WITH_ACL=0)
|
||||
$(usex ansi WITH_OUTPUTSTYLES=1 WITH_OUTPUTSTYLES=0)
|
||||
$(usex gimp WITH_THUMBS=1 WITH_THUMBS=0)
|
||||
$(usex gtk3 'GTK3=1 GTK2=0' 'GTK3=0 GTK2=1')
|
||||
$(usex kernel_linux WITH_KERNELFAM=1 WITH_KERNELFAM=0)
|
||||
$(usex nls I18N=1 I18N=0)
|
||||
$(usex policykit WITH_POLKIT=1 WITH_POLKIT=0)
|
||||
$(usex spell EDITOR_SPELLCHECK=1 EDITOR_SPELLCHECK=0)
|
||||
$(usex udisks WITH_UDISKS=1 WITH_UDISKS=0)
|
||||
DOC_DIR="${EROOT}/usr/share/doc/${PF}"
|
||||
DOCS_VERSION=1
|
||||
STRIP=0
|
||||
WITH_TRANSPARENCY=1
|
||||
)
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
tc-export CC
|
||||
|
||||
emake \
|
||||
${myemelconf[@]} \
|
||||
LIB_DIR="/usr/$(get_libdir)" \
|
||||
PREFIX="/usr"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
mkdir -p "${ED}/${DOC_DIR}" || die
|
||||
|
||||
emake \
|
||||
${myemelconf[@]} \
|
||||
LIB_DIR="${D}/usr/$(get_libdir)" \
|
||||
PREFIX="${D}/usr" \
|
||||
XDG_DESKTOP_DIR="${D}/usr/share/applications" \
|
||||
DOC_DIR="${D}/usr/share/doc/${PF}" \
|
||||
install $(usex nls install_i18n '')
|
||||
|
||||
newicon icons/${PN}_48.png ${PN}.png
|
||||
|
||||
rm "${ED}"/usr/share/doc/${PF}/LGPL || die
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
xdg_desktop_database_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
xdg_desktop_database_update
|
||||
}
|
Binary file not shown.
@ -1 +0,0 @@
|
||||
DIST TaskCoach-1.4.6.tar.gz 2927090 BLAKE2B 24f7b2f293d34d8ef0084c7065fdf5de6b01f437c971ad0d504125793ec71581ccedbd6db0701653db409ce04fb99b55f995037510daa58f10e2b15b439dc64b SHA512 f393f9e7d8422e1453a1bd711d08ba6bdcccd5634095262475538dfbd1fb7a943798b6ff197e38367cf8e6162e25fef50178458f73b76f483495d61545bec8fe
|
@ -1,25 +0,0 @@
|
||||
From 8967c58a435ad8c1db5599edd044de2902399459 Mon Sep 17 00:00:00 2001
|
||||
From: Sebastian Pipping <sebastian@pipping.org>
|
||||
Date: Fri, 24 Jun 2016 15:54:24 +0200
|
||||
Subject: [PATCH] Disable check for new version by default
|
||||
|
||||
---
|
||||
taskcoachlib/config/defaults.py | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/taskcoachlib/config/defaults.py b/taskcoachlib/config/defaults.py
|
||||
index 77a3809..5025af3 100644
|
||||
--- a/taskcoachlib/config/defaults.py
|
||||
+++ b/taskcoachlib/config/defaults.py
|
||||
@@ -538,7 +538,7 @@ defaults = {
|
||||
'pythonfrozen': '', # Idem
|
||||
'current': meta.data.version,
|
||||
'notified': meta.data.version,
|
||||
- 'notify': 'True'
|
||||
+ 'notify': 'False'
|
||||
},
|
||||
'behavior': {
|
||||
'markparentcompletedwhenallchildrencompleted': 'False',
|
||||
--
|
||||
2.9.0
|
||||
|
@ -1,21 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>bugs@chead.ca</email>
|
||||
<name>Christopher Head</name>
|
||||
</maintainer>
|
||||
<maintainer type="project">
|
||||
<email>proxy-maint@gentoo.org</email>
|
||||
<name>Proxy Maintainers</name>
|
||||
</maintainer>
|
||||
<longdescription>
|
||||
Task Coach is an open source todo manager to manage personal tasks and
|
||||
todo lists. It supports composite tasks, i.e. tasks within tasks. In
|
||||
addition, Task Coach allows you to categorize your tasks, track efforts
|
||||
against a budget per task, and much more.
|
||||
</longdescription>
|
||||
<upstream>
|
||||
<remote-id type="sourceforge">taskcoach</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
@ -1,41 +0,0 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit desktop distutils-r1
|
||||
|
||||
MY_PN="TaskCoach"
|
||||
MY_P="${MY_PN}-${PV}"
|
||||
|
||||
DESCRIPTION="Simple personal tasks and todo lists manager"
|
||||
HOMEPAGE="https://www.taskcoach.org https://pypi.org/project/TaskCoach/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz"
|
||||
LICENSE="GPL-3+"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
|
||||
# Task Coach can also optionally use igraph to draw task dependency graphs
|
||||
# since 1.4.4, but that is not packaged in Gentoo at this time.
|
||||
|
||||
DEPEND="
|
||||
dev-python/wxpython:3.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/twisted-16.0.0[${PYTHON_USEDEP}]
|
||||
"
|
||||
RDEPEND="${DEPEND}
|
||||
x11-libs/libXScrnSaver
|
||||
"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
DOCS=( CHANGES.txt README.txt )
|
||||
PATCHES=( "${FILESDIR}/${PN}-1.4.3-version-check.patch" )
|
||||
|
||||
python_install_all() {
|
||||
distutils-r1_python_install_all
|
||||
|
||||
doicon "icons.in/${PN}.png"
|
||||
make_desktop_entry ${PN}.py "Task Coach" ${PN} Office
|
||||
}
|
Binary file not shown.
@ -1,2 +0,0 @@
|
||||
DIST bibus-1.5.2-lo-4.patch.xz 13196 BLAKE2B 1dfef94699eee77537fea3d3b93aeb1613fc93b68df1deb43c4af6fae0bf5aeb2282bb823f4824272acdef53a5edcd9b30a52415e82da00952971fa65ec0d9dc SHA512 68b90574e9dd0bb3e2cc89c539ff35febdf4ac37dfb65c06709d21b62fdda0108c93f05d37ab96bf52c4f99bbe20caa361d562c297b05dc7ea37404eea659fd1
|
||||
DIST bibus_1.5.2.orig.tar.gz 5411889 BLAKE2B db95ea4b1e0ba22fd85cb36d945864741a2f40890499018698c679c9f7d4b77b2299d2aa941664b2e4011c41ea62a31463b39c392eb3678633de17482f928474 SHA512 33d091dacc707859a11010fcba57691a3e2726ae7579d601720b4398f7be29b580be978da8cd058fab491ec5b52dd3ce33c964a8d5077f8e80d8f0f387ffa2c4
|
@ -1,86 +0,0 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
PYTHON_REQ_USE="sqlite"
|
||||
|
||||
inherit python-r1 versionator xdg-utils
|
||||
|
||||
DESCRIPTION="Bibliographic and reference management software, integrates with LO and MS Word"
|
||||
HOMEPAGE="http://bibus-biblio.sourceforge.net/"
|
||||
SRC_URI="
|
||||
mirror://sourceforge/${PN}-biblio/${PN}_${PV}.orig.tar.gz
|
||||
https://dev.gentoo.org/~jlec/distfiles/${P}-lo-4.patch.xz
|
||||
"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
|
||||
IUSE="mysql"
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
# Most of this mess is designed to give the choice of sqlite or mysql
|
||||
# but prefer sqlite. We also need to default to sqlite if neither is requested.
|
||||
# Cannot depend on virtual/ooo
|
||||
# bibus fails to start with app-office/openoffice-bin (bug #288232).
|
||||
RDEPEND="
|
||||
${PYTHON_DEPS}
|
||||
app-office/libreoffice
|
||||
dev-python/wxpython:3.0[${PYTHON_USEDEP}]
|
||||
dev-db/sqliteodbc
|
||||
dev-db/unixODBC
|
||||
mysql? (
|
||||
dev-python/mysql-python[${PYTHON_USEDEP}]
|
||||
dev-db/myodbc
|
||||
)
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${P}-install.patch
|
||||
"${FILESDIR}"/${P}-bibus.cfg.patch
|
||||
"${WORKDIR}"/${P}-lo-4.patch
|
||||
"${FILESDIR}"/${P}-wx30.patch
|
||||
)
|
||||
|
||||
pkg_setup() {
|
||||
if [[ -d "/usr/$(get_libdir)/openoffice" ]] ; then
|
||||
OFFICESUITE="/usr/$(get_libdir)/openoffice"
|
||||
else
|
||||
OFFICESUITE="/usr/$(get_libdir)/libreoffice"
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() { :; }
|
||||
|
||||
src_install() {
|
||||
einfo "Installing for ${OFFICESUITE}"
|
||||
installation() {
|
||||
emake \
|
||||
DESTDIR="${D}" \
|
||||
prefix="${EPREFIX}/usr" \
|
||||
oopath="${OFFICESUITE}/program" \
|
||||
ooure="${OFFICESUITE}/ure-link/lib" \
|
||||
oobasis="${OFFICESUITE}/program" \
|
||||
sysconfdir="${EPREFIX}/etc" \
|
||||
pythondir="$(python_get_sitedir)" \
|
||||
python=${PYTHON} \
|
||||
install install-doc-en
|
||||
}
|
||||
python_foreach_impl installation
|
||||
python_foreach_impl python_optimize
|
||||
|
||||
python_foreach_impl python_newscript bibusStart.py ${PN}
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
xdg_desktop_database_update
|
||||
xdg_mimeinfo_database_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
xdg_desktop_database_update
|
||||
xdg_mimeinfo_database_update
|
||||
}
|
@ -1,31 +0,0 @@
|
||||
bibusStart.py | 8 +++++---
|
||||
1 file changed, 5 insertions(+), 3 deletions(-)
|
||||
|
||||
diff --git a/bibusStart.py b/bibusStart.py
|
||||
index edfc19f..99c5381 100644
|
||||
--- a/bibusStart.py
|
||||
+++ b/bibusStart.py
|
||||
@@ -17,12 +17,14 @@
|
||||
# along with Bibus; if not, write to the Free Software
|
||||
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
#
|
||||
-import ConfigParser,os,sys,urllib,urlparse
|
||||
+import ConfigParser,os,sys,urllib,urlparse,site
|
||||
cp=ConfigParser.ConfigParser()
|
||||
fileName = sys.argv[0]
|
||||
while os.path.islink(fileName): fileName = os.readlink(fileName)
|
||||
sourcedir = os.path.abspath( os.path.dirname(fileName) )
|
||||
-cp.read( os.path.join(sourcedir,'bibus.cfg') )
|
||||
+bibus_sitedir = os.path.join(site.getsitepackages()[0], 'bibus')
|
||||
+bibus_cfg = os.path.join(bibus_sitedir, 'bibus.cfg')
|
||||
+cp.read(bibus_cfg)
|
||||
# We read first, then if it is not null we convert to absolute path
|
||||
# otherwise, empty path will be converted to the current directory path
|
||||
python = cp.get('PATH','python')
|
||||
@@ -69,5 +71,5 @@ else:
|
||||
except KeyError:
|
||||
os.environ[LIBPATH] = oopath
|
||||
# starting Bibus
|
||||
-os.execl( python , os.path.basename(python) , QUOTE+ os.path.join(sourcedir,'bibus.py') +QUOTE )
|
||||
+os.execl( python , os.path.basename(python) , QUOTE+ os.path.join(bibus_sitedir,'bibus.py') +QUOTE )
|
||||
|
@ -1,110 +0,0 @@
|
||||
Makefile | 62 ++++++++++++++++++++++++--------------------------------------
|
||||
1 files changed, 24 insertions(+), 38 deletions(-)
|
||||
|
||||
diff --git a/Makefile b/Makefile
|
||||
index d41b12d..b07cdff 100755
|
||||
--- a/Makefile
|
||||
+++ b/Makefile
|
||||
@@ -14,62 +14,60 @@ mandir = $(prefix)/share/man
|
||||
man1dir = $(mandir)/man1
|
||||
|
||||
define install-files
|
||||
- install -d $(datadir)/bibus
|
||||
- install -m644 *.py MySQL_Bibus.ini $(datadir)/bibus/
|
||||
+ install -d $(DESTDIR)$(pythondir)/bibus
|
||||
+ install -m644 *.py MySQL_Bibus.ini $(DESTDIR)/$(pythondir)/bibus/
|
||||
#
|
||||
for dir in Export Format Import StyleEditor FirstStart bibOOo db_models Pixmaps Data LyX Utilities; do \
|
||||
- find $$dir ! -wholename '*CVS*' -a -type f -exec install -m644 '{}' -D $(datadir)/bibus/'{}' ';' ; \
|
||||
+ find $$dir ! -wholename '*CVS*' -a -type f -exec install -m644 '{}' -D $(DESTDIR)/$(pythondir)/bibus/'{}' ';' ; \
|
||||
done
|
||||
- install -m644 Setup/UnoConnectionListener.odg -D $(datadir)/bibus/Setup/UnoConnectionListener.odg
|
||||
+ install -m644 Setup/UnoConnectionListener.odg -D $(DESTDIR)/$(datadir)/bibus/Setup/UnoConnectionListener.odg
|
||||
# locale files. We look for all the directory in locale/
|
||||
for dir in $(wildcard locale/*); do \
|
||||
if [ -d $$dir ] && [ $$dir != "locale/CVS" ]; then \
|
||||
- install -m644 $$dir/LC_MESSAGES/bibus.mo -D $(datadir)/$$dir/LC_MESSAGES/bibus.mo ; \
|
||||
+ install -m644 $$dir/LC_MESSAGES/bibus.mo -D $(DESTDIR)/$(datadir)/$$dir/LC_MESSAGES/bibus.mo ; \
|
||||
fi; \
|
||||
done
|
||||
# bibus.config in /etc
|
||||
- install -m644 bibus.config -D $(sysconfdir)/bibus.config
|
||||
+ install -m644 bibus.config -D $(DESTDIR)/$(sysconfdir)/bibus.config
|
||||
# man page
|
||||
- install -m644 Setup/bibus.1 -D $(man1dir)/bibus.1
|
||||
+ install -m644 Setup/bibus.1 -D $(DESTDIR)/$(man1dir)/bibus.1
|
||||
|
||||
# freedesktop icon and shortcut
|
||||
- install -m644 Pixmaps/bibus.png -D $(datadir)/icons/hicolor/48x48/apps/bibus.png
|
||||
- install -m644 Setup/bibus.desktop -D $(datadir)/applications/bibus.desktop
|
||||
+ install -m644 Pixmaps/bibus.png -D $(DESTDIR)$(datadir)/pixmaps/bibus.png
|
||||
+ install -m644 Setup/bibus.desktop -D $(DESTDIR)/$(datadir)/applications/bibus.desktop
|
||||
# The following lines are presumably not needed since icons/desktop are in standard locations
|
||||
#echo 'Exec=$(bindir)/bibus' >> $(datadir)/applications/bibus.desktop
|
||||
#echo 'Icon=$(datadir)/icons/hicolor/48x48/apps/bibus.png' >> $(datadir)/applications/bibus.desktop
|
||||
|
||||
# bibus command
|
||||
- install -d $(bindir)
|
||||
- ln -sf $(datadir)/bibus/bibusStart.py $(bindir)/bibus
|
||||
- chmod 755 $(datadir)/bibus/bibusStart.py
|
||||
+ install -d $(DESTDIR)/$(bindir)
|
||||
+ ln -sf $(pythondir)/bibus/bibusStart.py $(DESTDIR)/$(bindir)/bibus
|
||||
+ chmod 755 $(DESTDIR)$(pythondir)/bibus/bibusStart.py
|
||||
|
||||
# basic doc files
|
||||
- install -m755 -d $(datadir)/doc/bibus
|
||||
- install -m644 Docs/*.txt Docs/CHANGELOG Docs/copying $(datadir)/doc/bibus
|
||||
+ install -m755 -d $(DESTDIR)/$(datadir)/doc/${PF}
|
||||
+ install -m644 Docs/*.txt Docs/CHANGELOG Docs/copying $(DESTDIR)/$(datadir)/doc/${PF}
|
||||
|
||||
# generating bibus.cfg file
|
||||
- echo '[PATH]' > $(datadir)/bibus/bibus.cfg
|
||||
- echo 'python = $(python)' >> $(datadir)/bibus/bibus.cfg
|
||||
- echo 'oopath = $(oopath)' >> $(datadir)/bibus/bibus.cfg
|
||||
- echo 'ooure = $(ooure)' >> $(datadir)/bibus/bibus.cfg
|
||||
- echo 'oobasis = $(oobasis)' >> $(datadir)/bibus/bibus.cfg
|
||||
- echo 'docdir = $(datadir)/doc/bibus/html' >> $(datadir)/bibus/bibus.cfg
|
||||
- echo 'licence = $(datadir)/doc/bibus/copying' >> $(datadir)/bibus/bibus.cfg
|
||||
- echo 'localedir = $(datadir)/locale' >> $(datadir)/bibus/bibus.cfg
|
||||
- echo 'systemconf = $(sysconfdir)/bibus.config' >> $(datadir)/bibus/bibus.cfg
|
||||
+ echo '[PATH]' > $(DESTDIR)/$(pythondir)/bibus/bibus.cfg
|
||||
+ echo 'python = $(python)' >> $(DESTDIR)/$(pythondir)/bibus/bibus.cfg
|
||||
+ echo 'oopath = $(oopath)' >> $(DESTDIR)/$(pythondir)/bibus/bibus.cfg
|
||||
+ echo 'ooure = $(ooure)' >> $(DESTDIR)/$(pythondir)/bibus/bibus.cfg
|
||||
+ echo 'oobasis = $(oobasis)' >> $(DESTDIR)/$(pythondir)/bibus/bibus.cfg
|
||||
+ echo 'docdir = $(datadir)/doc/${PF}/html' >> $(DESTDIR)/$(pythondir)/bibus/bibus.cfg
|
||||
+ echo 'localedir = $(datadir)/locale' >> $(DESTDIR)/$(pythondir)/bibus/bibus.cfg
|
||||
+ echo 'systemconf = $(sysconfdir)/bibus.config' >> $(DESTDIR)/$(pythondir)/bibus/bibus.cfg
|
||||
endef
|
||||
|
||||
define install-doc-en
|
||||
# copying docs in from Docs/html/en/ for bibus-doc-en
|
||||
cd Docs;\
|
||||
- find html/en/* -type f -exec install -m644 '{}' -D $(datadir)/doc/bibus/'{}' ';'
|
||||
+ find html/en/* -type f -exec install -m644 '{}' -D $(DESTDIR)/$(datadir)/doc/${PF}/'{}' ';'
|
||||
endef
|
||||
|
||||
define compile
|
||||
# compile recursively all the python files located in $(datadir)/bibus
|
||||
- $(python) -c "import compileall ; compileall.compile_dir('$(datadir)/bibus')"
|
||||
- $(python) -O -c "import compileall ; compileall.compile_dir('$(datadir)/bibus')"
|
||||
+ echo "No compilation"
|
||||
endef
|
||||
|
||||
install-files:
|
||||
@@ -83,15 +81,3 @@ install:
|
||||
$(install-doc-en)
|
||||
$(compile)
|
||||
|
||||
- # write uninstaller in $(datadir)/bibus/Setup/uninstall.sh
|
||||
- echo "#!/bin/sh" > $(datadir)/bibus/Setup/uninstall.sh
|
||||
- echo "rm -rf $(datadir)/bibus" >> $(datadir)/bibus/Setup/uninstall.sh
|
||||
- echo "rm $(bindir)/bibus" >> $(datadir)/bibus/Setup/uninstall.sh
|
||||
- echo "find $(datadir)/locale -name bibus.mo -exec rm -f {} \;" >> $(datadir)/bibus/Setup/uninstall.sh
|
||||
- echo "rm $(sysconfdir)/bibus.config" >> $(datadir)/bibus/Setup/uninstall.sh
|
||||
- echo "rm $(man1dir)/bibus.1" >> $(datadir)/bibus/Setup/uninstall.sh
|
||||
- echo "rm -rf $(datadir)/doc/bibus" >> $(datadir)/bibus/Setup/uninstall.sh
|
||||
- echo "rm $(datadir)/applications/bibus.desktop" >> $(datadir)/bibus/Setup/uninstall.sh
|
||||
- echo "rm $(datadir)/icons/hicolor/48x48/apps/bibus.png" >> $(datadir)/bibus/Setup/uninstall.sh
|
||||
- chmod 744 $(datadir)/bibus/Setup/uninstall.sh
|
||||
- # end uninstaller
|
@ -1,158 +0,0 @@
|
||||
Author: Jan Beyer <jan@beathovn.de>
|
||||
Copyright: Copyright 2014 Jan Beyer
|
||||
License: The same as the Bibus packaging.
|
||||
Description: Patch to migrate bibus from wxpython2.8 to wxpython 3.0
|
||||
Thanks to Olly Betts for the script that did the main work:
|
||||
http://anonscm.debian.org/cgit/collab-maint/wx-migration-tools.git
|
||||
|
||||
--- a/ShortcutEd.py
|
||||
+++ b/ShortcutEd.py
|
||||
@@ -27,7 +27,7 @@
|
||||
self.category = category # edited category
|
||||
self.short = short # current shortcuts list
|
||||
# begin wxGlade: Capture.__init__
|
||||
- kwds["style"] = wx.DIALOG_MODAL|wx.CAPTION|wx.RESIZE_BORDER|wx.THICK_FRAME
|
||||
+ kwds["style"] = wx.CAPTION|wx.RESIZE_BORDER|wx.RESIZE_BORDER
|
||||
wx.Dialog.__init__(self, *args, **kwds)
|
||||
self.label_1 = wx.StaticText(self, -1, _("Capture from field"))
|
||||
self.choice_field = wx.Choice(self, -1, choices=[])
|
||||
@@ -110,7 +110,7 @@
|
||||
self.parentshort = short # we keep a copy for updating it latter
|
||||
self.db = db # connection to the database
|
||||
# begin wxGlade: ShortcutEd.__init__
|
||||
- kwds["style"] = wx.DIALOG_MODAL|wx.CAPTION|wx.RESIZE_BORDER|wx.THICK_FRAME
|
||||
+ kwds["style"] = wx.CAPTION|wx.RESIZE_BORDER|wx.RESIZE_BORDER
|
||||
wx.Dialog.__init__(self, *args, **kwds)
|
||||
self.list_shortcuts = wx.ListCtrl(self, -1, style=wx.LC_REPORT|wx.LC_EDIT_LABELS|wx.LC_NO_HEADER|wx.LC_SINGLE_SEL|wx.SUNKEN_BORDER)
|
||||
self.button_new = wx.Button(self, -1, _("New"))
|
||||
--- a/bibus.py
|
||||
+++ b/bibus.py
|
||||
@@ -120,7 +120,7 @@
|
||||
#
|
||||
class Bibus(wx.App):
|
||||
def OnInit(self):
|
||||
- wx.InitAllImageHandlers()
|
||||
+ # no-op in wxPython2.8 and later: wx.InitAllImageHandlers()
|
||||
self.SetAppName(APPNAME)
|
||||
# reading and eventually converting the config file
|
||||
if os.path.isfile( wx.StandardPaths.Get().GetUserDataDir() ): # old config file in $HOME/.bibus
|
||||
--- a/Pref_Shortcuts.py
|
||||
+++ b/Pref_Shortcuts.py
|
||||
@@ -26,7 +26,7 @@
|
||||
def __init__(self, categories, *args, **kwds):
|
||||
self.categories = categories # current categories in parent. may be different from BIB.SHORTCUTS
|
||||
# begin wxGlade: NewCategory.__init__
|
||||
- kwds["style"] = wx.DIALOG_MODAL|wx.CAPTION|wx.RESIZE_BORDER|wx.THICK_FRAME
|
||||
+ kwds["style"] = wx.CAPTION|wx.RESIZE_BORDER|wx.RESIZE_BORDER
|
||||
wx.Dialog.__init__(self, *args, **kwds)
|
||||
self.label_1 = wx.StaticText(self, -1, _("Name"))
|
||||
self.text_ctrl_name = wx.TextCtrl(self, -1, "")
|
||||
@@ -80,7 +80,7 @@
|
||||
def onFile(self,evt):
|
||||
tmpfilen = self.text_ctrl_name.GetValue()
|
||||
if not tmpfilen: tmpfilen = 'shortcut'
|
||||
- filen = wx.FileSelector(_("Choose the file location and name"),default_filename=tmpfilen,parent=self, flags = wx.SAVE )
|
||||
+ filen = wx.FileSelector(_("Choose the file location and name"),default_filename=tmpfilen,parent=self, flags = wx.FD_SAVE )
|
||||
if filen:
|
||||
self.text_ctrl_filen.SetValue(filen)
|
||||
|
||||
--- a/moveFile.py
|
||||
+++ b/moveFile.py
|
||||
@@ -96,7 +96,7 @@
|
||||
|
||||
if __name__ == "__main__":
|
||||
app = wx.PySimpleApp(0)
|
||||
- wx.InitAllImageHandlers()
|
||||
+ # no-op in wxPython2.8 and later: wx.InitAllImageHandlers()
|
||||
dialog_1 = MoveFile(None, -1, "")
|
||||
app.SetTopWindow(dialog_1)
|
||||
dialog_1.Show()
|
||||
--- a/OOo.py
|
||||
+++ b/OOo.py
|
||||
@@ -103,7 +103,7 @@
|
||||
self.saveDoc()
|
||||
self.finalize()
|
||||
except bibOOo_IOError:
|
||||
- url = wx.FileSelector('Save as...',default_extension='odt',wildcard="%s (*.odt)|*.odt|%s (*.sxw)|*.sxw|%s (*.*)|*.*"%(_("OpenDocument Text"),_("OpenOffice.org Text Document"), _("All files")),flags=wx.SAVE|wx.OVERWRITE_PROMPT)
|
||||
+ url = wx.FileSelector('Save as...',default_extension='odt',wildcard="%s (*.odt)|*.odt|%s (*.sxw)|*.sxw|%s (*.*)|*.*"%(_("OpenDocument Text"),_("OpenOffice.org Text Document"), _("All files")),flags=wx.FD_SAVE|wx.FD_OVERWRITE_PROMPT)
|
||||
if url == '':
|
||||
return
|
||||
else:
|
||||
--- a/BibFrame.py
|
||||
+++ b/BibFrame.py
|
||||
@@ -971,7 +971,7 @@
|
||||
|
||||
def __getFile(self,question=_("Please choose the file encoding"),mode='r',enc='ascii'):
|
||||
"""Get file and encoding. Return open file or None"""
|
||||
- dlg = wx.FileDialog(self,_("Choose a File to import"),style = wx.OPEN | wx.CHANGE_DIR)
|
||||
+ dlg = wx.FileDialog(self,_("Choose a File to import"),style = wx.FD_OPEN | wx.FD_CHANGE_DIR)
|
||||
try:
|
||||
answer = dlg.ShowModal()
|
||||
filename = dlg.GetPath()
|
||||
@@ -1048,7 +1048,7 @@
|
||||
# --------------------------------- File Export --------------------------------------------
|
||||
def __saveFile(self,question=_("Please choose the file encoding"),mode='r',enc='latin_1'):
|
||||
"""Get file and encoding. Return open file or None"""
|
||||
- dlg = wx.FileDialog(self,_("Save as..."),style = wx.SAVE | wx.OVERWRITE_PROMPT | wx.CHANGE_DIR)
|
||||
+ dlg = wx.FileDialog(self,_("Save as..."),style = wx.FD_SAVE | wx.FD_OVERWRITE_PROMPT | wx.FD_CHANGE_DIR)
|
||||
try:
|
||||
answer = dlg.ShowModal()
|
||||
filename = dlg.GetPath()
|
||||
@@ -1124,7 +1124,7 @@
|
||||
|
||||
def __saveFileHTML(self,question=_("Choose the destination file"),mode='w'):
|
||||
"""Get file. Return open file or None"""
|
||||
- dlg = wx.FileDialog(self,_("Save as..."),style = wx.SAVE | wx.OVERWRITE_PROMPT | wx.CHANGE_DIR)
|
||||
+ dlg = wx.FileDialog(self,_("Save as..."),style = wx.FD_SAVE | wx.FD_OVERWRITE_PROMPT | wx.FD_CHANGE_DIR)
|
||||
try:
|
||||
answer = dlg.ShowModal()
|
||||
finally:
|
||||
@@ -1176,7 +1176,7 @@
|
||||
ret = wx.GetSingleChoiceIndex(_('What do you want to export?'),_('Export'),[_('Selection'),_('Current key'),_('All')])
|
||||
if ret == -1: return
|
||||
# get the file destination
|
||||
- answer = wx.FileSelector(_("Choose the name of the SQLite database"), flags = wx.SAVE | wx.OVERWRITE_PROMPT | wx.CHANGE_DIR )
|
||||
+ answer = wx.FileSelector(_("Choose the name of the SQLite database"), flags = wx.FD_SAVE | wx.FD_OVERWRITE_PROMPT | wx.FD_CHANGE_DIR )
|
||||
if answer == '': return
|
||||
# we create the database
|
||||
try:
|
||||
@@ -1746,7 +1746,7 @@
|
||||
|
||||
arcstarttime=time.time()
|
||||
archivename=time.strftime('bibusbackup_%y%m%d_%H%M%S.tar', time.localtime(arcstarttime))
|
||||
- dlg = wx.FileDialog(self,_("Archive all user data into file ..."),style = wx.SAVE | wx.OVERWRITE_PROMPT | wx.CHANGE_DIR)
|
||||
+ dlg = wx.FileDialog(self,_("Archive all user data into file ..."),style = wx.FD_SAVE | wx.FD_OVERWRITE_PROMPT | wx.FD_CHANGE_DIR)
|
||||
dlg.SetDirectory(userDocsDir)
|
||||
dlg.SetFilename(archivename)
|
||||
dlg.SetWildcard("TAR archive (*.tar)|*.tar")
|
||||
--- a/FirstStart/MySQL_Setup.py
|
||||
+++ b/FirstStart/MySQL_Setup.py
|
||||
@@ -533,7 +533,7 @@
|
||||
|
||||
if __name__ == "__main__":
|
||||
app = wx.PySimpleApp(0)
|
||||
- wx.InitAllImageHandlers()
|
||||
+ # no-op in wxPython2.8 and later: wx.InitAllImageHandlers()
|
||||
MySQL_Setup = MySQL_Setup_Main(None, -1, "")
|
||||
app.SetTopWindow(MySQL_Setup)
|
||||
MySQL_Setup.Show()
|
||||
--- a/StyleEditor/FormatEditor.py
|
||||
+++ b/StyleEditor/FormatEditor.py
|
||||
@@ -33,7 +33,7 @@
|
||||
|
||||
class FormatEditor(wx.Dialog):
|
||||
def __init__(self, *args, **kwds):
|
||||
- #kwds["style"] = wx.TAB_TRAVERSAL | wx.CAPTION | wx.MINIMIZE_BOX | wx.MAXIMIZE_BOX | wx.THICK_FRAME
|
||||
+ #kwds["style"] = wx.TAB_TRAVERSAL | wx.CAPTION | wx.MINIMIZE_BOX | wx.MAXIMIZE_BOX | wx.RESIZE_BORDER
|
||||
kwds["style"] = wx.DEFAULT_FRAME_STYLE
|
||||
self.filename = kwds['filename']
|
||||
del kwds['filename']
|
||||
@@ -130,7 +130,7 @@
|
||||
wx.MessageBox(_("The style name is not correct, please avoid: '/' under linux; '\\' and ':' under Windows"),_("Style name"),style=wx.OK|wx.ICON_ERROR)
|
||||
|
||||
# def SaveAs(self,evt):
|
||||
-# self.filename = wx.FileSelector(_('Where to save the style file?'), flags = wx.SAVE | wx.OVERWRITE_PROMPT)
|
||||
+# self.filename = wx.FileSelector(_('Where to save the style file?'), flags = wx.FD_SAVE | wx.FD_OVERWRITE_PROMPT)
|
||||
# #print "%r"%self.filename
|
||||
# if self.filename:
|
||||
# self.Save(evt)
|
@ -1,11 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>sci@gentoo.org</email>
|
||||
<name>Gentoo Science Project</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="sourceforge">bibus-biblio</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
Binary file not shown.
@ -1,3 +0,0 @@
|
||||
DIST SchemaSync-0.9.2.tar.gz 12828 BLAKE2B 050a027376282816bef34d6a7e146e590c5ebc279649f03d65129d33b9941c08aeb7bb58a302b9a77a62c8b7820b8dcbd6bc783c2405a25a4baca863baa53d3e SHA512 4f2522c05e3cf0957fe0d51cc48f3a45fd8eaeb341801bfdeb32bb7e959e8a250a84a162b80853f2010a99a932ef7d1b556579f7c77971f0e9a3e0fa87531599
|
||||
DIST SchemaSync-0.9.4.tar.gz 13824 BLAKE2B d98cd5cc0d6275ac5e4bb0272f4ab2879f4639b0e2986c175297ab3cc60930f63c3288cc2c3194784078958749c8e95a9e9ecdf660e071a61caac37b9659f2e3 SHA512 0087f5f634d2374def5e1dd2dd8d6d57d3fca9322bba23aee461487053233dba30ce889a87747ce2c11bd9a7e08418d619e9fd8b910ea303987b57bac7609248
|
||||
DIST SchemaSync-0.9.5.tar.gz 13973 BLAKE2B e76dd4e2e69875dedafed44214b6e30db6e71f4ee62a4bcd1cf1592c6727ae9d6f70190aa288559594d278b3962f8cb91eeb3d4b4b9014737be8b6b37acc9e84 SHA512 8ee37c099de8e3627d3d708c5642e4e0b7304306002bfa82d24cd2a733539bd0d5144d6afd18dd06e229a87b05ee569fe2febc727785a085bb32169581805934
|
@ -1,24 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="MySQL Schema Versioning and Migration Utility"
|
||||
HOMEPAGE="https://github.com/mmatuson/SchemaSync"
|
||||
# old download location is down
|
||||
SRC_URI="mirror://gentoo/${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
dev-python/mysql-python[${PYTHON_USEDEP}]
|
||||
dev-python/SchemaObject[${PYTHON_USEDEP}]"
|
||||
DEPEND="${RDEPEND}"
|
@ -1,23 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="MySQL Schema Versioning and Migration Utility"
|
||||
HOMEPAGE="https://github.com/mmatuson/SchemaSync"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
dev-python/mysql-python[${PYTHON_USEDEP}]
|
||||
dev-python/SchemaObject[${PYTHON_USEDEP}]"
|
||||
DEPEND="${RDEPEND}"
|
@ -1,23 +0,0 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="MySQL Schema Versioning and Migration Utility"
|
||||
HOMEPAGE="https://github.com/mmatuson/SchemaSync"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
dev-python/mysql-python[${PYTHON_USEDEP}]
|
||||
dev-python/SchemaObject[${PYTHON_USEDEP}]"
|
||||
DEPEND="${RDEPEND}"
|
@ -1,12 +0,0 @@
|
||||
<?xml version='1.0' encoding='UTF-8'?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>blueness@gentoo.org</email>
|
||||
<name>Anthony G. Basile</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">mmatuson/SchemaSync</remote-id>
|
||||
<remote-id type="pypi">SchemaSync</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
Binary file not shown.
@ -1,222 +0,0 @@
|
||||
# Copyright 2019-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
MY_PV="${PV/_p/+}"
|
||||
SLOT="${MY_PV%%[.+]*}"
|
||||
EGRADLE_VER="4.8"
|
||||
|
||||
inherit flag-o-matic java-pkg-2 multiprocessing
|
||||
|
||||
DESCRIPTION="Java OpenJFX client application platform"
|
||||
HOMEPAGE="https://openjfx.io"
|
||||
|
||||
SRC_URI="https://hg.openjdk.java.net/${PN}/${SLOT}-dev/rt/archive/${MY_PV}.tar.bz2 -> ${P}.tar.bz2
|
||||
https://downloads.gradle.org/distributions/gradle-${EGRADLE_VER}-bin.zip
|
||||
https://repo.maven.apache.org/maven2/org/apache/lucene/lucene-sandbox/7.1.0/lucene-sandbox-7.1.0.jar
|
||||
https://repo.maven.apache.org/maven2/org/apache/lucene/lucene-grouping/7.1.0/lucene-grouping-7.1.0.jar
|
||||
https://repo.maven.apache.org/maven2/org/apache/lucene/lucene-queryparser/7.1.0/lucene-queryparser-7.1.0.jar
|
||||
https://repo.maven.apache.org/maven2/org/apache/lucene/lucene-queries/7.1.0/lucene-queries-7.1.0.jar
|
||||
https://repo.maven.apache.org/maven2/org/apache/lucene/lucene-core/7.1.0/lucene-core-7.1.0.jar
|
||||
https://repo.maven.apache.org/maven2/org/antlr/gunit/3.5.2/gunit-3.5.2.jar
|
||||
https://repo1.maven.org/maven2/org/antlr/antlr4/4.7.2/antlr4-4.7.2-complete.jar
|
||||
https://repo.maven.apache.org/maven2/org/antlr/ST4/4.0.8/ST4-4.0.8.jar
|
||||
"
|
||||
|
||||
LICENSE="GPL-2-with-classpath-exception"
|
||||
KEYWORDS="-* ~amd64"
|
||||
|
||||
IUSE="cpu_flags_x86_sse2 debug doc source +media"
|
||||
|
||||
RDEPEND="
|
||||
dev-java/swt:4.10[cairo,opengl]
|
||||
dev-libs/atk
|
||||
dev-libs/glib:2
|
||||
dev-libs/libxml2:2
|
||||
dev-libs/libxslt
|
||||
media-libs/freetype:2
|
||||
media-libs/fontconfig:1.0
|
||||
media-video/ffmpeg:0=
|
||||
x11-libs/gdk-pixbuf
|
||||
x11-libs/gtk+:2
|
||||
x11-libs/gtk+:3
|
||||
x11-libs/cairo[glib]
|
||||
x11-libs/libX11
|
||||
x11-libs/libXtst
|
||||
x11-libs/libXxf86vm
|
||||
x11-libs/pango
|
||||
virtual/jpeg
|
||||
virtual/opengl
|
||||
|| (
|
||||
dev-java/openjdk-bin:${SLOT}[doc?]
|
||||
dev-java/openjdk:${SLOT}[doc?]
|
||||
)
|
||||
"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
app-arch/unzip
|
||||
app-arch/zip
|
||||
>=dev-java/ant-core-1.10.7-r1:0
|
||||
dev-java/antlr:0
|
||||
dev-java/antlr:3.5
|
||||
dev-java/hamcrest-core:0
|
||||
dev-java/stringtemplate:0
|
||||
virtual/ttf-fonts
|
||||
virtual/pkgconfig
|
||||
"
|
||||
|
||||
REQUIRED_USE="cpu_flags_x86_sse2"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/11/disable-buildSrc-tests.patch
|
||||
"${FILESDIR}"/11/glibc-compatibility.patch
|
||||
"${FILESDIR}"/11/respect-user-cflags.patch
|
||||
"${FILESDIR}"/11/use-system-swt-jar.patch
|
||||
"${FILESDIR}"/11/wno-error.patch
|
||||
)
|
||||
|
||||
S="${WORKDIR}/rt-${MY_PV}"
|
||||
|
||||
egradle() {
|
||||
local GRADLE_HOME="${WORKDIR}/gradle-${EGRADLE_VER}"
|
||||
local gradle="${GRADLE_HOME}/bin/gradle"
|
||||
local gradle_args=(
|
||||
--info
|
||||
--stacktrace
|
||||
--no-build-cache
|
||||
--no-daemon
|
||||
--offline
|
||||
--gradle-user-home "${T}/gradle_user_home"
|
||||
--project-cache-dir "${T}/gradle_project_cache"
|
||||
)
|
||||
|
||||
export GRADLE_HOME
|
||||
|
||||
# FIXME: build.gradle believes $ANT_HOME/bin/ant shoud exist
|
||||
unset ANT_HOME
|
||||
|
||||
einfo "gradle "${gradle_args[@]}" ${@}"
|
||||
# TERM needed, otherwise gradle may fail on terms it does not know about
|
||||
TERM="xterm" "${gradle}" "${gradle_args[@]}" ${@} || die "gradle failed"
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
JAVA_PKG_WANT_BUILD_VM="openjdk-${SLOT} openjdk-bin-${SLOT}"
|
||||
JAVA_PKG_WANT_SOURCE="${SLOT}"
|
||||
JAVA_PKG_WANT_TARGET="${SLOT}"
|
||||
|
||||
# The nastiness below is necessary while the gentoo-vm USE flag is
|
||||
# masked. First we call java-pkg-2_pkg_setup if it looks like the
|
||||
# flag was unmasked against one of the possible build VMs. If not,
|
||||
# we try finding one of them in their expected locations. This would
|
||||
# have been slightly less messy if openjdk-bin had been installed to
|
||||
# /opt/${PN}-${SLOT} or if there was a mechanism to install a VM env
|
||||
# file but disable it so that it would not normally be selectable.
|
||||
|
||||
local vm
|
||||
for vm in ${JAVA_PKG_WANT_BUILD_VM}; do
|
||||
if [[ -d ${EPREFIX}/usr/lib/jvm/${vm} ]]; then
|
||||
java-pkg-2_pkg_setup
|
||||
return
|
||||
fi
|
||||
done
|
||||
|
||||
if has_version --host-root dev-java/openjdk:${SLOT}; then
|
||||
export JAVA_HOME=${EPREFIX}/usr/$(get_libdir)/openjdk-${SLOT}
|
||||
export JDK_HOME="${JAVA_HOME}"
|
||||
export ANT_RESPECT_JAVA_HOME=ture
|
||||
|
||||
else
|
||||
if [[ ${MERGE_TYPE} != "binary" ]]; then
|
||||
JDK_HOME=$(best_version --host-root dev-java/openjdk-bin:${SLOT})
|
||||
[[ -n ${JDK_HOME} ]] || die "Build VM not found!"
|
||||
JDK_HOME=${JDK_HOME#*/}
|
||||
JDK_HOME=${EPREFIX}/opt/${JDK_HOME%-r*}
|
||||
export JDK_HOME
|
||||
export JAVA_HOME="${JDK_HOME}"
|
||||
export ANT_RESPECT_JAVA_HOME=ture
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
unpack "${P}.tar.bz2"
|
||||
unpack "gradle-${EGRADLE_VER}-bin.zip"
|
||||
|
||||
mkdir "${T}/jars" || die
|
||||
|
||||
local line jar
|
||||
for line in ${SRC_URI}; do
|
||||
if [[ ${line} =~ (http|https)://[a-zA-Z0-9.-_]*/(maven2|m2|eclipse)/(.*[.]jar)$ ]]; then
|
||||
jar=$(basename "${BASH_REMATCH[-1]}")
|
||||
cp -v "${DISTDIR}/${jar}" "${T}/jars/" || die
|
||||
fi
|
||||
done
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
local d="${T}/jars"
|
||||
|
||||
java-pkg_jar-from --build-only --with-dependencies --into "${d}" antlr
|
||||
java-pkg_jar-from --build-only --with-dependencies --into "${d}" antlr-3.5
|
||||
java-pkg_jar-from --build-only --with-dependencies --into "${d}" stringtemplate
|
||||
java-pkg_jar-from --build-only --with-dependencies --into "${d}" hamcrest-core
|
||||
|
||||
sed -i "s#__gentoo_swt_jar__#$(java-pkg_getjars swt-4.10)#" "${S}"/build.gradle || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
append-flags -Wno-error -fcommon
|
||||
|
||||
#FIXME: still calls gcc, pkg-config etc by name without chost prefix
|
||||
#FIXME: should we enable webkit? doubt so
|
||||
|
||||
# build is very sensetive to doc presense, take extra steps
|
||||
if use doc; then
|
||||
local jdk_doc
|
||||
if has_version --host-root dev-java/openjdk:${SLOT}[doc]; then
|
||||
jdk_doc="${EROOT%/}/usr/share/doc/openjdk-${SLOT}/html/api"
|
||||
elif has_version --host-root dev-java/java-sdk-docs:${SLOT}; then
|
||||
jdk_doc="${EROOT%/}/usr/share/doc/java-sdk-docs-${SLOT}/html/api"
|
||||
fi
|
||||
[[ -r ${jdk_doc}/element-list ]] || die "JDK Docs not found, terminating build early"
|
||||
fi
|
||||
|
||||
cat <<- _EOF_ > "${S}"/gradle.properties
|
||||
COMPILE_TARGETS = linux
|
||||
COMPILE_WEBKIT = false
|
||||
COMPILE_MEDIA = $(usex media true false)
|
||||
JDK_DOCS = https://docs.oracle.com/en/java/javase/${SLOT}/docs/api
|
||||
JDK_DOCS_LINK = $(usex doc "${jdk_doc}" "")
|
||||
BUILD_LIBAV_STUBS = false
|
||||
GRADLE_VERSION_CHECK = false
|
||||
LINT = none
|
||||
CONF = $(usex debug DebugNative Release)
|
||||
NUM_COMPILE_THREADS = $(makeopts_jobs)
|
||||
JFX_DEPS_URL = ${T}/jars
|
||||
COMPANY_NAME = "Gentoo"
|
||||
_EOF_
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
egradle zips $(usex doc "" "--exclude-task javadoc")
|
||||
}
|
||||
|
||||
src_install() {
|
||||
if ! use source ; then
|
||||
rm -v build/sdk/lib/src.zip || die
|
||||
fi
|
||||
|
||||
insinto "/usr/$(get_libdir)/${PN}-${SLOT}"
|
||||
doins -r build/sdk/.
|
||||
doins build/javafx-exports.zip
|
||||
|
||||
if use doc; then
|
||||
docinto html
|
||||
dodoc -r build/javadoc/.
|
||||
dosym ../../../usr/share/doc/"${PF}" /usr/share/doc/"${PN}-${SLOT}"
|
||||
fi
|
||||
}
|
Binary file not shown.
@ -1,2 +1 @@
|
||||
DIST logtalk-3.18.0.tar.bz2 3280635 BLAKE2B 0105c0816d3b265f15f9ba6e82a4e6dbc877869c2ade6deac3f2748da12e14bd5de2e82ca8f1793c6553a635ca8a55138e79645219f09146c8adec4b60f70b30 SHA512 1575a564ff23d35b4d1581e7f5725515a548ea57d128fbfa13f8138e41791c50cc9626bdc26a85f5e676500b3f232faf742e434b1416707134e4c9b3f8afe424
|
||||
DIST logtalk-3.36.0.tar.bz2 18373894 BLAKE2B 3f4917dea47b32760edfde0538a260e5405b566520c514ec137766d17ad532f1d3e3a7a6d05b4b643b21933073951ed41bf92161ae49545eb458619444b10210 SHA512 0e93f091cb24aed3b08db05df29484e708e14cf58a673a42df70c899f3bafae30896be118d89dfdf3f3cb7d4ba520a815e46d563dd7418f80912b7067ed7da8e
|
||||
|
@ -1,19 +0,0 @@
|
||||
--- logtalk-3.18.0.orig/scripts/logtalk_user_setup.sh 2018-06-26 15:11:02.000000000 +0200
|
||||
+++ logtalk-3.18.0/scripts/logtalk_user_setup.sh 2018-07-22 14:05:50.343406307 +0200
|
||||
@@ -131,16 +131,6 @@
|
||||
rm -f "$LOGTALKUSER"/tools/lgtdoc/xml/lgt2*
|
||||
rm -f "$LOGTALKUSER"/tools/lgtdoc/xml/logtalk.dtd
|
||||
rm -f "$LOGTALKUSER"/tools/lgtdoc/xml/logtalk.xsd
|
||||
-ln -sf "$LOGTALKHOME"/ACKNOWLEDGMENTS.md "$LOGTALKUSER"/ACKNOWLEDGMENTS.md
|
||||
-ln -sf "$LOGTALKHOME"/BIBLIOGRAPHY.bib "$LOGTALKUSER"/BIBLIOGRAPHY.bib
|
||||
-ln -sf "$LOGTALKHOME"/CONTRIBUTING.md "$LOGTALKUSER"/CONTRIBUTING.md
|
||||
-ln -sf "$LOGTALKHOME"/CUSTOMIZE.md "$LOGTALKUSER"/CUSTOMIZE.md
|
||||
-ln -sf "$LOGTALKHOME"/INSTALL.md "$LOGTALKUSER"/INSTALL.md
|
||||
-ln -sf "$LOGTALKHOME"/LICENSE.txt "$LOGTALKUSER"/LICENSE.txt
|
||||
-ln -sf "$LOGTALKHOME"/QUICK_START.md "$LOGTALKUSER"/QUICK_START.md
|
||||
-ln -sf "$LOGTALKHOME"/README.md "$LOGTALKUSER"/README.md
|
||||
-ln -sf "$LOGTALKHOME"/RELEASE_NOTES.md "$LOGTALKUSER"/RELEASE_NOTES.md
|
||||
-ln -sf "$LOGTALKHOME"/UPGRADING.md "$LOGTALKUSER"/UPGRADING.md
|
||||
ln -sf "$LOGTALKHOME"/adapters "$LOGTALKUSER"/adapters
|
||||
ln -sf "$LOGTALKHOME"/coding "$LOGTALKUSER"/coding
|
||||
ln -sf "$LOGTALKHOME"/integration "$LOGTALKUSER"/integration
|
@ -1,130 +0,0 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit eutils xdg-utils
|
||||
|
||||
DESCRIPTION="Open source object-oriented logic programming language"
|
||||
HOMEPAGE="https://logtalk.org"
|
||||
SRC_URI="https://logtalk.org/files/${P}.tar.bz2"
|
||||
LICENSE="Apache-2.0"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
IUSE="fop xslt"
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="${DEPEND}
|
||||
xslt? ( dev-libs/libxslt )
|
||||
fop? ( dev-java/fop )"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${P}-portage.patch
|
||||
|
||||
eapply_user
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# Look at scripts/install.sh for upstream installation process.
|
||||
# Install logtalk base
|
||||
mv scripts/logtalk_user_setup.sh integration/
|
||||
mkdir -p "${D}/usr/share/${P}"
|
||||
cp -r adapters coding contributions core docs examples integration \
|
||||
library manuals paths scratch tests tools VERSION.txt \
|
||||
loader-sample.lgt settings-sample.lgt tester-sample.lgt \
|
||||
tests-sample.lgt \
|
||||
"${D}/usr/share/${P}" \
|
||||
|| die "Failed to install files"
|
||||
|
||||
# Install mime file, the database will be updated later
|
||||
insinto /usr/share/mime/packages
|
||||
doins scripts/freedesktop/logtalk.xml
|
||||
|
||||
# Install documentation
|
||||
dodoc ACKNOWLEDGMENTS.md BIBLIOGRAPHY.bib CONTRIBUTING.md \
|
||||
CUSTOMIZE.md INSTALL.md LICENSE.txt QUICK_START.md \
|
||||
README.md RELEASE_NOTES.md UPGRADING.md VERSION.txt
|
||||
|
||||
rm -f man/man1/logtalk_backend_select.1
|
||||
rm -f man/man1/logtalk_version_select.1
|
||||
doman man/man1/*.1
|
||||
|
||||
# Integration symlinks
|
||||
dosym ../share/${P}/integration/logtalk_user_setup.sh \
|
||||
/usr/bin/logtalk_user_setup
|
||||
dosym ../share/${P}/integration/bplgt.sh \
|
||||
/usr/bin/bplgt
|
||||
dosym ../share/${P}/integration/cxlgt.sh \
|
||||
/usr/bin/cxlgt
|
||||
dosym ../share/${P}/integration/eclipselgt.sh \
|
||||
/usr/bin/eclipselgt
|
||||
dosym ../share/${P}/integration/gplgt.sh \
|
||||
/usr/bin/gplgt
|
||||
dosym ../share/${P}/integration/jiplgt.sh \
|
||||
/usr/bin/jiplgt
|
||||
dosym ../share/${P}/integration/lplgt.sh \
|
||||
/usr/bin/lplgt
|
||||
dosym ../share/${P}/integration/qplgt.sh \
|
||||
/usr/bin/qplgt
|
||||
dosym ../share/${P}/integration/quintuslgt.sh \
|
||||
/usr/bin/quintuslgt
|
||||
dosym ../share/${P}/integration/sicstuslgt.sh \
|
||||
/usr/bin/sicstuslgt
|
||||
dosym ../share/${P}/integration/swilgt.sh \
|
||||
/usr/bin/swilgt
|
||||
dosym ../share/${P}/integration/xsblgt.sh \
|
||||
/usr/bin/xsblgt
|
||||
dosym ../share/${P}/integration/xsbmtlgt.sh \
|
||||
/usr/bin/xsbmtlgt
|
||||
dosym ../share/${P}/integration/yaplgt.sh \
|
||||
/usr/bin/yaplgt
|
||||
|
||||
dosym ../share/${P}/tools/lgtdoc/xml/lgt2xml.sh \
|
||||
/usr/bin/lgt2xml
|
||||
use xslt && dosym ../share/${P}/tools/lgtdoc/xml/lgt2html.sh \
|
||||
/usr/bin/lgt2html
|
||||
use xslt && dosym ../share/${P}/tools/lgtdoc/xml/lgt2txt.sh \
|
||||
/usr/bin/lgt2txt
|
||||
use xslt && dosym ../share/${P}/tools/lgtdoc/xml/lgt2md.sh \
|
||||
/usr/bin/lgt2md
|
||||
use fop && dosym ../share/${P}/tools/lgtdoc/xml/lgt2pdf.sh \
|
||||
/usr/bin/lgt2pdf
|
||||
|
||||
# Install environment files
|
||||
echo "LOGTALKHOME=/usr/share/${P}" > 99logtalk
|
||||
doenvd 99logtalk
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
xdg_mimeinfo_database_update
|
||||
xdg_desktop_database_update
|
||||
|
||||
ewarn "The following integration scripts are installed"
|
||||
ewarn "for running logtalk with selected Prolog compilers:"
|
||||
ewarn "B-Prolog: /usr/bin/bplgt"
|
||||
ewarn "CxProlog: /usr/bin/cxlgt"
|
||||
ewarn "ECLiPSe: /usr/bin/eclipselgt"
|
||||
ewarn "GNU Prolog: /usr/bin/gplgt"
|
||||
ewarn "JIProlog: /usr/bin/jiplgt"
|
||||
ewarn "Lean Prolog: /usr/bin/lplgt"
|
||||
ewarn "Qu-Prolog: /usr/bin/qplgt"
|
||||
ewarn "Quintus Prolog: /usr/bin/quintuslgt"
|
||||
ewarn "SICStus Prolog: /usr/bin/sicstuslgt"
|
||||
ewarn "SWI Prolog: /usr/bin/swilgt"
|
||||
ewarn "XSB: /usr/bin/xsblgt"
|
||||
ewarn "XSB MT: /usr/bin/xsbmtlgt"
|
||||
ewarn "YAP: /usr/bin/yaplgt"
|
||||
ewarn ""
|
||||
|
||||
ewarn "The environment has been set up to make the above"
|
||||
ewarn "integration scripts find files automatically for logtalk."
|
||||
ewarn "Please run 'etc-update && source /etc/profile' to update"
|
||||
ewarn "the environment now, otherwise it will be updated at next"
|
||||
ewarn "login."
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
xdg_mimeinfo_database_update
|
||||
xdg_desktop_database_update
|
||||
}
|
Binary file not shown.
@ -1,62 +0,0 @@
|
||||
From 787d8d240bbeaa812bcf37deeedb3c467be468a3 Mon Sep 17 00:00:00 2001
|
||||
From: Sergei Trofimovich <slyfox@gentoo.org>
|
||||
Date: Sat, 19 May 2018 17:31:42 +0100
|
||||
Subject: [PATCH] __warn_references: tweak assembly for "gnu.warning" section
|
||||
|
||||
On some targets ';' (like hppa) is treated as a comment
|
||||
in assembly files. This occasionally causes the following
|
||||
assembly failures:
|
||||
|
||||
```
|
||||
Error: can't resolve `.gnu.warning.EVP_DecryptFinal'
|
||||
{.gnu.warning.EVP_DecryptFinal section} - `.Ltext0' {.text section}
|
||||
```
|
||||
|
||||
Note how branch (or other reference) attempts to cross the
|
||||
boundary across two section types: '.text' and '.gnu.warning'.
|
||||
|
||||
Tobias Ulmer notes that openbsd already uses newlines
|
||||
for similar macro:
|
||||
|
||||
https://github.com/openbsd/src/blob/master/sys/arch/hppa/include/cdefs.h
|
||||
|
||||
This change switches from ';' to newline as well.
|
||||
Tested on hppa2.0 and x86_64.
|
||||
|
||||
Reported-by: Jeroen Roovers
|
||||
Bug: https://bugs.gentoo.org/656104
|
||||
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
|
||||
---
|
||||
configure.ac | 2 +-
|
||||
include/compat/sys/types.h | 2 +-
|
||||
2 files changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
index b74b8a1..16ed825 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -91,7 +91,7 @@ AM_CONDITIONAL([HOST_CPU_IS_INTEL], [test "x$HOSTARCH" = "xintel"])
|
||||
AC_MSG_CHECKING([if .gnu.warning accepts long strings])
|
||||
AC_LINK_IFELSE([AC_LANG_SOURCE([[
|
||||
extern void SSLv3_method();
|
||||
-__asm__(".section .gnu.warning.SSLv3_method; .ascii \"SSLv3_method is insecure\" ; .text");
|
||||
+__asm__(".section .gnu.warning.SSLv3_method\n\t.ascii \"SSLv3_method is insecure\"\n\t.text");
|
||||
int main() {return 0;}
|
||||
]])], [
|
||||
AC_DEFINE(HAS_GNU_WARNING_LONG, 1, [Define if .gnu.warning accepts long strings.])
|
||||
diff --git a/include/compat/sys/types.h b/include/compat/sys/types.h
|
||||
index 2107119..dec09e3 100644
|
||||
--- a/include/compat/sys/types.h
|
||||
+++ b/include/compat/sys/types.h
|
||||
@@ -62,7 +62,7 @@ typedef SSIZE_T ssize_t;
|
||||
#if defined(__GNUC__) && defined (HAS_GNU_WARNING_LONG)
|
||||
#define __warn_references(sym,msg) \
|
||||
__asm__(".section .gnu.warning." __STRING(sym) \
|
||||
- " ; .ascii \"" msg "\" ; .text");
|
||||
+ "\n\t.ascii \"" msg "\"\n\t.text");
|
||||
#else
|
||||
#define __warn_references(sym,msg)
|
||||
#endif
|
||||
--
|
||||
2.17.0
|
||||
|
@ -0,0 +1,26 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
DIST_AUTHOR=DAGOLDEN
|
||||
DIST_VERSION=1.07
|
||||
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="A date object, with as little code as possible"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="
|
||||
virtual/perl-Carp
|
||||
"
|
||||
BDEPEND="
|
||||
>=virtual/perl-ExtUtils-MakeMaker-6.170.0
|
||||
test? (
|
||||
virtual/perl-File-Spec
|
||||
virtual/perl-Test-Simple
|
||||
)
|
||||
"
|
@ -1 +1,2 @@
|
||||
DIST DateTime-Tiny-1.06.tar.gz 22195 BLAKE2B 00105750f23abf7e620b595582fbacaa8e7386d27f87916a979426c98667babcfdc9cec43eb99536f8c0d973f43ead66ff4c5fbd582651214c2ab5021a5af973 SHA512 84adfb5877ad94669e3dc57e9f40a562eabf623ac3ed3e96be1094a89da8aec6372c92f3d4a70967744d07b11de620e20c027c7b4ca40fc3dc5150cccad5af27
|
||||
DIST DateTime-Tiny-1.07.tar.gz 20977 BLAKE2B 33f5bbd45e1ae1ae7c6aeeb426978acd9cae64e6464ac7db1be5165bdae6905cd58048de10719883fdc5e87d99999422bb262ef7ff807d39bde5438b9a69e62a SHA512 dd5eeac0faed485e40bfdda93827860661ed2142cd06d3007925d5a9bfc2b62223954e61947e26203740dc9be59694917f8c81e7584a7935b86305b9e4ffdd7d
|
||||
|
@ -0,0 +1,30 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
DIST_AUTHOR=ROKR
|
||||
DIST_VERSION=0.089
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="Parse a date/time string using the best method available"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="
|
||||
dev-perl/DateTime
|
||||
dev-perl/TimeDate
|
||||
dev-perl/DateTime-Format-Flexible
|
||||
dev-perl/DateTime-Format-ICal
|
||||
dev-perl/DateTime-Format-Natural
|
||||
virtual/perl-Scalar-List-Utils
|
||||
"
|
||||
BDEPEND="${RDEPEND}
|
||||
>=virtual/perl-ExtUtils-MakeMaker-6.31
|
||||
test? (
|
||||
dev-perl/Test-Most
|
||||
)
|
||||
"
|
@ -0,0 +1,45 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
DIST_AUTHOR=MANWAR
|
||||
DIST_VERSION=0.31
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="Client side code for perl debugger"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="
|
||||
>=virtual/perl-Carp-1.330.100
|
||||
>=virtual/perl-Exporter-5.700.0
|
||||
>=virtual/perl-IO-Socket-IP-0.290.0
|
||||
>=dev-perl/PadWalker-1.980.0
|
||||
>=virtual/perl-Term-ReadLine-1.140.0
|
||||
>=dev-perl/Term-ReadLine-Gnu-1.200.0
|
||||
"
|
||||
BDEPEND="${RDEPEND}
|
||||
>=virtual/perl-ExtUtils-MakeMaker-6.590.0
|
||||
test? (
|
||||
>=dev-perl/File-HomeDir-1.0.0
|
||||
>=virtual/perl-File-Temp-0.230.400
|
||||
>=virtual/perl-Scalar-List-Utils-1.380.0
|
||||
>=dev-perl/Test-CheckDeps-0.10.0
|
||||
>=dev-perl/Test-Class-0.420.0
|
||||
>=dev-perl/Test-Deep-0.112.0
|
||||
>=virtual/perl-Test-Simple-1.1.3
|
||||
>=dev-perl/Test-Requires-0.70.0
|
||||
>=virtual/perl-parent-0.228.0
|
||||
>=virtual/perl-version-0.990.800
|
||||
>=dev-perl/PadWalker-1.920.0
|
||||
>=dev-perl/Term-ReadLine-Perl-1.30.300
|
||||
)
|
||||
"
|
||||
PERL_RM_FILES=(
|
||||
t/03-pod.t
|
||||
t/04-pod-coverage.t
|
||||
)
|
@ -0,0 +1,52 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
DIST_AUTHOR=MLEHMANN
|
||||
DIST_VERSION=2.01
|
||||
DIST_EXAMPLES=("eg/*")
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="Deliantra suppport module to read/write archetypes, maps etc"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="
|
||||
>=dev-perl/AnyEvent-4.0.0
|
||||
>=dev-perl/Compress-LZF-3.110.0
|
||||
>=virtual/perl-Digest-SHA-5.0.0
|
||||
>=dev-perl/JSON-XS-2.10.0
|
||||
dev-perl/common-sense
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/perl-ExtUtils-MakeMaker
|
||||
"
|
||||
src_test() {
|
||||
local MODULES=(
|
||||
"Deliantra ${DIST_VERSION}"
|
||||
"Deliantra::Protocol::Base 1.31"
|
||||
"Deliantra::Protocol::Constants 0.1"
|
||||
"Deliantra::Data"
|
||||
"Deliantra::Map 0.1"
|
||||
"Deliantra::MoveType"
|
||||
"Deliantra::Util"
|
||||
)
|
||||
perl_has_module "Gtk2" && MODULES+=( "Deliantra::MapWidget" )
|
||||
local failed=()
|
||||
for dep in "${MODULES[@]}"; do
|
||||
ebegin "Compile testing ${dep}"
|
||||
perl -Mblib="${S}/blib" -M"${dep} ()" -e1
|
||||
eend $? || failed+=( "$dep" )
|
||||
done
|
||||
if [[ ${failed[@]} ]]; then
|
||||
echo
|
||||
eerror "One or more modules failed compile:";
|
||||
for dep in "${failed[@]}"; do
|
||||
eerror " ${dep}"
|
||||
done
|
||||
die "Failing due to module compilation errors";
|
||||
fi
|
||||
perl-module_src_test
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue