Return-Path: <tiff-bounces@lists.maptools.org>
Received: from inas026.isp.belgacom.be (localhost [127.0.0.1])
        by inav030.isp.belgacom.be (8.12.11.20060308/8.12.11/Skynet-IN-AV-3.00) with ESMTP id k9D5SKgT026002
        for <joris.at.lebbeke@skynet.be>; Fri, 13 Oct 2006 07:28:20 +0200
        (envelope-from <tiff-bounces@lists.maptools.org>)
Received: from inmx014.isp.belgacom.be (inmx014.isp.belgacom.be [195.238.4.217])
        by inas026.isp.belgacom.be (8.12.11.20060308/8.12.11/Skynet-IN-AS-2.03) with ESMTP id k9D5SC9T027551
        for <joris.at.lebbeke@skynet.be>; Fri, 13 Oct 2006 07:28:12 +0200
        (envelope-from <tiff-bounces@lists.maptools.org>)
Received: from duke.maptools.org (r153.dmsolutions.ca [209.217.116.153] (may be forged))
        by inmx014.isp.belgacom.be (8.12.11.20060308/8.12.11/Skynet-IN-2.32) with ESMTP id k9D5S7hm026706
        for <joris.at.lebbeke@skynet.be>; Fri, 13 Oct 2006 07:28:08 +0200
        (envelope-from <tiff-bounces@lists.maptools.org>)
Received: from duke.maptools.org (duke.maptools.org [127.0.0.1])
	by duke.maptools.org (8.12.11/8.12.10) with ESMTP id k9D5GwbP001146;
	Fri, 13 Oct 2006 01:17:55 -0400
Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.236])
	by duke.maptools.org (8.12.11/8.12.10) with ESMTP id k9D5Gt8g001143
	for <tiff@lists.maptools.org>; Fri, 13 Oct 2006 01:16:55 -0400
Received: by wx-out-0506.google.com with SMTP id s7so764128wxc
	for <tiff@lists.maptools.org>; Thu, 12 Oct 2006 22:16:51 -0700 (PDT)
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com;
	h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references;
	b=fLCyT9BUVAAwnViU/mmUFi7GyH+03QfhXRLbjlWMYFgX74YobBa7QMr4+EV/9TfiUYdEHJ9rFRl4cIExEgOJc0qdasIk9Ke1XrTZ0WxPwwPADnB3xkz1XzJArqdDOP8M3nkRyA5/ISO9rPfq3QDmO6DjoDdxr/OChF+mpkfkEMY=
Received: by 10.70.65.5 with SMTP id n5mr4513255wxa;
	Thu, 12 Oct 2006 22:16:51 -0700 (PDT)
Received: by 10.70.125.8 with HTTP; Thu, 12 Oct 2006 22:16:51 -0700 (PDT)
Message-ID: <11848b2f0610122216u7739b72bl1b3389955b007852@mail.gmail.com>
Date: Fri, 13 Oct 2006 10:46:51 +0530
From: "Anurag Singh" <contact.anurag@gmail.com>
To: "=?ISO-8859-1?Q?Sebastian_B=F6hmer?=" <Sebastian.Boehmer@web.de>
Subject: Re: [Tiff] Handling Of SubIFD in Libtiff Ver 3.8.3
In-Reply-To: <1254383889@web.de>
MIME-Version: 1.0
References: <1254383889@web.de>
Cc: Tiff <tiff@lists.maptools.org>
X-BeenThere: tiff@lists.maptools.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: TIFF and libtiff discussion <tiff.lists.maptools.org>
List-Unsubscribe: <http://lists.maptools.org/mailman/listinfo/tiff>,
	<mailto:tiff-request@lists.maptools.org?subject=unsubscribe>
List-Archive: <http://lists.maptools.org/mailman/private/tiff>
List-Post: <mailto:tiff@lists.maptools.org>
List-Help: <mailto:tiff-request@lists.maptools.org?subject=help>
List-Subscribe: <http://lists.maptools.org/mailman/listinfo/tiff>,
	<mailto:tiff-request@lists.maptools.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============2003802433=="
Sender: tiff-bounces@lists.maptools.org
Errors-To: tiff-bounces@lists.maptools.org
X-UIDL: 000000000023ceae.00001bcd
X-MSP-STORE: Fri, 13 Oct 2006 07:28:21 +0200
Status:   

