here is the output of "dpkg -L context"
http://pastebin.com/2wXtYTZb
On Feb 7, 2011, at 8:18 PM, Alexander Hansen wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> On 2/7/11 9:12 AM, Alexander Hansen wrote:
>> Moving this to -devel since it's a packaging issue.
>> 
>> -------- Original Message --------
>> Subject: [Fink-beginners] Regarding context.info file
>> Date: Mon, 7 Feb 2011 19:36:19 +0530
>> From: Julius Canute <juliuscan...@gmail.com>
>> To: fink-beginn...@lists.sourceforge.net >> fink beginners mailing list
>> <fink-beginn...@lists.sourceforge.net>
>> 
>> Hi,
>> I came up with a naive info file which basically sets up and install
>> context. Can u please review the info file and suggest any modification?
>> 
>> -
>> -------------------------------------------------------------------------------------------------------
>> Package: context
>> Version:  6.2.1
>> Revision: 1
>> Provides: context
> 
> A package automatically Provides: itself, so the above line does nothing.
> 
> On the other hand, tetex-base, texlive-base, and ptex-base all Provides:
> context:
> 
> $ fink info context
> Information about 9711 packages read in 3 seconds.
> 
> The requested package 'context' is a virtual package, provided by:
>  ptex-base-3.1.10-1004
>  ptex-nox-base-3.1.10-1004
>  tetex-base-3.0-1006
>  tetex-nox-base-3.0-1006
>  texlive-base-0.20100722-1
>  texlive-nox-base-0.20100722-1
> 
> and having "real" packages with the same names as ones which are
> Provides: can cause problems.  It might be better to call _this_ package
> "ctex" or something like that, and then keep the Provides: context.
> 
>> NoSourceDirectory:True
>> Source: http://www.pragma-ade.com/context/current/cont-tmf.zip
> 
> If you keep this package as being named 'context', you can use
> 
> Source: http://www.pragma-ade.com/%n/current/cont-tmf.zip
> 
>> Source-MD5:88a008311ce619ee81f582fb063a63bf
>> Source2:http://foundry.supelec.fr/gf/download/frsrelease/386/1704/luatex-beta-0.65.0-source.tar.bz2
>> Source2-MD5:7089d840cef28cd220e6b7bad0a8f78b
>> Source3:http://foundry.supelec.fr/gf/download/frsrelease/383/1651/metapost-1.212-src.tar.bz2
>> Source3-MD5:949cc7628c956819e1f1bdebdf2cf853
>> Source4:http://sarovar.org/frs/download.php/1292/pdftex-1.40.10.tar.bz2
>> Source4-MD5:e451f7a1906a618f35d4e894ca9a13d7
>> 
>> Source5:http://portingcontext.googlecode.com/files/vf.zip
>> Source5-MD5:df713a65e6b80c583fa2bb25e3eb0d1c
>> Source6:http://portingcontext.googlecode.com/files/public.zip
>> Source6-MD5:96e35242cfbac6028a00934389dfcd22
>> Source7:http://portingcontext.googlecode.com/files/tfm.zip
>> Source7-MD5:8ff62f34e6ffc8b4e2b17896d5eba3a1
>> Source8:http://portingcontext.googlecode.com/files/afm.zip
>> Source8-MD5:5287ab995ef01afd6de357f207870580
>> Source9:http://portingcontext.googlecode.com/files/enc.zip
>> Source9-MD5:15f82aedc34e67fdc81cf7c04146521b
>> Source10:http://portingcontext.googlecode.com/files/lm.zip
>> Source10-MD5:fec64c22dabe8d226fdb659d85132f6a
>> Source11:http://portingcontext.googlecode.com/files/map.zip
>> Source11-MD5:575cf8eaaf0f7aec79568432e8a24d8a
>> Source12:http://portingcontext.googlecode.com/files/misc.zip
>> Source12-MD5:b0cd1a2165426af0b87d3c5f2e90df89
>> Source13:http://portingcontext.googlecode.com/files/opentype.zip
>> Source13-MD5:a9008fbb68c2e54bd8ffbc3cf9db84db
>> Source14:http://portingcontext.googlecode.com/files/truetype.zip
>> Source14-MD5:8bf6b1e2fb818f12898fa12d896b0bc2
>> Source15:http://portingcontext.googlecode.com/files/type1.zip
>> Source15-MD5:b9bd7c3c62333a8a75d15380b5c20162
>> Source16:http://portingcontext.googlecode.com/files/web_2c.zip
>> Source16-MD5:0ac4ac7f5dd41a22be181bf3e54049c3
>> Source17:http://portingcontext.googlecode.com/files/atex.zip
>> Source17-MD5:37c7679940f71a5efd771fbc2c4a514a
>> 
>> CompileScript:<<
>> #!/bin/bash -ev
>> mkdir -p ctex/texmf ctex/texmf-context ctex/texmf-osx-intel/bin
>> ctex/texmf-project ctex/texmf-local ctex/texmf-fonts
>> cp -R bibtex ctex/texmf-context/
>> cp -R tex ctex/texmf-context/
>> cp -R scripts ctex/texmf-context/
>> cp -R fonts ctex/texmf-context/
>> cp -R metapost ctex/texmf-context/
>> cp -R web2c ctex/texmf-context/
>> cp -R context ctex/texmf-context/
>> cp -R doc ctex/texmf-context/
>> rm -R bibtex tex scripts fonts metapost web2c context doc
> 
> Get rid of the above line.  There is no need to remove these directories
> as fink does that automatically if the build succeeds.  And, if the
> build somehow fails at a later point, or a user specifies the
> - --keep-build-dir option, it's bad to remove build directories.
> 
>> cp -R ctex/texmf-context/scripts/context/stubs/unix/
>> ctex/texmf-osx-intel/bin/
>> chmod +x ctex/texmf-osx-intel/bin/*
>> 
>> cd luatex-beta-0.65.0
>> chmod +x build.sh
>> ./build.sh
>> cd ..
>> cp luatex-beta-0.65.0/build/texk/kpathsea/kpseaccess
>> ctex/texmf-osx-intel/bin/
>> cp luatex-beta-0.65.0/build/texk/kpathsea/kpsewhich
>> ctex/texmf-osx-intel/bin/
>> cp luatex-beta-0.65.0/build/texk/kpathsea/kpsestat ctex/texmf-osx-intel/bin/
>> cp luatex-beta-0.65.0/source/texk/kpathsea/mktexlsr
>> ctex/texmf-osx-intel/bin/
>> cp luatex-beta-0.65.0/build/texk/web2c/luatex ctex/texmf-osx-intel/bin/
>> 
>> rm -R luatex-beta-0.65.0
> 
> Again, don't remove a build directory.
> 
>> 
>> cd pdftex-1.40.10
>> chmod +x build-pdftex.sh
>> ./build-pdftex.sh
>> cd ..
>> cp pdftex-1.40.10/build-pdftex/texk/web2c/pdftex ctex/texmf-osx-intel/bin/
>> rm -R pdftex-1.40.10
> 
> Again, don't remove a build directory.
> 
>> 
>> cd metapost-1.212
>> chmod +x build.sh
>> ./build.sh
>> cd ..
>> cp metapost-1.212/build/texk/web2c/mpost ctex/texmf-osx-intel/bin/
>> cp -R metapost-1.212/texmf/metapost ctex/texmf
>> rm -R metapost-1.212
> 
> Again, don't remove a build directory.
> 
>> 
>> mkdir fonts
>> mv afm fonts
>> mv enc fonts
>> mv lm fonts
>> mv map fonts
>> mv misc fonts
>> mv opentype fonts
>> mv public fonts
>> mv tfm fonts
>> mv truetype fonts
>> mv type1 fonts
>> mv vf fonts
>> mv ./fonts/lm ./fonts/public
>> mv ./fonts/public ./fonts/type1
>> mv fonts ctex/texmf
>> mv web_2c/web2c ctex/texmf
>> mv atex/tex ctex/texmf
>> rm -R atex
> 
> Again, don't remove a build directory.
> 
>> rm -R web_2c
> 
> Again, don't remove a build directory.
> 
>> <<
> 
> ...
> 
> Start with the above changes.
> 
> Also, can you please post the output from "dpkg -L context"?  There are
> two reasons:
> 
> 1)  That makes it easier for people to provide feedback without having
> to build the package.
> 2)  If for some reason the package won't build and install, then we
> don't have to waste time trying to do it.
> 
> - -- 
> Alexander Hansen, Ph.D.
> Fink User Liaison
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.11 (Darwin)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
> 
> iEYEARECAAYFAk1QBj8ACgkQB8UpO3rKjQ8WjwCgl9+lY+uTGXOe4Wn3RdC0wAC4
> 1ugAn3aPZjjj7hPBTVzzYK6GQQZpcDLO
> =dmUl
> -----END PGP SIGNATURE-----


------------------------------------------------------------------------------
The modern datacenter depends on network connectivity to access resources
and provide services. The best practices for maximizing a physical server's
connectivity to a physical network are well understood - see how these
rules translate into the virtual world? 
http://p.sf.net/sfu/oracle-sfdevnlfb
_______________________________________________
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to