Package Base Details: qtikz-git

Git Clone URL: https://aur.archlinux.org/qtikz-git.git (read-only)
Submitter: haawda
Maintainer: haawda
Last Packager: haawda
Votes: 12
Popularity: 0.000002
First Submitted: 2016-01-31 22:15
Last Updated: 2018-07-02 10:48

Packages (2)

Latest Comments

« First ‹ Previous 1 2 3 Next › Last »

leuko commented on 2017-05-26 14:25

During build I get the following error:
make: lrelease: Command not found

A quick fix is adding lrelease to the PATH and start building again:
export PATH=$PATH:/usr/lib/qt4/bin
# Now start building the package again

haawda commented on 2016-04-10 08:51

Thanks, fixed

michi7x7 commented on 2016-04-09 10:41

The makefile.diff needs updating, adding the "-F3" option to patch (PKGBUILD line 34) for fuzzy matching works too.

Also the package installs everything to /usr/usr/..., changing the last line to
make INSTALL_ROOT="$pkgdir" install
fixes that

angyath commented on 2016-01-25 14:44

That PKGBUILD works for me, but needs a qt5-tools makedepend.

Also, pkgbase needs to be pkgname.

haawda commented on 2015-10-15 02:30

Thanks for the hint. Does the following PKGBUILD work for you? For me it does not, and I do not see why.

LANG=C
# Maintainer: Stefan Husmann <stefan-husmann@t-online.de>

pkgbase=qtikz-git
pkgver=r196.ab7bd73
pkgrel=1
pkgdesc="Small application helping you to create TikZ diagrams"
arch=('i686' 'x86_64')
url="https://github.com/fhackenberger/ktikz"
license=('GPL')
depends=('poppler-qt5' 'shared-mime-info' 'desktop-file-utils')
makedepends=('git' 'texlive-core')
provides=('qtikz')
conflicts=('qtikz')
install=qtikz.install
source=("git+https://github.com/fhackenberger/ktikz")
md5sums=('SKIP')
_gitname=ktikz

pkgver() {
cd "$_gitname"
printf "r%s.%s" $(git rev-list --count HEAD) $(git rev-parse --short HEAD)
}

build() {
cd "$_gitname"
[ -d buildqt ] || mkdir buildqt
cd buildqt
qmake ../qtikz.pro
make
}

package() {
cd "$_gitname"/buildqt
make INSTALL_ROOT="$pkgdir/$pkgname" install
}

scampi commented on 2015-10-13 21:39

I failed to install this package, because it is unable to connect to the repo "hackenberger.at/svnroot/ktikz/trunk". The source seems to be at https://github.com/fhackenberger/ktikz now.

haawda commented on 2013-04-08 21:58

Thanks, applied.

guotsuan commented on 2013-04-08 21:34

make[1]: Entering directory `/tmp/yaourt-tmp-dccf87/aur-qtikz-svn/src/qtikz/buildqt/app'
lrelease-qt4 -silent ../../translations/cs/qtikz_cs.ts -qm locale/qtikz_cs.qm
lrelease-qt4 -silent ../../translations/de/qtikz_de.ts -qm locale/qtikz_de.qm
lrelease-qt4 -silent ../../translations/es/qtikz_es.ts -qm locale/qtikz_es.qm
lrelease-qt4 -silent ../../translations/fr/qtikz_fr.ts -qm locale/qtikz_fr.qm
qcollectiongenerator ../../doc/qtikz.qhcp -o ../../doc/qtikz.qhc
make[1]: qcollectiongenerator: Command not found
make[1]: *** [../../doc/qtikz.qhc] Error 127
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory `/tmp/yaourt-tmp-dccf87/aur-qtikz-svn/src/qtikz/buildqt/app'
make: *** [sub-app-make_default] Error 2
==> ERROR: A failure occurred in build().
Aborting...
==> ERROR: Makepkg was unable to build qtikz-svn.
==> Restart building qtikz-svn ? [y/N]
===============================================================
Hi,

I think, for qt4 compatibility, You may also need to changeQCOLLECTIONGENERATORCOMMAND = qcollectiongenerator-qt4
The qt4.patch will looks:
----------------------------------------------------------------------
--- orig/qtikzconfig.pri 2013-04-08 22:23:08.780509972 +0100
+++ new/qtikzconfig.pri 2013-04-08 22:24:54.250467478 +0100
@@ -40,11 +40,11 @@
CONFIG += release

# qmake command:
-#QMAKECOMMAND = qmake-qt4
+QMAKECOMMAND = qmake-qt4
# lrelease command:
-#LRELEASECOMMAND = lrelease-qt4
+LRELEASECOMMAND = lrelease-qt4
# qcollectiongenerator command:
-#QCOLLECTIONGENERATORCOMMAND = qcollectiongenerator
+QCOLLECTIONGENERATORCOMMAND = qcollectiongenerator-qt4

# TikZ documentation default file path:
TIKZ_DOCUMENTATION_DEFAULT = "/usr/share/doc/texmf/pgf/pgfmanual.pdf.gz"

-------------------------------------------------------------------------
and in PKGBUILD
I need to change cd $_svnmod-build to $_svnmod for successful building.


haawda commented on 2013-03-08 19:44

Added a qt4 compatibility patch.

haawda commented on 2011-03-08 19:34

The icon is there again. Thanks again, Glad.