rpms/live555/devel .cvsignore, 1.4, 1.5 live.2009.03.22-unified.patch, 1.1, 1.2 live555.spec, 1.5, 1.6 sources, 1.5, 1.6

NicolasChauvet kwizart at rpmfusion.org
Mon Aug 17 19:14:32 CEST 2009


Author: kwizart

Update of /cvs/free/rpms/live555/devel
In directory se02.es.rpmfusion.net:/tmp/cvs-serv16683/devel

Modified Files:
	.cvsignore live.2009.03.22-unified.patch live555.spec sources 
Log Message:
- 2009.07.28
- Revert circle dependency (prefer undefined non_weak_symbol)
- Disable static libraries compiled with fpic.
- Use c++ to link - BZ #564



Index: .cvsignore
===================================================================
RCS file: /cvs/free/rpms/live555/devel/.cvsignore,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- .cvsignore	7 Apr 2009 19:31:08 -0000	1.4
+++ .cvsignore	17 Aug 2009 17:14:31 -0000	1.5
@@ -1,3 +1 @@
-changelog.txt
-liblivemedia_2008.07.25-2.diff.gz
-live.2009.04.07.tar.gz
+live.2009.07.28.tar.gz

live.2009.03.22-unified.patch:

Index: live.2009.03.22-unified.patch
===================================================================
RCS file: /cvs/free/rpms/live555/devel/live.2009.03.22-unified.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- live.2009.03.22-unified.patch	17 Apr 2009 11:58:46 -0000	1.1
+++ live.2009.03.22-unified.patch	17 Aug 2009 17:14:31 -0000	1.2
@@ -3,7 +3,7 @@
 +++ live-patches/config.linux	2009-03-24 14:10:56.000000000 +0100
 @@ -1,4 +1,4 @@
 -COMPILE_OPTS =		$(INCLUDES) -I. -O2 -DSOCKLEN_T=socklen_t -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64
-+COMPILE_OPTS =		$(INCLUDES) -I. $(CFLAGS) -DBSD=1 -DSOCKLEN_T=socklen_t -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64
++COMPILE_OPTS =		$(INCLUDES) -I. $(CFLAGS) -DSOCKLEN_T=socklen_t -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64
  C =			c
  C_COMPILER =		cc
  C_FLAGS =		$(COMPILE_OPTS)
@@ -14,7 +14,7 @@
 -LIBRARY_LINK =		ld -o
 -LIBRARY_LINK_OPTS =	$(LINK_OPTS) -r -Bstatic
 -LIB_SUFFIX =			a
-+LIBRARY_LINK =		$(CC) -o 
++LIBRARY_LINK =		c++ -o 
 +LIBRARY_LINK_OPTS =	$(LINK_OPTS) -shared -Wl,-soname,$@.$(SO_VERSION) $(LIBADDS)
 +LIB_SUFFIX =			so
  LIBS_FOR_CONSOLE_APPLICATION =
@@ -30,7 +30,7 @@
 +C_FLAGS =		$(COMPILE_OPTS)
 +CPP =			cpp
 +CPLUSPLUS_COMPILER =	c++
-+CPLUSPLUS_FLAGS =	$(COMPILE_OPTS) -Wall -DBSD=1
++CPLUSPLUS_FLAGS =	$(COMPILE_OPTS) -Wall
 +OBJ =			o
 +LINK =			c++ -o
 +LINK_OPTS =		-L.


Index: live555.spec
===================================================================
RCS file: /cvs/free/rpms/live555/devel/live555.spec,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- live555.spec	17 Apr 2009 11:58:46 -0000	1.5
+++ live555.spec	17 Aug 2009 17:14:31 -0000	1.6
@@ -1,9 +1,9 @@
-%define		date	2009.04.07
+%define		date	2009.07.28
 %define		live_soversion 0
 
 Name:		live555
 Version:	0
-Release:	0.23.%{date}%{?dist}
+Release:	0.24.%{date}%{?dist}
 Summary:	Live555.com streaming libraries
 
 Group:		System Environment/Libraries
@@ -82,41 +82,13 @@
 
 %build
 ./genMakefiles %{_target_os}.static
