Re: [Fink-devel] Confusion with rapidsvn linked libs

2009-07-07 Thread Alexander Hansen
Trevor Harmon wrote:
> On Jul 7, 2009, at 2:40 PM, Alexander Hansen wrote:
>
>> The Files: will have the file names, of course:
>>
>> Files: <<
>>lib/libsvncpp.2.0.0.dylib
>>lib/libsvncpp.2.dylib
>> <<
>
> It seems only the libsvncpp.2.dylib is generated. Do I need to add an
> InstallScript in the splitoff to softlink the 2 to a 2.0.0 file, or do
> I just leave the 2.0.0 file out of the Files field?
>
> Trevor
>
You can leave it out.

-- 
Alexander Hansen
Fink User Liaison


--
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.devel


Re: [Fink-devel] Confusion with rapidsvn linked libs

2009-07-07 Thread Trevor Harmon
On Jul 7, 2009, at 10:44 PM, Alexander Hansen wrote:

> You can leave it out.

Thanks for your help! I've uploaded the package to the tracker:

https://sourceforge.net/tracker/?func=detail&aid=2818340&group_id=17203&atid=414256

Trevor


--
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.devel


Re: [Fink-devel] Confusion with rapidsvn linked libs

2009-07-07 Thread Trevor Harmon
On Jul 7, 2009, at 2:40 PM, Alexander Hansen wrote:

> The Files: will have the file names, of course:
>
> Files: <<
>lib/libsvncpp.2.0.0.dylib
>lib/libsvncpp.2.dylib
> <<

It seems only the libsvncpp.2.dylib is generated. Do I need to add an  
InstallScript in the splitoff to softlink the 2 to a 2.0.0 file, or do  
I just leave the 2.0.0 file out of the Files field?

Trevor


--
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.devel


Re: [Fink-devel] Confusion with rapidsvn linked libs

2009-07-07 Thread Alexander Hansen
Trevor Harmon wrote:
> On Jul 7, 2009, at 12:27 PM, Alexander Hansen wrote:
>
>> This should be all right.
>
> Okay, so how do I map these version numbers (2 and 3.0.0) into the
> .info file? For example, here are the old portions of the .info that
> need updating:
>
>   ...
>   Package: svncpp0-dev
>   Depends: svncpp0-shlibs (= %v-%r)
>   ...
>   Files: <<
> lib/libsvncpp.0.0.0.dylib
> lib/libsvncpp.0.dylib
>   <<
>   Shlibs: <<
> %p/lib/libsvncpp.0.dylib 1.0.0 %n (>= 0.6.0-11)
>   <<
>
> I'm not sure which numbers should be 2 and which should be 3.
>
> Note that if I change nothing, I get this error on build:
>
> /bin/mv
> /sw/src/fink.build/root-rapidsvn-0.9.8-1/sw/lib/libsvncpp.0.0.0.dylib
> /sw/src/fink.build/root-svncpp0-shlibs-0.9.8-1/sw/lib/
> mv: rename
> /sw/src/fink.build/root-rapidsvn-0.9.8-1/sw/lib/libsvncpp.0.0.0.dylib
> to
> /sw/src/fink.build/root-svncpp0-shlibs-0.9.8-1/sw/lib/libsvncpp.0.0.0.dylib:
>
>
> Thanks,
>
> Trevor
>
You're going to need some new splitoffs here:  libsvncpp2-shlibs and
-dev, since the libversion changed.  libsvnccp2-dev will
Conflict/Replace libsvncpp0-dev. And it's worth checking whether
anything else happens to depdend on libsvncpp0-shlibs, because if so,
you'll need to leave the old rapidsvn .info file around so that
libsvncpp0-shlibs is still available.

The Files: will have the file names, of course:

Files: <<
lib/libsvncpp.2.0.0.dylib
lib/libsvncpp.2.dylib
<<
(assuming it is 2.0.0)  since otherwise fink won't have the right
filenames to move to the -shlibs package.  That'd be the error you're
getting now.

In the Shlibs: field you'll have

%p/lib/libsvncpp.2.dylib 3.0.0 %n (>=0.9.8-1)

(install_name of the library from otool -L) (compatibility_version of
the library from otool) (this package) (version where this install_name
and compatibility version first appeared)

If an update with a new compatibility version comes out, the last field
(>=0.9.8-1) will need updating.

