packages: pwlib/pwlib-API.patch, pwlib/pwlib-bison-pure.patch, pwlib/pwlib-...

arekm arekm at pld-linux.org
Fri Jan 22 21:18:26 CET 2010


Author: arekm                        Date: Fri Jan 22 20:18:26 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- readd

---- Files affected:
packages/pwlib:
   pwlib-API.patch (1.2 -> 1.3) , pwlib-bison-pure.patch (1.2 -> 1.3) , pwlib-lib64.patch (1.2 -> 1.3) , pwlib-libname.patch (1.6 -> 1.7) , pwlib-mak_files.patch (1.15 -> 1.16) , pwlib-opt.patch (1.2 -> 1.3) , pwlib-sparc64.patch (1.2 -> 1.3) , pwlib.spec (1.150 -> 1.151) 

---- Diffs:

================================================================
Index: packages/pwlib/pwlib-API.patch
diff -u /dev/null packages/pwlib/pwlib-API.patch:1.3
--- /dev/null	Fri Jan 22 21:18:26 2010
+++ packages/pwlib/pwlib-API.patch	Fri Jan 22 21:18:20 2010
@@ -0,0 +1,11 @@
+diff -urN pwlib-1.10.2/include/ptlib/critsec.h pwlib-1.10.2.new/include/ptlib/critsec.h
+--- pwlib-1.10.2/include/ptlib/critsec.h	2006-01-27 04:43:24.000000000 +0100
++++ pwlib-1.10.2.new/include/ptlib/critsec.h	2006-12-23 13:56:20.593039811 +0100
+@@ -230,7 +230,6 @@
+       inline int operator--()            { PWaitAndSignal m(critSec); value--; return value;}
+       inline operator int () const       { return value; }
+       inline void SetValue(int v)        { value = v; }
+-   private:
+       PAtomicInteger & operator=(const PAtomicInteger & ref) { value = (int)ref; return *this; }
+     protected:
+       int value;

