2008-02-13 22:58:17 +00:00
|
|
|
|
|
|
|
This file is a release HOWTO, more or less a reminder before releasing
|
|
|
|
a new version of Hamlib.
|
|
|
|
|
2009-03-07 03:30:17 +00:00
|
|
|
TODO: With the switch to SVN SCM discuss the use of tags and branches
|
|
|
|
for releases.
|
2008-02-13 22:58:17 +00:00
|
|
|
|
|
|
|
Before deciding release:
|
|
|
|
-----------------------
|
2010-01-28 22:44:56 +00:00
|
|
|
* Anticipate what problems would users experience with the new release,
|
2008-02-13 22:58:17 +00:00
|
|
|
so you can fix the problems before making the release.
|
|
|
|
Basically, this is making sure the package will
|
|
|
|
compile on a whole breed of systems (arch,OS,library,gcc,etc. combo),
|
|
|
|
that there's no regression, and the API evolution is managed well.
|
2010-01-28 22:44:56 +00:00
|
|
|
|
|
|
|
* Announce SVN/version freeze on hamlib-developer mailing list,
|
2008-02-13 22:58:17 +00:00
|
|
|
so developers have time to check in their contributions.
|
2010-01-28 22:44:56 +00:00
|
|
|
|
2008-02-13 22:58:17 +00:00
|
|
|
* Update libtool:
|
2010-01-28 22:44:56 +00:00
|
|
|
macros/{ltdl,libtool}.m4
|
|
|
|
ltmain.sh
|
|
|
|
libltdl/
|
|
|
|
A postfix of libtool in libltdl/Makefile.in may be needed: empty am__aclocal_m4_deps
|
2008-02-13 22:58:17 +00:00
|
|
|
|
|
|
|
Releasing Hamlib:
|
|
|
|
----------------
|
|
|
|
* Update NEWS, TODO, AUTHORS
|
2010-01-28 22:44:56 +00:00
|
|
|
|
|
|
|
* Update the version in the macro AC_INIT of configure.ac (remove 'svn')
|
|
|
|
|
2008-12-14 19:25:50 +00:00
|
|
|
* Regenerate ChangeLog with:
|
2010-01-28 22:44:56 +00:00
|
|
|
TZ=UTC svn2cl
|
|
|
|
|
2010-03-07 14:07:42 +00:00
|
|
|
* svn commit -m "release X.Y.Z" ChangeLog configure.ac NEWS
|
|
|
|
Note the revision number (N).
|
2009-03-07 03:30:17 +00:00
|
|
|
* Tag the SVN rep with version 'HAMLIB-x-y-z'
|
2010-03-07 14:07:42 +00:00
|
|
|
svn copy -r N https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk \
|
|
|
|
https://hamlib.svn.sourceforge.net/svnroot/hamlib/tags/HAMLIB-x-y-z \
|
|
|
|
-m "release x.y.z"
|
2010-01-28 22:44:56 +00:00
|
|
|
|
2008-02-13 22:58:17 +00:00
|
|
|
* Build source tarball:
|
2010-03-07 14:07:42 +00:00
|
|
|
svn co -r N https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk hamlib
|
2009-03-07 03:30:17 +00:00
|
|
|
sh autogen.sh --enable-maintainer-mode
|
2010-01-28 22:44:56 +00:00
|
|
|
|
|
|
|
# (Would the above command be better invoked as:
|
|
|
|
# sh autogen.sh --disable-maintainer-mode --prefix=/usr/local CFLAGS="-g -O0"
|
|
|
|
# ?? comments please.)
|
|
|
|
|
|
|
|
make dist
|
|
|
|
|
2008-02-13 22:58:17 +00:00
|
|
|
* Build Windows DLL from previous tarball, and .LIB, then create .zip file
|
|
|
|
Rem: under Linux, you need the package mingw32 to cross-compile it,
|
|
|
|
and free MVC++Toolkit to create .lib file:
|
2010-01-28 22:44:56 +00:00
|
|
|
./configure --disable-static \
|
|
|
|
--host=i586-mingw32msvc \
|
|
|
|
--prefix=/tmp/mingw-inst \
|
|
|
|
--without-rpc-backends \
|
|
|
|
--without-perl-binding --without-tcl-binding --without-python-binding \
|
|
|
|
--enable-xmltest ac_cv_path_PKG_CONFIG=no
|
|
|
|
make install
|
2010-03-07 14:07:42 +00:00
|
|
|
new_ver="x.y.z"
|
|
|
|
mkdir -p /tmp/mingw-inst/hamlib-${new_ver}/lib/msvc /tmp/mingw-inst/hamlib-${new_ver}/lib/gcc
|
|
|
|
cp src/libhamlib.def /tmp/mingw-inst/hamlib-${new_ver}/lib/msvc/libhamlib-2.def
|
|
|
|
cd /tmp/mingw-inst/hamlib-${new_ver}/lib/msvc/
|
|
|
|
unix2dos *.def
|
2010-01-28 22:44:56 +00:00
|
|
|
wine /media/sda1/Program\ Files/Microsoft\ Visual\ C++\ Toolkit\ 2003/bin/link.exe /lib /machine:i386 /def:libhamlib-2.def
|
2010-03-07 14:07:42 +00:00
|
|
|
cd ../..
|
|
|
|
unix2dos include/hamlib/*.h
|
|
|
|
cp lib/gcc/libhamlib.dll.a /tmp/mingw-inst/hamlib-${new_ver}/lib/gcc
|
2010-01-28 22:44:56 +00:00
|
|
|
vi README.win32.mine
|
2010-03-07 14:07:42 +00:00
|
|
|
zip -r hamlib-win32-${new_ver}.zip hamlib-${new_ver}
|
|
|
|
|
2010-01-28 22:44:56 +00:00
|
|
|
Edit Release, i386, .zip
|
2008-02-13 22:58:17 +00:00
|
|
|
|
|
|
|
* Build Windows DLL with stdcall convention:
|
2008-02-18 21:17:32 +00:00
|
|
|
Ditto but with HAMLIB_API set to __stdcall in include/hamlib/rig_dll.h before re-compiling.
|
2010-03-07 14:07:42 +00:00
|
|
|
Subsitute cdecl by stdcall in README.txt.
|
2008-02-13 22:58:17 +00:00
|
|
|
|
|
|
|
* Release the file(s)
|
2010-03-07 14:07:42 +00:00
|
|
|
- https://sourceforge.net/project/admin/explorer.php?group_id=8305
|
|
|
|
- Select subdirectory hamlib, left click on the grey gear, "New folder", x.y.z
|
|
|
|
- Select subdirectory hamlib/x.y.z
|
|
|
|
- Left click on the grey gear of the folder, "Upload here"
|
|
|
|
- Letf click on file name, on right side, set platform as default for download. Save.
|
|
|
|
|
|
|
|
|
|
|
|
- rsync -avP -e ssh hamlib-${new_ver}.tar.gz yourloginhere@frs.sourceforge.net:uploads/
|
2008-02-13 23:20:27 +00:00
|
|
|
- then go to https://sourceforge.net/project/admin/editpackages.php?group_id=8305
|
|
|
|
[Add release] "x-y-z"
|
|
|
|
Paste NEWS section and ChangeLog, select file, change file processor type to "Any"/"Source .gz"
|
|
|
|
and notify users.
|
2010-01-28 22:44:56 +00:00
|
|
|
|
|
|
|
* Update http://www.hamlib.org Wiki
|
2008-02-13 22:58:17 +00:00
|
|
|
- Download section
|
2010-03-07 14:07:42 +00:00
|
|
|
https://sourceforge.net/apps/mediawiki/hamlib/index.php?title=Download
|
|
|
|
|
2008-02-18 21:17:32 +00:00
|
|
|
- Documentation (requires doxygen)
|
2010-01-28 22:44:56 +00:00
|
|
|
make -C doc doc
|
|
|
|
ssh shell.sourceforge.net mkdir /home/groups/h/ha/hamlib/htdocs/manuals/x-y-z
|
|
|
|
scp -r doc/html shell.sourceforge.net:/home/groups/h/ha/hamlib/htdocs/manuals/x-y-z/.
|
|
|
|
Edit Wiki Documentation section
|
2010-03-07 14:07:42 +00:00
|
|
|
|
2008-02-18 21:17:32 +00:00
|
|
|
- Supported Radios/Rotators
|
2010-01-28 22:44:56 +00:00
|
|
|
make -C tests rigmatrix.html
|
2010-03-07 14:07:42 +00:00
|
|
|
ssh -t USER,hamlib@shell.sourceforge.net create
|
2010-01-28 22:44:56 +00:00
|
|
|
scp -r tests/sup-info/* shell.sourceforge.net:/home/groups/h/ha/hamlib/htdocs/sup-info/.
|
|
|
|
|
2008-02-13 22:58:17 +00:00
|
|
|
* Notify various sites:
|
|
|
|
- Sourceforge/News: https://sourceforge.net/news/submit.php?group_id=8305
|
|
|
|
- Freshmeat: http://freshmeat.net/projects/hamlib
|
2008-02-18 21:17:32 +00:00
|
|
|
- http://radio.linux.org.au/pkgdetail.phtml?pkgid=243 Linux Hamradio App: rigctl category
|
2010-01-28 22:44:56 +00:00
|
|
|
|
|
|
|
* Send announce to mailing lists: [ANN] hamlib-announce, linux-ham
|
2008-02-13 22:58:17 +00:00
|
|
|
|
|
|
|
To advertise:
|
2010-01-28 22:44:56 +00:00
|
|
|
- list the rigs supported so far,
|
2008-02-13 22:58:17 +00:00
|
|
|
- what was major work achieved,
|
2010-01-28 22:44:56 +00:00
|
|
|
- where we're heading,
|
2008-02-13 22:58:17 +00:00
|
|
|
- what kind of support we need
|
|
|
|
|
|
|
|
Get ready for the next round:
|
2009-03-07 03:30:17 +00:00
|
|
|
* Bump version number and append 'svn' to it in macro AC_INIT of configure.ac
|
2008-02-13 22:58:17 +00:00
|
|
|
|
2010-01-28 22:44:56 +00:00
|
|
|
* Update src/Makefile.am revision of -version-info
|