packages: libmatroska/libmatroska-makefile.patch, libmatroska/libmatroska.s...

qboosh qboosh at pld-linux.org
Thu Jun 30 19:52:00 CEST 2011


Author: qboosh                       Date: Thu Jun 30 17:52:00 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- updated to 1.2.0 (note: new soname)
- updated makefile patch

---- Files affected:
packages/libmatroska:
   libmatroska-makefile.patch (1.11 -> 1.12) , libmatroska.spec (1.27 -> 1.28) 

---- Diffs:

================================================================
Index: packages/libmatroska/libmatroska-makefile.patch
diff -u packages/libmatroska/libmatroska-makefile.patch:1.11 packages/libmatroska/libmatroska-makefile.patch:1.12
--- packages/libmatroska/libmatroska-makefile.patch:1.11	Mon Jan 31 21:32:40 2011
+++ packages/libmatroska/libmatroska-makefile.patch	Thu Jun 30 19:51:55 2011
@@ -1,14 +1,11 @@
---- libmatroska-1.0.0/make/linux/Makefile~	2010-08-05 23:37:39.000000000 +0300
-+++ libmatroska-1.0.0/make/linux/Makefile	2010-08-05 23:38:53.361903703 +0300
-@@ -28,6 +28,7 @@
+--- libmatroska-1.2.0/make/linux/Makefile.orig	2011-06-30 19:44:13.460706988 +0200
++++ libmatroska-1.2.0/make/linux/Makefile	2011-06-30 19:50:32.134053000 +0200
+@@ -29,12 +29,13 @@
  INSTALL_OPTS = -m 644
  INSTALL_OPTS_LIB = -m 644
  INSTALL_DIR_OPTS = -m 755
 +LIBTOOL = libtool
  
- ifneq (,$(shell $(CXX) -v 2>&1 | tail -n 1 | grep -i mingw))
- $(error Please use the Makefile in ../mingw32)
-@@ -36,8 +37,8 @@
  CWD=$(shell pwd)
  
  # Options
@@ -19,7 +16,7 @@
  EXTENSION=.cpp
  
  ifeq (yes,$(DEBUG))
-@@ -50,12 +50,10 @@
+@@ -49,12 +50,10 @@
  # Librarires
  INCLUDE=-I$(CWD)/../.. -I$(LIBEBML_INCLUDE_DIR)
  LIBS=
@@ -29,12 +26,12 @@
  # Names
 -LIBRARY=libmatroska.a
 -LIBRARY_SO=libmatroska.so
--LIBRARY_SO_VER=libmatroska.so.3
+-LIBRARY_SO_VER=libmatroska.so.4
 +LIBRARY=libmatroska.la
  
  # source-files
  sources:=$(wildcard ${SRC_DIR}*$(EXTENSION))
-@@ -65,10 +64,8 @@
+@@ -62,10 +61,8 @@
  # header files; replace .cxx extension with .h
  headers:=$(patsubst %$(EXTENSION),%.h,$(sources))
  
@@ -47,7 +44,7 @@
  
  WARNINGFLAGS=-Wall -Wno-unknown-pragmas -ansi -fno-gnu-keywords -D_GNU_SOURCE \
  		-Wshadow
-@@ -75,32 +73,19 @@
+@@ -76,32 +73,19 @@
  ifeq (Darwin,$(shell uname -s))
  all: staticlib
  else
@@ -79,11 +76,11 @@
 -	$(CXX) -shared -Wl,-soname,$(LIBRARY_SO_VER) -o $(LIBRARY_SO_VER) $(objects_so) -lebml
 -	rm -f $(LIBRARY_SO)
 -	ln -s $(LIBRARY_SO_VER) $(LIBRARY_SO)
-+	$(LIBTOOL) --mode=link --tag=CC $(LD) $(LDFLAGS) -version-info 3:0:0 -o $@ $^ $(LIBS) -lebml -rpath $(libdir)
++	$(LIBTOOL) --mode=link --tag=CC $(LD) $(LDFLAGS) -version-info 4:0:0 -o $@ $^ $(LIBS) -lebml -rpath $(libdir)
  
  clean:	cleantest
  	rm -f $(objects) $(objects_so)
-@@ -132,19 +116,19 @@
+@@ -129,19 +113,19 @@
  test: test6 test9
  
  test6:	test6.o $(LIBRARY) $(LIBRARY_SO)
@@ -106,7 +103,7 @@
  
  test9.o: $(TAG_SRC_DIR)test9.cpp
  	$(CXX) -c $(COMPILEFLAGS) -o $@ $<
-@@ -152,27 +136,22 @@
+@@ -149,27 +133,22 @@
  ifeq (Darwin,$(shell uname -s))
  install: install_staticlib install_headers
  else

================================================================
Index: packages/libmatroska/libmatroska.spec
diff -u packages/libmatroska/libmatroska.spec:1.27 packages/libmatroska/libmatroska.spec:1.28
--- packages/libmatroska/libmatroska.spec:1.27	Mon Jan 31 21:32:40 2011
+++ packages/libmatroska/libmatroska.spec	Thu Jun 30 19:51:55 2011
@@ -2,19 +2,20 @@
 Summary:	Extensible Binary Meta Language access library
 Summary(pl.UTF-8):	Biblioteka dostępu rozszerzalnego metajęzyka binarnego
 Name:		libmatroska
-Version:	1.1.0
+Version:	1.2.0
 Release:	1
 License:	LGPL v2.1+
 Group:		Libraries
 Source0:	http://dl.matroska.org/downloads/libmatroska/%{name}-%{version}.tar.bz2
-# Source0-md5:	21e5ee3e2573f0ae99db195348bdfb98
+# Source0-md5:	a4f967f9ade56d5181714f3199ffa241
 Patch0:		%{name}-makefile.patch
 URL:		http://www.matroska.org/
-BuildRequires:	libebml-devel >= 1.2.0
+BuildRequires:	libebml-devel >= 1.2.1
 BuildRequires:	libstdc++-devel
 BuildRequires:	libtool
 BuildRequires:	rpmbuild(macros) >= 1.566
 BuildRequires:	sed >= 4.0
+Requires:	libebml >= 1.2.1
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -38,7 +39,7 @@
 Summary(pl.UTF-8):	Nagłówki dla biblioteki matroska
 Group:		Development/Libraries
 Requires:	%{name} = %{version}-%{release}
-Requires:	libebml-devel >= 1.2.0
+Requires:	libebml-devel >= 1.2.1
 Requires:	libstdc++-devel
 
 %description devel
@@ -95,7 +96,7 @@
 %defattr(644,root,root,755)
 %doc ChangeLog
 %attr(755,root,root) %{_libdir}/libmatroska.so.*.*.*
-%attr(755,root,root) %ghost %{_libdir}/libmatroska.so.3
+%attr(755,root,root) %ghost %{_libdir}/libmatroska.so.4
 
 %files devel
 %defattr(644,root,root,755)
@@ -114,6 +115,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.28  2011/06/30 17:51:55  qboosh
+- updated to 1.2.0 (note: new soname)
+- updated makefile patch
+
 Revision 1.27  2011/01/31 20:32:40  qboosh
 - updated to 1.1.0 (new soname)
 - updated makefile patch
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/libmatroska/libmatroska-makefile.patch?r1=1.11&r2=1.12&f=u
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/libmatroska/libmatroska.spec?r1=1.27&r2=1.28&f=u



More information about the pld-cvs-commit mailing list