================================================================
Index: packages/pwlib/pwlib-bison-pure.patch
diff -u /dev/null packages/pwlib/pwlib-bison-pure.patch:1.3
--- /dev/null	Fri Jan 22 21:18:26 2010
+++ packages/pwlib/pwlib-bison-pure.patch	Fri Jan 22 21:18:20 2010
@@ -0,0 +1,18 @@
+--- pwlib/src/ptlib/common/getdate.y.orig	2003-01-24 11:21:06.000000000 +0100
++++ pwlib/src/ptlib/common/getdate.y	2003-07-13 14:37:30.000000000 +0200
+@@ -1,3 +1,4 @@
++%pure-parser
+ %{
+ /*
+ **  Originally written by Steven M. Bellovin <smb at research.att.com> while
+@@ -111,8 +112,9 @@
+ #define yylex		PTime_yylex
+ #define yyerror		PTime_yyerror
+ 
++union YYSTYPE;
+ static int yyparse(void *); 
+-static int yylex();
++static int yylex(union YYSTYPE * yylval, void *yyInput);
+ 
+ #ifdef __GNUC__
+ static int yyerror();

================================================================
Index: packages/pwlib/pwlib-lib64.patch
diff -u /dev/null packages/pwlib/pwlib-lib64.patch:1.3
--- /dev/null	Fri Jan 22 21:18:26 2010
+++ packages/pwlib/pwlib-lib64.patch	Fri Jan 22 21:18:20 2010
@@ -0,0 +1,11 @@
+--- pwlib_v1_9_0/make/common.mak.orig	2005-06-03 19:00:58.000000000 +0200
++++ pwlib_v1_9_0/make/common.mak	2005-06-04 22:17:18.000000000 +0200
+@@ -365,7 +365,7 @@
+ OBJS += $(OBJDIR)/buildnum.o
+ endif
+ 
+-TARGET_LIBS	= $(PWLIBDIR)/lib/$(PTLIB_FILE)
++TARGET_LIBS	= $(PWLIBDIR)/lib64/$(PTLIB_FILE)
+ 
+ # distinguish betweek building and using pwlib
+ ifeq (,$(wildcard $(PWLIBDIR)/src))

================================================================
Index: packages/pwlib/pwlib-libname.patch
diff -u /dev/null packages/pwlib/pwlib-libname.patch:1.7
--- /dev/null	Fri Jan 22 21:18:26 2010
+++ packages/pwlib/pwlib-libname.patch	Fri Jan 22 21:18:20 2010
@@ -0,0 +1,38 @@
+--- pwlib-1.8.4/make/unix.mak.orig	2005-03-25 00:07:16.116323760 +0100
++++ pwlib-1.8.4/make/unix.mak	2005-03-25 00:17:54.552266744 +0100
+@@ -840,7 +840,7 @@
+ LIB_TYPE	=
+ else   
+ LIB_SUFFIX	= a 
+-LIB_TYPE	= _s
++LIB_TYPE	=
+ endif # P_SHAREDLIB
+ 
+ ifndef INSTALL_DIR
+@@ -882,13 +882,13 @@
+ PW_LIBDIR	= $(SYSLIBDIR)
+ 
+ # set name of the PT library
+-PTLIB_BASE	= pt_$(PLATFORM_TYPE)_$(OBJ_SUFFIX)
++PTLIB_BASE	= pt
+ PTLIB_FILE	= lib$(PTLIB_BASE)$(LIB_TYPE).$(LIB_SUFFIX)
+ PT_OBJBASE	= obj_$(PLATFORM_TYPE)_$(OBJDIR_SUFFIX)
+ PT_OBJDIR	= $(PW_LIBDIR)/$(PT_OBJBASE)
+ 
+ # set name of the PW library (may not be used)
+-PWLIB_BASE	= pw_$(GUI_TYPE)_$(PLATFORM_TYPE)_$(OBJ_SUFFIX)
++PWLIB_BASE	= pw_$(GUI_TYPE)
+ PWLIB_FILE	= lib$(PWLIB_BASE)$(LIB_TYPE).$(LIB_SUFFIX)
+ PW_OBJBASE	= obj_$(GUI_TYPE)_$(PLATFORM_TYPE)_$(OBJDIR_SUFFIX)
+ PW_OBJDIR	= $(PW_LIBDIR)/$(PW_OBJBASE)
+--- pwlib/make/lib.mak.orig	2003-07-29 14:33:34.000000000 +0200
++++ pwlib/make/lib.mak	2003-09-03 20:15:16.621577000 +0200
+@@ -135,7 +135,7 @@
+ ifneq ($(P_SHAREDLIB),1)
+   STATIC_LIB_FILE = $(LIBDIR)/$(LIB_FILENAME)
+ else
+-  STATIC_LIB_FILE = $(LIBDIR)/$(subst .$(LIB_SUFFIX),_s.$(STATICLIBEXT),$(LIB_FILENAME))
++  STATIC_LIB_FILE = $(LIBDIR)/$(subst .$(LIB_SUFFIX),.$(STATICLIBEXT),$(LIB_FILENAME))
+ endif
+ 
+ $(LIBDIR)/$(LIB_FILENAME) : $(TARGETLIB)

================================================================
Index: packages/pwlib/pwlib-mak_files.patch
diff -u /dev/null packages/pwlib/pwlib-mak_files.patch:1.16
--- /dev/null	Fri Jan 22 21:18:26 2010
+++ packages/pwlib/pwlib-mak_files.patch	Fri Jan 22 21:18:20 2010
@@ -0,0 +1,240 @@
+diff -Naur pwlib_v1_9_0.orig/make/common.mak pwlib_v1_9_0/make/common.mak
+--- pwlib_v1_9_0.orig/make/common.mak	2005-05-18 18:40:21.000000000 +0200
++++ pwlib_v1_9_0/make/common.mak	2005-05-18 18:41:20.000000000 +0200
+@@ -384,6 +384,7 @@
+ 	$(LD)   --split-by-reloc 65535 -r   $(OBJS) -o $@ 
+ endif
+ 
++ifdef PWLIB_BUILD
+ ifdef DEBUG
+ 
+ ifneq (,$(wildcard $(PWLIBDIR)/src/ptlib/unix))
+@@ -399,6 +400,7 @@
+ endif
+ 
+ endif
++endif 
+ 
+ CLEAN_FILES += $(TARGET)
+ 
+diff -Naur pwlib_v1_9_0.orig/make/gui.mak pwlib_v1_9_0/make/gui.mak
+--- pwlib_v1_9_0.orig/make/gui.mak	2005-05-18 18:40:21.000000000 +0200
++++ pwlib_v1_9_0/make/gui.mak	2005-05-18 18:42:20.000000000 +0200
+@@ -64,11 +64,11 @@
+ #
+ 
+ 
+-include $(PWLIBDIR)/make/defaultgui.mak
++include $(PWLIBMAKEDIR)/defaultgui.mak
+ 
+ ifneq (,$(GUI_TYPE))
+ 
+-include $(PWLIBDIR)/make/$(GUI_TYPE).mak
++include $(PWLIBMAKEDIR)/$(GUI_TYPE).mak
+ 
+ ifndef	GUI_SRC_NAME
+ GUI_SRC_NAME	= $(GUI_TYPE)
+diff -Naur pwlib_v1_9_0.orig/make/ptbuildopts.mak.in pwlib_v1_9_0/make/ptbuildopts.mak.in
+--- pwlib_v1_9_0.orig/make/ptbuildopts.mak.in	2005-05-18 18:40:21.000000000 +0200
++++ pwlib_v1_9_0/make/ptbuildopts.mak.in	2005-05-18 18:49:20.000000000 +0200
+@@ -1,13 +1,7 @@
+ # This file is automatically generated by autoconf
+ #
+ 
+-ifndef PWLIBDIR
+-	echo "No PWLIBDIR environment variable defined!"
+-	echo "You need to define PWLIBDIR!"
+-	echo "Try something like:"
+-	echo "PWLIBDIR = $(HOME)/pwlib"
+-	exit 1
+-endif
++PWLIBDIR   = @INSTALLPREFIX@
+ 
+ MACHTYPE   = @MACHTYPE@
+ OSTYPE	   = @OSTYPE@
+--- pwlib-1.9.2/make/ptlib-config.in.orig	2005-09-18 13:05:36.000000000 +0200
++++ pwlib-1.9.2/make/ptlib-config.in	2006-01-22 20:24:46.523660000 +0100
+@@ -6,10 +6,10 @@
+ 
+ VERSION="@PWLIB_VERSION@"
+ CCFLAGS="@STDCCFLAGS@"
+-LDFLAGS="@LDFLAGS@"
++LDFLAGS=
+ LIBS="@ENDLDLIBS@ -lpt"
+ LIBDIR="@LIBDIR@"
+-PWINSTDIR="@INSTALLPREFIX@/share/pwlib"
++PWINSTDIR="@INSTALLPREFIX@"
+ MACHTYPE="@MACHTYPE@"
+ OSTYPE="@OSTYPE@"
+ OSRELEASE="@OSRELEASE@"
+--- pwlib-1.9.2/make/ptlib.mak.orig	2005-08-14 15:12:42.000000000 +0200
++++ pwlib-1.9.2/make/ptlib.mak	2006-01-22 20:25:38.954936750 +0100
+@@ -41,15 +41,13 @@
+ #
+ 
+ ifndef PWLIBDIR
+-
+-$(error No PWLIBDIR environment variable defined! \
+-You need to define PWLIBDIR! \
+-Try something like: \
+-PWLIBDIR = $(HOME)/pwlib)
+-
++PWLIBDIR=/usr
++endif
++ifndef PWLIBMAKEDIR
++PWLIBMAKEDIR=/usr/share/pwlib/make
+ endif
+ 
+-include $(PWLIBDIR)/make/unix.mak
+-include $(PWLIBDIR)/make/common.mak
++include $(PWLIBMAKEDIR)/unix.mak
++include $(PWLIBMAKEDIR)/common.mak
+ 
+ # End of ptlib.mak
+diff -Naur pwlib_v1_9_0.orig/make/pwlib.mak pwlib_v1_9_0/make/pwlib.mak
+--- pwlib_v1_9_0.orig/make/pwlib.mak	2005-05-18 18:40:21.000000000 +0200
++++ pwlib_v1_9_0/make/pwlib.mak	2005-05-18 18:45:50.000000000 +0200
+@@ -47,15 +47,14 @@
+ #
+ 
+ ifndef PWLIBDIR
+-	echo "No PWLIBDIR environment variable defined!"
+-	echo "You need to define PWLIBDIR!"
+-	echo "Try something like:"
+-	echo "PWLIBDIR = $(HOME)/pwlib"
+-	exit 1
++PWLIBDIR=/usr
++endif
++ifndef PWLIBMAKEDIR
++PWLIBMAKEDIR=/usr/share/pwlib/make
+ endif
+ 
+-include $(PWLIBDIR)/make/unix.mak
+-include $(PWLIBDIR)/make/gui.mak
+-include $(PWLIBDIR)/make/common.mak
++include $(PWLIBMAKEDIR)/unix.mak
++include $(PWLIBMAKEDIR)/gui.mak
++include $(PWLIBMAKEDIR)/common.mak
+ 
+ # End of pwlib.mak
+diff -Naur pwlib_v1_9_0.orig/make/unix.mak pwlib_v1_9_0/make/unix.mak
+--- pwlib_v1_9_0.orig/make/unix.mak	2005-05-18 18:40:21.000000000 +0200
++++ pwlib_v1_9_0/make/unix.mak	2005-05-18 18:48:27.000000000 +0200
+@@ -134,17 +134,16 @@
+ #
+ 
+ ifndef PWLIBDIR
+-	echo "No PWLIBDIR environment variable defined!"
+-	echo "You need to define PWLIBDIR!"
+-	echo "Try something like:"
+-	echo "PWLIBDIR = $(HOME)/pwlib"
+-	exit 1
++PWLIBDIR=/usr
++endif
++ifndef PWLIBMAKEDIR
++PWLIBMAKEDIR=/usr/share/pwlib/make
+ endif
+ 
+ ####################################################
+ 
+ # include generated build options file, then include it
+-include $(PWLIBDIR)/make/ptbuildopts.mak
++include $(PWLIBMAKEDIR)/ptbuildopts.mak
+ 
+ ###############################################################################
+ #
+@@ -367,10 +366,6 @@
+ # any -W overrides won't have any effect
+ STDCCFLAGS += -Wall 
+ 
+-ifdef RPM_OPT_FLAGS
+-STDCCFLAGS	+= $(RPM_OPT_FLAGS)
+-endif
+-
+ ifneq ($(OSTYPE),rtems)
+ ifndef SYSINCDIR
+ SYSINCDIR := /usr/include
+@@ -415,7 +410,7 @@
+ 
+ 
+ STATIC_LIBS	:= libstdc++.a libg++.a libm.a libc.a
+-SYSLIBDIR	:= $(shell $(PWLIBDIR)/make/ptlib-config --libdir)
++SYSLIBDIR	:= $(shell $(PWLIBDIR)/bin/ptlib-config --libdir)
+ 
+ endif # linux
+ 
+@@ -861,7 +856,7 @@
+ endif
+ 
+ ifndef INSTALLLIB_DIR
+-INSTALLLIB_DIR	= $(INSTALL_DIR)/lib
++INSTALLLIB_DIR	= $(subst $(PWLIBDIR),$(INSTALL_DIR),$(SYSLIBDIR))
+ endif
+ 
+ 
+@@ -888,7 +883,7 @@
+ UNIX_SRC_DIR	= $(PWLIBDIR)/src/ptlib/unix
+ endif
+ 
+-PW_LIBDIR	= $(PWLIBDIR)/lib
++PW_LIBDIR	= $(SYSLIBDIR)
+ 
+ # set name of the PT library
+ PTLIB_BASE	= pt
+@@ -929,7 +924,7 @@
+ # define ESDDIR variables if installed
+ ifdef  ESDDIR
+ STDCCFLAGS	+= -I$(ESDDIR)/include -DUSE_ESD=1
+-ENDLDLIBS	+= $(ESDDIR)/lib/libesd.a  # to avoid name conflicts
++ENDLDLIBS	+= -lesd
+ HAS_ESD		= 1
+ endif
+ 
+diff -Naur pwlib_v1_9_0.orig/Makefile.in pwlib_v1_9_0/Makefile.in
+--- pwlib_v1_9_0.orig/Makefile.in	2005-05-18 18:40:21.000000000 +0200
++++ pwlib_v1_9_0/Makefile.in	2005-05-18 18:54:06.000000000 +0200
+@@ -250,30 +250,18 @@
+                      $(DESTDIR)$(PREFIX)/share/pwlib/make ; \
+ 		do mkdir -p $$dir ; chmod 755 $$dir ; \
+ 	done )
+-	$(INSTALL) -m 444 lib/$(PTLIB_FILE). at MAJOR_VERSION@. at MINOR_VERSION@. at BUILD_NUMBER@ $(DESTDIR)$(LIBDIR)
+-	(cd $(DESTDIR)$(LIBDIR) ; \
+-		rm -f  $(PTLIB_FILE). at MAJOR_VERSION@. at MINOR_VERSION@ ; \
+-		ln -sf $(PTLIB_FILE). at MAJOR_VERSION@. at MINOR_VERSION@. at BUILD_NUMBER@ $(PTLIB_FILE). at MAJOR_VERSION@. at MINOR_VERSION@ \
+-	)
+-	(cd $(DESTDIR)$(LIBDIR) ; \
+-		rm -f  $(PTLIB_FILE). at MAJOR_VERSION@ ; \
+-		ln -sf $(PTLIB_FILE). at MAJOR_VERSION@. at MINOR_VERSION@. at BUILD_NUMBER@ $(PTLIB_FILE). at MAJOR_VERSION@ \
+-	)
++	$(INSTALL) lib/$(PTLIB_FILE). at MAJOR_VERSION@. at MINOR_VERSION@. at BUILD_NUMBER@ $(DESTDIR)$(LIBDIR)
+ 	(cd $(DESTDIR)$(LIBDIR) ; \
+ 		rm -f  $(PTLIB_FILE) ; \
+ 		ln -sf $(PTLIB_FILE). at MAJOR_VERSION@. at MINOR_VERSION@. at BUILD_NUMBER@ $(PTLIB_FILE) \
+ 	)
+-	(cd $(DESTDIR)$(LIBDIR); \
+-		rm -f  libpt. at SHAREDLIBEXT@ ; \
+-		ln -sf $(PTLIB_FILE) libpt. at SHAREDLIBEXT@ \
+-	)
+ ifeq (1, $(HAS_PLUGINS))
+ 	cd plugins/pwlib/device/ ; \
+ 	( for dir in ./* ;\
+ 		do mkdir -p $(DESTDIR)$(LIBDIR)/pwlib/devices/$$dir ; \
+ 		chmod 755 $(DESTDIR)$(LIBDIR)/pwlib/devices/$$dir ; \
+ 		(for fn in ./$$dir/*.so ; \
+-			do $(INSTALL) -m 444 $$fn $(DESTDIR)$(LIBDIR)/pwlib/devices/$$dir; \
++			do $(INSTALL) $$fn $(DESTDIR)$(LIBDIR)/pwlib/devices/$$dir; \
+ 		done ); \
+ 	done )
+ endif
+@@ -291,9 +279,8 @@
+ 	(for fn in make/*.mak ; \
+ 		do $(INSTALL) -m 444 $$fn $(DESTDIR)$(PREFIX)/share/pwlib/make; \
+ 	done)
+-	$(INSTALL) -m 755 make/ptlib-config $(DESTDIR)$(PREFIX)/share/pwlib/make/
+-	(cd $(DESTDIR)$(PREFIX)/bin; rm -f ptlib-config ; ln -snf ../share/pwlib/make/ptlib-config ptlib-config)
+-
++	$(INSTALL) -m 755 make/ptlib-config $(DESTDIR)$(PREFIX)/bin
++	
+ uninstall:
+ 	rm -rf $(DESTDIR)$(PREFIX)/include/ptlib \
+ 	       $(DESTDIR)$(PREFIX)/include/ptclib \

================================================================
Index: packages/pwlib/pwlib-opt.patch
diff -u /dev/null packages/pwlib/pwlib-opt.patch:1.3
--- /dev/null	Fri Jan 22 21:18:26 2010
+++ packages/pwlib/pwlib-opt.patch	Fri Jan 22 21:18:20 2010
@@ -0,0 +1,30 @@
+--- pwlib/make/unix.mak.orig	2003-04-18 03:21:13.000000000 +0200
++++ pwlib/make/unix.mak	2003-04-18 03:28:58.000000000 +0200
+@@ -737,10 +737,8 @@
+ ifeq ($(MACHTYPE),x86)
+ ifdef CPUTYPE
+ ifeq ($(CPUTYPE),crusoe)
+-STDCCFLAGS	+= -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686 -malign-functions=0 
++STDCCFLAGS	+= -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -malign-functions=0 
+ STDCCFLAGS      += -malign-jumps=0 -malign-loops=0
+-else
+-STDCCFLAGS	+= -mcpu=$(CPUTYPE)
+ endif
+ endif
+ endif
+--- pwlib/src/ptlib/unix/Makefile.orig	2003-02-24 18:49:02.000000000 +0100
++++ pwlib/src/ptlib/unix/Makefile	2003-04-18 03:38:01.000000000 +0200
+@@ -594,11 +594,11 @@
+ ifdef REQUIRES_SEPARATE_SWITCH 
+ $(OBJDIR)/switch.o: ./switch.cxx
+ 	@if [ ! -d $(OBJDIR) ] ; then mkdir -p $(OBJDIR) ; fi
+-	$(CPLUS) $(CFLAGS) $(STDCCFLAGS) -c $< -o $@
++	$(CPLUS) $(CFLAGS) $(STDCCFLAGS) $(OPTCCFLAGS) -c $< -o $@
+ endif
+ 
+ $(OBJDIR)/getdate.tab.o: $(GETDATE_SOURCE)
+-	$(CC) $(CFLAGS) $(STDCCFLAGS) -c $< -o $@
++	$(CC) $(CFLAGS) $(STDCCFLAGS) $(OPTCCFLAGS) -c $< -o $@
+ 
+ $(DEPDIR)/getdate.tab.dep: $(GETDATE_SOURCE)
+ 	$(CC) $(STDCCFLAGS) -M $< >> $@

================================================================
Index: packages/pwlib/pwlib-sparc64.patch
diff -u /dev/null packages/pwlib/pwlib-sparc64.patch:1.3
--- /dev/null	Fri Jan 22 21:18:26 2010
+++ packages/pwlib/pwlib-sparc64.patch	Fri Jan 22 21:18:20 2010
@@ -0,0 +1,14 @@
+--- pwlib-1.10.10/src/ptlib/common/osutils.cxx.orig	2007-11-28 16:50:46.000000000 +0000
++++ pwlib-1.10.10/src/ptlib/common/osutils.cxx	2007-11-28 17:01:24.000000000 +0000
+@@ -2145,9 +2145,9 @@
+ void PThread::SetThreadName(const PString & name)
+ {
+   if (name.IsEmpty())
+-    threadName = psprintf("%s:%08x", GetClass(), (INT)this);
++    threadName = psprintf("%s:%08x", GetClass(), this);
+   else
+-    threadName = psprintf(name, (INT)this);
++    threadName = psprintf(name, this);
+ 
+ #if defined(_DEBUG) && defined(_MSC_VER)
+   if (threadId) {       // make thread name known to debugger

================================================================
Index: packages/pwlib/pwlib.spec
diff -u /dev/null packages/pwlib/pwlib.spec:1.151
--- /dev/null	Fri Jan 22 21:18:26 2010
+++ packages/pwlib/pwlib.spec	Fri Jan 22 21:18:20 2010
@@ -0,0 +1,770 @@
+# $Revision$, $Date$
+#
+# Conditional build:
+%bcond_with	dc1394		# build DC 1394 video input plugin
+%bcond_with	avc1394		# build AVC 1394 video input plugin
+#
+Summary:	Portable Windows Libary
+Summary(pl.UTF-8):	Biblioteka zapewniająca przenośność między Windows i Uniksami
+Summary(pt_BR.UTF-8):	Biblioteca Windows Portavel
+Name:		pwlib
+Version:	1.10.10
+Release:	6
+Epoch:		0
+License:	MPL 1.0
+Group:		Libraries
+Source0:	http://ftp.gnome.org/pub/gnome/sources/pwlib/1.10/%{name}-%{version}.tar.bz2
+# Source0-md5:	2c3bf7e8236a96659728ad139ce30b33
+#Source0:	http://www.voxgratia.org/releases/pwlib-v1_10_3-src-tar.gz
+Patch0:		%{name}-mak_files.patch
+Patch1:		%{name}-libname.patch
+Patch2:		%{name}-bison-pure.patch
+Patch3:		%{name}-opt.patch
+Patch4:		%{name}-lib64.patch
+Patch5:		%{name}-API.patch
+Patch6:		%{name}-sparc64.patch
+URL:		http://www.voxgratia.org/
+BuildRequires:	SDL-devel
+BuildRequires:	alsa-lib-devel >= 1.0.1
+BuildRequires:	autoconf >= 2.50
+BuildRequires:	automake
+BuildRequires:	bison >= 1.875
+BuildRequires:	cyrus-sasl-devel >= 2.0
+BuildRequires:	expat-devel
+BuildRequires:	flex
+%{?with_avc1394:BuildRequires:	libavc1394-devel}
+%{?with_dc1394:BuildRequires:	libdc1394-devel < 2.0.0}
+BuildRequires:	libdv-devel
+BuildRequires:	libraw1394-devel
+BuildRequires:	libstdc++-devel
+BuildRequires:	openldap-devel >= 2.4.6
+BuildRequires:	openssl-devel >= 0.9.7d
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+PWLib is a moderately large class library that has its genesis many
+years ago as a method to product applications to run on both Microsoft
+Windows and Unix X Window systems. It also was to have a Macintosh
+port as well but this never eventuated. Unfortunately this package
+contains no GUI code.
+
+%description -l pl.UTF-8
+PWLib to dosyć duża biblioteka klas, która wywodzi się ze sposobu na
+tworzenie aplikacji działających zarówno pod Microsoft Windows jak i
+uniksowych X Window. Miała też mieć port na Macintosha. Ten pakiet nie
+zawiera kodu GUI.
+
+%description -l pt_BR.UTF-8
+PWLib e uma biblioteca de classes razoavelmente grande que teve seu
+inicio ha alguns anos atras como um metodo para produzir aplicacoes
+para serem executadas tanto em Windows quanto em sitemas Unix baseados
+em X-Window. Tambem possui um porte para Macintosh mas nunca foi
+terminado. Esta versao nao contem nenhum codigo para interface.
+
+%package devel
+Summary:	Portable Windows Libary development files
+Summary(pl.UTF-8):	Pliki dla programistów używających pwlib
+Summary(pt_BR.UTF-8):	Pacote de desenvolvimento para a pwlib
+Group:		Development/Libraries
+Requires:	%{name} = %{version}-%{release}
+Requires:	SDL-devel
+Requires:	cyrus-sasl-devel >= 2.0
+Requires:	expat-devel
+Requires:	libstdc++-devel
+Requires:	openldap-devel >= 2.4.6
+Requires:	openssl-devel >= 0.9.7c
+
+%description devel
+Header files and libraries for developing applications that use pwlib.
+
+%description devel -l pl.UTF-8
+Pliki nagłówkowe i biblioteki konieczne do rozwoju aplikacji
+używających pwlib.
+
+%description devel -l pt_BR.UTF-8
+O pacote pwlib-devel inclui as bibliotecas e arquivos de header para a
+biblioteca pwlib.
+
+%package static
+Summary:	Portable Windows Libary static libraries
+Summary(pl.UTF-8):	Biblioteki statyczne pwlib
+Group:		Development/Libraries
+Requires:	%{name}-devel = %{version}-%{release}
+
+%description static
+pwlib static libraries.
+
+%description static -l pl.UTF-8
+Biblioteki statyczne pwlib.
+
+%package sound-alsa
+Summary:	Alsa audio plugin
+Summary(pl.UTF-8):	Wtyczka dźwiękowa Alsa
+Group:		Libraries
+Requires:	%{name} = %{version}-%{release}
+Requires:	alsa-lib >= 1.0.1
+Provides:	pwlib-sound
+
+%description sound-alsa
+Alsa audio plugin.
+
+%description sound-alsa -l pl.UTF-8
+Wtyczka dźwiękowa Alsa.
+
+%package sound-oss
+Summary:	OSS audio plugin
+Summary(pl.UTF-8):	Wtyczka dźwiękowa OSS
+Group:		Libraries
+Requires:	%{name} = %{version}-%{release}
+Provides:	pwlib-sound
+
+%description sound-oss
+OSS audio plugin.
+
+%description sound-oss -l pl.UTF-8
+Wtyczka dźwiękowa OSS.
+
+%package video-avc
+Summary:	AVC 1394 video input plugin
+Summary(pl.UTF-8):	Wtyczka wejścia obrazu AVC 1394
+Group:		Libraries
+Requires:	%{name} = %{version}-%{release}
+
+%description video-avc
+AVC 1394 video input plugin.
+
+%description video-avc -l pl.UTF-8
+Wtyczka wejścia obrazu AVC 1394.
+
+%package video-dc
+Summary:	DC 1394 video input plugin
+Summary(pl.UTF-8):	Wtyczka wejścia obrazu DC 1394
+Group:		Libraries
+Requires:	%{name} = %{version}-%{release}
+
+%description video-dc
+DC 1394 video input plugin.
+
+%description video-dc -l pl.UTF-8
+Wtyczka wejścia obrazu DC 1394.
+
+%package video-v4l
+Summary:	v4l video input plugin
+Summary(pl.UTF-8):	Wtyczka wejścia obrazu v4l
+Group:		Libraries
+Requires:	%{name} = %{version}-%{release}
+
+%description video-v4l
+v4l video input plugin.
+
+%description video-v4l -l pl.UTF-8
+Wtyczka wejścia obrazu v4l.
+
+%package video-v4l2
+Summary:	v4l2 video input plugin
+Summary(pl.UTF-8):	Wtyczka wejścia obrazu v4l2
+Group:		Libraries
+Requires:	%{name} = %{version}-%{release}
+
+%description video-v4l2
+v4l2 video input plugin.
+
+%description video-v4l2 -l pl.UTF-8
+Wtyczka wejścia obrazu v4l2.
+
+%prep
+%setup -q
+%patch0 -p1
+%patch1 -p1
+%patch2 -p1
+%patch3 -p1
+%if "%{_lib}" == "lib64"
+%patch4 -p1
+%endif
+%patch5 -p1
+%ifarch sparc64
+%patch6 -p1
+%endif
<<Diff was trimmed, longer than 597 lines>>

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/pwlib/pwlib-API.patch?r1=1.2&r2=1.3&f=u
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/pwlib/pwlib-bison-pure.patch?r1=1.2&r2=1.3&f=u
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/pwlib/pwlib-lib64.patch?r1=1.2&r2=1.3&f=u
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/pwlib/pwlib-libname.patch?r1=1.6&r2=1.7&f=u
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/pwlib/pwlib-mak_files.patch?r1=1.15&r2=1.16&f=u
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/pwlib/pwlib-opt.patch?r1=1.2&r2=1.3&f=u
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/pwlib/pwlib-sparc64.patch?r1=1.2&r2=1.3&f=u
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/pwlib/pwlib.spec?r1=1.150&r2=1.151&f=u



More information about the pld-cvs-commit mailing list