Update of /cvsroot/freevo/freevo/runtime
In directory sc8-pr-cvs1:/tmp/cvs-serv24794

Modified Files:
        Makefile 
Log Message:
Changes for the 1.4 runtime and add runtime_release target.


Index: Makefile
===================================================================
RCS file: /cvsroot/freevo/freevo/runtime/Makefile,v
retrieving revision 1.19
retrieving revision 1.20
diff -C2 -d -r1.19 -r1.20
*** Makefile    6 Aug 2003 00:34:45 -0000       1.19
--- Makefile    31 Oct 2003 20:13:01 -0000      1.20
***************
*** 10,13 ****
--- 10,16 ----
  # -----------------------------------------------------------------------
  # $Log$
+ # Revision 1.20  2003/10/31 20:13:01  rshortt
+ # Changes for the 1.4 runtime and add runtime_release target.
+ #
  # Revision 1.19  2003/08/06 00:34:45  rshortt
  # Adding pylcd.
***************
*** 101,105 ****
  TAR2="tar jxvf"
  
! PREFIX=$(COPY_BASE)/build
  COPY_BASE=$(PREFIX)
  
--- 104,108 ----
  TAR2="tar jxvf"
  
! PREFIX=/usr
  COPY_BASE=$(PREFIX)
  
***************
*** 107,112 ****
  
  PYBIN=/usr/bin/python
! LIRCLIB=/opt/lirc/lib
! LIRCINC=/opt/lirc/include
  
  .PHONY: copy build clean src copy_libdeps
--- 110,117 ----
  
  PYBIN=/usr/bin/python
! LIRCLIB=/usr/local/lib
! LIRCINC=/usr/local/include
! 
! LOGDIR=/var/log/freevo
  
  .PHONY: copy build clean src copy_libdeps
***************
*** 115,121 ****
--- 120,146 ----
  # There is no default target, you gotta know what you're doing :-)
  all:
+       @echo
        @echo Please see the Makefile source and the Wiki for more info!
+       @echo
+       @echo Right now this file is only used as a tool to release the binary
+       @echo runtime.
+       @echo
+ 
+ 
+ runapp_static: src/runapp.c
+       rm -f runapp
+       $(CC) $(CFLAGS) -static -o runapp src/runapp.c -DRUNAPP_LOGDIR=\"$(LOGDIR)\" 
+       strip runapp
+ 
+ runapp_dyn: src/runapp.c
+       rm -f runapp
+       $(CC) $(CFLAGS) -o runapp src/runapp.c -DRUNAPP_LOGDIR=\"$(LOGDIR)\"
+       strip runapp
  
  
+ runtime_release: runapp_static copy
+       rm -f runtime.tar.gz
+       tar zcvhf runtime.tar.gz runapp apps lib dll preloads
+ 
  # Copy the libraries, programs etc to this directory
  # There is no dependency checking, the libs are just copied
***************
*** 124,129 ****
  # Python programs in lib/ have their execute flag removed since
  # RPM building chokes on them.
! copy:         python_copy mplayer_copy mplayer_fonts_copy cdparanoia_copy \
!       lame_copy jpegtran_copy copy_libdeps
        find lib -name "*.so" -exec strip {} \;
        find dll -name "*.so*" -exec strip {} \;
--- 149,153 ----
  # Python programs in lib/ have their execute flag removed since
  # RPM building chokes on them.
! copy:         python_copy jpegtran_copy matroxset_copy copy_libdeps
        find lib -name "*.so" -exec strip {} \;
        find dll -name "*.so*" -exec strip {} \;
***************
*** 153,164 ****
  # easy killing in the main startscript 'freevo'
  copy_libdeps:
        -mkdir -p dll
        python copy_libdeps.py
        mv dll/ld-linux.so.2 dll/freevo_loader
  
  
  ################################################################################
  #
! # Python 2.2.2
  #
  ################################################################################
--- 177,191 ----
  # easy killing in the main startscript 'freevo'
  copy_libdeps:
+       -rm -rf dll
        -mkdir -p dll
        python copy_libdeps.py
        mv dll/ld-linux.so.2 dll/freevo_loader
+       cp $(PREFIX)/lib/i486/libcrypto.so.0.9.7 dll/
+       cp $(PREFIX)/lib/i486/libssl.so.0.9.7 dll/
  
  
  ################################################################################
  #
! # Python 2.3
  #
  ################################################################################
***************
*** 171,191 ****
        -mkdir -p lib
        -mkdir -p apps
!       cp -a /usr/lib/python2.2 lib
        find . -name "*.pyo" -exec rm {} \;
        find . -name "*.pyc" -exec rm {} \;
!       rm -rf lib/python2.2/config
!       rm -rf lib/python2.2/lib-tk
!       rm -rf lib/python2.2/lib-old
!       rm -rf lib/python2.2/test
        -mkdir -p tmp
!       cp -a lib/python2.2/site-packages/{CDDB.py,DiscID.py,Numeric,Numeric.pth} tmp
!       cp -a lib/python2.2/site-packages/{PIL,PIL.pth,_xmlplus,aomodule.so} tmp
!       cp -a lib/python2.2/site-packages/{cdrom.so,mx,ogg,pygame,pygphoto.so} tmp
!       cp -a lib/python2.2/site-packages/{pylircmodule.so,fchksum.so,pylcd.py} tmp
!       cp -a lib/python2.2/site-packages/{_xmms.so,xmms.py} tmp
!       cp -a lib/python2.2/site-packages/{mmpython,twisted,pyshift.so} tmp
!       rm -rf lib/python2.2/site-packages
!       mv tmp lib/python2.2/site-packages
!       cp -a /usr/bin/python2.2 apps/freevo_python
  
  
--- 198,217 ----
        -mkdir -p lib
        -mkdir -p apps
!       cp -a /usr/lib/python2.3 lib
        find . -name "*.pyo" -exec rm {} \;
        find . -name "*.pyc" -exec rm {} \;
!       rm -rf lib/python2.3/config
!       rm -rf lib/python2.3/lib-tk
!       rm -rf lib/python2.3/lib-old
!       rm -rf lib/python2.3/test
        -mkdir -p tmp
!       cp -a lib/python2.3/site-packages/{Numeric,Numeric.pth} tmp
!       cp -a lib/python2.3/site-packages/{PIL,PIL.pth,_xmlplus,aomodule.so} tmp
!       cp -a lib/python2.3/site-packages/{ogg,pygame,pygphoto.so} tmp
!       cp -a lib/python2.3/site-packages/{pylircmodule.so,fchksum.so,pylcd.py} tmp
!       cp -a lib/python2.3/site-packages/{mmpython,twisted} tmp
!       rm -rf lib/python2.3/site-packages
!       mv tmp lib/python2.3/site-packages
!       cp -a /usr/bin/python2.3 apps/freevo_python
  
  
***************
*** 242,245 ****
--- 268,281 ----
        @echo Copying jpegtran
        cp -a $(PREFIX)/bin/jpegtran apps/
+ 
+ 
+ ################################################################################
+ #
+ # matroxset, comes with mplayer
+ #
+ ################################################################################
+ matroxset_copy:
+       @echo Copying matroxset
+       cp -a $(PREFIX)/bin/matroxset apps/
  
  




-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?   SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
Freevo-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog

Reply via email to