It's worth updating the libversions of the dependencies if possible: 
svn16, db47, neon27, etc.

-- 
Alexander Hansen
Fink User Liaison


--
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have 
the opportunity to enter the BlackBerry Developer Challenge. See full prize 
details at: http://p.sf.net/sfu/blackberry
___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.devel


[Fink-devel] Tracker hiatus

2009-07-07 Thread Alexander Hansen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

I'm wrapping up my month in Norway, and I need to spend time analyzing
my data and coming up with a summary of what I've done while here.
I'm therefore not going to be touching tracker submissions until I get
back home.

- --
Alexander Hansen
Fink User Liaison
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkpTocIACgkQB8UpO3rKjQ+5cwCgn8V4vYh7p2TnMraOU5OY5/zd
PWkAn2WKFtE22LczCvlBvsXNzYDcwiYI
=4rCn
-END PGP SIGNATURE-


--
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have 
the opportunity to enter the BlackBerry Developer Challenge. See full prize 
details at: http://p.sf.net/sfu/blackberry
___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.devel


Re: [Fink-devel] Confusion with rapidsvn linked libs

2009-07-07 Thread Trevor Harmon
On Jul 7, 2009, at 12:27 PM, Alexander Hansen wrote:

> This should be all right.

Okay, so how do I map these version numbers (2 and 3.0.0) into  
the .info file? For example, here are the old portions of the .info  
that need updating:

   ...
   Package: svncpp0-dev
   Depends: svncpp0-shlibs (= %v-%r)
   ...
   Files: <<
 lib/libsvncpp.0.0.0.dylib
 lib/libsvncpp.0.dylib
   <<
   Shlibs: <<
 %p/lib/libsvncpp.0.dylib 1.0.0 %n (>= 0.6.0-11)
   <<

I'm not sure which numbers should be 2 and which should be 3.

Note that if I change nothing, I get this error on build:

/bin/mv /sw/src/fink.build/root-rapidsvn-0.9.8-1/sw/lib/libsvncpp. 
0.0.0.dylib /sw/src/fink.build/root-svncpp0-shlibs-0.9.8-1/sw/lib/
mv: rename /sw/src/fink.build/root-rapidsvn-0.9.8-1/sw/lib/libsvncpp. 
0.0.0.dylib to /sw/src/fink.build/root-svncpp0-shlibs-0.9.8-1/sw/lib/ 
libsvncpp.0.0.0.dylib:

Thanks,

Trevor


--
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have 
the opportunity to enter the BlackBerry Developer Challenge. See full prize 
details at: http://p.sf.net/sfu/blackberry
___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.devel


Re: [Fink-devel] openmpi-1.3.2-1003 test packaging

2009-07-07 Thread monipol
On 07/07/2009, at 10:21, Jack Howarth wrote:
>   Try the revised info file I uploaded to fink tracking.
> If this doesn't solve the problem, one of the core fink
> developers will have to look at it to explain why fink
> shows a validation (but not a packaging error).


Hello, Jack. The new package description built fine on my box. Good  
stuff!


Cheers,

--
monipol
http://finkers.wordpress.com

--
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have 
the opportunity to enter the BlackBerry Developer Challenge. See full prize 
details at: http://p.sf.net/sfu/blackberry
___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.devel


Re: [Fink-devel] Confusion with rapidsvn linked libs

2009-07-07 Thread Alexander Hansen
Trevor Harmon wrote:
> Hi,
>
> I'm the maintainer of the rapidsvn package, and I'm trying to update
> it to the latest upstream version, but I'm stuck. The main problem
> seems to be a change in the versioning of the svncpp shared libraries
> that are associated with the package. The old upstream release
> apparently had non-versioned libs (0.0.0), but I think now they are
> versioned. The otool report is:
>
>   libsvncpp.2.dylib (compatibility version 3.0.0, current version 3.0.0)
>
> I have no idea why the file version is 2 but otool reports 3. In fact,
> all this otool stuff is Greek to me, so if anybody can give me a hand,
> I'd appreciate it. I'm basically lost. Attached are the .info and
> .patch I'm using. Thanks,
>
> Trevor
>
This should be all right.  The file version (soname) and the current_version 
that otool reports don't actually have to be connected, eg.:

otool -L /usr/X11/lib/libpng12.0.dylib 
/usr/X11/lib/libpng12.0.dylib:
/usr/X11/lib/libpng12.0.dylib (compatibility version 36.0.0, current 
version 36.0.0)

They often are, but it's not mandatory.

-- 
Alexander Hansen
Fink User Liaison


--
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have 
the opportunity to enter the BlackBerry Developer Challenge. See full prize 
details at: http://p.sf.net/sfu/blackberry
___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.devel


[Fink-devel] Confusion with rapidsvn linked libs

2009-07-07 Thread Trevor Harmon

Hi,

I'm the maintainer of the rapidsvn package, and I'm trying to update  
it to the latest upstream version, but I'm stuck. The main problem  
seems to be a change in the versioning of the svncpp shared libraries  
that are associated with the package. The old upstream release  
apparently had non-versioned libs (0.0.0), but I think now they are  
versioned. The otool report is:


  libsvncpp.2.dylib (compatibility version 3.0.0, current version  
3.0.0)


I have no idea why the file version is 2 but otool reports 3. In fact,  
all this otool stuff is Greek to me, so if anybody can give me a hand,  
I'd appreciate it. I'm basically lost. Attached are the .info  
and .patch I'm using. Thanks,


Trevor



rapidsvn.info
Description: Binary data


rapidsvn.patch
Description: Binary data
--
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have 
the opportunity to enter the BlackBerry Developer Challenge. See full prize 
details at: http://p.sf.net/sfu/blackberry___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.devel

Re: [Fink-devel] openmpi-1.3.2-1003 test packaging

2009-07-07 Thread Jack Howarth
Monipol,
   Try the revised info file I uploaded to fink tracking.
If this doesn't solve the problem, one of the core fink
developers will have to look at it to explain why fink
shows a validation (but not a packaging error).
   Jack

On Tue, Jul 07, 2009 at 07:35:42AM -0300, monipol wrote:
> On 06/07/2009, at 21:56, Jack Howarth wrote:
>> I have posted test packaging for openmpi-1.3.2-1003...
>>
>> https://sourceforge.net/tracker/?func=detail&aid=2817726&group_id=17203&atid=414256
>>
>> which should solve the problems with case-sensitive filesystems. The  
>> approach
>> I adopted was to use...
>>
>> mv %i/bin/mpicc %i/bin/om-mpicc
>> if [ -f %i/bin/mpiCC ]; then
>>  rm %i/bin/mpiCC
>> fi
>>
>> in the InstallScript and to add...
>>
>> PostInstScript: <<
>> if [ ! -h %p/bin/mpiCC ]; then
>>ln -s %p/bin/mpicc %p/bin/mpiCC
>> fi
>> <<
>> PostRmScript: <<
>> if [ -h %p/bin/mpiCC ]; then
>>rm %p/bin/mpiCC
>> fi
>> <<
>>
>> to the -dev splitoff. This should create and destroy
>> a symlink called mpiCC on case-sensitive filesystems
>> only. We could eliminate the mpiCC file entirely but
>> this will likely break the usage of openmpi on
>> case-sensitive filesystems since some software built
>> against openmpi will likely be coded to use mpiCC
>> rather than mpicc. So we really need to provide access
>> to a file by that name on case-sensitive filesystems.
>
> FWIW, I like this solution.
>
>>   Jack
>> ps Let me know if anyone has problems with this on
>> case-sensitive filesystems.
>
> Validator complains:
>
> $ fink -V | head -n 1
> Package manager version: 0.29.7
>
> $ diskutil info /Volumes/ajdext | grep Case
>File System:  Case-sensitive HFS+
>
> $ fink -m --build-as-nobody rebuild openmpi
>
> (...)
>
> /bin/cp -r VERSION /Volumes/ajdext/build.build/root-openmpi- 
> dev-1.3.2-1003/sw/share/doc/openmpi-dev/
> /bin/chmod -R go=u-w /Volumes/ajdext/build.build/root-openmpi- 
> dev-1.3.2-1003/sw/share/doc/openmpi-dev
> /bin/rm -f /Volumes/ajdext/build.build/root-openmpi-dev-1.3.2-1003/sw/ 
> info/dir /Volumes/ajdext/build.build/root-openmpi-dev-1.3.2-1003/sw/ 
> info/dir.old /Volumes/ajdext/build.build/root-openmpi-dev-1.3.2-1003/ 
> sw/share/info/dir /Volumes/ajdext/build.build/root-openmpi- 
> dev-1.3.2-1003/sw/share/info/dir.old
> Reverting ownership of install dir to root
> - Depends line is: openmpi-shlibs (= 1.3.2-1003), darwin (>= 9-1)
> Writing control file...
> Validating .deb dir /Volumes/ajdext/build.build/root- 
> openmpi-1.3.2-1003...
> Error: Pathname collision on case-insensitive filesystems
>   Offending file: /sw/bin/mpicc-vt
>   Offending file: /sw/share/doc/openmpi/openmpi/mpicc-vt-wrapper-data.txt
>   Offending file: /sw/share/doc/openmpi/openmpi/mpicc-wrapper-data.txt
>   Offending file: /sw/share/man/openmpi/man1/mpicc.1
> Removing runtime build-lock...
> Removing build-lock package...
> /sw/bin/dpkg-lockwait -r fink-buildlock-openmpi-1.3.2-1003
> Removing fink-buildlock-openmpi-1.3.2-1003 ...
> Failed: Please correct the above problems and try again!
>
> --
> monipol
> http://finkers.wordpress.com

--
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have 
the opportunity to enter the BlackBerry Developer Challenge. See full prize 
details at: http://p.sf.net/sfu/blackberry
___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.devel


Re: [Fink-devel] Problem of Addding Header in Patch file

2009-07-07 Thread Alexander Hansen
On Tue, Jul 7, 2009 at 2:54 PM, tarun gulyani wrote:
> Hi All,
>
> Please tell me how to add header in patch file. Actually i am creating patch
> using "diff -Nur install.sh install_1.sh > gnowsys.patch".
>
> It giving error, when i am checking patch using "patch -p1 <
> gnowsys.patch".
>
>
> Error is :
>
> patch -p1 < gnowsys.patch
> missing header for unified diff at line 4 of patch
> can't find file to patch at input line 4
> Perhaps you used the wrong -p or --strip option?
> The text leading up to this was:
> --
> |diff -Nur install.sh install_1.sh
> |--- install.sh    2009-05-06 15:09:03.0 +0530
> |+++ install_1.sh    2009-07-07 15:00:18.0 +0530
> --
> File to patch:
> Skip this patch? [y]
> Skipping patch.
> 9 out of 9 hunks ignored
>
>
> Thanks and Regards
> Tarun Gulyani
> --

That would need 'patch -p0' rather than -p1,

Either change the PatchScript, or try moving up one directory when you
do the diff:

diff -Nur Plone-2.5.2-UnifiedInstaller/install.sh
Plone-2.5.2-UnifiedInstaller/install_1.sh > gnowsys.patch
-- 
Alexander K. Hansen
akh AT finkproject DOT org
Fink User Liaison and Documenter

--
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have 
the opportunity to enter the BlackBerry Developer Challenge. See full prize 
details at: http://p.sf.net/sfu/blackberry
___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.devel

Re: [Fink-devel] Adding Header in Patch file

2009-07-07 Thread Benjamin Reed
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 7/7/09 9:19 AM, Sandeep Bhaskar wrote:

> Please tell me how to add header in patch file. Actually I tried
> creating patch using "diff -Nur install.sh install_1.sh > gnowsys.patch".

Charles already answered your question.

Please, on a public discussion like this, posting and re-posting your
question over and over just makes it more likely that no one will want
to respond.

Ask your question, and be patient for an answer.  If you don't hear
anything in a few days, feel free to re-ask, but not once every half an
hour.  =)


- -- 
Benjamin Reed a.k.a. Ranger Rick
Fink, KDE, and Mac OS X development

Blog: http://www.raccoonfink.com/
Music: http://music.raccoonfink.com/

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iD8DBQFKU2XEUu+jZtP2Zf4RAp/UAJ9hm9Zs1rTmbSc0//EzuhQFDw/K0gCfb0Zy
y9l6jPYyjskEKgLjCRo9ki0=
=yxhR
-END PGP SIGNATURE-

--
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have 
the opportunity to enter the BlackBerry Developer Challenge. See full prize 
details at: http://p.sf.net/sfu/blackberry
___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.devel


[Fink-devel] Adding Header in Patch file

2009-07-07 Thread Sandeep Bhaskar
 Hi All,

Please tell me how to add header in patch file. Actually I tried creating
patch using "diff -Nur install.sh install_1.sh > gnowsys.patch".

Its giving error, when i am checking patch using "patch -p1 <
gnowsys.patch".


Error is :

patch -p1 < gnowsys.patch
missing header for unified diff at line 4 of patch
can't find file to patch at input line 4
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--
|diff -Nur install.sh install_1.sh
|--- install.sh2009-05-06 15:09:03.0 +0530
|+++ install_1.sh2009-07-07 15:00:18.0 +0530
--
File to patch:
Skip this patch? [y]
Skipping patch.
9 out of 9 hunks ignored


Thanks and Regards
Sandeep Bhaskar
--
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have 
the opportunity to enter the BlackBerry Developer Challenge. See full prize 
details at: http://p.sf.net/sfu/blackberry___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.devel

Re: [Fink-devel] Problem of Addding Header in Patch file

2009-07-07 Thread Charles Lepple
On Tue, Jul 7, 2009 at 8:54 AM, tarun gulyani wrote:
> Hi All,
>
> Please tell me how to add header in patch file. Actually i am creating patch
> using "diff -Nur install.sh install_1.sh > gnowsys.patch".

Run "cd .." first, and add the directory name. Also, I think the 2nd
filename needs to match what is in the archive, rather than the first.

e.g. diff -Nur gnowsys-*/install.sh.orig gnowsys-*/install.sh

The "-r" argument to diff lets you make a complete copy of the source
("cp -pr source source.orig"), then you can just edit files in place
and let diff figure out what has changed.

> It giving error, when i am checking patch using "patch -p1 <
> gnowsys.patch".
>
>
> Error is :
>
> patch -p1 < gnowsys.patch
> missing header for unified diff at line 4 of patch
> can't find file to patch at input line 4
> Perhaps you used the wrong -p or --strip option?
> The text leading up to this was:
> --
> |diff -Nur install.sh install_1.sh
> |--- install.sh    2009-05-06 15:09:03.0 +0530
> |+++ install_1.sh    2009-07-07 15:00:18.0 +0530

Note that there is no directory in the above pathnames - the "-p1"
argument says to take off one directory from the pathname.

-- 
- Charles Lepple

--
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have 
the opportunity to enter the BlackBerry Developer Challenge. See full prize 
details at: http://p.sf.net/sfu/blackberry
___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.devel


[Fink-devel] Problem of Addding Header in Patch file

2009-07-07 Thread tarun gulyani
Hi All,

Please tell me how to add header in patch file. Actually i am creating patch
using "diff -Nur install.sh install_1.sh > gnowsys.patch".

It giving error, when i am checking patch using "patch -p1 <
gnowsys.patch".


Error is :

patch -p1 < gnowsys.patch
missing header for unified diff at line 4 of patch
can't find file to patch at input line 4
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--
|diff -Nur install.sh install_1.sh
|--- install.sh2009-05-06 15:09:03.0 +0530
|+++ install_1.sh2009-07-07 15:00:18.0 +0530
--
File to patch:
Skip this patch? [y]
Skipping patch.
9 out of 9 hunks ignored


Thanks and Regards
Tarun Gulyani
--
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have 
the opportunity to enter the BlackBerry Developer Challenge. See full prize 
details at: http://p.sf.net/sfu/blackberry___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.devel

[Fink-devel] Problem of Addding Header in Patch file

2009-07-07 Thread tarun gulyani
Hi All,

Please tell me how to add header in patch file. Actually i am creating patch
using "diff -Nur install.sh install_1.sh > gnowsys.patch".

It giving error, when i am checking patch using "patch -p1 <
gnowsys.patch".


Error is :

patch -p1 < gnowsys.patch
missing header for unified diff at line 4 of patch
can't find file to patch at input line 4
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--
|diff -Nur install.sh install_1.sh
|--- install.sh2009-05-06 15:09:03.0 +0530
|+++ install_1.sh2009-07-07 15:00:18.0 +0530
--
File to patch:
Skip this patch? [y]
Skipping patch.
9 out of 9 hunks ignored


Thanks and Regards
Tarun Gulyani
--
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have 
the opportunity to enter the BlackBerry Developer Challenge. See full prize 
details at: http://p.sf.net/sfu/blackberry___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.devel

[Fink-devel] Problem of Addding Header in Patch file

2009-07-07 Thread tarun gulyani
Hi All,

Please tell me how to add header in patch file. Actually i am creating patch
using "diff -Nur install.sh install_1.sh > gnowsys.patch".

