Hello community, here is the log from the commit of package plib checked in at Tue Mar 11 17:48:54 CET 2008. -------- --- plib/plib.changes 2008-01-10 14:00:05.000000000 +0100 +++ /mounts/work_src_done/STABLE/plib/plib.changes 2008-03-11 13:40:39.000000000 +0100 @@ -1,0 +2,32 @@ +Tue Mar 11 13:10:50 CET 2008 - prusnak@suse.cz + +- updated to 1.8.5 + * removed several widgets from pui/, which were declared + obsolete since a long time. Most of them are now available + in puAux/ + * several fixes and improvements to puAuxList + * puInputText scrolling fixed + * Improved DirectX loader + * Check ownership before deleting in ssgSimpleList + * Fixed netSocket + * Fixed mem leak in ssgVertSplitter + * Fixed pw window sizes on win32 + * Added pview ssg-example + * Fix clock delta in first call + * Made colour of listbox changable + * Fixed text with negative coordinates + * Fixed misc bugs in puAuxLargeInput + * Allow the user to activate a widget with custom mouse button + * Made material loading from wavefront models more robust + * Handle linux joysticks with a lot of axes + * Avoid specular anomalies in 3ds files + * Added a demo for ssgaShapes + * Fixed the diameter of ssgaSphere + * Fixed inability to add colour to the ssgaTeapot + * Remove scale dep in ssgaFire +- fixed strncat usage (strncat.patch) +- dropped obsolete patches: + * extraqual.diff (included in update) + * joystick.diff (included in update) + +------------------------------------------------------------------- Old: ---- plib-1.8.4-extraqual.diff plib-1.8.4-joystick.diff plib-1.8.4-shared.diff plib-1.8.4.tar.bz2 plib-1.8.4-type.diff New: ---- plib-1.8.5-intptr_t.patch plib-1.8.5-shared.patch plib-1.8.5-strncat.patch plib-1.8.5.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ plib.spec ++++++ --- /var/tmp/diff_new_pack.Y21702/_old 2008-03-11 17:45:04.000000000 +0100 +++ /var/tmp/diff_new_pack.Y21702/_new 2008-03-11 17:45:04.000000000 +0100 @@ -1,5 +1,5 @@ # -# spec file for package plib (Version 1.8.4) +# spec file for package plib (Version 1.8.5) # # Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany. # This file and all modifications and additions to the pristine @@ -10,20 +10,20 @@ # norootforbuild + Name: plib BuildRequires: freeglut-devel gcc-c++ libdrm-devel xorg-x11 -Version: 1.8.4 -Release: 140 +Version: 1.8.5 +Release: 1 AutoReqProv: on Group: System/Libraries License: LGPL v2.1 or later Url: http://plib.sourceforge.net/ Summary: A collection of useful Game libraries Source: %{name}-%{version}.tar.bz2 -Patch0: %{name}-%{version}-type.diff -Patch1: %{name}-%{version}-joystick.diff -Patch2: %{name}-%{version}-shared.diff -Patch3: %{name}-%{version}-extraqual.diff +Patch0: %{name}-%{version}-shared.patch +Patch1: %{name}-%{version}-intptr_t.patch +Patch2: %{name}-%{version}-strncat.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -79,7 +79,6 @@ %patch0 %patch1 %patch2 -%patch3 -p1 %build # no need to use suse_update_config macro when calling autotools after that @@ -116,82 +115,111 @@ %{_libdir}/*.*a %changelog -* Thu Jan 10 2008 - lmichnovic@suse.cz +* Tue Mar 11 2008 prusnak@suse.cz +- updated to 1.8.5 + * removed several widgets from pui/, which were declared + obsolete since a long time. Most of them are now available + in puAux/ + * several fixes and improvements to puAuxList + * puInputText scrolling fixed + * Improved DirectX loader + * Check ownership before deleting in ssgSimpleList + * Fixed netSocket + * Fixed mem leak in ssgVertSplitter + * Fixed pw window sizes on win32 + * Added pview ssg-example + * Fix clock delta in first call + * Made colour of listbox changable + * Fixed text with negative coordinates + * Fixed misc bugs in puAuxLargeInput + * Allow the user to activate a widget with custom mouse button + * Made material loading from wavefront models more robust + * Handle linux joysticks with a lot of axes + * Avoid specular anomalies in 3ds files + * Added a demo for ssgaShapes + * Fixed the diameter of ssgaSphere + * Fixed inability to add colour to the ssgaTeapot + * Remove scale dep in ssgaFire +- fixed strncat usage (strncat.patch) +- dropped obsolete patches: + * extraqual.diff (included in update) + * joystick.diff (included in update) +* Thu Jan 10 2008 lmichnovic@suse.cz - added glibc-devel, xorg-x11-devel as Requires -* Fri Jan 04 2008 - lmichnovic@suse.cz +* Fri Jan 04 2008 lmichnovic@suse.cz - fixed deprecated run_ldconfig macro - no need to use %%suse_update_config when autotools are called anyway (Other dists get chocked in BuildService.) - no need to pack files NEWS and INSTALL - compiling with no-strict-aliasing -* Wed May 23 2007 - prusnak@suse.cz +* Wed May 23 2007 prusnak@suse.cz - move devel files to plib-devel subpackage -* Wed Jan 25 2006 - mls@suse.de +* Wed Jan 25 2006 mls@suse.de - converted neededforbuild to BuildRequires -* Thu Oct 20 2005 - mmj@suse.de +* Thu Oct 20 2005 mmj@suse.de - remove extra qualification -* Fri Feb 25 2005 - ro@suse.de +* Fri Feb 25 2005 ro@suse.de - fix filelist (packing complete /usr/lib is not possible) -* Wed Feb 23 2005 - mjancar@suse.cz +* Wed Feb 23 2005 mjancar@suse.cz - build shared libraries (needed by torcs) -* Wed Feb 02 2005 - mjancar@suse.cz +* Wed Feb 02 2005 mjancar@suse.cz - update to 1.8.4 (needed by FlightGear) -* Fri Aug 13 2004 - mjancar@suse.cz +* Fri Aug 13 2004 mjancar@suse.cz - update to 1.8.3 -* Sat Jan 10 2004 - adrian@suse.de +* Sat Jan 10 2004 adrian@suse.de - add %%defattr -* Mon Oct 13 2003 - ro@suse.de +* Mon Oct 13 2003 ro@suse.de - remove explicit requires for mesa -* Thu Jul 31 2003 - mjancar@suse.cz +* Thu Jul 31 2003 mjancar@suse.cz - use %%run_ldconfig -* Tue Dec 10 2002 - prehak@suse.cz +* Tue Dec 10 2002 prehak@suse.cz - fixed brace-enclosed initialization (due to gcc-3.3) -* Thu Oct 24 2002 - prehak@suse.cz +* Thu Oct 24 2002 prehak@suse.cz - updated to version 1.6.0 -* Wed Aug 21 2002 - nadvornik@suse.cz +* Wed Aug 21 2002 nadvornik@suse.cz - use RPM_OPT_FLAGS instead of -O6 -* Thu Jan 10 2002 - rvasice@suse.cz +* Thu Jan 10 2002 rvasice@suse.cz - use %%{_libdir} -* Fri Nov 09 2001 - rvasice@suse.cz +* Fri Nov 09 2001 rvasice@suse.cz - fix to compile with new automake -* Thu Nov 08 2001 - ro@suse.de +* Thu Nov 08 2001 ro@suse.de - use mesa-devel-packages in neededforbuild -* Thu Jul 26 2001 - rvasice@suse.cz +* Thu Jul 26 2001 rvasice@suse.cz - update to version 1.4.2 -* Fri Jul 13 2001 - rvasice@suse.cz +* Fri Jul 13 2001 rvasice@suse.cz - update to version 1.4.1 -* Mon Jun 04 2001 - rvasice@suse.cz +* Mon Jun 04 2001 rvasice@suse.cz - spec file cleanup - bzip2 sources -* Thu Mar 15 2001 - ro@suse.de +* Thu Mar 15 2001 ro@suse.de - changed neededforbuild <mesaglu> to <xf86glu> - changed neededforbuild <mesaglu-devel> to <xf86glu-devel> -* Tue Mar 13 2001 - ro@suse.de +* Tue Mar 13 2001 ro@suse.de - added mesaglut -* Fri Mar 09 2001 - ro@suse.de +* Fri Mar 09 2001 ro@suse.de - added mesaglu -* Wed Mar 07 2001 - ro@suse.de +* Wed Mar 07 2001 ro@suse.de - changed neededforbuild <mesadev> to <mesa-devel> - added xf86 to neededforbuild -* Fri Feb 09 2001 - ro@suse.de +* Fri Feb 09 2001 ro@suse.de - include float.h in sg.h -* Mon Aug 07 2000 - smid@suse.cz +* Mon Aug 07 2000 smid@suse.cz - upgrade to 1.2.0 -* Mon May 22 2000 - smid@suse.cz +* Mon May 22 2000 smid@suse.cz - mesadev added to neededforbuild -* Thu May 04 2000 - smid@suse.cz +* Thu May 04 2000 smid@suse.cz - upgrade to 1.1.11 -* Fri Apr 21 2000 - smid@suse.cz +* Fri Apr 21 2000 smid@suse.cz - buildroot added -* Thu Feb 17 2000 - grimmer@suse.de +* Thu Feb 17 2000 grimmer@suse.de - added URL to spec file - use full URL to source package - use version macro -* Tue Dec 28 1999 - sndirsch@suse.de +* Tue Dec 28 1999 sndirsch@suse.de - updated to version 1.0.20 -* Mon Sep 13 1999 - bs@suse.de +* Mon Sep 13 1999 bs@suse.de - ran old prepare_spec on spec file to switch to new prepare_spec. -* Wed Aug 18 1999 - sndirsch@suse.de +* Wed Aug 18 1999 sndirsch@suse.de - update to version 1.0.16 -* Wed Jul 07 1999 - grimmer@suse.de +* Wed Jul 07 1999 grimmer@suse.de - initial package created (Version 1.0.12) ++++++ plib-1.8.5-intptr_t.patch ++++++ --- src/ssg/ssgLoadFLT.cxx +++ src/ssg/ssgLoadFLT.cxx @@ -1289,8 +1289,8 @@ index = get16i(ptr + 28); /* texture index */ t = 0; if (index != -1) { - state->texs = t = splay(state->texs, (void *)index, ptrcmp); - if (t == 0 || t->key != (void *)index) { + state->texs = t = splay(state->texs, (void *)(intptr_t)index, ptrcmp); + if (t == 0 || t->key != (void *)(intptr_t)index) { /*ulSetError(UL_DEBUG, "[flt] undefined texture %d", index);*/ t = 0; } @@ -1362,8 +1362,8 @@ } else { index = get16i(ptr + 30); /* material index */ - state->mtls = t = splay(state->mtls, (void *)index, ptrcmp); - if (t && t->key == (void *)index) { + state->mtls = t = splay(state->mtls, (void *)(intptr_t)index, ptrcmp); + if (t && t->key == (void *)(intptr_t)index) { info.mtl = (float *)t->data; } else { @@ -1886,7 +1886,7 @@ stack[1] = PostClean(stack[1], attr[1]); if (stack[1] && instance >= 0) { - state->refs = sinsert(state->refs, (void *)instance, 0, ptrcmp); + state->refs = sinsert(state->refs, (void *)(intptr_t)instance, 0, ptrcmp); if (state->refs->data != (void *)-1) { ulSetError(UL_WARNING, "[flt] Instance %d redefined.", instance); ssgDeRefDelete((ssgEntity *) state->refs->data); @@ -2238,8 +2238,8 @@ PostLink(stack + sp - 1, attr + sp - 1, instance[sp], state); instance[sp] = -1; if (state->refs) { - state->refs = splay(state->refs, (void *)k, ptrcmp); - if (state->refs->key == (void *)k) { + state->refs = splay(state->refs, (void *)(intptr_t)k, ptrcmp); + if (state->refs->key == (void *)(intptr_t)k) { stack[sp] = (ssgEntity *)state->refs->data; } } @@ -2478,7 +2478,7 @@ if ((p = strrchr(file, '/'))) file = p + 1; index = get32i(ptr + len - 12); - state->texs = sinsert(state->texs, (void *)index, 0, ptrcmp); + state->texs = sinsert(state->texs, (void *)(intptr_t)index, 0, ptrcmp); if (state->texs->data == (void *)-1) { //fltTexture *tex = (fltTexture *)malloc(sizeof(fltTexture)); fltTexture *tex = new fltTexture; @@ -2505,7 +2505,7 @@ int i, j, n = (len - 4) / 184; for (i = 0; i < n; ++i) { float *mtl; - state->mtls = sinsert(state->mtls, (void *)i, 0, ptrcmp); + state->mtls = sinsert(state->mtls, (void *)(intptr_t)i, 0, ptrcmp); //state->mtls->data = malloc(sizeof(float)*14); state->mtls->data = new float[14]; mtl = (float *)state->mtls->data; @@ -2541,7 +2541,7 @@ case 113: /* Material */ index = get32i(ptr + 4); - state->mtls = sinsert(state->mtls, (void *)index, 0, ptrcmp); + state->mtls = sinsert(state->mtls, (void *)(intptr_t)index, 0, ptrcmp); if (state->mtls->data == (void *)-1) { float *mtl; int i; ++++++ plib-1.8.5-shared.patch ++++++ --- configure.in +++ configure.in @@ -36,7 +36,7 @@ AC_PROG_CXX AC_PROG_CXXCPP AC_PROG_INSTALL -AC_PROG_RANLIB +AC_PROG_LIBTOOL dnl Command line arguments --- src/fnt/Makefile.am +++ src/fnt/Makefile.am @@ -1,10 +1,10 @@ if BUILD_FNT -lib_LIBRARIES = libplibfnt.a +lib_LTLIBRARIES = libplibfnt.la include_HEADERS = fnt.h -libplibfnt_a_SOURCES = fnt.cxx fntTXF.cxx fntLocal.h fntBitmap.cxx +libplibfnt_la_SOURCES = fnt.cxx fntTXF.cxx fntLocal.h fntBitmap.cxx INCLUDES = -I$(top_srcdir)/src/sg -I$(top_srcdir)/src/util --- src/js/Makefile.am +++ src/js/Makefile.am @@ -1,10 +1,10 @@ if BUILD_JS -lib_LIBRARIES = libplibjs.a +lib_LTLIBRARIES = libplibjs.la include_HEADERS = js.h -libplibjs_a_SOURCES = js.cxx jsLinux.cxx jsLinuxOld.cxx jsMacOS.cxx \ +libplibjs_la_SOURCES = js.cxx jsLinux.cxx jsLinuxOld.cxx jsMacOS.cxx \ jsMacOSX.cxx jsWindows.cxx jsBSD.cxx \ jsNone.cxx --- src/net/Makefile.am +++ src/net/Makefile.am @@ -1,11 +1,11 @@ if BUILD_NET -lib_LIBRARIES = libplibnet.a +lib_LTLIBRARIES = libplibnet.la include_HEADERS = netBuffer.h netChannel.h netChat.h netMessage.h \ netMonitor.h netSocket.h net.h -libplibnet_a_SOURCES = netBuffer.cxx netChannel.cxx netChat.cxx \ +libplibnet_la_SOURCES = netBuffer.cxx netChannel.cxx netChat.cxx \ netMessage.cxx netMonitor.cxx netSocket.cxx INCLUDES = -I$(top_srcdir)/src/util --- src/psl/Makefile.am +++ src/psl/Makefile.am @@ -1,11 +1,11 @@ if BUILD_PSL -lib_LIBRARIES = libplibpsl.a +lib_LTLIBRARIES = libplibpsl.la include_HEADERS = psl.h -libplibpsl_a_SOURCES = psl.cxx pslCodeGen.cxx pslContext.cxx \ +libplibpsl_la_SOURCES = psl.cxx pslCodeGen.cxx pslContext.cxx \ pslCompiler.cxx pslSymbols.cxx pslToken.cxx \ pslExpression.cxx pslProgram.cxx pslDump.cxx \ pslError.cxx pslFileIO.cxx pslCompiler.h \ --- src/puAux/Makefile.am +++ src/puAux/Makefile.am @@ -1,10 +1,10 @@ if BUILD_PUAUX -lib_LIBRARIES = libplibpuaux.a +lib_LTLIBRARIES = libplibpuaux.la include_HEADERS = puAux.h puAuxLocal.h -libplibpuaux_a_SOURCES = puAux.cxx \ +libplibpuaux_la_SOURCES = puAux.cxx \ puAuxBiSlider.cxx \ puAuxBiSliderWithEnds.cxx \ puAuxComboBox.cxx \ --- src/pui/Makefile.am +++ src/pui/Makefile.am @@ -1,10 +1,10 @@ if BUILD_PUI -lib_LIBRARIES = libplibpu.a +lib_LTLIBRARIES = libplibpu.la include_HEADERS = pu.h puGLUT.h puFLTK.h puSDL.h puNative.h puPW.h -libplibpu_a_SOURCES = \ +libplibpu_la_SOURCES = \ pu.cxx puBox.cxx puButton.cxx puButtonBox.cxx \ puArrowButton.cxx puDialogBox.cxx puFrame.cxx puGroup.cxx \ puInput.cxx puInterface.cxx puLocal.h puMenuBar.cxx \ --- src/pw/Makefile.am +++ src/pw/Makefile.am @@ -1,10 +1,10 @@ if BUILD_PW -lib_LIBRARIES = libplibpw.a +lib_LTLIBRARIES = libplibpw.la include_HEADERS = pw.h -libplibpw_a_SOURCES = pw.cxx pwX11.cxx pwWindows.cxx pwMacOSX.cxx +libplibpw_la_SOURCES = pw.cxx pwX11.cxx pwWindows.cxx pwMacOSX.cxx INCLUDES = -I$(top_srcdir)/src/util --- src/sg/Makefile.am +++ src/sg/Makefile.am @@ -1,10 +1,10 @@ if BUILD_SG -lib_LIBRARIES = libplibsg.a +lib_LTLIBRARIES = libplibsg.la include_HEADERS = sg.h -libplibsg_a_SOURCES = sg.cxx sgd.cxx \ +libplibsg_la_SOURCES = sg.cxx sgd.cxx \ sgIsect.cxx sgdIsect.cxx \ sgPerlinNoise.cxx --- src/sl/Makefile.am +++ src/sl/Makefile.am @@ -1,16 +1,16 @@ if BUILD_SL -lib_LIBRARIES = libplibsl.a libplibsm.a +lib_LTLIBRARIES = libplibsl.la libplibsm.la include_HEADERS = sl.h slPortability.h sm.h -libplibsl_a_SOURCES = \ +libplibsl_la_SOURCES = \ slDSP.cxx slSample.cxx slEnvelope.cxx \ slPlayer.cxx slMODPlayer.cxx slSamplePlayer.cxx \ slScheduler.cxx slMODdacio.cxx slMODfile.cxx \ slMODinst.cxx slMODnote.cxx slMODPrivate.h slMODfile.h -libplibsm_a_SOURCES = slPortability.h smMixer.cxx +libplibsm_la_SOURCES = slPortability.h smMixer.cxx INCLUDES = -I$(top_srcdir)/src/util --- src/ssg/Makefile.am +++ src/ssg/Makefile.am @@ -1,10 +1,10 @@ if BUILD_SSG -lib_LIBRARIES = libplibssg.a +lib_LTLIBRARIES = libplibssg.la include_HEADERS = ssg.h ssgconf.h ssgMSFSPalette.h ssgKeyFlier.h pcx.h -libplibssg_a_SOURCES = ssg.cxx ssgAnimation.cxx ssgBase.cxx \ +libplibssg_la_SOURCES = ssg.cxx ssgAnimation.cxx ssgBase.cxx \ ssgBaseTransform.cxx ssgBranch.cxx ssgContext.cxx ssgCutout.cxx \ ssgDList.cxx ssgEntity.cxx ssgIsect.cxx ssgLeaf.cxx ssgList.cxx \ ssgLoadDOF.cxx ssgLoadAC.cxx \ --- src/ssgAux/Makefile.am +++ src/ssgAux/Makefile.am @@ -1,6 +1,6 @@ if BUILD_SSGAUX -lib_LIBRARIES = libplibssgaux.a +lib_LTLIBRARIES = libplibssgaux.la include_HEADERS = ssgAux.h \ ssgaShapes.h \ @@ -13,7 +13,7 @@ ssgaFire.h \ ssgaBillboards.h -libplibssgaux_a_SOURCES = ssgAux.cxx \ +libplibssgaux_la_SOURCES = ssgAux.cxx \ ssgaShapes.cxx \ ssgaPatch.cxx \ ssgaParticleSystem.cxx \ --- src/util/Makefile.am +++ src/util/Makefile.am @@ -1,10 +1,10 @@ if BUILD_UL -lib_LIBRARIES = libplibul.a +lib_LTLIBRARIES = libplibul.la include_HEADERS = ul.h ulRTTI.h -libplibul_a_SOURCES = ul.cxx ulClock.cxx ulError.cxx ulLinkedList.cxx \ +libplibul_la_SOURCES = ul.cxx ulClock.cxx ulError.cxx ulLinkedList.cxx \ ulList.cxx ulLocal.h ulRTTI.cxx endif ++++++ plib-1.8.5-strncat.patch ++++++ --- src/ssg/ssgLoadOBJ.cxx +++ src/ssg/ssgLoadOBJ.cxx @@ -220,8 +220,8 @@ *strrchr(mtl_filename, '/') = 0; if(NULL!=strrchr(mtl_filename, '\\')) *strrchr(mtl_filename, '\\') = 0; - strncat(mtl_filename, "\\", 1024); - strncat(mtl_filename, fname, 1024); + strncat(mtl_filename, "\\", sizeof(mtl_filename)-strlen(mtl_filename)-1); + strncat(mtl_filename, fname, sizeof(mtl_filename)-strlen(mtl_filename)-1); filein = fopen (mtl_filename,"r") ; if ( filein == 0 ) ++++++ plib-1.8.4.tar.bz2 -> plib-1.8.5.tar.bz2 ++++++ ++++ 27432 lines of diff (skipped) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org
participants (1)
-
root@Hilbert.suse.de