--===============2003802433==
Content-Type: multipart/alternative; 
	boundary="----=_Part_58647_9764615.1160716611262"

------=_Part_58647_9764615.1160716611262
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

yeah, i am using  TortoiseSVN on windows may be that's the reason i am not
able to merge.
would you please send  me the merged (with patched) code of libtiff ver
8.3.2.

act i was trying manually, but got some reduntant code in patch file that's
why i have confused. Such as in  patch file these snippet are redundant.

  TIFFCleanup(TIFF* tif)


 =09    for (i =3D 0; i < tif->tif_nfields; i++)
 =09    {
-=09=09TIFFFieldInfo *fld =3D tif->tif_fieldinfo[i];
-=09=09if (fld->field_bit =3D=3D FIELD_CUSTOM &&
-=09=09    strncmp("Tag ", fld->field_name, 4) =3D=3D 0)
-=09=09{
-=09=09    _TIFFfree(fld->field_name);
-=09=09    _TIFFfree(fld);
-=09=09}
+=09=09    TIFFFieldInfo *fld =3D tif->tif_fieldinfo[i];
+=09=09    if (fld->field_bit =3D=3D FIELD_CUSTOM &&
+=09=09        strncmp("Tag ", fld->field_name, 4) =3D=3D 0)
+=09=09    {
+=09=09        _TIFFfree(fld->field_name);
+=09=09        _TIFFfree(fld);
+=09=09    }
 =09    }
 =09
 =09    _TIFFfree(tif->tif_fieldinfo);
-=09}
+    }


Although i am trying to find out any solution to merge it, but if possible
please send me the update and merged code of libtiff, I would really
greatful to you,

Thanks
Anurag singh

On 10/12/06, Sebastian B=F6hmer <Sebastian.Boehmer@web.de> wrote:

> Could you please send us the full output? Or was this all under windows
> > :-).
> > I used patch -p1 - a linux tool - to test the merging with the actual
> > libtiff cvs version.
> >
>
> the code lines are under linux:
> $ cvs checkout libtiff
> $ gunzip libtiff-cvs-20061010-add_private_sub_IFD_support.patch.gz
> $ cd libtiff
> $ patch -p1 < ../libtiff-cvs-20061010-add_private_sub_IFD_support.patch
> file .. patched
> ...
> $./configure
> $ make
>
> .. be happy ;-)
>
> For TortoisesSVN I didn't know if the diff file is the correct format. Th=
e
> diff file was created with -urNp attributes.
>
> Perhapse you have a linux box (Knopix) to grab it.
>
> --
> good luck, Sebastian
> PS: I also compiled it with Visual Studio 2003.
>
>
> > Dear all
> >
> > I have downloaded the patch file from bugzilla 1320, i am using
> TortoiseSVN 1.1.1 but i am not able to merge, it says that The line
> "index:" was not found.
> >
> > Might be that diff or patch file is generated by some other software, s=
o
> that svn is not recognise it. Please any one suggest me that how can i me=
rge
> this patch in version libtiff 3.8.2. Or Is there any other option to
> get  fully updated ( with all patches) code of libtiff.
> >
> > Thanks
> > Anurag Singh
>
>
> _____________________________________________________________________
> Der WEB.DE SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
> http://smartsurfer.web.de/?mc=3D100071&distributionid=3D000000000066
>
>

------=_Part_58647_9764615.1160716611262
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

