Hello community,

here is the log from the commit of package plplot for openSUSE:Factory
checked in at Thu Aug 4 11:08:24 CEST 2011.



--------
New Changes file:

--- /dev/null   2010-08-26 16:28:41.000000000 +0200
+++ /mounts/work_src_done/STABLE/plplot/plplot.changes  2011-08-01 
21:54:58.000000000 +0200
@@ -0,0 +1,34 @@
+-------------------------------------------------------------------
+Mon Aug  1 19:44:18 UTC 2011 - [email protected]
+
+- Update to version 5.9.8 (too many changes, see README.release
+  file for changes)
+
+-------------------------------------------------------------------
+Sat Jul 16 17:14:51 UTC 2011 - [email protected]
+
+- Configure spec file to allow outputs in jpeg, gif formats
+
+-------------------------------------------------------------------
+Sun May 29 14:57:00 UTC 2011 - [email protected]
+
+- Added gcc-c++ dependency for plplot-devel
+- Cleanup spec file and correct build dependencies to resolve
+  build issues with openSUSE 11.3
+
+-------------------------------------------------------------------
+Sat May 28 14:00:16 UTC 2011 - [email protected]
+
+- Rename (sub)packages and cleanup spec file
+- Add rpmlintrc file to avoid false-positives
+
+-------------------------------------------------------------------
+Tue May 10 09:30:13 UTC 2011 - [email protected]
+
+- Remove misbehaving cmake based examples altogether 
+
+-------------------------------------------------------------------
+Mon May  9 04:34:54 UTC 2011 - [email protected]
+
+- Initial package (version 5.9.7) 
+

calling whatdependson for head-i586


New:
----
  plplot-5.9.8.tar.bz2
  plplot-multiarch.patch
  plplot-rpmlintrc
  plplot-strncat.patch
  plplot.changes
  plplot.spec

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ plplot.spec ++++++
++++ 712 lines (skipped)

++++++ plplot-multiarch.patch ++++++
diff -up plplot-5.9.7/examples/c/Makefile.examples.in.multiarch 
plplot-5.9.7/examples/c/Makefile.examples.in
--- plplot-5.9.7/examples/c/Makefile.examples.in.multiarch      2010-10-03 
07:11:57.000000000 -0600
+++ plplot-5.9.7/examples/c/Makefile.examples.in        2010-10-11 
12:15:53.248142693 -0600
@@ -25,8 +25,6 @@ CC = @CC@
 EXEEXT = @EXEEXT@
 
 @pkg_config_true@LIB_TAG = @LIB_TAG@
-@pkg_config_true@PKG_CONFIG_ENV = @PKG_CONFIG_ENV@
-@pkg_config_true@RPATHCMD = @RPATHCMD@
 
 @gcw_true@PLPLOTCANVAS_EXECUTABLES_list = \
 @gcw_true@              plplotcanvas_demo$(EXEEXT) \
@@ -82,29 +82,29 @@ clean:
        rm -f $(EXECUTABLES_list)
 
 @gcw_true@plplotcanvas_demo$(EXEEXT): plplotcanvas_demo.c
-@gcw_true@@pkg_config_true@    $(CC) $< -o $@ $(RPATHCMD) \
-@gcw_true@@pkg_config_true@                    `$(PKG_CONFIG_ENV) pkg-config 
--cflags --libs plplot$(LIB_TAG)-gnome2`
+@gcw_true@@pkg_config_true@    $(CC) $< -o $@ \
+@gcw_true@@pkg_config_true@                    `pkg-config --cflags --libs 
plplot$(LIB_TAG)-gnome2`
 @gcw_true@@pkg_config_false@   $(CC) $< -o $@ \
 @gcw_true@@pkg_config_false@                   `plplot-config --cflags --libs 
--with-gcw`
 
 @gcw_true@plplotcanvas_animation$(EXEEXT): plplotcanvas_animation.c
-@gcw_true@@pkg_config_true@    $(CC) $< -o $@ $(RPATHCMD) \
-@gcw_true@@pkg_config_true@                    `$(PKG_CONFIG_ENV) pkg-config 
--cflags --libs plplot$(LIB_TAG)-gnome2` \
+@gcw_true@@pkg_config_true@    $(CC) $< -o $@ \
+@gcw_true@@pkg_config_true@                    `pkg-config --cflags --libs 
plplot$(LIB_TAG)-gnome2` \
 @gcw_true@@pkg_config_true@                    `pkg-config --cflags --libs 
gthread-2.0`                        
 @gcw_true@@pkg_config_false@   $(CC) $< -o \
 @gcw_true@@pkg_config_false@                   $@ `plplot-config --cflags 
--libs --with-gcw` \
 @gcw_true@@pkg_config_false@                   @GCWTHREAD_CFLAGS@ 
@GCWTHREAD_LIBS@
 
 @extXdrawable_true@@pkg_config_true@extXdrawable_demo$(EXEEXT): 
extXdrawable_demo.c
-@extXdrawable_true@@pkg_config_true@   $(CC) $< -o $@ $(RPATHCMD) \
-@extXdrawable_true@@pkg_config_true@   `$(PKG_CONFIG_ENV) pkg-config --cflags 
--libs plplot$(LIB_TAG) gtk+-x11-2.0`
+@extXdrawable_true@@pkg_config_true@   $(CC) $< -o $@ \
+@extXdrawable_true@@pkg_config_true@   `pkg-config --cflags --libs 
plplot$(LIB_TAG) gtk+-x11-2.0`
 
 @extcairo_true@@pkg_config_true@ext-cairo-test$(EXEEXT): ext-cairo-test.c
-@extcairo_true@@pkg_config_true@       $(CC) $< -o $@ $(RPATHCMD) \
-@extcairo_true@@pkg_config_true@       `$(PKG_CONFIG_ENV) pkg-config --cflags 
--libs plplot$(LIB_TAG) cairo`
+@extcairo_true@@pkg_config_true@       $(CC) $< -o $@ \
+@extcairo_true@@pkg_config_true@       `pkg-config --cflags --libs 
plplot$(LIB_TAG) cairo`
 
 .c$(EXEEXT):
-@pkg_config_true@      $(CC) $< -o $@ $(RPATHCMD) `$(PKG_CONFIG_ENV) 
pkg-config --cflags --libs plplot$(LIB_TAG)`
+@pkg_config_true@      $(CC) $< -o $@ `pkg-config --cflags --libs 
plplot$(LIB_TAG)`
 @pkg_config_false@     $(CC) $< -o $@ `plplot-config --cflags --libs`
 
 .SUFFIXES: .c $(EXEEXT)
diff -up plplot-5.9.7/examples/c++/Makefile.examples.in.multiarch 
plplot-5.9.7/examples/c++/Makefile.examples.in
--- plplot-5.9.7/examples/c++/Makefile.examples.in.multiarch    2010-10-03 
07:11:57.000000000 -0600
+++ plplot-5.9.7/examples/c++/Makefile.examples.in      2010-10-11 
12:16:25.047202989 -0600
@@ -25,10 +25,7 @@ CXX = @CXX@
 EXEEXT = @EXEEXT@
 
 @pkg_config_true@LIB_TAG = @LIB_TAG@
-@pkg_config_true@PKG_CONFIG_ENV = @PKG_CONFIG_ENV@
-@pkg_config_true@RPATHCMD = @RPATHCMD@
 @qt_gui_true@QT_MOC_EXECUTABLE = @QT_MOC_EXECUTABLE@
-@qt_gui_true@@pkg_config_true@qt_RPATHCMD = @qt_RPATHCMD@
 
 @wxwidgets_true@@pkg_config_true@PLPLOTWXWIDGETS_EXECUTABLES_list = \
 @wxwidgets_true@@pkg_config_true@      wxPLplotDemo$(EXEEXT)
@@ -80,18 +80,18 @@ clean:
        rm -f $(EXECUTABLES_list)
 
 @wxwidgets_true@@pkg_config_true@wxPLplotDemo$(EXEEXT): wxPLplotDemo.cpp
-@wxwidgets_true@@pkg_config_true@      $(CXX) $< -o $@ $(RPATHCMD) 
`$(PKG_CONFIG_ENV) pkg-config --cflags --libs plplot$(LIB_TAG)-wxwidgets`
+@wxwidgets_true@@pkg_config_true@      $(CXX) $< -o $@ `pkg-config --cflags 
--libs plplot$(LIB_TAG)-wxwidgets`
 
 # Note, must filter out -p options which confuse $(QT_MOC_EXECUTABLE).  Such
 # options (e.g., -pthread) tend to appear in the static driver case.
 @qt_gui_true@@pkg_config_true@moc_qt_PlotWindow.cpp: qt_PlotWindow.h
