From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Sun, 28 Jun 2009 19:59:52 +0400 From: Kirill Maslinsky To: ALT Linux Team development discussions Message-ID: <20090628155952.GC6637@odnako> References: <20090621071341.GA9683@altlinux.org> <20090621135430.061cd17e.bga@altlinux.org> <20090621124900.GB9683@altlinux.org> <20090625183103.781b79b7@bga> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Qz2CZ664xQdCRdPu" Content-Disposition: inline In-Reply-To: <20090625183103.781b79b7@bga> Subject: Re: [devel] texlive /usr/bin/latex dependencies X-BeenThere: devel@lists.altlinux.org X-Mailman-Version: 2.1.12 Precedence: list Reply-To: ALT Linux Team development discussions List-Id: ALT Linux Team development discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Jun 2009 15:59:54 -0000 Archived-At: List-Archive: List-Post: --Qz2CZ664xQdCRdPu Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Jun 25, 2009 at 06:31:03PM +0400, Grigory Batalov wrote: > On Sun, 21 Jun 2009 16:49:00 +0400 > Alexey Tourbin wrote: >=20 > > =E9 =C5=DD=A3 =D6=C5=CC=C1=D4=C5=CC=D8=CE=CF =CF=DA=D7=D5=DE=C9=D4=D8 = =CE=C5=D3=CB=CF=CC=D8=CB=CF =D0=D2=C9=CD=C5=D2=CF=D7 =CE=C5=D5=C4=C1=DE=CE= =D9=C8 =DA=C1=D7=C9=D3=C9=CD=CF=D3=D4=C5=CA > > =CD=C5=D6=C4=D5 texlive =D0=C1=CB=C5=D4=C1=CD=C9. =FE=D4=CF=C2=D9 =D0= =CF=CE=D1=D4=D8 =D2=C1=D3=CB=CC=C1=C4, =C7=C4=C5 =D4=C1=CD =DE=D4=CF =D7=D9= =CC=C5=DA=C1=C5=D4. [...] > =ED=CF=D6=CE=CF =D0=CF=D3=D4=D5=D0=C9=D4=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3=C9=D3=D4=C5=CD=C5 =D0=D2=C9 =CB=CF=CD=D0=C9=CC=D1=C3=C9=C9 = =CC=C1=D4=C5=C8-=C4=CF=CB=D5=CD=C5=CE=D4=C1 =CE=C5 =D7=CF=DA=CE=C9=CB=C1=CC=CF =D3=CF=CF=C2=DD=C5=CE=C9=CA =CF =CE=C5= =C4=CF=D3=D4=C1=C0=DD=C9=C8 =D3=D4=C9=CC=D1=C8 (=CB=D2=CF=CD=C5 =CE=C5=CD= =CE=CF=C7=C9=C8 =C9=D3=CB=CC=C0=DE=C9=D4=C5=CC=D8=CE=D9=C8 =D3=CC=D5=DE=C1=C5=D7).=20 =F0=D2=C5=C4=CC=C1=C7=C1=C0 =D3=CC=C5=C4=D5=C0=DD=C9=C5 =DB=C1=C7=C9: 1. =EE=C5=CD=CE=CF=C7=CF =CF=D3=CC=C1=C2=C9=D4=D8 =CC=CF=C7=C9=CB=D5 =D0=CF= =C9=D3=CB=C1 =DA=C1=D7=C9=D3=C9=CD=CF=D3=D4=C5=CA. =F3=CD.: commit 63b8c437025fb1108fa6e71fd12a9822675563d4 Author: Kirill Maslinsky Date: Fri Jun 26 13:33:41 2009 +0400 texmf.req: skip conditionally loaded packages =20 Conditional loads are detected with simple heuristic: =20 if package code contains stadard LaTeX check for existance of certain file, and LaTeX package with corresponding name is requested somewhere in the code, this package is supposed to be loaded conditionally (or else why to check for existence?). This heuristic won't handle obfuscated code where macro parameter is used instead of plain package file name, but is considered to be a good approximation for the typical case. =20 On the main part of texlive tree this change eliminates about 3% of all generated latex dependencies (100 out of 3000). =F4=C1=CB=CF=CA =CD=C5=D4=CF=C4 =CE=C5 =CF=C2=CE=C1=D2=D5=D6=C9=D4 =D5=D3= =CC=CF=D7=CE=D9=C8 =CB=CF=CE=D3=D4=D2=D5=CB=C3=C9=CA =C4=D2=D5=C7=CF=C7=CF = =D4=C9=D0=C1, =CE=C1=D0=D2=C9=CD=C5=D2, =C5=D3=CC=C9 =DA=C1=D7=C9=D3=C9=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=C5=CD =D0=C1=CB=C5=D4=C5. =E1 =C7=CC=C1=D7=CE=CF=C5, =CF=CE =D0=CF=DA=D7=CF=CC=D1=C5=D4 =C9=DA=C2=C1= =D7=C9=D4=D8=D3=D1 =CF=D4 =DA=C1=D7=C9=D3=C9=CD=CF=D3=D4=C9 texlive-latex-b= ase =CE=C1=20 latex2html! =C9 =CE=C5=CB=CF=D4=CF=D2=D9=C8 =C4=D2=D5=C7=C9=C8 =D3=D4=CF=CC= =D8 =D6=C5 =C9=DA=CC=C9=DB=CE=C9=C8 =DA=C1=D7=C9=D3=C9=CD=CF=D3=D4=C5=CA. =D4.=C5. =CE=D5=D6=CE=C1 =D0=C5=D2=C5=D3=C2=CF=D2=CB=C1 =D3 rpm-build-texmf= -0.3.4-alt1 (=D3=CD. =D0=CF=CB=C1 =D5 =CD=C5=CE=D1 =D7 git,=20 =CF=D4=D0=D2=C1=D7=C9=CC =CE=C1 =D3=C2=CF=D2=CB=D5) 2. =F0=C5=D2=C5=CE=C5=D3=D4=C9 =DE=C1=D3=D4=D8 =D0=C1=CB=C5=D4=CF=D7(texliv= e) =D7 =C4=D2=D5=C7=C9=C5 =CB=CF=CC=CC=C5=CB=C3=C9=C9.=20 =F1 =D3=D2=C1=DA=D5 =CE=C1=D0=C9=D3=C1=CC =D7 =C6=CF=D2=CD=C1=D4=C5 tpm2deb # 1=C1=D1 =C9=D4=C5=D2=C1=C3=C9=D1: =DE=C9=D3=D4=CB=C1 base # eliminating texlive-latex-base->texlive-latex-extra dep # =D7=C5=D3=D8 ltxmisc =D5=C2=C9=D2=C1=D4=D8 =C9=DA collection-base =C2=CF= =D1=DA=CE=CF, =D4.=CB. =D3=D4=C9=CC=C9 =CF=D4=D4=D5=C4=C1 # =CD=CF=C7=D5=D4 =C9=D3=D0=CF=CC=D8=DA=CF=D7=C1=D4=D8=D3=D1. =CE=CF =C9=CD= =C5=CE=CE=CF =C6=C1=CA=CC=D9 =C9=DA =DC=D4=CF=C7=CF =D0=C1=CB=C5=D4=C1 =D0= =CF=D2=CF=D6=C4=C1=C0=D4 =CB=D5=DE=D5 # =CC=C5=D7=D9=C8 =DA=C1=D7=C9=D3=C9=CD=CF=D3=D4=C5=CA. move;ltxmisc;collection-latexrecommended # =C5=D3=D4=D8 =C2=CF=CC=D8=DB=CF=C5 =D6=C5=CC=C1=CE=C9=C5 =D3=D0=C9=C8=CE= =D5=D4=D8 hyperref =D7 collection-latexrecommended, =D7=CD=C5=D3=D4=C5 =D3 = =C5=C7=CF=20 # =C2=C5=DA=D5=D3=CC=CF=D7=CE=D9=CD=C9 =DA=C1=D7=C9=D3=C9=CD=CF=D3=D4=D1=CD= =C9. =F0=D2=C9 =D7=D3=A3=CD =CD=CF=A3=CD =D5=D7=C1=D6=C5=CE=C9=C9 =CB =DC= =D4=CF=CD=D5 =D0=C1=CB=C5=D4=D5... # =E9=CE=D4=C5=D2=C5=D3=CE=CF, =D3=CB=CF=CC=D8=CB=CF =D0=C1=CB=C5=D4=CF=D7 = =CD=CF=C7=D5=D4 =C9=D3=D0=CF=CC=D8=DA=CF=D7=C1=D4=D8 =C5=C7=CF =C4=CC=D1 = =D3=C2=CF=D2=CB=C9 =C4=CF=CB=D5=CD=C5=CE=D4=C1=C3=C9=C9? # =EE=CF =C5=D3=CC=C9 hyperref =CF=D3=D4=C1=D7=C9=D4=D8 =D7 base, =D4=CF = =CE=C1=C4=CF =D4=D5=C4=C1 =D6=C5 =D4=C1=DD=C9=D4=D8 memoir, oberdiek # =C9 =CD=CF=D6=C5=D4 =C2=D9=D4=D8 =DE=D4=CF-=D4=CF =C5=DD=A3. =ED=CE=C5 = =CB=C1=D6=C5=D4=D3=D1, base =C4=CF=CC=D6=C5=CE =C2=D9=D4=D8 =C2=CF=CC=C5=C5= =CB=CF=CE=D3=C5=D2=D7=C1=D4=C9=D7=CE=D9=CD. move;hyperref;collection-latexrecommended # eliminating texlive-latex-base->texlive-extra-utils dep # =D0=C1=CB=C5=D4 oberdiek =D0=CF=DE=C5=CD=D5-=D4=CF =D0=CF=D0=C1=CC =D7 ex= tra-utils, =C5=C7=CF =CD=C5=D3=D4=CF =D7 recommended move;oberdiek;collection-latexrecommended # =D4=D5=D4 =C4=CC=D1 =D3=D0=D2=C1=D7=CB=C9 =D0=D2=C9=D7=CF=D6=D5 =D3=D0=C9= =D3=CF=CB =CF=D4=C4=C5=CC=D8=CE=D9=C8 =C6=C1=CA=CC=CF=D7 =C9=DA ltxmisc, = =D0=CF=D2=CF=D6=C4=C1=C0=DD=C9=C8 # =CE=C5=D6=C5=CC=C1=D4=C5=CC=D8=CE=D9=C5 =DA=C1=D7=C9=D3=C9=CD=CF=D3=D4=C9 # some packages from ltxmisc collection are not so misc: #move-file;texmf-dist/tex/latex/ltxmisc/abstbook.cls;collection-latexextra #move-file;texmf-dist/tex/latex/ltxmisc/subfigmat.sty;collection-mathextra #move-file;texmf-dist/tex/latex/ltxmisc/concrete.sty;collection-fontsextra #move-file;texmf-dist/tex/latex/ltxmisc/a4wide.sty;collection-latex-recomme= nded #move-file;texmf-dist/tex/latex/ltxmisc/vertbars.sty;collection-humanities #### texlive-latex-recommended #move;ifxetex;collection-latexrecommended # powerdot =D4=D2=C5=C2=D5=C5=D4 pstricks =C9 extra # =CE=C5 =D7=D9=CE=C5=D3=D4=C9 =CC=C9 =C5=C7=CF =D7 =CF=D4=C4=C5=CC=D8=CE= =D9=CA =D0=C1=CB=C5=D4 (texlive-latex-extraextra) ## 2=C1=D1 =C9=D4=C5=D2=C1=C3=C9=D1: =DE=C9=D3=D4=CB=C1 recommended move;minitoc;collection-latexrecommended move;powerdot;collection-latexextra move;subfigure;collection-latexrecommended # let recommended depend on mathextra (10mb+) move;beton;collection-mathextra move;euler;collection-mathextra # eliminating texlive-latex-recommended->texlive-humanities dep move;lineno;collection-latexrecommended # footmisc =CE=D5=D6=CE=CF =D0=C5=D2=C5=CE=C5=D3=D4=C9 =D0=CF=C2=CC=C9=D6= =C5 =C9=DA extra, =CF=CE =D3=CC=C9=DB=CB=CF=CD =CD=CE=CF=C7=C9=CD =CE=D5=D6= =C5=CE move;footmisc;collection-latexrecommended # eliminating texlive-lang-cyrillic->texlive-latex-extra dep move;lastpage;collection-latexrecommended move;wrapfig;collection-latexrecommended ## 3=D1 =C9=D4=C5=D2=C1=C3=C9=D1, =DE=C9=D3=D4=CB=C1 =CF=D4 =DA=C1=D7=C9=D3= =C9=CD=CF=D3=D4=C5=CA =CE=C1 texlive-latex-extra # eliminating texlive-humanities->texlive-latex-extra dep move;ncctools;collection-latexrecommended move;fmtcount;collection-latexrecommended move;ipa;collection-humanities move;numprint;collection-latexrecommended # eliminating texlive-math-extra->texlive-latex-extra dep move;filecontents;collection-latexrecommended # elimination dep texlive-games->texlive-latex-extra move;xifthen;collection-latexrecommended # elimination dep texlive-pstricks->texlive-latex-extra move;ifplatform;collection-latexrecommended =EE=C1=C4=CF =D0=C5=D2=C5=D3=CF=C2=D2=C1=D4=D8 texlive =D3 =D5=CB=C1=DA=C1= =CE=CE=D9=CD=C9 =D0=C5=D2=C5=CD=C5=DD=C5=CE=C9=D1=CD=C9 =C9 =D0=D2=CF=D7=C5= =D2=C9=D4=D8 =C5=DD=A3 =D2=C1=DA, =DE=D4=CF =CE=C9=C7=C4=C5 =CE=C5 =CF=D3=D4=C1=CC=CF=D3=D8 =CE=C5=D6=C5=CC=C1=D4=C5=CC=D8=CE=D9=C8 =D7= =D3=D7=C5=D4=C5 =D4=D2=C5=C8=D5=D2=CF=D7=CE=C5=D7=CF=CA =D3=C8=C5=CD=D9 BA= SE/RECOMMENDED/EXTRA =DA=C1=D7=C9=D3=C9=CD=CF=D3=D4=C5=CA.=20 =E9 =CE=C5 =D7=CF=DA=CE=C9=CB=CC=CF =CC=C9 =CE=CF=D7=D9=C8 =D0=CF =CE=C5=C4= =CF=D3=CD=CF=D4=D2=D5. =E9 =CD=CF=D6=CE=CF =C2=D5=C4=C5=D4 =D7=D9=CB=CC=C1= =C4=D9=D7=C1=D4=D8. --=20 =EB=ED --Qz2CZ664xQdCRdPu Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAkpHk3gACgkQgHofUZvJB7R1jQCfYQ/1Y/wXVVupVM58CNZYPIe5 +u0An15K9ckSd+INQ4Bc07v3UMctJH8I =Gjvs -----END PGP SIGNATURE----- --Qz2CZ664xQdCRdPu--