* Added manually modified header files generated by configure script

under OpenSuSE 10.2.
* Added Jamfiles for building the core of Gutenprint.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39214 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Michael Pfeiffer
2010-10-30 17:26:26 +00:00
parent c8dcb9b31a
commit 5f02100a71
6 changed files with 367 additions and 0 deletions
+1
View File
@@ -1,3 +1,4 @@
SubDir HAIKU_TOP src libs print ;
SubInclude HAIKU_TOP src libs print libgutenprint ;
SubInclude HAIKU_TOP src libs print libprint ;
+3
View File
@@ -0,0 +1,3 @@
SubDir HAIKU_TOP src libs print libgutenprint ;
SubInclude HAIKU_TOP src libs print libgutenprint src ;
+214
View File
@@ -0,0 +1,214 @@
/* config.h. Generated from config.h.in by configure. */
/* config.h.in. Generated from configure.ac by autoheader. */
/* CUPS data directory. */
/* Not used in Haiku */
#define CUPS_DATADIR "/boot/common/data/cups"
/* Not used in Haiku */
#define CUPS_MODELDIR "/boot/common/data/model/gutenprint/5.2/"
/* */
/* Not used in Haiku */
#define CUPS_PPD_NICKNAME_STRING " - CUPS+Gutenprint v"
/* CUPS PPD PostScript level */
/* Not used in Haiku */
#define CUPS_PPD_PS_LEVEL 2
/* Define to 1 if translation of program messages to the user's native
language is requested. */
/* #define ENABLE_NLS 1 */
/* */
#define GUTENPRINT_RELEASE_VERSION "5.2"
/* Define to 1 if you have the MacOS X function CFLocaleCopyCurrent in the
CoreFoundation framework. */
/* #undef HAVE_CFLOCALECOPYCURRENT */
/* Define to 1 if you have the MacOS X function CFPreferencesCopyAppValue in
the CoreFoundation framework. */
/* #undef HAVE_CFPREFERENCESCOPYAPPVALUE */
/* Define if the GNU dcgettext() function is already present or preinstalled.
*/
#define HAVE_DCGETTEXT 1
/* Define to 1 if you have the <dlfcn.h> header file. */
#define HAVE_DLFCN_H 1
/* Define to 1 if you have the <fcntl.h> header file. */
#define HAVE_FCNTL_H 1
/* Define to 1 if GCC special attributes are supported */
#define HAVE_GCC_ATTRIBUTES 1
#if !defined(HAVE_GCC_ATTRIBUTES) && !defined(__attribute__)
/* This should really be a C99 anonymous variadic macro. */
#define __attribute__(attr)
#endif
/* Define to 1 if you have the <getopt.h> header file. */
#define HAVE_GETOPT_H 1
/* Define to 1 if you have the `getopt_long' function. */
#define HAVE_GETOPT_LONG 1
/* Define if the GNU gettext() function is already present or preinstalled. */
#define HAVE_GETTEXT 1
/* Define if GNU ld is present. */
/* #undef HAVE_GNU_LD */
/* Define if you have the iconv() function. */
#define HAVE_ICONV 1
/* Define to 1 if you have the <inttypes.h> header file. */
#define HAVE_INTTYPES_H 1
/* Is libreadline present? */
#define HAVE_LIBREADLINE 0
/* Define if libz is present. */
/* #undef HAVE_LIBZ */
/* Define to 1 if you have the <limits.h> header file. */
#define HAVE_LIMITS_H 1
/* Define to 1 if you have the <locale.h> header file. */
#define HAVE_LOCALE_H 1
/* Define to 1 if you have the <ltdl.h> header file. */
#define HAVE_LTDL_H 1
/* Define if maintainer-mode is to be used. */
/* #undef HAVE_MAINTAINER_MODE */
/* Define to 1 if you have the <memory.h> header file. */
#define HAVE_MEMORY_H 1
/* Define to 1 if you have the `nanosleep' function. */
#define HAVE_NANOSLEEP 1
/* Define to 1 if you have the `poll' function. */
#define HAVE_POLL 1
/* Define if libreadline header is present. */
/* #undef HAVE_READLINE_READLINE_H */
/* Define to 1 if you have the <stdarg.h> header file. */
#define HAVE_STDARG_H 1
/* Define to 1 if you have the <stdint.h> header file. */
#define HAVE_STDINT_H 1
/* Define to 1 if you have the <stdlib.h> header file. */
#define HAVE_STDLIB_H 1
/* Define to 1 if you have the <strings.h> header file. */
#define HAVE_STRINGS_H 1
/* Define to 1 if you have the <string.h> header file. */
#define HAVE_STRING_H 1
/* Define to 1 if you have the <sys/stat.h> header file. */
#define HAVE_SYS_STAT_H 1
/* Define to 1 if you have the <sys/time.h> header file. */
#define HAVE_SYS_TIME_H 1
/* Define to 1 if you have the <sys/types.h> header file. */
#define HAVE_SYS_TYPES_H 1
/* Define to 1 if you have the <time.h> header file. */
#define HAVE_TIME_H 1
/* Define to 1 if you have the <unistd.h> header file. */
#define HAVE_UNISTD_H 1
/* Define to 1 if you have the `usleep' function. */
#define HAVE_USLEEP 1
/* Define to the sub-directory in which libtool stores uninstalled libraries.
*/
#define LT_OBJDIR ".libs/"
/* Build a modular libgutenprint */
/* #undef MODULE */
/* Define to 1 if your C compiler doesn't accept -c and -o together. */
/* #undef NO_MINUS_C_MINUS_O */
/* The operating system to build for */
#define OSTYPE "haiku"
/* Name of package */
#define PACKAGE "gutenprint"
/* Define to the address where bug reports for this package should be sent. */
#define PACKAGE_BUGREPORT "[email protected]"
/* */
#define PACKAGE_DATA_DIR "/boot/common/data/gutenprint"
/* */
#define PACKAGE_LIB_DIR "/boot/common/lib/gutenprint"
/* */
#define PACKAGE_LOCALE_DIR "/NOT_USED/locale"
/* Define to the full name of this package. */
#define PACKAGE_NAME "gutenprint"
/* Define to the full name and version of this package. */
#define PACKAGE_STRING "gutenprint 5.2.6"
/* Define to the one symbol short name of this package. */
#define PACKAGE_TARNAME "gutenprint"
/* Define to the version of this package. */
#define PACKAGE_VERSION "5.2.6"
/* */
#define PKGMODULEDIR "/boot/common/lib/gutenprint/5.2/modules"
/* */
#define PKGXMLDATADIR "/boot/common/data/gutenprint"
/* Package release date. */
#define RELEASE_DATE "10 Aug 2010"
/* Define as the return type of signal handlers (`int' or `void'). */
#define RETSIGTYPE void
/* Define to 1 if you have the ANSI C header files. */
#define STDC_HEADERS 1
/* Use libdl/dlopen as module loader */
/* #undef USE_DLOPEN */
/* Use GNU libltdl as module loader */
/* #undef USE_LTDL */
/* Version number of package */
#define VERSION "5.2.6"
/* Define to 1 if `lex' declares `yytext' as a `char *' by default, not a
`char[]'. */
#define YYTEXT_POINTER 1
/* Define to empty if `const' does not conform to ANSI C. */
/* #undef const */
/* Define to `__inline__' or `__inline' if that's what the C compiler
calls it, or to nothing if 'inline' is not supported under any name. */
#ifndef __cplusplus
/* #undef inline */
#endif
/* Define to `long int' if <sys/types.h> does not define. */
/* #undef off_t */
/* Define to `unsigned int' if <sys/types.h> does not define. */
/* #undef size_t */
@@ -0,0 +1,90 @@
/* -*- Mode: C -*-
* $Id: gutenprint-version.h.in,v 1.1 2004/09/17 18:38:01 rleigh Exp $
*
* Version of Gimp-print
*
* Copyright 2002 Robert Krawitz ([email protected])
*
* This program 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 program is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
* or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*
* Revision History:
*
* See ChangeLog
*/
/**
* @file gutenprint-version.h
* @brief Version functions.
*/
#ifndef GUTENPRINT_VERSION_H
#define GUTENPRINT_VERSION_H
/**
* Version information. Version information may be used to check the
* library version at compile-time, using macros, or at run-time,
* using constants.
*
* @defgroup version version
* @{
*/
/*
* Autogen-time versioning.
*/
#define STP_MAJOR_VERSION (5)
#define STP_MINOR_VERSION (2)
#define STP_MICRO_VERSION (6)
#define STP_CURRENT_INTERFACE (2)
#define STP_BINARY_AGE (0)
#define STP_INTERFACE_AGE (7)
#define STP_CHECK_VERSION(major,minor,micro) \
(STP_MAJOR_VERSION > (major) || \
(STP_MAJOR_VERSION == (major) && \
STP_MINOR_VERSION > (minor)) || \
(STP_MAJOR_VERSION == (major) && \
STP_MINOR_VERSION == (minor) && \
STP_MICRO_VERSION >= (micro)))
/** The library major version number. */
extern const unsigned int stp_major_version;
/** The library minor version number. */
extern const unsigned int stp_minor_version;
/** The library micro version number. */
extern const unsigned int stp_micro_version;
/** The library ABI revision number (number of incompatible revisions). */
extern const unsigned int stp_current_interface;
/** The library ABI binary age number (number of forward-compatible revisions). */
extern const unsigned int stp_binary_age;
/** The library ABI interface age number (number of revisions of this ABI). */
extern const unsigned int stp_interface_age;
/**
* Check whether the library provides the requested version.
* @param required_major the minimum major revision.
* @param required_minor the minimum minor revision.
* @param required_micro the minimum micro revision.
* @returns NULL if the version matches, or else a description of the
* error if the library is too old or too new.
*/
extern const char *stp_check_version(unsigned int required_major,
unsigned int required_minor,
unsigned int required_micro);
/** @} */
#endif /* GUTENPRINT_VERSION_H */
+3
View File
@@ -0,0 +1,3 @@
SubDir HAIKU_TOP src libs print libgutenprint src ;
SubInclude HAIKU_TOP src libs print libgutenprint src main ;
@@ -0,0 +1,56 @@
SubDir HAIKU_TOP src libs print libgutenprint src main ;
# for config.h:
SubDirSysHdrs [ FDirName $(HAIKU_TOP) src libs print libgutenprint ] ;
SubDirSysHdrs [ FDirName $(HAIKU_TOP) src libs print libgutenprint include ] ;
DEFINES += HAVE_CONFIG_H=1 ;
StaticLibrary libgutenprint.a :
array.c
bit-ops.c
channel.c
color.c
curve.c
curve-cache.c
dither-ed.c
dither-eventone.c
dither-inks.c
dither-main.c
dither-ordered.c
dither-very-fast.c
dither-predithered.c
generic-options.c
image.c buffer-image.c
module.c path.c
print-dither-matrices.c
print-list.c
print-papers.c
print-util.c
print-vars.c
print-version.c
print-weave.c
printers.c
sequence.c
string-list.c
xml.c
mxml-attr.c
mxml-file.c
mxml-node.c
mxml-search.c
print-color.c
color-conversions.c
print-canon.c
print-escp2.c
escp2-driver.c
print-escp2-data.c
escp2-channels.c
escp2-papers.c
escp2-resolutions.c
print-lexmark.c
print-pcl.c
print-ps.c
xmlppd.c
print-olympus.c
print-raw.c
;