Package Details: xnviewmp 0.83-1

Git Clone URL: https://aur.archlinux.org/xnviewmp.git (read-only)
Package Base: xnviewmp
Description: An efficient multimedia viewer, browser and converter.
Upstream URL: http://www.xnview.com/en/xnviewmp/
Keywords: graphics
Licenses: custom
Submitter: oliwer
Maintainer: Corax
Last Packager: Corax
Votes: 233
Popularity: 3.647922
First Submitted: 2008-07-25 19:01
Last Updated: 2016-10-09 16:02

Latest Comments

Corax commented on 2016-10-18 23:16

@whoseos Cool, thanks for investigating! I don't think it's directly a shared library issue though, ldd doesn't report any missing library for me either (anyway, the dynamic linker would complain right away otherwise).

whoseos commented on 2016-10-17 14:19

@Corax Damn :(. A first look with ldd and pacman -Qo shows me 44 packages (http://pastebin.com/WZ1MVbQQ) owning the linked libraries. It might just be qt5-base and some other qt5-libs, but I will try to find the minimum required dependencies on a clean arch vm in the next days.

Corax commented on 2016-10-15 17:57

@whoseos It doesn't work for me :/ Using the system libraries, it does launch but it crashes very early: http://pastebin.com/F464DCFD

Do you have any particular library installed?

Corax commented on 2016-10-15 17:25

@whoseos Sounds great! As I mentioned before, for now the qt5 dependencies are useless for now... If it works using the system Qt5 libraries, then that's definitely the way to go!

I'm going to review your patch and replacement script, if it works fine for me too I'm also going to see what can be cleaned up (like the packaged qt5 libraries) before updating the PKGBUILD :)

whoseos commented on 2016-10-15 15:50

@Corax, xnviewmp is not able to use the system theme on KDE Plasma with the included qt5 libraries: http://imgur.com/a/uESZh. To fix this the application has to use the system's global qt5 libraries instead of it's own, which can be achieved by removing the qt.conf file and prepending "/usr/lib:" to LD_LIBRARY_PATH and QT_PLUGIN_PATH in the xnview.sh startup script.
I've uploaded a patch for the PKGBUILD @ http://ix.io/1wnQ and the replacement xnview.sh file @ http://ix.io/1wnk .
It would be great if you could include the changes in the package :)

Corax commented on 2016-10-09 16:02

@martinpoljak Great, adopted :) I've updated the PKGBUILD.

martinpoljak commented on 2016-10-09 13:43

@Corax, if you would like to do, I do it; I'm maintaining it time to time as it's been orphaned. I've disowned it, so claim it!

Corax commented on 2016-10-09 13:37

@martinpoljak If you don't have time to maintain this package, I'd be happy to adopt it.

Corax commented on 2016-10-09 13:35

The current version of the downloaded archives is 0.83 (change pkgver accordingly), here are the md5sums :
md5sums_x86_64=('3c2c5032a0be2b1f0976b50adad8c80b')
md5sums_i686=('4673c827de8aa326761433b2eda85a6b')

phiresky commented on 2016-09-19 12:19

@lmat The failed checksums are caused by the upstream dev not using versioned packages. You can use updpkgsums to fix this locally until the package is updated.

lmat commented on 2016-09-17 22:31

I just tried it out, and it fails to install with "==> Validating source_i686 files with md5sums...
XnViewMP-linux.tgz ... FAILED
==> ERROR: One or more files did not pass the validity check!"

I tried the post that grayich gave in PKGBUILD, but that didn't fix the issue. I'm not exactly waiting on this software, and I have many more to try for photo printing solution. But I thought I would drop a note here for what it's worth!

Corax commented on 2016-07-23 23:15

I'm wondering, why does the package depends on qt5-* at all? XnViewMP is shipped with all the Qt5 libraries it needs, if you use the startup script you don't need Qt5 packages to be installed. Or is that done to pull the dependencies of Qt5 itself?

grayich commented on 2016-03-16 12:10

http://paste.org.ru/?5k7lyt

Crazyachmed commented on 2016-03-11 14:27

With the current version you need to

1) Symlink the tar to so that makepkg succeeds
2) The "Failed to execute child process "/usr/bin/xnviewmp" (Permission denied)" happens because the file is a tar. Just extract it and move it back.

chaos_prevails commented on 2016-03-11 08:36

