Package Details: ntk-git 0.r151.5719b00-1

Git Clone URL: (read-only)
Package Base: ntk-git
Description: Fork of FLTK 1.3.0 with additional functionality.
Upstream URL:
Licenses: custom:LGPL
Conflicts: ntk
Provides: ntk
Submitter: imv
Maintainer: lievenmoors
Last Packager: lievenmoors
Votes: 34
Popularity: 1.060133
First Submitted: 2012-12-09 16:07
Last Updated: 2015-07-30 13:00

Latest Comments

lievenmoors commented on 2015-07-30 13:01

Thanks, this is fixed now.

KenjiTakahashi commented on 2015-07-30 03:08

It should makedepend on 'python', not 'python2'. That's what waf will use anyway and it should work fine.

habys commented on 2015-03-24 19:00

Accidentally flagged out of date. Sorry,

Builds fine for me.

kuroneko commented on 2014-05-21 07:27

I figured out the problem. ntk isn't building with clang, you must use g++. Likely clang is being strict about an error that g++ is passing off as a warning.

lievenmoors commented on 2014-05-19 18:23

It builds fine on my computer... Anyone else experiencing this?

kuroneko commented on 2014-05-17 22:29

I haven't been able to build this for quite some time now. I keep getting the build error:

../src/Fl_x.cxx:2193:31: error: 'FORCE_POSITION' is a protected member of 'Fl_Widget'
if (w->flags() & Fl_Widget::FORCE_POSITION) {

Is this an upstream bug? Is anyone else experiencing this problem?

lievenmoors commented on 2014-04-30 18:40

python3/waf issues have been fixed upstream now.

lievenmoors commented on 2014-03-28 20:10


Thanks for the heads up.
I've switched to depending on python2 for the time being...

dudefellaguy commented on 2014-03-28 12:28

The waf configure script fails on my system. Adding this to the PKGBUILD fixed it for me:

prepare() {
cd $_gitname

sed -i 's|^#!/usr/bin/env python|&2.7|' waf

loziniak commented on 2014-01-28 16:45

Overall thought about getting sourcecode from GIT repos: Isn't it better to do "git clone --depth=1"?

imv commented on 2013-12-16 14:48

Updated and abandoned, because currently I don't use anything that depends on ntk. Feel free to adopt.

coderkun commented on 2013-12-13 15:00

This PKGBUILD overrides itself to pkgver=127328b ?

lievenmoors commented on 2013-11-17 20:38

I recently changed the non-daw-git pkgver() function according to
It would be nice if ntk-git would use the same, because it uses the commit
count in git as a release number. This might allow packages depending on ntk-git,
to compare against a specific release.

kris7t commented on 2013-07-25 17:37

The pkgconfig files of this package seem horribly broken, because the option -ansi creeps into the CFLAGS. This makes e.g. Carla impossible to build without first manually patching the ntk.pc, ntk_images.pc and ntk_gl.pc in /usr/lib/pkgconfig. Carla needs to be compiled with -std=gnu++0x, not -ansi, and the -ansi will appear later among the CXXFLAGS than -std=gnu++0x.

lievenmoors commented on 2013-04-27 17:55

Hi, it would be nice if you could update the PKGBUILD so that it
makes use of the new features of pacman 4.1.0 with regard to VCS systems
like git. For more info see:

I've done this for non-daw-git as well, so you could use it a an example.
It simplifies the PKGBUILD a lot, and adds additional features like being
able to get the sources in a standard way ('makepkg -o' e.g.).

imv commented on 2012-12-12 19:26

Thank you! I updated the package.

lievenmoors commented on 2012-12-10 19:59

A couple of comments:

- Running namcap shows that the package has too many dependencies:

namcap ntk-git-20121210-1-x86_64.pkg.tar.xz
ntk-git W: Dependency libx11 included but already satisfied
ntk-git W: Dependency included and not needed ('mesa')
ntk-git W: Dependency libpng included but already satisfied
ntk-git W: Dependency zlib included but already satisfied

- Also the License is not pure LGPL2, so you need to install the license as well.

- Another minor thing is that it might be more standard to use
./waf install --destdir="$pkgdir"

Here is my quick version of the PKGBUILD, feel free to adapt...



pkgdesc="Fork of the Fast Light ToolKit library"
arch=('i686' 'x86_64')
depends=('libxft' 'cairo' 'libjpeg')
makedepends=('git' 'python')


build() {
cd "$srcdir"
msg "Connecting to GIT server...."

if [[ -d "$_gitname" ]]; then
cd "$_gitname" && git pull origin
msg "The local files are updated."
git clone "$_gitroot" "$_gitname"

msg "GIT checkout done or server timeout"
msg "Starting build..."

rm -rf "$srcdir/$_gitname-build"
git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build"
cd "$srcdir/$_gitname-build"

./waf configure --prefix=/usr

package() {
cd "$srcdir/$_gitname-build"
./waf install --destdir="$pkgdir"
install -D -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"

# vim:set ts=2 sw=2 et: