Package Details: xv 6.0.2-1

Git Clone URL: https://aur.archlinux.org/xv.git (read-only, click to copy)
Package Base: xv
Description: A nice image viewer
Upstream URL: https://github.com/jasper-software/xv
Licenses: LicenseRef-xv
Submitter: City-busz
Maintainer: eugene
Last Packager: eugene
Votes: 13
Popularity: 0.027471
First Submitted: 2017-01-22 18:55 (UTC)
Last Updated: 2024-10-15 17:16 (UTC)

Latest Comments

eugene commented on 2024-08-14 16:46 (UTC)

@connaisseur I use provided install script to build the package. It seems it copies desktop / icon file into the proper directories. What's your issue?

connaisseur commented on 2024-08-14 08:14 (UTC)

@eugene Could you please package the desktop / icon file into the proper directories of the package?

They have been added with the 6.0 release of the source.

Source files are located in ${srcdir}/xv/src/contrib.

Thanks!

eugene commented on 2022-05-23 18:37 (UTC)

@MarsSeed, I was not sure about the status of the project. I will use 4.0.0 as next version arrives.

MarsSeed commented on 2022-05-23 16:29 (UTC)

The tag is v4.0.0-alpha7. Why didn't you change the version to that?

The original Trilon XV is not maintained anymore. There won't be any new Trilon XV versions.

Jasper Software is maintaining and updating that software with the permission of the original author. Huge amounts of work went into modernizing the code.

Is there any specific reason to hide the Jasper-maintained package version in this AUR build?

fhdrin commented on 2022-05-22 19:27 (UTC)

this builds and runs. https://github.com/jasper-software/xv.git

ecloud commented on 2021-10-10 11:38 (UTC)

It doesn't seem to be compatible with the current jasper version:

xvjp2k.c:79:5: error: conflicting types for ‘jas_memdump’; have ‘int(FILE , void , size_t)’ {aka ‘int(FILE , void , long unsigned int)’} 79 | int jas_memdump(FILE fp,void data,size_t len) {return 0;} | ^~~~~~~~~~~ In file included from /usr/include/jasper/jasper.h:82, from xvjp2k.c:53: /usr/include/jasper/jas_debug.h:107:19: note: previous declaration of ‘jas_memdump’ with type ‘int(FILE , const void , size_t)’ {aka ‘int(FILE , const void , long unsigned int)’} 107 | JAS_DLLEXPORT int jas_memdump(FILE out, const void data, size_t len); | ^~~~~~~~~~~

so I fixed that, then:

cc -o xv -O -DDOPNG -I/usr/include -I/usr/include -DDOJPEG -I/usr/include -DDOTIFF -DUSE_TILED_TIFF_BOTLEFT_FIX -I/usr/include -DDOPDS -DDOJP2K -I/usr/local/include -DMGCSFXDIR=\"/usr/local/lib/xv\" -DDOCDIR=\"/usr/local/share/doc/xv\" -DSYSCONFDIR=\"/etc\" -DXVEXECPATH=\"/usr/local/lib/xv\" xv.o xvevent.o xvroot.o xvmisc.o xvimage.o xvcolor.o xvsmooth.o xv24to8.o xvgif.o xvpm.o xvinfo.o xvctrl.o xvscrl.o xvalg.o xvgifwr.o xvdir.o xvbutt.o xvpbm.o xvxbm.o xvgam.o xvbmp.o xvdial.o xvgraf.o xvsunras.o xvjpeg.o xvps.o xvpopup.o xvdflt.o xvtiff.o xvtiffwr.o xvpds.o xvrle.o xviris.o xvgrab.o vprintf.o xvbrowse.o xvtext.o xvpcx.o xviff.o xvtarga.o xvxpm.o xvcut.o xvxwd.o xvfits.o xvpng.o xvzx.o xvwbmp.o xvpcd.o xvhips.o xvmag.o xvpic.o xvmaki.o xvpi.o xvpic2.o xvvd.o xvmgcsfx.o xvml.o xvjp2k.o -L/usr/lib -ltiff -L/usr/lib -ljpeg -L/usr/lib -lpng -L/usr/lib -lz /usr/local/lib/libjasper.a -L/usr/X11R6/lib -lX11 -lm /usr/bin/ld: cannot find /usr/local/lib/libjasper.a: No such file or directory

fixed that, and then:

cc -o xv -O -DDOPNG -I/usr/include -I/usr/include -DDOJPEG -I/usr/include -DDOTIFF -DUSE_TILED_TIFF_BOTLEFT_FIX -I/usr/include -DDOPDS -DDOJP2K -I/usr/local/include -DMGCSFXDIR=\"/usr/local/lib/xv\" -DDOCDIR=\"/usr/local/share/doc/xv\" -DSYSCONFDIR=\"/etc\" -DXVEXECPATH=\"/usr/local/lib/xv\" xv.o xvevent.o xvroot.o xvmisc.o xvimage.o xvcolor.o xvsmooth.o xv24to8.o xvgif.o xvpm.o xvinfo.o xvctrl.o xvscrl.o xvalg.o xvgifwr.o xvdir.o xvbutt.o xvpbm.o xvxbm.o xvgam.o xvbmp.o xvdial.o xvgraf.o xvsunras.o xvjpeg.o xvps.o xvpopup.o xvdflt.o xvtiff.o xvtiffwr.o xvpds.o xvrle.o xviris.o xvgrab.o vprintf.o xvbrowse.o xvtext.o xvpcx.o xviff.o xvtarga.o xvxpm.o xvcut.o xvxwd.o xvfits.o xvpng.o xvzx.o xvwbmp.o xvpcd.o xvhips.o xvmag.o xvpic.o xvmaki.o xvpi.o xvpic2.o xvvd.o xvmgcsfx.o xvml.o xvjp2k.o -L/usr/lib -ltiff -L/usr/lib -ljpeg -L/usr/lib -lpng -L/usr/lib -lz /usr/lib/libjasper.a -L/usr/X11R6/lib -lX11 -lm /usr/bin/ld: /usr/lib/libjasper.a(jas_debug.c.o): in function jas_setdbglevel': (.text+0x0): multiple definition ofjas_setdbglevel'; xvjp2k.o:xvjp2k.c:(.text+0x241): first defined here /usr/bin/ld: /usr/lib/libjasper.a(jas_debug.c.o): in function jas_getdbglevel': (.text+0x10): multiple definition ofjas_getdbglevel'; xvjp2k.o:xvjp2k.c:(.text+0x23b): first defined here /usr/bin/ld: /usr/lib/libjasper.a(jas_debug.c.o): in function jas_eprintf': (.text+0x20): multiple definition ofjas_eprintf'; xvjp2k.o:xvjp2k.c:(.text+0x24d): first defined here /usr/bin/ld: /usr/lib/libjasper.a(jas_debug.c.o): in function jas_memdump': (.text+0xf0): multiple definition ofjas_memdump'; xvjp2k.o:xvjp2k.c:(.text+0x247): first defined here collect2: error: ld returned 1 exit status make: *** [Makefile:372: xv] Error 1

So I remove the 4 overridden functions, and it builds. Not sure if it's a good idea, based on the comments about why eprintf needs to be overridden.