-@qt_gui_true@@pkg_config_true@ $(QT_MOC_EXECUTABLE) `$(PKG_CONFIG_ENV) 
pkg-config --cflags-only-I plplot$(LIB_TAG)-qt` $< -o $@
+@qt_gui_true@@pkg_config_true@ $(QT_MOC_EXECUTABLE) `pkg-config 
--cflags-only-I plplot$(LIB_TAG)-qt` $< -o $@
 
 @qt_gui_true@@pkg_config_true@qt_example$(EXEEXT): qt_example.cpp 
qt_PlotWindow.cpp moc_qt_PlotWindow.cpp
-@qt_gui_true@@pkg_config_true@ $(CXX) qt_example.cpp qt_PlotWindow.cpp 
moc_qt_PlotWindow.cpp -o $@ $(qt_RPATHCMD) `$(PKG_CONFIG_ENV) pkg-config 
--cflags --libs plplot$(LIB_TAG)-qt`
+@qt_gui_true@@pkg_config_true@ $(CXX) qt_example.cpp qt_PlotWindow.cpp 
moc_qt_PlotWindow.cpp -o $@ $(qt_RPATHCMD) `pkg-config --cflags --libs 
plplot$(LIB_TAG)-qt`
 
 .cc$(EXEEXT):
-@pkg_config_true@      $(CXX) $< -o $@ $(RPATHCMD) `$(PKG_CONFIG_ENV) 
pkg-config --cflags --libs plplot$(LIB_TAG)-c++`
+@pkg_config_true@      $(CXX) $< -o $@ `pkg-config --cflags --libs 
plplot$(LIB_TAG)-c++`
 @pkg_config_false@     $(CXX) $< -o $@ `plplot-config --cflags --libs 
--with-c++`
 
 .SUFFIXES: .cc $(EXEEXT)
diff -up plplot-5.9.7/examples/f77/Makefile.examples.in.multiarch 
plplot-5.9.7/examples/f77/Makefile.examples.in
--- plplot-5.9.7/examples/f77/Makefile.examples.in.multiarch    2010-10-03 
07:11:57.000000000 -0600
+++ plplot-5.9.7/examples/f77/Makefile.examples.in      2010-10-11 
12:15:53.251143648 -0600
@@ -25,8 +25,6 @@ F77 = @F77@
 EXEEXT = @EXEEXT@
 
 @pkg_config_true@LIB_TAG = @LIB_TAG@
-@pkg_config_true@PKG_CONFIG_ENV = @PKG_CONFIG_ENV@
-@pkg_config_true@RPATHCMD = @RPATHCMD@
 
 EXECUTABLES_list = \
                 x01f$(EXEEXT) \
@@ -70,7 +70,7 @@ clean:
        rm -f $(EXECUTABLES_list)
 
 .f$(EXEEXT):
-@pkg_config_true@      $(F77) $< -o $@ $(RPATHCMD) `$(PKG_CONFIG_ENV) 
pkg-config --cflags --libs plplot$(LIB_TAG)-f77`
+@pkg_config_true@      $(F77) $< -o $@ `pkg-config --cflags --libs 
plplot$(LIB_TAG)-f77`
 @pkg_config_false@     $(F77) $< -o $@ `plplot-config --cflags --libs 
--with-f77`
 
 .SUFFIXES: .f $(EXEEXT)
diff -up plplot-5.9.7/examples/f95/Makefile.examples.in.multiarch 
plplot-5.9.7/examples/f95/Makefile.examples.in
--- plplot-5.9.7/examples/f95/Makefile.examples.in.multiarch    2010-10-03 
07:11:57.000000000 -0600
+++ plplot-5.9.7/examples/f95/Makefile.examples.in      2010-10-11 
12:15:53.252143716 -0600
@@ -25,8 +25,6 @@ F95 = @FC@
 EXEEXT = @EXEEXT@
 
 @pkg_config_true@LIB_TAG = @LIB_TAG@
-@pkg_config_true@PKG_CONFIG_ENV = @PKG_CONFIG_ENV@
-@pkg_config_true@RPATHCMD = @RPATHCMD@
 
 EXECUTABLES_list = \
                 x01f$(EXEEXT) \
@@ -69,7 +69,7 @@ clean:
        rm -f $(EXECUTABLES_list)
 
 .f90$(EXEEXT):
-@pkg_config_true@      $(F95) @MODULESINCCMD@ $< -o $@ $(RPATHCMD) 
`$(PKG_CONFIG_ENV) pkg-config --cflags --libs plplot$(LIB_TAG)-f95`
+@pkg_config_true@      $(F95) @MODULESINCCMD@ $< -o $@ `pkg-config --cflags 
--libs plplot$(LIB_TAG)-f95`
 @pkg_config_false@     $(F95) @MODULESINCCMD@ $< -o $@ `plplot-config --cflags 
--libs --with-f95`
 
 .SUFFIXES: .f90 $(EXEEXT)
diff -up plplot-5.9.7/examples/tk/Makefile.examples.in.multiarch 
plplot-5.9.7/examples/tk/Makefile.examples.in
--- plplot-5.9.7/examples/tk/Makefile.examples.in.multiarch     2010-10-03 
07:11:57.000000000 -0600
+++ plplot-5.9.7/examples/tk/Makefile.examples.in       2010-10-11 
12:15:53.253143630 -0600
@@ -24,8 +24,6 @@ CC = @CC@
 EXEEXT = @EXEEXT@
 
 @pkg_config_true@LIB_TAG = @LIB_TAG@
-@pkg_config_true@PKG_CONFIG_ENV = @PKG_CONFIG_ENV@
-@pkg_config_true@RPATHCMD = @RPATHCMD@
 
 EXECUTABLES_list = xtk01$(EXEEXT)
 # Second and fourth examples depend on itk.
@@ -37,7 +35,7 @@ clean:
        rm -f $(EXECUTABLES_list) $(itk_EXECUTABLES_list)
 
 .c$(EXEEXT):
-@pkg_config_true@      $(CC) $< -o $@ $(RPATHCMD) `$(PKG_CONFIG_ENV) 
pkg-config --cflags --libs plplot$(LIB_TAG)-tcl`
+@pkg_config_true@      $(CC) $< -o $@ `pkg-config --cflags --libs 
plplot$(LIB_TAG)-tcl`
 @pkg_config_false@     $(CC) $< -o $@ `plplot-config --cflags --libs 
--with-tcl`
 
 .SUFFIXES: .c $(EXEEXT)
++++++ plplot-rpmlintrc ++++++
addFilter("plplot-qt.* shlib-policy-name-error")
addFilter("plplot-wxwidgets.* shlib-policy-name-error")
addFilter("plplot-qt.* shlib-policy-missing-suffix")
addFilter("plplot-wxwidgets.* shlib-policy-missing-suffix")
addFilter("plplot-tcltk.* shlib-policy-missing-suffix")
addFilter("plplot-fortran.* shlib-policy-missing-suffix")
addFilter("plplot.* shlib-policy-missing-suffix")

++++++ plplot-strncat.patch ++++++
diff -ur plplot-5.9.8.orig//drivers/wxwidgets.cpp 
plplot-5.9.8//drivers/wxwidgets.cpp
--- plplot-5.9.8.orig//drivers/wxwidgets.cpp    2011-08-01 23:29:39.000000000 
+0530
+++ plplot-5.9.8//drivers/wxwidgets.cpp 2011-08-02 01:06:57.323000001 +0530
@@ -231,7 +231,7 @@
             if ( ucs4[i] != (PLUNICODE) plplotEsc ) // a character to display
             {
                 ucs4_to_utf8( ucs4[i], utf8 );
-                strncat( utf8_string, utf8, max_string_length );
+                strncat( utf8_string, utf8, 
sizeof(utf8_string)-strlen(utf8_string)-1 );
                 i++;
                 continue;
             }
@@ -239,7 +239,7 @@
             if ( ucs4[i] == (PLUNICODE) plplotEsc ) // a escape character to 
display
             {
                 ucs4_to_utf8( ucs4[i], utf8 );
-                strncat( utf8_string, utf8, max_string_length );
+                strncat( utf8_string, utf8, 
sizeof(utf8_string)-strlen(utf8_string)-1);
                 i++;
                 continue;
             }

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++



Remember to have fun...

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to