How to create xnview deb package for Ubuntu

Ideas for improvements and requests for new features in XnView MP

Moderators: XnTriq, xnview

User avatar
wubijacq
Posts: 41
Joined: Fri Mar 19, 2010 7:51 pm

Re: How to create xnview deb package for Ubuntu 10.04

Post by wubijacq » Sun Jan 30, 2011 10:08 pm

hello
mplex show us how to do a deb xnviewmp 32bits for a x32 or a x64 system and i thank him. But i do not know how to do a deb xnviewmpXXX-x64 for a x64 linux distro i
I tried to build a deb x64 and i have damages. So be carefull with archive xnviewmp-x64 when compile

mplex
Posts: 6
Joined: Tue Nov 24, 2009 2:29 pm

Re: How to create xnview deb package for Ubuntu

Post by mplex » Thu Mar 24, 2011 6:09 am

I've updated the install script to test the architecture of the xnview binary prior to creating the deb package. If you're downloading the 64-bit version of xnviewmp then you don't need to install the ia32-libs package which is only necessary for installing a 32-bit application on a 64-bit system. The modified install script will now remove the depends line in the control file if it detects a 64-bit binary. I've also changed the application used to install the deb package from dpkg to gdebi since gdebi will automatically prompt users to install dependencies.

To install the 64-bit version of xnviewmp with the new install script:

Code: Select all

install-xnviewmp -u "http://download.xnview.com/XnViewMP-linux-x64.tgz"

User avatar
wubijacq
Posts: 41
Joined: Fri Mar 19, 2010 7:51 pm

Re: How to create xnview deb package for Ubuntu

Post by wubijacq » Thu Mar 24, 2011 5:30 pm

The first time i tried to do a deb with the X64 tarball i forgot to delete the ia32-libs and i think i broke something in the libraries. Now i cannot install properly an other deb ( save on Desktop) with gdebi. Thank you mplex for this new script
Last edited by wubijacq on Fri Mar 25, 2011 6:59 am, edited 1 time in total.

mplex
Posts: 6
Joined: Tue Nov 24, 2009 2:29 pm

Re: How to create xnview deb package for Ubuntu

Post by mplex » Fri Mar 25, 2011 12:37 am

If you have installed a package with unmet dependencies using dpkg (e.g., installing xnviewmp without ia32-libs) you can use the command below to correct the dependencies.

Code: Select all

sudo apt-get -f install

User avatar
wubijacq
Posts: 41
Joined: Fri Mar 19, 2010 7:51 pm

Re: How to create xnview deb package for Ubuntu

Post by wubijacq » Sat Jul 02, 2011 4:51 pm

My system was damaged by an other bad script i have done. Now i have repaired. With your second thread we need too much tools, i think. With your first thread you done and the recommendations of Simon6, just with a text editor and dpkg it was possible to easily build good DEBs. And now with the new xnviewmp-linux-x64, we can build special debx32 or special debx64. I put them on download at http://www.wubijacq.com/xnviewmp/
So you'll find the scripts xnviewmp0.35-new-codes.tar.gz in the same topic

User avatar
wubijacq
Posts: 41
Joined: Fri Mar 19, 2010 7:51 pm

Re: How to create xnview deb package for Ubuntu

Post by wubijacq » Mon Oct 03, 2011 12:35 pm

xnviewmp 0.39 debian packages downloads at http://wubijack.free.fr

salvadhor
Posts: 5
Joined: Tue Sep 06, 2011 5:52 pm

Re: How to create xnview deb package for Ubuntu

Post by salvadhor » Fri Oct 14, 2011 12:37 pm

Hi,

I was able to package XnViewMP and put to my PPA. Ubuntu users can use it by adding it to system (more advanced users):

Code: Select all

sudo add-apt-repository ppa:dhor/myway
And then update & install.

Less advanced users have to open Software Center go to 'Edit -> Sources ... -> Other ... -> Add New' and put:

Code: Select all

deb http://ppa.launchpad.net/dhor/myway/ubuntu YOUR_UBUNTU_VERSION_HERE main


(change YOUR_UBUNTU_VERSION_HERE to Lucid, Maverick or Natty - depends which version are you using)

Good luck :)

sbrbot
Posts: 1
Joined: Fri Feb 24, 2012 12:03 am

Re: How to create xnview deb package for Ubuntu

Post by sbrbot » Fri Feb 24, 2012 12:07 am

wubijacq wrote:xnviewmp 0.39 debian packages downloads at http://wubijack.free.fr
Thank you wubijacq for packaging XN View MP into deb package. I installed it on my 64-bit machine and it works perfect. :D

User avatar
Troken
Posts: 698
Joined: Thu Feb 09, 2006 10:18 am
Location: Sweden

Re: How to create xnview deb package for Ubuntu Karmic (9.10

Post by Troken » Tue Mar 20, 2012 12:11 pm

werebear wrote: ...
Great program, but please post an official .deb!
...
Barry
Yes, its a big question, howcome there isn't an official .deb? We are many Linux-users that are not comfortable with the terminal and terminal commands. It should be easy to use/install for anybody, regardless of the OS.

User avatar
wubijacq
Posts: 41
Joined: Fri Mar 19, 2010 7:51 pm

Re: How to create xnview deb package for Ubuntu

Post by wubijacq » Tue May 01, 2012 1:30 pm

Thank to mplex howto do a DEB, to simon6 recommandations howto make update, to Hizoka howto do a clean GNU/Linux installation, to Thibaud and his nice icons, thanks to Pierre for this the great work and this soft so easy to install on Ubuntu. Pierre has done official xnview debs

Post Reply