[sanexx-commit] SF.net SVN: sanexx: [2]
Status: Pre-Alpha
Brought to you by:
paddy_hack
|
From: <pad...@us...> - 2006-02-25 04:43:58
|
Revision: 2 Author: paddy_hack Date: 2006-02-24 20:43:37 -0800 (Fri, 24 Feb 2006) ViewCVS: http://svn.sourceforge.net/sanexx/?rev=2&view=rev Log Message: ----------- r6@qed: olaf | 2006-02-25 13:42:11 +0900 Seeded a GNU standards compliant package with a bare minimum of source files. The utils/bootstrap utility may be used to bootstrap clean svn checkouts. The scanimage++ program and sane++ library are just stubs. Added Paths: ----------- trunk/AUTHORS trunk/ChangeLog trunk/Makefile.am trunk/NEWS trunk/README trunk/configure.ac trunk/include/ trunk/include/sane++ trunk/lib/Makefile.am trunk/lib/sane++.cc trunk/src/Makefile.am trunk/src/scanimage.cc trunk/utils/bootstrap Property Changed: ---------------- / Property changes on: ___________________________________________________________________ Name: svk:merge - 52428bda-890d-0410-88ad-be188b7e1831:/local:3 + 52428bda-890d-0410-88ad-be188b7e1831:/local:6 Added: trunk/AUTHORS =================================================================== --- trunk/AUTHORS (rev 0) +++ trunk/AUTHORS 2006-02-25 04:43:37 UTC (rev 2) @@ -0,0 +1,4 @@ +AUTHORS -- a list of who contributed what + +Olaf Meeuwissen <pad...@us...> + - all _original_ sources unless mentioned otherwise below Added: trunk/ChangeLog =================================================================== Added: trunk/Makefile.am =================================================================== --- trunk/Makefile.am (rev 0) +++ trunk/Makefile.am 2006-02-25 04:43:37 UTC (rev 2) @@ -0,0 +1,33 @@ +## Makefile.am -- an automake template for a Makefile.in file +## Copyright (C) 2006 Olaf Meeuwissen +## +## This file is part of the 'sane++' package. +## This package is free software; you can redistribute it and/or modify +## it under the terms of the GNU General Public License as published by +## the Free Software Foundation; either version 2 of the License or, at +## your option, any later version. +## +## This package is distributed in the hope that it will be useful, but +## WITHOUT ANY WARRANTY; without even the implied warranty of FITNESS +## FOR A PARTICULAR PURPOSE or MERCHANTABILITY. +## See the GNU General Public License for more details. +## +## You should have received a verbatim copy of the GNU General Public +## License along with this package; if not, write to: +## +## Free Software Foundation +## 51 Franklin Street, 5th Floor +## Boston, MA 02110-1301 USA +## +## Process this file with automake to produce a Makefile.in file. + + +SUBDIRS = \ + lib \ + src + +include_HEADERS = \ + include/sane++ + +EXTRA_DIST = \ + utils/bootstrap Added: trunk/NEWS =================================================================== Added: trunk/README =================================================================== --- trunk/README (rev 0) +++ trunk/README 2006-02-25 04:43:37 UTC (rev 2) @@ -0,0 +1,28 @@ + + sane++ + + +Copyright (C) 2006 Olaf Meeuwissen + + + ABSTRACT + + The sane++ package aims to provide an object-oriented (OO) wrapper + around the SANE API, for frontend as well as backend implementers, + and demonstrates its feasibility/functionality with several sample + programs. + + + LICENSING + + All _original_ sources are covered by the terms of the GNU General + Public License. A copy of the GNU General Public License, the GPL + for short, can be found in the 'COPYING' file. + + +INSTALLATION + + Refer to the 'INSTALL' file for generic installation instructions. + + + -- Olaf Meeuwissen <pad...@us...> Added: trunk/configure.ac =================================================================== --- trunk/configure.ac (rev 0) +++ trunk/configure.ac 2006-02-25 04:43:37 UTC (rev 2) @@ -0,0 +1,75 @@ +dnl configure.ac -- an -*- autoconf -*- template for configure +dnl Copyright (C) 2006 Olaf Meeuwissen +dnl +dnl This file is part of the 'sane++' package. +dnl This package is free software; you can redistribute it and/or modify +dnl it under the terms of the GNU General Public License as published by +dnl the Free Software Foundation; either version 2 of the License or, at +dnl your option, any later version. +dnl +dnl This package is distributed in the hope that it will be useful, but +dnl WITHOUT ANY WARRANTY; without even the implied warranty of FITNESS +dnl FOR A PARTICULAR PURPOSE or MERCHANTABILITY. +dnl See the GNU General Public License for more details. +dnl +dnl You should have received a verbatim copy of the GNU General Public +dnl License along with this package; if not, write to: +dnl +dnl Free Software Foundation +dnl 51 Franklin Street, 5th Floor +dnl Boston, MA 02110-1301 USA +dnl +dnl Process this file with autoconf to produce a configure script. + + +dnl preamble + +AC_PREREQ(2.59) +AC_INIT([sane++], + [0.0.0], + [san...@li...], + [sane++]) + +AM_INIT_AUTOMAKE([1.9 gnu]) + +AC_CONFIG_SRCDIR([src/scanimage.cc]) +AC_CONFIG_HEADER([config.h]) + + +dnl checks for programs + +AC_PROG_CXX +AC_PROG_LIBTOOL +#AC_PROG_RANLIB dnl obsoleted by AC_PROG_LIBTOOL + +AC_CHECK_PROGS([SANE_CONFIG], [sane-config]) +if test x"$SANE_CONFIG" = x; then + AC_MSG_ERROR([$PACKAGE requires sane-config]) +fi + + +dnl checks for libraries + +AC_SUBST(SANE_LIBADD, [`$SANE_CONFIG --libs`]) +AC_SUBST(SANE_CFLAGS, [`$SANE_CONFIG --cflags`]) +AC_SUBST(SANE_LDFLAGS, [`$SANE_CONFIG --ldflags`]) + + +dnl checks for header files + + +dnl checks for typedefs, structures, and compiler characteristics + + +dnl checks for library functions + + +dnl appendix + +AC_CONFIG_FILES([\ + Makefile \ + lib/Makefile \ + src/Makefile \ + ]) + +AC_OUTPUT Added: trunk/include/sane++ =================================================================== --- trunk/include/sane++ (rev 0) +++ trunk/include/sane++ 2006-02-25 04:43:37 UTC (rev 2) @@ -0,0 +1,28 @@ +// sane++ -- an object-oriented -*- C++ -*- SANE wrapper +// Copyright (C) 2006 Olaf Meeuwissen +// +// This file is part of the 'sane++' package. +// This package is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License or, at +// your option, any later version. +// +// This package is distributed in the hope that it will be useful, but +// WITHOUT ANY WARRANTY; without even the implied warranty of FITNESS +// FOR A PARTICULAR PURPOSE or MERCHANTABILITY. +// See the GNU General Public License for more details. +// +// You should have received a verbatim copy of the GNU General Public +// License along with this package; if not, write to: +// +// Free Software Foundation +// 51 Franklin Street, 5th Floor +// Boston, MA 02110-1301 USA + + +#ifndef included_sanexx +#define included_sanexx + +#include <sane/sane.h> + +#endif /* !included_sanexx */ Property changes on: trunk/include/sane++ ___________________________________________________________________ Name: svn:mime-type + text/cpp Added: trunk/lib/Makefile.am =================================================================== --- trunk/lib/Makefile.am (rev 0) +++ trunk/lib/Makefile.am 2006-02-25 04:43:37 UTC (rev 2) @@ -0,0 +1,42 @@ +## Makefile.am -- an automake template for a Makefile.in file +## Copyright (C) 2006 Olaf Meeuwissen +## +## This file is part of the 'sane++' package. +## This package is free software; you can redistribute it and/or modify +## it under the terms of the GNU General Public License as published by +## the Free Software Foundation; either version 2 of the License or, at +## your option, any later version. +## +## This package is distributed in the hope that it will be useful, but +## WITHOUT ANY WARRANTY; without even the implied warranty of FITNESS +## FOR A PARTICULAR PURPOSE or MERCHANTABILITY. +## See the GNU General Public License for more details. +## +## You should have received a verbatim copy of the GNU General Public +## License along with this package; if not, write to: +## +## Free Software Foundation +## 51 Franklin Street, 5th Floor +## Boston, MA 02110-1301 USA +## +## Process this file with automake to produce a Makefile.in file. + + +lib_LTLIBRARIES = libsane++.la + +## See `info '(libtool)Updating version info'` for details on when +## and how to change these. + +CURRENT = 0 +REVISION = 0 +AGE = 0 + +libsane___la_CPPFLAGS = \ + -I$(top_srcdir)/include +libsane___la_LDFLAGS = \ + -version-info $(CURRENT):$(REVISION):$(AGE) \ + $(SANE_LDFLAGS) +libsane___la_LIBADD = \ + $(SANE_LIBADD) +libsane___la_SOURCES = \ + sane++.cc Added: trunk/lib/sane++.cc =================================================================== --- trunk/lib/sane++.cc (rev 0) +++ trunk/lib/sane++.cc 2006-02-25 04:43:37 UTC (rev 2) @@ -0,0 +1,23 @@ +// sane++.cc -- an object-oriented -*- C++ -*- SANE wrapper +// Copyright (C) 2006 Olaf Meeuwissen +// +// This file is part of the 'sane++' package. +// This package is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License or, at +// your option, any later version. +// +// This package is distributed in the hope that it will be useful, but +// WITHOUT ANY WARRANTY; without even the implied warranty of FITNESS +// FOR A PARTICULAR PURPOSE or MERCHANTABILITY. +// See the GNU General Public License for more details. +// +// You should have received a verbatim copy of the GNU General Public +// License along with this package; if not, write to: +// +// Free Software Foundation +// 51 Franklin Street, 5th Floor +// Boston, MA 02110-1301 USA + + +#include <sane++> Added: trunk/src/Makefile.am =================================================================== --- trunk/src/Makefile.am (rev 0) +++ trunk/src/Makefile.am 2006-02-25 04:43:37 UTC (rev 2) @@ -0,0 +1,37 @@ +## Makefile.am -- an automake template for a Makefile.in file +## Copyright (C) 2006 Olaf Meeuwissen +## +## This file is part of the 'sane++' package. +## This package is free software; you can redistribute it and/or modify +## it under the terms of the GNU General Public License as published by +## the Free Software Foundation; either version 2 of the License or, at +## your option, any later version. +## +## This package is distributed in the hope that it will be useful, but +## WITHOUT ANY WARRANTY; without even the implied warranty of FITNESS +## FOR A PARTICULAR PURPOSE or MERCHANTABILITY. +## See the GNU General Public License for more details. +## +## You should have received a verbatim copy of the GNU General Public +## License along with this package; if not, write to: +## +## Free Software Foundation +## 51 Franklin Street, 5th Floor +## Boston, MA 02110-1301 USA +## +## Process this file with automake to produce a Makefile.in file. + + +bin_PROGRAMS = \ + scanimage++ + +scanimage___CPPFLAGS = \ + -I$(top_srcdir)/include +scanimage___LDFLAGS = \ + $(SANEXX_LIBS) +scanimage___SOURCES = \ + scanimage.cc + +SANEXX_LIBS = \ + -L../lib -lsane++ \ + $(SANE_LDFLAGS) $(SANE_LIBADD) Added: trunk/src/scanimage.cc =================================================================== --- trunk/src/scanimage.cc (rev 0) +++ trunk/src/scanimage.cc 2006-02-25 04:43:37 UTC (rev 2) @@ -0,0 +1,36 @@ +// scanimage.cc -- a C++ version of the SANE scanimage(1) frontend +// Copyright (C) 2006 Olaf Meeuwissen +// +// This file is part of the 'sane++' package. +// This package is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License or, at +// your option, any later version. +// +// This package is distributed in the hope that it will be useful, but +// WITHOUT ANY WARRANTY; without even the implied warranty of FITNESS +// FOR A PARTICULAR PURPOSE or MERCHANTABILITY. +// See the GNU General Public License for more details. +// +// You should have received a verbatim copy of the GNU General Public +// License along with this package; if not, write to: +// +// Free Software Foundation +// 51 Franklin Street, 5th Floor +// Boston, MA 02110-1301 USA + + +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + +#include <sane++> + +#include <cstdlib> + + +int +main (int argc, char *argv[]) +{ + return EXIT_SUCCESS; +} Added: trunk/utils/bootstrap =================================================================== --- trunk/utils/bootstrap (rev 0) +++ trunk/utils/bootstrap 2006-02-25 04:43:37 UTC (rev 2) @@ -0,0 +1,24 @@ +#! /bin/sh +# bootstrap -- initial checkout to a state where you can ./configure +# Copyright (C) 2006 Olaf Meeuwissen +# +# This file is part of the 'sane++' package. +# This package is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License or, at +# your option, any later version. +# +# This package is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of FITNESS +# FOR A PARTICULAR PURPOSE or MERCHANTABILITY. +# See the GNU General Public License for more details. +# +# You should have received a verbatim copy of the GNU General Public +# License along with this package; if not, write to: +# +# Free Software Foundation +# 51 Franklin Street, 5th Floor +# Boston, MA 02110-1301 USA + + +autoreconf -i $@ Property changes on: trunk/utils/bootstrap ___________________________________________________________________ Name: svn:executable + * This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |