On Jan 15, 2013, at 1:40 PM, Alexander Hansen wrote:

> On 1/15/13 10:54 AM, Cook, Rich wrote:
>> Sorry for the bother, but may I ask for some more help in doing the local 
>> modification to libpango?  
>> I'm following this per your recommendation:  
>> http://finkers.wordpress.com/2009/07/24/creating-local-packages/
>> 
>> Here's what happens. 
>> root@rcmac (finkinfo): pwd
>> /sw/fink/dists/local/main/finkinfo
>> root@rcmac (finkinfo): cp  
>> /sw/fink/dists/stable/main/finkinfo/gnome/pango1-xft2.* .
>> t2.info ac (finkinfo): diff 
>> /sw/fink/dists/stable/main/finkinfo/gnome/pango1-xft2.info pango1-xft
>> 21c21
>> < NoSetLDFLAGS: true
>> ---
>>> NoSetLDFLAGS: true 
>> 23c23
>> < SetLDFLAGS: -no-undefined -L/usr/X11R6/lib
>> ---
>>> SetLDFLAGS: -no-undefined -L/usr/X11R6/lib -lXrender
>> root@rcmac (finkinfo): fink -v validate pango1-xft2.info 
>> Validating package file pango1-xft2.info...
>> Package looks good!
>> root@rcmac (finkinfo): fink index
>> Scanning package description files..........
>> root@rcmac (finkinfo): fink dumpinfo -finfofile -fpatchfile 
>> pango1-xft2-shlibs
>> Scanning package description files..........
>> Information about 12059 packages read in 1 seconds.
>> infofile: /sw/fink/dists/stable/main/finkinfo/gnome/pango1-xft2.info
>> 
>> My expectation is that at the end, it should point to 
>> /sw/fink/dists/local/main/finkinfo
>> I get this expectation because the web page says:  "If you run that previous 
>> fink dumpinfo command again you’ll see that Fink now considers the local 
>> package as the most recent (and the one it’ll use from now on)."
>> 
>> When I build, I get the same error as before.  
>> 
>> Thanks for any help.  
>> 
>> -- Rich 
>> 
>> 
> 
> Yeah, you're using the same .info file so you get the same results.  As
> should be expected. :-)
> 
> Is your modification named "pango1-xft"?  Fink can't use that.  You'll
> have to name it "pango1-xft2.info".
> 
> You'll also need to copy
> /sw/fink/dists/stable/main/finkinfo/gnome/pango1-xft2.patch into
> /sw/fink/dists/local/main/finkinfo (the .patch and .info have to be in
> the same directory, in general).


I did that as you can see with this:
>> cp  /sw/fink/dists/stable/main/finkinfo/gnome/pango1-xft2.* .


But the diff line got copied funny.  It should say this:
>>  (finkinfo): diff /sw/fink/dists/stable/main/finkinfo/gnome/pango1-xft2.info 
>> pango1-xftt2.info 

Showing my mods.  

> 
> Also, you'll need to do one or both of
> 
> 1)  Change the Revision in your local pango1-xft2.patch, e.g. by .1 .

I'm sure you meant pango1-xft2.info.  That was apparently what I was missing.  

> 2)  Make sure that 'local/main' is at the _end_ of the Trees: line in
> /sw/etc/fink.conf.

It's at the beginning but it still seems to work fine. 
I now have a successful installation!  yay, and i can now fix things in the 
future, very helpful! 

Should I check this change back in somehow?  I'm not sure how this game is 
played.  
The diff is just: 

diff /sw/fink/dists/stable/main/finkinfo/gnome/pango1-xft2.info 
pango1-xft2.info 
3c3
< Revision: 1006
---
> Revision: 1007
23c23
< SetLDFLAGS: -no-undefined -L/usr/X11R6/lib
---
> SetLDFLAGS: -no-undefined -L/usr/X11R6/lib -lXrender


> 
> -- 
> Alexander Hansen, Ph.D.
> Fink User Liaison
> My package updates: http://finkakh.wordpress.com/

-- 
✐Richard Cook   
✇ Lawrence Livermore National Laboratory
Bldg-453 Rm-4024, Mail Stop L-557        
7000 East Avenue,  Livermore, CA, 94550, USA
☎ (office) (925) 423-9605    
☎ (fax) (925) 423-6961
---
Information Management & Graphics Grp., Services & Development Div., Integrated 
Computing & Communications Dept.
(opinions expressed herein are mine and not those of LLNL)



------------------------------------------------------------------------------
Master SQL Server Development, Administration, T-SQL, SSAS, SSIS, SSRS
and more. Get SQL Server skills now (including 2012) with LearnDevNow -
200+ hours of step-by-step video tutorials by Microsoft MVPs and experts.
SALE $99.99 this month only - learn more at:
http://p.sf.net/sfu/learnmore_122512
_______________________________________________
Fink-users mailing list
[email protected]
List archive:
http://news.gmane.org/gmane.os.macosx.fink.user
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to