I run manjaro 15.12 32bit and even after I got this AUR to work, editing two lines in PKGBUILD, diff:
28c28
< md5sums_i686=('947e7f3c8d1d63109d8d6a7fb70bfedb'
---
> md5sums_i686=('02ddd03073564baac32ff8f4c2a59667'
47c47
< zcat "${srcdir}/XnView-archx32.gz" > "${pkgdir}/opt/${pkgname}/XnView"
---
> zcat "${srcdir}/XnViewMP-linux.tgz" > "${pkgdir}/opt/${pkgname}/XnView"

I ended up with
----
Failed to execute command "/usr/bin/xnviewmp %F".
Failed to execute child process "/usr/bin/xnviewmp" (Permission denied)
----
When I started the binary /opt/xnviewmp/XnView directly, I got:
----
This application failed to start because it could not find or load the Qt platform plugin "xcb".

Reinstalling the application may fix this problem.
Aborted (core dumped)
----
libxcb is installed and AFAIK all the dependencies of /opt/xcnviewmp/lib/platforms/libqxcb.so are satisfied (ldd /opt/xcnviewmp/lib/platforms/libqxcb.so).

The only way to get XnViewMP working was using the 0.76 binary from here: http://newsgroup.xnview.com/viewtopic.php?f=82&t=32303
AFAIK you can delete the installed package afterwards with sudo pacman -R xnviewmp
I made a launcher to the binary, that's it!

Gryffyn commented on 2016-03-07 15:13

It's not my pkgbuild. I recently adopted this package, and I've been really busy. I'm going to orphan it, you can take it over.

ptrxyz commented on 2016-03-07 10:14

Your pkgbuild is buggy. According to the specs (https://wiki.archlinux.org/index.php/PKGBUILD#noextract) the "noextract" array should not contain URLs but only filenames.

In addition I have no idea if XnView-archx??.gz is needed or not but if so, add it to the source array and fix the noextract array to only contain the filenames instead of the URLs.

Find an example here: http://ix.io/pvk

tastyminerals commented on 2016-03-06 12:14

Please, fix the package, it has been crashing since like last year, seriously.
==> Starting package()...
gzip: /tmp/yaourt-tmp-tastyminerals/aur-xnviewmp/src/XnView-archx64.gz: No such file or directory
==> ERROR: A failure occurred in package().
Aborting...
==> ERROR: Makepkg was unable to build xnviewmp.
==> Restart building xnviewmp ? [y/N]

hb860 commented on 2016-03-05 12:19

The following block from PKGBUILD should be removed now:
---------
if [ "$CARCH" = "x86_64" ] ; then
zcat "${srcdir}/XnView-archx64.gz" > "${pkgdir}/opt/${pkgname}/XnView"
else
zcat "${srcdir}/XnView-archx32.gz" > "${pkgdir}/opt/${pkgname}/XnView"
fi
---------

petrovo commented on 2016-02-24 16:11

gzip searches XnView-archx64.gz but exists only XnViewMP-linux-x64.tgz ;-)

Gooberslot commented on 2016-02-24 07:42

I don't think the XnView-archx64 file is needed anymore. I'm just running the base package and everything except videos seem to work fine, and I don't think videos have ever worked for me with this program.

vel1k13 commented on 2016-02-23 17:42

happycadaver, thnx :-)

happycadaver commented on 2016-02-23 16:47

I have a Solution:
git clone https://aur.archlinux.org/xnviewmp.git
cd xnviewmp/src
wget http://www.xnview.com/beta/XnView-archx64.gz
cd ..
makepkg -si

frankspace commented on 2016-02-23 14:31

This fails for me, complaining that there is no such file as XnView-archx64.gz.

Gooberslot commented on 2016-02-23 08:43

I realized I had only updated the MD5 for the 64-bit version. Here's another PKGBUILD with the 686 version updated also. I haven't tested it though. Who really runs 32-bit Arch anymore?

http://sprunge.us/QAdR

pethead commented on 2016-02-23 08:17

Gooberslot, thanks!

Gooberslot commented on 2016-02-23 07:11

That's because a new version has been released but this PKGBUILD still hasn't been updated.

Here's the PKGBUILD I used to install the newer version: http://sprunge.us/RCUd

korvinko commented on 2016-02-17 11:20

==> Validating source_x86_64 files with md5sums...
XnViewMp-linux-x64.tgz ... FAILED
XnViewMp-archx64.gz ... Skipped
xnwiewmp.desktop ... Passed

TheKuko commented on 2016-01-11 16:43

Hi, I have a problem with alpha channel in .png files when I want to add them as watermark logo. (http://s8.postimg.org/qawne3aph/tmp.png)

jose1711 commented on 2015-12-25 09:58

ok, here i read it's unsupported: http://newsgroup.xnview.com/viewtopic.php?f=14&t=8171&p=36548&hilit=video#p36548

jose1711 commented on 2015-12-24 23:22

videos are not playing but i suppose this is a known issue

Gryffyn commented on 2015-11-02 00:30

Fixed.

akovia commented on 2015-11-01 15:07

==> Validating source files with md5sums...
XnViewMP-linux-x64.tgz ... Passed
XnView-archx64.gz ... FAILED
xnviewmp.desktop ... Passed
==> ERROR: One or more files did not pass the validity check

fft commented on 2015-11-01 12:09

It fails to check md5sum for XnView-archx64.gz

Gryffyn commented on 2015-10-28 19:29

@remussatala, the way we have source available to us without the risk of the application crashing, version 0.76.1 is not available yet. We shall have to stay with 0.75 until I figure it out.

JoZ3 commented on 2015-10-28 18:44

Continue the version 0.75...

remussatala commented on 2015-10-28 18:12

Is not update. Is still 0.75.

Hudd commented on 2015-10-28 16:35

Also, is libpng12 necessary? xnview seems to work fine without it.

Hudd commented on 2015-10-28 16:35

You should change pkgver to 0.76, because that is (currently) the latest version.

Gryffyn commented on 2015-10-28 14:01

Try that.

Gryffyn commented on 2015-10-28 12:31

Thank you @allencch! I'm still trying to clean this package up from the last maintainer, as many things have changed.

allencch commented on 2015-10-28 11:18

@Gryffyn, there are some changes required for the PKGBUILD,
Line 38, install -m755 "${bname}" "${pkgdir}/usr/bin/${bname}"
And add one more line
ln -s /usr/bin/XnView "${pkgdir}/usr/bin/xnviewmp"
Because the xnviewmp.desktop file will call the "xnviewmp" instead of "XnView".
Besides that, I found the xnview.tgz does not contain the webp.so, rwz_sdk.so, openjp2.so, and ilmimf.so plugins.
So, I created another PKGBUILD based on forum http://newsgroup.xnview.com/viewtopic.php?f=82&t=32303
The PKGBUILD is available here http://pastebin.com/raw.php?i=A145tfQy

willemw commented on 2015-10-28 10:54

==> Starting package()...
install: cannot create regular file ‘/usr/bin/XnView’: Permission denied
==> ERROR: A failure occurred in package().
Aborting...

Fix: change line to:
install -m755 "${bname}" "${pkgdir}/usr/bin/${bname}"

Gryffyn commented on 2015-10-28 08:03

Updated to replacement binary, added libxslt as requested by vinibali.

tastyminerals commented on 2015-10-10 19:30

first segmentation fault, then after I replaced the binary using the link from @baldr I get: xnviewmp: error while loading shared libraries: libQt5MultimediaWidgets.so.5: cannot open shared object file: No such file or directory

vinibali commented on 2015-10-09 18:58

please add the libxslt as dependency.

allencch commented on 2015-10-03 13:16

@baldr, Thank you. That works.

baldr commented on 2015-10-02 18:30

please consider this link:
http://newsgroup.xnview.com/viewtopic.php?f=82&t=32190&sid=ef8200677c42d5040fafa32a6064e2a3

baldr commented on 2015-10-02 18:28

please consider this link:
http://newsgroup.xnview.com/viewtopic.php?f=82&t=31108&sid=ef8200677c42d5040fafa32a6064e2a3

jooch commented on 2015-09-29 14:08

Same problem on x86-64:

XNVIEW restoreGeometry before : 640 480
/usr/bin/xnviewmp: regel 5: 7318 Segmentatiefout (geheugendump gemaakt) "$dirname"/XnView "$@"

Running the binary directly gives the following error:

./XnView
This application failed to start because it could not find or load the Qt platform plugin "xcb".

AFAIK i have all the xcb plugins installed, guess it must be a wrong setup somewhere?

jooch commented on 2015-09-29 13:40

Same problem on x86-64:

XNVIEW restoreGeometry before : 640 480
/usr/bin/xnviewmp: regel 5: 7318 Segmentatiefout (geheugendump gemaakt) "$dirname"/XnView "$@"

Forvord commented on 2015-09-29 07:36

Arch I686:
/usr/bin/xnviewmp: line 5: 14517 Segmentation fault

allencch commented on 2015-09-29 01:20

I don't have "xcb" error. But
Fontconfig error: line 51779151: syntax error
Fontconfig error: Cannot load default config file
XNVIEW restoreGeometry before : 640 480
/usr/bin/xnviewmp: line 5: 16776 Segmentation fault (core dumped) "$dirname"/XnView "$@"

cdown commented on 2015-09-24 00:16

Disowning: I don't use this software much any more (I only brought it to AUR4), and it seems the dependencies are getting pretty complicated without much documentation.

Anonymous comment on 2015-09-23 20:24

According to the WhatsNew.txt file in the downloaded tarball, this version is 0.75 and a lot has changed, despite the version number on the website remaining at 0.72. This version is built with QT 5.4.2 and won't run here. I've tried installing qt5-multimedia qt5-webkit qt5-svg qt5-x11extras, but I'm still getting "This application failed to start because it could not find or load the Qt platform plugin "xcb"." errors.

cdown commented on 2015-09-23 16:24

@mytbk This is the same version number, there is no new release as far as I'm aware.

mytbk commented on 2015-09-23 16:22

@cdown: XnViewMP is a closed source software, it is distributed in binary tarballs without version number, so when they update the software they just update the tarballs.

cdown commented on 2015-09-23 15:36

@scarecrow: Fixed, let me know if you still see problems. It was changed for both the x86 and x86_64 versions, no idea why they changed it upstream.

scarecrow commented on 2015-09-23 15:30

The MD5sum of the 64-bit package (at least) has changed... please update PKGBUILD.

not_anonymous commented on 2015-01-19 17:59

- Here's some (self-explanatory) corrections - I used namcap (Yes namcap can be wrong or over-report.) and pactree ... and these are the *valid* things that could be corrected - (I also bumped the pkgrel to make things easier.)

$ cat diff.PKGBUILD
--- PKGBUILD 2014-12-19 23:26:16.000000000 -0700
+++ PKGBUILD 2015-01-19 10:27:20.060450631 -0700
@@ -9 +9 @@
-pkgrel=1
+pkgrel=2
@@ -15 +15 @@
-depends=('glib2' 'expat' 'libpng12' 'gstreamer0.10-base' 'desktop-file-utils')
+depends=('libpng12' 'gstreamer0.10-base' 'phonon-qt4' 'qtwebkit')
@@ -31,0 +32,4 @@
+prepare() {
+ rm -rf "${srcdir}/XnView/AddOn/.fr-uOM3gq/"
+ rm -rf "${srcdir}/XnView/AddOn/.fr-umBezy/"
+}

kaptoxic commented on 2014-12-19 13:10

md5sum in case of x64 should be change, more specifically, corresponding lines in PKGBUILD should be:

if [ "$CARCH" = 'x86_64' ]; then
source=("XnViewMP-linux-x64-${pkgver}.tgz::http://download.xnview.com/XnViewMP-linux-x64.tgz"
"xnviewmp.desktop")
md5sums=('1e3ffc900abf13795f148156d7796c72'
'24f44d5a881b94daf48775213a57e4ec')
fi

CyberWolf2k14 commented on 2014-12-06 21:16

Please ignore previous about v0.71, I am kind of having on eof those days where my mind is "trying" to go like 5 different directions at once, NOT fun.

CyberWolf2k14 commented on 2014-12-06 21:15

@x33a:
I have NEVER tinkered with anything to do withe packages..EVER. I leave that up to those who definitely have FAR more experience than I do.
I just posted here to let someone know that there was definitely an MD5sum problem with this package. I use the package because I really like it, so woul like it updated. On that, I hope maintainer know it is now up to v0.71, right?

x33a commented on 2014-12-06 04:40

@ CyberWolf2k14,

you know that you can always modify your local copy of PKGBUILD, right?

CyberWolf2k14 commented on 2014-12-05 21:38

Just tried to install/update XnViewMP to v0.70 in Manjaro via AUR, and it fails the MD5 check. Please correct soonest as I really would like to be able to update. Thanks.

JoZ3 commented on 2014-12-05 13:25

Hi, wrong md5sums for XnViewMP-linux-x64.tgz is the correct 4cf73c452890d3ee479fa036f50658e5

pdcalado commented on 2014-10-23 09:12

Hi guys,

Does anybody have any problems with the thumbnails for video files?
XnviewMP will not show thumbnails for any of my mp4 files, even though I have all the required packages mentioned above, plus ffmpegthumbnailer (I have thumbnails for videos working in thunar).
Thanks in advance folks

Lynx commented on 2014-10-14 15:45

Please change -R option to -a. With non-default umask it creating problems with permissions.
--- /tmp/PKGBUILD 2014-10-14 18:49:15.043670499 +0400
+++ /tmp/PKGBUILD.new 2014-10-14 18:41:18.083510804 +0400
@@ -35,10 +35,11 @@
install -d -m755 "${pkgdir}/usr/bin"
install -d -m755 "${pkgdir}/usr/share/applications"

- cp -R "${srcdir}/XnView"/* "${pkgdir}/opt/${pkgname}"
+ cp -a "${srcdir}/XnView"/* "${pkgdir}/opt/${pkgname}"
+ chmod ugo-x "${pkgdir}/opt/${pkgname}"/{xnview.png,xnview_2.png}
ln -s "/opt/${pkgname}/xnview.sh" "${pkgdir}/usr/bin/${pkgname}"

- cp "${pkgname}.desktop" "${pkgdir}/usr/share/applications/${pkgname}.desktop"
+ install -m644 "${pkgname}.desktop" "${pkgdir}/usr/share/applications/${pkgname}.desktop"

install -D -m644 "${srcdir}/XnView/license.txt" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}

Also png files for some reason have execution permissions i don't think it needed.

Nothing4You commented on 2014-10-13 08:33

@G-man this is Arch Linux, not Manjaro

G-man commented on 2014-10-11 11:12

Got the update information in my update manager of Manjaro today.
Update failed with this messages:

failed to commit transaction (conflicting files):
xnviewmp: /opt/xnviewmp/AddOn/lib/Image/ExifTool/Lytro.pm exists in filesystem
xnviewmp: /opt/xnviewmp/AddOn/lib/Image/ExifTool/Nintendo.pm exists in filesystem
xnviewmp: /opt/xnviewmp/AddOn/lib/Image/ExifTool/Palm.pm exists in filesystem

Deleted those files manually, repeated update, OK-done.

simon-nicholls commented on 2014-09-19 15:04

To get file associations working correctly (e.g. open image from Finder in XnViewMP), I had to modify the Desktop Entry to `Exec=xnviewmp %u`, as per:

https://wiki.archlinux.org/index.php/default_applications#Applications_don.27t_appear_in_the_Open_With..._context_menu_.28of_a_file_manager.29

Alister.Hood commented on 2014-09-12 01:37

Any chance you could do something like this, so aur helpers don't give an error and make the user manually delete the "source" whenever there is a new version?:
source=('XnViewMP-linux-0.68.tgz::http://download.xnview.com/XnViewMP-linux.tgz')

mytbk commented on 2014-05-24 01:38

recheck the md5sums and update the package

dotmagic commented on 2014-05-23 19:05

Agree with melTraX....

The md5sum for XnViewMP-linux.tgz 32 bit is: 57cf3b9387f1b8cf6f199d54477fe8d0

Please update package

MelTraX commented on 2014-05-20 12:57

It's highly unlikely that XnViewMP-linux.tgz and XnViewMP-linux-x64.tgz have the same checksum as stated in the PKGBUILD.

Strangely enough both checksums are different now (for me at least):

76c157c2644a6ac1ed75be92e2adeb62 xnviewmp.desktop
57cf3b9387f1b8cf6f199d54477fe8d0 XnViewMP-linux.tgz
059baf72c2557f7dd4eab8e7d6eeb417 XnViewMP-linux-x64.tgz

It's still version 0.68 though.

johneb47 commented on 2014-05-20 05:41

mytbk
small mod to help this programme work correctly.
2nd line of /opt/xnview.sh should read:
dirname="/opt/xnviewmp"
rather than
dirname="$(dirname "$(readlink -e "$0")")"

because when you run the xnviewmp command from /usr/bin $dirname=/usr .
This means that xnviewmp uses all the system libraries rather than the packaged ones.

JoZ3 commented on 2014-05-16 16:52

solved!!! thanks

mytbk commented on 2014-05-16 13:51

Well, maybe there's something wrong upstream. I saw a newer release just now.

JoZ3 commented on 2014-05-16 13:03

Error on the last update:

==> Validating source files with md5sums...
XnViewMP-linux-x64.tgz ... FAILED
xnviewmp.desktop ... Passed
==> ERROR: One or more files did not pass the validity check!
==> ERROR: Makepkg was unable to build xnviewmp.
==> Restart building xnviewmp ? [y/N]
==> -------------------------------------------

mehanoid commented on 2014-03-22 14:23

I found that xnviewmp uses gvfs for moving files to trash.
If package gvfs is not installed, xnviewmp doesn't remove files properly, it just moves them to '~/.local/share/Trash/' (without updating trash metadata).
Maybe add gvfs to dependencies?

willemw commented on 2014-01-07 13:41

In the .install file: it should be 'update-desktop-database -q' (or at least remove the leading slash in /usr).

mytbk commented on 2014-01-07 11:16

Updated.

reik commented on 2013-10-31 17:16

thanks :)

willemw commented on 2013-08-08 20:50

.install file: 'update-desktop-database -q' in post_install and post_remove.
Package should depend on desktop-file-utils.

dotmagic commented on 2013-07-19 08:13

There's a new Version and the checksum is invalid now. Can you please update the package?

Alister.Hood commented on 2013-07-03 17:14

Interesting. I have qt4 installed and it loads against those libraries, not its own copies (which I can delete). I don't have phonon installed, so I didn't test with that...

mytbk commented on 2013-06-12 09:05

Sorry, I ripped the .desktop file from the PKGBUILD shortly after I adopted the package, but I forgot to replace the ${pkgname} to the name of the package.
By the way, I moved the files back to /opt after I read the FSH doc.

mytbk commented on 2013-06-12 09:02

Sorry, I ripped the .desktop file from the PKGBUILD shortly after I adopted the package, but I forgot to replace the ${pkgname} to the name of the package.
By the way, I moved the files back to /opt after I read the FSH doc.

Anonymous comment on 2013-06-12 08:45

hi,

Package works, also I confirm the .desktop "issue" here is an updated one.

[Desktop Entry]
Encoding=UTF-8
Terminal=0
Exec=xnviewmp
Icon=/usr/share/xnviewmp/xnview_2.png
Type=Application
Categories=Graphics;
StartupNotify=true
Name=XnView Multi Platform
GenericName=XnViewMP

---------------- However -------------
still the "bug" with the gnome-shell icon is still present i still see the "old" ugly 16x16 pixmap ... while in the application overview xnview is using the correct from the desktop file ...

.'J

MelTraX commented on 2013-06-12 08:36

${pkgname} in xnviewmp.desktop was not replaced while updating today. So my file looks like this:

[Desktop Entry]
Encoding=UTF-8
Terminal=0
Exec=${pkgname}
Icon=/opt/${pkgname}/xnview.png
Type=Application
Categories=Graphics;
StartupNotify=true
Name=XnView Multi Platform
GenericName=XnViewMP
MimeType=image/bmp;image/gif;image/x-portable-bitmap;image/x-portable-pixmap;image/x-psd;image/x-tga;image/x-xbitmap;image/tiff;image/jpeg;image/x-psd;image/png;image/x-icon;image/x-xpixmap;image/svg+xml;

guoxh commented on 2013-06-12 08:35

xnviewmp.desktop needs to be updated too.

mytbk commented on 2013-06-12 00:59

Files moved to /usr/share from /opt.

mytbk commented on 2013-06-12 00:49

The latest version of xnviewmp for Linux is Version 0.56 (Jun 10 2013).
But the official website is not updated yet.

anonymous_user commented on 2013-06-11 14:23

0.56 is out. Update the md5sum.

mytbk commented on 2013-05-25 08:27

The latest version of xnview for linux is 0.51beta.

Anonymous comment on 2013-05-25 03:27

Is this supposed to be 1kb when installed? yaourt -Ql xnview doesn't even show any files. It didn't show errors and downloaded 2.6MB, but I end up with nothing actually installed.

anonymous_user commented on 2013-04-15 20:31

Xnviewmp complains about libgstapp-0.10.so.0 being missing. Needs a dependency on gstreamer0.10-base.

tastyminerals commented on 2012-11-17 18:03

thanks, manjaro does not have libpng12 however.

x33a commented on 2012-11-17 10:45

@ mountpeaks

that's because it has been moved to the community repo.

https://www.archlinux.org/packages/community/i686/libpng12/

tastyminerals commented on 2012-11-16 23:08

libpng12 dependency was removed from AUR, you can download it here http://sourceforge.net/projects/libpng/files/libpng12/

Anonymous comment on 2012-06-26 14:13

Thank you asphantix, the PKGBUILD has been updated.

Anonymous comment on 2012-06-26 13:29

md5sums are outdated. These are the new ones:

565f20bdd6bb46130324cb5a74b24f45 XnViewMP-linux.tgz
8889f9e5392ca140c9de10504581dfa0 XnViewMP-linux-x64.tgz

Anonymous comment on 2012-06-13 12:46

@Meow

Actually, Pierre, the author of Xnview, uses its custom version of Qt. That's why there is a lot of Qt libraries in the Xnview package and there is no direct dependency with the Qt package thus. I suggest to keep the custom Qt libs to guarantee all the features of XnviewMP. However, I've updated the PKGBUILD according to your suggestions. Thank you.

Meow commented on 2012-06-13 11:59

and this is the install file:
#############################
post_install() {
update-desktop-database -q /usr/share/applications
}
post_upgrade() {
post_install
}
post_remove() {
post_install
}
#############################
P.S variable reference without double quotes is a very bad habit if you can't guarantee that definitely no white space there in it.

Meow commented on 2012-06-13 11:44

I made a little tweak of your PKGBUILD:
######################################
pkgname=xnviewmp
pkgver=0.50
pkgrel=9
pkgdesc='An efficient multimedia viewer, browser and converter (beta release).'
url='http://newsgroup.xnview.com/viewtopic.php?f=60&t=25892'

arch=('x86_64' 'i686')
license=('custom')
depends=('glib2' 'expat' 'libpng12' 'qtwebkit')

source=('http://download.xnview.com/XnViewMP-linux.tgz')
md5sums=('bc26ba6427fc969c823c28813fe32724')

[ "$CARCH" = 'x86_64' ] && source[0]='http://download.xnview.com/XnViewMP-linux-x64.tgz' \
&& md5sums[0]='c3271268196486ae4505f362722213dc'
install=$pkgname.install

package() {
install -d -m755 "${pkgdir}"/opt/${pkgname}
install -d -m755 "${pkgdir}"/usr/bin
install -d -m755 "${pkgdir}"/usr/share/applications

rm "$srcdir"/XnView/lib/libQt*
rm "$srcdir"/XnView/lib/libphonon*

cp -R "${srcdir}"/XnView/* "${pkgdir}"/opt/${pkgname}

ln -s /opt/${pkgname}/xnview.sh "${pkgdir}"/usr/bin/${pkgname}
cat <<-_EOF_ > "$pkgdir"/usr/share/applications/xnviewmp.desktop
[Desktop Entry]
Encoding=UTF-8
Terminal=0
Exec=xnviewmp
Icon=/opt/xnviewmp/xnview.png
Type=Application
Categories=Graphics;
StartupNotify=true
Name=XnView Multi Platform
GenericName=XnViewMP
MimeType=image/bmp;image/gif;image/x-portable-bitmap;image/x-portable-pixmap;image/x-psd;image/x-tga;image/x-xbitmap;image/tiff;image/jpeg;image/x-psd;image/png;image/x-icon;image/x-xpixmap;image/svg+xml;
_EOF_

}

Anonymous comment on 2012-06-13 08:53

Pierre has updated all the packages this morning. md5sum checksums: fixed.
Thank you karol_007.

karol_007 commented on 2012-06-13 08:30

==> Validating source files with md5sums...
XnViewMP-linux.tgz ... FAILED
XnView.desktop ... Passed

The correct one seems to be bc26ba6427fc969c823c28813fe32724.

Anonymous comment on 2012-06-13 06:13

Fixed! Thank you mehanoid.

mehanoid commented on 2012-06-12 23:30

It requires libpng12, please add in dependencies

Anonymous comment on 2012-06-12 21:34

fuchs24, thank you for the flag. The package has been updated.

fuchs24 commented on 2012-06-11 11:28

XnViewMP 0.50 is out.

http://newsgroup.xnview.com/viewtopic.php?f=60&t=25892

fuchs24 commented on 2012-06-11 11:21

XnViewMP 0.50 i out.

http://newsgroup.xnview.com/viewtopic.php?f=60&t=25892

speps commented on 2012-05-10 21:37

xnview now provides bin32-xnview, merging

allencch commented on 2011-07-13 11:26

It requires xorg-fonts-100dpi
And need to add FontPath to xorg.conf

Anonymous comment on 2011-06-23 23:01

Here's the fix: http://newsgroup.xnview.com/viewtopic.php?f=60&t=21669&start=0 we need to extract there libs http://download.xnview.com/XnViewMP-linux-extralib64.tgz to /usr/share/xnviewmp/lib

Also, the xnviewmp.desktop needs to be fixed. Here's a working version:


[Desktop Entry]
Encoding=UTF-8
Terminal=0
Exec=/usr/bin/xnviewmp
Icon=/usr/share/xnviewmp/xnview.png
Type=Application
Categories=Graphics;
StartupNotify=true
Name=XnView Multi Platform
GenericName=XnViewMP

Anonymous comment on 2011-06-23 22:28

I'm not able to run this on x64:
Here's the crashlog: http://pastebin.com/5caT56hY

Anonymous comment on 2011-04-09 11:41

I disowned this package. I still don't have arch installed and hopefully someone will adopt it.

netawater commented on 2011-04-09 05:03

pkgname=xnviewmp
pkgver=035
pkgrel=1
pkgdesc="An efficient image viewer, browser and converter (beta release)."
arch=('i686' 'x86_64')
url="http://newsgroup.xnview.com/viewforum.php?f=60"
license=('unknown')
[ "$CARCH" = "i686" ] && depends=('glib2' 'libpng' 'expat') &&
source=('http://download.xnview.com/XnViewMP-linux.tgz') &&
md5sums=('fc97b438a0b5fa1c1884fa205d6b479b')

[ "$CARCH" = "x86_64" ] && depends=('lib32-glib2' 'lib32-libpng' 'lib32-expat') &&
source=('http://download.xnview.com/XnViewMP-linux-x64.tgz') &&
md5sums=('5ba4a8f3786aa3e0be8a442d0fbd708b')


build() {
cd ${srcdir}

cd XnViewMP-${pkgver}

install -d ${startdir}/pkg/usr/share/xnviewmp
cp -R * ${startdir}/pkg/usr/share/xnviewmp

install -Dm 644 XnView.desktop ${pkgdir}/usr/share/applications/xnviewmp.desktop || return 1

install -d ${pkgdir}/usr/bin/
cd ${pkgdir}/usr/bin/
ln -s ../share/xnviewmp/xnview.sh xnviewmp || return 1

}

Please use this PKGBUILD, I have tested in my machine, and I can't test x86-64

Besides, symbolic link solution for xnviewmp maybe not good, hope you have a better solution

Anonymous comment on 2011-01-28 21:12

I don't have my Archlinux machine these days, so if anyone is willing to post a valid PKGBUILD using the new 32 and 64bit installers, I'd gladly submit it.

anonymous_user commented on 2011-01-27 02:41

0.35 is out.

philou24 commented on 2011-01-10 20:48

try :
LD_LIBRARY_PATH=/opt/lib32/usr/lib
export LD_LIBRARY_PATH

it's ok for me (arch64)

karol_007 commented on 2011-01-05 16:53

OK, it's the way buerbill works (at least at the moment), sorry for the noise.

karol_007 commented on 2011-01-04 23:06

> Those lib32-* packages are on the multilib repository, you only need the if you're running arch at 64bits.
I know that, but why oh why bauerbill wants to download them?
If I'm the only one with the problem maybe it's bauerbill's fault https://bbs.archlinux.org/viewtopic.php?pid=874705#p874705

makepkg has no such problems, it installs the package OK.

Anonymous comment on 2011-01-04 22:41

Those lib32-* packages are on the multilib repository, you only need the if you're running arch at 64bits.

karol_007 commented on 2011-01-03 15:21

I did edit the PKGBUILD and left only 'depends=('glib2' 'libpng' 'expat')' - now it builds and installs OK.

karol_007 commented on 2011-01-03 15:08

Scratch it: I have 'CARCH="i686"'in my /etc/makepkg.conf and I get:

WARNING: about to source /tmp/bauerbill/build/aur/xnviewmp/PKGBUILD
view [v] backup [b] edit [e] continue [ok] skip [s] abort [x] ok
--> resolving lib32-glib2... unresolvable
--> resolving lib32-libpng... unresolvable
--> resolving lib32-expat... unresolvable
--> resolving bash... installed
--> resolving libarchive>=2.7.1... installed
--> resolving libfetch>=2.25... installed
--> resolving pacman-mirrorlist... installed
WARNING: unresolved dependencies: xnviewmp -> lib32-expat (not found)
:: Do you want to ignore the above packages for this operation? [Y/n]

karol_007 commented on 2011-01-03 13:53

I don't have CARCH set and the install process exits because it can't satisfy dependencies: lib32-glib2, lib32-libpng and lib32-expat.
I'm on i686.

Anonymous comment on 2011-01-02 15:09

Updated to version 0.34.

fuchs24 commented on 2010-12-16 10:54

There is a new version out: 0.32

killajoe commented on 2010-12-02 13:56

Same for me on arch64

indianahorst commented on 2010-11-22 17:49

$ xnview
xnview: error while loading shared libraries: libXp.so.6: cannot open shared object file: No such file or directory

$ yaourt libxp
1 extra/libxp 1.0.0-3 [installed]
X11 X Print Library
4 aur/lib32-libxp 1.0.0-4 [installed] (106)
X11 X Print Library

indianahorst commented on 2010-11-22 17:47

extra/libxp 1.0.0-3 [installed]

indianahorst commented on 2010-11-22 17:32

$ xnview
xnview: error while loading shared libraries: libXp.so.6: cannot open shared object file: No such file or directory

Anonymous comment on 2010-10-16 13:00

The 0.30 is win only so I'm unflagging out-of-date.

kotyz commented on 2010-06-20 14:44

Qt 4.6.3-1

Only xnviewmp have this problem.

I also filled the bug report in xnviewmp forum: http://newsgroup.xnview.com/viewtopic.php?f=62&t=20250&p=85135

Anonymous comment on 2010-06-17 18:01

Can you give more info on what qt packages versions you have installed?
Is this the unique qt application that has a problem?

kotyz commented on 2010-06-15 19:59

XnViewMP doesn't start:

[kotyz@behemot ~]$ xnviewmp
Cannot mix incompatible Qt libraries
/usr/bin/xnviewmp: řádek 7: 6274 Neúspěšně ukončen (SIGABRT) $dirname/xnview "$@"

Anonymous comment on 2010-03-31 11:59

Updated to version 0.26. ;)

More info: http://newsgroup.xnview.com/viewtopic.php?f=60&t=19759

Anonymous comment on 2010-03-26 15:02

Adopted and updated to 0.25. :)