Package Details: linuxtrack 0.99.19-2

Git Clone URL: https://aur.archlinux.org/linuxtrack.git (read-only, click to copy)
Package Base: linuxtrack
Description: Software for head motion tracking on linux.
Upstream URL: https://github.com/uglyDwarf/linuxtrack
Licenses: MIT
Provides: linuxtrack, trackir-udev
Submitter: blackleg
Maintainer: None
Last Packager: TheGoliath
Votes: 6
Popularity: 0.000931
First Submitted: 2013-01-08 18:48
Last Updated: 2020-05-17 16:12

Latest Comments

1 2 Next › Last »

dreieck commented on 2021-04-28 18:27

Fails to build for me:

gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -O2   '-Wl,-rpath,/usr/lib/linuxtrack' '-DLIB_PATH="/usr/lib/linuxtrack/"' -g0 -march=x86-64 -mtune=native -O3 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -fomit-frame-pointer -fPIC -g -O2 -Wall -Wextra -Wformat -Wformat-security          --param ssp-buffer-size=4 -fstack-protector -D_FORTIFY_SOURCE=2  -c -o ltr_server1-ipc_utils.o `test -f 'ipc_utils.c' || echo './'`ipc_utils.c
In file included from /usr/include/string.h:519,
                 from ipc_utils.c:21:
In function ‘strncpy’,
    inlined from ‘ltr_int_connect_to_socket’ at ipc_utils.c:450:3:
/usr/include/bits/string_fortified.h:95:10: warning: ‘__builtin_strncpy’ specified bound 108 equals destination size [-Wstringop-truncation]
   95 |   return __builtin___strncpy_chk (__dest, __src, __len,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   96 |       __glibc_objsize (__dest));
      |       ~~~~~~~~~~~~~~~~~~~~~~~~~
In function ‘strncpy’,
    inlined from ‘ltr_int_make_socket’ at ipc_utils.c:402:3:
/usr/include/bits/string_fortified.h:95:10: warning: ‘__builtin_strncpy’ specified bound 108 equals destination size [-Wstringop-truncation]
   95 |   return __builtin___strncpy_chk (__dest, __src, __len,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   96 |       __glibc_objsize (__dest));
      |       ~~~~~~~~~~~~~~~~~~~~~~~~~
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -O2   '-Wl,-rpath,/usr/lib/linuxtrack' '-DLIB_PATH="/usr/lib/linuxtrack/"' -g0 -march=x86-64 -mtune=native -O3 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -fomit-frame-pointer -fPIC -g -O2 -Wall -Wextra -Wformat -Wformat-security          --param ssp-buffer-size=4 -fstack-protector -D_FORTIFY_SOURCE=2  -c -o osc_server-osc_server.o `test -f 'osc_server.c' || echo './'`osc_server.c
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -O2   '-Wl,-rpath,/usr/lib/linuxtrack' '-DLIB_PATH="/usr/lib/linuxtrack/"' -g0 -march=x86-64 -mtune=native -O3 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -fomit-frame-pointer -fPIC -g -O2 -Wall -Wextra -Wformat -Wformat-security          --param ssp-buffer-size=4 -fstack-protector -D_FORTIFY_SOURCE=2  -c -o osc_server-linuxtrack.o `test -f 'linuxtrack.c' || echo './'`linuxtrack.c
osc_server.c: In function ‘main’:
osc_server.c:193:47: warning: ‘__builtin___snprintf_chk’ output may be truncated before the last format character [-Wformat-truncation=]
  193 |   snprintf(portString, sizeof(portString), "%d", port);
      |                                               ^
In file included from /usr/include/stdio.h:866,
                 from osc_server.c:1:
/usr/include/bits/stdio2.h:71:10: note: ‘__builtin___snprintf_chk’ output between 5 and 11 bytes into a destination of size 10
   71 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   72 |        __glibc_objsize (__s), __fmt,
      |        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   73 |        __va_arg_pack ());
      |        ~~~~~~~~~~~~~~~~~
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -O2   '-Wl,-rpath,/usr/lib/linuxtrack' '-DLIB_PATH="/usr/lib/linuxtrack/"' -g0 -march=x86-64 -mtune=native -O3 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -fomit-frame-pointer -fPIC -g -O2 -Wall -Wextra -Wformat -Wformat-security          --param ssp-buffer-size=4 -fstack-protector -D_FORTIFY_SOURCE=2  -c -o ltr_recenter-ltr_recenter.o `test -f 'ltr_recenter.c' || echo './'`ltr_recenter.c
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -O2   '-Wl,-rpath,/usr/lib/linuxtrack' '-DLIB_PATH="/usr/lib/linuxtrack/"' -g0 -march=x86-64 -mtune=native -O3 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -fomit-frame-pointer -fPIC -g -O2 -Wall -Wextra -Wformat -Wformat-security          --param ssp-buffer-size=4 -fstack-protector -D_FORTIFY_SOURCE=2  -c -o ltr_recenter-ltr_srv_comm.o `test -f 'ltr_srv_comm.c' || echo './'`ltr_srv_comm.c
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -O2   '-Wl,-rpath,/usr/lib/linuxtrack' '-DLIB_PATH="/usr/lib/linuxtrack/"' -Iqt_gui -g0 -march=x86-64 -mtune=native -O3 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -fomit-frame-pointer -fPIC -g -O2 -Wall -Wextra -Wformat -Wformat-security          --param ssp-buffer-size=4 -fstack-protector -D_FORTIFY_SOURCE=2  -c -o ltr_extractor-hashing.o `test -f 'hashing.c' || echo './'`hashing.c
hashing.c: In function ‘main’:
hashing.c:541:11: warning: this statement may fall through [-Wimplicit-fallthrough=]
  541 |         if(optarg != NULL){
      |           ^
hashing.c:545:7: note: here
  545 |       case 'h':
      |       ^~~~
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -O2   '-Wl,-rpath,/usr/lib/linuxtrack' '-DLIB_PATH="/usr/lib/linuxtrack/"' -Iqt_gui -g0 -march=x86-64 -mtune=native -O3 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -fomit-frame-pointer -fPIC -g -O2 -Wall -Wextra -Wformat -Wformat-security          --param ssp-buffer-size=4 -fstack-protector -D_FORTIFY_SOURCE=2  -c -o ltr_extractor-game_data.o `test -f 'game_data.c' || echo './'`game_data.c
game_data.c: In function ‘get_game_data’:
game_data.c:142:59: error: invalid use of incomplete typedef ‘mxml_node_t’ {aka ‘struct _mxml_node_s’}
  142 |       fprintf(outfile, "%s \"%s\" (%s)\n", id, name, appid->child->value.text.string);
      |                                                           ^~
make[3]: *** [Makefile:1231: ltr_extractor-game_data.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory '/[...]/linuxtrack/src/linuxtrack-0.99.19/src'
make[2]: *** [Makefile:842: all] Error 2
make[2]: Leaving directory '/[...]/linuxtrack/src/linuxtrack-0.99.19/src'
make[1]: *** [Makefile:497: all-recursive] Error 1
make[1]: Leaving directory '/[...]/linuxtrack/src/linuxtrack-0.99.19'
make: *** [Makefile:402: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...

Berniyh commented on 2020-12-12 15:41

There is a qt5 port of linuxtrack available at which might allow to get rid of the qt4 dep: https://github.com/rfvizarra/linuxtrack

Also see this pull request (which wants to pull the qt5 port in) https://github.com/uglyDwarf/linuxtrack/pull/166 and (for opencv4): https://github.com/uglyDwarf/linuxtrack/pull/167

Determinant commented on 2020-08-04 02:21

To resolve the mxml issue, see: https://github.com/uglyDwarf/linuxtrack/commit/8e7a6a8de41c0f9f4eda339233616a699d5b8abb

Ape commented on 2020-07-04 05:19

Fails to build:

game_data.c:142:59: error: invalid use of incomplete typedef ‘mxml_node_t’ {aka ‘struct _mxml_node_s’}
  142 |       fprintf(outfile, "%s \"%s\" (%s)\n", id, name, appid->child->value.text.string);

garyvdm commented on 2019-01-01 12:50

I've disowned this, if someone else wants to take it over.

nic96 commented on 2019-01-01 01:50

I had to replace:

build() {
    cd "$srcdir/${pkgname}-${pkgver}"
    ./configure --prefix=/usr --with-out
    make
}

With:

build() {
    cd "$srcdir/${pkgname}-${pkgver}"
    sed -i 's/opencv >= 2\.0/opencv4/g' configure
    sed -i 's/opencv2\/core\/core\.hpp/opencv2\/core\/core_c\.h/g' src/facetrack.cpp
    sed -i 's/#include <opencv2/#include <opencv4\/opencv2/g' src/facetrack.cpp
    ./configure --prefix=/usr --with-out
    make
}

for it to build successfully.

GrayHatter commented on 2018-03-28 17:29

@phraktal do you want to take ownership of this package?

I will if you don't want to, and can get me your changes...

phraktal commented on 2017-04-02 00:42

I've upgraded the package to 99.19, fixed the md5sum and my trackIR started working. Would be good to upgrade this.

Xanomead commented on 2015-06-04 09:06

Okay, thanks for your reply. I assume it would be fairly easy to modify that one from what I've read whether svn or git everything is the same except for the url for the source?

blackleg commented on 2015-06-01 17:15

You can use linuxtrack-svn and adopt that package.