[opensuse-packaging] netcdf package
Hi, The official netcdf package at OBS (I guess it is maintained at devel:libraries:c_c++ ) is lacking some crucial compiling flags for environmental scientists. # need curl :: These allows data access over the internet, essential for climate scientists --enable-dap --disable-dap-remote-tests # need hdf5 :: This makes netcdf-4 actually netcdf-4, the current configuration is still netcdf-3 --enable-netcdf-4 --enable-ncgen4 # not essential --enable-extra-example-tests I maintain netcdf 4.1.2 here: https://build.opensuse.org/package/show?package=netcdf&project=home%3Aocefpaf However, I do not believe my version is OK for official release, since I'm and amateur packager. Also, I compile the static library (most numerical ocean models need that), and that is removed from the official package. I would like to see those flags above in the official packages and an upgrade to version 4.1.2 if possible. This would certainly expand the use of that important library. I tried to branch, do that on my own, and submit the diff back, but devel:libraries:c_c++ does not have hdf4 nor curl. Thanks, Filipe. ***************************************************** Filipe Pires Alvarenga Fernandes, PhD Candidate School of Marine Science and Technology University of Massachusetts at Dartmouth 706 Rodney French Blvd., New Bedford, MA 02744 Email: falvarengafernandes@umassd.edu ocefpaf@gmail.com http://ocefpaf.tiddlyspot.com/ ***************************************************** -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
Hi Filipe, * Filipe Pires Alvarenga Fernandes (ocefpaf@gmail.com) [20110420 22:28]:
--enable-dap --disable-dap-remote-tests
Added.
--enable-netcdf-4 --enable-ncgen4
Added.
# not essential --enable-extra-example-tests
Added.
Also, I compile the static library (most numerical ocean models need that), and that is removed from the official package.
Why do they need the static library? Can't their makefiles be changed to link in the dynamic library? But for now I've split off the static library and the .la file into a devel-static subpackage.
I would like to see those flags above in the official packages and an upgrade to version 4.1.2 if possible. This would certainly expand the use of that important library.
I'll do the upgrade. But I'll offer you a deal :) I'll do the changes but you'll become main maintainer of netcdf with me as a tutor. OK?
I tried to branch, do that on my own, and submit the diff back, but devel:libraries:c_c++ does not have hdf4 nor curl.
I'll link in hdf5 and curl. Philipp -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
to., 21.04.2011 kl. 16.06 +0200, skrev Philipp Thomas:
Hi Filipe, snip
I'll do the upgrade. But I'll offer you a deal :) I'll do the changes but you'll become main maintainer of netcdf with me as a tutor. OK?
snip
Philipp
Que: The Godfather music I'm gonna make him an offer he can't refuse. //Bjørn -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
On Thu, Apr 21, 2011 at 10:06, Philipp Thomas <pth@suse.de> wrote:
Hi Filipe,
Also, I compile the static library (most numerical ocean models need that), and that is removed from the official package.
Why do they need the static library? Can't their makefiles be changed to link in the dynamic library? But for now I've split off the static library and the .la file into a devel-static subpackage.
The answer is simple, scientist are terrible programmers :)
I'll do the upgrade. But I'll offer you a deal :) I'll do the changes but you'll become main maintainer of netcdf with me as a tutor. OK?
Deal. I really want to learn more packaging rules, good practices, and all that jazz.
Philipp -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
On Thu, 21 Apr 2011 10:46:11 -0400, Filipe Pires Alvarenga Fernandes <ocefpaf@gmail.com> wrote:
Deal. I really want to learn more packaging rules, good practices, and all that jazz.
And - TATAAA - you're maintainer and bugowner of netcdf and hdf5 :) I copied hdf5 from openSUSE:Dropped to devel:libraries:c_c++ so that is has a new home. I'm working on patches for both packages. Philipp -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
* Philipp Thomas (Philipp.Thomas2@gmx.net) [20110421 19:57]:
And - TATAAA - you're maintainer and bugowner of netcdf and hdf5 :) I copied hdf5 from openSUSE:Dropped to devel:libraries:c_c++ so that is has a new home. I'm working on patches for both packages.
OK, I finally finished with changing the type-punning in the hdf5 code to use unions so that gcc does the right thing and there is no need to use -fno-strict-aliasing anymore which should result in gcc producing better code. Philipp -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
On Fri, Apr 29, 2011 at 10:35, Philipp Thomas <pth@suse.de> wrote:
* Philipp Thomas (Philipp.Thomas2@gmx.net) [20110421 19:57]:
OK, I finally finished with changing the type-punning in the hdf5 code to use unions so that gcc does the right thing and there is no need to use -fno-strict-aliasing anymore which should result in gcc producing better code.
Thanks a bunch, I'll try to play with those this weekend. BTW: What would be the best way to work on these packages? (1) Branch, modify, submit request? (2) Checkout "devel:libraries:c_c++" entirely and apply modifications directly? I certainly prefer (1), I think it is safer.
Philipp
Thanks again, Filipe. -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
* Filipe Pires Alvarenga Fernandes (ocefpaf@gmail.com) [20110429 16:59]:
Thanks a bunch, I'll try to play with those this weekend.
Havew fun (hopefully :) .
BTW: What would be the best way to work on these packages?
(1) Branch, modify, submit request? (2) Checkout "devel:libraries:c_c++" entirely and apply modifications directly?
I'd say that depends on your personal preferences. I do most stuff directtly, i.e. do 'osc co -c devel:libraries:c_c++/netcdf' and 'osc co -c devel:libraries:c_c++/netcdf' and then work on them, i.e. more or less your option 2. For a dependency such as between netcdf and hdf5 I'd first modify hdf5 as needed, copy the resulting packages somewhere and then use the --prefer-pkgs option to osc build to tell the build where to take take the hdf5 packages from.
I certainly prefer (1), I think it is safer.
Do as you like, it's now mostly your playing ground :-) Have a nice weekend Philipp -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
participants (4)
-
Bjørn Lie
-
Filipe Pires Alvarenga Fernandes
-
Philipp Thomas
-
Philipp Thomas