New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Changeset 81285


Ignore:
Timestamp:
07/28/11 17:47:19 (4 years ago)
Author:
dports@…
Message:

Add more registry_deactivate hacks for the TL2011 update:

  • texlive-bin installs updmap.pl now, instead of texlive-basic, so have it deactivate texlive-basic
  • texlive-latex-recommended now contains fontspec and textcase, so have it deactivate 2010 versions of texlive-xetex and texlive-latex-extra
Location:
users/dports/ports/tex
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • users/dports/ports/tex/texlive-bin/Portfile

    r81238 r81285  
    185185        $deactivate_proc texlive-htmlxml "" [list ports_nodepcheck 1] 
    186186    } 
     187 
     188    if { [file exists ${texlive_texmfmain}/scripts/tetex/updmap.pl] 
     189         && ![catch {set vers [lindex [registry_active texlive-basic] 0]}] 
     190         && [rpm-vercomp [lindex $vers 1] 2011] < 0} { 
     191        set deactivate_proc registry_deactivate_composite 
     192        if {[info commands registry_deactivate_composite] == {}} { 
     193            set deactivate_proc registry_deactivate 
     194        } 
     195        $deactivate_proc texlive-basic "" [list ports_nodepcheck 1] 
     196    } 
    187197} 
    188198 
  • users/dports/ports/tex/texlive-latex-recommended/Portfile

    r81122 r81285  
    3434depends_lib-append port:pgf 
    3535 
     36pre-activate { 
     37    # fontspec moved from texlive-xetex in TL2011 
     38    if {![catch {set vers [lindex [registry_active texlive-xetex] 0]}] 
     39        && [rpm-vercomp [lindex $vers 1] 23080] < 0} { 
     40        set deactivate_proc registry_deactivate_composite 
     41        if {[info commands registry_deactivate_composite] == {}} { 
     42            set deactivate_proc registry_deactivate 
     43        } 
     44        $deactivate_proc texlive-xetex "" [list ports_nodepcheck 1] 
     45    } 
     46 
     47    # textcase moved from texlive-latex-extra in TL2011 
     48    if {![catch {set vers [lindex [registry_active texlive-latex-extra] 0]}] 
     49        && [rpm-vercomp [lindex $vers 1] 22931] < 0} { 
     50        set deactivate_proc registry_deactivate_composite 
     51        if {[info commands registry_deactivate_composite] == {}} { 
     52            set deactivate_proc registry_deactivate 
     53        } 
     54        $deactivate_proc texlive-latex-extra "" [list ports_nodepcheck 1] 
     55    } 
     56} 
     57 
    3658texlive.texmfport 
Note: See TracChangeset for help on using the changeset viewer.