Mailinglist Archive: opensuse-commit (1828 mails)

< Previous Next >
commit netcdf
  • From: root@xxxxxxxxxxxxxxx (h_root)
  • Date: Sat, 06 Sep 2008 00:55:46 +0200
  • Message-id: <20080905225547.53C93678164@xxxxxxxxxxxxxxx>

Hello community,

here is the log from the commit of package netcdf
checked in at Sat Sep 6 00:55:46 CEST 2008.


--------
--- netcdf/netcdf.changes 2008-01-10 19:21:40.000000000 +0100
+++ netcdf/netcdf.changes 2008-09-01 15:05:19.000000000 +0200
@@ -1,0 +2,46 @@
+Mon Sep 1 15:05:14 CEST 2008 - prusnak@xxxxxxx
+
+- disable static libraries
+
+-------------------------------------------------------------------
+Fri Aug 22 15:18:12 CEST 2008 - schwab@xxxxxxx
+
+- Fix makefile dependencies.
+
+-------------------------------------------------------------------
+Wed Aug 13 16:53:01 CEST 2008 - prusnak@xxxxxxx
+
+- updated to 4.0
+ * Introduced the use of HDF5 as a storage layer, which allows use
+ of groups, user-defined types, multiple unlimited dimensions,
+ compression, data chunking, parallel I/O, and other features
+ * In ncdump and ncgen, added CDL support for UTF-8 encoding
+ of characters in names and for escaped special chars in names.
+ Made sure UTF-8 names are normalized using NFC rules before
+ storing or comparing
+ * Handle IEEE NaNs and infinities in a platform-independent way
+ in ncdump output
+ * Added support for ARM representation of doubles
+ * Fixed bug in C++ API creating 64-bit offset files
+ * Fixed bug for variables larger than 4 GB
+ * Changed the configure.ac to build either 3.6.x or 4.x build
+ from the same configure.ac
+ * Build now checks gfortran version and handles it cleanly,
+ also Portland Group in Intel fortran, with various configurations
+ * A Fortran netcdf.inc file is now created at build time, based
+ on the setting of --disable-v2
+ * Documentation has been fixed in several places
+ * Upgraded to automake 1.10, autoconf 2.62, and libtool 2.2.2
+ * Includes missing Windows Visual Studio build files
+ * Fixed missing include of config.h in a C++ test program
+ * Fixed maintainer-clean in man directory
+ * Fixed --enable-c-only and make check
+ * Fixed behavior when opening a zero-length file
+ * Many portability enhancements to build cleanly
+ on various platforms
+ * Turned on some old test programs which were not being used
+ in the build
+- dropped obsoleted patches:
+ * missing-includes.patch (included in update)
+
+-------------------------------------------------------------------



Old:
----
netcdf-3.6.2.dif
netcdf-3.6.2-missing_includes.patch
netcdf-3.6.2-strictaliasingfix.dif
netcdf-3.6.2.tar.bz2

New:
----
netcdf-4.0-dependencies.patch
netcdf-4.0-strict-aliasing.patch
netcdf-4.0.tar.bz2

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

Other differences:
------------------
++++++ netcdf.spec ++++++
--- /var/tmp/diff_new_pack.F28110/_old 2008-09-06 00:55:24.000000000 +0200
+++ /var/tmp/diff_new_pack.F28110/_new 2008-09-06 00:55:24.000000000 +0200
@@ -1,28 +1,36 @@
#
-# spec file for package netcdf (Version 3.6.2)
+# spec file for package netcdf (Version 4.0)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
-# This file and all modifications and additions to the pristine
-# package are under the same license as the package itself.
#
+# All modifications and additions to the file contributed by third parties
+# remain the property of their copyright owners, unless otherwise agreed
+# upon. The license for this file, and modifications and additions to the
+# file, is the same license as for the pristine package itself (unless the
+# license for the pristine package is not an Open Source License, in which
+# case the license is the MIT License). An "Open Source License" is a
+# license that conforms to the Open Source Definition (Version 1.9)
+# published by the Open Source Initiative.
+
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#

# norootforbuild