It giving error, when i am checking patch using "patch -p1 <
gnowsys.patch".


Error is :

patch -p1 < gnowsys.patch
missing header for unified diff at line 4 of patch
can't find file to patch at input line 4
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--
|diff -Nur install.sh install_1.sh
|--- install.sh2009-05-06 15:09:03.0 +0530
|+++ install_1.sh2009-07-07 15:00:18.0 +0530
--
File to patch:
Skip this patch? [y]
Skipping patch.
9 out of 9 hunks ignored


Thanks and Regards
Tarun Gulyani
--
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have 
the opportunity to enter the BlackBerry Developer Challenge. See full prize 
details at: http://p.sf.net/sfu/blackberry___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.devel

Re: [Fink-devel] openmpi-1.3.2-1003 test packaging

2009-07-07 Thread monipol
On 06/07/2009, at 21:56, Jack Howarth wrote:
> I have posted test packaging for openmpi-1.3.2-1003...
>
> https://sourceforge.net/tracker/?func=detail&aid=2817726&group_id=17203&atid=414256
>
> which should solve the problems with case-sensitive filesystems. The  
> approach
> I adopted was to use...
>
> mv %i/bin/mpicc %i/bin/om-mpicc
> if [ -f %i/bin/mpiCC ]; then
>  rm %i/bin/mpiCC
> fi
>
> in the InstallScript and to add...
>
> PostInstScript: <<
> if [ ! -h %p/bin/mpiCC ]; then
>ln -s %p/bin/mpicc %p/bin/mpiCC
> fi
> <<
> PostRmScript: <<
> if [ -h %p/bin/mpiCC ]; then
>rm %p/bin/mpiCC
> fi
> <<
>
> to the -dev splitoff. This should create and destroy
> a symlink called mpiCC on case-sensitive filesystems
> only. We could eliminate the mpiCC file entirely but
> this will likely break the usage of openmpi on
> case-sensitive filesystems since some software built
> against openmpi will likely be coded to use mpiCC
> rather than mpicc. So we really need to provide access
> to a file by that name on case-sensitive filesystems.

FWIW, I like this solution.

>   Jack
> ps Let me know if anyone has problems with this on
> case-sensitive filesystems.

Validator complains:

$ fink -V | head -n 1
Package manager version: 0.29.7

$ diskutil info /Volumes/ajdext | grep Case
File System:  Case-sensitive HFS+

$ fink -m --build-as-nobody rebuild openmpi

(...)

/bin/cp -r VERSION /Volumes/ajdext/build.build/root-openmpi- 
dev-1.3.2-1003/sw/share/doc/openmpi-dev/
/bin/chmod -R go=u-w /Volumes/ajdext/build.build/root-openmpi- 
dev-1.3.2-1003/sw/share/doc/openmpi-dev
/bin/rm -f /Volumes/ajdext/build.build/root-openmpi-dev-1.3.2-1003/sw/ 
info/dir /Volumes/ajdext/build.build/root-openmpi-dev-1.3.2-1003/sw/ 
info/dir.old /Volumes/ajdext/build.build/root-openmpi-dev-1.3.2-1003/ 
sw/share/info/dir /Volumes/ajdext/build.build/root-openmpi- 
dev-1.3.2-1003/sw/share/info/dir.old
Reverting ownership of install dir to root
- Depends line is: openmpi-shlibs (= 1.3.2-1003), darwin (>= 9-1)
Writing control file...
Validating .deb dir /Volumes/ajdext/build.build/root- 
openmpi-1.3.2-1003...
Error: Pathname collision on case-insensitive filesystems
Offending file: /sw/bin/mpicc-vt
Offending file: /sw/share/doc/openmpi/openmpi/mpicc-vt-wrapper-data.txt
Offending file: /sw/share/doc/openmpi/openmpi/mpicc-wrapper-data.txt
Offending file: /sw/share/man/openmpi/man1/mpicc.1
Removing runtime build-lock...
Removing build-lock package...
/sw/bin/dpkg-lockwait -r fink-buildlock-openmpi-1.3.2-1003
Removing fink-buildlock-openmpi-1.3.2-1003 ...
Failed: Please correct the above problems and try again!

--
monipol
http://finkers.wordpress.com


--
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have 
the opportunity to enter the BlackBerry Developer Challenge. See full prize 
details at: http://p.sf.net/sfu/blackberry
___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.devel