Re: [Fink-users] Can't Update libx264-shlibs with OS 10.4.11 Either

2009-02-05 Thread Mike Zanker
On 04/02/09 15:28, Martin Costabel wrote:

 Then fink update gtk+2-shlibs. After that, building libx264-57-shlibs 
 should succeed.

Yup, this works. Do we have to back out this workaround when an
official fink update is committed?

Thanks,

Mike



--
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
___
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users


Re: [Fink-users] Can't Update libx264-shlibs with OS 10.4.11 Either

2009-02-05 Thread drjlevi
At 11:33 AM -0500 2/5/09, Martin Costabel wrote:
drjl...@netonecom.net wrote:
Martin, your script didn't work for some reason. I got the following message:

Scanning package description files...WARNING: End of file reached
during here-document in
/sw/fink/dists/unstable/main/finkinfo/gnome/gtk+2.info.

I'm attaching my amended version of the info file. Do you see anything
wrong? -- Thanks again, Jonathan

Looking very closely, I see that the end-of-line character after the line
you added is ^M (or ctrl-M or \r or 0x0d). This is the Mac line ending. It
should be ^J (or ctrl-J or \n or 0x0a), the Unix line ending.
See if you can convince your text editor to change this.

Or run

  perl -pi -e s/\r/\n/g gtk+2.info

--
Martin

I corrected the ^M using the HexEdit application (and verified that the
instance found and corrected of ^M was the only one in the file) but I
still got

failed to load x264.ico: Couldn't recognize the image file format for
file 'x264.ico'

However, this time at least I didn't get a message about an unexpected end
of file.

Any further ideas? Your patience is much appreciated. Jonathan


--
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
___
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users


Re: [Fink-users] Can't Update libx264-shlibs with OS 10.4.11 Either

2009-02-05 Thread Martin Costabel
drjl...@netonecom.net wrote:
[]
 I corrected the ^M using the HexEdit application (and verified that the
 instance found and corrected of ^M was the only one in the file) but I
 still got
 
 failed to load x264.ico: Couldn't recognize the image file format for
 file 'x264.ico'
 
 However, this time at least I didn't get a message about an unexpected end
 of file.

Are you sure that your newly-rebuilt gtk+2-shlibs is really installed?

--
Martin


--
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
___
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users


Re: [Fink-users] Can't Update libx264-shlibs with OS 10.4.11 Either

2009-02-05 Thread Martin Costabel
Mike Zanker wrote:
[]
 Do we have to back out this workaround when an
 official fink update is committed?

If you use selfupdate-rsync, your modification will be overwritten. So 
there is nothing to worry about.

If you use selfupdate-cvs, it is possible that a cvs conflict appears. 
In this case, the simplest solution is to erase your version of the file 
gtk+2.info and to selfupdate again to obtain the new version.

-- 
Martin


--
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
___
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users


Re: [Fink-users] Can't Update libx264-shlibs with OS 10.4.11 Either

2009-02-05 Thread Mike Zanker
On 04/02/09 15:28, Martin Costabel wrote:

 Then fink update gtk+2-shlibs. After that, building libx264-57-shlibs 
 should succeed.

Yup, this works. Do we have to back out this workaround when an 
official fink update is committed?

Thanks,

Mike


--
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
___
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users


Re: [Fink-users] Can't Update libx264-shlibs with OS 10.4.11 Either

2009-02-04 Thread Martin Costabel
drjl...@netonecom.net wrote:
 I can't understand from notes by Martin et al -- is there some kind of
 workaround for this while the problem's being fixed? -- Jonathan

My workaround is the following, based on the patch indicated by Ian Allison:

Edit the file

  /sw/fink/dists/unstable/main/finkinfo/gnome/gtk+2.info

by adding a line to the PatchScript (at the end of the PatchScript 
block, before the line with , in my case this gives line 67)

  perl -pi -e 's|(g_content_type_guess \()NULL|$1filename|' 
gdk-pixbuf/gdk-pixbuf-io.c

Note that this is one line, with a blank between the second ' and 
gdk-pixbuf/

For good measure, edit also line 3 and change the Revision from 2 to 2.0.

Then fink update gtk+2-shlibs. After that, building libx264-57-shlibs 
should succeed.

-- 
Martin


--
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
___
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users


[Fink-users] Can't Update libx264-shlibs with OS 10.4.11 Either

2009-02-04 Thread drjlevi
I can't understand from notes by Martin et al -- is there some kind of
workaround for this while the problem's being fixed? -- Jonathan


--
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
___
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users


Re: [Fink-users] Can't Update libx264-shlibs with OS 10.4.11 Either

2009-02-04 Thread Stan Sanderson

On Feb 4, 2009, at 9:28 AM, Martin Costabel wrote:

 drjl...@netonecom.net wrote:
 I can't understand from notes by Martin et al -- is there some kind  
 of
 workaround for this while the problem's being fixed? -- Jonathan

 My workaround is the following, based on the patch indicated by Ian  
 Allison:

 Edit the file

 /sw/fink/dists/unstable/main/finkinfo/gnome/gtk+2.info

 by adding a line to the PatchScript (at the end of the PatchScript
 block, before the line with , in my case this gives line 67)

 perl -pi -e 's|(g_content_type_guess \()NULL|$1filename|'
 gdk-pixbuf/gdk-pixbuf-io.c

 Note that this is one line, with a blank between the second ' and
 gdk-pixbuf/

 For good measure, edit also line 3 and change the Revision from 2 to  
 2.0.

 Then fink update gtk+2-shlibs. After that, building libx264-57- 
 shlibs
 should succeed.

 -- 

I followed Martin's suggestion and as a result was able to update  
Gimp2 successfully.

Thanks!

Stan



--
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
___
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users


Re: [Fink-users] Can't Update libx264-shlibs with OS 10.4.11 Either

2009-02-04 Thread drjlevi
Martin, your script didn't work for some reason. I got the following message:

Scanning package description files...WARNING: End of file reached
during here-document in
/sw/fink/dists/unstable/main/finkinfo/gnome/gtk+2.info.

I'm attaching my amended version of the info file. Do you see anything
wrong? -- Thanks again, Jonathan

gtk+2.info
Description: Binary data
--
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com___
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users


Re: [Fink-users] Can't Update libx264-shlibs with OS 10.4.11 Either

2009-02-04 Thread Martin Costabel
drjl...@netonecom.net wrote:
 Martin, your script didn't work for some reason. I got the following message:
 
 Scanning package description files...WARNING: End of file reached
 during here-document in
 /sw/fink/dists/unstable/main/finkinfo/gnome/gtk+2.info.
 
 I'm attaching my amended version of the info file. Do you see anything
 wrong? -- Thanks again, Jonathan

Looking very closely, I see that the end-of-line character after the 
line you added is ^M (or ctrl-M or \r or 0x0d). This is the Mac line 
ending. It should be ^J (or ctrl-J or \n or 0x0a), the Unix line ending.
See if you can convince your text editor to change this.

Or run

   perl -pi -e s/\r/\n/g gtk+2.info

-- 
Martin


--
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
___
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users