help-octave
[Top][All Lists]
Advanced

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

Re: Loading and average PGM files


From: Laurent Hoeltgen
Subject: Re: Loading and average PGM files
Date: Mon, 18 Jun 2012 19:42:33 +0200
User-agent: Mozilla/5.0 (X11; Linux i686; rv:13.0) Gecko/20120615 Thunderbird/13.0.1

On 06/18/2012 04:52 PM, Jordi Gutiérrez Hermoso wrote:
> On 18 June 2012 09:37, Carnë Draug <address@hidden> wrote:
>> I have made this recently, so here's some instructinos how to do it.
>> You'll have to download GraphicsMagick source and when running
>> configure, use the following options
>>
>> ./configure --prefix=${HOME}/.usr --enable-shared --disable-static
>> --with-quantum-depth=16
> 
> A more Debianish way (and therefore Ubuntuish way, I guess) reusing
> the existing .deb packaging goes something like this:
> 
>     1) Add a source package location for your existing packages. Edit
>     /etc/apt/sources.list and add corresponding deb-src lines for
>     every line you see (just copy the deb lines but replace deb with
>     deb-src in the copy). This might already be done.
> 
>     2) Get the source package for graphicsmagick:
> 
>         apt-get source graphicsmagick
> 
>     3) Get the build dependencies for graphicsmagick:
> 
>         sudo apt-get install build-dep graphicsmagick
> 
>     4) Edit debian/rules around where you see the ./configure line and
>     add an option for --with-quantum-depth=16.
> 
>     4a) Optionally, you might also want to edit debian/changelog with
>     a personalised version number and log entry in order to remind you
>     later that you built this package yourself. If you do this, follow
>     the format of other changelog entries, since the Debian build
>     system must parse this changelog.
> 
>     5) Build the package. Standing in the graphicsmagick directory
>     (one above the debian/ directory), do
> 
>         dpkg-buildpackage
> 
>     6) Install the resulting .deb files one directory above with the
>     command
> 
>         sudo dpkg -i foo.deb
> 
>     Note that this builds a bunch of .deb files (9 on my system). You
>     might not want to install all, but be careful about their
>     interdependencies. Personally, I did
> 
>         sudo dpkg -i lib*.deb
> 
> The advantage of this is that you can reuse the existing .deb
> infrastructure to build and track your package. Also, Carnë's
> instructions further below are unnecessary, since they pertain to
> having two conflicting versions of the graphicsmagick library
> installed. Also, if for whatever reason this fails, you can use apt to
> revert to the packaged version in Ubuntu's repositories.
> 
> Following the same instructions as above, but without modifying
> anything in the Octave package, you will also have to rebuild the
> Octave package. If you use this PPA as your deb-src to get the source
> package, you will be able to rebuild the current 3.6.2 Octave release:
> 
>     https://launchpad.net/~dr-graef/+archive/octave-3.6
> 

Just out of curiosity, the above above link points to a ppa for octave
3.6.2 for natty (ubuntu 11.04) and for precise (ubuntu 12.04). Is there
some ppa with octave 3.6.2 for oneiric (e.g. ubuntu 11.10)?

Regards,
Laurent


reply via email to

[Prev in Thread] Current Thread [Next in Thread]