2001-04-16 Henning Meier-Geinitz <hmg@gmx.de>

* README: Updated xsane link.
	* configure configure.in backend/dll.c backend/dll.desc
	  backend/net.c backend/net.desc include/sane/config.h.in
	  Yet another change in the version system for dll and net.
	  For sane_init return the version of the package but use
	  own internal version number in the source (printed with
	  debugging enabled) and in *.desc. The internal versions
	  of both net and dll are set to 1.0.1. Please increase the
	  build number with every change on the source files.
	* doc/realeases.txt -> doc/releases.txt. Fixed spelling error.
	  Added entries about sane-backends.html, sane.ps, man pages,
	  platforms page.
DEVEL_2_0_BRANCH-1
Henning Geinitz 2001-04-16 12:21:41 +00:00
rodzic 6850c11f5e
commit e1767e5ea9
7 zmienionych plików z 59 dodań i 12 usunięć

2
README
Wyświetl plik

@ -9,7 +9,7 @@ You always find the most recent version of SANE on:
http://www.mostang.com/sane
There are several graphical frontends available for SANE.
XSane is available on http://www.wolfsburg.de/~rauch/sane-xsane.html
XSane is available on http://www.xsane.org
The graphical frontends that have been included into the sane package up to
version sane-1.0.3 (xscanimage and xcam) have been put into an own package
sane-frontends-1.0.x, this package is available on http://www.mostang.com/sane

Wyświetl plik

@ -42,7 +42,9 @@
allows managing an arbitrary number of SANE backends by using
dynamic linking to load backends on demand. */
#define BUILD 5
/* Please increase version number with every change
(don't forget to update dll.desc) */
#define DLL_VERSION "1.0.1"
#ifdef _AIX
# include "lalloca.h" /* MUST come first for AIX! */
@ -506,9 +508,8 @@ sane_init (SANE_Int * version_code, SANE_Auth_Callback authorize)
auth_callback = authorize;
DBG(1, "sane_init: SANE dll backend version %d.%d.%d from %s\n", V_MAJOR,
V_MINOR, BUILD, PACKAGE_VERSION);
DBG(1, "sane_init: SANE dll backend version %s from %s\n", DLL_VERSION,
PACKAGE_VERSION);
/* chain preloaded backends together: */
for (i = 0; i < NELEMS(preloaded_backends); ++i)
@ -520,7 +521,8 @@ sane_init (SANE_Int * version_code, SANE_Auth_Callback authorize)
}
if (version_code)
*version_code = SANE_VERSION_CODE (V_MAJOR, V_MINOR, BUILD);
*version_code = SANE_VERSION_CODE (SANE_DLL_V_MAJOR, SANE_DLL_V_MINOR,
SANE_DLL_V_BUILD);
fp = sanei_config_open (DLL_CONFIG_FILE);
if (!fp)

Wyświetl plik

@ -1,5 +1,5 @@
:backend "dll" ; name of backend
:version "1.0.5"
:version "1.0.1"
:status :beta
:manpage "sane-dll"

Wyświetl plik

@ -40,7 +40,9 @@
This file implements a SANE network-based meta backend. */
#define BUILD 5
/* Please increase version number with every change
(don't forget to update net.desc) */
#define NET_VERSION "1.0.1"
#ifdef _AIX
# include "lalloca.h" /* MUST come first for AIX! */
@ -329,11 +331,15 @@ SANE_Status sane_init (SANE_Int * version_code, SANE_Auth_Callback authorize)
auth_callback = authorize;
/* Return the version number of the sane-backends package to allow
the frontend to print them. This is done only for net and dll,
because these backends are usually called by the frontend. */
if (version_code)
*version_code = SANE_VERSION_CODE (V_MAJOR, V_MINOR, BUILD);
*version_code = SANE_VERSION_CODE (SANE_DLL_V_MAJOR, SANE_DLL_V_MINOR,
SANE_DLL_V_BUILD);
DBG(1, "sane_init: SANE net backend version %d.%d.%d from %s\n", V_MAJOR,
V_MINOR, BUILD, PACKAGE_VERSION);
DBG(1, "sane_init: SANE net backend version %s from %s\n", NET_VERSION,
PACKAGE_VERSION);
serv = getservbyname ("sane", "tcp");
if (serv)

Wyświetl plik

@ -1,5 +1,5 @@
:backend "net" ; name of backend
:version "1.0.5"
:version "1.0.1"
:status :beta
:manpage "sane-net"

34
doc/releases.txt 100644
Wyświetl plik

@ -0,0 +1,34 @@
2001-04-16
This text summarizes some points to pay attention to when a new realease
of sane-backends should be made.
Before the release:
* configure.in: increase version number
* configure.in: set --disable-warnings as default
* configure: recreate
* net.c net.desc dll.c dll.desc: update version numbers
* NEWS: update and enter date of release
* sane-backends.lsm: update
* ChangeLog: set release marker
* final compilation test
* make distclean
Making the release:
* remove all CVS files from directories (CVS, .cvsignore etc.)
* make tar.gz and sane-backends-x.y.z.lsm
* upload both to mostang.com
* make sane-backends.html and upload to mostang.com
* update SANE standard and man pages on mostang.com
* check and update platforms page on mostang.com
* write announcements on mostang.com and sane-devel, maybe others
(e.g. freshmeat)
* upload to mirrors that don't get the files automatically (sunsite
and tsx11)
After the release:
* configure.in: set --enable-warnings as default
* configure: regenerate

Wyświetl plik

@ -359,6 +359,11 @@
/* Define if you have PTAL. */
#undef HAVE_PTAL
/* Version of the dll backend (=version of the sane-backends package) */
#undef SANE_DLL_V_MAJOR
#undef SANE_DLL_V_MINOR
#undef SANE_DLL_V_BUILD
#ifndef HAVE_STRNCASECMP
/* OS/2 needs this */
# define strncasecmp(a, b, c) strnicmp(a, b, c)