Where's the new Linux version?

Questions, suggestions, and answers for XnView on all Un*x platforms (Linux, HP-UX, AIX, ...)

Moderators: XnTriq, helmut, xnview

User avatar
Remi
Posts: 23
Joined: Mon May 24, 2004 5:08 pm
Location: France, Champagne
Contact:

XnView 1.80.1 under Linux using Wine.

Post by Remi »

New try.

First time, i've only run the Windows installed version (on the NTFS partition)

This time i've install it under wine, and now it run quite well.

Remi.
Guest

waiting for the sun, waiting for the sun.. waiiiiitttttting

Post by Guest »

maybe when new linux version released you can work on the next linux version after that for a year or two and let the windows version slip from release for a year or two and let the windows users mess around trying to emulate a newer linux version?

naw, that would never happen.

still waiting for that newer linux version.

and waiting.....

and waiting..............

and waiting...

Flame away but if this was open source I wouldn't have to wait. :)
Guest

Re: waiting for the sun, waiting for the sun.. waiiiiitttttt

Post by Guest »

Anonymous wrote:Flame away but if this was open source I wouldn't have to wait. :)
Why do so many people simply not understand that this is not an option and that nobody needs to justify anything if it is not an option for him? Every software is its author's property and there are dozens of open source image viewers, please do yourself a pleasure and use one of them if you do not like XnView's development model since asking for open source does not accelerate anything. The only thing that decides when the next version will be there is the author's time. You do not have to wait and XnView does not need to imitate something that is already there.

@Pierre: Please be assured that there are many users of the Linux version that do not always try to put pressure towards open source and that are very satisfied with your software

- although it uses Motif
- although the last version is from 2004
- although it is not open source
- although it has an annoying full screen bug
- although it is neither a GNOME nor a KDE application

simply

- because it handles more than the usual BMP/TIFF/PNG/JPEG/XPM
- because it is small
- because it is fast
- because it has few dependencies
- because it just works™.

Thanks for this great work, I appreciate it very much, I am really looking forward to the next version and until then I will use version 1.68.1 because I am very satisfied with it. Thank you very much!
User avatar
xnview
Author of XnView
Posts: 43444
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: waiting for the sun, waiting for the sun.. waiiiiitttttt

Post by xnview »

Anonymous wrote:
Anonymous wrote:Flame away but if this was open source I wouldn't have to wait. :)
Why do so many people simply not understand that this is not an option and that nobody needs to justify anything if it is not an option for him? Every software is its author's property and there are dozens of open source image viewers, please do yourself a pleasure and use one of them if you do not like XnView's development model since asking for open source does not accelerate anything. The only thing that decides when the next version will be there is the author's time. You do not have to wait and XnView does not need to imitate something that is already there.

@Pierre: Please be assured that there are many users of the Linux version that do not always try to put pressure towards open source and that are very satisfied with your software

- although it uses Motif
- although the last version is from 2004
- although it is not open source
- although it has an annoying full screen bug
- although it is neither a GNOME nor a KDE application

simply

- because it handles more than the usual BMP/TIFF/PNG/JPEG/XPM
- because it is small
- because it is fast
- because it has few dependencies
- because it just works™.

Thanks for this great work, I appreciate it very much, I am really looking forward to the next version and until then I will use version 1.68.1 because I am very satisfied with it. Thank you very much!
Thank you very much.
I'll release a 1.70 in middle of september.
Pierre.
David S.

Re: waiting for the sun, waiting for the sun.. waiiiiitttttt

Post by David S. »

xnview wrote:I'll release a 1.70 in middle of september.
This is great. May I help you a tiny little bit with the RPM packaging?

I would like to suggest the following:

- Move the whole application from /usr/X11R6 to /usr and package the app-defaults file as documentation. This might be a good idea because X11R7 is going to be there soon. X11R7 will be binary compatible with X11R6, but it will be installed inside /usr, and /usr/X11R6 will disappear.

- Move the man pages to /usr/share/man/man1 because this is now the location that is used by all Linux distros.

- Encode the documentation files in UTF-8 instead of ISO8859-1 because this is now the default character encoding on all distributions. This is not required for more sophisticated editors like the GNOME and KDE ones, but it is required for the "more" and "less" commands.

- Leave the Filters in /usr/share/XnView, where they are, because this is the correct place.

- Create desktop menu entries for GNOME and KDE because it's convenient for the users and very easy to do.

The following is a sample SPEC file which will build an RPM, as described above, from the binary tarball of version 1.68.1.

Code: Select all

#
# spec file for package XnView (Version 1.68.1)
#
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#

%define _prefix /usr

Name:         XnView
License:      Freeware
Group:        Productivity/Graphics/Viewers
Summary:      Efficient multimedia viewer, browser and converter
Summary(fr):  ...enter French summary here, if desired...
Summary(de):  ...enter German summary here, if desired...
Version:      1.68.1
Release:      0
URL:          http://perso.wanadoo.fr/pierre.g/
Source0:      XnView-x86-unknown-linux2.x-static.tgz
Source1:      xnview.png
BuildRoot:    %{_tmppath}/%{name}-%{version}-build
BuildArch:    i386

%description
XnView is a utility for viewing and converting graphic files. XnView is
provided as Freeware for private non-commercial or educational use.



Authors:
--------
    Pierre-Emmanuel Gougelet <pierre.g@wanadoo.fr>

%description -l fr
...enter French description here, if desired...

%description -l de
...enter German description here, if desired...

%prep
%setup -n XnView-1.68-x86-unknown-linux2.x-static

%build
for i in *.txt ; do
   iconv -f ISO8859-1 -t UTF-8 $i > $i.tmp && mv $i.tmp $i
done

%install
rm -rf %{buildroot}
mkdir -p %{buildroot}%{_prefix}/bin
cp bin/* %{buildroot}%{_prefix}/bin
mkdir -p %{buildroot}%{_prefix}/lib
cp lib/libformat.so.4.16 %{buildroot}%{_prefix}/lib
ln -s libformat.so.4.16 %{buildroot}%{_prefix}/lib/libformat.so
mkdir -p %{buildroot}%{_prefix}/share/man/man1
cp man/* %{buildroot}%{_prefix}/share/man/man1
mkdir -p %{buildroot}%{_prefix}/share/pixmaps
cp %{SOURCE1} %{buildroot}%{_prefix}/share/pixmaps
mkdir -p %{buildroot}%{_prefix}/share/XnView/Filters
cat << EOF > %{buildroot}%{_prefix}/share/XnView/Filters/udf-def.dat
# XnView UDF v1.0 (do not edit)
average 3 | 3 1 0 | 1x9
average 5 | 5 25 0 | 1x25
blur | 3 16 0 | 1 2 1 2 4 2 1 2 1
emboss | 3 1 128 | -1 0x7 -1
EOF
mkdir -p %{buildroot}%{_prefix}/share/applications
cat << EOF > %{buildroot}%{_prefix}/share/applications/xnview.desktop
[Desktop Entry]
Encoding=UTF-8
Name=XnView
GenericName=Image Viewer
Type=Application
Exec=xnview
Icon=xnview.png
Categories=Application;Graphics;Viewer;
EOF

%clean
rm -rf %{buildroot}

%post
/sbin/ldconfig

%postun
/sbin/ldconfig

%files
%defattr(-,root,root)
%doc *.txt app-defaults/XnView.ad
%{_prefix}/bin/nconvert
%{_prefix}/bin/nview
%{_prefix}/bin/xnview
%{_prefix}/lib/libformat.so
%{_prefix}/lib/libformat.so.4.16
%{_prefix}/share/XnView
%{_prefix}/share/applications/xnview.desktop
%{_prefix}/share/pixmaps/xnview.png
%{_prefix}/share/man/man1/nview.1*
%{_prefix}/share/man/man1/xnview.1*

%changelog -n XnView
* Tue Aug 23 2005 - root@localhost
- initial package
I am using the following Icon as Source1:

Image

This will create an RPM with the described feautures and a nice menu entry for KDE and GNOME. Feel free to use it for your own package, and again thanks for your great software!
Cyrille

Post by Cyrille »

ca va faire des heureux car on n'a pas grand chose à se mettre sous la dent. Par contre pourquoi pas la derniere version sans indiscretion ?
Sabin

Post by Sabin »

To the english-speakers : Cyrille told «that will make happy guys, because we don't have much to feast on. However, why not the latest version, if I may ask ?»

Maybe, IMHO, the version numbers incrementation is made according to the progress of the windows version, and, maybe, the nux 1.70 will already work like the latest win version ? Anyway, a version without that bloody fullscreen bug will be a marvel :o)
Post Reply