+
Name: netcdf
-BuildRequires: f2c gcc-c++ gcc-fortran
Summary: Library for Array Oriented Data Access
-Version: 3.6.2
-Release: 20
+Version: 4.0
+Release: 1
Group: System/Libraries
License: X11/MIT
Url: http://www.unidata.ucar.edu/software/netcdf/
-Source: netcdf-%{version}.tar.bz2
-Patch: netcdf-%{version}.dif
-Patch1: netcdf-%{version}-strictaliasingfix.dif
-Patch4: netcdf-3.6.2-missing_includes.patch
+Source: %{name}-%{version}.tar.bz2
+Patch0: %{name}-%{version}-strict-aliasing.patch
+Patch1: %{name}-%{version}-dependencies.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
+BuildRequires: gcc-c++ gcc-fortran
+PreReq: %install_info_prereq

%description
This library provides array-oriented data access for the languages C
@@ -37,12 +45,15 @@
Steve Emmerson
Harvey Davies <support@xxxxxxxxxxxxxxxx>

-%package -n libnetcdf-4
+%package -n libnetcdf4
+License: X11/MIT
Summary: Library for Array Oriented Data Access
Group: Development/Libraries/C and C++
Requires: netcdf = %{version}
+Provides: libnetcdf-4 = %{version}
+Obsoletes: libnetcdf-4 < %{version}

-%description -n libnetcdf-4
+%description -n libnetcdf4
This library provides array-oriented data access for the languages C
and C++.

@@ -56,9 +67,10 @@
Harvey Davies <support@xxxxxxxxxxxxxxxx>

%package -n libnetcdf-devel
+License: X11/MIT
Summary: Library for Array Oriented Data Access
Group: Development/Libraries/C and C++
-Requires: libnetcdf-4 = %{version}
+Requires: libnetcdf4 = %{version}

%description -n libnetcdf-devel
This library provides array-oriented data access for the languages C
@@ -75,72 +87,104 @@

%prep
%setup -q
-%patch
+%patch0
%patch1
-%patch4 -p1

%build
-RPM_OPT_FLAGS="$RPM_OPT_FLAGS -fPIC -DPIC"
-CC=gcc CXX=g++ FC=gfortran CFLAGS=$RPM_OPT_FLAGS \
- CXXFLAGS=$RPM_OPT_FLAGS \
-%configure --enable-shared
+%configure \
+ --enable-shared \
+ --disable-static \
+ --with-pic \
+ CC=gcc CXX=g++ FC=gfortran \
+ CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" FCFLAGS="$RPM_OPT_FLAGS"
make %{?jobs:-j %jobs}

%install
%makeinstall
-rm $RPM_BUILD_ROOT/usr/%{_lib}/libnetcdf*.la
+rm -f $RPM_BUILD_ROOT%{_infodir}/dir
+rm -f $RPM_BUILD_ROOT%{_libdir}/*.la

%clean
-rm -fr $RPM_BUILD_ROOT
+rm -rf $RPM_BUILD_ROOT
+
+%post
+for i in netcdf-c netcdf-tutorial netcdf-f90 netcdf-f77 netcdf-install netcdf
netcdf-cxx; do
+ %install_info --info-dir=%{_infodir} %{_infodir}/$i.info.gz
+done
+
+%postun
+for i in netcdf-c netcdf-tutorial netcdf-f90 netcdf-f77 netcdf-install netcdf
netcdf-cxx; do
+ %install_info --info-dir=%{_infodir} %{_infodir}/$i.info.gz
+done

-%post -n libnetcdf-4 -p /sbin/ldconfig
+%post -n libnetcdf4 -p /sbin/ldconfig

-%postun -n libnetcdf-4 -p /sbin/ldconfig
+%postun -n libnetcdf4 -p /sbin/ldconfig

%files
%defattr(-,root,root)
%doc README
-/usr/bin/ncdump
-/usr/bin/ncgen
-/usr/share/man/man1/ncdump.1.gz
-/usr/share/man/man1/ncgen.1.gz
-/usr/share/man/man3/netcdf.3.gz
-/usr/share/man/man3/netcdf_f77.3.gz
-/usr/share/man/man3/netcdf_f90.3.gz
+%{_bindir}/*
+%{_mandir}/man1/*
+%{_mandir}/man3/*
+%{_infodir}/*

%files -n libnetcdf-devel
%defattr(-,root,root)
-/usr/include/ncvalues.h
-/usr/include/netcdf.h
-/usr/include/netcdf.hh
-/usr/include/netcdf.mod
-/usr/include/netcdfcpp.h
-/usr/include/typesizes.mod
-/usr/include/netcdf.inc
-%{_libdir}/libnetcdf.a
-%{_libdir}/libnetcdf_c++.a
-%{_libdir}/libnetcdff.a
-%{_libdir}/libnetcdf.so
-%{_libdir}/libnetcdf_c++.so
-%{_libdir}/libnetcdff.so
+%{_includedir}/*
+%{_libdir}/*.so

-%files -n libnetcdf-4
+%files -n libnetcdf4
%defattr(-,root,root)
-%{_libdir}/libnetcdf.so.4
-%{_libdir}/libnetcdf.so.4.0.0
-%{_libdir}/libnetcdf_c++.so.4
-%{_libdir}/libnetcdf_c++.so.4.0.0
-%{_libdir}/libnetcdff.so.4
-%{_libdir}/libnetcdff.so.4.0.0
+%{_libdir}/libnetcdf.so.*
+%{_libdir}/libnetcdf_c++.so.*
+%{_libdir}/libnetcdff.so.*

%changelog
-* Thu Jan 10 2008 - lrupp@xxxxxxx
+* Mon Sep 01 2008 prusnak@xxxxxxx
+- disable static libraries
+* Fri Aug 22 2008 schwab@xxxxxxx
+- Fix makefile dependencies.
+* Wed Aug 13 2008 prusnak@xxxxxxx
+- updated to 4.0
+ * Introduced the use of HDF5 as a storage layer, which allows use
+ of groups, user-defined types, multiple unlimited dimensions,
+ compression, data chunking, parallel I/O, and other features
+ * In ncdump and ncgen, added CDL support for UTF-8 encoding
+ of characters in names and for escaped special chars in names.
+ Made sure UTF-8 names are normalized using NFC rules before
+ storing or comparing
+ * Handle IEEE NaNs and infinities in a platform-independent way
+ in ncdump output
+ * Added support for ARM representation of doubles
+ * Fixed bug in C++ API creating 64-bit offset files
+ * Fixed bug for variables larger than 4 GB
+ * Changed the configure.ac to build either 3.6.x or 4.x build
+ from the same configure.ac
+ * Build now checks gfortran version and handles it cleanly,
+ also Portland Group in Intel fortran, with various configurations
+ * A Fortran netcdf.inc file is now created at build time, based
+ on the setting of --disable-v2
+ * Documentation has been fixed in several places
+ * Upgraded to automake 1.10, autoconf 2.62, and libtool 2.2.2
+ * Includes missing Windows Visual Studio build files
+ * Fixed missing include of config.h in a C++ test program
+ * Fixed maintainer-clean in man directory
+ * Fixed --enable-c-only and make check
+ * Fixed behavior when opening a zero-length file
+ * Many portability enhancements to build cleanly
+ on various platforms
+ * Turned on some old test programs which were not being used
+ in the build
+- dropped obsoleted patches:
+ * missing-includes.patch (included in update)
+* Thu Jan 10 2008 lrupp@xxxxxxx
- use more macros in specfile
- added netcdf-3.6.2-missing_includes.patch
-* Mon Aug 06 2007 - zpetrova@xxxxxxx
+* Mon Aug 06 2007 zpetrova@xxxxxxx
- split to libnetcdf-4, libnetcdf-devel and netcdf package
according to Shared library guidelines.
-* Mon Jul 30 2007 - zpetrova@xxxxxxx
+* Mon Jul 30 2007 zpetrova@xxxxxxx
-update to version 3.6.2
- Added support for shared libraries (with configure option --enable-shared).
- Improved performance of byte-swapping loops on little-endian platforms.
@@ -155,10 +199,10 @@
- Fixed minor bugs relating to creation of very small netCDF files.
- Added support for additional configure options
(run configure --help for more information).
-* Mon May 21 2007 - ro@xxxxxxx
+* Mon May 21 2007 ro@xxxxxxx
- removed cfortran.doc from tarball due to "non-commercial" status
- check in specfile to make sure the file does not reappear
-* Thu Oct 19 2006 - zpetrova@xxxxxxx
+* Thu Oct 19 2006 zpetrova@xxxxxxx
- update to version 3.6.1
- updated installation manual
- netcdf padded small files with zero to 4096 bytes, when they
@@ -168,46 +212,46 @@
attributes, and length of names.
- added new functions, including doc and tests.
- correctly configure for Intel ifort Fortran compiler on Linux.
-* Wed Apr 19 2006 - dmueller@xxxxxxx
+* Wed Apr 19 2006 dmueller@xxxxxxx
- build PIC code
-* Mon Jan 30 2006 - zpetrova@xxxxxxx
+* Mon Jan 30 2006 zpetrova@xxxxxxx
- fixed permissions of libraries, man pages and header files (#131552)
-* Wed Jan 25 2006 - mls@xxxxxxx
+* Wed Jan 25 2006 mls@xxxxxxx
- converted neededforbuild to BuildRequires
-* Mon Jan 16 2006 - zpetrova@xxxxxxx
+* Mon Jan 16 2006 zpetrova@xxxxxxx
- update to netcdf-3.6.0-p1
-* Thu Sep 29 2005 - zpetrova@xxxxxxx
+* Thu Sep 29 2005 zpetrova@xxxxxxx
- add -fno-strict-aliasing
-* Tue Jan 11 2005 - didge@xxxxxxx
+* Tue Jan 11 2005 didge@xxxxxxx
- Updated to new version
- changed URL to the new one
-* Thu Nov 11 2004 - ro@xxxxxxx
+* Thu Nov 11 2004 ro@xxxxxxx
- fixed file list
-* Fri Apr 23 2004 - didge@xxxxxxx
+* Fri Apr 23 2004 didge@xxxxxxx
- Updated to new version 3.5.1
- Fixed strict aliasing problem
-* Sat Jan 10 2004 - adrian@xxxxxxx
+* Sat Jan 10 2004 adrian@xxxxxxx
- add %%run_ldconfig
-* Tue May 13 2003 - nashif@xxxxxxx
+* Tue May 13 2003 nashif@xxxxxxx
- added defattr to file list
-* Mon Mar 10 2003 - nashif@xxxxxxx
+* Mon Mar 10 2003 nashif@xxxxxxx
- fixed #24975: Build c++ library
-* Tue Sep 17 2002 - ro@xxxxxxx
+* Tue Sep 17 2002 ro@xxxxxxx
- removed bogus self-provides
-* Tue May 21 2002 - ro@xxxxxxx
+* Tue May 21 2002 ro@xxxxxxx
- complete libdir usage
-* Fri Mar 01 2002 - nashif@xxxxxxx
+* Fri Mar 01 2002 nashif@xxxxxxx
- use macro _libdir, fix for s390x build
-* Fri Apr 20 2001 - nashif@xxxxxxx
+* Fri Apr 20 2001 nashif@xxxxxxx
- Update to version 3.5.0
- fixed %%files
-* Sat Mar 24 2001 - nashif@xxxxxxx
+* Sat Mar 24 2001 nashif@xxxxxxx
- Spec cleanups
- Removed autospec from neededforbuild
-* Thu Oct 12 2000 - nashif@xxxxxxx
+* Thu Oct 12 2000 nashif@xxxxxxx
- Use BuildRoot
- Change maintainership to nashif@xxxxxxx
-* Tue Jun 06 2000 - marquardt@xxxxxxx
+* Tue Jun 06 2000 marquardt@xxxxxxx
- added fortran interface
-* Mon May 08 2000 - freitag@xxxxxxx
+* Mon May 08 2000 freitag@xxxxxxx
- initial build of version 3.4

++++++ netcdf-4.0-dependencies.patch ++++++
--- f90/Makefile.am
+++ f90/Makefile.am
@@ -37,7 +37,7 @@
libnetcdff90_la_DEPENDENCIES += netcdf4_func.f90 netcdf4_externals.f90 \
netcdf4_visibility.f90 netcdf4_constants.f90 netcdf4.f90

-NETCDF_O = netcdf4.o
+NETCDF_O = netcdf4.lo

else # not USE_NETCDF4

@@ -48,7 +48,7 @@
libnetcdff90_la_SOURCES += netcdf.f90
libnetcdff90_la_DEPENDENCIES += netcdf.f90

-NETCDF_O = netcdf.o
+NETCDF_O = netcdf.lo

endif # USE_NETCDF4

@@ -62,12 +62,14 @@
# uppercase. Just to be special.
if UPPER_CASE_MOD
nodist_include_HEADERS = TYPESIZES.mod NETCDF.mod
-TYPESIZES.mod: typeSizes.o
+TYPESIZES.mod: typeSizes.lo
NETCDF.mod: $(NETCDF_O)
+$(NETCDF_O): TYPESIZES.mod
else
nodist_include_HEADERS = typesizes.mod netcdf.mod
-typesizes.mod: typeSizes.o
+typesizes.mod: typeSizes.lo
netcdf.mod: $(NETCDF_O)
+$(NETCDF_O): typesizes.mod
endif

# This is what we are building: a convenience library of F90 functions.
--- f90/Makefile.in
+++ f90/Makefile.in
@@ -280,8 +280,8 @@
# based on the fortran compiler.
@USE_NETCDF4_TRUE@AM_FCFLAGS = -I$(top_srcdir)/libsrc4 -I$(srcdir) \
@USE_NETCDF4_TRUE@ $(FCFLAGS_f90)
-@USE_NETCDF4_FALSE@NETCDF_O = netcdf.o
-@USE_NETCDF4_TRUE@NETCDF_O = netcdf4.o
+@USE_NETCDF4_FALSE@NETCDF_O = netcdf.lo
+@USE_NETCDF4_TRUE@NETCDF_O = netcdf4.lo
AM_F90FLAGS = $(FCFLAGS_f90)
@UPPER_CASE_MOD_FALSE@nodist_include_HEADERS = typesizes.mod netcdf.mod

@@ -602,10 +602,12 @@
tags uninstall uninstall-am uninstall-man uninstall-man3 \
uninstall-nodist_includeHEADERS

-@UPPER_CASE_MOD_TRUE@TYPESIZES.mod: typeSizes.o
+@UPPER_CASE_MOD_TRUE@TYPESIZES.mod: typeSizes.lo
@UPPER_CASE_MOD_TRUE@xxxxxxxxxx: $(NETCDF_O)
-@UPPER_CASE_MOD_FALSE@typesizes.mod: typeSizes.o
+@UPPER_CASE_MOD_TRUE@$(NETCDF_O): TYPESIZES.mod
+@UPPER_CASE_MOD_FALSE@typesizes.mod: typeSizes.lo
@UPPER_CASE_MOD_FALSE@xxxxxxxxxx: $(NETCDF_O)
+@UPPER_CASE_MOD_FALSE@$(NETCDF_O): typesizes.mod
# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.
.NOEXPORT:
++++++ netcdf-4.0-strict-aliasing.patch ++++++
--- libsrc/posixio.c 2007-07-25 15:10:33.000000000 +0200
+++ libsrc/posixio.c 2007-07-25 15:48:55.000000000 +0200
@@ -401,7 +401,7 @@
px_get(ncio *const nciop, ncio_px *const pxp,
off_t offset, size_t extent,
int rflags,
- void **const vpp)
+ char **const vpp)
{
int status = ENOERR;

@@ -600,7 +600,7 @@
pxp->bf_rflags |= rflags;
pxp->bf_refcount++;

- *vpp = (char *)pxp->bf_base + diff;
+ *vpp = pxp->bf_base + diff;
return ENOERR;
}

@@ -628,7 +628,7 @@
ncio_px_get(ncio *const nciop,
off_t offset, size_t extent,
int rflags,
- void **const vpp)
+ char **const vpp)
{
ncio_px *const pxp = (ncio_px *)nciop->pvt;

@@ -659,8 +659,8 @@
{
ncio_px *const pxp = (ncio_px *)nciop->pvt;
int status = ENOERR;
- void *src;
- void *dest;
+ char *src;
+ char *dest;

#if INSTRUMENT
fprintf(stderr, "\tdouble_buffr %ld %ld %ld\n",
@@ -813,7 +813,7 @@
fprintf(stderr, "\tncio_px_move small\n");
#endif
status = px_get(nciop, pxp, lower, extent, RGN_WRITE|rflags,
- (void **)&base);
+ &base);

if(status != ENOERR)
return status;
@@ -1051,7 +1051,7 @@
ncio_spx_get(ncio *const nciop,
off_t offset, size_t extent,
int rflags,
- void **const vpp)
+ char **const vpp)
{
ncio_spx *const pxp = (ncio_spx *)nciop->pvt;
int status = ENOERR;
@@ -1113,7 +1113,7 @@
pxp->bf_cnt = extent;

#ifdef X_ALIGN
- *vpp = (char *)pxp->bf_base + rem;
+ *vpp = pxp->bf_base + rem;
#else
*vpp = pxp->bf_base;
#endif
@@ -1240,7 +1240,7 @@
extent = diff + nbytes;

status = ncio_spx_get(nciop, lower, extent, RGN_WRITE|rflags,
- (void **)&base);
+ &base);

if(status != ENOERR)
return status;
++++++ netcdf-3.6.2.tar.bz2 -> netcdf-4.0.tar.bz2 ++++++
netcdf/netcdf-3.6.2.tar.bz2 netcdf/netcdf-4.0.tar.bz2 differ: byte 11, line 1


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



Remember to have fun...

---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread