[Nix-dev] Re: +SPAM [Nix-commits] SVN commit: nix - 18024 - eelco - libjpeg
Lluís Batlle
viriketo at gmail.com
Thu Oct 29 15:23:29 CET 2009
Yes, shocking! But this libjpeg 7 does not have the
super-decompression algorithms they /promised/ in 6b!
I worked on those algorithms a few years ago on my own, following the
libjpeg roadmap more or less. Finally I decided not to update libjpeg,
but make a new GUI program allowing great jpeg decompression.
http://vicerveza.homeunix.net/~viric/soft/qjpegrest/
I never met anyone interested in this. If anyone is, I may try to get
it into nixpkgs.
Happy jpeging,
Lluís.
2009/10/29 Eelco Dolstra <e.dolstra at tudelft.nl>:
> Author: eelco
> Date: 2009-10-29 14:13:07 +0000 (Thu, 29 Oct 2009)
> New Revision: 18024
>
> You can view the changes in this commit at:
> https://svn.nixos.org/viewvc/nix?rev=18024&view=rev
>
> Removed:
> nixpkgs/branches/xorg-7.5/pkgs/development/libraries/libjpeg/builder.sh
> Modified:
> nixpkgs/branches/xorg-7.5/pkgs/development/libraries/libjpeg/default.nix
>
> Log:
> * Shocking: a new version of libjpeg!
>
>
> Changes:
>
> Deleted: nixpkgs/branches/xorg-7.5/pkgs/development/libraries/libjpeg/builder.sh
> ===================================================================
> --- nixpkgs/branches/xorg-7.5/pkgs/development/libraries/libjpeg/builder.sh 2009-10-29 13:47:44 UTC (rev 18023)
> +++ nixpkgs/branches/xorg-7.5/pkgs/development/libraries/libjpeg/builder.sh 2009-10-29 14:13:07 UTC (rev 18024)
> @@ -1,25 +0,0 @@
> -source $stdenv/setup
> -
> -preConfigure() {
> - # Workarounds for the ancient libtool shipped by libjpeg.
> - ln -s $libtool/bin/libtool .
> - cp $libtool/share/libtool/config.guess .
> - cp $libtool/share/libtool/config.sub .
> -}
> -
> -preInstall() {
> - mkdir $out
> - mkdir $out/bin
> - mkdir $out/lib
> - mkdir $out/include
> - mkdir $out/man
> - mkdir $out/man/man1
> -}
> -
> -patchPhase() {
> - for i in $patches; do
> - patch < $i
> - done
> -}
> -
> -genericBuild
> \ No newline at end of file
>
> Modified: nixpkgs/branches/xorg-7.5/pkgs/development/libraries/libjpeg/default.nix
> ===================================================================
> --- nixpkgs/branches/xorg-7.5/pkgs/development/libraries/libjpeg/default.nix 2009-10-29 13:47:44 UTC (rev 18023)
> +++ nixpkgs/branches/xorg-7.5/pkgs/development/libraries/libjpeg/default.nix 2009-10-29 14:13:07 UTC (rev 18024)
> @@ -1,29 +1,18 @@
> -{stdenv, fetchurl, libtool, static ? false, ...}:
> +{ stdenv, fetchurl, libtool, static ? false }:
>
> stdenv.mkDerivation {
> - name = "libjpeg-6b";
> + name = "libjpeg-7";
>
> - builder = ./builder.sh;
> -
> src = fetchurl {
> - url = http://www.ijg.org/files/jpegsrc.v6b.tar.gz;
> - md5 = "dbd5f3b47ed13132f04c685d608a7547";
> + url = http://www.ijg.org/files/jpegsrc.v7.tar.gz;
> + sha256 = "1gvy6f83pskxrxwnxqah3g9mhnlgi6aph39b99609gn50ri8ddsh";
> };
>
> - inherit libtool;
> -
> configureFlags = "--enable-shared ${if static then " --enable-static" else ""}";
> -
> - # Required for building of dynamic libraries on Darwin.
> - patches = [
> - (fetchurl {
> - url = http://svn.macports.org/repository/macports/trunk/dports/graphics/jpeg/files/patch-ltconfig;
> - md5 = "e6725fa4a09aa1de4ca75343fd0f61d5";
> - })
> - (fetchurl {
> - url = http://svn.macports.org/repository/macports/trunk/dports/graphics/jpeg/files/patch-ltmain.sh;
> - #md5 = "489986ad8e7a93aef036766b25f321d5";
> - md5 = "092a12aeb0c386dd7dae059109d950ba";
> - })
> - ];
> +
> + meta = {
> + homepage = http://www.ijg.org/;
> + description = "A library that implements the JPEG image file format";
> + license = "free";
> + };
> }
>
> _______________________________________________
> nix-commits mailing list
> nix-commits at cs.uu.nl
> http://mail.cs.uu.nl/mailman/listinfo/nix-commits
>
More information about the nix-dev
mailing list