-make %{?_smp_mflags} CFLAGS="$RPM_OPT_FLAGS -fPIC -DPIC"
-rename .a _pic.a */*.a
-mv $(find BasicUsageEnvironment groupsock liveMedia UsageEnvironment -name "*.a" ) $(pwd)
-make clean
 make %{?_smp_mflags} CFLAGS="$RPM_OPT_FLAGS"
 mv $(find BasicUsageEnvironment groupsock liveMedia UsageEnvironment -name "*.a" ) $(pwd)
 make clean
-# Hack to prevent undefined-non-weak-symbol
-for i in groupsock liveMedia ; do
-  pushd $i
-  LIBADD="-lstdc++ -lpthread"
-  for j in BasicUsageEnvironment groupsock liveMedia UsageEnvironment ; do
-    if [ $(grep $j Makefile.head |wc -l) = 1 ] ; then
-      LIBADD="$LIBADD -L../${j} -l${j}"
-    fi
-  done
-  echo -e LIBADDS = " $LIBADD " >> Makefile.head
-  popd
-  pushd UsageEnvironment
-    echo -e LIBADDS = -lstdc++ -L../BasicUsageEnvironment -lBasicUsageEnvironment >> Makefile.head
-  popd
-  pushd BasicUsageEnvironment
-    echo -e LIBADDS = -lstdc++ -lpthread  >> Makefile.head
-  popd
-done
+
 ./genMakefiles %{_target_os}
 make CFLAGS="$RPM_OPT_FLAGS -fPIC -DPIC" SO_VERSION="%{live_soversion}"
 
-# Hack to fix the circle dependency - we leave the safe parallele work here.
-pushd BasicUsageEnvironment
-rm *.so
-make CFLAGS="$RPM_OPT_FLAGS -fPIC -DPIC" SO_VERSION="%{live_soversion}" \
-    LIBADDS="-lstdc++ -lpthread -L../UsageEnvironment -lUsageEnvironment"
-popd
-
 %install
 rm -rf $RPM_BUILD_ROOT
 install -dm 755 $RPM_BUILD_ROOT{%{_libdir},%{_bindir}}
@@ -124,7 +96,6 @@
   install -dm 755 $RPM_BUILD_ROOT%{_includedir}/$i
   install -pm 644 $i/include/*.h* $RPM_BUILD_ROOT%{_includedir}/$i/
   install -pm 644 lib${i}.a $RPM_BUILD_ROOT%{_libdir}/lib${i}.a
-  install -pm 644 lib${i}_pic.a $RPM_BUILD_ROOT%{_libdir}/lib${i}_pic.a
   install -pm 755 $i/lib${i}.so $RPM_BUILD_ROOT%{_libdir}/lib${i}.so.%{date}
   ln -sf lib${i}.so.%{date} $RPM_BUILD_ROOT%{_libdir}/lib${i}.so.%{live_soversion}
   ln -sf lib${i}.so.%{date} $RPM_BUILD_ROOT%{_libdir}/lib${i}.so
@@ -198,6 +169,12 @@
 %{_libdir}/libUsageEnvironment*.a
 
 %changelog
+* Mon Aug 17 2009 kwizart < kwizart at gmail.com > - 0-0.24.2009.07.28
+- 2009.07.28
+- Revert circle dependency (prefer undefined non_weak_symbol)
+- Disable static libraries compiled with fpic.
+- Use c++ to link - BZ #564
+
 * Fri Apr 17 2009 kwizart < kwizart at gmail.com > - 0-0.23.2009.04.07
 - Unified patches. (unrelevant fixes dropped).
 


Index: sources
===================================================================
RCS file: /cvs/free/rpms/live555/devel/sources,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- sources	17 Apr 2009 11:58:46 -0000	1.5
+++ sources	17 Aug 2009 17:14:31 -0000	1.6
@@ -1 +1 @@
-724d6779ae6363545d9e83808e5cec2e  live.2009.04.07.tar.gz
+f2a9c1067e97076492b324c185bda108  live.2009.07.28.tar.gz



More information about the rpmfusion-commits mailing list