<div><br>yeah, i am using&nbsp; TortoiseSVN on windows&nbsp;may be that's t=
he reason i am not able to merge.</div>
<div>would you please send&nbsp; me the merged (with patched) code of libti=
ff ver&nbsp;8.3.2.</div>
<div>&nbsp;</div>
<div>act i was trying manually, but got some reduntant code in patch file t=
hat's why i have confused. Such as in&nbsp; patch file these snippet are re=
dundant.</div>
<div>&nbsp;</div>
<div>&nbsp; TIFFCleanup(TIFF* tif)<pre>=20
 =09    for (i =3D 0; i &lt; tif-&gt;tif_nfields; i++)=20
 =09    {
-=09=09<font color=3D"#3366ff">TIFFFieldInfo *fld =3D tif-&gt;tif_fieldinfo=
[i];
-=09=09if (fld-&gt;field_bit =3D=3D FIELD_CUSTOM &amp;&amp;=20
-=09=09    strncmp(&quot;Tag &quot;, fld-&gt;field_name, 4) =3D=3D 0)=20
-=09=09{
-=09=09    _TIFFfree(fld-&gt;field_name);
-=09=09    _TIFFfree(fld);
-=09=09}</font>
+=09=09    <font color=3D"#006600">TIFFFieldInfo *fld =3D tif-&gt;tif_field=
info[i];
+=09=09    if (fld-&gt;field_bit =3D=3D FIELD_CUSTOM &amp;&amp;=20
+=09=09        strncmp(&quot;Tag &quot;, fld-&gt;field_name, 4) =3D=3D 0)=
=20
+=09=09    {
+=09=09        _TIFFfree(fld-&gt;field_name);
+=09=09        _TIFFfree(fld);
+=09=09    }</font>
 =09    }  =20
 =09 =20
 =09    _TIFFfree(tif-&gt;tif_fieldinfo);
-=09}
+    }</pre><br>Although i am trying to find out any solution to merge it, =
but if possible please send me the update and merged code of libtiff, I wou=
ld really greatful to you,</div>
<div>&nbsp;</div>
<div>Thanks</div>
<div>Anurag singh</div>
<div>&nbsp;</div>
<div><span class=3D"gmail_quote">On 10/12/06, <b class=3D"gmail_sendername"=
>Sebastian B=F6hmer</b> &lt;<a href=3D"mailto:Sebastian.Boehmer@web.de">Seb=
astian.Boehmer@web.de</a>&gt; wrote:</span></div>
<blockquote class=3D"gmail_quote" dir=3D"ltr" style=3D"PADDING-LEFT: 1ex; M=
ARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<blockquote class=3D"gmail_quote" style=3D"PADDING-LEFT: 1ex; MARGIN: 0px 0=
px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Could you please send us the ful=
l output? Or was this all under windows :-).<br>I used patch -p1 - a linux =
tool - to test the merging with the actual libtiff cvs version.
<br></blockquote><br>the code lines are under linux:<br>$ cvs checkout libt=
iff<br>$ gunzip libtiff-cvs-20061010-add_private_sub_IFD_support.patch.gz<b=
r>$ cd libtiff<br>$ patch -p1 &lt; ../libtiff-cvs-20061010-add_private_sub_=
IFD_support.patch
<br>file .. patched<br>...<br>$./configure<br>$ make<br><br>.. be happy ;-)=
<br><br>For TortoisesSVN I didn't know if the diff file is the correct form=
at. The diff file was created with -urNp attributes.<br><br>Perhapse you ha=
ve a linux box (Knopix) to grab it.
<br><br>--<br>good luck, Sebastian<br>PS: I also compiled it with Visual St=
udio 2003.<br><br><br>&gt; Dear all<br>&gt;<br>&gt; I have downloaded the p=
atch file from bugzilla 1320, i am using TortoiseSVN 1.1.1 but i am not abl=
e to merge, it says that The line &quot;index:&quot; was not found.
<br>&gt;<br>&gt; Might be that diff or patch file is generated by some othe=
r software, so that svn is not recognise it. Please any one suggest me that=
 how can i merge this patch in version libtiff 3.8.2. Or Is there any other=
 option to get&nbsp;&nbsp;fully updated ( with all patches) code of libtiff=
.
<br>&gt;<br>&gt; Thanks<br>&gt; Anurag Singh<br><br><br>___________________=
__________________________________________________<br>Der <a href=3D"http:/=
/WEB.DE">WEB.DE</a> SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu spar=
en!
<br><a href=3D"http://smartsurfer.web.de/?mc=3D100071&amp;distributionid=3D=
000000000066">http://smartsurfer.web.de/?mc=3D100071&amp;distributionid=3D0=
00000000066</a><br><br></blockquote><br>

------=_Part_58647_9764615.1160716611262--

--===============2003802433==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Tiff mailing list: Tiff@lists.maptools.org
http://lists.maptools.org/mailman/listinfo/tiff
http://www.remotesensing.org/libtiff/
--===============2003802433==--
