OpenPKG CVS Repository
  http://cvs.openpkg.org/
  ____________________________________________________________________________

  Server: cvs.openpkg.org                  Name:   Ralf S. Engelschall
  Root:   /v/openpkg/cvs                   Email:  r...@openpkg.org
  Module: openpkg-src                      Date:   21-Dec-2009 15:51:53
  Branch: HEAD                             Handle: 2009122114515300

  Modified files:
    openpkg-src/texlive     texlive.patch texlive.spec

  Log:
    initial cut for TeX Live 2009 packaging

  Summary:
    Revision    Changes     Path
    1.2         +19 -4      openpkg-src/texlive/texlive.patch
    1.2         +10 -10     openpkg-src/texlive/texlive.spec
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: openpkg-src/texlive/texlive.patch
  ============================================================================
  $ cvs diff -u -r1.1 -r1.2 texlive.patch
  --- openpkg-src/texlive/texlive.patch 22 May 2009 12:21:04 -0000      1.1
  +++ openpkg-src/texlive/texlive.patch 21 Dec 2009 14:51:53 -0000      1.2
  @@ -1,12 +1,27 @@
  -Index: libs/icu-xetex/icudefs.mk.in
  ---- libs/icu-xetex/icudefs.mk.in.orig        2008-03-04 14:26:36 +0100
  -+++ libs/icu-xetex/icudefs.mk.in     2009-05-21 13:44:28 +0200
  +Index: configure
  +--- configure.orig   2009-10-10 14:05:04 +0200
  ++++ configure        2009-11-14 09:20:34 +0100
  +@@ -23405,11 +23405,6 @@
  + $as_echo "$as_me: error: some requested system libraries failed" >&2;}
  +    { (exit 1); exit 1; }; }
  + fi
  +-if test "x$syslib_used:$enable_native_texlive_build" = xyes:yes; then
  +-  { { $as_echo "$as_me:$LINENO: error: you can not use system libraries for 
a native TeX Live build" >&5
  +-$as_echo "$as_me: error: you can not use system libraries for a native TeX 
Live build" >&2;}
  +-   { (exit 1); exit 1; }; }
  +-fi
  + CPPFLAGS=$kpse_save_CPPFLAGS
  + LIBS=$kpse_save_LIBS
  + 
  +Index: libs/icu/icu-xetex/icudefs.mk.in
  +--- libs/icu/icu-xetex/icudefs.mk.in.orig    2008-03-04 14:26:36 +0100
  ++++ libs/icu/icu-xetex/icudefs.mk.in 2009-12-21 13:17:35 +0100
   @@ -134,7 +134,7 @@
    ifeq ($(ENABLE_RPATH),YES)
    RPATHLDFLAGS = $(LD_RPATH)$(LD_RPATH_PRE)$(libdir)
    endif
   -LDFLAGS = @LDFLAGS@ $(RPATHLDFLAGS)
  -+LDFLAGS = -L$(LIBDIR) $(RPATHLDFLAGS)
  ++LDFLAGS =
    
    # What kind of libraries are we building and linking against?
    ENABLE_STATIC = @ENABLE_STATIC@
  @@ .
  patch -p0 <<'@@ .'
  Index: openpkg-src/texlive/texlive.spec
  ============================================================================
  $ cvs diff -u -r1.1 -r1.2 texlive.spec
  --- openpkg-src/texlive/texlive.spec  22 May 2009 12:21:04 -0000      1.1
  +++ openpkg-src/texlive/texlive.spec  21 Dec 2009 14:51:53 -0000      1.2
  @@ -22,9 +22,9 @@
   ##
   
   #   package version
  -%define       V_base   2008
  -%define       V_source 20080816
  -%define       V_texmf  20080822
  +%define       V_base   2009
  +%define       V_source 20091107
  +%define       V_texmf  20091107
   
   #   package information
   Name:         texlive
  @@ -37,14 +37,14 @@
   Group:        Typesetting
   License:      GPL
   Version:      %{V_base}
  -Release:      20090522
  +Release:      20091221
   
   #   package options
   %option       with_x11  no
   
   #   list of sources
  -Source0:      
ftp://tug.org/historic/systems/texlive/%{V_base}/texlive-%{V_source}-source.tar.lzma
  -Source1:      
ftp://tug.org/historic/systems/texlive/%{V_base}/texlive-%{V_texmf}-texmf.tar.lzma
  +Source0:      
ftp://tug.org/historic/systems/texlive/%{V_base}/texlive-%{V_source}-source.tar.xz
  +Source1:      
ftp://tug.org/historic/systems/texlive/%{V_base}/texlive-%{V_texmf}-texmf.tar.xz
   Patch0:       texlive.patch
   
   #   build information
  @@ -70,17 +70,17 @@
       prog texlive:source = {
           version   = %{V_source}
           url       = ftp://tug.org/historic/systems/texlive/%{V_base}/
  -        regex     = texlive-(__VER__)-source\.tar\.lzma
  +        regex     = texlive-(__VER__)-source\.tar\.xz
       }
       prog texlive:texmf = {
           version   = %{V_texmf}
           url       = ftp://tug.org/historic/systems/texlive/%{V_base}/
  -        regex     = texlive-(__VER__)-texmf\.tar\.lzma
  +        regex     = texlive-(__VER__)-texmf\.tar\.xz
       }
   
   %prep
       %setup -q -T -c
  -    lzma -d -c %{SOURCE0} | %{l_tar} xf -
  +    xz -d -c %{SOURCE0} | %{l_tar} xf -
       cd texlive-%{V_source}-source
       %patch -p0
   
  @@ -168,7 +168,7 @@
           $RPM_BUILD_ROOT%{l_prefix}/man/man5
   
       #   install TeX and MetaFont data
  -    lzma -d -c %{SOURCE1} |\
  +    xz -d -c %{SOURCE1} |\
           ( umask 0 && cd $RPM_BUILD_ROOT%{l_prefix}/share && %{l_tar} xf - ) 
|| exit $?
       mv  $RPM_BUILD_ROOT%{l_prefix}/share/texlive-%{V_texmf}-texmf/* \
           $RPM_BUILD_ROOT%{l_prefix}/share/
  @@ .
______________________________________________________________________
OpenPKG                                             http://openpkg.org
CVS Repository Commit List                     openpkg-cvs@openpkg.org

Reply via email to