Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ошибка сборки в gentoo #133

Open
BourzRoss opened this issue Jan 21, 2020 · 2 comments
Open

Ошибка сборки в gentoo #133

BourzRoss opened this issue Jan 21, 2020 · 2 comments

Comments

@BourzRoss
Copy link

cp: cannot stat /tmp/portage/app-office/mytetra-1.44.55-r10/work/mytetra_dev-v.1.44.55/app/../thirdParty/mimetex/build/bin/mimetex: No such file or directory

OS >>> Gentoo Base System release 2.6 x86_64
Kernel >>> 5.4.12-gentoo-20200117-0243
dev-qt/qtcore Установленные версии: 5.13.2
sys-devel/gcc Установленные версии: 9.2.0

@xintrea
Copy link
Owner

xintrea commented Feb 2, 2020

Не собрался визуализатор формул mimetex. Такое впечатление, что собираете не mytetra.pro, а app.pro без mimetex.pro, хотя одно от другого зависит.

И еще, для сборки лучше использовать Qt 5.12.6, ибо в ветке 5.13.x в конец разломали QTextEdit, редактирование текста будет глючить на ровном месте.

@chelovechishko
Copy link

As a workaround you could use:

# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

inherit qmake-utils

DESCRIPTION="Smart manager for information collecting"
HOMEPAGE="https://github.com/xintrea/mytetra_dev"

if [[ ${PV} == "9999" ]] ; then
	inherit git-r3
	EGIT_BRANCH="experimental"
	EGIT_REPO_URI="https://github.com/xintrea/mytetra_dev.git"
else
	SRC_URI="https://github.com/xintrea/${PN}_dev/archive/v.${PV}.tar.gz"
	KEYWORDS="~amd64 ~x86"
	S="${WORKDIR}/${PN}_dev-v.${PV}/"
fi

LICENSE="GPL-3"
SLOT="0"
IUSE="debug"

RDEPEND="dev-qt/qtgui:5
	dev-qt/qtcore:5
	dev-qt/qtxmlpatterns:5
	dev-qt/qtsvg:5"

DEPEND="${RDEPEND}"

src_prepare() {
	sed 's|/usr/local/bin|/usr/bin|' -i app/app.pro
	eapply_user
}

src_configure() {
	eqmake5 -recursive
}

src_compile() {
	emake -C "thirdParty/mimetex" -f Makefile.mimetex
	emake -C "app" -f Makefile.app
	emake
}

src_install() {
	emake install INSTALL_ROOT="${D}"
	einstalldocs
}

Do not know how to do it properly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants