[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: inclusion of `hintview` into Debian



On 20.07.2023 17:36, Erik Braun wrote:

Hi Erik,

are there any plans to include Martin Ruckert's `hintview`
(https://hint.userweb.mwn.de/) into Debian?

Currently not, but this may change.

Since the corresponding `hitex` is included in the actual TeXlive,
this would be great, of course. If not – what can I do to make that
happen? The program is released unter the GPL and creating Debian packages of this program is not a big thing, but certainly, there are
higher hurdles.

I'm not sure, what topic, you want to discuss here. The formal way to bring a new program / package into Debian is known and I've done it a few times. Therefore I concentrated on building the program as found on Martins Web page.

After downloading I created a draft Debian source package, but failed to build it:

/usr/bin/cc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate- time -D_FORTIFY_SOURCE=2 -Wl,-z,relro CMakeFiles/get.dir/get.c.o CMakeFiles/hfonts.dir/hfonts.c.o CMakeFiles/hint.dir/hint.c.o CMakeFiles/hrender.dir/hrender.c.o CMakeFiles/htex.dir/htex.c.o CMakeFiles/main.dir/main.c.o CMakeFiles/renderOGL.dir/renderOGL.c.o CMakeFiles/tables.dir/tables.c.o -o hintview /usr/lib/x86_64-linux-gnu/libGLEW.so /usr/lib/x86_64-linux-gnu/libglfw.so.3.3 /usr/lib/x86_64-linux-gnu/libfreetype.so /usr/lib/x86_64-linux-gnu/libz.so /usr/bin/ld: CMakeFiles/renderOGL.dir/renderOGL.c.o: undefined reference to symbol 'glEnable'

Unfortunately I don't know a way how to find out, which package provides a library containing a specific symbol. I guess I provided all build depend, of course I'm not sure. The precompiled binary from the web page does not run on Debian unstable, b/c it is linked with a lib, which does not exist.

The texlive-bin source package I've uploaded recently into Debian still contained the hintview sources, but they were deleted later on [1].

My impression is that the program uses an outdated version of libglew and is not able to use more recent ones. At least the version in Debian is unusable. Martin started a new development on [2], but I don't have the impression, that this stuff is end user ready. Let me know, if you find a way to compile the program on Debian, then we may start packaging.

Hilmar

[1] https://github.com/TeX-Live/texlive-source/blob/3ba07fb4c152f7ebb0b433edebd4dbf97ca76b86/texk/web2c/hitexdir/ChangeLog#L5
[2] https://github.com/ruckertm/HINT
--
sigfault

Attachment: OpenPGP_signature
Description: OpenPGP digital signature


Reply to: