pax_global_header00006660000000000000000000000064114012523250014505gustar00rootroot0000000000000052 comment=3cd67b4b4a2cd7eb2d7f37a36da60f37e9c9c994 passepartout-0.7.1/000077500000000000000000000000001140125232500142445ustar00rootroot00000000000000passepartout-0.7.1/AUTHORS000066400000000000000000000004601140125232500153140ustar00rootroot00000000000000Maintainers ------- Fredrik Arnerup Rasmus Kaj Contributors ------------ Sergej Gratchev - prefs dialog, gui work Ayose Cazorla León - threading bugfix Gaudenz Steinlin - man pages Magnus Henoch - postscript landscape mode bugfix Emissionen - being guinea pigs :-) passepartout-0.7.1/BUGS000066400000000000000000000007171140125232500147340ustar00rootroot00000000000000Oh my, where shall I start? * Text frames are not always updated properly. * The fake transparency may not be completely reliable on all systems, but it can be turned off by setting FakeTransparency to false in "/.pptout (maybe this doesn't matter so much now that ghostscript can give us true transparancy and antialiasing). * If you have more than one view of a document and you create a new page, all views may not be updated. ... and probably a lot more. passepartout-0.7.1/COPYING000066400000000000000000000024471140125232500153060ustar00rootroot00000000000000Copyright (c) 2002 - 2004, Fredrik Arnerup & Rasmus Kaj All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. THIS SOFTWARE IS PROVIDED BY FREDRIK ARNERUP AND RASMUS KAJ "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. passepartout-0.7.1/Doxyfile000066400000000000000000001270641140125232500157640ustar00rootroot00000000000000# Doxyfile 1.3.3 # This file describes the settings to be used by the documentation system # doxygen (www.doxygen.org) for a project # # All text after a hash (#) is considered a comment and will be ignored # The format is: # TAG = value [value, ...] # For lists items can also be appended using: # TAG += value [value, ...] # Values that contain spaces should be placed between quotes (" ") #--------------------------------------------------------------------------- # General configuration options #--------------------------------------------------------------------------- # The PROJECT_NAME tag is a single word (or a sequence of words surrounded # by quotes) that should identify the project. PROJECT_NAME = Passepartout # The PROJECT_NUMBER tag can be used to enter a project or revision number. # This could be handy for archiving the generated documentation or # if some version control system is used. PROJECT_NUMBER = # The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute) # base path where the generated documentation will be put. # If a relative path is entered, it will be relative to the location # where doxygen was started. If left blank the current directory will be used. OUTPUT_DIRECTORY = doc/doxygen # The OUTPUT_LANGUAGE tag is used to specify the language in which all # documentation generated by doxygen is written. Doxygen will use this # information to generate all constant output in the proper language. # The default language is English, other supported languages are: # Brazilian, Catalan, Chinese, Chinese-Traditional, Croatian, Czech, Danish, Dutch, # Finnish, French, German, Greek, Hungarian, Italian, Japanese, Japanese-en # (Japanese with English messages), Korean, Norwegian, Polish, Portuguese, # Romanian, Russian, Serbian, Slovak, Slovene, Spanish, Swedish, and Ukrainian. OUTPUT_LANGUAGE = English # This tag can be used to specify the encoding used in the generated output. # The encoding is not always determined by the language that is chosen, # but also whether or not the output is meant for Windows or non-Windows users. # In case there is a difference, setting the USE_WINDOWS_ENCODING tag to YES # forces the Windows encoding (this is the default for the Windows binary), # whereas setting the tag to NO uses a Unix-style encoding (the default for # all platforms other than Windows). USE_WINDOWS_ENCODING = NO # If the EXTRACT_ALL tag is set to YES doxygen will assume all entities in # documentation are documented, even if no documentation was available. # Private class members and static file members will be hidden unless # the EXTRACT_PRIVATE and EXTRACT_STATIC tags are set to YES EXTRACT_ALL = YES # If the EXTRACT_PRIVATE tag is set to YES all private members of a class # will be included in the documentation. EXTRACT_PRIVATE = NO # If the EXTRACT_STATIC tag is set to YES all static members of a file # will be included in the documentation. EXTRACT_STATIC = YES # If the EXTRACT_LOCAL_CLASSES tag is set to YES classes (and structs) # defined locally in source files will be included in the documentation. # If set to NO only classes defined in header files are included. EXTRACT_LOCAL_CLASSES = YES # If the HIDE_UNDOC_MEMBERS tag is set to YES, Doxygen will hide all # undocumented members of documented classes, files or namespaces. # If set to NO (the default) these members will be included in the # various overviews, but no documentation section is generated. # This option has no effect if EXTRACT_ALL is enabled. HIDE_UNDOC_MEMBERS = NO # If the HIDE_UNDOC_CLASSES tag is set to YES, Doxygen will hide all # undocumented classes that are normally visible in the class hierarchy. # If set to NO (the default) these classes will be included in the various # overviews. This option has no effect if EXTRACT_ALL is enabled. HIDE_UNDOC_CLASSES = NO # If the HIDE_FRIEND_COMPOUNDS tag is set to YES, Doxygen will hide all # friend (class|struct|union) declarations. # If set to NO (the default) these declarations will be included in the # documentation. HIDE_FRIEND_COMPOUNDS = NO # If the HIDE_IN_BODY_DOCS tag is set to YES, Doxygen will hide any # documentation blocks found inside the body of a function. # If set to NO (the default) these blocks will be appended to the # function's detailed documentation block. HIDE_IN_BODY_DOCS = NO # If the BRIEF_MEMBER_DESC tag is set to YES (the default) Doxygen will # include brief member descriptions after the members that are listed in # the file and class documentation (similar to JavaDoc). # Set to NO to disable this. BRIEF_MEMBER_DESC = YES # If the REPEAT_BRIEF tag is set to YES (the default) Doxygen will prepend # the brief description of a member or function before the detailed description. # Note: if both HIDE_UNDOC_MEMBERS and BRIEF_MEMBER_DESC are set to NO, the # brief descriptions will be completely suppressed. REPEAT_BRIEF = YES # If the ALWAYS_DETAILED_SEC and REPEAT_BRIEF tags are both set to YES then # Doxygen will generate a detailed section even if there is only a brief # description. ALWAYS_DETAILED_SEC = NO # If the INLINE_INHERITED_MEMB tag is set to YES, doxygen will show all inherited # members of a class in the documentation of that class as if those members were # ordinary class members. Constructors, destructors and assignment operators of # the base classes will not be shown. INLINE_INHERITED_MEMB = NO # If the FULL_PATH_NAMES tag is set to YES then Doxygen will prepend the full # path before files name in the file list and in the header files. If set # to NO the shortest path that makes the file name unique will be used. FULL_PATH_NAMES = NO # If the FULL_PATH_NAMES tag is set to YES then the STRIP_FROM_PATH tag # can be used to strip a user-defined part of the path. Stripping is # only done if one of the specified strings matches the left-hand part of # the path. It is allowed to use relative paths in the argument list. STRIP_FROM_PATH = # The INTERNAL_DOCS tag determines if documentation # that is typed after a \internal command is included. If the tag is set # to NO (the default) then the documentation will be excluded. # Set it to YES to include the internal documentation. INTERNAL_DOCS = NO # If the CASE_SENSE_NAMES tag is set to NO then Doxygen will only generate # file names in lower-case letters. If set to YES upper-case letters are also # allowed. This is useful if you have classes or files whose names only differ # in case and if your file system supports case sensitive file names. Windows # users are advised to set this option to NO. CASE_SENSE_NAMES = YES # If the SHORT_NAMES tag is set to YES, doxygen will generate much shorter # (but less readable) file names. This can be useful is your file systems # doesn't support long names like on DOS, Mac, or CD-ROM. SHORT_NAMES = NO # If the HIDE_SCOPE_NAMES tag is set to NO (the default) then Doxygen # will show members with their full class and namespace scopes in the # documentation. If set to YES the scope will be hidden. HIDE_SCOPE_NAMES = NO # If the SHOW_INCLUDE_FILES tag is set to YES (the default) then Doxygen # will put a list of the files that are included by a file in the documentation # of that file. SHOW_INCLUDE_FILES = YES # If the JAVADOC_AUTOBRIEF tag is set to YES then Doxygen # will interpret the first line (until the first dot) of a JavaDoc-style # comment as the brief description. If set to NO, the JavaDoc # comments will behave just like the Qt-style comments (thus requiring an # explict @brief command for a brief description. JAVADOC_AUTOBRIEF = YES # The MULTILINE_CPP_IS_BRIEF tag can be set to YES to make Doxygen # treat a multi-line C++ special comment block (i.e. a block of //! or /// # comments) as a brief description. This used to be the default behaviour. # The new default is to treat a multi-line C++ comment block as a detailed # description. Set this tag to YES if you prefer the old behaviour instead. MULTILINE_CPP_IS_BRIEF = NO # If the DETAILS_AT_TOP tag is set to YES then Doxygen # will output the detailed description near the top, like JavaDoc. # If set to NO, the detailed description appears after the member # documentation. DETAILS_AT_TOP = NO # If the INHERIT_DOCS tag is set to YES (the default) then an undocumented # member inherits the documentation from any documented member that it # reimplements. INHERIT_DOCS = YES # If the INLINE_INFO tag is set to YES (the default) then a tag [inline] # is inserted in the documentation for inline members. INLINE_INFO = YES # If the SORT_MEMBER_DOCS tag is set to YES (the default) then doxygen # will sort the (detailed) documentation of file and class members # alphabetically by member name. If set to NO the members will appear in # declaration order. SORT_MEMBER_DOCS = YES # If member grouping is used in the documentation and the DISTRIBUTE_GROUP_DOC # tag is set to YES, then doxygen will reuse the documentation of the first # member in the group (if any) for the other members of the group. By default # all members of a group must be documented explicitly. DISTRIBUTE_GROUP_DOC = NO # The TAB_SIZE tag can be used to set the number of spaces in a tab. # Doxygen uses this value to replace tabs by spaces in code fragments. TAB_SIZE = 8 # The GENERATE_TODOLIST tag can be used to enable (YES) or # disable (NO) the todo list. This list is created by putting \todo # commands in the documentation. GENERATE_TODOLIST = YES # The GENERATE_TESTLIST tag can be used to enable (YES) or # disable (NO) the test list. This list is created by putting \test # commands in the documentation. GENERATE_TESTLIST = YES # The GENERATE_BUGLIST tag can be used to enable (YES) or # disable (NO) the bug list. This list is created by putting \bug # commands in the documentation. GENERATE_BUGLIST = YES # The GENERATE_DEPRECATEDLIST tag can be used to enable (YES) or # disable (NO) the deprecated list. This list is created by putting # \deprecated commands in the documentation. GENERATE_DEPRECATEDLIST= YES # This tag can be used to specify a number of aliases that acts # as commands in the documentation. An alias has the form "name=value". # For example adding "sideeffect=\par Side Effects:\n" will allow you to # put the command \sideeffect (or @sideeffect) in the documentation, which # will result in a user-defined paragraph with heading "Side Effects:". # You can put \n's in the value part of an alias to insert newlines. ALIASES = # The ENABLED_SECTIONS tag can be used to enable conditional # documentation sections, marked by \if sectionname ... \endif. ENABLED_SECTIONS = # The MAX_INITIALIZER_LINES tag determines the maximum number of lines # the initial value of a variable or define consists of for it to appear in # the documentation. If the initializer consists of more lines than specified # here it will be hidden. Use a value of 0 to hide initializers completely. # The appearance of the initializer of individual variables and defines in the # documentation can be controlled using \showinitializer or \hideinitializer # command in the documentation regardless of this setting. MAX_INITIALIZER_LINES = 30 # Set the OPTIMIZE_OUTPUT_FOR_C tag to YES if your project consists of C sources # only. Doxygen will then generate output that is more tailored for C. # For instance, some of the names that are used will be different. The list # of all members will be omitted, etc. OPTIMIZE_OUTPUT_FOR_C = NO # Set the OPTIMIZE_OUTPUT_JAVA tag to YES if your project consists of Java sources # only. Doxygen will then generate output that is more tailored for Java. # For instance, namespaces will be presented as packages, qualified scopes # will look different, etc. OPTIMIZE_OUTPUT_JAVA = NO # Set the SHOW_USED_FILES tag to NO to disable the list of files generated # at the bottom of the documentation of classes and structs. If set to YES the # list will mention the files that were used to generate the documentation. SHOW_USED_FILES = YES # Set the SUBGROUPING tag to YES (the default) to allow class member groups of # the same type (for instance a group of public functions) to be put as a # subgroup of that type (e.g. under the Public Functions section). Set it to # NO to prevent subgrouping. Alternatively, this can be done per class using # the \nosubgrouping command. SUBGROUPING = YES #--------------------------------------------------------------------------- # configuration options related to warning and progress messages #--------------------------------------------------------------------------- # The QUIET tag can be used to turn on/off the messages that are generated # by doxygen. Possible values are YES and NO. If left blank NO is used. QUIET = YES # The WARNINGS tag can be used to turn on/off the warning messages that are # generated by doxygen. Possible values are YES and NO. If left blank # NO is used. WARNINGS = YES # If WARN_IF_UNDOCUMENTED is set to YES, then doxygen will generate warnings # for undocumented members. If EXTRACT_ALL is set to YES then this flag will # automatically be disabled. WARN_IF_UNDOCUMENTED = YES # If WARN_IF_DOC_ERROR is set to YES, doxygen will generate warnings for # potential errors in the documentation, such as not documenting some # parameters in a documented function, or documenting parameters that # don't exist or using markup commands wrongly. WARN_IF_DOC_ERROR = YES # The WARN_FORMAT tag determines the format of the warning messages that # doxygen can produce. The string should contain the $file, $line, and $text # tags, which will be replaced by the file and line number from which the # warning originated and the warning text. WARN_FORMAT = "$file:$line: $text" # The WARN_LOGFILE tag can be used to specify a file to which warning # and error messages should be written. If left blank the output is written # to stderr. WARN_LOGFILE = #--------------------------------------------------------------------------- # configuration options related to the input files #--------------------------------------------------------------------------- # The INPUT tag can be used to specify the files and/or directories that contain # documented source files. You may enter file names like "myfile.cpp" or # directories like "/usr/src/myproject". Separate the files or directories # with spaces. INPUT = src # If the value of the INPUT tag contains directories, you can use the # FILE_PATTERNS tag to specify one or more wildcard pattern (like *.cpp # and *.h) to filter out the source-files in the directories. If left # blank the following patterns are tested: # *.c *.cc *.cxx *.cpp *.c++ *.java *.ii *.ixx *.ipp *.i++ *.inl *.h *.hh *.hxx *.hpp # *.h++ *.idl *.odl *.cs FILE_PATTERNS = *.cc *.h *.hh # The RECURSIVE tag can be used to turn specify whether or not subdirectories # should be searched for input files as well. Possible values are YES and NO. # If left blank NO is used. RECURSIVE = YES # The EXCLUDE tag can be used to specify files and/or directories that should # excluded from the INPUT source files. This way you can easily exclude a # subdirectory from a directory tree whose root is specified with the INPUT tag. EXCLUDE = # The EXCLUDE_SYMLINKS tag can be used select whether or not files or directories # that are symbolic links (a Unix filesystem feature) are excluded from the input. EXCLUDE_SYMLINKS = NO # If the value of the INPUT tag contains directories, you can use the # EXCLUDE_PATTERNS tag to specify one or more wildcard patterns to exclude # certain files from those directories. EXCLUDE_PATTERNS = # The EXAMPLE_PATH tag can be used to specify one or more files or # directories that contain example code fragments that are included (see # the \include command). EXAMPLE_PATH = # If the value of the EXAMPLE_PATH tag contains directories, you can use the # EXAMPLE_PATTERNS tag to specify one or more wildcard pattern (like *.cpp # and *.h) to filter out the source-files in the directories. If left # blank all files are included. EXAMPLE_PATTERNS = # If the EXAMPLE_RECURSIVE tag is set to YES then subdirectories will be # searched for input files to be used with the \include or \dontinclude # commands irrespective of the value of the RECURSIVE tag. # Possible values are YES and NO. If left blank NO is used. EXAMPLE_RECURSIVE = NO # The IMAGE_PATH tag can be used to specify one or more files or # directories that contain image that are included in the documentation (see # the \image command). IMAGE_PATH = # The INPUT_FILTER tag can be used to specify a program that doxygen should # invoke to filter for each input file. Doxygen will invoke the filter program # by executing (via popen()) the command , where # is the value of the INPUT_FILTER tag, and is the name of an # input file. Doxygen will then use the output that the filter program writes # to standard output. INPUT_FILTER = # If the FILTER_SOURCE_FILES tag is set to YES, the input filter (if set using # INPUT_FILTER) will be used to filter the input files when producing source # files to browse (i.e. when SOURCE_BROWSER is set to YES). FILTER_SOURCE_FILES = NO #--------------------------------------------------------------------------- # configuration options related to source browsing #--------------------------------------------------------------------------- # If the SOURCE_BROWSER tag is set to YES then a list of source files will # be generated. Documented entities will be cross-referenced with these sources. SOURCE_BROWSER = NO # Setting the INLINE_SOURCES tag to YES will include the body # of functions and classes directly in the documentation. INLINE_SOURCES = NO # Setting the STRIP_CODE_COMMENTS tag to YES (the default) will instruct # doxygen to hide any special comment blocks from generated source code # fragments. Normal C and C++ comments will always remain visible. STRIP_CODE_COMMENTS = YES # If the REFERENCED_BY_RELATION tag is set to YES (the default) # then for each documented function all documented # functions referencing it will be listed. REFERENCED_BY_RELATION = YES # If the REFERENCES_RELATION tag is set to YES (the default) # then for each documented function all documented entities # called/used by that function will be listed. REFERENCES_RELATION = YES # If the VERBATIM_HEADERS tag is set to YES (the default) then Doxygen # will generate a verbatim copy of the header file for each class for # which an include is specified. Set to NO to disable this. VERBATIM_HEADERS = YES #--------------------------------------------------------------------------- # configuration options related to the alphabetical class index #--------------------------------------------------------------------------- # If the ALPHABETICAL_INDEX tag is set to YES, an alphabetical index # of all compounds will be generated. Enable this if the project # contains a lot of classes, structs, unions or interfaces. ALPHABETICAL_INDEX = NO # If the alphabetical index is enabled (see ALPHABETICAL_INDEX) then # the COLS_IN_ALPHA_INDEX tag can be used to specify the number of columns # in which this list will be split (can be a number in the range [1..20]) COLS_IN_ALPHA_INDEX = 5 # In case all classes in a project start with a common prefix, all # classes will be put under the same header in the alphabetical index. # The IGNORE_PREFIX tag can be used to specify one or more prefixes that # should be ignored while generating the index headers. IGNORE_PREFIX = #--------------------------------------------------------------------------- # configuration options related to the HTML output #--------------------------------------------------------------------------- # If the GENERATE_HTML tag is set to YES (the default) Doxygen will # generate HTML output. GENERATE_HTML = YES # The HTML_OUTPUT tag is used to specify where the HTML docs will be put. # If a relative path is entered the value of OUTPUT_DIRECTORY will be # put in front of it. If left blank `html' will be used as the default path. HTML_OUTPUT = html # The HTML_FILE_EXTENSION tag can be used to specify the file extension for # each generated HTML page (for example: .htm,.php,.asp). If it is left blank # doxygen will generate files with .html extension. HTML_FILE_EXTENSION = .html # The HTML_HEADER tag can be used to specify a personal HTML header for # each generated HTML page. If it is left blank doxygen will generate a # standard header. HTML_HEADER = # The HTML_FOOTER tag can be used to specify a personal HTML footer for # each generated HTML page. If it is left blank doxygen will generate a # standard footer. HTML_FOOTER = # The HTML_STYLESHEET tag can be used to specify a user-defined cascading # style sheet that is used by each HTML page. It can be used to # fine-tune the look of the HTML output. If the tag is left blank doxygen # will generate a default style sheet HTML_STYLESHEET = # If the HTML_ALIGN_MEMBERS tag is set to YES, the members of classes, # files or namespaces will be aligned in HTML using tables. If set to # NO a bullet list will be used. HTML_ALIGN_MEMBERS = YES # If the GENERATE_HTMLHELP tag is set to YES, additional index files # will be generated that can be used as input for tools like the # Microsoft HTML help workshop to generate a compressed HTML help file (.chm) # of the generated HTML documentation. GENERATE_HTMLHELP = NO # If the GENERATE_HTMLHELP tag is set to YES, the CHM_FILE tag can # be used to specify the file name of the resulting .chm file. You # can add a path in front of the file if the result should not be # written to the html output dir. CHM_FILE = # If the GENERATE_HTMLHELP tag is set to YES, the HHC_LOCATION tag can # be used to specify the location (absolute path including file name) of # the HTML help compiler (hhc.exe). If non-empty doxygen will try to run # the HTML help compiler on the generated index.hhp. HHC_LOCATION = # If the GENERATE_HTMLHELP tag is set to YES, the GENERATE_CHI flag # controls if a separate .chi index file is generated (YES) or that # it should be included in the master .chm file (NO). GENERATE_CHI = NO # If the GENERATE_HTMLHELP tag is set to YES, the BINARY_TOC flag # controls whether a binary table of contents is generated (YES) or a # normal table of contents (NO) in the .chm file. BINARY_TOC = NO # The TOC_EXPAND flag can be set to YES to add extra items for group members # to the contents of the HTML help documentation and to the tree view. TOC_EXPAND = NO # The DISABLE_INDEX tag can be used to turn on/off the condensed index at # top of each HTML page. The value NO (the default) enables the index and # the value YES disables it. DISABLE_INDEX = NO # This tag can be used to set the number of enum values (range [1..20]) # that doxygen will group on one line in the generated HTML documentation. ENUM_VALUES_PER_LINE = 4 # If the GENERATE_TREEVIEW tag is set to YES, a side panel will be # generated containing a tree-like index structure (just like the one that # is generated for HTML Help). For this to work a browser that supports # JavaScript, DHTML, CSS and frames is required (for instance Mozilla 1.0+, # Netscape 6.0+, Internet explorer 5.0+, or Konqueror). Windows users are # probably better off using the HTML help feature. GENERATE_TREEVIEW = NO # If the treeview is enabled (see GENERATE_TREEVIEW) then this tag can be # used to set the initial width (in pixels) of the frame in which the tree # is shown. TREEVIEW_WIDTH = 250 #--------------------------------------------------------------------------- # configuration options related to the LaTeX output #--------------------------------------------------------------------------- # If the GENERATE_LATEX tag is set to YES (the default) Doxygen will # generate Latex output. GENERATE_LATEX = NO # The LATEX_OUTPUT tag is used to specify where the LaTeX docs will be put. # If a relative path is entered the value of OUTPUT_DIRECTORY will be # put in front of it. If left blank `latex' will be used as the default path. LATEX_OUTPUT = latex # The LATEX_CMD_NAME tag can be used to specify the LaTeX command name to be # invoked. If left blank `latex' will be used as the default command name. LATEX_CMD_NAME = latex # The MAKEINDEX_CMD_NAME tag can be used to specify the command name to # generate index for LaTeX. If left blank `makeindex' will be used as the # default command name. MAKEINDEX_CMD_NAME = makeindex # If the COMPACT_LATEX tag is set to YES Doxygen generates more compact # LaTeX documents. This may be useful for small projects and may help to # save some trees in general. COMPACT_LATEX = NO # The PAPER_TYPE tag can be used to set the paper type that is used # by the printer. Possible values are: a4, a4wide, letter, legal and # executive. If left blank a4wide will be used. PAPER_TYPE = a4wide # The EXTRA_PACKAGES tag can be to specify one or more names of LaTeX # packages that should be included in the LaTeX output. EXTRA_PACKAGES = # The LATEX_HEADER tag can be used to specify a personal LaTeX header for # the generated latex document. The header should contain everything until # the first chapter. If it is left blank doxygen will generate a # standard header. Notice: only use this tag if you know what you are doing! LATEX_HEADER = # If the PDF_HYPERLINKS tag is set to YES, the LaTeX that is generated # is prepared for conversion to pdf (using ps2pdf). The pdf file will # contain links (just like the HTML output) instead of page references # This makes the output suitable for online browsing using a pdf viewer. PDF_HYPERLINKS = NO # If the USE_PDFLATEX tag is set to YES, pdflatex will be used instead of # plain latex in the generated Makefile. Set this option to YES to get a # higher quality PDF documentation. USE_PDFLATEX = NO # If the LATEX_BATCHMODE tag is set to YES, doxygen will add the \\batchmode. # command to the generated LaTeX files. This will instruct LaTeX to keep # running if errors occur, instead of asking the user for help. # This option is also used when generating formulas in HTML. LATEX_BATCHMODE = NO # If LATEX_HIDE_INDICES is set to YES then doxygen will not # include the index chapters (such as File Index, Compound Index, etc.) # in the output. LATEX_HIDE_INDICES = NO #--------------------------------------------------------------------------- # configuration options related to the RTF output #--------------------------------------------------------------------------- # If the GENERATE_RTF tag is set to YES Doxygen will generate RTF output # The RTF output is optimised for Word 97 and may not look very pretty with # other RTF readers or editors. GENERATE_RTF = NO # The RTF_OUTPUT tag is used to specify where the RTF docs will be put. # If a relative path is entered the value of OUTPUT_DIRECTORY will be # put in front of it. If left blank `rtf' will be used as the default path. RTF_OUTPUT = rtf # If the COMPACT_RTF tag is set to YES Doxygen generates more compact # RTF documents. This may be useful for small projects and may help to # save some trees in general. COMPACT_RTF = NO # If the RTF_HYPERLINKS tag is set to YES, the RTF that is generated # will contain hyperlink fields. The RTF file will # contain links (just like the HTML output) instead of page references. # This makes the output suitable for online browsing using WORD or other # programs which support those fields. # Note: wordpad (write) and others do not support links. RTF_HYPERLINKS = NO # Load stylesheet definitions from file. Syntax is similar to doxygen's # config file, i.e. a series of assigments. You only have to provide # replacements, missing definitions are set to their default value. RTF_STYLESHEET_FILE = # Set optional variables used in the generation of an rtf document. # Syntax is similar to doxygen's config file. RTF_EXTENSIONS_FILE = #--------------------------------------------------------------------------- # configuration options related to the man page output #--------------------------------------------------------------------------- # If the GENERATE_MAN tag is set to YES (the default) Doxygen will # generate man pages GENERATE_MAN = NO # The MAN_OUTPUT tag is used to specify where the man pages will be put. # If a relative path is entered the value of OUTPUT_DIRECTORY will be # put in front of it. If left blank `man' will be used as the default path. MAN_OUTPUT = man # The MAN_EXTENSION tag determines the extension that is added to # the generated man pages (default is the subroutine's section .3) MAN_EXTENSION = .3 # If the MAN_LINKS tag is set to YES and Doxygen generates man output, # then it will generate one additional man file for each entity # documented in the real man page(s). These additional files # only source the real man page, but without them the man command # would be unable to find the correct page. The default is NO. MAN_LINKS = NO #--------------------------------------------------------------------------- # configuration options related to the XML output #--------------------------------------------------------------------------- # If the GENERATE_XML tag is set to YES Doxygen will # generate an XML file that captures the structure of # the code including all documentation. Note that this # feature is still experimental and incomplete at the # moment. GENERATE_XML = NO # The XML_OUTPUT tag is used to specify where the XML pages will be put. # If a relative path is entered the value of OUTPUT_DIRECTORY will be # put in front of it. If left blank `xml' will be used as the default path. XML_OUTPUT = xml # The XML_SCHEMA tag can be used to specify an XML schema, # which can be used by a validating XML parser to check the # syntax of the XML files. XML_SCHEMA = # The XML_DTD tag can be used to specify an XML DTD, # which can be used by a validating XML parser to check the # syntax of the XML files. XML_DTD = #--------------------------------------------------------------------------- # configuration options for the AutoGen Definitions output #--------------------------------------------------------------------------- # If the GENERATE_AUTOGEN_DEF tag is set to YES Doxygen will # generate an AutoGen Definitions (see autogen.sf.net) file # that captures the structure of the code including all # documentation. Note that this feature is still experimental # and incomplete at the moment. GENERATE_AUTOGEN_DEF = NO #--------------------------------------------------------------------------- # configuration options related to the Perl module output #--------------------------------------------------------------------------- # If the GENERATE_PERLMOD tag is set to YES Doxygen will # generate a Perl module file that captures the structure of # the code including all documentation. Note that this # feature is still experimental and incomplete at the # moment. GENERATE_PERLMOD = NO # If the PERLMOD_LATEX tag is set to YES Doxygen will generate # the necessary Makefile rules, Perl scripts and LaTeX code to be able # to generate PDF and DVI output from the Perl module output. PERLMOD_LATEX = NO # If the PERLMOD_PRETTY tag is set to YES the Perl module output will be # nicely formatted so it can be parsed by a human reader. This is useful # if you want to understand what is going on. On the other hand, if this # tag is set to NO the size of the Perl module output will be much smaller # and Perl will parse it just the same. PERLMOD_PRETTY = YES # The names of the make variables in the generated doxyrules.make file # are prefixed with the string contained in PERLMOD_MAKEVAR_PREFIX. # This is useful so different doxyrules.make files included by the same # Makefile don't overwrite each other's variables. PERLMOD_MAKEVAR_PREFIX = #--------------------------------------------------------------------------- # Configuration options related to the preprocessor #--------------------------------------------------------------------------- # If the ENABLE_PREPROCESSING tag is set to YES (the default) Doxygen will # evaluate all C-preprocessor directives found in the sources and include # files. ENABLE_PREPROCESSING = YES # If the MACRO_EXPANSION tag is set to YES Doxygen will expand all macro # names in the source code. If set to NO (the default) only conditional # compilation will be performed. Macro expansion can be done in a controlled # way by setting EXPAND_ONLY_PREDEF to YES. MACRO_EXPANSION = NO # If the EXPAND_ONLY_PREDEF and MACRO_EXPANSION tags are both set to YES # then the macro expansion is limited to the macros specified with the # PREDEFINED and EXPAND_AS_PREDEFINED tags. EXPAND_ONLY_PREDEF = NO # If the SEARCH_INCLUDES tag is set to YES (the default) the includes files # in the INCLUDE_PATH (see below) will be search if a #include is found. SEARCH_INCLUDES = YES # The INCLUDE_PATH tag can be used to specify one or more directories that # contain include files that are not input files but should be processed by # the preprocessor. INCLUDE_PATH = # You can use the INCLUDE_FILE_PATTERNS tag to specify one or more wildcard # patterns (like *.h and *.hpp) to filter out the header-files in the # directories. If left blank, the patterns specified with FILE_PATTERNS will # be used. INCLUDE_FILE_PATTERNS = # The PREDEFINED tag can be used to specify one or more macro names that # are defined before the preprocessor is started (similar to the -D option of # gcc). The argument of the tag is a list of macros of the form: name # or name=definition (no spaces). If the definition and the = are # omitted =1 is assumed. PREDEFINED = # If the MACRO_EXPANSION and EXPAND_ONLY_PREDEF tags are set to YES then # this tag can be used to specify a list of macro names that should be expanded. # The macro definition that is found in the sources will be used. # Use the PREDEFINED tag if you want to use a different macro definition. EXPAND_AS_DEFINED = # If the SKIP_FUNCTION_MACROS tag is set to YES (the default) then # doxygen's preprocessor will remove all function-like macros that are alone # on a line, have an all uppercase name, and do not end with a semicolon. Such # function macros are typically used for boiler-plate code, and will confuse the # parser if not removed. SKIP_FUNCTION_MACROS = YES #--------------------------------------------------------------------------- # Configuration::addtions related to external references #--------------------------------------------------------------------------- # The TAGFILES option can be used to specify one or more tagfiles. # Optionally an initial location of the external documentation # can be added for each tagfile. The format of a tag file without # this location is as follows: # TAGFILES = file1 file2 ... # Adding location for the tag files is done as follows: # TAGFILES = file1=loc1 "file2 = loc2" ... # where "loc1" and "loc2" can be relative or absolute paths or # URLs. If a location is present for each tag, the installdox tool # does not have to be run to correct the links. # Note that each tag file must have a unique name # (where the name does NOT include the path) # If a tag file is not located in the directory in which doxygen # is run, you must also specify the path to the tagfile here. TAGFILES = # When a file name is specified after GENERATE_TAGFILE, doxygen will create # a tag file that is based on the input files it reads. GENERATE_TAGFILE = # If the ALLEXTERNALS tag is set to YES all external classes will be listed # in the class index. If set to NO only the inherited external classes # will be listed. ALLEXTERNALS = NO # If the EXTERNAL_GROUPS tag is set to YES all external groups will be listed # in the modules index. If set to NO, only the current project's groups will # be listed. EXTERNAL_GROUPS = YES # The PERL_PATH should be the absolute path and name of the perl script # interpreter (i.e. the result of `which perl'). PERL_PATH = /usr/bin/perl #--------------------------------------------------------------------------- # Configuration options related to the dot tool #--------------------------------------------------------------------------- # If the CLASS_DIAGRAMS tag is set to YES (the default) Doxygen will # generate a inheritance diagram (in HTML, RTF and LaTeX) for classes with base or # super classes. Setting the tag to NO turns the diagrams off. Note that this # option is superceded by the HAVE_DOT option below. This is only a fallback. It is # recommended to install and use dot, since it yields more powerful graphs. CLASS_DIAGRAMS = YES # If set to YES, the inheritance and collaboration graphs will hide # inheritance and usage relations if the target is undocumented # or is not a class. HIDE_UNDOC_RELATIONS = YES # If you set the HAVE_DOT tag to YES then doxygen will assume the dot tool is # available from the path. This tool is part of Graphviz, a graph visualization # toolkit from AT&T and Lucent Bell Labs. The other options in this section # have no effect if this option is set to NO (the default) HAVE_DOT = YES # If the CLASS_GRAPH and HAVE_DOT tags are set to YES then doxygen # will generate a graph for each documented class showing the direct and # indirect inheritance relations. Setting this tag to YES will force the # the CLASS_DIAGRAMS tag to NO. CLASS_GRAPH = YES # If the COLLABORATION_GRAPH and HAVE_DOT tags are set to YES then doxygen # will generate a graph for each documented class showing the direct and # indirect implementation dependencies (inheritance, containment, and # class references variables) of the class with other documented classes. COLLABORATION_GRAPH = YES # If the UML_LOOK tag is set to YES doxygen will generate inheritance and # collaboration diagrams in a style similiar to the OMG's Unified Modeling # Language. UML_LOOK = NO # If set to YES, the inheritance and collaboration graphs will show the # relations between templates and their instances. TEMPLATE_RELATIONS = NO # If the ENABLE_PREPROCESSING, SEARCH_INCLUDES, INCLUDE_GRAPH, and HAVE_DOT # tags are set to YES then doxygen will generate a graph for each documented # file showing the direct and indirect include dependencies of the file with # other documented files. INCLUDE_GRAPH = YES # If the ENABLE_PREPROCESSING, SEARCH_INCLUDES, INCLUDED_BY_GRAPH, and # HAVE_DOT tags are set to YES then doxygen will generate a graph for each # documented header file showing the documented files that directly or # indirectly include this file. INCLUDED_BY_GRAPH = YES # If the CALL_GRAPH and HAVE_DOT tags are set to YES then doxygen will # generate a call dependency graph for every global function or class method. # Note that enabling this option will significantly increase the time of a run. # So in most cases it will be better to enable call graphs for selected # functions only using the \callgraph command. CALL_GRAPH = NO # If the GRAPHICAL_HIERARCHY and HAVE_DOT tags are set to YES then doxygen # will graphical hierarchy of all classes instead of a textual one. GRAPHICAL_HIERARCHY = YES # The DOT_IMAGE_FORMAT tag can be used to set the image format of the images # generated by dot. Possible values are png, jpg, or gif # If left blank png will be used. DOT_IMAGE_FORMAT = png # The tag DOT_PATH can be used to specify the path where the dot tool can be # found. If left blank, it is assumed the dot tool can be found on the path. DOT_PATH = # The DOTFILE_DIRS tag can be used to specify one or more directories that # contain dot files that are included in the documentation (see the # \dotfile command). DOTFILE_DIRS = # The MAX_DOT_GRAPH_WIDTH tag can be used to set the maximum allowed width # (in pixels) of the graphs generated by dot. If a graph becomes larger than # this value, doxygen will try to truncate the graph, so that it fits within # the specified constraint. Beware that most browsers cannot cope with very # large images. MAX_DOT_GRAPH_WIDTH = 1024 # The MAX_DOT_GRAPH_HEIGHT tag can be used to set the maximum allows height # (in pixels) of the graphs generated by dot. If a graph becomes larger than # this value, doxygen will try to truncate the graph, so that it fits within # the specified constraint. Beware that most browsers cannot cope with very # large images. MAX_DOT_GRAPH_HEIGHT = 1024 # The MAX_DOT_GRAPH_DEPTH tag can be used to set the maximum depth of the # graphs generated by dot. A depth value of 3 means that only nodes reachable # from the root by following a path via at most 3 edges will be shown. Nodes that # lay further from the root node will be omitted. Note that setting this option to # 1 or 2 may greatly reduce the computation time needed for large code bases. Also # note that a graph may be further truncated if the graph's image dimensions are # not sufficient to fit the graph (see MAX_DOT_GRAPH_WIDTH and MAX_DOT_GRAPH_HEIGHT). # If 0 is used for the depth value (the default), the graph is not depth-constrained. MAX_DOT_GRAPH_DEPTH = 0 # If the GENERATE_LEGEND tag is set to YES (the default) Doxygen will # generate a legend page explaining the meaning of the various boxes and # arrows in the dot generated graphs. GENERATE_LEGEND = YES # If the DOT_CLEANUP tag is set to YES (the default) Doxygen will # remove the intermediate dot files that are used to generate # the various graphs. DOT_CLEANUP = YES #--------------------------------------------------------------------------- # Configuration::addtions related to the search engine #--------------------------------------------------------------------------- # The SEARCHENGINE tag specifies whether or not a search engine should be # used. If set to NO the values of all tags below this one will be ignored. SEARCHENGINE = NO # The CGI_NAME tag should be the name of the CGI script that # starts the search engine (doxysearch) with the correct parameters. # A script with this name will be generated by doxygen. CGI_NAME = search.cgi # The CGI_URL tag should be the absolute URL to the directory where the # cgi binaries are located. See the documentation of your http daemon for # details. CGI_URL = # The DOC_URL tag should be the absolute URL to the directory where the # documentation is located. If left blank the absolute path to the # documentation, with file:// prepended to it, will be used. DOC_URL = # The DOC_ABSPATH tag should be the absolute path to the directory where the # documentation is located. If left blank the directory on the local machine # will be used. DOC_ABSPATH = # The BIN_ABSPATH tag must point to the directory where the doxysearch binary # is installed. BIN_ABSPATH = /usr/local/bin/ # The EXT_DOC_PATHS tag can be used to specify one or more paths to # documentation generated for other projects. This allows doxysearch to search # the documentation for these projects as well. EXT_DOC_PATHS = passepartout-0.7.1/INSTALL000066400000000000000000000031301140125232500152720ustar00rootroot00000000000000INSTALLING PASSEPARTOUT ----------------------- Fredrik Arnerup, 16 December 2004 Sven Herzberg, 14 June 2007 Report problems to http://bugzilla.gnome.org/simple-bug-guide.cgi?product=passepartout Passepartout has so far been successfully built on Linux, FreeBSD and Solaris systems. If you have other systems to add to that list, we would very much like to know. We aim to make Passepartout as portable as possible. Requirements ------------ Make sure you have gtkmm-2.4.x, libgnomecanvasmm-2.6.x (http://gtkmm.sourceforge.net), and libxml++ 1.0.x (http://sourceforge.net/projects/libxmlplusplus/) properly installed and that you are using at least gcc-3.2. You will need xsltproc (http://xmlsoft.org/XSLT/xsltproc2.html) and Ghostscript to run Passepartout. The gv postscript viewer is recommended. If you want Gnome support, then you will need libgnome and gnome-vfs. Building and installing ----------------------- You are strongly recommended to apply all patches available (if any) for this release before building Passepartout. If patches exist, they can be downloaded from http://www.stacken.kth.se/project/pptout/files/. Check http://www.stacken.kth.se/project/pptout/items.html for news. ./configure (--with-gnome if you want Gnome support) make make install If GTK+, gtkmm, gdk-pixbuf, libsigc++, libxml2 or libxml++ is installed in a nonstandard location, you may want to run configure as "./configure APPLY_RPATH=1", otherwise the dynamic linker may have trouble finding the libraries. If pkg-config has trouble finding some of the packages, consider setting the PKG_CONFIG_PATH environment variable. passepartout-0.7.1/Makefile.am000066400000000000000000000000671140125232500163030ustar00rootroot00000000000000SUBDIRS = src doc logotype EXTRA_DIST = BUGS Doxyfile passepartout-0.7.1/Makefile.in000066400000000000000000000452771140125232500163300ustar00rootroot00000000000000# Makefile.in generated by automake 1.10.1 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, # 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ VPATH = @srcdir@ pkgdatadir = $(datadir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : subdir = . DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \ $(srcdir)/Makefile.in $(top_srcdir)/configure AUTHORS COPYING \ INSTALL NEWS config.guess config.sub depcomp install-sh \ ltmain.sh missing mkinstalldirs ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \ configure.lineno config.status.lineno mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs CONFIG_HEADER = $(top_builddir)/src/defines.h CONFIG_CLEAN_FILES = SOURCES = DIST_SOURCES = RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \ html-recursive info-recursive install-data-recursive \ install-dvi-recursive install-exec-recursive \ install-html-recursive install-info-recursive \ install-pdf-recursive install-ps-recursive install-recursive \ installcheck-recursive installdirs-recursive pdf-recursive \ ps-recursive uninstall-recursive RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \ distclean-recursive maintainer-clean-recursive ETAGS = etags CTAGS = ctags DIST_SUBDIRS = $(SUBDIRS) DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) distdir = $(PACKAGE)-$(VERSION) top_distdir = $(distdir) am__remove_distdir = \ { test ! -d $(distdir) \ || { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \ && rm -fr $(distdir); }; } DIST_ARCHIVES = $(distdir).tar.gz $(distdir).tar.bz2 GZIP_ENV = --best distuninstallcheck_listfiles = find . -type f -print distcleancheck_listfiles = find . -type f -print ACLOCAL = @ACLOCAL@ AMTAR = @AMTAR@ APPLY_RPATH = @APPLY_RPATH@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CXX = @CXX@ CXXDEPMODE = @CXXDEPMODE@ CXXFLAGS = @CXXFLAGS@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ FREETYPE_CFLAGS = @FREETYPE_CFLAGS@ FREETYPE_LIBS = @FREETYPE_LIBS@ GNOMECANVAS_CFLAGS = @GNOMECANVAS_CFLAGS@ GNOMECANVAS_LIBS = @GNOMECANVAS_LIBS@ GNOMEVFS_CFLAGS = @GNOMEVFS_CFLAGS@ GNOMEVFS_LIBS = @GNOMEVFS_LIBS@ GNOME_CFLAGS = @GNOME_CFLAGS@ GNOME_LIBS = @GNOME_LIBS@ GREP = @GREP@ GTHREAD_CFLAGS = @GTHREAD_CFLAGS@ GTHREAD_LIBS = @GTHREAD_LIBS@ GTKMM_CFLAGS = @GTKMM_CFLAGS@ GTKMM_LIBS = @GTKMM_LIBS@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ LDFLAGS = @LDFLAGS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LTLIBOBJS = @LTLIBOBJS@ MAKEINFO = @MAKEINFO@ MKDIR_P = @MKDIR_P@ OBJEXT = @OBJEXT@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ RANLIB = @RANLIB@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ VERSION = @VERSION@ XMLPP_CFLAGS = @XMLPP_CFLAGS@ XMLPP_LIBS = @XMLPP_LIBS@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ ac_ct_CC = @ac_ct_CC@ ac_ct_CXX = @ac_ct_CXX@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build_alias = @build_alias@ builddir = @builddir@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host_alias = @host_alias@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ xmldir = @xmldir@ SUBDIRS = src doc logotype EXTRA_DIST = BUGS Doxyfile all: all-recursive .SUFFIXES: am--refresh: @: $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ echo ' cd $(srcdir) && $(AUTOMAKE) --foreign '; \ cd $(srcdir) && $(AUTOMAKE) --foreign \ && exit 0; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \ cd $(top_srcdir) && \ $(AUTOMAKE) --foreign Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ echo ' $(SHELL) ./config.status'; \ $(SHELL) ./config.status;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) $(SHELL) ./config.status --recheck $(top_srcdir)/configure: $(am__configure_deps) cd $(srcdir) && $(AUTOCONF) $(ACLOCAL_M4): $(am__aclocal_m4_deps) cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS) # This directory's subdirectories are mostly independent; you can cd # into them and run `make' without going through this Makefile. # To change the values of `make' variables: instead of editing Makefiles, # (1) if the variable is set in `config.status', edit `config.status' # (which will cause the Makefiles to be regenerated when you run `make'); # (2) otherwise, pass the desired values on the `make' command line. $(RECURSIVE_TARGETS): @failcom='exit 1'; \ for f in x $$MAKEFLAGS; do \ case $$f in \ *=* | --[!k]*);; \ *k*) failcom='fail=yes';; \ esac; \ done; \ dot_seen=no; \ target=`echo $@ | sed s/-recursive//`; \ list='$(SUBDIRS)'; for subdir in $$list; do \ echo "Making $$target in $$subdir"; \ if test "$$subdir" = "."; then \ dot_seen=yes; \ local_target="$$target-am"; \ else \ local_target="$$target"; \ fi; \ (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ || eval $$failcom; \ done; \ if test "$$dot_seen" = "no"; then \ $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ fi; test -z "$$fail" $(RECURSIVE_CLEAN_TARGETS): @failcom='exit 1'; \ for f in x $$MAKEFLAGS; do \ case $$f in \ *=* | --[!k]*);; \ *k*) failcom='fail=yes';; \ esac; \ done; \ dot_seen=no; \ case "$@" in \ distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ *) list='$(SUBDIRS)' ;; \ esac; \ rev=''; for subdir in $$list; do \ if test "$$subdir" = "."; then :; else \ rev="$$subdir $$rev"; \ fi; \ done; \ rev="$$rev ."; \ target=`echo $@ | sed s/-recursive//`; \ for subdir in $$rev; do \ echo "Making $$target in $$subdir"; \ if test "$$subdir" = "."; then \ local_target="$$target-am"; \ else \ local_target="$$target"; \ fi; \ (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ || eval $$failcom; \ done && test -z "$$fail" tags-recursive: list='$(SUBDIRS)'; for subdir in $$list; do \ test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \ done ctags-recursive: list='$(SUBDIRS)'; for subdir in $$list; do \ test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \ done ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \ END { if (nonempty) { for (i in files) print i; }; }'`; \ mkid -fID $$unique tags: TAGS TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) tags=; \ here=`pwd`; \ if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ include_option=--etags-include; \ empty_fix=.; \ else \ include_option=--include; \ empty_fix=; \ fi; \ list='$(SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ test ! -f $$subdir/TAGS || \ tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \ fi; \ done; \ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in files) print i; }; }'`; \ if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ $$tags $$unique; \ fi ctags: CTAGS CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) tags=; \ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in files) print i; }; }'`; \ test -z "$(CTAGS_ARGS)$$tags$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$tags $$unique GTAGS: here=`$(am__cd) $(top_builddir) && pwd` \ && cd $(top_srcdir) \ && gtags -i $(GTAGS_ARGS) $$here distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags distdir: $(DISTFILES) $(am__remove_distdir) test -d $(distdir) || mkdir $(distdir) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ fi; \ cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ else \ test -f $(distdir)/$$file \ || cp -p $$d/$$file $(distdir)/$$file \ || exit 1; \ fi; \ done list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ test -d "$(distdir)/$$subdir" \ || $(MKDIR_P) "$(distdir)/$$subdir" \ || exit 1; \ distdir=`$(am__cd) $(distdir) && pwd`; \ top_distdir=`$(am__cd) $(top_distdir) && pwd`; \ (cd $$subdir && \ $(MAKE) $(AM_MAKEFLAGS) \ top_distdir="$$top_distdir" \ distdir="$$distdir/$$subdir" \ am__remove_distdir=: \ am__skip_length_check=: \ distdir) \ || exit 1; \ fi; \ done -find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \ ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \ ! -type d ! -perm -400 -exec chmod a+r {} \; -o \ ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \ || chmod -R a+r $(distdir) dist-gzip: distdir tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz $(am__remove_distdir) dist-bzip2: distdir tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2 $(am__remove_distdir) dist-lzma: distdir tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma $(am__remove_distdir) dist-tarZ: distdir tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z $(am__remove_distdir) dist-shar: distdir shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz $(am__remove_distdir) dist-zip: distdir -rm -f $(distdir).zip zip -rq $(distdir).zip $(distdir) $(am__remove_distdir) dist dist-all: distdir tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2 $(am__remove_distdir) # This target untars the dist file and tries a VPATH configuration. Then # it guarantees that the distribution is self-contained by making another # tarfile. distcheck: dist case '$(DIST_ARCHIVES)' in \ *.tar.gz*) \ GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(am__untar) ;;\ *.tar.bz2*) \ bunzip2 -c $(distdir).tar.bz2 | $(am__untar) ;;\ *.tar.lzma*) \ unlzma -c $(distdir).tar.lzma | $(am__untar) ;;\ *.tar.Z*) \ uncompress -c $(distdir).tar.Z | $(am__untar) ;;\ *.shar.gz*) \ GZIP=$(GZIP_ENV) gunzip -c $(distdir).shar.gz | unshar ;;\ *.zip*) \ unzip $(distdir).zip ;;\ esac chmod -R a-w $(distdir); chmod a+w $(distdir) mkdir $(distdir)/_build mkdir $(distdir)/_inst chmod a-w $(distdir) dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \ && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \ && cd $(distdir)/_build \ && ../configure --srcdir=.. --prefix="$$dc_install_base" \ $(DISTCHECK_CONFIGURE_FLAGS) \ && $(MAKE) $(AM_MAKEFLAGS) \ && $(MAKE) $(AM_MAKEFLAGS) dvi \ && $(MAKE) $(AM_MAKEFLAGS) check \ && $(MAKE) $(AM_MAKEFLAGS) install \ && $(MAKE) $(AM_MAKEFLAGS) installcheck \ && $(MAKE) $(AM_MAKEFLAGS) uninstall \ && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \ distuninstallcheck \ && chmod -R a-w "$$dc_install_base" \ && ({ \ (cd ../.. && umask 077 && mkdir "$$dc_destdir") \ && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \ && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \ && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \ distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \ } || { rm -rf "$$dc_destdir"; exit 1; }) \ && rm -rf "$$dc_destdir" \ && $(MAKE) $(AM_MAKEFLAGS) dist \ && rm -rf $(DIST_ARCHIVES) \ && $(MAKE) $(AM_MAKEFLAGS) distcleancheck $(am__remove_distdir) @(echo "$(distdir) archives ready for distribution: "; \ list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \ sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x' distuninstallcheck: @cd $(distuninstallcheck_dir) \ && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \ || { echo "ERROR: files left after uninstall:" ; \ if test -n "$(DESTDIR)"; then \ echo " (check DESTDIR support)"; \ fi ; \ $(distuninstallcheck_listfiles) ; \ exit 1; } >&2 distcleancheck: distclean @if test '$(srcdir)' = . ; then \ echo "ERROR: distcleancheck can only run from a VPATH build" ; \ exit 1 ; \ fi @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \ || { echo "ERROR: files left in build directory after distclean:" ; \ $(distcleancheck_listfiles) ; \ exit 1; } >&2 check-am: all-am check: check-recursive all-am: Makefile installdirs: installdirs-recursive installdirs-am: install: install-recursive install-exec: install-exec-recursive install-data: install-data-recursive uninstall: uninstall-recursive install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-recursive install-strip: $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ `test -z '$(STRIP)' || \ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install mostlyclean-generic: clean-generic: distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-recursive clean-am: clean-generic mostlyclean-am distclean: distclean-recursive -rm -f $(am__CONFIG_DISTCLEAN_FILES) -rm -f Makefile distclean-am: clean-am distclean-generic distclean-tags dvi: dvi-recursive dvi-am: html: html-recursive info: info-recursive info-am: install-data-am: install-dvi: install-dvi-recursive install-exec-am: install-html: install-html-recursive install-info: install-info-recursive install-man: install-pdf: install-pdf-recursive install-ps: install-ps-recursive installcheck-am: maintainer-clean: maintainer-clean-recursive -rm -f $(am__CONFIG_DISTCLEAN_FILES) -rm -rf $(top_srcdir)/autom4te.cache -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-recursive mostlyclean-am: mostlyclean-generic pdf: pdf-recursive pdf-am: ps: ps-recursive ps-am: uninstall-am: .MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) install-am \ install-strip .PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \ all all-am am--refresh check check-am clean clean-generic \ ctags ctags-recursive dist dist-all dist-bzip2 dist-gzip \ dist-lzma dist-shar dist-tarZ dist-zip distcheck distclean \ distclean-generic distclean-tags distcleancheck distdir \ distuninstallcheck dvi dvi-am html html-am info info-am \ install install-am install-data install-data-am install-dvi \ install-dvi-am install-exec install-exec-am install-html \ install-html-am install-info install-info-am install-man \ install-pdf install-pdf-am install-ps install-ps-am \ install-strip installcheck installcheck-am installdirs \ installdirs-am maintainer-clean maintainer-clean-generic \ mostlyclean mostlyclean-generic pdf pdf-am ps ps-am tags \ tags-recursive uninstall uninstall-am # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: passepartout-0.7.1/NEWS000066400000000000000000000152151140125232500147470ustar00rootroot000000000000000.7.0: Released 2007-07-26 * Migrated to gtkmm 2.4 / libgnomecanvasmm 2.6. * Will build with gcc 3.4. * Added controls for changing the scale and shearing of an object. * Using the new FileChooserDialog instead of the old FileSelection. Preview images are loaded in the background. * Partial Gnome integration, but only if the --with-gnome option is given to configure. Gnome is used to launch web browsers and to get suggested MIME type handlers. If you right-click on an object in Passepartout you will get a pop-up menu with suggested apps for editing the file. * Removed the PSViewer config var. If built with Gnome support, it asks Gnome which viewer to open, otherwise it just uses gv. * A simple new zoom widget and zoom toolbuttons and menu items. Arbitrary zoom levels are now possible. * Full screen mode. * Better thread handling. This should improve stability. Also, the screen update signals should be slightly more sane. 0.6: Released 2004-11-12 * Support for PDF output! Mostly complete, we even have support for including EPS files. Limitations include lack of support for underlined text. Also, Type1 fonts are limited to the characters in the MacRoman encoding. * TrueType font support, using FreeType. * FontConfig is used to find font files. The config variable FontPaths is no longer used. * Proper antialiasing of text and EPS images if Ghostscript supports the pngalpha device. * The ZoomLevel config var is no longer ignored. In fact, allow the user to define their own zoom levels, with the first one as the default. * Ghostscript is now told where to find the fonts. * Fix postscript landscape mode. (Magnus Henoch) * Fonts are included by default (always for PDF). * The commandline help output is a bit more readable. * EPS images should be properly rerendered when their geometry changes. * CDATA Sections are no longer ignored. 0.5: Released 2004-05-10 * The document view has been rewritten to use Gnome::Canvas. This eliminates the flickering (hurrah!) and makes the code a lot simpler. * Rotation now works for all objects in the user interface. * Using auto apply in the Object Properties and Text Streams windows. * Much improved PDF support in xml2ps (works with Acrobat Reader). (No PDF support in Passepartout yet though.) * Explicit pagebreaks () added to the xml2ps DTD. * Fixed file descriptor leak bug. * The handling of raster images sizes has been improved. The file format has changed slightly. * The stream parameter list is now updated when setting the stylesheet and disabled if the stylesheet lacks any parameters. * The stream menu in the Object Properties dialog is now updated when the streams change. * Empty strings are no longer allowed as Text Stream names. * Fixed 'Arrrgh' bug in the page selector widget. 0.4: Released 2004-01-15 * Requires stable libxml++ 1.0. * Uses the SGI's File Alteration Monitor (http://oss.sgi.com/projects/fam/) if available. This will (in theory) reduce the the system load. Passepartout will revert to polling (stat(2)) if FAM is not installed or the FAM daemon isn't running. * Passepartout and xml2ps now use a proper command line option parser. Some xml2ps options have changed names, see "xml2ps --help" * The screen resolution is aquired from the X server. 0.3: Released 2003-11-19 * The name of the Passepartout executable is now "passepartout". * The recommended filename suffix is now ".pp" instead of ".ppt". * Support for multiple views of the same document. * XSLT Parameter handling: Automatically get a set of valid parameters from the XSLT stylesheet and let the user change them in the streams dialog. * If a text stream is truncated, i.e. it won't fit into the frames assigned to it, then this will be indicated by a red marker at the bottom of the last frame. * Improved support for copy/paste. * Added a dialog for selecting/creating streams when creating text frames. * A new preferences dialog (Sergej Gratchev). * Make text images twice as big, then scale them down to normal size, creating a poor man's antialiasing effect. * A preview function in the import image dialog. * Allow renaming of frames (finally). * Printing is faster. * Stylesheet files are also watched for changes. * Support the DESTDIR feature in automake properly (Gaudenz Steinlin). 0.2: Released 2003-06-19 * Unicode support. * Font inclusion support. * "Text avoids object" works for rotated objects. * Improved object resizing. * Copy/paste. (Makes the logo seem less like false advertising :-) * Better Gnome Human Interface Guidelines compliance. * Explicit line breaks with the element. * A new design for the Streams window. * Support for other length units than typographic points. * Print images as grayscale option. Also works with most EPS images. * Snap-to-grid (in this release, the grid size is 24 points and can't be changed, sorry.) * Support for the "Windows" EPS format. It has only been tested on EPS files printed from Photoshop. 0.1: Released 2003-03-11 * Move to gtkmm-2.0 * Move to libxml++-0.18.0 * Require a standards-complient C++ compiler (such as gcc 3.2), since modern libxml++ wont compile in older environments. * Semi-auto-generated dummy config dialog * A brand new configuration file format. If ~/.pptout does not exist, it will look for /etc/pptout NOTE: rename or remove your old ~/.pptout - it is incompatible with the new format * Better reshape handles * Select more than one object with ctrl-button1 * Image file drag-and-drop support * The properties dialog is updated when the selected object is moved or resized * Boundary margin support - text can be made to stay at a distance from an object. * Support EPS files with or without a showpage call * Identify postscript files by magic numbers instead of filename suffixes * If the flag "-s" is given to xml2ps, then no font aliases will be used in the output, i.e. URW font names instead of Adobe font names * Handle white areas in eps and text frames as if they were transparent, for screen display (Optional, Seems to be flaky in some environments). * Rotation angles are -180 to 180 degrees. * Added support for text in different gray tones. * Support obstacles from the xml flow, mainly for allowing use of automatic initials (those fancy big letters that were common in medieval texts) * Support for "guides", but the only way to turn them on is by editing the xml files * Using stock icons where applicable * Options to specify screen resolution and default image resolution 0.0: Released 2002-11-21. * Initial release passepartout-0.7.1/README000066400000000000000000000007531140125232500151310ustar00rootroot00000000000000Passepartout ------------ Passepartout is a DTP application for X. The Passepartout web site can be found at http://www.stacken.kth.se/project/pptout/ Bug reports should be sent to http://bugzilla.gnome.org/simple-bug-guide.cgi?product=passepartout Questions, etc. should be sent to passepartout@stacken.kth.se Important files: INSTALL - Installation instructions NEWS - Per-version list of changes in each release COPYING - License information AUTHORS - List of contributors passepartout-0.7.1/aclocal.m4000066400000000000000000001117561140125232500161170ustar00rootroot00000000000000# generated automatically by aclocal 1.10.1 -*- Autoconf -*- # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, # 2005, 2006, 2007, 2008 Free Software Foundation, Inc. # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. m4_ifndef([AC_AUTOCONF_VERSION], [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl m4_if(AC_AUTOCONF_VERSION, [2.61],, [m4_warning([this file was generated for autoconf 2.61. You have another version of autoconf. It may work, but is not guaranteed to. If you have problems, you may need to regenerate the build system entirely. To do so, use the procedure documented by the package, typically `autoreconf'.])]) # pkg.m4 - Macros to locate and utilise pkg-config. -*- Autoconf -*- # # Copyright © 2004 Scott James Remnant . # # 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. # # As a special exception to the GNU General Public License, if you # distribute this file as part of a program that contains a # configuration script generated by Autoconf, you may include it under # the same distribution terms that you use for the rest of that program. # PKG_PROG_PKG_CONFIG([MIN-VERSION]) # ---------------------------------- AC_DEFUN([PKG_PROG_PKG_CONFIG], [m4_pattern_forbid([^_?PKG_[A-Z_]+$]) m4_pattern_allow([^PKG_CONFIG(_PATH)?$]) AC_ARG_VAR([PKG_CONFIG], [path to pkg-config utility])dnl if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then AC_PATH_TOOL([PKG_CONFIG], [pkg-config]) fi if test -n "$PKG_CONFIG"; then _pkg_min_version=m4_default([$1], [0.9.0]) AC_MSG_CHECKING([pkg-config is at least version $_pkg_min_version]) if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then AC_MSG_RESULT([yes]) else AC_MSG_RESULT([no]) PKG_CONFIG="" fi fi[]dnl ])# PKG_PROG_PKG_CONFIG # PKG_CHECK_EXISTS(MODULES, [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND]) # # Check to see whether a particular set of modules exists. Similar # to PKG_CHECK_MODULES(), but does not set variables or print errors. # # # Similar to PKG_CHECK_MODULES, make sure that the first instance of # this or PKG_CHECK_MODULES is called, or make sure to call # PKG_CHECK_EXISTS manually # -------------------------------------------------------------- AC_DEFUN([PKG_CHECK_EXISTS], [AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl if test -n "$PKG_CONFIG" && \ AC_RUN_LOG([$PKG_CONFIG --exists --print-errors "$1"]); then m4_ifval([$2], [$2], [:]) m4_ifvaln([$3], [else $3])dnl fi]) # _PKG_CONFIG([VARIABLE], [COMMAND], [MODULES]) # --------------------------------------------- m4_define([_PKG_CONFIG], [if test -n "$PKG_CONFIG"; then if test -n "$$1"; then pkg_cv_[]$1="$$1" else PKG_CHECK_EXISTS([$3], [pkg_cv_[]$1=`$PKG_CONFIG --[]$2 "$3" 2>/dev/null`], [pkg_failed=yes]) fi else pkg_failed=untried fi[]dnl ])# _PKG_CONFIG # _PKG_SHORT_ERRORS_SUPPORTED # ----------------------------- AC_DEFUN([_PKG_SHORT_ERRORS_SUPPORTED], [AC_REQUIRE([PKG_PROG_PKG_CONFIG]) if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes else _pkg_short_errors_supported=no fi[]dnl ])# _PKG_SHORT_ERRORS_SUPPORTED # PKG_CHECK_MODULES(VARIABLE-PREFIX, MODULES, [ACTION-IF-FOUND], # [ACTION-IF-NOT-FOUND]) # # # Note that if there is a possibility the first call to # PKG_CHECK_MODULES might not happen, you should be sure to include an # explicit call to PKG_PROG_PKG_CONFIG in your configure.ac # # # -------------------------------------------------------------- AC_DEFUN([PKG_CHECK_MODULES], [AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl AC_ARG_VAR([$1][_CFLAGS], [C compiler flags for $1, overriding pkg-config])dnl AC_ARG_VAR([$1][_LIBS], [linker flags for $1, overriding pkg-config])dnl pkg_failed=no AC_MSG_CHECKING([for $1]) _PKG_CONFIG([$1][_CFLAGS], [cflags], [$2]) _PKG_CONFIG([$1][_LIBS], [libs], [$2]) m4_define([_PKG_TEXT], [Alternatively, you may set the environment variables $1[]_CFLAGS and $1[]_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details.]) if test $pkg_failed = yes; then _PKG_SHORT_ERRORS_SUPPORTED if test $_pkg_short_errors_supported = yes; then $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$2"` else $1[]_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$2"` fi # Put the nasty error message in config.log where it belongs echo "$$1[]_PKG_ERRORS" >&AS_MESSAGE_LOG_FD ifelse([$4], , [AC_MSG_ERROR(dnl [Package requirements ($2) were not met: $$1_PKG_ERRORS Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. _PKG_TEXT ])], [AC_MSG_RESULT([no]) $4]) elif test $pkg_failed = untried; then ifelse([$4], , [AC_MSG_FAILURE(dnl [The pkg-config script could not be found or is too old. Make sure it is in your PATH or set the PKG_CONFIG environment variable to the full path to pkg-config. _PKG_TEXT To get pkg-config, see .])], [$4]) else $1[]_CFLAGS=$pkg_cv_[]$1[]_CFLAGS $1[]_LIBS=$pkg_cv_[]$1[]_LIBS AC_MSG_RESULT([yes]) ifelse([$3], , :, [$3]) fi[]dnl ])# PKG_CHECK_MODULES # Copyright (C) 2002, 2003, 2005, 2006, 2007 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # AM_AUTOMAKE_VERSION(VERSION) # ---------------------------- # Automake X.Y traces this macro to ensure aclocal.m4 has been # generated from the m4 files accompanying Automake X.Y. # (This private macro should not be called outside this file.) AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version='1.10' dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to dnl require some minimum version. Point them to the right macro. m4_if([$1], [1.10.1], [], [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl ]) # _AM_AUTOCONF_VERSION(VERSION) # ----------------------------- # aclocal traces this macro to find the Autoconf version. # This is a private macro too. Using m4_define simplifies # the logic in aclocal, which can simply ignore this definition. m4_define([_AM_AUTOCONF_VERSION], []) # AM_SET_CURRENT_AUTOMAKE_VERSION # ------------------------------- # Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced. # This function is AC_REQUIREd by AC_INIT_AUTOMAKE. AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], [AM_AUTOMAKE_VERSION([1.10.1])dnl m4_ifndef([AC_AUTOCONF_VERSION], [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl _AM_AUTOCONF_VERSION(AC_AUTOCONF_VERSION)]) # AM_AUX_DIR_EXPAND -*- Autoconf -*- # Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets # $ac_aux_dir to `$srcdir/foo'. In other projects, it is set to # `$srcdir', `$srcdir/..', or `$srcdir/../..'. # # Of course, Automake must honor this variable whenever it calls a # tool from the auxiliary directory. The problem is that $srcdir (and # therefore $ac_aux_dir as well) can be either absolute or relative, # depending on how configure is run. This is pretty annoying, since # it makes $ac_aux_dir quite unusable in subdirectories: in the top # source directory, any form will work fine, but in subdirectories a # relative path needs to be adjusted first. # # $ac_aux_dir/missing # fails when called from a subdirectory if $ac_aux_dir is relative # $top_srcdir/$ac_aux_dir/missing # fails if $ac_aux_dir is absolute, # fails when called from a subdirectory in a VPATH build with # a relative $ac_aux_dir # # The reason of the latter failure is that $top_srcdir and $ac_aux_dir # are both prefixed by $srcdir. In an in-source build this is usually # harmless because $srcdir is `.', but things will broke when you # start a VPATH build or use an absolute $srcdir. # # So we could use something similar to $top_srcdir/$ac_aux_dir/missing, # iff we strip the leading $srcdir from $ac_aux_dir. That would be: # am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"` # and then we would define $MISSING as # MISSING="\${SHELL} $am_aux_dir/missing" # This will work as long as MISSING is not called from configure, because # unfortunately $(top_srcdir) has no meaning in configure. # However there are other variables, like CC, which are often used in # configure, and could therefore not use this "fixed" $ac_aux_dir. # # Another solution, used here, is to always expand $ac_aux_dir to an # absolute PATH. The drawback is that using absolute paths prevent a # configured tree to be moved without reconfiguration. AC_DEFUN([AM_AUX_DIR_EXPAND], [dnl Rely on autoconf to set up CDPATH properly. AC_PREREQ([2.50])dnl # expand $ac_aux_dir to an absolute path am_aux_dir=`cd $ac_aux_dir && pwd` ]) # AM_CONDITIONAL -*- Autoconf -*- # Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006 # Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # serial 8 # AM_CONDITIONAL(NAME, SHELL-CONDITION) # ------------------------------------- # Define a conditional. AC_DEFUN([AM_CONDITIONAL], [AC_PREREQ(2.52)dnl ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])], [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl AC_SUBST([$1_TRUE])dnl AC_SUBST([$1_FALSE])dnl _AM_SUBST_NOTMAKE([$1_TRUE])dnl _AM_SUBST_NOTMAKE([$1_FALSE])dnl if $2; then $1_TRUE= $1_FALSE='#' else $1_TRUE='#' $1_FALSE= fi AC_CONFIG_COMMANDS_PRE( [if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then AC_MSG_ERROR([[conditional "$1" was never defined. Usually this means the macro was only invoked conditionally.]]) fi])]) # Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006 # Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # serial 9 # There are a few dirty hacks below to avoid letting `AC_PROG_CC' be # written in clear, in which case automake, when reading aclocal.m4, # will think it sees a *use*, and therefore will trigger all it's # C support machinery. Also note that it means that autoscan, seeing # CC etc. in the Makefile, will ask for an AC_PROG_CC use... # _AM_DEPENDENCIES(NAME) # ---------------------- # See how the compiler implements dependency checking. # NAME is "CC", "CXX", "GCJ", or "OBJC". # We try a few techniques and use that to set a single cache variable. # # We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was # modified to invoke _AM_DEPENDENCIES(CC); we would have a circular # dependency, and given that the user is not expected to run this macro, # just rely on AC_PROG_CC. AC_DEFUN([_AM_DEPENDENCIES], [AC_REQUIRE([AM_SET_DEPDIR])dnl AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl AC_REQUIRE([AM_MAKE_INCLUDE])dnl AC_REQUIRE([AM_DEP_TRACK])dnl ifelse([$1], CC, [depcc="$CC" am_compiler_list=], [$1], CXX, [depcc="$CXX" am_compiler_list=], [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'], [$1], UPC, [depcc="$UPC" am_compiler_list=], [$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'], [depcc="$$1" am_compiler_list=]) AC_CACHE_CHECK([dependency style of $depcc], [am_cv_$1_dependencies_compiler_type], [if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then # We make a subdir and do the tests there. Otherwise we can end up # making bogus files that we don't know about and never remove. For # instance it was reported that on HP-UX the gcc test will end up # making a dummy file named `D' -- because `-MD' means `put the output # in D'. mkdir conftest.dir # Copy depcomp to subdir because otherwise we won't find it if we're # using a relative directory. cp "$am_depcomp" conftest.dir cd conftest.dir # We will build objects and dependencies in a subdirectory because # it helps to detect inapplicable dependency modes. For instance # both Tru64's cc and ICC support -MD to output dependencies as a # side effect of compilation, but ICC will put the dependencies in # the current directory while Tru64 will put them in the object # directory. mkdir sub am_cv_$1_dependencies_compiler_type=none if test "$am_compiler_list" = ""; then am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp` fi for depmode in $am_compiler_list; do # Setup a source with many dependencies, because some compilers # like to wrap large dependency lists on column 80 (with \), and # we should not choose a depcomp mode which is confused by this. # # We need to recreate these files for each test, as the compiler may # overwrite some of them when testing with obscure command lines. # This happens at least with the AIX C compiler. : > sub/conftest.c for i in 1 2 3 4 5 6; do echo '#include "conftst'$i'.h"' >> sub/conftest.c # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with # Solaris 8's {/usr,}/bin/sh. touch sub/conftst$i.h done echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf case $depmode in nosideeffect) # after this tag, mechanisms are not by side-effect, so they'll # only be used when explicitly requested if test "x$enable_dependency_tracking" = xyes; then continue else break fi ;; none) break ;; esac # We check with `-c' and `-o' for the sake of the "dashmstdout" # mode. It turns out that the SunPro C++ compiler does not properly # handle `-M -o', and we need to detect this. if depmode=$depmode \ source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ >/dev/null 2>conftest.err && grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && ${MAKE-make} -s -f confmf > /dev/null 2>&1; then # icc doesn't choke on unknown options, it will just issue warnings # or remarks (even with -Werror). So we grep stderr for any message # that says an option was ignored or not supported. # When given -MP, icc 7.0 and 7.1 complain thusly: # icc: Command line warning: ignoring option '-M'; no argument required # The diagnosis changed in icc 8.0: # icc: Command line remark: option '-MP' not supported if (grep 'ignoring option' conftest.err || grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else am_cv_$1_dependencies_compiler_type=$depmode break fi fi done cd .. rm -rf conftest.dir else am_cv_$1_dependencies_compiler_type=none fi ]) AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type]) AM_CONDITIONAL([am__fastdep$1], [ test "x$enable_dependency_tracking" != xno \ && test "$am_cv_$1_dependencies_compiler_type" = gcc3]) ]) # AM_SET_DEPDIR # ------------- # Choose a directory name for dependency files. # This macro is AC_REQUIREd in _AM_DEPENDENCIES AC_DEFUN([AM_SET_DEPDIR], [AC_REQUIRE([AM_SET_LEADING_DOT])dnl AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl ]) # AM_DEP_TRACK # ------------ AC_DEFUN([AM_DEP_TRACK], [AC_ARG_ENABLE(dependency-tracking, [ --disable-dependency-tracking speeds up one-time build --enable-dependency-tracking do not reject slow dependency extractors]) if test "x$enable_dependency_tracking" != xno; then am_depcomp="$ac_aux_dir/depcomp" AMDEPBACKSLASH='\' fi AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno]) AC_SUBST([AMDEPBACKSLASH])dnl _AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl ]) # Generate code to set up dependency tracking. -*- Autoconf -*- # Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005 # Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. #serial 3 # _AM_OUTPUT_DEPENDENCY_COMMANDS # ------------------------------ AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS], [for mf in $CONFIG_FILES; do # Strip MF so we end up with the name of the file. mf=`echo "$mf" | sed -e 's/:.*$//'` # Check whether this is an Automake generated Makefile or not. # We used to match only the files named `Makefile.in', but # some people rename them; so instead we look at the file content. # Grep'ing the first line is not enough: some people post-process # each Makefile.in and add a new line on top of each file to say so. # Grep'ing the whole file is not good either: AIX grep has a line # limit of 2048, but all sed's we know have understand at least 4000. if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then dirpart=`AS_DIRNAME("$mf")` else continue fi # Extract the definition of DEPDIR, am__include, and am__quote # from the Makefile without running `make'. DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` test -z "$DEPDIR" && continue am__include=`sed -n 's/^am__include = //p' < "$mf"` test -z "am__include" && continue am__quote=`sed -n 's/^am__quote = //p' < "$mf"` # When using ansi2knr, U may be empty or an underscore; expand it U=`sed -n 's/^U = //p' < "$mf"` # Find all dependency output files, they are included files with # $(DEPDIR) in their names. We invoke sed twice because it is the # simplest approach to changing $(DEPDIR) to its actual value in the # expansion. for file in `sed -n " s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do # Make sure the directory exists. test -f "$dirpart/$file" && continue fdir=`AS_DIRNAME(["$file"])` AS_MKDIR_P([$dirpart/$fdir]) # echo "creating $dirpart/$file" echo '# dummy' > "$dirpart/$file" done done ])# _AM_OUTPUT_DEPENDENCY_COMMANDS # AM_OUTPUT_DEPENDENCY_COMMANDS # ----------------------------- # This macro should only be invoked once -- use via AC_REQUIRE. # # This code is only required when automatic dependency tracking # is enabled. FIXME. This creates each `.P' file that we will # need in order to bootstrap the dependency handling code. AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS], [AC_CONFIG_COMMANDS([depfiles], [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS], [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"]) ]) # Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005 # Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # serial 8 # AM_CONFIG_HEADER is obsolete. It has been replaced by AC_CONFIG_HEADERS. AU_DEFUN([AM_CONFIG_HEADER], [AC_CONFIG_HEADERS($@)]) # Do all the work for Automake. -*- Autoconf -*- # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, # 2005, 2006, 2008 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # serial 13 # This macro actually does too much. Some checks are only needed if # your package does certain things. But this isn't really a big deal. # AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE]) # AM_INIT_AUTOMAKE([OPTIONS]) # ----------------------------------------------- # The call with PACKAGE and VERSION arguments is the old style # call (pre autoconf-2.50), which is being phased out. PACKAGE # and VERSION should now be passed to AC_INIT and removed from # the call to AM_INIT_AUTOMAKE. # We support both call styles for the transition. After # the next Automake release, Autoconf can make the AC_INIT # arguments mandatory, and then we can depend on a new Autoconf # release and drop the old call support. AC_DEFUN([AM_INIT_AUTOMAKE], [AC_PREREQ([2.60])dnl dnl Autoconf wants to disallow AM_ names. We explicitly allow dnl the ones we care about. m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl AC_REQUIRE([AC_PROG_INSTALL])dnl if test "`cd $srcdir && pwd`" != "`pwd`"; then # Use -I$(srcdir) only when $(srcdir) != ., so that make's output # is not polluted with repeated "-I." AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl # test to see if srcdir already configured if test -f $srcdir/config.status; then AC_MSG_ERROR([source directory already configured; run "make distclean" there first]) fi fi # test whether we have cygpath if test -z "$CYGPATH_W"; then if (cygpath --version) >/dev/null 2>/dev/null; then CYGPATH_W='cygpath -w' else CYGPATH_W=echo fi fi AC_SUBST([CYGPATH_W]) # Define the identity of the package. dnl Distinguish between old-style and new-style calls. m4_ifval([$2], [m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl AC_SUBST([PACKAGE], [$1])dnl AC_SUBST([VERSION], [$2])], [_AM_SET_OPTIONS([$1])dnl dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT. m4_if(m4_ifdef([AC_PACKAGE_NAME], 1)m4_ifdef([AC_PACKAGE_VERSION], 1), 11,, [m4_fatal([AC_INIT should be called with package and version arguments])])dnl AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl _AM_IF_OPTION([no-define],, [AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package]) AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl # Some tools Automake needs. AC_REQUIRE([AM_SANITY_CHECK])dnl AC_REQUIRE([AC_ARG_PROGRAM])dnl AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version}) AM_MISSING_PROG(AUTOCONF, autoconf) AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version}) AM_MISSING_PROG(AUTOHEADER, autoheader) AM_MISSING_PROG(MAKEINFO, makeinfo) AM_PROG_INSTALL_SH AM_PROG_INSTALL_STRIP AC_REQUIRE([AM_PROG_MKDIR_P])dnl # We need awk for the "check" target. The system "awk" is bad on # some platforms. AC_REQUIRE([AC_PROG_AWK])dnl AC_REQUIRE([AC_PROG_MAKE_SET])dnl AC_REQUIRE([AM_SET_LEADING_DOT])dnl _AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])], [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])], [_AM_PROG_TAR([v7])])]) _AM_IF_OPTION([no-dependencies],, [AC_PROVIDE_IFELSE([AC_PROG_CC], [_AM_DEPENDENCIES(CC)], [define([AC_PROG_CC], defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl AC_PROVIDE_IFELSE([AC_PROG_CXX], [_AM_DEPENDENCIES(CXX)], [define([AC_PROG_CXX], defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl AC_PROVIDE_IFELSE([AC_PROG_OBJC], [_AM_DEPENDENCIES(OBJC)], [define([AC_PROG_OBJC], defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl ]) ]) # When config.status generates a header, we must update the stamp-h file. # This file resides in the same directory as the config header # that is generated. The stamp files are numbered to have different names. # Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the # loop where config.status creates the headers, so we can generate # our stamp files there. AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK], [# Compute $1's index in $config_headers. _am_arg=$1 _am_stamp_count=1 for _am_header in $config_headers :; do case $_am_header in $_am_arg | $_am_arg:* ) break ;; * ) _am_stamp_count=`expr $_am_stamp_count + 1` ;; esac done echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count]) # Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # AM_PROG_INSTALL_SH # ------------------ # Define $install_sh. AC_DEFUN([AM_PROG_INSTALL_SH], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"} AC_SUBST(install_sh)]) # Copyright (C) 2003, 2005 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # serial 2 # Check whether the underlying file-system supports filenames # with a leading dot. For instance MS-DOS doesn't. AC_DEFUN([AM_SET_LEADING_DOT], [rm -rf .tst 2>/dev/null mkdir .tst 2>/dev/null if test -d .tst; then am__leading_dot=. else am__leading_dot=_ fi rmdir .tst 2>/dev/null AC_SUBST([am__leading_dot])]) # Check to see how 'make' treats includes. -*- Autoconf -*- # Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # serial 3 # AM_MAKE_INCLUDE() # ----------------- # Check to see how make treats includes. AC_DEFUN([AM_MAKE_INCLUDE], [am_make=${MAKE-make} cat > confinc << 'END' am__doit: @echo done .PHONY: am__doit END # If we don't find an include directive, just comment out the code. AC_MSG_CHECKING([for style of include used by $am_make]) am__include="#" am__quote= _am_result=none # First try GNU make style include. echo "include confinc" > confmf # We grep out `Entering directory' and `Leaving directory' # messages which can occur if `w' ends up in MAKEFLAGS. # In particular we don't look at `^make:' because GNU make might # be invoked under some other name (usually "gmake"), in which # case it prints its new name instead of `make'. if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then am__include=include am__quote= _am_result=GNU fi # Now try BSD make style include. if test "$am__include" = "#"; then echo '.include "confinc"' > confmf if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then am__include=.include am__quote="\"" _am_result=BSD fi fi AC_SUBST([am__include]) AC_SUBST([am__quote]) AC_MSG_RESULT([$_am_result]) rm -f confinc confmf ]) # Fake the existence of programs that GNU maintainers use. -*- Autoconf -*- # Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005 # Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # serial 5 # AM_MISSING_PROG(NAME, PROGRAM) # ------------------------------ AC_DEFUN([AM_MISSING_PROG], [AC_REQUIRE([AM_MISSING_HAS_RUN]) $1=${$1-"${am_missing_run}$2"} AC_SUBST($1)]) # AM_MISSING_HAS_RUN # ------------------ # Define MISSING if not defined so far and test if it supports --run. # If it does, set am_missing_run to use it, otherwise, to nothing. AC_DEFUN([AM_MISSING_HAS_RUN], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl AC_REQUIRE_AUX_FILE([missing])dnl test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing" # Use eval to expand $SHELL if eval "$MISSING --run true"; then am_missing_run="$MISSING --run " else am_missing_run= AC_MSG_WARN([`missing' script is too old or missing]) fi ]) # Copyright (C) 2003, 2004, 2005, 2006 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # AM_PROG_MKDIR_P # --------------- # Check for `mkdir -p'. AC_DEFUN([AM_PROG_MKDIR_P], [AC_PREREQ([2.60])dnl AC_REQUIRE([AC_PROG_MKDIR_P])dnl dnl Automake 1.8 to 1.9.6 used to define mkdir_p. We now use MKDIR_P, dnl while keeping a definition of mkdir_p for backward compatibility. dnl @MKDIR_P@ is magic: AC_OUTPUT adjusts its value for each Makefile. dnl However we cannot define mkdir_p as $(MKDIR_P) for the sake of dnl Makefile.ins that do not define MKDIR_P, so we do our own dnl adjustment using top_builddir (which is defined more often than dnl MKDIR_P). AC_SUBST([mkdir_p], ["$MKDIR_P"])dnl case $mkdir_p in [[\\/$]]* | ?:[[\\/]]*) ;; */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; esac ]) # Helper functions for option handling. -*- Autoconf -*- # Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # serial 3 # _AM_MANGLE_OPTION(NAME) # ----------------------- AC_DEFUN([_AM_MANGLE_OPTION], [[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])]) # _AM_SET_OPTION(NAME) # ------------------------------ # Set option NAME. Presently that only means defining a flag for this option. AC_DEFUN([_AM_SET_OPTION], [m4_define(_AM_MANGLE_OPTION([$1]), 1)]) # _AM_SET_OPTIONS(OPTIONS) # ---------------------------------- # OPTIONS is a space-separated list of Automake options. AC_DEFUN([_AM_SET_OPTIONS], [AC_FOREACH([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])]) # _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET]) # ------------------------------------------- # Execute IF-SET if OPTION is set, IF-NOT-SET otherwise. AC_DEFUN([_AM_IF_OPTION], [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])]) # Check to make sure that the build environment is sane. -*- Autoconf -*- # Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005 # Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # serial 4 # AM_SANITY_CHECK # --------------- AC_DEFUN([AM_SANITY_CHECK], [AC_MSG_CHECKING([whether build environment is sane]) # Just in case sleep 1 echo timestamp > conftest.file # Do `set' in a subshell so we don't clobber the current shell's # arguments. Must try -L first in case configure is actually a # symlink; some systems play weird games with the mod time of symlinks # (eg FreeBSD returns the mod time of the symlink's containing # directory). if ( set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null` if test "$[*]" = "X"; then # -L didn't work. set X `ls -t $srcdir/configure conftest.file` fi rm -f conftest.file if test "$[*]" != "X $srcdir/configure conftest.file" \ && test "$[*]" != "X conftest.file $srcdir/configure"; then # If neither matched, then we have a broken ls. This can happen # if, for instance, CONFIG_SHELL is bash and it inherits a # broken ls alias from the environment. This has actually # happened. Such a system could not be considered "sane". AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken alias in your environment]) fi test "$[2]" = conftest.file ) then # Ok. : else AC_MSG_ERROR([newly created file is older than distributed files! Check your system clock]) fi AC_MSG_RESULT(yes)]) # Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # AM_PROG_INSTALL_STRIP # --------------------- # One issue with vendor `install' (even GNU) is that you can't # specify the program used to strip binaries. This is especially # annoying in cross-compiling environments, where the build's strip # is unlikely to handle the host's binaries. # Fortunately install-sh will honor a STRIPPROG variable, so we # always use install-sh in `make install-strip', and initialize # STRIPPROG with the value of the STRIP variable (set by the user). AC_DEFUN([AM_PROG_INSTALL_STRIP], [AC_REQUIRE([AM_PROG_INSTALL_SH])dnl # Installed binaries are usually stripped using `strip' when the user # run `make install-strip'. However `strip' might not be the right # tool to use in cross-compilation environments, therefore Automake # will honor the `STRIP' environment variable to overrule this program. dnl Don't test for $cross_compiling = yes, because it might be `maybe'. if test "$cross_compiling" != no; then AC_CHECK_TOOL([STRIP], [strip], :) fi INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" AC_SUBST([INSTALL_STRIP_PROGRAM])]) # Copyright (C) 2006 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # _AM_SUBST_NOTMAKE(VARIABLE) # --------------------------- # Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in. # This macro is traced by Automake. AC_DEFUN([_AM_SUBST_NOTMAKE]) # Check how to create a tarball. -*- Autoconf -*- # Copyright (C) 2004, 2005 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # serial 2 # _AM_PROG_TAR(FORMAT) # -------------------- # Check how to create a tarball in format FORMAT. # FORMAT should be one of `v7', `ustar', or `pax'. # # Substitute a variable $(am__tar) that is a command # writing to stdout a FORMAT-tarball containing the directory # $tardir. # tardir=directory && $(am__tar) > result.tar # # Substitute a variable $(am__untar) that extract such # a tarball read from stdin. # $(am__untar) < result.tar AC_DEFUN([_AM_PROG_TAR], [# Always define AMTAR for backward compatibility. AM_MISSING_PROG([AMTAR], [tar]) m4_if([$1], [v7], [am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'], [m4_case([$1], [ustar],, [pax],, [m4_fatal([Unknown tar format])]) AC_MSG_CHECKING([how to create a $1 tar archive]) # Loop over all known methods to create a tar archive until one works. _am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none' _am_tools=${am_cv_prog_tar_$1-$_am_tools} # Do not fold the above two line into one, because Tru64 sh and # Solaris sh will not grok spaces in the rhs of `-'. for _am_tool in $_am_tools do case $_am_tool in gnutar) for _am_tar in tar gnutar gtar; do AM_RUN_LOG([$_am_tar --version]) && break done am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"' am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"' am__untar="$_am_tar -xf -" ;; plaintar) # Must skip GNU tar: if it does not support --format= it doesn't create # ustar tarball either. (tar --version) >/dev/null 2>&1 && continue am__tar='tar chf - "$$tardir"' am__tar_='tar chf - "$tardir"' am__untar='tar xf -' ;; pax) am__tar='pax -L -x $1 -w "$$tardir"' am__tar_='pax -L -x $1 -w "$tardir"' am__untar='pax -r' ;; cpio) am__tar='find "$$tardir" -print | cpio -o -H $1 -L' am__tar_='find "$tardir" -print | cpio -o -H $1 -L' am__untar='cpio -i -H $1 -d' ;; none) am__tar=false am__tar_=false am__untar=false ;; esac # If the value was cached, stop now. We just wanted to have am__tar # and am__untar set. test -n "${am_cv_prog_tar_$1}" && break # tar/untar a dummy directory, and stop if the command works rm -rf conftest.dir mkdir conftest.dir echo GrepMe > conftest.dir/file AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar]) rm -rf conftest.dir if test -s conftest.tar; then AM_RUN_LOG([$am__untar /dev/null 2>&1 && break fi done rm -rf conftest.dir AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool]) AC_MSG_RESULT([$am_cv_prog_tar_$1])]) AC_SUBST([am__tar]) AC_SUBST([am__untar]) ]) # _AM_PROG_TAR passepartout-0.7.1/config.guess000077500000000000000000001270611140125232500165730ustar00rootroot00000000000000#! /bin/sh # Attempt to guess a canonical system name. # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, # 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation, # Inc. timestamp='2007-07-22' # This file 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., 51 Franklin Street - Fifth Floor, Boston, MA # 02110-1301, USA. # # As a special exception to the GNU General Public License, if you # distribute this file as part of a program that contains a # configuration script generated by Autoconf, you may include it under # the same distribution terms that you use for the rest of that program. # Originally written by Per Bothner . # Please send patches to . Submit a context # diff and a properly formatted ChangeLog entry. # # This script attempts to guess a canonical system name similar to # config.sub. If it succeeds, it prints the system name on stdout, and # exits with 0. Otherwise, it exits with 1. # # The plan is that this can be called by configure scripts if you # don't specify an explicit build system type. me=`echo "$0" | sed -e 's,.*/,,'` usage="\ Usage: $0 [OPTION] Output the configuration name of the system \`$me' is run on. Operation modes: -h, --help print this help, then exit -t, --time-stamp print date of last modification, then exit -v, --version print version number, then exit Report bugs and patches to ." version="\ GNU config.guess ($timestamp) Originally written by Per Bothner. Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." help=" Try \`$me --help' for more information." # Parse command line while test $# -gt 0 ; do case $1 in --time-stamp | --time* | -t ) echo "$timestamp" ; exit ;; --version | -v ) echo "$version" ; exit ;; --help | --h* | -h ) echo "$usage"; exit ;; -- ) # Stop option processing shift; break ;; - ) # Use stdin as input. break ;; -* ) echo "$me: invalid option $1$help" >&2 exit 1 ;; * ) break ;; esac done if test $# != 0; then echo "$me: too many arguments$help" >&2 exit 1 fi trap 'exit 1' 1 2 15 # CC_FOR_BUILD -- compiler used by this script. Note that the use of a # compiler to aid in system detection is discouraged as it requires # temporary files to be created and, as you can see below, it is a # headache to deal with in a portable fashion. # Historically, `CC_FOR_BUILD' used to be named `HOST_CC'. We still # use `HOST_CC' if defined, but it is deprecated. # Portable tmp directory creation inspired by the Autoconf team. set_cc_for_build=' trap "exitcode=\$?; (rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null) && exit \$exitcode" 0 ; trap "rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null; exit 1" 1 2 13 15 ; : ${TMPDIR=/tmp} ; { tmp=`(umask 077 && mktemp -d "$TMPDIR/cgXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" ; } || { test -n "$RANDOM" && tmp=$TMPDIR/cg$$-$RANDOM && (umask 077 && mkdir $tmp) ; } || { tmp=$TMPDIR/cg-$$ && (umask 077 && mkdir $tmp) && echo "Warning: creating insecure temp directory" >&2 ; } || { echo "$me: cannot create a temporary directory in $TMPDIR" >&2 ; exit 1 ; } ; dummy=$tmp/dummy ; tmpfiles="$dummy.c $dummy.o $dummy.rel $dummy" ; case $CC_FOR_BUILD,$HOST_CC,$CC in ,,) echo "int x;" > $dummy.c ; for c in cc gcc c89 c99 ; do if ($c -c -o $dummy.o $dummy.c) >/dev/null 2>&1 ; then CC_FOR_BUILD="$c"; break ; fi ; done ; if test x"$CC_FOR_BUILD" = x ; then CC_FOR_BUILD=no_compiler_found ; fi ;; ,,*) CC_FOR_BUILD=$CC ;; ,*,*) CC_FOR_BUILD=$HOST_CC ;; esac ; set_cc_for_build= ;' # This is needed to find uname on a Pyramid OSx when run in the BSD universe. # (ghazi@noc.rutgers.edu 1994-08-24) if (test -f /.attbin/uname) >/dev/null 2>&1 ; then PATH=$PATH:/.attbin ; export PATH fi UNAME_MACHINE=`(uname -m) 2>/dev/null` || UNAME_MACHINE=unknown UNAME_RELEASE=`(uname -r) 2>/dev/null` || UNAME_RELEASE=unknown UNAME_SYSTEM=`(uname -s) 2>/dev/null` || UNAME_SYSTEM=unknown UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown # Note: order is significant - the case branches are not exclusive. case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in *:NetBSD:*:*) # NetBSD (nbsd) targets should (where applicable) match one or # more of the tupples: *-*-netbsdelf*, *-*-netbsdaout*, # *-*-netbsdecoff* and *-*-netbsd*. For targets that recently # switched to ELF, *-*-netbsd* would select the old # object file format. This provides both forward # compatibility and a consistent mechanism for selecting the # object file format. # # Note: NetBSD doesn't particularly care about the vendor # portion of the name. We always set it to "unknown". sysctl="sysctl -n hw.machine_arch" UNAME_MACHINE_ARCH=`(/sbin/$sysctl 2>/dev/null || \ /usr/sbin/$sysctl 2>/dev/null || echo unknown)` case "${UNAME_MACHINE_ARCH}" in armeb) machine=armeb-unknown ;; arm*) machine=arm-unknown ;; sh3el) machine=shl-unknown ;; sh3eb) machine=sh-unknown ;; sh5el) machine=sh5le-unknown ;; *) machine=${UNAME_MACHINE_ARCH}-unknown ;; esac # The Operating System including object format, if it has switched # to ELF recently, or will in the future. case "${UNAME_MACHINE_ARCH}" in arm*|i386|m68k|ns32k|sh3*|sparc|vax) eval $set_cc_for_build if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \ | grep __ELF__ >/dev/null then # Once all utilities can be ECOFF (netbsdecoff) or a.out (netbsdaout). # Return netbsd for either. FIX? os=netbsd else os=netbsdelf fi ;; *) os=netbsd ;; esac # The OS release # Debian GNU/NetBSD machines have a different userland, and # thus, need a distinct triplet. However, they do not need # kernel version information, so it can be replaced with a # suitable tag, in the style of linux-gnu. case "${UNAME_VERSION}" in Debian*) release='-gnu' ;; *) release=`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'` ;; esac # Since CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM: # contains redundant information, the shorter form: # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used. echo "${machine}-${os}${release}" exit ;; *:OpenBSD:*:*) UNAME_MACHINE_ARCH=`arch | sed 's/OpenBSD.//'` echo ${UNAME_MACHINE_ARCH}-unknown-openbsd${UNAME_RELEASE} exit ;; *:ekkoBSD:*:*) echo ${UNAME_MACHINE}-unknown-ekkobsd${UNAME_RELEASE} exit ;; *:SolidBSD:*:*) echo ${UNAME_MACHINE}-unknown-solidbsd${UNAME_RELEASE} exit ;; macppc:MirBSD:*:*) echo powerpc-unknown-mirbsd${UNAME_RELEASE} exit ;; *:MirBSD:*:*) echo ${UNAME_MACHINE}-unknown-mirbsd${UNAME_RELEASE} exit ;; alpha:OSF1:*:*) case $UNAME_RELEASE in *4.0) UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'` ;; *5.*) UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $4}'` ;; esac # According to Compaq, /usr/sbin/psrinfo has been available on # OSF/1 and Tru64 systems produced since 1995. I hope that # covers most systems running today. This code pipes the CPU # types through head -n 1, so we only detect the type of CPU 0. ALPHA_CPU_TYPE=`/usr/sbin/psrinfo -v | sed -n -e 's/^ The alpha \(.*\) processor.*$/\1/p' | head -n 1` case "$ALPHA_CPU_TYPE" in "EV4 (21064)") UNAME_MACHINE="alpha" ;; "EV4.5 (21064)") UNAME_MACHINE="alpha" ;; "LCA4 (21066/21068)") UNAME_MACHINE="alpha" ;; "EV5 (21164)") UNAME_MACHINE="alphaev5" ;; "EV5.6 (21164A)") UNAME_MACHINE="alphaev56" ;; "EV5.6 (21164PC)") UNAME_MACHINE="alphapca56" ;; "EV5.7 (21164PC)") UNAME_MACHINE="alphapca57" ;; "EV6 (21264)") UNAME_MACHINE="alphaev6" ;; "EV6.7 (21264A)") UNAME_MACHINE="alphaev67" ;; "EV6.8CB (21264C)") UNAME_MACHINE="alphaev68" ;; "EV6.8AL (21264B)") UNAME_MACHINE="alphaev68" ;; "EV6.8CX (21264D)") UNAME_MACHINE="alphaev68" ;; "EV6.9A (21264/EV69A)") UNAME_MACHINE="alphaev69" ;; "EV7 (21364)") UNAME_MACHINE="alphaev7" ;; "EV7.9 (21364A)") UNAME_MACHINE="alphaev79" ;; esac # A Pn.n version is a patched version. # A Vn.n version is a released version. # A Tn.n version is a released field test version. # A Xn.n version is an unreleased experimental baselevel. # 1.2 uses "1.2" for uname -r. echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[PVTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'` exit ;; Alpha\ *:Windows_NT*:*) # How do we know it's Interix rather than the generic POSIX subsystem? # Should we change UNAME_MACHINE based on the output of uname instead # of the specific Alpha model? echo alpha-pc-interix exit ;; 21064:Windows_NT:50:3) echo alpha-dec-winnt3.5 exit ;; Amiga*:UNIX_System_V:4.0:*) echo m68k-unknown-sysv4 exit ;; *:[Aa]miga[Oo][Ss]:*:*) echo ${UNAME_MACHINE}-unknown-amigaos exit ;; *:[Mm]orph[Oo][Ss]:*:*) echo ${UNAME_MACHINE}-unknown-morphos exit ;; *:OS/390:*:*) echo i370-ibm-openedition exit ;; *:z/VM:*:*) echo s390-ibm-zvmoe exit ;; *:OS400:*:*) echo powerpc-ibm-os400 exit ;; arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*) echo arm-acorn-riscix${UNAME_RELEASE} exit ;; arm:riscos:*:*|arm:RISCOS:*:*) echo arm-unknown-riscos exit ;; SR2?01:HI-UX/MPP:*:* | SR8000:HI-UX/MPP:*:*) echo hppa1.1-hitachi-hiuxmpp exit ;; Pyramid*:OSx*:*:* | MIS*:OSx*:*:* | MIS*:SMP_DC-OSx*:*:*) # akee@wpdis03.wpafb.af.mil (Earle F. Ake) contributed MIS and NILE. if test "`(/bin/universe) 2>/dev/null`" = att ; then echo pyramid-pyramid-sysv3 else echo pyramid-pyramid-bsd fi exit ;; NILE*:*:*:dcosx) echo pyramid-pyramid-svr4 exit ;; DRS?6000:unix:4.0:6*) echo sparc-icl-nx6 exit ;; DRS?6000:UNIX_SV:4.2*:7* | DRS?6000:isis:4.2*:7*) case `/usr/bin/uname -p` in sparc) echo sparc-icl-nx7; exit ;; esac ;; sun4H:SunOS:5.*:*) echo sparc-hal-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` exit ;; sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*) echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` exit ;; i86pc:SunOS:5.*:* | i86xen:SunOS:5.*:*) echo i386-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` exit ;; sun4*:SunOS:6*:*) # According to config.sub, this is the proper way to canonicalize # SunOS6. Hard to guess exactly what SunOS6 will be like, but # it's likely to be more like Solaris than SunOS4. echo sparc-sun-solaris3`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` exit ;; sun4*:SunOS:*:*) case "`/usr/bin/arch -k`" in Series*|S4*) UNAME_RELEASE=`uname -v` ;; esac # Japanese Language versions have a version number like `4.1.3-JL'. echo sparc-sun-sunos`echo ${UNAME_RELEASE}|sed -e 's/-/_/'` exit ;; sun3*:SunOS:*:*) echo m68k-sun-sunos${UNAME_RELEASE} exit ;; sun*:*:4.2BSD:*) UNAME_RELEASE=`(sed 1q /etc/motd | awk '{print substr($5,1,3)}') 2>/dev/null` test "x${UNAME_RELEASE}" = "x" && UNAME_RELEASE=3 case "`/bin/arch`" in sun3) echo m68k-sun-sunos${UNAME_RELEASE} ;; sun4) echo sparc-sun-sunos${UNAME_RELEASE} ;; esac exit ;; aushp:SunOS:*:*) echo sparc-auspex-sunos${UNAME_RELEASE} exit ;; # The situation for MiNT is a little confusing. The machine name # can be virtually everything (everything which is not # "atarist" or "atariste" at least should have a processor # > m68000). The system name ranges from "MiNT" over "FreeMiNT" # to the lowercase version "mint" (or "freemint"). Finally # the system name "TOS" denotes a system which is actually not # MiNT. But MiNT is downward compatible to TOS, so this should # be no problem. atarist[e]:*MiNT:*:* | atarist[e]:*mint:*:* | atarist[e]:*TOS:*:*) echo m68k-atari-mint${UNAME_RELEASE} exit ;; atari*:*MiNT:*:* | atari*:*mint:*:* | atarist[e]:*TOS:*:*) echo m68k-atari-mint${UNAME_RELEASE} exit ;; *falcon*:*MiNT:*:* | *falcon*:*mint:*:* | *falcon*:*TOS:*:*) echo m68k-atari-mint${UNAME_RELEASE} exit ;; milan*:*MiNT:*:* | milan*:*mint:*:* | *milan*:*TOS:*:*) echo m68k-milan-mint${UNAME_RELEASE} exit ;; hades*:*MiNT:*:* | hades*:*mint:*:* | *hades*:*TOS:*:*) echo m68k-hades-mint${UNAME_RELEASE} exit ;; *:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*) echo m68k-unknown-mint${UNAME_RELEASE} exit ;; m68k:machten:*:*) echo m68k-apple-machten${UNAME_RELEASE} exit ;; powerpc:machten:*:*) echo powerpc-apple-machten${UNAME_RELEASE} exit ;; RISC*:Mach:*:*) echo mips-dec-mach_bsd4.3 exit ;; RISC*:ULTRIX:*:*) echo mips-dec-ultrix${UNAME_RELEASE} exit ;; VAX*:ULTRIX*:*:*) echo vax-dec-ultrix${UNAME_RELEASE} exit ;; 2020:CLIX:*:* | 2430:CLIX:*:*) echo clipper-intergraph-clix${UNAME_RELEASE} exit ;; mips:*:*:UMIPS | mips:*:*:RISCos) eval $set_cc_for_build sed 's/^ //' << EOF >$dummy.c #ifdef __cplusplus #include /* for printf() prototype */ int main (int argc, char *argv[]) { #else int main (argc, argv) int argc; char *argv[]; { #endif #if defined (host_mips) && defined (MIPSEB) #if defined (SYSTYPE_SYSV) printf ("mips-mips-riscos%ssysv\n", argv[1]); exit (0); #endif #if defined (SYSTYPE_SVR4) printf ("mips-mips-riscos%ssvr4\n", argv[1]); exit (0); #endif #if defined (SYSTYPE_BSD43) || defined(SYSTYPE_BSD) printf ("mips-mips-riscos%sbsd\n", argv[1]); exit (0); #endif #endif exit (-1); } EOF $CC_FOR_BUILD -o $dummy $dummy.c && dummyarg=`echo "${UNAME_RELEASE}" | sed -n 's/\([0-9]*\).*/\1/p'` && SYSTEM_NAME=`$dummy $dummyarg` && { echo "$SYSTEM_NAME"; exit; } echo mips-mips-riscos${UNAME_RELEASE} exit ;; Motorola:PowerMAX_OS:*:*) echo powerpc-motorola-powermax exit ;; Motorola:*:4.3:PL8-*) echo powerpc-harris-powermax exit ;; Night_Hawk:*:*:PowerMAX_OS | Synergy:PowerMAX_OS:*:*) echo powerpc-harris-powermax exit ;; Night_Hawk:Power_UNIX:*:*) echo powerpc-harris-powerunix exit ;; m88k:CX/UX:7*:*) echo m88k-harris-cxux7 exit ;; m88k:*:4*:R4*) echo m88k-motorola-sysv4 exit ;; m88k:*:3*:R3*) echo m88k-motorola-sysv3 exit ;; AViiON:dgux:*:*) # DG/UX returns AViiON for all architectures UNAME_PROCESSOR=`/usr/bin/uname -p` if [ $UNAME_PROCESSOR = mc88100 ] || [ $UNAME_PROCESSOR = mc88110 ] then if [ ${TARGET_BINARY_INTERFACE}x = m88kdguxelfx ] || \ [ ${TARGET_BINARY_INTERFACE}x = x ] then echo m88k-dg-dgux${UNAME_RELEASE} else echo m88k-dg-dguxbcs${UNAME_RELEASE} fi else echo i586-dg-dgux${UNAME_RELEASE} fi exit ;; M88*:DolphinOS:*:*) # DolphinOS (SVR3) echo m88k-dolphin-sysv3 exit ;; M88*:*:R3*:*) # Delta 88k system running SVR3 echo m88k-motorola-sysv3 exit ;; XD88*:*:*:*) # Tektronix XD88 system running UTekV (SVR3) echo m88k-tektronix-sysv3 exit ;; Tek43[0-9][0-9]:UTek:*:*) # Tektronix 4300 system running UTek (BSD) echo m68k-tektronix-bsd exit ;; *:IRIX*:*:*) echo mips-sgi-irix`echo ${UNAME_RELEASE}|sed -e 's/-/_/g'` exit ;; ????????:AIX?:[12].1:2) # AIX 2.2.1 or AIX 2.1.1 is RT/PC AIX. echo romp-ibm-aix # uname -m gives an 8 hex-code CPU id exit ;; # Note that: echo "'`uname -s`'" gives 'AIX ' i*86:AIX:*:*) echo i386-ibm-aix exit ;; ia64:AIX:*:*) if [ -x /usr/bin/oslevel ] ; then IBM_REV=`/usr/bin/oslevel` else IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE} fi echo ${UNAME_MACHINE}-ibm-aix${IBM_REV} exit ;; *:AIX:2:3) if grep bos325 /usr/include/stdio.h >/dev/null 2>&1; then eval $set_cc_for_build sed 's/^ //' << EOF >$dummy.c #include main() { if (!__power_pc()) exit(1); puts("powerpc-ibm-aix3.2.5"); exit(0); } EOF if $CC_FOR_BUILD -o $dummy $dummy.c && SYSTEM_NAME=`$dummy` then echo "$SYSTEM_NAME" else echo rs6000-ibm-aix3.2.5 fi elif grep bos324 /usr/include/stdio.h >/dev/null 2>&1; then echo rs6000-ibm-aix3.2.4 else echo rs6000-ibm-aix3.2 fi exit ;; *:AIX:*:[45]) IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'` if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then IBM_ARCH=rs6000 else IBM_ARCH=powerpc fi if [ -x /usr/bin/oslevel ] ; then IBM_REV=`/usr/bin/oslevel` else IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE} fi echo ${IBM_ARCH}-ibm-aix${IBM_REV} exit ;; *:AIX:*:*) echo rs6000-ibm-aix exit ;; ibmrt:4.4BSD:*|romp-ibm:BSD:*) echo romp-ibm-bsd4.4 exit ;; ibmrt:*BSD:*|romp-ibm:BSD:*) # covers RT/PC BSD and echo romp-ibm-bsd${UNAME_RELEASE} # 4.3 with uname added to exit ;; # report: romp-ibm BSD 4.3 *:BOSX:*:*) echo rs6000-bull-bosx exit ;; DPX/2?00:B.O.S.:*:*) echo m68k-bull-sysv3 exit ;; 9000/[34]??:4.3bsd:1.*:*) echo m68k-hp-bsd exit ;; hp300:4.4BSD:*:* | 9000/[34]??:4.3bsd:2.*:*) echo m68k-hp-bsd4.4 exit ;; 9000/[34678]??:HP-UX:*:*) HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'` case "${UNAME_MACHINE}" in 9000/31? ) HP_ARCH=m68000 ;; 9000/[34]?? ) HP_ARCH=m68k ;; 9000/[678][0-9][0-9]) if [ -x /usr/bin/getconf ]; then sc_cpu_version=`/usr/bin/getconf SC_CPU_VERSION 2>/dev/null` sc_kernel_bits=`/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null` case "${sc_cpu_version}" in 523) HP_ARCH="hppa1.0" ;; # CPU_PA_RISC1_0 528) HP_ARCH="hppa1.1" ;; # CPU_PA_RISC1_1 532) # CPU_PA_RISC2_0 case "${sc_kernel_bits}" in 32) HP_ARCH="hppa2.0n" ;; 64) HP_ARCH="hppa2.0w" ;; '') HP_ARCH="hppa2.0" ;; # HP-UX 10.20 esac ;; esac fi if [ "${HP_ARCH}" = "" ]; then eval $set_cc_for_build sed 's/^ //' << EOF >$dummy.c #define _HPUX_SOURCE #include #include int main () { #if defined(_SC_KERNEL_BITS) long bits = sysconf(_SC_KERNEL_BITS); #endif long cpu = sysconf (_SC_CPU_VERSION); switch (cpu) { case CPU_PA_RISC1_0: puts ("hppa1.0"); break; case CPU_PA_RISC1_1: puts ("hppa1.1"); break; case CPU_PA_RISC2_0: #if defined(_SC_KERNEL_BITS) switch (bits) { case 64: puts ("hppa2.0w"); break; case 32: puts ("hppa2.0n"); break; default: puts ("hppa2.0"); break; } break; #else /* !defined(_SC_KERNEL_BITS) */ puts ("hppa2.0"); break; #endif default: puts ("hppa1.0"); break; } exit (0); } EOF (CCOPTS= $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null) && HP_ARCH=`$dummy` test -z "$HP_ARCH" && HP_ARCH=hppa fi ;; esac if [ ${HP_ARCH} = "hppa2.0w" ] then eval $set_cc_for_build # hppa2.0w-hp-hpux* has a 64-bit kernel and a compiler generating # 32-bit code. hppa64-hp-hpux* has the same kernel and a compiler # generating 64-bit code. GNU and HP use different nomenclature: # # $ CC_FOR_BUILD=cc ./config.guess # => hppa2.0w-hp-hpux11.23 # $ CC_FOR_BUILD="cc +DA2.0w" ./config.guess # => hppa64-hp-hpux11.23 if echo __LP64__ | (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | grep __LP64__ >/dev/null then HP_ARCH="hppa2.0w" else HP_ARCH="hppa64" fi fi echo ${HP_ARCH}-hp-hpux${HPUX_REV} exit ;; ia64:HP-UX:*:*) HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'` echo ia64-hp-hpux${HPUX_REV} exit ;; 3050*:HI-UX:*:*) eval $set_cc_for_build sed 's/^ //' << EOF >$dummy.c #include int main () { long cpu = sysconf (_SC_CPU_VERSION); /* The order matters, because CPU_IS_HP_MC68K erroneously returns true for CPU_PA_RISC1_0. CPU_IS_PA_RISC returns correct results, however. */ if (CPU_IS_PA_RISC (cpu)) { switch (cpu) { case CPU_PA_RISC1_0: puts ("hppa1.0-hitachi-hiuxwe2"); break; case CPU_PA_RISC1_1: puts ("hppa1.1-hitachi-hiuxwe2"); break; case CPU_PA_RISC2_0: puts ("hppa2.0-hitachi-hiuxwe2"); break; default: puts ("hppa-hitachi-hiuxwe2"); break; } } else if (CPU_IS_HP_MC68K (cpu)) puts ("m68k-hitachi-hiuxwe2"); else puts ("unknown-hitachi-hiuxwe2"); exit (0); } EOF $CC_FOR_BUILD -o $dummy $dummy.c && SYSTEM_NAME=`$dummy` && { echo "$SYSTEM_NAME"; exit; } echo unknown-hitachi-hiuxwe2 exit ;; 9000/7??:4.3bsd:*:* | 9000/8?[79]:4.3bsd:*:* ) echo hppa1.1-hp-bsd exit ;; 9000/8??:4.3bsd:*:*) echo hppa1.0-hp-bsd exit ;; *9??*:MPE/iX:*:* | *3000*:MPE/iX:*:*) echo hppa1.0-hp-mpeix exit ;; hp7??:OSF1:*:* | hp8?[79]:OSF1:*:* ) echo hppa1.1-hp-osf exit ;; hp8??:OSF1:*:*) echo hppa1.0-hp-osf exit ;; i*86:OSF1:*:*) if [ -x /usr/sbin/sysversion ] ; then echo ${UNAME_MACHINE}-unknown-osf1mk else echo ${UNAME_MACHINE}-unknown-osf1 fi exit ;; parisc*:Lites*:*:*) echo hppa1.1-hp-lites exit ;; C1*:ConvexOS:*:* | convex:ConvexOS:C1*:*) echo c1-convex-bsd exit ;; C2*:ConvexOS:*:* | convex:ConvexOS:C2*:*) if getsysinfo -f scalar_acc then echo c32-convex-bsd else echo c2-convex-bsd fi exit ;; C34*:ConvexOS:*:* | convex:ConvexOS:C34*:*) echo c34-convex-bsd exit ;; C38*:ConvexOS:*:* | convex:ConvexOS:C38*:*) echo c38-convex-bsd exit ;; C4*:ConvexOS:*:* | convex:ConvexOS:C4*:*) echo c4-convex-bsd exit ;; CRAY*Y-MP:*:*:*) echo ymp-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' exit ;; CRAY*[A-Z]90:*:*:*) echo ${UNAME_MACHINE}-cray-unicos${UNAME_RELEASE} \ | sed -e 's/CRAY.*\([A-Z]90\)/\1/' \ -e y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/ \ -e 's/\.[^.]*$/.X/' exit ;; CRAY*TS:*:*:*) echo t90-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' exit ;; CRAY*T3E:*:*:*) echo alphaev5-cray-unicosmk${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' exit ;; CRAY*SV1:*:*:*) echo sv1-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' exit ;; *:UNICOS/mp:*:*) echo craynv-cray-unicosmp${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' exit ;; F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*) FUJITSU_PROC=`uname -m | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'` FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'` FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'` echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" exit ;; 5000:UNIX_System_V:4.*:*) FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'` FUJITSU_REL=`echo ${UNAME_RELEASE} | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/ /_/'` echo "sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" exit ;; i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*) echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE} exit ;; sparc*:BSD/OS:*:*) echo sparc-unknown-bsdi${UNAME_RELEASE} exit ;; *:BSD/OS:*:*) echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE} exit ;; *:FreeBSD:*:*) case ${UNAME_MACHINE} in pc98) echo i386-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;; amd64) echo x86_64-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;; *) echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;; esac exit ;; i*:CYGWIN*:*) echo ${UNAME_MACHINE}-pc-cygwin exit ;; *:MINGW*:*) echo ${UNAME_MACHINE}-pc-mingw32 exit ;; i*:windows32*:*) # uname -m includes "-pc" on this system. echo ${UNAME_MACHINE}-mingw32 exit ;; i*:PW*:*) echo ${UNAME_MACHINE}-pc-pw32 exit ;; *:Interix*:[3456]*) case ${UNAME_MACHINE} in x86) echo i586-pc-interix${UNAME_RELEASE} exit ;; EM64T | authenticamd) echo x86_64-unknown-interix${UNAME_RELEASE} exit ;; esac ;; [345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*) echo i${UNAME_MACHINE}-pc-mks exit ;; i*:Windows_NT*:* | Pentium*:Windows_NT*:*) # How do we know it's Interix rather than the generic POSIX subsystem? # It also conflicts with pre-2.0 versions of AT&T UWIN. Should we # UNAME_MACHINE based on the output of uname instead of i386? echo i586-pc-interix exit ;; i*:UWIN*:*) echo ${UNAME_MACHINE}-pc-uwin exit ;; amd64:CYGWIN*:*:* | x86_64:CYGWIN*:*:*) echo x86_64-unknown-cygwin exit ;; p*:CYGWIN*:*) echo powerpcle-unknown-cygwin exit ;; prep*:SunOS:5.*:*) echo powerpcle-unknown-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` exit ;; *:GNU:*:*) # the GNU system echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-gnu`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'` exit ;; *:GNU/*:*:*) # other systems with GNU libc and userland echo ${UNAME_MACHINE}-unknown-`echo ${UNAME_SYSTEM} | sed 's,^[^/]*/,,' | tr '[A-Z]' '[a-z]'``echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`-gnu exit ;; i*86:Minix:*:*) echo ${UNAME_MACHINE}-pc-minix exit ;; arm*:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-gnu exit ;; avr32*:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-gnu exit ;; cris:Linux:*:*) echo cris-axis-linux-gnu exit ;; crisv32:Linux:*:*) echo crisv32-axis-linux-gnu exit ;; frv:Linux:*:*) echo frv-unknown-linux-gnu exit ;; ia64:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-gnu exit ;; m32r*:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-gnu exit ;; m68*:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-gnu exit ;; mips:Linux:*:*) eval $set_cc_for_build sed 's/^ //' << EOF >$dummy.c #undef CPU #undef mips #undef mipsel #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL) CPU=mipsel #else #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB) CPU=mips #else CPU= #endif #endif EOF eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n ' /^CPU/{ s: ::g p }'`" test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; } ;; mips64:Linux:*:*) eval $set_cc_for_build sed 's/^ //' << EOF >$dummy.c #undef CPU #undef mips64 #undef mips64el #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL) CPU=mips64el #else #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB) CPU=mips64 #else CPU= #endif #endif EOF eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n ' /^CPU/{ s: ::g p }'`" test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; } ;; or32:Linux:*:*) echo or32-unknown-linux-gnu exit ;; ppc:Linux:*:*) echo powerpc-unknown-linux-gnu exit ;; ppc64:Linux:*:*) echo powerpc64-unknown-linux-gnu exit ;; alpha:Linux:*:*) case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in EV5) UNAME_MACHINE=alphaev5 ;; EV56) UNAME_MACHINE=alphaev56 ;; PCA56) UNAME_MACHINE=alphapca56 ;; PCA57) UNAME_MACHINE=alphapca56 ;; EV6) UNAME_MACHINE=alphaev6 ;; EV67) UNAME_MACHINE=alphaev67 ;; EV68*) UNAME_MACHINE=alphaev68 ;; esac objdump --private-headers /bin/sh | grep ld.so.1 >/dev/null if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC} exit ;; parisc:Linux:*:* | hppa:Linux:*:*) # Look for CPU level case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in PA7*) echo hppa1.1-unknown-linux-gnu ;; PA8*) echo hppa2.0-unknown-linux-gnu ;; *) echo hppa-unknown-linux-gnu ;; esac exit ;; parisc64:Linux:*:* | hppa64:Linux:*:*) echo hppa64-unknown-linux-gnu exit ;; s390:Linux:*:* | s390x:Linux:*:*) echo ${UNAME_MACHINE}-ibm-linux exit ;; sh64*:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-gnu exit ;; sh*:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-gnu exit ;; sparc:Linux:*:* | sparc64:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-gnu exit ;; vax:Linux:*:*) echo ${UNAME_MACHINE}-dec-linux-gnu exit ;; x86_64:Linux:*:*) echo x86_64-unknown-linux-gnu exit ;; xtensa:Linux:*:*) echo xtensa-unknown-linux-gnu exit ;; i*86:Linux:*:*) # The BFD linker knows what the default object file format is, so # first see if it will tell us. cd to the root directory to prevent # problems with other programs or directories called `ld' in the path. # Set LC_ALL=C to ensure ld outputs messages in English. ld_supported_targets=`cd /; LC_ALL=C ld --help 2>&1 \ | sed -ne '/supported targets:/!d s/[ ][ ]*/ /g s/.*supported targets: *// s/ .*// p'` case "$ld_supported_targets" in elf32-i386) TENTATIVE="${UNAME_MACHINE}-pc-linux-gnu" ;; a.out-i386-linux) echo "${UNAME_MACHINE}-pc-linux-gnuaout" exit ;; coff-i386) echo "${UNAME_MACHINE}-pc-linux-gnucoff" exit ;; "") # Either a pre-BFD a.out linker (linux-gnuoldld) or # one that does not give us useful --help. echo "${UNAME_MACHINE}-pc-linux-gnuoldld" exit ;; esac # Determine whether the default compiler is a.out or elf eval $set_cc_for_build sed 's/^ //' << EOF >$dummy.c #include #ifdef __ELF__ # ifdef __GLIBC__ # if __GLIBC__ >= 2 LIBC=gnu # else LIBC=gnulibc1 # endif # else LIBC=gnulibc1 # endif #else #if defined(__INTEL_COMPILER) || defined(__PGI) || defined(__SUNPRO_C) || defined(__SUNPRO_CC) LIBC=gnu #else LIBC=gnuaout #endif #endif #ifdef __dietlibc__ LIBC=dietlibc #endif EOF eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n ' /^LIBC/{ s: ::g p }'`" test x"${LIBC}" != x && { echo "${UNAME_MACHINE}-pc-linux-${LIBC}" exit } test x"${TENTATIVE}" != x && { echo "${TENTATIVE}"; exit; } ;; i*86:DYNIX/ptx:4*:*) # ptx 4.0 does uname -s correctly, with DYNIX/ptx in there. # earlier versions are messed up and put the nodename in both # sysname and nodename. echo i386-sequent-sysv4 exit ;; i*86:UNIX_SV:4.2MP:2.*) # Unixware is an offshoot of SVR4, but it has its own version # number series starting with 2... # I am not positive that other SVR4 systems won't match this, # I just have to hope. -- rms. # Use sysv4.2uw... so that sysv4* matches it. echo ${UNAME_MACHINE}-pc-sysv4.2uw${UNAME_VERSION} exit ;; i*86:OS/2:*:*) # If we were able to find `uname', then EMX Unix compatibility # is probably installed. echo ${UNAME_MACHINE}-pc-os2-emx exit ;; i*86:XTS-300:*:STOP) echo ${UNAME_MACHINE}-unknown-stop exit ;; i*86:atheos:*:*) echo ${UNAME_MACHINE}-unknown-atheos exit ;; i*86:syllable:*:*) echo ${UNAME_MACHINE}-pc-syllable exit ;; i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.0*:*) echo i386-unknown-lynxos${UNAME_RELEASE} exit ;; i*86:*DOS:*:*) echo ${UNAME_MACHINE}-pc-msdosdjgpp exit ;; i*86:*:4.*:* | i*86:SYSTEM_V:4.*:*) UNAME_REL=`echo ${UNAME_RELEASE} | sed 's/\/MP$//'` if grep Novell /usr/include/link.h >/dev/null 2>/dev/null; then echo ${UNAME_MACHINE}-univel-sysv${UNAME_REL} else echo ${UNAME_MACHINE}-pc-sysv${UNAME_REL} fi exit ;; i*86:*:5:[678]*) # UnixWare 7.x, OpenUNIX and OpenServer 6. case `/bin/uname -X | grep "^Machine"` in *486*) UNAME_MACHINE=i486 ;; *Pentium) UNAME_MACHINE=i586 ;; *Pent*|*Celeron) UNAME_MACHINE=i686 ;; esac echo ${UNAME_MACHINE}-unknown-sysv${UNAME_RELEASE}${UNAME_SYSTEM}${UNAME_VERSION} exit ;; i*86:*:3.2:*) if test -f /usr/options/cb.name; then UNAME_REL=`sed -n 's/.*Version //p' /dev/null >/dev/null ; then UNAME_REL=`(/bin/uname -X|grep Release|sed -e 's/.*= //')` (/bin/uname -X|grep i80486 >/dev/null) && UNAME_MACHINE=i486 (/bin/uname -X|grep '^Machine.*Pentium' >/dev/null) \ && UNAME_MACHINE=i586 (/bin/uname -X|grep '^Machine.*Pent *II' >/dev/null) \ && UNAME_MACHINE=i686 (/bin/uname -X|grep '^Machine.*Pentium Pro' >/dev/null) \ && UNAME_MACHINE=i686 echo ${UNAME_MACHINE}-pc-sco$UNAME_REL else echo ${UNAME_MACHINE}-pc-sysv32 fi exit ;; pc:*:*:*) # Left here for compatibility: # uname -m prints for DJGPP always 'pc', but it prints nothing about # the processor, so we play safe by assuming i386. echo i386-pc-msdosdjgpp exit ;; Intel:Mach:3*:*) echo i386-pc-mach3 exit ;; paragon:*:*:*) echo i860-intel-osf1 exit ;; i860:*:4.*:*) # i860-SVR4 if grep Stardent /usr/include/sys/uadmin.h >/dev/null 2>&1 ; then echo i860-stardent-sysv${UNAME_RELEASE} # Stardent Vistra i860-SVR4 else # Add other i860-SVR4 vendors below as they are discovered. echo i860-unknown-sysv${UNAME_RELEASE} # Unknown i860-SVR4 fi exit ;; mini*:CTIX:SYS*5:*) # "miniframe" echo m68010-convergent-sysv exit ;; mc68k:UNIX:SYSTEM5:3.51m) echo m68k-convergent-sysv exit ;; M680?0:D-NIX:5.3:*) echo m68k-diab-dnix exit ;; M68*:*:R3V[5678]*:*) test -r /sysV68 && { echo 'm68k-motorola-sysv'; exit; } ;; 3[345]??:*:4.0:3.0 | 3[34]??A:*:4.0:3.0 | 3[34]??,*:*:4.0:3.0 | 3[34]??/*:*:4.0:3.0 | 4400:*:4.0:3.0 | 4850:*:4.0:3.0 | SKA40:*:4.0:3.0 | SDS2:*:4.0:3.0 | SHG2:*:4.0:3.0 | S7501*:*:4.0:3.0) OS_REL='' test -r /etc/.relid \ && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid` /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ && { echo i486-ncr-sysv4.3${OS_REL}; exit; } /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \ && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;; 3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*) /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ && { echo i486-ncr-sysv4; exit; } ;; m68*:LynxOS:2.*:* | m68*:LynxOS:3.0*:*) echo m68k-unknown-lynxos${UNAME_RELEASE} exit ;; mc68030:UNIX_System_V:4.*:*) echo m68k-atari-sysv4 exit ;; TSUNAMI:LynxOS:2.*:*) echo sparc-unknown-lynxos${UNAME_RELEASE} exit ;; rs6000:LynxOS:2.*:*) echo rs6000-unknown-lynxos${UNAME_RELEASE} exit ;; PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.0*:*) echo powerpc-unknown-lynxos${UNAME_RELEASE} exit ;; SM[BE]S:UNIX_SV:*:*) echo mips-dde-sysv${UNAME_RELEASE} exit ;; RM*:ReliantUNIX-*:*:*) echo mips-sni-sysv4 exit ;; RM*:SINIX-*:*:*) echo mips-sni-sysv4 exit ;; *:SINIX-*:*:*) if uname -p 2>/dev/null >/dev/null ; then UNAME_MACHINE=`(uname -p) 2>/dev/null` echo ${UNAME_MACHINE}-sni-sysv4 else echo ns32k-sni-sysv fi exit ;; PENTIUM:*:4.0*:*) # Unisys `ClearPath HMP IX 4000' SVR4/MP effort # says echo i586-unisys-sysv4 exit ;; *:UNIX_System_V:4*:FTX*) # From Gerald Hewes . # How about differentiating between stratus architectures? -djm echo hppa1.1-stratus-sysv4 exit ;; *:*:*:FTX*) # From seanf@swdc.stratus.com. echo i860-stratus-sysv4 exit ;; i*86:VOS:*:*) # From Paul.Green@stratus.com. echo ${UNAME_MACHINE}-stratus-vos exit ;; *:VOS:*:*) # From Paul.Green@stratus.com. echo hppa1.1-stratus-vos exit ;; mc68*:A/UX:*:*) echo m68k-apple-aux${UNAME_RELEASE} exit ;; news*:NEWS-OS:6*:*) echo mips-sony-newsos6 exit ;; R[34]000:*System_V*:*:* | R4000:UNIX_SYSV:*:* | R*000:UNIX_SV:*:*) if [ -d /usr/nec ]; then echo mips-nec-sysv${UNAME_RELEASE} else echo mips-unknown-sysv${UNAME_RELEASE} fi exit ;; BeBox:BeOS:*:*) # BeOS running on hardware made by Be, PPC only. echo powerpc-be-beos exit ;; BeMac:BeOS:*:*) # BeOS running on Mac or Mac clone, PPC only. echo powerpc-apple-beos exit ;; BePC:BeOS:*:*) # BeOS running on Intel PC compatible. echo i586-pc-beos exit ;; SX-4:SUPER-UX:*:*) echo sx4-nec-superux${UNAME_RELEASE} exit ;; SX-5:SUPER-UX:*:*) echo sx5-nec-superux${UNAME_RELEASE} exit ;; SX-6:SUPER-UX:*:*) echo sx6-nec-superux${UNAME_RELEASE} exit ;; SX-7:SUPER-UX:*:*) echo sx7-nec-superux${UNAME_RELEASE} exit ;; SX-8:SUPER-UX:*:*) echo sx8-nec-superux${UNAME_RELEASE} exit ;; SX-8R:SUPER-UX:*:*) echo sx8r-nec-superux${UNAME_RELEASE} exit ;; Power*:Rhapsody:*:*) echo powerpc-apple-rhapsody${UNAME_RELEASE} exit ;; *:Rhapsody:*:*) echo ${UNAME_MACHINE}-apple-rhapsody${UNAME_RELEASE} exit ;; *:Darwin:*:*) UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown case $UNAME_PROCESSOR in unknown) UNAME_PROCESSOR=powerpc ;; esac echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE} exit ;; *:procnto*:*:* | *:QNX:[0123456789]*:*) UNAME_PROCESSOR=`uname -p` if test "$UNAME_PROCESSOR" = "x86"; then UNAME_PROCESSOR=i386 UNAME_MACHINE=pc fi echo ${UNAME_PROCESSOR}-${UNAME_MACHINE}-nto-qnx${UNAME_RELEASE} exit ;; *:QNX:*:4*) echo i386-pc-qnx exit ;; NSE-?:NONSTOP_KERNEL:*:*) echo nse-tandem-nsk${UNAME_RELEASE} exit ;; NSR-?:NONSTOP_KERNEL:*:*) echo nsr-tandem-nsk${UNAME_RELEASE} exit ;; *:NonStop-UX:*:*) echo mips-compaq-nonstopux exit ;; BS2000:POSIX*:*:*) echo bs2000-siemens-sysv exit ;; DS/*:UNIX_System_V:*:*) echo ${UNAME_MACHINE}-${UNAME_SYSTEM}-${UNAME_RELEASE} exit ;; *:Plan9:*:*) # "uname -m" is not consistent, so use $cputype instead. 386 # is converted to i386 for consistency with other x86 # operating systems. if test "$cputype" = "386"; then UNAME_MACHINE=i386 else UNAME_MACHINE="$cputype" fi echo ${UNAME_MACHINE}-unknown-plan9 exit ;; *:TOPS-10:*:*) echo pdp10-unknown-tops10 exit ;; *:TENEX:*:*) echo pdp10-unknown-tenex exit ;; KS10:TOPS-20:*:* | KL10:TOPS-20:*:* | TYPE4:TOPS-20:*:*) echo pdp10-dec-tops20 exit ;; XKL-1:TOPS-20:*:* | TYPE5:TOPS-20:*:*) echo pdp10-xkl-tops20 exit ;; *:TOPS-20:*:*) echo pdp10-unknown-tops20 exit ;; *:ITS:*:*) echo pdp10-unknown-its exit ;; SEI:*:*:SEIUX) echo mips-sei-seiux${UNAME_RELEASE} exit ;; *:DragonFly:*:*) echo ${UNAME_MACHINE}-unknown-dragonfly`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` exit ;; *:*VMS:*:*) UNAME_MACHINE=`(uname -p) 2>/dev/null` case "${UNAME_MACHINE}" in A*) echo alpha-dec-vms ; exit ;; I*) echo ia64-dec-vms ; exit ;; V*) echo vax-dec-vms ; exit ;; esac ;; *:XENIX:*:SysV) echo i386-pc-xenix exit ;; i*86:skyos:*:*) echo ${UNAME_MACHINE}-pc-skyos`echo ${UNAME_RELEASE}` | sed -e 's/ .*$//' exit ;; i*86:rdos:*:*) echo ${UNAME_MACHINE}-pc-rdos exit ;; esac #echo '(No uname command or uname output not recognized.)' 1>&2 #echo "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" 1>&2 eval $set_cc_for_build cat >$dummy.c < # include #endif main () { #if defined (sony) #if defined (MIPSEB) /* BFD wants "bsd" instead of "newsos". Perhaps BFD should be changed, I don't know.... */ printf ("mips-sony-bsd\n"); exit (0); #else #include printf ("m68k-sony-newsos%s\n", #ifdef NEWSOS4 "4" #else "" #endif ); exit (0); #endif #endif #if defined (__arm) && defined (__acorn) && defined (__unix) printf ("arm-acorn-riscix\n"); exit (0); #endif #if defined (hp300) && !defined (hpux) printf ("m68k-hp-bsd\n"); exit (0); #endif #if defined (NeXT) #if !defined (__ARCHITECTURE__) #define __ARCHITECTURE__ "m68k" #endif int version; version=`(hostinfo | sed -n 's/.*NeXT Mach \([0-9]*\).*/\1/p') 2>/dev/null`; if (version < 4) printf ("%s-next-nextstep%d\n", __ARCHITECTURE__, version); else printf ("%s-next-openstep%d\n", __ARCHITECTURE__, version); exit (0); #endif #if defined (MULTIMAX) || defined (n16) #if defined (UMAXV) printf ("ns32k-encore-sysv\n"); exit (0); #else #if defined (CMU) printf ("ns32k-encore-mach\n"); exit (0); #else printf ("ns32k-encore-bsd\n"); exit (0); #endif #endif #endif #if defined (__386BSD__) printf ("i386-pc-bsd\n"); exit (0); #endif #if defined (sequent) #if defined (i386) printf ("i386-sequent-dynix\n"); exit (0); #endif #if defined (ns32000) printf ("ns32k-sequent-dynix\n"); exit (0); #endif #endif #if defined (_SEQUENT_) struct utsname un; uname(&un); if (strncmp(un.version, "V2", 2) == 0) { printf ("i386-sequent-ptx2\n"); exit (0); } if (strncmp(un.version, "V1", 2) == 0) { /* XXX is V1 correct? */ printf ("i386-sequent-ptx1\n"); exit (0); } printf ("i386-sequent-ptx\n"); exit (0); #endif #if defined (vax) # if !defined (ultrix) # include # if defined (BSD) # if BSD == 43 printf ("vax-dec-bsd4.3\n"); exit (0); # else # if BSD == 199006 printf ("vax-dec-bsd4.3reno\n"); exit (0); # else printf ("vax-dec-bsd\n"); exit (0); # endif # endif # else printf ("vax-dec-bsd\n"); exit (0); # endif # else printf ("vax-dec-ultrix\n"); exit (0); # endif #endif #if defined (alliant) && defined (i860) printf ("i860-alliant-bsd\n"); exit (0); #endif exit (1); } EOF $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null && SYSTEM_NAME=`$dummy` && { echo "$SYSTEM_NAME"; exit; } # Apollos put the system type in the environment. test -d /usr/apollo && { echo ${ISP}-apollo-${SYSTYPE}; exit; } # Convex versions that predate uname can use getsysinfo(1) if [ -x /usr/convex/getsysinfo ] then case `getsysinfo -f cpu_type` in c1*) echo c1-convex-bsd exit ;; c2*) if getsysinfo -f scalar_acc then echo c32-convex-bsd else echo c2-convex-bsd fi exit ;; c34*) echo c34-convex-bsd exit ;; c38*) echo c38-convex-bsd exit ;; c4*) echo c4-convex-bsd exit ;; esac fi cat >&2 < in order to provide the needed information to handle your system. config.guess timestamp = $timestamp uname -m = `(uname -m) 2>/dev/null || echo unknown` uname -r = `(uname -r) 2>/dev/null || echo unknown` uname -s = `(uname -s) 2>/dev/null || echo unknown` uname -v = `(uname -v) 2>/dev/null || echo unknown` /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null` /bin/uname -X = `(/bin/uname -X) 2>/dev/null` hostinfo = `(hostinfo) 2>/dev/null` /bin/universe = `(/bin/universe) 2>/dev/null` /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null` /bin/arch = `(/bin/arch) 2>/dev/null` /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null` /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null` UNAME_MACHINE = ${UNAME_MACHINE} UNAME_RELEASE = ${UNAME_RELEASE} UNAME_SYSTEM = ${UNAME_SYSTEM} UNAME_VERSION = ${UNAME_VERSION} EOF exit 1 # Local variables: # eval: (add-hook 'write-file-hooks 'time-stamp) # time-stamp-start: "timestamp='" # time-stamp-format: "%:y-%02m-%02d" # time-stamp-end: "'" # End: passepartout-0.7.1/config.sub000077500000000000000000000777241140125232500162500ustar00rootroot00000000000000#! /bin/sh # Configuration validation subroutine script. # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, # 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation, # Inc. timestamp='2007-06-28' # This file is (in principle) common to ALL GNU software. # The presence of a machine in this file suggests that SOME GNU software # can handle that machine. It does not imply ALL GNU software can. # # This file 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., 51 Franklin Street - Fifth Floor, Boston, MA # 02110-1301, USA. # # As a special exception to the GNU General Public License, if you # distribute this file as part of a program that contains a # configuration script generated by Autoconf, you may include it under # the same distribution terms that you use for the rest of that program. # Please send patches to . Submit a context # diff and a properly formatted ChangeLog entry. # # Configuration subroutine to validate and canonicalize a configuration type. # Supply the specified configuration type as an argument. # If it is invalid, we print an error message on stderr and exit with code 1. # Otherwise, we print the canonical config type on stdout and succeed. # This file is supposed to be the same for all GNU packages # and recognize all the CPU types, system types and aliases # that are meaningful with *any* GNU software. # Each package is responsible for reporting which valid configurations # it does not support. The user should be able to distinguish # a failure to support a valid configuration from a meaningless # configuration. # The goal of this file is to map all the various variations of a given # machine specification into a single specification in the form: # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM # or in some cases, the newer four-part form: # CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM # It is wrong to echo any other type of specification. me=`echo "$0" | sed -e 's,.*/,,'` usage="\ Usage: $0 [OPTION] CPU-MFR-OPSYS $0 [OPTION] ALIAS Canonicalize a configuration name. Operation modes: -h, --help print this help, then exit -t, --time-stamp print date of last modification, then exit -v, --version print version number, then exit Report bugs and patches to ." version="\ GNU config.sub ($timestamp) Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." help=" Try \`$me --help' for more information." # Parse command line while test $# -gt 0 ; do case $1 in --time-stamp | --time* | -t ) echo "$timestamp" ; exit ;; --version | -v ) echo "$version" ; exit ;; --help | --h* | -h ) echo "$usage"; exit ;; -- ) # Stop option processing shift; break ;; - ) # Use stdin as input. break ;; -* ) echo "$me: invalid option $1$help" exit 1 ;; *local*) # First pass through any local machine types. echo $1 exit ;; * ) break ;; esac done case $# in 0) echo "$me: missing argument$help" >&2 exit 1;; 1) ;; *) echo "$me: too many arguments$help" >&2 exit 1;; esac # Separate what the user gave into CPU-COMPANY and OS or KERNEL-OS (if any). # Here we must recognize all the valid KERNEL-OS combinations. maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'` case $maybe_os in nto-qnx* | linux-gnu* | linux-dietlibc | linux-newlib* | linux-uclibc* | \ uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | \ storm-chaos* | os2-emx* | rtmk-nova*) os=-$maybe_os basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'` ;; *) basic_machine=`echo $1 | sed 's/-[^-]*$//'` if [ $basic_machine != $1 ] then os=`echo $1 | sed 's/.*-/-/'` else os=; fi ;; esac ### Let's recognize common machines as not being operating systems so ### that things like config.sub decstation-3100 work. We also ### recognize some manufacturers as not being operating systems, so we ### can provide default operating systems below. case $os in -sun*os*) # Prevent following clause from handling this invalid input. ;; -dec* | -mips* | -sequent* | -encore* | -pc532* | -sgi* | -sony* | \ -att* | -7300* | -3300* | -delta* | -motorola* | -sun[234]* | \ -unicom* | -ibm* | -next | -hp | -isi* | -apollo | -altos* | \ -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\ -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \ -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \ -apple | -axis | -knuth | -cray) os= basic_machine=$1 ;; -sim | -cisco | -oki | -wec | -winbond) os= basic_machine=$1 ;; -scout) ;; -wrs) os=-vxworks basic_machine=$1 ;; -chorusos*) os=-chorusos basic_machine=$1 ;; -chorusrdb) os=-chorusrdb basic_machine=$1 ;; -hiux*) os=-hiuxwe2 ;; -sco6) os=-sco5v6 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` ;; -sco5) os=-sco3.2v5 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` ;; -sco4) os=-sco3.2v4 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` ;; -sco3.2.[4-9]*) os=`echo $os | sed -e 's/sco3.2./sco3.2v/'` basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` ;; -sco3.2v[4-9]*) # Don't forget version if it is 3.2v4 or newer. basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` ;; -sco5v6*) # Don't forget version if it is 3.2v4 or newer. basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` ;; -sco*) os=-sco3.2v2 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` ;; -udk*) basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` ;; -isc) os=-isc2.2 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` ;; -clix*) basic_machine=clipper-intergraph ;; -isc*) basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` ;; -lynx*) os=-lynxos ;; -ptx*) basic_machine=`echo $1 | sed -e 's/86-.*/86-sequent/'` ;; -windowsnt*) os=`echo $os | sed -e 's/windowsnt/winnt/'` ;; -psos*) os=-psos ;; -mint | -mint[0-9]*) basic_machine=m68k-atari os=-mint ;; esac # Decode aliases for certain CPU-COMPANY combinations. case $basic_machine in # Recognize the basic CPU types without company name. # Some are omitted here because they have special meanings below. 1750a | 580 \ | a29k \ | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \ | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \ | am33_2.0 \ | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr | avr32 \ | bfin \ | c4x | clipper \ | d10v | d30v | dlx | dsp16xx \ | fido | fr30 | frv \ | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \ | i370 | i860 | i960 | ia64 \ | ip2k | iq2000 \ | m32c | m32r | m32rle | m68000 | m68k | m88k \ | maxq | mb | microblaze | mcore | mep \ | mips | mipsbe | mipseb | mipsel | mipsle \ | mips16 \ | mips64 | mips64el \ | mips64vr | mips64vrel \ | mips64orion | mips64orionel \ | mips64vr4100 | mips64vr4100el \ | mips64vr4300 | mips64vr4300el \ | mips64vr5000 | mips64vr5000el \ | mips64vr5900 | mips64vr5900el \ | mipsisa32 | mipsisa32el \ | mipsisa32r2 | mipsisa32r2el \ | mipsisa64 | mipsisa64el \ | mipsisa64r2 | mipsisa64r2el \ | mipsisa64sb1 | mipsisa64sb1el \ | mipsisa64sr71k | mipsisa64sr71kel \ | mipstx39 | mipstx39el \ | mn10200 | mn10300 \ | mt \ | msp430 \ | nios | nios2 \ | ns16k | ns32k \ | or32 \ | pdp10 | pdp11 | pj | pjl \ | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \ | pyramid \ | score \ | sh | sh[1234] | sh[24]a | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \ | sh64 | sh64le \ | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \ | sparcv8 | sparcv9 | sparcv9b | sparcv9v \ | spu | strongarm \ | tahoe | thumb | tic4x | tic80 | tron \ | v850 | v850e \ | we32k \ | x86 | xc16x | xscale | xscalee[bl] | xstormy16 | xtensa \ | z8k) basic_machine=$basic_machine-unknown ;; m6811 | m68hc11 | m6812 | m68hc12) # Motorola 68HC11/12. basic_machine=$basic_machine-unknown os=-none ;; m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65 | z8k) ;; ms1) basic_machine=mt-unknown ;; # We use `pc' rather than `unknown' # because (1) that's what they normally are, and # (2) the word "unknown" tends to confuse beginning users. i*86 | x86_64) basic_machine=$basic_machine-pc ;; # Object if more than one company name word. *-*-*) echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2 exit 1 ;; # Recognize the basic CPU types with company name. 580-* \ | a29k-* \ | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \ | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \ | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \ | arm-* | armbe-* | armle-* | armeb-* | armv*-* \ | avr-* | avr32-* \ | bfin-* | bs2000-* \ | c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* | c55x-* | c6x-* \ | clipper-* | craynv-* | cydra-* \ | d10v-* | d30v-* | dlx-* \ | elxsi-* \ | f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \ | h8300-* | h8500-* \ | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \ | i*86-* | i860-* | i960-* | ia64-* \ | ip2k-* | iq2000-* \ | m32c-* | m32r-* | m32rle-* \ | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \ | m88110-* | m88k-* | maxq-* | mcore-* \ | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \ | mips16-* \ | mips64-* | mips64el-* \ | mips64vr-* | mips64vrel-* \ | mips64orion-* | mips64orionel-* \ | mips64vr4100-* | mips64vr4100el-* \ | mips64vr4300-* | mips64vr4300el-* \ | mips64vr5000-* | mips64vr5000el-* \ | mips64vr5900-* | mips64vr5900el-* \ | mipsisa32-* | mipsisa32el-* \ | mipsisa32r2-* | mipsisa32r2el-* \ | mipsisa64-* | mipsisa64el-* \ | mipsisa64r2-* | mipsisa64r2el-* \ | mipsisa64sb1-* | mipsisa64sb1el-* \ | mipsisa64sr71k-* | mipsisa64sr71kel-* \ | mipstx39-* | mipstx39el-* \ | mmix-* \ | mt-* \ | msp430-* \ | nios-* | nios2-* \ | none-* | np1-* | ns16k-* | ns32k-* \ | orion-* \ | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \ | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \ | pyramid-* \ | romp-* | rs6000-* \ | sh-* | sh[1234]-* | sh[24]a-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \ | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \ | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \ | sparclite-* \ | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | strongarm-* | sv1-* | sx?-* \ | tahoe-* | thumb-* \ | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \ | tron-* \ | v850-* | v850e-* | vax-* \ | we32k-* \ | x86-* | x86_64-* | xc16x-* | xps100-* | xscale-* | xscalee[bl]-* \ | xstormy16-* | xtensa-* \ | ymp-* \ | z8k-*) ;; # Recognize the various machine names and aliases which stand # for a CPU type and a company and sometimes even an OS. 386bsd) basic_machine=i386-unknown os=-bsd ;; 3b1 | 7300 | 7300-att | att-7300 | pc7300 | safari | unixpc) basic_machine=m68000-att ;; 3b*) basic_machine=we32k-att ;; a29khif) basic_machine=a29k-amd os=-udi ;; abacus) basic_machine=abacus-unknown ;; adobe68k) basic_machine=m68010-adobe os=-scout ;; alliant | fx80) basic_machine=fx80-alliant ;; altos | altos3068) basic_machine=m68k-altos ;; am29k) basic_machine=a29k-none os=-bsd ;; amd64) basic_machine=x86_64-pc ;; amd64-*) basic_machine=x86_64-`echo $basic_machine | sed 's/^[^-]*-//'` ;; amdahl) basic_machine=580-amdahl os=-sysv ;; amiga | amiga-*) basic_machine=m68k-unknown ;; amigaos | amigados) basic_machine=m68k-unknown os=-amigaos ;; amigaunix | amix) basic_machine=m68k-unknown os=-sysv4 ;; apollo68) basic_machine=m68k-apollo os=-sysv ;; apollo68bsd) basic_machine=m68k-apollo os=-bsd ;; aux) basic_machine=m68k-apple os=-aux ;; balance) basic_machine=ns32k-sequent os=-dynix ;; c90) basic_machine=c90-cray os=-unicos ;; convex-c1) basic_machine=c1-convex os=-bsd ;; convex-c2) basic_machine=c2-convex os=-bsd ;; convex-c32) basic_machine=c32-convex os=-bsd ;; convex-c34) basic_machine=c34-convex os=-bsd ;; convex-c38) basic_machine=c38-convex os=-bsd ;; cray | j90) basic_machine=j90-cray os=-unicos ;; craynv) basic_machine=craynv-cray os=-unicosmp ;; cr16) basic_machine=cr16-unknown os=-elf ;; crds | unos) basic_machine=m68k-crds ;; crisv32 | crisv32-* | etraxfs*) basic_machine=crisv32-axis ;; cris | cris-* | etrax*) basic_machine=cris-axis ;; crx) basic_machine=crx-unknown os=-elf ;; da30 | da30-*) basic_machine=m68k-da30 ;; decstation | decstation-3100 | pmax | pmax-* | pmin | dec3100 | decstatn) basic_machine=mips-dec ;; decsystem10* | dec10*) basic_machine=pdp10-dec os=-tops10 ;; decsystem20* | dec20*) basic_machine=pdp10-dec os=-tops20 ;; delta | 3300 | motorola-3300 | motorola-delta \ | 3300-motorola | delta-motorola) basic_machine=m68k-motorola ;; delta88) basic_machine=m88k-motorola os=-sysv3 ;; djgpp) basic_machine=i586-pc os=-msdosdjgpp ;; dpx20 | dpx20-*) basic_machine=rs6000-bull os=-bosx ;; dpx2* | dpx2*-bull) basic_machine=m68k-bull os=-sysv3 ;; ebmon29k) basic_machine=a29k-amd os=-ebmon ;; elxsi) basic_machine=elxsi-elxsi os=-bsd ;; encore | umax | mmax) basic_machine=ns32k-encore ;; es1800 | OSE68k | ose68k | ose | OSE) basic_machine=m68k-ericsson os=-ose ;; fx2800) basic_machine=i860-alliant ;; genix) basic_machine=ns32k-ns ;; gmicro) basic_machine=tron-gmicro os=-sysv ;; go32) basic_machine=i386-pc os=-go32 ;; h3050r* | hiux*) basic_machine=hppa1.1-hitachi os=-hiuxwe2 ;; h8300hms) basic_machine=h8300-hitachi os=-hms ;; h8300xray) basic_machine=h8300-hitachi os=-xray ;; h8500hms) basic_machine=h8500-hitachi os=-hms ;; harris) basic_machine=m88k-harris os=-sysv3 ;; hp300-*) basic_machine=m68k-hp ;; hp300bsd) basic_machine=m68k-hp os=-bsd ;; hp300hpux) basic_machine=m68k-hp os=-hpux ;; hp3k9[0-9][0-9] | hp9[0-9][0-9]) basic_machine=hppa1.0-hp ;; hp9k2[0-9][0-9] | hp9k31[0-9]) basic_machine=m68000-hp ;; hp9k3[2-9][0-9]) basic_machine=m68k-hp ;; hp9k6[0-9][0-9] | hp6[0-9][0-9]) basic_machine=hppa1.0-hp ;; hp9k7[0-79][0-9] | hp7[0-79][0-9]) basic_machine=hppa1.1-hp ;; hp9k78[0-9] | hp78[0-9]) # FIXME: really hppa2.0-hp basic_machine=hppa1.1-hp ;; hp9k8[67]1 | hp8[67]1 | hp9k80[24] | hp80[24] | hp9k8[78]9 | hp8[78]9 | hp9k893 | hp893) # FIXME: really hppa2.0-hp basic_machine=hppa1.1-hp ;; hp9k8[0-9][13679] | hp8[0-9][13679]) basic_machine=hppa1.1-hp ;; hp9k8[0-9][0-9] | hp8[0-9][0-9]) basic_machine=hppa1.0-hp ;; hppa-next) os=-nextstep3 ;; hppaosf) basic_machine=hppa1.1-hp os=-osf ;; hppro) basic_machine=hppa1.1-hp os=-proelf ;; i370-ibm* | ibm*) basic_machine=i370-ibm ;; # I'm not sure what "Sysv32" means. Should this be sysv3.2? i*86v32) basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` os=-sysv32 ;; i*86v4*) basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` os=-sysv4 ;; i*86v) basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` os=-sysv ;; i*86sol2) basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` os=-solaris2 ;; i386mach) basic_machine=i386-mach os=-mach ;; i386-vsta | vsta) basic_machine=i386-unknown os=-vsta ;; iris | iris4d) basic_machine=mips-sgi case $os in -irix*) ;; *) os=-irix4 ;; esac ;; isi68 | isi) basic_machine=m68k-isi os=-sysv ;; m88k-omron*) basic_machine=m88k-omron ;; magnum | m3230) basic_machine=mips-mips os=-sysv ;; merlin) basic_machine=ns32k-utek os=-sysv ;; mingw32) basic_machine=i386-pc os=-mingw32 ;; mingw32ce) basic_machine=arm-unknown os=-mingw32ce ;; miniframe) basic_machine=m68000-convergent ;; *mint | -mint[0-9]* | *MiNT | *MiNT[0-9]*) basic_machine=m68k-atari os=-mint ;; mips3*-*) basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'` ;; mips3*) basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`-unknown ;; monitor) basic_machine=m68k-rom68k os=-coff ;; morphos) basic_machine=powerpc-unknown os=-morphos ;; msdos) basic_machine=i386-pc os=-msdos ;; ms1-*) basic_machine=`echo $basic_machine | sed -e 's/ms1-/mt-/'` ;; mvs) basic_machine=i370-ibm os=-mvs ;; ncr3000) basic_machine=i486-ncr os=-sysv4 ;; netbsd386) basic_machine=i386-unknown os=-netbsd ;; netwinder) basic_machine=armv4l-rebel os=-linux ;; news | news700 | news800 | news900) basic_machine=m68k-sony os=-newsos ;; news1000) basic_machine=m68030-sony os=-newsos ;; news-3600 | risc-news) basic_machine=mips-sony os=-newsos ;; necv70) basic_machine=v70-nec os=-sysv ;; next | m*-next ) basic_machine=m68k-next case $os in -nextstep* ) ;; -ns2*) os=-nextstep2 ;; *) os=-nextstep3 ;; esac ;; nh3000) basic_machine=m68k-harris os=-cxux ;; nh[45]000) basic_machine=m88k-harris os=-cxux ;; nindy960) basic_machine=i960-intel os=-nindy ;; mon960) basic_machine=i960-intel os=-mon960 ;; nonstopux) basic_machine=mips-compaq os=-nonstopux ;; np1) basic_machine=np1-gould ;; nsr-tandem) basic_machine=nsr-tandem ;; op50n-* | op60c-*) basic_machine=hppa1.1-oki os=-proelf ;; openrisc | openrisc-*) basic_machine=or32-unknown ;; os400) basic_machine=powerpc-ibm os=-os400 ;; OSE68000 | ose68000) basic_machine=m68000-ericsson os=-ose ;; os68k) basic_machine=m68k-none os=-os68k ;; pa-hitachi) basic_machine=hppa1.1-hitachi os=-hiuxwe2 ;; paragon) basic_machine=i860-intel os=-osf ;; pbd) basic_machine=sparc-tti ;; pbb) basic_machine=m68k-tti ;; pc532 | pc532-*) basic_machine=ns32k-pc532 ;; pc98) basic_machine=i386-pc ;; pc98-*) basic_machine=i386-`echo $basic_machine | sed 's/^[^-]*-//'` ;; pentium | p5 | k5 | k6 | nexgen | viac3) basic_machine=i586-pc ;; pentiumpro | p6 | 6x86 | athlon | athlon_*) basic_machine=i686-pc ;; pentiumii | pentium2 | pentiumiii | pentium3) basic_machine=i686-pc ;; pentium4) basic_machine=i786-pc ;; pentium-* | p5-* | k5-* | k6-* | nexgen-* | viac3-*) basic_machine=i586-`echo $basic_machine | sed 's/^[^-]*-//'` ;; pentiumpro-* | p6-* | 6x86-* | athlon-*) basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'` ;; pentiumii-* | pentium2-* | pentiumiii-* | pentium3-*) basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'` ;; pentium4-*) basic_machine=i786-`echo $basic_machine | sed 's/^[^-]*-//'` ;; pn) basic_machine=pn-gould ;; power) basic_machine=power-ibm ;; ppc) basic_machine=powerpc-unknown ;; ppc-*) basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'` ;; ppcle | powerpclittle | ppc-le | powerpc-little) basic_machine=powerpcle-unknown ;; ppcle-* | powerpclittle-*) basic_machine=powerpcle-`echo $basic_machine | sed 's/^[^-]*-//'` ;; ppc64) basic_machine=powerpc64-unknown ;; ppc64-*) basic_machine=powerpc64-`echo $basic_machine | sed 's/^[^-]*-//'` ;; ppc64le | powerpc64little | ppc64-le | powerpc64-little) basic_machine=powerpc64le-unknown ;; ppc64le-* | powerpc64little-*) basic_machine=powerpc64le-`echo $basic_machine | sed 's/^[^-]*-//'` ;; ps2) basic_machine=i386-ibm ;; pw32) basic_machine=i586-unknown os=-pw32 ;; rdos) basic_machine=i386-pc os=-rdos ;; rom68k) basic_machine=m68k-rom68k os=-coff ;; rm[46]00) basic_machine=mips-siemens ;; rtpc | rtpc-*) basic_machine=romp-ibm ;; s390 | s390-*) basic_machine=s390-ibm ;; s390x | s390x-*) basic_machine=s390x-ibm ;; sa29200) basic_machine=a29k-amd os=-udi ;; sb1) basic_machine=mipsisa64sb1-unknown ;; sb1el) basic_machine=mipsisa64sb1el-unknown ;; sde) basic_machine=mipsisa32-sde os=-elf ;; sei) basic_machine=mips-sei os=-seiux ;; sequent) basic_machine=i386-sequent ;; sh) basic_machine=sh-hitachi os=-hms ;; sh5el) basic_machine=sh5le-unknown ;; sh64) basic_machine=sh64-unknown ;; sparclite-wrs | simso-wrs) basic_machine=sparclite-wrs os=-vxworks ;; sps7) basic_machine=m68k-bull os=-sysv2 ;; spur) basic_machine=spur-unknown ;; st2000) basic_machine=m68k-tandem ;; stratus) basic_machine=i860-stratus os=-sysv4 ;; sun2) basic_machine=m68000-sun ;; sun2os3) basic_machine=m68000-sun os=-sunos3 ;; sun2os4) basic_machine=m68000-sun os=-sunos4 ;; sun3os3) basic_machine=m68k-sun os=-sunos3 ;; sun3os4) basic_machine=m68k-sun os=-sunos4 ;; sun4os3) basic_machine=sparc-sun os=-sunos3 ;; sun4os4) basic_machine=sparc-sun os=-sunos4 ;; sun4sol2) basic_machine=sparc-sun os=-solaris2 ;; sun3 | sun3-*) basic_machine=m68k-sun ;; sun4) basic_machine=sparc-sun ;; sun386 | sun386i | roadrunner) basic_machine=i386-sun ;; sv1) basic_machine=sv1-cray os=-unicos ;; symmetry) basic_machine=i386-sequent os=-dynix ;; t3e) basic_machine=alphaev5-cray os=-unicos ;; t90) basic_machine=t90-cray os=-unicos ;; tic54x | c54x*) basic_machine=tic54x-unknown os=-coff ;; tic55x | c55x*) basic_machine=tic55x-unknown os=-coff ;; tic6x | c6x*) basic_machine=tic6x-unknown os=-coff ;; tx39) basic_machine=mipstx39-unknown ;; tx39el) basic_machine=mipstx39el-unknown ;; toad1) basic_machine=pdp10-xkl os=-tops20 ;; tower | tower-32) basic_machine=m68k-ncr ;; tpf) basic_machine=s390x-ibm os=-tpf ;; udi29k) basic_machine=a29k-amd os=-udi ;; ultra3) basic_machine=a29k-nyu os=-sym1 ;; v810 | necv810) basic_machine=v810-nec os=-none ;; vaxv) basic_machine=vax-dec os=-sysv ;; vms) basic_machine=vax-dec os=-vms ;; vpp*|vx|vx-*) basic_machine=f301-fujitsu ;; vxworks960) basic_machine=i960-wrs os=-vxworks ;; vxworks68) basic_machine=m68k-wrs os=-vxworks ;; vxworks29k) basic_machine=a29k-wrs os=-vxworks ;; w65*) basic_machine=w65-wdc os=-none ;; w89k-*) basic_machine=hppa1.1-winbond os=-proelf ;; xbox) basic_machine=i686-pc os=-mingw32 ;; xps | xps100) basic_machine=xps100-honeywell ;; ymp) basic_machine=ymp-cray os=-unicos ;; z8k-*-coff) basic_machine=z8k-unknown os=-sim ;; none) basic_machine=none-none os=-none ;; # Here we handle the default manufacturer of certain CPU types. It is in # some cases the only manufacturer, in others, it is the most popular. w89k) basic_machine=hppa1.1-winbond ;; op50n) basic_machine=hppa1.1-oki ;; op60c) basic_machine=hppa1.1-oki ;; romp) basic_machine=romp-ibm ;; mmix) basic_machine=mmix-knuth ;; rs6000) basic_machine=rs6000-ibm ;; vax) basic_machine=vax-dec ;; pdp10) # there are many clones, so DEC is not a safe bet basic_machine=pdp10-unknown ;; pdp11) basic_machine=pdp11-dec ;; we32k) basic_machine=we32k-att ;; sh[1234] | sh[24]a | sh[34]eb | sh[1234]le | sh[23]ele) basic_machine=sh-unknown ;; sparc | sparcv8 | sparcv9 | sparcv9b | sparcv9v) basic_machine=sparc-sun ;; cydra) basic_machine=cydra-cydrome ;; orion) basic_machine=orion-highlevel ;; orion105) basic_machine=clipper-highlevel ;; mac | mpw | mac-mpw) basic_machine=m68k-apple ;; pmac | pmac-mpw) basic_machine=powerpc-apple ;; *-unknown) # Make sure to match an already-canonicalized machine name. ;; *) echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2 exit 1 ;; esac # Here we canonicalize certain aliases for manufacturers. case $basic_machine in *-digital*) basic_machine=`echo $basic_machine | sed 's/digital.*/dec/'` ;; *-commodore*) basic_machine=`echo $basic_machine | sed 's/commodore.*/cbm/'` ;; *) ;; esac # Decode manufacturer-specific aliases for certain operating systems. if [ x"$os" != x"" ] then case $os in # First match some system type aliases # that might get confused with valid system types. # -solaris* is a basic system type, with this one exception. -solaris1 | -solaris1.*) os=`echo $os | sed -e 's|solaris1|sunos4|'` ;; -solaris) os=-solaris2 ;; -svr4*) os=-sysv4 ;; -unixware*) os=-sysv4.2uw ;; -gnu/linux*) os=`echo $os | sed -e 's|gnu/linux|linux-gnu|'` ;; # First accept the basic system types. # The portable systems comes first. # Each alternative MUST END IN A *, to match a version number. # -sysv* is not here because it comes later, after sysvr4. -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \ | -*vms* | -sco* | -esix* | -isc* | -aix* | -sunos | -sunos[34]*\ | -hpux* | -unos* | -osf* | -luna* | -dgux* | -solaris* | -sym* \ | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \ | -aos* \ | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \ | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \ | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \ | -openbsd* | -solidbsd* \ | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \ | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \ | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \ | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \ | -chorusos* | -chorusrdb* \ | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \ | -mingw32* | -linux-gnu* | -linux-newlib* | -linux-uclibc* \ | -uxpv* | -beos* | -mpeix* | -udk* \ | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \ | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \ | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \ | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \ | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \ | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \ | -skyos* | -haiku* | -rdos* | -toppers* | -drops*) # Remember, each alternative MUST END IN *, to match a version number. ;; -qnx*) case $basic_machine in x86-* | i*86-*) ;; *) os=-nto$os ;; esac ;; -nto-qnx*) ;; -nto*) os=`echo $os | sed -e 's|nto|nto-qnx|'` ;; -sim | -es1800* | -hms* | -xray | -os68k* | -none* | -v88r* \ | -windows* | -osx | -abug | -netware* | -os9* | -beos* | -haiku* \ | -macos* | -mpw* | -magic* | -mmixware* | -mon960* | -lnews*) ;; -mac*) os=`echo $os | sed -e 's|mac|macos|'` ;; -linux-dietlibc) os=-linux-dietlibc ;; -linux*) os=`echo $os | sed -e 's|linux|linux-gnu|'` ;; -sunos5*) os=`echo $os | sed -e 's|sunos5|solaris2|'` ;; -sunos6*) os=`echo $os | sed -e 's|sunos6|solaris3|'` ;; -opened*) os=-openedition ;; -os400*) os=-os400 ;; -wince*) os=-wince ;; -osfrose*) os=-osfrose ;; -osf*) os=-osf ;; -utek*) os=-bsd ;; -dynix*) os=-bsd ;; -acis*) os=-aos ;; -atheos*) os=-atheos ;; -syllable*) os=-syllable ;; -386bsd) os=-bsd ;; -ctix* | -uts*) os=-sysv ;; -nova*) os=-rtmk-nova ;; -ns2 ) os=-nextstep2 ;; -nsk*) os=-nsk ;; # Preserve the version number of sinix5. -sinix5.*) os=`echo $os | sed -e 's|sinix|sysv|'` ;; -sinix*) os=-sysv4 ;; -tpf*) os=-tpf ;; -triton*) os=-sysv3 ;; -oss*) os=-sysv3 ;; -svr4) os=-sysv4 ;; -svr3) os=-sysv3 ;; -sysvr4) os=-sysv4 ;; # This must come after -sysvr4. -sysv*) ;; -ose*) os=-ose ;; -es1800*) os=-ose ;; -xenix) os=-xenix ;; -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*) os=-mint ;; -aros*) os=-aros ;; -kaos*) os=-kaos ;; -zvmoe) os=-zvmoe ;; -none) ;; *) # Get rid of the `-' at the beginning of $os. os=`echo $os | sed 's/[^-]*-//'` echo Invalid configuration \`$1\': system \`$os\' not recognized 1>&2 exit 1 ;; esac else # Here we handle the default operating systems that come with various machines. # The value should be what the vendor currently ships out the door with their # machine or put another way, the most popular os provided with the machine. # Note that if you're going to try to match "-MANUFACTURER" here (say, # "-sun"), then you have to tell the case statement up towards the top # that MANUFACTURER isn't an operating system. Otherwise, code above # will signal an error saying that MANUFACTURER isn't an operating # system, and we'll never get to this point. case $basic_machine in score-*) os=-elf ;; spu-*) os=-elf ;; *-acorn) os=-riscix1.2 ;; arm*-rebel) os=-linux ;; arm*-semi) os=-aout ;; c4x-* | tic4x-*) os=-coff ;; # This must come before the *-dec entry. pdp10-*) os=-tops20 ;; pdp11-*) os=-none ;; *-dec | vax-*) os=-ultrix4.2 ;; m68*-apollo) os=-domain ;; i386-sun) os=-sunos4.0.2 ;; m68000-sun) os=-sunos3 # This also exists in the configure program, but was not the # default. # os=-sunos4 ;; m68*-cisco) os=-aout ;; mep-*) os=-elf ;; mips*-cisco) os=-elf ;; mips*-*) os=-elf ;; or32-*) os=-coff ;; *-tti) # must be before sparc entry or we get the wrong os. os=-sysv3 ;; sparc-* | *-sun) os=-sunos4.1.1 ;; *-be) os=-beos ;; *-haiku) os=-haiku ;; *-ibm) os=-aix ;; *-knuth) os=-mmixware ;; *-wec) os=-proelf ;; *-winbond) os=-proelf ;; *-oki) os=-proelf ;; *-hp) os=-hpux ;; *-hitachi) os=-hiux ;; i860-* | *-att | *-ncr | *-altos | *-motorola | *-convergent) os=-sysv ;; *-cbm) os=-amigaos ;; *-dg) os=-dgux ;; *-dolphin) os=-sysv3 ;; m68k-ccur) os=-rtu ;; m88k-omron*) os=-luna ;; *-next ) os=-nextstep ;; *-sequent) os=-ptx ;; *-crds) os=-unos ;; *-ns) os=-genix ;; i370-*) os=-mvs ;; *-next) os=-nextstep3 ;; *-gould) os=-sysv ;; *-highlevel) os=-bsd ;; *-encore) os=-bsd ;; *-sgi) os=-irix ;; *-siemens) os=-sysv4 ;; *-masscomp) os=-rtu ;; f30[01]-fujitsu | f700-fujitsu) os=-uxpv ;; *-rom68k) os=-coff ;; *-*bug) os=-coff ;; *-apple) os=-macos ;; *-atari*) os=-mint ;; *) os=-none ;; esac fi # Here we handle the case where we know the os, and the CPU type, but not the # manufacturer. We pick the logical manufacturer. vendor=unknown case $basic_machine in *-unknown) case $os in -riscix*) vendor=acorn ;; -sunos*) vendor=sun ;; -aix*) vendor=ibm ;; -beos*) vendor=be ;; -hpux*) vendor=hp ;; -mpeix*) vendor=hp ;; -hiux*) vendor=hitachi ;; -unos*) vendor=crds ;; -dgux*) vendor=dg ;; -luna*) vendor=omron ;; -genix*) vendor=ns ;; -mvs* | -opened*) vendor=ibm ;; -os400*) vendor=ibm ;; -ptx*) vendor=sequent ;; -tpf*) vendor=ibm ;; -vxsim* | -vxworks* | -windiss*) vendor=wrs ;; -aux*) vendor=apple ;; -hms*) vendor=hitachi ;; -mpw* | -macos*) vendor=apple ;; -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*) vendor=atari ;; -vos*) vendor=stratus ;; esac basic_machine=`echo $basic_machine | sed "s/unknown/$vendor/"` ;; esac echo $basic_machine$os exit # Local variables: # eval: (add-hook 'write-file-hooks 'time-stamp) # time-stamp-start: "timestamp='" # time-stamp-format: "%:y-%02m-%02d" # time-stamp-end: "'" # End: passepartout-0.7.1/configure000077500000000000000000007146031140125232500161660ustar00rootroot00000000000000#! /bin/sh # Guess values for system-dependent variables and create Makefiles. # Generated by GNU Autoconf 2.61 for Passepartout 0.7.1. # # Report bugs to . # # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. # This configure script is free software; the Free Software Foundation # gives unlimited permission to copy, distribute and modify it. ## --------------------- ## ## M4sh Initialization. ## ## --------------------- ## # Be more Bourne compatible DUALCASE=1; export DUALCASE # for MKS sh if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then emulate sh NULLCMD=: # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which # is contrary to our usage. Disable this feature. alias -g '${1+"$@"}'='"$@"' setopt NO_GLOB_SUBST else case `(set -o) 2>/dev/null` in *posix*) set -o posix ;; esac fi # PATH needs CR # Avoid depending upon Character Ranges. as_cr_letters='abcdefghijklmnopqrstuvwxyz' as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' as_cr_Letters=$as_cr_letters$as_cr_LETTERS as_cr_digits='0123456789' as_cr_alnum=$as_cr_Letters$as_cr_digits # The user is always right. if test "${PATH_SEPARATOR+set}" != set; then echo "#! /bin/sh" >conf$$.sh echo "exit 0" >>conf$$.sh chmod +x conf$$.sh if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then PATH_SEPARATOR=';' else PATH_SEPARATOR=: fi rm -f conf$$.sh fi # Support unset when possible. if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then as_unset=unset else as_unset=false fi # IFS # We need space, tab and new line, in precisely that order. Quoting is # there to prevent editors from complaining about space-tab. # (If _AS_PATH_WALK were called with IFS unset, it would disable word # splitting by setting IFS to empty value.) as_nl=' ' IFS=" "" $as_nl" # Find who we are. Look in the path if we contain no directory separator. case $0 in *[\\/]* ) as_myself=$0 ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break done IFS=$as_save_IFS ;; esac # We did not find ourselves, most probably we were run as `sh COMMAND' # in which case we are not to be found in the path. if test "x$as_myself" = x; then as_myself=$0 fi if test ! -f "$as_myself"; then echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 { (exit 1); exit 1; } fi # Work around bugs in pre-3.0 UWIN ksh. for as_var in ENV MAIL MAILPATH do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var done PS1='$ ' PS2='> ' PS4='+ ' # NLS nuisances. for as_var in \ LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ LC_TELEPHONE LC_TIME do if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then eval $as_var=C; export $as_var else ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var fi done # Required to use basename. if expr a : '\(a\)' >/dev/null 2>&1 && test "X`expr 00001 : '.*\(...\)'`" = X001; then as_expr=expr else as_expr=false fi if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then as_basename=basename else as_basename=false fi # Name of the executable. as_me=`$as_basename -- "$0" || $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ X"$0" : 'X\(//\)$' \| \ X"$0" : 'X\(/\)' \| . 2>/dev/null || echo X/"$0" | sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/ q } /^X\/\(\/\/\)$/{ s//\1/ q } /^X\/\(\/\).*/{ s//\1/ q } s/.*/./; q'` # CDPATH. $as_unset CDPATH if test "x$CONFIG_SHELL" = x; then if (eval ":") 2>/dev/null; then as_have_required=yes else as_have_required=no fi if test $as_have_required = yes && (eval ": (as_func_return () { (exit \$1) } as_func_success () { as_func_return 0 } as_func_failure () { as_func_return 1 } as_func_ret_success () { return 0 } as_func_ret_failure () { return 1 } exitcode=0 if as_func_success; then : else exitcode=1 echo as_func_success failed. fi if as_func_failure; then exitcode=1 echo as_func_failure succeeded. fi if as_func_ret_success; then : else exitcode=1 echo as_func_ret_success failed. fi if as_func_ret_failure; then exitcode=1 echo as_func_ret_failure succeeded. fi if ( set x; as_func_ret_success y && test x = \"\$1\" ); then : else exitcode=1 echo positional parameters were not saved. fi test \$exitcode = 0) || { (exit 1); exit 1; } ( as_lineno_1=\$LINENO as_lineno_2=\$LINENO test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" && test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; } ") 2> /dev/null; then : else as_candidate_shells= as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. case $as_dir in /*) for as_base in sh bash ksh sh5; do as_candidate_shells="$as_candidate_shells $as_dir/$as_base" done;; esac done IFS=$as_save_IFS for as_shell in $as_candidate_shells $SHELL; do # Try only shells that exist, to save several forks. if { test -f "$as_shell" || test -f "$as_shell.exe"; } && { ("$as_shell") 2> /dev/null <<\_ASEOF if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then emulate sh NULLCMD=: # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which # is contrary to our usage. Disable this feature. alias -g '${1+"$@"}'='"$@"' setopt NO_GLOB_SUBST else case `(set -o) 2>/dev/null` in *posix*) set -o posix ;; esac fi : _ASEOF }; then CONFIG_SHELL=$as_shell as_have_required=yes if { "$as_shell" 2> /dev/null <<\_ASEOF if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then emulate sh NULLCMD=: # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which # is contrary to our usage. Disable this feature. alias -g '${1+"$@"}'='"$@"' setopt NO_GLOB_SUBST else case `(set -o) 2>/dev/null` in *posix*) set -o posix ;; esac fi : (as_func_return () { (exit $1) } as_func_success () { as_func_return 0 } as_func_failure () { as_func_return 1 } as_func_ret_success () { return 0 } as_func_ret_failure () { return 1 } exitcode=0 if as_func_success; then : else exitcode=1 echo as_func_success failed. fi if as_func_failure; then exitcode=1 echo as_func_failure succeeded. fi if as_func_ret_success; then : else exitcode=1 echo as_func_ret_success failed. fi if as_func_ret_failure; then exitcode=1 echo as_func_ret_failure succeeded. fi if ( set x; as_func_ret_success y && test x = "$1" ); then : else exitcode=1 echo positional parameters were not saved. fi test $exitcode = 0) || { (exit 1); exit 1; } ( as_lineno_1=$LINENO as_lineno_2=$LINENO test "x$as_lineno_1" != "x$as_lineno_2" && test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; } _ASEOF }; then break fi fi done if test "x$CONFIG_SHELL" != x; then for as_var in BASH_ENV ENV do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var done export CONFIG_SHELL exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} fi if test $as_have_required = no; then echo This script requires a shell more modern than all the echo shells that I found on your system. Please install a echo modern shell, or manually run the script under such a echo shell if you do have one. { (exit 1); exit 1; } fi fi fi (eval "as_func_return () { (exit \$1) } as_func_success () { as_func_return 0 } as_func_failure () { as_func_return 1 } as_func_ret_success () { return 0 } as_func_ret_failure () { return 1 } exitcode=0 if as_func_success; then : else exitcode=1 echo as_func_success failed. fi if as_func_failure; then exitcode=1 echo as_func_failure succeeded. fi if as_func_ret_success; then : else exitcode=1 echo as_func_ret_success failed. fi if as_func_ret_failure; then exitcode=1 echo as_func_ret_failure succeeded. fi if ( set x; as_func_ret_success y && test x = \"\$1\" ); then : else exitcode=1 echo positional parameters were not saved. fi test \$exitcode = 0") || { echo No shell found that supports shell functions. echo Please tell autoconf@gnu.org about your system, echo including any error possibly output before this echo message } as_lineno_1=$LINENO as_lineno_2=$LINENO test "x$as_lineno_1" != "x$as_lineno_2" && test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { # Create $as_me.lineno as a copy of $as_myself, but with $LINENO # uniformly replaced by the line number. The first 'sed' inserts a # line-number line after each line using $LINENO; the second 'sed' # does the real work. The second script uses 'N' to pair each # line-number line with the line containing $LINENO, and appends # trailing '-' during substitution so that $LINENO is not a special # case at line end. # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the # scripts with optimization help from Paolo Bonzini. Blame Lee # E. McMahon (1931-1989) for sed's syntax. :-) sed -n ' p /[$]LINENO/= ' <$as_myself | sed ' s/[$]LINENO.*/&-/ t lineno b :lineno N :loop s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ t loop s/-\n.*// ' >$as_me.lineno && chmod +x "$as_me.lineno" || { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 { (exit 1); exit 1; }; } # Don't try to exec as it changes $[0], causing all sort of problems # (the dirname of $[0] is not the place where we might find the # original and so on. Autoconf is especially sensitive to this). . "./$as_me.lineno" # Exit status is that of the last command. exit } if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then as_dirname=dirname else as_dirname=false fi ECHO_C= ECHO_N= ECHO_T= case `echo -n x` in -n*) case `echo 'x\c'` in *c*) ECHO_T=' ';; # ECHO_T is single tab character. *) ECHO_C='\c';; esac;; *) ECHO_N='-n';; esac if expr a : '\(a\)' >/dev/null 2>&1 && test "X`expr 00001 : '.*\(...\)'`" = X001; then as_expr=expr else as_expr=false fi rm -f conf$$ conf$$.exe conf$$.file if test -d conf$$.dir; then rm -f conf$$.dir/conf$$.file else rm -f conf$$.dir mkdir conf$$.dir fi echo >conf$$.file if ln -s conf$$.file conf$$ 2>/dev/null; then as_ln_s='ln -s' # ... but there are two gotchas: # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. # In both cases, we have to default to `cp -p'. ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || as_ln_s='cp -p' elif ln conf$$.file conf$$ 2>/dev/null; then as_ln_s=ln else as_ln_s='cp -p' fi rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file rmdir conf$$.dir 2>/dev/null if mkdir -p . 2>/dev/null; then as_mkdir_p=: else test -d ./-p && rmdir ./-p as_mkdir_p=false fi if test -x / >/dev/null 2>&1; then as_test_x='test -x' else if ls -dL / >/dev/null 2>&1; then as_ls_L_option=L else as_ls_L_option= fi as_test_x=' eval sh -c '\'' if test -d "$1"; then test -d "$1/."; else case $1 in -*)set "./$1";; esac; case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in ???[sx]*):;;*)false;;esac;fi '\'' sh ' fi as_executable_p=$as_test_x # Sed expression to map a string onto a valid CPP name. as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" # Sed expression to map a string onto a valid variable name. as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" exec 7<&0 &1 # Name of the host. # hostname on some systems (SVR3.2, Linux) returns a bogus exit status, # so uname gets run too. ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` # # Initializations. # ac_default_prefix=/usr/local ac_clean_files= ac_config_libobj_dir=. LIBOBJS= cross_compiling=no subdirs= MFLAGS= MAKEFLAGS= SHELL=${CONFIG_SHELL-/bin/sh} # Identity of this package. PACKAGE_NAME='Passepartout' PACKAGE_TARNAME='passepartout' PACKAGE_VERSION='0.7.1' PACKAGE_STRING='Passepartout 0.7.1' PACKAGE_BUGREPORT='http://bugzilla.gnome.org/simple-bug-guide.cgi?product=passepartout' ac_unique_file="src/xml2ps/blockcontainer.cc" # Factoring default headers for most tests. ac_includes_default="\ #include #ifdef HAVE_SYS_TYPES_H # include #endif #ifdef HAVE_SYS_STAT_H # include #endif #ifdef STDC_HEADERS # include # include #else # ifdef HAVE_STDLIB_H # include # endif #endif #ifdef HAVE_STRING_H # if !defined STDC_HEADERS && defined HAVE_MEMORY_H # include # endif # include #endif #ifdef HAVE_STRINGS_H # include #endif #ifdef HAVE_INTTYPES_H # include #endif #ifdef HAVE_STDINT_H # include #endif #ifdef HAVE_UNISTD_H # include #endif" ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datarootdir datadir sysconfdir sharedstatedir localstatedir includedir oldincludedir docdir infodir htmldir dvidir pdfdir psdir libdir localedir mandir DEFS ECHO_C ECHO_N ECHO_T LIBS build_alias host_alias target_alias INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA am__isrc CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar CXX CXXFLAGS LDFLAGS CPPFLAGS ac_ct_CXX EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE RANLIB APPLY_RPATH XMLPP_LIBS XMLPP_CFLAGS PKG_CONFIG GTKMM_LIBS GTKMM_CFLAGS GNOMECANVAS_LIBS GNOMECANVAS_CFLAGS GTHREAD_LIBS GTHREAD_CFLAGS FREETYPE_LIBS FREETYPE_CFLAGS GNOME_LIBS GNOME_CFLAGS GNOMEVFS_LIBS GNOMEVFS_CFLAGS CC CFLAGS ac_ct_CC CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE xmldir CPP GREP EGREP LIBOBJS LTLIBOBJS' ac_subst_files='' ac_precious_vars='build_alias host_alias target_alias CXX CXXFLAGS LDFLAGS LIBS CPPFLAGS CCC APPLY_RPATH PKG_CONFIG XMLPP_CFLAGS XMLPP_LIBS GTKMM_CFLAGS GTKMM_LIBS GNOMECANVAS_CFLAGS GNOMECANVAS_LIBS GTHREAD_CFLAGS GTHREAD_LIBS FREETYPE_CFLAGS FREETYPE_LIBS GNOME_CFLAGS GNOME_LIBS GNOMEVFS_CFLAGS GNOMEVFS_LIBS CC CFLAGS CPP' # Initialize some variables set by options. ac_init_help= ac_init_version=false # The variables have the same names as the options, with # dashes changed to underlines. cache_file=/dev/null exec_prefix=NONE no_create= no_recursion= prefix=NONE program_prefix=NONE program_suffix=NONE program_transform_name=s,x,x, silent= site= srcdir= verbose= x_includes=NONE x_libraries=NONE # Installation directory options. # These are left unexpanded so users can "make install exec_prefix=/foo" # and all the variables that are supposed to be based on exec_prefix # by default will actually change. # Use braces instead of parens because sh, perl, etc. also accept them. # (The list follows the same order as the GNU Coding Standards.) bindir='${exec_prefix}/bin' sbindir='${exec_prefix}/sbin' libexecdir='${exec_prefix}/libexec' datarootdir='${prefix}/share' datadir='${datarootdir}' sysconfdir='${prefix}/etc' sharedstatedir='${prefix}/com' localstatedir='${prefix}/var' includedir='${prefix}/include' oldincludedir='/usr/include' docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' infodir='${datarootdir}/info' htmldir='${docdir}' dvidir='${docdir}' pdfdir='${docdir}' psdir='${docdir}' libdir='${exec_prefix}/lib' localedir='${datarootdir}/locale' mandir='${datarootdir}/man' ac_prev= ac_dashdash= for ac_option do # If the previous option needs an argument, assign it. if test -n "$ac_prev"; then eval $ac_prev=\$ac_option ac_prev= continue fi case $ac_option in *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; *) ac_optarg=yes ;; esac # Accept the important Cygnus configure options, so we can diagnose typos. case $ac_dashdash$ac_option in --) ac_dashdash=yes ;; -bindir | --bindir | --bindi | --bind | --bin | --bi) ac_prev=bindir ;; -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) bindir=$ac_optarg ;; -build | --build | --buil | --bui | --bu) ac_prev=build_alias ;; -build=* | --build=* | --buil=* | --bui=* | --bu=*) build_alias=$ac_optarg ;; -cache-file | --cache-file | --cache-fil | --cache-fi \ | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) ac_prev=cache_file ;; -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) cache_file=$ac_optarg ;; --config-cache | -C) cache_file=config.cache ;; -datadir | --datadir | --datadi | --datad) ac_prev=datadir ;; -datadir=* | --datadir=* | --datadi=* | --datad=*) datadir=$ac_optarg ;; -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ | --dataroo | --dataro | --datar) ac_prev=datarootdir ;; -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) datarootdir=$ac_optarg ;; -disable-* | --disable-*) ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` # Reject names that are not valid shell variable names. expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && { echo "$as_me: error: invalid feature name: $ac_feature" >&2 { (exit 1); exit 1; }; } ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` eval enable_$ac_feature=no ;; -docdir | --docdir | --docdi | --doc | --do) ac_prev=docdir ;; -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) docdir=$ac_optarg ;; -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) ac_prev=dvidir ;; -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) dvidir=$ac_optarg ;; -enable-* | --enable-*) ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` # Reject names that are not valid shell variable names. expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && { echo "$as_me: error: invalid feature name: $ac_feature" >&2 { (exit 1); exit 1; }; } ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` eval enable_$ac_feature=\$ac_optarg ;; -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ | --exec | --exe | --ex) ac_prev=exec_prefix ;; -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ | --exec=* | --exe=* | --ex=*) exec_prefix=$ac_optarg ;; -gas | --gas | --ga | --g) # Obsolete; use --with-gas. with_gas=yes ;; -help | --help | --hel | --he | -h) ac_init_help=long ;; -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) ac_init_help=recursive ;; -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) ac_init_help=short ;; -host | --host | --hos | --ho) ac_prev=host_alias ;; -host=* | --host=* | --hos=* | --ho=*) host_alias=$ac_optarg ;; -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) ac_prev=htmldir ;; -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ | --ht=*) htmldir=$ac_optarg ;; -includedir | --includedir | --includedi | --included | --include \ | --includ | --inclu | --incl | --inc) ac_prev=includedir ;; -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ | --includ=* | --inclu=* | --incl=* | --inc=*) includedir=$ac_optarg ;; -infodir | --infodir | --infodi | --infod | --info | --inf) ac_prev=infodir ;; -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) infodir=$ac_optarg ;; -libdir | --libdir | --libdi | --libd) ac_prev=libdir ;; -libdir=* | --libdir=* | --libdi=* | --libd=*) libdir=$ac_optarg ;; -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ | --libexe | --libex | --libe) ac_prev=libexecdir ;; -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ | --libexe=* | --libex=* | --libe=*) libexecdir=$ac_optarg ;; -localedir | --localedir | --localedi | --localed | --locale) ac_prev=localedir ;; -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) localedir=$ac_optarg ;; -localstatedir | --localstatedir | --localstatedi | --localstated \ | --localstate | --localstat | --localsta | --localst | --locals) ac_prev=localstatedir ;; -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) localstatedir=$ac_optarg ;; -mandir | --mandir | --mandi | --mand | --man | --ma | --m) ac_prev=mandir ;; -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) mandir=$ac_optarg ;; -nfp | --nfp | --nf) # Obsolete; use --without-fp. with_fp=no ;; -no-create | --no-create | --no-creat | --no-crea | --no-cre \ | --no-cr | --no-c | -n) no_create=yes ;; -no-recursion | --no-recursion | --no-recursio | --no-recursi \ | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) no_recursion=yes ;; -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ | --oldin | --oldi | --old | --ol | --o) ac_prev=oldincludedir ;; -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) oldincludedir=$ac_optarg ;; -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) ac_prev=prefix ;; -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) prefix=$ac_optarg ;; -program-prefix | --program-prefix | --program-prefi | --program-pref \ | --program-pre | --program-pr | --program-p) ac_prev=program_prefix ;; -program-prefix=* | --program-prefix=* | --program-prefi=* \ | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) program_prefix=$ac_optarg ;; -program-suffix | --program-suffix | --program-suffi | --program-suff \ | --program-suf | --program-su | --program-s) ac_prev=program_suffix ;; -program-suffix=* | --program-suffix=* | --program-suffi=* \ | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) program_suffix=$ac_optarg ;; -program-transform-name | --program-transform-name \ | --program-transform-nam | --program-transform-na \ | --program-transform-n | --program-transform- \ | --program-transform | --program-transfor \ | --program-transfo | --program-transf \ | --program-trans | --program-tran \ | --progr-tra | --program-tr | --program-t) ac_prev=program_transform_name ;; -program-transform-name=* | --program-transform-name=* \ | --program-transform-nam=* | --program-transform-na=* \ | --program-transform-n=* | --program-transform-=* \ | --program-transform=* | --program-transfor=* \ | --program-transfo=* | --program-transf=* \ | --program-trans=* | --program-tran=* \ | --progr-tra=* | --program-tr=* | --program-t=*) program_transform_name=$ac_optarg ;; -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) ac_prev=pdfdir ;; -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) pdfdir=$ac_optarg ;; -psdir | --psdir | --psdi | --psd | --ps) ac_prev=psdir ;; -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) psdir=$ac_optarg ;; -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | -silent | --silent | --silen | --sile | --sil) silent=yes ;; -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) ac_prev=sbindir ;; -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ | --sbi=* | --sb=*) sbindir=$ac_optarg ;; -sharedstatedir | --sharedstatedir | --sharedstatedi \ | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ | --sharedst | --shareds | --shared | --share | --shar \ | --sha | --sh) ac_prev=sharedstatedir ;; -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ | --sha=* | --sh=*) sharedstatedir=$ac_optarg ;; -site | --site | --sit) ac_prev=site ;; -site=* | --site=* | --sit=*) site=$ac_optarg ;; -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) ac_prev=srcdir ;; -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) srcdir=$ac_optarg ;; -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ | --syscon | --sysco | --sysc | --sys | --sy) ac_prev=sysconfdir ;; -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) sysconfdir=$ac_optarg ;; -target | --target | --targe | --targ | --tar | --ta | --t) ac_prev=target_alias ;; -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) target_alias=$ac_optarg ;; -v | -verbose | --verbose | --verbos | --verbo | --verb) verbose=yes ;; -version | --version | --versio | --versi | --vers | -V) ac_init_version=: ;; -with-* | --with-*) ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` # Reject names that are not valid shell variable names. expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && { echo "$as_me: error: invalid package name: $ac_package" >&2 { (exit 1); exit 1; }; } ac_package=`echo $ac_package | sed 's/[-.]/_/g'` eval with_$ac_package=\$ac_optarg ;; -without-* | --without-*) ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` # Reject names that are not valid shell variable names. expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && { echo "$as_me: error: invalid package name: $ac_package" >&2 { (exit 1); exit 1; }; } ac_package=`echo $ac_package | sed 's/[-.]/_/g'` eval with_$ac_package=no ;; --x) # Obsolete; use --with-x. with_x=yes ;; -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ | --x-incl | --x-inc | --x-in | --x-i) ac_prev=x_includes ;; -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) x_includes=$ac_optarg ;; -x-libraries | --x-libraries | --x-librarie | --x-librari \ | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) ac_prev=x_libraries ;; -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) x_libraries=$ac_optarg ;; -*) { echo "$as_me: error: unrecognized option: $ac_option Try \`$0 --help' for more information." >&2 { (exit 1); exit 1; }; } ;; *=*) ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` # Reject names that are not valid shell variable names. expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 { (exit 1); exit 1; }; } eval $ac_envvar=\$ac_optarg export $ac_envvar ;; *) # FIXME: should be removed in autoconf 3.0. echo "$as_me: WARNING: you should use --build, --host, --target" >&2 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && echo "$as_me: WARNING: invalid host type: $ac_option" >&2 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} ;; esac done if test -n "$ac_prev"; then ac_option=--`echo $ac_prev | sed 's/_/-/g'` { echo "$as_me: error: missing argument to $ac_option" >&2 { (exit 1); exit 1; }; } fi # Be sure to have absolute directory names. for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ datadir sysconfdir sharedstatedir localstatedir includedir \ oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ libdir localedir mandir do eval ac_val=\$$ac_var case $ac_val in [\\/$]* | ?:[\\/]* ) continue;; NONE | '' ) case $ac_var in *prefix ) continue;; esac;; esac { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 { (exit 1); exit 1; }; } done # There might be people who depend on the old broken behavior: `$host' # used to hold the argument of --host etc. # FIXME: To remove some day. build=$build_alias host=$host_alias target=$target_alias # FIXME: To remove some day. if test "x$host_alias" != x; then if test "x$build_alias" = x; then cross_compiling=maybe echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. If a cross compiler is detected then cross compile mode will be used." >&2 elif test "x$build_alias" != "x$host_alias"; then cross_compiling=yes fi fi ac_tool_prefix= test -n "$host_alias" && ac_tool_prefix=$host_alias- test "$silent" = yes && exec 6>/dev/null ac_pwd=`pwd` && test -n "$ac_pwd" && ac_ls_di=`ls -di .` && ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || { echo "$as_me: error: Working directory cannot be determined" >&2 { (exit 1); exit 1; }; } test "X$ac_ls_di" = "X$ac_pwd_ls_di" || { echo "$as_me: error: pwd does not report name of working directory" >&2 { (exit 1); exit 1; }; } # Find the source files, if location was not specified. if test -z "$srcdir"; then ac_srcdir_defaulted=yes # Try the directory containing this script, then the parent directory. ac_confdir=`$as_dirname -- "$0" || $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$0" : 'X\(//\)[^/]' \| \ X"$0" : 'X\(//\)$' \| \ X"$0" : 'X\(/\)' \| . 2>/dev/null || echo X"$0" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'` srcdir=$ac_confdir if test ! -r "$srcdir/$ac_unique_file"; then srcdir=.. fi else ac_srcdir_defaulted=no fi if test ! -r "$srcdir/$ac_unique_file"; then test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 { (exit 1); exit 1; }; } fi ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" ac_abs_confdir=`( cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2 { (exit 1); exit 1; }; } pwd)` # When building in place, set srcdir=. if test "$ac_abs_confdir" = "$ac_pwd"; then srcdir=. fi # Remove unnecessary trailing slashes from srcdir. # Double slashes in file names in object file debugging info # mess up M-x gdb in Emacs. case $srcdir in */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; esac for ac_var in $ac_precious_vars; do eval ac_env_${ac_var}_set=\${${ac_var}+set} eval ac_env_${ac_var}_value=\$${ac_var} eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} eval ac_cv_env_${ac_var}_value=\$${ac_var} done # # Report the --help message. # if test "$ac_init_help" = "long"; then # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF \`configure' configures Passepartout 0.7.1 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... To assign environment variables (e.g., CC, CFLAGS...), specify them as VAR=VALUE. See below for descriptions of some of the useful variables. Defaults for the options are specified in brackets. Configuration: -h, --help display this help and exit --help=short display options specific to this package --help=recursive display the short help of all the included packages -V, --version display version information and exit -q, --quiet, --silent do not print \`checking...' messages --cache-file=FILE cache test results in FILE [disabled] -C, --config-cache alias for \`--cache-file=config.cache' -n, --no-create do not create output files --srcdir=DIR find the sources in DIR [configure dir or \`..'] Installation directories: --prefix=PREFIX install architecture-independent files in PREFIX [$ac_default_prefix] --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX [PREFIX] By default, \`make install' will install all the files in \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify an installation prefix other than \`$ac_default_prefix' using \`--prefix', for instance \`--prefix=\$HOME'. For better control, use the options below. Fine tuning of the installation directories: --bindir=DIR user executables [EPREFIX/bin] --sbindir=DIR system admin executables [EPREFIX/sbin] --libexecdir=DIR program executables [EPREFIX/libexec] --sysconfdir=DIR read-only single-machine data [PREFIX/etc] --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] --localstatedir=DIR modifiable single-machine data [PREFIX/var] --libdir=DIR object code libraries [EPREFIX/lib] --includedir=DIR C header files [PREFIX/include] --oldincludedir=DIR C header files for non-gcc [/usr/include] --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] --datadir=DIR read-only architecture-independent data [DATAROOTDIR] --infodir=DIR info documentation [DATAROOTDIR/info] --localedir=DIR locale-dependent data [DATAROOTDIR/locale] --mandir=DIR man documentation [DATAROOTDIR/man] --docdir=DIR documentation root [DATAROOTDIR/doc/passepartout] --htmldir=DIR html documentation [DOCDIR] --dvidir=DIR dvi documentation [DOCDIR] --pdfdir=DIR pdf documentation [DOCDIR] --psdir=DIR ps documentation [DOCDIR] _ACEOF cat <<\_ACEOF Program names: --program-prefix=PREFIX prepend PREFIX to installed program names --program-suffix=SUFFIX append SUFFIX to installed program names --program-transform-name=PROGRAM run sed PROGRAM on installed program names _ACEOF fi if test -n "$ac_init_help"; then case $ac_init_help in short | recursive ) echo "Configuration of Passepartout 0.7.1:";; esac cat <<\_ACEOF Optional Features: --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) --enable-FEATURE[=ARG] include FEATURE [ARG=yes] --disable-dependency-tracking speeds up one-time build --enable-dependency-tracking do not reject slow dependency extractors Optional Packages: --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) --with-gnome Gnome support (default is NO) Some influential environment variables: CXX C++ compiler command CXXFLAGS C++ compiler flags LDFLAGS linker flags, e.g. -L if you have libraries in a nonstandard directory LIBS libraries to pass to the linker, e.g. -l CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I if you have headers in a nonstandard directory APPLY_RPATH ="true" : specify -rpath options to the linker PKG_CONFIG path to pkg-config utility XMLPP_CFLAGS C compiler flags for XMLPP, overriding pkg-config XMLPP_LIBS linker flags for XMLPP, overriding pkg-config GTKMM_CFLAGS C compiler flags for GTKMM, overriding pkg-config GTKMM_LIBS linker flags for GTKMM, overriding pkg-config GNOMECANVAS_CFLAGS C compiler flags for GNOMECANVAS, overriding pkg-config GNOMECANVAS_LIBS linker flags for GNOMECANVAS, overriding pkg-config GTHREAD_CFLAGS C compiler flags for GTHREAD, overriding pkg-config GTHREAD_LIBS linker flags for GTHREAD, overriding pkg-config FREETYPE_CFLAGS C compiler flags for FREETYPE, overriding pkg-config FREETYPE_LIBS linker flags for FREETYPE, overriding pkg-config GNOME_CFLAGS C compiler flags for GNOME, overriding pkg-config GNOME_LIBS linker flags for GNOME, overriding pkg-config GNOMEVFS_CFLAGS C compiler flags for GNOMEVFS, overriding pkg-config GNOMEVFS_LIBS linker flags for GNOMEVFS, overriding pkg-config CC C compiler command CFLAGS C compiler flags CPP C preprocessor Use these variables to override the choices made by `configure' or to help it to find libraries and programs with nonstandard names/locations. Report bugs to . _ACEOF ac_status=$? fi if test "$ac_init_help" = "recursive"; then # If there are subdirs, report their specific --help. for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue test -d "$ac_dir" || continue ac_builddir=. case "$ac_dir" in .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; *) ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` # A ".." for each directory in $ac_dir_suffix. ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` case $ac_top_builddir_sub in "") ac_top_builddir_sub=. ac_top_build_prefix= ;; *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; esac ;; esac ac_abs_top_builddir=$ac_pwd ac_abs_builddir=$ac_pwd$ac_dir_suffix # for backward compatibility: ac_top_builddir=$ac_top_build_prefix case $srcdir in .) # We are building in place. ac_srcdir=. ac_top_srcdir=$ac_top_builddir_sub ac_abs_top_srcdir=$ac_pwd ;; [\\/]* | ?:[\\/]* ) # Absolute name. ac_srcdir=$srcdir$ac_dir_suffix; ac_top_srcdir=$srcdir ac_abs_top_srcdir=$srcdir ;; *) # Relative name. ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix ac_top_srcdir=$ac_top_build_prefix$srcdir ac_abs_top_srcdir=$ac_pwd/$srcdir ;; esac ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix cd "$ac_dir" || { ac_status=$?; continue; } # Check for guested configure. if test -f "$ac_srcdir/configure.gnu"; then echo && $SHELL "$ac_srcdir/configure.gnu" --help=recursive elif test -f "$ac_srcdir/configure"; then echo && $SHELL "$ac_srcdir/configure" --help=recursive else echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 fi || ac_status=$? cd "$ac_pwd" || { ac_status=$?; break; } done fi test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF Passepartout configure 0.7.1 generated by GNU Autoconf 2.61 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. This configure script is free software; the Free Software Foundation gives unlimited permission to copy, distribute and modify it. _ACEOF exit fi cat >config.log <<_ACEOF This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by Passepartout $as_me 0.7.1, which was generated by GNU Autoconf 2.61. Invocation command line was $ $0 $@ _ACEOF exec 5>>config.log { cat <<_ASUNAME ## --------- ## ## Platform. ## ## --------- ## hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` uname -m = `(uname -m) 2>/dev/null || echo unknown` uname -r = `(uname -r) 2>/dev/null || echo unknown` uname -s = `(uname -s) 2>/dev/null || echo unknown` uname -v = `(uname -v) 2>/dev/null || echo unknown` /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` _ASUNAME as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. echo "PATH: $as_dir" done IFS=$as_save_IFS } >&5 cat >&5 <<_ACEOF ## ----------- ## ## Core tests. ## ## ----------- ## _ACEOF # Keep a trace of the command line. # Strip out --no-create and --no-recursion so they do not pile up. # Strip out --silent because we don't want to record it for future runs. # Also quote any args containing shell meta-characters. # Make two passes to allow for proper duplicate-argument suppression. ac_configure_args= ac_configure_args0= ac_configure_args1= ac_must_keep_next=false for ac_pass in 1 2 do for ac_arg do case $ac_arg in -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | -silent | --silent | --silen | --sile | --sil) continue ;; *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; esac case $ac_pass in 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; 2) ac_configure_args1="$ac_configure_args1 '$ac_arg'" if test $ac_must_keep_next = true; then ac_must_keep_next=false # Got value, back to normal. else case $ac_arg in *=* | --config-cache | -C | -disable-* | --disable-* \ | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ | -with-* | --with-* | -without-* | --without-* | --x) case "$ac_configure_args0 " in "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; esac ;; -* ) ac_must_keep_next=true ;; esac fi ac_configure_args="$ac_configure_args '$ac_arg'" ;; esac done done $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } # When interrupted or exit'd, cleanup temporary files, and complete # config.log. We remove comments because anyway the quotes in there # would cause problems or look ugly. # WARNING: Use '\'' to represent an apostrophe within the trap. # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. trap 'exit_status=$? # Save into config.log some information that might help in debugging. { echo cat <<\_ASBOX ## ---------------- ## ## Cache variables. ## ## ---------------- ## _ASBOX echo # The following way of writing the cache mishandles newlines in values, ( for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do eval ac_val=\$$ac_var case $ac_val in #( *${as_nl}*) case $ac_var in #( *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; esac case $ac_var in #( _ | IFS | as_nl) ;; #( *) $as_unset $ac_var ;; esac ;; esac done (set) 2>&1 | case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( *${as_nl}ac_space=\ *) sed -n \ "s/'\''/'\''\\\\'\'''\''/g; s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" ;; #( *) sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" ;; esac | sort ) echo cat <<\_ASBOX ## ----------------- ## ## Output variables. ## ## ----------------- ## _ASBOX echo for ac_var in $ac_subst_vars do eval ac_val=\$$ac_var case $ac_val in *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; esac echo "$ac_var='\''$ac_val'\''" done | sort echo if test -n "$ac_subst_files"; then cat <<\_ASBOX ## ------------------- ## ## File substitutions. ## ## ------------------- ## _ASBOX echo for ac_var in $ac_subst_files do eval ac_val=\$$ac_var case $ac_val in *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; esac echo "$ac_var='\''$ac_val'\''" done | sort echo fi if test -s confdefs.h; then cat <<\_ASBOX ## ----------- ## ## confdefs.h. ## ## ----------- ## _ASBOX echo cat confdefs.h echo fi test "$ac_signal" != 0 && echo "$as_me: caught signal $ac_signal" echo "$as_me: exit $exit_status" } >&5 rm -f core *.core core.conftest.* && rm -f -r conftest* confdefs* conf$$* $ac_clean_files && exit $exit_status ' 0 for ac_signal in 1 2 13 15; do trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal done ac_signal=0 # confdefs.h avoids OS command line length limits that DEFS can exceed. rm -f -r conftest* confdefs.h # Predefined preprocessor variables. cat >>confdefs.h <<_ACEOF #define PACKAGE_NAME "$PACKAGE_NAME" _ACEOF cat >>confdefs.h <<_ACEOF #define PACKAGE_TARNAME "$PACKAGE_TARNAME" _ACEOF cat >>confdefs.h <<_ACEOF #define PACKAGE_VERSION "$PACKAGE_VERSION" _ACEOF cat >>confdefs.h <<_ACEOF #define PACKAGE_STRING "$PACKAGE_STRING" _ACEOF cat >>confdefs.h <<_ACEOF #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" _ACEOF # Let the site file select an alternate cache file if it wants to. # Prefer explicitly selected file to automatically selected ones. if test -n "$CONFIG_SITE"; then set x "$CONFIG_SITE" elif test "x$prefix" != xNONE; then set x "$prefix/share/config.site" "$prefix/etc/config.site" else set x "$ac_default_prefix/share/config.site" \ "$ac_default_prefix/etc/config.site" fi shift for ac_site_file do if test -r "$ac_site_file"; then { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 echo "$as_me: loading site script $ac_site_file" >&6;} sed 's/^/| /' "$ac_site_file" >&5 . "$ac_site_file" fi done if test -r "$cache_file"; then # Some versions of bash will fail to source /dev/null (special # files actually), so we avoid doing that. if test -f "$cache_file"; then { echo "$as_me:$LINENO: loading cache $cache_file" >&5 echo "$as_me: loading cache $cache_file" >&6;} case $cache_file in [\\/]* | ?:[\\/]* ) . "$cache_file";; *) . "./$cache_file";; esac fi else { echo "$as_me:$LINENO: creating cache $cache_file" >&5 echo "$as_me: creating cache $cache_file" >&6;} >$cache_file fi # Check that the precious variables saved in the cache have kept the same # value. ac_cache_corrupted=false for ac_var in $ac_precious_vars; do eval ac_old_set=\$ac_cv_env_${ac_var}_set eval ac_new_set=\$ac_env_${ac_var}_set eval ac_old_val=\$ac_cv_env_${ac_var}_value eval ac_new_val=\$ac_env_${ac_var}_value case $ac_old_set,$ac_new_set in set,) { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} ac_cache_corrupted=: ;; ,set) { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} ac_cache_corrupted=: ;; ,);; *) if test "x$ac_old_val" != "x$ac_new_val"; then { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 echo "$as_me: former value: $ac_old_val" >&2;} { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 echo "$as_me: current value: $ac_new_val" >&2;} ac_cache_corrupted=: fi;; esac # Pass precious variables to config.status. if test "$ac_new_set" = set; then case $ac_new_val in *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; *) ac_arg=$ac_var=$ac_new_val ;; esac case " $ac_configure_args " in *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; esac fi done if $ac_cache_corrupted; then { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 echo "$as_me: error: changes in the environment can compromise the build" >&2;} { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} { (exit 1); exit 1; }; } fi ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu am__api_version='1.10' ac_aux_dir= for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do if test -f "$ac_dir/install-sh"; then ac_aux_dir=$ac_dir ac_install_sh="$ac_aux_dir/install-sh -c" break elif test -f "$ac_dir/install.sh"; then ac_aux_dir=$ac_dir ac_install_sh="$ac_aux_dir/install.sh -c" break elif test -f "$ac_dir/shtool"; then ac_aux_dir=$ac_dir ac_install_sh="$ac_aux_dir/shtool install -c" break fi done if test -z "$ac_aux_dir"; then { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;} { (exit 1); exit 1; }; } fi # These three variables are undocumented and unsupported, # and are intended to be withdrawn in a future Autoconf release. # They can cause serious problems if a builder's source tree is in a directory # whose full name contains unusual characters. ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. # Find a good install program. We prefer a C program (faster), # so one script is as good as another. But avoid the broken or # incompatible versions: # SysV /etc/install, /usr/sbin/install # SunOS /usr/etc/install # IRIX /sbin/install # AIX /bin/install # AmigaOS /C/install, which installs bootblocks on floppy discs # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag # AFS /usr/afsws/bin/install, which mishandles nonexistent args # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" # OS/2's system install, which has a completely different semantic # ./install, which can be erroneously created by make from ./install.sh. { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; } if test -z "$INSTALL"; then if test "${ac_cv_path_install+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. # Account for people who put trailing slashes in PATH elements. case $as_dir/ in ./ | .// | /cC/* | \ /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ /usr/ucb/* ) ;; *) # OSF1 and SCO ODT 3.0 have their own names for install. # Don't use installbsd from OSF since it installs stuff as root # by default. for ac_prog in ginstall scoinst install; do for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then if test $ac_prog = install && grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then # AIX install. It has an incompatible calling convention. : elif test $ac_prog = install && grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then # program-specific install script used by HP pwplus--don't use. : else ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" break 3 fi fi done done ;; esac done IFS=$as_save_IFS fi if test "${ac_cv_path_install+set}" = set; then INSTALL=$ac_cv_path_install else # As a last resort, use the slow shell script. Don't cache a # value for INSTALL within a source directory, because that will # break other packages using the cache if that directory is # removed, or if the value is a relative name. INSTALL=$ac_install_sh fi fi { echo "$as_me:$LINENO: result: $INSTALL" >&5 echo "${ECHO_T}$INSTALL" >&6; } # Use test -z because SunOS4 sh mishandles braces in ${var-val}. # It thinks the first close brace ends the variable substitution. test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' { echo "$as_me:$LINENO: checking whether build environment is sane" >&5 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; } # Just in case sleep 1 echo timestamp > conftest.file # Do `set' in a subshell so we don't clobber the current shell's # arguments. Must try -L first in case configure is actually a # symlink; some systems play weird games with the mod time of symlinks # (eg FreeBSD returns the mod time of the symlink's containing # directory). if ( set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null` if test "$*" = "X"; then # -L didn't work. set X `ls -t $srcdir/configure conftest.file` fi rm -f conftest.file if test "$*" != "X $srcdir/configure conftest.file" \ && test "$*" != "X conftest.file $srcdir/configure"; then # If neither matched, then we have a broken ls. This can happen # if, for instance, CONFIG_SHELL is bash and it inherits a # broken ls alias from the environment. This has actually # happened. Such a system could not be considered "sane". { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken alias in your environment" >&5 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken alias in your environment" >&2;} { (exit 1); exit 1; }; } fi test "$2" = conftest.file ) then # Ok. : else { { echo "$as_me:$LINENO: error: newly created file is older than distributed files! Check your system clock" >&5 echo "$as_me: error: newly created file is older than distributed files! Check your system clock" >&2;} { (exit 1); exit 1; }; } fi { echo "$as_me:$LINENO: result: yes" >&5 echo "${ECHO_T}yes" >&6; } test "$program_prefix" != NONE && program_transform_name="s&^&$program_prefix&;$program_transform_name" # Use a double $ so make ignores it. test "$program_suffix" != NONE && program_transform_name="s&\$&$program_suffix&;$program_transform_name" # Double any \ or $. echo might interpret backslashes. # By default was `s,x,x', remove it if useless. cat <<\_ACEOF >conftest.sed s/[\\$]/&&/g;s/;s,x,x,$// _ACEOF program_transform_name=`echo $program_transform_name | sed -f conftest.sed` rm -f conftest.sed # expand $ac_aux_dir to an absolute path am_aux_dir=`cd $ac_aux_dir && pwd` test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing" # Use eval to expand $SHELL if eval "$MISSING --run true"; then am_missing_run="$MISSING --run " else am_missing_run= { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} fi { echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5 echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; } if test -z "$MKDIR_P"; then if test "${ac_cv_path_mkdir+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_prog in mkdir gmkdir; do for ac_exec_ext in '' $ac_executable_extensions; do { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 'mkdir (GNU coreutils) '* | \ 'mkdir (coreutils) '* | \ 'mkdir (fileutils) '4.1*) ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext break 3;; esac done done done IFS=$as_save_IFS fi if test "${ac_cv_path_mkdir+set}" = set; then MKDIR_P="$ac_cv_path_mkdir -p" else # As a last resort, use the slow shell script. Don't cache a # value for MKDIR_P within a source directory, because that will # break other packages using the cache if that directory is # removed, or if the value is a relative name. test -d ./--version && rmdir ./--version MKDIR_P="$ac_install_sh -d" fi fi { echo "$as_me:$LINENO: result: $MKDIR_P" >&5 echo "${ECHO_T}$MKDIR_P" >&6; } mkdir_p="$MKDIR_P" case $mkdir_p in [\\/$]* | ?:[\\/]*) ;; */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; esac for ac_prog in gawk mawk nawk awk do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 { echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } if test "${ac_cv_prog_AWK+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$AWK"; then ac_cv_prog_AWK="$AWK" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_AWK="$ac_prog" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi AWK=$ac_cv_prog_AWK if test -n "$AWK"; then { echo "$as_me:$LINENO: result: $AWK" >&5 echo "${ECHO_T}$AWK" >&6; } else { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6; } fi test -n "$AWK" && break done { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; } set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.make <<\_ACEOF SHELL = /bin/sh all: @echo '@@@%%%=$(MAKE)=@@@%%%' _ACEOF # GNU make sometimes prints "make[1]: Entering...", which would confuse us. case `${MAKE-make} -f conftest.make 2>/dev/null` in *@@@%%%=?*=@@@%%%*) eval ac_cv_prog_make_${ac_make}_set=yes;; *) eval ac_cv_prog_make_${ac_make}_set=no;; esac rm -f conftest.make fi if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then { echo "$as_me:$LINENO: result: yes" >&5 echo "${ECHO_T}yes" >&6; } SET_MAKE= else { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6; } SET_MAKE="MAKE=${MAKE-make}" fi rm -rf .tst 2>/dev/null mkdir .tst 2>/dev/null if test -d .tst; then am__leading_dot=. else am__leading_dot=_ fi rmdir .tst 2>/dev/null if test "`cd $srcdir && pwd`" != "`pwd`"; then # Use -I$(srcdir) only when $(srcdir) != ., so that make's output # is not polluted with repeated "-I." am__isrc=' -I$(srcdir)' # test to see if srcdir already configured if test -f $srcdir/config.status; then { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;} { (exit 1); exit 1; }; } fi fi # test whether we have cygpath if test -z "$CYGPATH_W"; then if (cygpath --version) >/dev/null 2>/dev/null; then CYGPATH_W='cygpath -w' else CYGPATH_W=echo fi fi # Define the identity of the package. PACKAGE='passepartout' VERSION='0.7.1' cat >>confdefs.h <<_ACEOF #define PACKAGE "$PACKAGE" _ACEOF cat >>confdefs.h <<_ACEOF #define VERSION "$VERSION" _ACEOF # Some tools Automake needs. ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"} # Installed binaries are usually stripped using `strip' when the user # run `make install-strip'. However `strip' might not be the right # tool to use in cross-compilation environments, therefore Automake # will honor the `STRIP' environment variable to overrule this program. if test "$cross_compiling" != no; then if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. set dummy ${ac_tool_prefix}strip; ac_word=$2 { echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } if test "${ac_cv_prog_STRIP+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$STRIP"; then ac_cv_prog_STRIP="$STRIP" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_STRIP="${ac_tool_prefix}strip" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi STRIP=$ac_cv_prog_STRIP if test -n "$STRIP"; then { echo "$as_me:$LINENO: result: $STRIP" >&5 echo "${ECHO_T}$STRIP" >&6; } else { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6; } fi fi if test -z "$ac_cv_prog_STRIP"; then ac_ct_STRIP=$STRIP # Extract the first word of "strip", so it can be a program name with args. set dummy strip; ac_word=$2 { echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$ac_ct_STRIP"; then ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_ac_ct_STRIP="strip" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP if test -n "$ac_ct_STRIP"; then { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 echo "${ECHO_T}$ac_ct_STRIP" >&6; } else { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6; } fi if test "x$ac_ct_STRIP" = x; then STRIP=":" else case $cross_compiling:$ac_tool_warned in yes:) { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools whose name does not start with the host triplet. If you think this configuration is useful to you, please write to autoconf@gnu.org." >&5 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools whose name does not start with the host triplet. If you think this configuration is useful to you, please write to autoconf@gnu.org." >&2;} ac_tool_warned=yes ;; esac STRIP=$ac_ct_STRIP fi else STRIP="$ac_cv_prog_STRIP" fi fi INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" # We need awk for the "check" target. The system "awk" is bad on # some platforms. # Always define AMTAR for backward compatibility. AMTAR=${AMTAR-"${am_missing_run}tar"} am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -' # For automake < 1.6 you need to use this line instead: #AM_INIT_AUTOMAKE(Passepartout, 0.7-PRE) ac_config_headers="$ac_config_headers src/defines.h" # AC_CONFIG_HEADER(src/defines.h) # Define global compiler flags: MY_CXXFLAGS="-Wall" CXXFLAGS="$CXXFLAGS $MY_CXXFLAGS" # Checks for programs. ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_cxx_compiler_gnu if test -z "$CXX"; then if test -n "$CCC"; then CXX=$CCC else if test -n "$ac_tool_prefix"; then for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC do # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. set dummy $ac_tool_prefix$ac_prog; ac_word=$2 { echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } if test "${ac_cv_prog_CXX+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$CXX"; then ac_cv_prog_CXX="$CXX" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi CXX=$ac_cv_prog_CXX if test -n "$CXX"; then { echo "$as_me:$LINENO: result: $CXX" >&5 echo "${ECHO_T}$CXX" >&6; } else { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6; } fi test -n "$CXX" && break done fi if test -z "$CXX"; then ac_ct_CXX=$CXX for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 { echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$ac_ct_CXX"; then ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_ac_ct_CXX="$ac_prog" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_CXX=$ac_cv_prog_ac_ct_CXX if test -n "$ac_ct_CXX"; then { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5 echo "${ECHO_T}$ac_ct_CXX" >&6; } else { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6; } fi test -n "$ac_ct_CXX" && break done if test "x$ac_ct_CXX" = x; then CXX="g++" else case $cross_compiling:$ac_tool_warned in yes:) { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools whose name does not start with the host triplet. If you think this configuration is useful to you, please write to autoconf@gnu.org." >&5 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools whose name does not start with the host triplet. If you think this configuration is useful to you, please write to autoconf@gnu.org." >&2;} ac_tool_warned=yes ;; esac CXX=$ac_ct_CXX fi fi fi fi # Provide some information about the compiler. echo "$as_me:$LINENO: checking for C++ compiler version" >&5 ac_compiler=`set X $ac_compile; echo $2` { (ac_try="$ac_compiler --version >&5" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_compiler --version >&5") 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } { (ac_try="$ac_compiler -v >&5" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_compiler -v >&5") 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } { (ac_try="$ac_compiler -V >&5" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_compiler -V >&5") 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int main () { ; return 0; } _ACEOF ac_clean_files_save=$ac_clean_files ac_clean_files="$ac_clean_files a.out a.exe b.out" # Try to create an executable without -o first, disregard a.out. # It will help us diagnose broken compilers, and finding out an intuition # of exeext. { echo "$as_me:$LINENO: checking for C++ compiler default output file name" >&5 echo $ECHO_N "checking for C++ compiler default output file name... $ECHO_C" >&6; } ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` # # List of possible output files, starting from the most likely. # The algorithm is not robust to junk in `.', hence go to wildcards (a.*) # only as a last resort. b.out is created by i960 compilers. ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out' # # The IRIX 6 linker writes into existing files which may not be # executable, retaining their permissions. Remove them first so a # subsequent execution test works. ac_rmfiles= for ac_file in $ac_files do case $ac_file in *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; * ) ac_rmfiles="$ac_rmfiles $ac_file";; esac done rm -f $ac_rmfiles if { (ac_try="$ac_link_default" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_link_default") 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' # in a Makefile. We should not override ac_cv_exeext if it was cached, # so that the user can short-circuit this test for compilers unknown to # Autoconf. for ac_file in $ac_files '' do test -f "$ac_file" || continue case $ac_file in *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; [ab].out ) # We found the default executable, but exeext='' is most # certainly right. break;; *.* ) if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; then :; else ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` fi # We set ac_cv_exeext here because the later test for it is not # safe: cross compilers may not add the suffix if given an `-o' # argument, so we may need to know it at that point already. # Even if this section looks crufty: it has the advantage of # actually working. break;; * ) break;; esac done test "$ac_cv_exeext" = no && ac_cv_exeext= else ac_file='' fi { echo "$as_me:$LINENO: result: $ac_file" >&5 echo "${ECHO_T}$ac_file" >&6; } if test -z "$ac_file"; then echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 { { echo "$as_me:$LINENO: error: C++ compiler cannot create executables See \`config.log' for more details." >&5 echo "$as_me: error: C++ compiler cannot create executables See \`config.log' for more details." >&2;} { (exit 77); exit 77; }; } fi ac_exeext=$ac_cv_exeext # Check that the compiler produces executables we can run. If not, either # the compiler is broken, or we cross compile. { echo "$as_me:$LINENO: checking whether the C++ compiler works" >&5 echo $ECHO_N "checking whether the C++ compiler works... $ECHO_C" >&6; } # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 # If not cross compiling, check that we can run a simple program. if test "$cross_compiling" != yes; then if { ac_try='./$ac_file' { (case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_try") 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then cross_compiling=no else if test "$cross_compiling" = maybe; then cross_compiling=yes else { { echo "$as_me:$LINENO: error: cannot run C++ compiled programs. If you meant to cross compile, use \`--host'. See \`config.log' for more details." >&5 echo "$as_me: error: cannot run C++ compiled programs. If you meant to cross compile, use \`--host'. See \`config.log' for more details." >&2;} { (exit 1); exit 1; }; } fi fi fi { echo "$as_me:$LINENO: result: yes" >&5 echo "${ECHO_T}yes" >&6; } rm -f a.out a.exe conftest$ac_cv_exeext b.out ac_clean_files=$ac_clean_files_save # Check that the compiler produces executables we can run. If not, either # the compiler is broken, or we cross compile. { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; } { echo "$as_me:$LINENO: result: $cross_compiling" >&5 echo "${ECHO_T}$cross_compiling" >&6; } { echo "$as_me:$LINENO: checking for suffix of executables" >&5 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; } if { (ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_link") 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then # If both `conftest.exe' and `conftest' are `present' (well, observable) # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will # work properly (i.e., refer to `conftest.exe'), while it won't with # `rm'. for ac_file in conftest.exe conftest conftest.*; do test -f "$ac_file" || continue case $ac_file in *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` break;; * ) break;; esac done else { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link See \`config.log' for more details." >&5 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link See \`config.log' for more details." >&2;} { (exit 1); exit 1; }; } fi rm -f conftest$ac_cv_exeext { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 echo "${ECHO_T}$ac_cv_exeext" >&6; } rm -f conftest.$ac_ext EXEEXT=$ac_cv_exeext ac_exeext=$EXEEXT { echo "$as_me:$LINENO: checking for suffix of object files" >&5 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; } if test "${ac_cv_objext+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int main () { ; return 0; } _ACEOF rm -f conftest.o conftest.obj if { (ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_compile") 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then for ac_file in conftest.o conftest.obj conftest.*; do test -f "$ac_file" || continue; case $ac_file in *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;; *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` break;; esac done else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile See \`config.log' for more details." >&5 echo "$as_me: error: cannot compute suffix of object files: cannot compile See \`config.log' for more details." >&2;} { (exit 1); exit 1; }; } fi rm -f conftest.$ac_cv_objext conftest.$ac_ext fi { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 echo "${ECHO_T}$ac_cv_objext" >&6; } OBJEXT=$ac_cv_objext ac_objext=$OBJEXT { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; } if test "${ac_cv_cxx_compiler_gnu+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int main () { #ifndef __GNUC__ choke me #endif ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_cxx_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then ac_compiler_gnu=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_compiler_gnu=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_cv_cxx_compiler_gnu=$ac_compiler_gnu fi { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; } GXX=`test $ac_compiler_gnu = yes && echo yes` ac_test_CXXFLAGS=${CXXFLAGS+set} ac_save_CXXFLAGS=$CXXFLAGS { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; } if test "${ac_cv_prog_cxx_g+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_save_cxx_werror_flag=$ac_cxx_werror_flag ac_cxx_werror_flag=yes ac_cv_prog_cxx_g=no CXXFLAGS="-g" cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int main () { ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_cxx_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then ac_cv_prog_cxx_g=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 CXXFLAGS="" cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int main () { ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_cxx_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then : else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cxx_werror_flag=$ac_save_cxx_werror_flag CXXFLAGS="-g" cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int main () { ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_cxx_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then ac_cv_prog_cxx_g=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_cxx_werror_flag=$ac_save_cxx_werror_flag fi { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; } if test "$ac_test_CXXFLAGS" = set; then CXXFLAGS=$ac_save_CXXFLAGS elif test $ac_cv_prog_cxx_g = yes; then if test "$GXX" = yes; then CXXFLAGS="-g -O2" else CXXFLAGS="-g" fi else if test "$GXX" = yes; then CXXFLAGS="-O2" else CXXFLAGS= fi fi ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu DEPDIR="${am__leading_dot}deps" ac_config_commands="$ac_config_commands depfiles" am_make=${MAKE-make} cat > confinc << 'END' am__doit: @echo done .PHONY: am__doit END # If we don't find an include directive, just comment out the code. { echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; } am__include="#" am__quote= _am_result=none # First try GNU make style include. echo "include confinc" > confmf # We grep out `Entering directory' and `Leaving directory' # messages which can occur if `w' ends up in MAKEFLAGS. # In particular we don't look at `^make:' because GNU make might # be invoked under some other name (usually "gmake"), in which # case it prints its new name instead of `make'. if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then am__include=include am__quote= _am_result=GNU fi # Now try BSD make style include. if test "$am__include" = "#"; then echo '.include "confinc"' > confmf if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then am__include=.include am__quote="\"" _am_result=BSD fi fi { echo "$as_me:$LINENO: result: $_am_result" >&5 echo "${ECHO_T}$_am_result" >&6; } rm -f confinc confmf # Check whether --enable-dependency-tracking was given. if test "${enable_dependency_tracking+set}" = set; then enableval=$enable_dependency_tracking; fi if test "x$enable_dependency_tracking" != xno; then am_depcomp="$ac_aux_dir/depcomp" AMDEPBACKSLASH='\' fi if test "x$enable_dependency_tracking" != xno; then AMDEP_TRUE= AMDEP_FALSE='#' else AMDEP_TRUE='#' AMDEP_FALSE= fi depcc="$CXX" am_compiler_list= { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; } if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then # We make a subdir and do the tests there. Otherwise we can end up # making bogus files that we don't know about and never remove. For # instance it was reported that on HP-UX the gcc test will end up # making a dummy file named `D' -- because `-MD' means `put the output # in D'. mkdir conftest.dir # Copy depcomp to subdir because otherwise we won't find it if we're # using a relative directory. cp "$am_depcomp" conftest.dir cd conftest.dir # We will build objects and dependencies in a subdirectory because # it helps to detect inapplicable dependency modes. For instance # both Tru64's cc and ICC support -MD to output dependencies as a # side effect of compilation, but ICC will put the dependencies in # the current directory while Tru64 will put them in the object # directory. mkdir sub am_cv_CXX_dependencies_compiler_type=none if test "$am_compiler_list" = ""; then am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` fi for depmode in $am_compiler_list; do # Setup a source with many dependencies, because some compilers # like to wrap large dependency lists on column 80 (with \), and # we should not choose a depcomp mode which is confused by this. # # We need to recreate these files for each test, as the compiler may # overwrite some of them when testing with obscure command lines. # This happens at least with the AIX C compiler. : > sub/conftest.c for i in 1 2 3 4 5 6; do echo '#include "conftst'$i'.h"' >> sub/conftest.c # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with # Solaris 8's {/usr,}/bin/sh. touch sub/conftst$i.h done echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf case $depmode in nosideeffect) # after this tag, mechanisms are not by side-effect, so they'll # only be used when explicitly requested if test "x$enable_dependency_tracking" = xyes; then continue else break fi ;; none) break ;; esac # We check with `-c' and `-o' for the sake of the "dashmstdout" # mode. It turns out that the SunPro C++ compiler does not properly # handle `-M -o', and we need to detect this. if depmode=$depmode \ source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ >/dev/null 2>conftest.err && grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && ${MAKE-make} -s -f confmf > /dev/null 2>&1; then # icc doesn't choke on unknown options, it will just issue warnings # or remarks (even with -Werror). So we grep stderr for any message # that says an option was ignored or not supported. # When given -MP, icc 7.0 and 7.1 complain thusly: # icc: Command line warning: ignoring option '-M'; no argument required # The diagnosis changed in icc 8.0: # icc: Command line remark: option '-MP' not supported if (grep 'ignoring option' conftest.err || grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else am_cv_CXX_dependencies_compiler_type=$depmode break fi fi done cd .. rm -rf conftest.dir else am_cv_CXX_dependencies_compiler_type=none fi fi { echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; } CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type if test "x$enable_dependency_tracking" != xno \ && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then am__fastdepCXX_TRUE= am__fastdepCXX_FALSE='#' else am__fastdepCXX_TRUE='#' am__fastdepCXX_FALSE= fi if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. set dummy ${ac_tool_prefix}ranlib; ac_word=$2 { echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } if test "${ac_cv_prog_RANLIB+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$RANLIB"; then ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi RANLIB=$ac_cv_prog_RANLIB if test -n "$RANLIB"; then { echo "$as_me:$LINENO: result: $RANLIB" >&5 echo "${ECHO_T}$RANLIB" >&6; } else { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6; } fi fi if test -z "$ac_cv_prog_RANLIB"; then ac_ct_RANLIB=$RANLIB # Extract the first word of "ranlib", so it can be a program name with args. set dummy ranlib; ac_word=$2 { echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$ac_ct_RANLIB"; then ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_ac_ct_RANLIB="ranlib" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB if test -n "$ac_ct_RANLIB"; then { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 echo "${ECHO_T}$ac_ct_RANLIB" >&6; } else { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6; } fi if test "x$ac_ct_RANLIB" = x; then RANLIB=":" else case $cross_compiling:$ac_tool_warned in yes:) { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools whose name does not start with the host triplet. If you think this configuration is useful to you, please write to autoconf@gnu.org." >&5 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools whose name does not start with the host triplet. If you think this configuration is useful to you, please write to autoconf@gnu.org." >&2;} ac_tool_warned=yes ;; esac RANLIB=$ac_ct_RANLIB fi else RANLIB="$ac_cv_prog_RANLIB" fi # AC_APPLY_RPATH(LIBS) # -------------------- # Add an -rpath linker option for each -L path in LIBS # if and only if the environment variable APPLY_RPATH is set # check for libxml++ if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 { echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } if test "${ac_cv_path_PKG_CONFIG+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else case $PKG_CONFIG in [\\/]* | ?:[\\/]*) ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS ;; esac fi PKG_CONFIG=$ac_cv_path_PKG_CONFIG if test -n "$PKG_CONFIG"; then { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 echo "${ECHO_T}$PKG_CONFIG" >&6; } else { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6; } fi fi if test -z "$ac_cv_path_PKG_CONFIG"; then ac_pt_PKG_CONFIG=$PKG_CONFIG # Extract the first word of "pkg-config", so it can be a program name with args. set dummy pkg-config; ac_word=$2 { echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else case $ac_pt_PKG_CONFIG in [\\/]* | ?:[\\/]*) ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS ;; esac fi ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG if test -n "$ac_pt_PKG_CONFIG"; then { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; } else { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6; } fi if test "x$ac_pt_PKG_CONFIG" = x; then PKG_CONFIG="" else case $cross_compiling:$ac_tool_warned in yes:) { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools whose name does not start with the host triplet. If you think this configuration is useful to you, please write to autoconf@gnu.org." >&5 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools whose name does not start with the host triplet. If you think this configuration is useful to you, please write to autoconf@gnu.org." >&2;} ac_tool_warned=yes ;; esac PKG_CONFIG=$ac_pt_PKG_CONFIG fi else PKG_CONFIG="$ac_cv_path_PKG_CONFIG" fi fi if test -n "$PKG_CONFIG"; then _pkg_min_version=0.9.0 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then { echo "$as_me:$LINENO: result: yes" >&5 echo "${ECHO_T}yes" >&6; } else { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6; } PKG_CONFIG="" fi fi pkg_failed=no { echo "$as_me:$LINENO: checking for XMLPP" >&5 echo $ECHO_N "checking for XMLPP... $ECHO_C" >&6; } if test -n "$PKG_CONFIG"; then if test -n "$XMLPP_CFLAGS"; then pkg_cv_XMLPP_CFLAGS="$XMLPP_CFLAGS" else if test -n "$PKG_CONFIG" && \ { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libxml++-2.6 >= 1.0\"") >&5 ($PKG_CONFIG --exists --print-errors "libxml++-2.6 >= 1.0") 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then pkg_cv_XMLPP_CFLAGS=`$PKG_CONFIG --cflags "libxml++-2.6 >= 1.0" 2>/dev/null` else pkg_failed=yes fi fi else pkg_failed=untried fi if test -n "$PKG_CONFIG"; then if test -n "$XMLPP_LIBS"; then pkg_cv_XMLPP_LIBS="$XMLPP_LIBS" else if test -n "$PKG_CONFIG" && \ { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libxml++-2.6 >= 1.0\"") >&5 ($PKG_CONFIG --exists --print-errors "libxml++-2.6 >= 1.0") 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then pkg_cv_XMLPP_LIBS=`$PKG_CONFIG --libs "libxml++-2.6 >= 1.0" 2>/dev/null` else pkg_failed=yes fi fi else pkg_failed=untried fi if test $pkg_failed = yes; then if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes else _pkg_short_errors_supported=no fi if test $_pkg_short_errors_supported = yes; then XMLPP_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libxml++-2.6 >= 1.0"` else XMLPP_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libxml++-2.6 >= 1.0"` fi # Put the nasty error message in config.log where it belongs echo "$XMLPP_PKG_ERRORS" >&5 { { echo "$as_me:$LINENO: error: Package requirements (libxml++-2.6 >= 1.0) were not met: $XMLPP_PKG_ERRORS Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. Alternatively, you may set the environment variables XMLPP_CFLAGS and XMLPP_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. " >&5 echo "$as_me: error: Package requirements (libxml++-2.6 >= 1.0) were not met: $XMLPP_PKG_ERRORS Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. Alternatively, you may set the environment variables XMLPP_CFLAGS and XMLPP_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. " >&2;} { (exit 1); exit 1; }; } elif test $pkg_failed = untried; then { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it is in your PATH or set the PKG_CONFIG environment variable to the full path to pkg-config. Alternatively, you may set the environment variables XMLPP_CFLAGS and XMLPP_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. To get pkg-config, see . See \`config.log' for more details." >&5 echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it is in your PATH or set the PKG_CONFIG environment variable to the full path to pkg-config. Alternatively, you may set the environment variables XMLPP_CFLAGS and XMLPP_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. To get pkg-config, see . See \`config.log' for more details." >&2;} { (exit 1); exit 1; }; } else XMLPP_CFLAGS=$pkg_cv_XMLPP_CFLAGS XMLPP_LIBS=$pkg_cv_XMLPP_LIBS { echo "$as_me:$LINENO: result: yes" >&5 echo "${ECHO_T}yes" >&6; } : fi if test "$APPLY_RPATH" != ""; then XMLPP_LIBS=`echo "$XMLPP_LIBS" | sed -e "s/-L\([^ ]*\)/& -Wl,-rpath,\1/g"` fi pkg_failed=no { echo "$as_me:$LINENO: checking for GTKMM" >&5 echo $ECHO_N "checking for GTKMM... $ECHO_C" >&6; } if test -n "$PKG_CONFIG"; then if test -n "$GTKMM_CFLAGS"; then pkg_cv_GTKMM_CFLAGS="$GTKMM_CFLAGS" else if test -n "$PKG_CONFIG" && \ { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtkmm-2.4\"") >&5 ($PKG_CONFIG --exists --print-errors "gtkmm-2.4") 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then pkg_cv_GTKMM_CFLAGS=`$PKG_CONFIG --cflags "gtkmm-2.4" 2>/dev/null` else pkg_failed=yes fi fi else pkg_failed=untried fi if test -n "$PKG_CONFIG"; then if test -n "$GTKMM_LIBS"; then pkg_cv_GTKMM_LIBS="$GTKMM_LIBS" else if test -n "$PKG_CONFIG" && \ { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtkmm-2.4\"") >&5 ($PKG_CONFIG --exists --print-errors "gtkmm-2.4") 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then pkg_cv_GTKMM_LIBS=`$PKG_CONFIG --libs "gtkmm-2.4" 2>/dev/null` else pkg_failed=yes fi fi else pkg_failed=untried fi if test $pkg_failed = yes; then if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes else _pkg_short_errors_supported=no fi if test $_pkg_short_errors_supported = yes; then GTKMM_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtkmm-2.4"` else GTKMM_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtkmm-2.4"` fi # Put the nasty error message in config.log where it belongs echo "$GTKMM_PKG_ERRORS" >&5 { { echo "$as_me:$LINENO: error: Package requirements (gtkmm-2.4) were not met: $GTKMM_PKG_ERRORS Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. Alternatively, you may set the environment variables GTKMM_CFLAGS and GTKMM_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. " >&5 echo "$as_me: error: Package requirements (gtkmm-2.4) were not met: $GTKMM_PKG_ERRORS Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. Alternatively, you may set the environment variables GTKMM_CFLAGS and GTKMM_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. " >&2;} { (exit 1); exit 1; }; } elif test $pkg_failed = untried; then { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it is in your PATH or set the PKG_CONFIG environment variable to the full path to pkg-config. Alternatively, you may set the environment variables GTKMM_CFLAGS and GTKMM_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. To get pkg-config, see . See \`config.log' for more details." >&5 echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it is in your PATH or set the PKG_CONFIG environment variable to the full path to pkg-config. Alternatively, you may set the environment variables GTKMM_CFLAGS and GTKMM_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. To get pkg-config, see . See \`config.log' for more details." >&2;} { (exit 1); exit 1; }; } else GTKMM_CFLAGS=$pkg_cv_GTKMM_CFLAGS GTKMM_LIBS=$pkg_cv_GTKMM_LIBS { echo "$as_me:$LINENO: result: yes" >&5 echo "${ECHO_T}yes" >&6; } : fi if test "$APPLY_RPATH" != ""; then GTKMM_LIBS=`echo "$GTKMM_LIBS" | sed -e "s/-L\([^ ]*\)/& -Wl,-rpath,\1/g"` fi pkg_failed=no { echo "$as_me:$LINENO: checking for GNOMECANVAS" >&5 echo $ECHO_N "checking for GNOMECANVAS... $ECHO_C" >&6; } if test -n "$PKG_CONFIG"; then if test -n "$GNOMECANVAS_CFLAGS"; then pkg_cv_GNOMECANVAS_CFLAGS="$GNOMECANVAS_CFLAGS" else if test -n "$PKG_CONFIG" && \ { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomecanvasmm-2.6\"") >&5 ($PKG_CONFIG --exists --print-errors "libgnomecanvasmm-2.6") 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then pkg_cv_GNOMECANVAS_CFLAGS=`$PKG_CONFIG --cflags "libgnomecanvasmm-2.6" 2>/dev/null` else pkg_failed=yes fi fi else pkg_failed=untried fi if test -n "$PKG_CONFIG"; then if test -n "$GNOMECANVAS_LIBS"; then pkg_cv_GNOMECANVAS_LIBS="$GNOMECANVAS_LIBS" else if test -n "$PKG_CONFIG" && \ { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomecanvasmm-2.6\"") >&5 ($PKG_CONFIG --exists --print-errors "libgnomecanvasmm-2.6") 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then pkg_cv_GNOMECANVAS_LIBS=`$PKG_CONFIG --libs "libgnomecanvasmm-2.6" 2>/dev/null` else pkg_failed=yes fi fi else pkg_failed=untried fi if test $pkg_failed = yes; then if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes else _pkg_short_errors_supported=no fi if test $_pkg_short_errors_supported = yes; then GNOMECANVAS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomecanvasmm-2.6"` else GNOMECANVAS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomecanvasmm-2.6"` fi # Put the nasty error message in config.log where it belongs echo "$GNOMECANVAS_PKG_ERRORS" >&5 { { echo "$as_me:$LINENO: error: Package requirements (libgnomecanvasmm-2.6) were not met: $GNOMECANVAS_PKG_ERRORS Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. Alternatively, you may set the environment variables GNOMECANVAS_CFLAGS and GNOMECANVAS_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. " >&5 echo "$as_me: error: Package requirements (libgnomecanvasmm-2.6) were not met: $GNOMECANVAS_PKG_ERRORS Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. Alternatively, you may set the environment variables GNOMECANVAS_CFLAGS and GNOMECANVAS_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. " >&2;} { (exit 1); exit 1; }; } elif test $pkg_failed = untried; then { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it is in your PATH or set the PKG_CONFIG environment variable to the full path to pkg-config. Alternatively, you may set the environment variables GNOMECANVAS_CFLAGS and GNOMECANVAS_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. To get pkg-config, see . See \`config.log' for more details." >&5 echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it is in your PATH or set the PKG_CONFIG environment variable to the full path to pkg-config. Alternatively, you may set the environment variables GNOMECANVAS_CFLAGS and GNOMECANVAS_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. To get pkg-config, see . See \`config.log' for more details." >&2;} { (exit 1); exit 1; }; } else GNOMECANVAS_CFLAGS=$pkg_cv_GNOMECANVAS_CFLAGS GNOMECANVAS_LIBS=$pkg_cv_GNOMECANVAS_LIBS { echo "$as_me:$LINENO: result: yes" >&5 echo "${ECHO_T}yes" >&6; } : fi if test "$APPLY_RPATH" != ""; then GNOMECANVAS_LIBS=`echo "$GNOMECANVAS_LIBS" | sed -e "s/-L\([^ ]*\)/& -Wl,-rpath,\1/g"` fi pkg_failed=no { echo "$as_me:$LINENO: checking for GTHREAD" >&5 echo $ECHO_N "checking for GTHREAD... $ECHO_C" >&6; } if test -n "$PKG_CONFIG"; then if test -n "$GTHREAD_CFLAGS"; then pkg_cv_GTHREAD_CFLAGS="$GTHREAD_CFLAGS" else if test -n "$PKG_CONFIG" && \ { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gthread-2.0\"") >&5 ($PKG_CONFIG --exists --print-errors "gthread-2.0") 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then pkg_cv_GTHREAD_CFLAGS=`$PKG_CONFIG --cflags "gthread-2.0" 2>/dev/null` else pkg_failed=yes fi fi else pkg_failed=untried fi if test -n "$PKG_CONFIG"; then if test -n "$GTHREAD_LIBS"; then pkg_cv_GTHREAD_LIBS="$GTHREAD_LIBS" else if test -n "$PKG_CONFIG" && \ { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gthread-2.0\"") >&5 ($PKG_CONFIG --exists --print-errors "gthread-2.0") 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then pkg_cv_GTHREAD_LIBS=`$PKG_CONFIG --libs "gthread-2.0" 2>/dev/null` else pkg_failed=yes fi fi else pkg_failed=untried fi if test $pkg_failed = yes; then if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes else _pkg_short_errors_supported=no fi if test $_pkg_short_errors_supported = yes; then GTHREAD_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gthread-2.0"` else GTHREAD_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gthread-2.0"` fi # Put the nasty error message in config.log where it belongs echo "$GTHREAD_PKG_ERRORS" >&5 { { echo "$as_me:$LINENO: error: Package requirements (gthread-2.0) were not met: $GTHREAD_PKG_ERRORS Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. Alternatively, you may set the environment variables GTHREAD_CFLAGS and GTHREAD_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. " >&5 echo "$as_me: error: Package requirements (gthread-2.0) were not met: $GTHREAD_PKG_ERRORS Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. Alternatively, you may set the environment variables GTHREAD_CFLAGS and GTHREAD_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. " >&2;} { (exit 1); exit 1; }; } elif test $pkg_failed = untried; then { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it is in your PATH or set the PKG_CONFIG environment variable to the full path to pkg-config. Alternatively, you may set the environment variables GTHREAD_CFLAGS and GTHREAD_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. To get pkg-config, see . See \`config.log' for more details." >&5 echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it is in your PATH or set the PKG_CONFIG environment variable to the full path to pkg-config. Alternatively, you may set the environment variables GTHREAD_CFLAGS and GTHREAD_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. To get pkg-config, see . See \`config.log' for more details." >&2;} { (exit 1); exit 1; }; } else GTHREAD_CFLAGS=$pkg_cv_GTHREAD_CFLAGS GTHREAD_LIBS=$pkg_cv_GTHREAD_LIBS { echo "$as_me:$LINENO: result: yes" >&5 echo "${ECHO_T}yes" >&6; } : fi if test "$APPLY_RPATH" != ""; then GTHREAD_LIBS=`echo "$GTHREAD_LIBS" | sed -e "s/-L\([^ ]*\)/& -Wl,-rpath,\1/g"` fi pkg_failed=no { echo "$as_me:$LINENO: checking for FREETYPE" >&5 echo $ECHO_N "checking for FREETYPE... $ECHO_C" >&6; } if test -n "$PKG_CONFIG"; then if test -n "$FREETYPE_CFLAGS"; then pkg_cv_FREETYPE_CFLAGS="$FREETYPE_CFLAGS" else if test -n "$PKG_CONFIG" && \ { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"freetype2\"") >&5 ($PKG_CONFIG --exists --print-errors "freetype2") 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then pkg_cv_FREETYPE_CFLAGS=`$PKG_CONFIG --cflags "freetype2" 2>/dev/null` else pkg_failed=yes fi fi else pkg_failed=untried fi if test -n "$PKG_CONFIG"; then if test -n "$FREETYPE_LIBS"; then pkg_cv_FREETYPE_LIBS="$FREETYPE_LIBS" else if test -n "$PKG_CONFIG" && \ { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"freetype2\"") >&5 ($PKG_CONFIG --exists --print-errors "freetype2") 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then pkg_cv_FREETYPE_LIBS=`$PKG_CONFIG --libs "freetype2" 2>/dev/null` else pkg_failed=yes fi fi else pkg_failed=untried fi if test $pkg_failed = yes; then if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes else _pkg_short_errors_supported=no fi if test $_pkg_short_errors_supported = yes; then FREETYPE_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "freetype2"` else FREETYPE_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "freetype2"` fi # Put the nasty error message in config.log where it belongs echo "$FREETYPE_PKG_ERRORS" >&5 { { echo "$as_me:$LINENO: error: Package requirements (freetype2) were not met: $FREETYPE_PKG_ERRORS Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. Alternatively, you may set the environment variables FREETYPE_CFLAGS and FREETYPE_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. " >&5 echo "$as_me: error: Package requirements (freetype2) were not met: $FREETYPE_PKG_ERRORS Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. Alternatively, you may set the environment variables FREETYPE_CFLAGS and FREETYPE_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. " >&2;} { (exit 1); exit 1; }; } elif test $pkg_failed = untried; then { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it is in your PATH or set the PKG_CONFIG environment variable to the full path to pkg-config. Alternatively, you may set the environment variables FREETYPE_CFLAGS and FREETYPE_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. To get pkg-config, see . See \`config.log' for more details." >&5 echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it is in your PATH or set the PKG_CONFIG environment variable to the full path to pkg-config. Alternatively, you may set the environment variables FREETYPE_CFLAGS and FREETYPE_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. To get pkg-config, see . See \`config.log' for more details." >&2;} { (exit 1); exit 1; }; } else FREETYPE_CFLAGS=$pkg_cv_FREETYPE_CFLAGS FREETYPE_LIBS=$pkg_cv_FREETYPE_LIBS { echo "$as_me:$LINENO: result: yes" >&5 echo "${ECHO_T}yes" >&6; } : fi if test "$APPLY_RPATH" != ""; then FREETYPE_LIBS=`echo "$FREETYPE_LIBS" | sed -e "s/-L\([^ ]*\)/& -Wl,-rpath,\1/g"` fi # gnome is optional # Check whether --with-gnome was given. if test "${with_gnome+set}" = set; then withval=$with_gnome; pkg_failed=no { echo "$as_me:$LINENO: checking for GNOME" >&5 echo $ECHO_N "checking for GNOME... $ECHO_C" >&6; } if test -n "$PKG_CONFIG"; then if test -n "$GNOME_CFLAGS"; then pkg_cv_GNOME_CFLAGS="$GNOME_CFLAGS" else if test -n "$PKG_CONFIG" && \ { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnome-2.0\"") >&5 ($PKG_CONFIG --exists --print-errors "libgnome-2.0") 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then pkg_cv_GNOME_CFLAGS=`$PKG_CONFIG --cflags "libgnome-2.0" 2>/dev/null` else pkg_failed=yes fi fi else pkg_failed=untried fi if test -n "$PKG_CONFIG"; then if test -n "$GNOME_LIBS"; then pkg_cv_GNOME_LIBS="$GNOME_LIBS" else if test -n "$PKG_CONFIG" && \ { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnome-2.0\"") >&5 ($PKG_CONFIG --exists --print-errors "libgnome-2.0") 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then pkg_cv_GNOME_LIBS=`$PKG_CONFIG --libs "libgnome-2.0" 2>/dev/null` else pkg_failed=yes fi fi else pkg_failed=untried fi if test $pkg_failed = yes; then if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes else _pkg_short_errors_supported=no fi if test $_pkg_short_errors_supported = yes; then GNOME_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnome-2.0"` else GNOME_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnome-2.0"` fi # Put the nasty error message in config.log where it belongs echo "$GNOME_PKG_ERRORS" >&5 { { echo "$as_me:$LINENO: error: Package requirements (libgnome-2.0) were not met: $GNOME_PKG_ERRORS Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. Alternatively, you may set the environment variables GNOME_CFLAGS and GNOME_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. " >&5 echo "$as_me: error: Package requirements (libgnome-2.0) were not met: $GNOME_PKG_ERRORS Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. Alternatively, you may set the environment variables GNOME_CFLAGS and GNOME_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. " >&2;} { (exit 1); exit 1; }; } elif test $pkg_failed = untried; then { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it is in your PATH or set the PKG_CONFIG environment variable to the full path to pkg-config. Alternatively, you may set the environment variables GNOME_CFLAGS and GNOME_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. To get pkg-config, see . See \`config.log' for more details." >&5 echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it is in your PATH or set the PKG_CONFIG environment variable to the full path to pkg-config. Alternatively, you may set the environment variables GNOME_CFLAGS and GNOME_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. To get pkg-config, see . See \`config.log' for more details." >&2;} { (exit 1); exit 1; }; } else GNOME_CFLAGS=$pkg_cv_GNOME_CFLAGS GNOME_LIBS=$pkg_cv_GNOME_LIBS { echo "$as_me:$LINENO: result: yes" >&5 echo "${ECHO_T}yes" >&6; } : fi pkg_failed=no { echo "$as_me:$LINENO: checking for GNOMEVFS" >&5 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6; } if test -n "$PKG_CONFIG"; then if test -n "$GNOMEVFS_CFLAGS"; then pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS" else if test -n "$PKG_CONFIG" && \ { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-module-2.0\"") >&5 ($PKG_CONFIG --exists --print-errors "gnome-vfs-module-2.0") 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-module-2.0" 2>/dev/null` else pkg_failed=yes fi fi else pkg_failed=untried fi if test -n "$PKG_CONFIG"; then if test -n "$GNOMEVFS_LIBS"; then pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS" else if test -n "$PKG_CONFIG" && \ { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-module-2.0\"") >&5 ($PKG_CONFIG --exists --print-errors "gnome-vfs-module-2.0") 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-module-2.0" 2>/dev/null` else pkg_failed=yes fi fi else pkg_failed=untried fi if test $pkg_failed = yes; then if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes else _pkg_short_errors_supported=no fi if test $_pkg_short_errors_supported = yes; then GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-module-2.0"` else GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-module-2.0"` fi # Put the nasty error message in config.log where it belongs echo "$GNOMEVFS_PKG_ERRORS" >&5 { { echo "$as_me:$LINENO: error: Package requirements (gnome-vfs-module-2.0) were not met: $GNOMEVFS_PKG_ERRORS Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. Alternatively, you may set the environment variables GNOMEVFS_CFLAGS and GNOMEVFS_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. " >&5 echo "$as_me: error: Package requirements (gnome-vfs-module-2.0) were not met: $GNOMEVFS_PKG_ERRORS Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. Alternatively, you may set the environment variables GNOMEVFS_CFLAGS and GNOMEVFS_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. " >&2;} { (exit 1); exit 1; }; } elif test $pkg_failed = untried; then { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it is in your PATH or set the PKG_CONFIG environment variable to the full path to pkg-config. Alternatively, you may set the environment variables GNOMEVFS_CFLAGS and GNOMEVFS_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. To get pkg-config, see . See \`config.log' for more details." >&5 echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it is in your PATH or set the PKG_CONFIG environment variable to the full path to pkg-config. Alternatively, you may set the environment variables GNOMEVFS_CFLAGS and GNOMEVFS_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. To get pkg-config, see . See \`config.log' for more details." >&2;} { (exit 1); exit 1; }; } else GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS { echo "$as_me:$LINENO: result: yes" >&5 echo "${ECHO_T}yes" >&6; } : fi cat >>confdefs.h <<\_ACEOF #define HAVE_GNOME 1 _ACEOF fi if test "$APPLY_RPATH" != ""; then GNOME_LIBS=`echo "$GNOME_LIBS" | sed -e "s/-L\([^ ]*\)/& -Wl,-rpath,\1/g"` fi if test "$APPLY_RPATH" != ""; then GNOMEVFS_LIBS=`echo "$GNOMEVFS_LIBS" | sed -e "s/-L\([^ ]*\)/& -Wl,-rpath,\1/g"` fi # check for fam ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. set dummy ${ac_tool_prefix}gcc; ac_word=$2 { echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } if test "${ac_cv_prog_CC+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_CC="${ac_tool_prefix}gcc" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then { echo "$as_me:$LINENO: result: $CC" >&5 echo "${ECHO_T}$CC" >&6; } else { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6; } fi fi if test -z "$ac_cv_prog_CC"; then ac_ct_CC=$CC # Extract the first word of "gcc", so it can be a program name with args. set dummy gcc; ac_word=$2 { echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } if test "${ac_cv_prog_ac_ct_CC+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$ac_ct_CC"; then ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_ac_ct_CC="gcc" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_CC=$ac_cv_prog_ac_ct_CC if test -n "$ac_ct_CC"; then { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 echo "${ECHO_T}$ac_ct_CC" >&6; } else { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6; } fi if test "x$ac_ct_CC" = x; then CC="" else case $cross_compiling:$ac_tool_warned in yes:) { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools whose name does not start with the host triplet. If you think this configuration is useful to you, please write to autoconf@gnu.org." >&5 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools whose name does not start with the host triplet. If you think this configuration is useful to you, please write to autoconf@gnu.org." >&2;} ac_tool_warned=yes ;; esac CC=$ac_ct_CC fi else CC="$ac_cv_prog_CC" fi if test -z "$CC"; then if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. set dummy ${ac_tool_prefix}cc; ac_word=$2 { echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } if test "${ac_cv_prog_CC+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_CC="${ac_tool_prefix}cc" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then { echo "$as_me:$LINENO: result: $CC" >&5 echo "${ECHO_T}$CC" >&6; } else { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6; } fi fi fi if test -z "$CC"; then # Extract the first word of "cc", so it can be a program name with args. set dummy cc; ac_word=$2 { echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } if test "${ac_cv_prog_CC+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else ac_prog_rejected=no as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then ac_prog_rejected=yes continue fi ac_cv_prog_CC="cc" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS if test $ac_prog_rejected = yes; then # We found a bogon in the path, so make sure we never use it. set dummy $ac_cv_prog_CC shift if test $# != 0; then # We chose a different compiler from the bogus one. # However, it has the same basename, so the bogon will be chosen # first if we set CC to just the basename; use the full file name. shift ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" fi fi fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then { echo "$as_me:$LINENO: result: $CC" >&5 echo "${ECHO_T}$CC" >&6; } else { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6; } fi fi if test -z "$CC"; then if test -n "$ac_tool_prefix"; then for ac_prog in cl.exe do # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. set dummy $ac_tool_prefix$ac_prog; ac_word=$2 { echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } if test "${ac_cv_prog_CC+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_CC="$ac_tool_prefix$ac_prog" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then { echo "$as_me:$LINENO: result: $CC" >&5 echo "${ECHO_T}$CC" >&6; } else { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6; } fi test -n "$CC" && break done fi if test -z "$CC"; then ac_ct_CC=$CC for ac_prog in cl.exe do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 { echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } if test "${ac_cv_prog_ac_ct_CC+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$ac_ct_CC"; then ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_ac_ct_CC="$ac_prog" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_CC=$ac_cv_prog_ac_ct_CC if test -n "$ac_ct_CC"; then { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 echo "${ECHO_T}$ac_ct_CC" >&6; } else { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6; } fi test -n "$ac_ct_CC" && break done if test "x$ac_ct_CC" = x; then CC="" else case $cross_compiling:$ac_tool_warned in yes:) { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools whose name does not start with the host triplet. If you think this configuration is useful to you, please write to autoconf@gnu.org." >&5 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools whose name does not start with the host triplet. If you think this configuration is useful to you, please write to autoconf@gnu.org." >&2;} ac_tool_warned=yes ;; esac CC=$ac_ct_CC fi fi fi test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH See \`config.log' for more details." >&5 echo "$as_me: error: no acceptable C compiler found in \$PATH See \`config.log' for more details." >&2;} { (exit 1); exit 1; }; } # Provide some information about the compiler. echo "$as_me:$LINENO: checking for C compiler version" >&5 ac_compiler=`set X $ac_compile; echo $2` { (ac_try="$ac_compiler --version >&5" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_compiler --version >&5") 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } { (ac_try="$ac_compiler -v >&5" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_compiler -v >&5") 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } { (ac_try="$ac_compiler -V >&5" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_compiler -V >&5") 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; } if test "${ac_cv_c_compiler_gnu+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int main () { #ifndef __GNUC__ choke me #endif ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then ac_compiler_gnu=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_compiler_gnu=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_cv_c_compiler_gnu=$ac_compiler_gnu fi { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; } GCC=`test $ac_compiler_gnu = yes && echo yes` ac_test_CFLAGS=${CFLAGS+set} ac_save_CFLAGS=$CFLAGS { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; } if test "${ac_cv_prog_cc_g+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_save_c_werror_flag=$ac_c_werror_flag ac_c_werror_flag=yes ac_cv_prog_cc_g=no CFLAGS="-g" cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int main () { ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then ac_cv_prog_cc_g=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 CFLAGS="" cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int main () { ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then : else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_c_werror_flag=$ac_save_c_werror_flag CFLAGS="-g" cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int main () { ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then ac_cv_prog_cc_g=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_c_werror_flag=$ac_save_c_werror_flag fi { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; } if test "$ac_test_CFLAGS" = set; then CFLAGS=$ac_save_CFLAGS elif test $ac_cv_prog_cc_g = yes; then if test "$GCC" = yes; then CFLAGS="-g -O2" else CFLAGS="-g" fi else if test "$GCC" = yes; then CFLAGS="-O2" else CFLAGS= fi fi { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; } if test "${ac_cv_prog_cc_c89+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_cv_prog_cc_c89=no ac_save_CC=$CC cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include #include #include #include /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ struct buf { int x; }; FILE * (*rcsopen) (struct buf *, struct stat *, int); static char *e (p, i) char **p; int i; { return p[i]; } static char *f (char * (*g) (char **, int), char **p, ...) { char *s; va_list v; va_start (v,p); s = g (p, va_arg (v,int)); va_end (v); return s; } /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has function prototypes and stuff, but not '\xHH' hex character constants. These don't provoke an error unfortunately, instead are silently treated as 'x'. The following induces an error, until -std is added to get proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an array size at least. It's necessary to write '\x00'==0 to get something that's true only with -std. */ int osf4_cc_array ['\x00' == 0 ? 1 : -1]; /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters inside strings and character constants. */ #define FOO(x) 'x' int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; int test (int i, double x); struct s1 {int (*f) (int a);}; struct s2 {int (*f) (double a);}; int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); int argc; char **argv; int main () { return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; ; return 0; } _ACEOF for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" do CC="$ac_save_CC $ac_arg" rm -f conftest.$ac_objext if { (ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then ac_cv_prog_cc_c89=$ac_arg else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 fi rm -f core conftest.err conftest.$ac_objext test "x$ac_cv_prog_cc_c89" != "xno" && break done rm -f conftest.$ac_ext CC=$ac_save_CC fi # AC_CACHE_VAL case "x$ac_cv_prog_cc_c89" in x) { echo "$as_me:$LINENO: result: none needed" >&5 echo "${ECHO_T}none needed" >&6; } ;; xno) { echo "$as_me:$LINENO: result: unsupported" >&5 echo "${ECHO_T}unsupported" >&6; } ;; *) CC="$CC $ac_cv_prog_cc_c89" { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;; esac ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu depcc="$CC" am_compiler_list= { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; } if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then # We make a subdir and do the tests there. Otherwise we can end up # making bogus files that we don't know about and never remove. For # instance it was reported that on HP-UX the gcc test will end up # making a dummy file named `D' -- because `-MD' means `put the output # in D'. mkdir conftest.dir # Copy depcomp to subdir because otherwise we won't find it if we're # using a relative directory. cp "$am_depcomp" conftest.dir cd conftest.dir # We will build objects and dependencies in a subdirectory because # it helps to detect inapplicable dependency modes. For instance # both Tru64's cc and ICC support -MD to output dependencies as a # side effect of compilation, but ICC will put the dependencies in # the current directory while Tru64 will put them in the object # directory. mkdir sub am_cv_CC_dependencies_compiler_type=none if test "$am_compiler_list" = ""; then am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` fi for depmode in $am_compiler_list; do # Setup a source with many dependencies, because some compilers # like to wrap large dependency lists on column 80 (with \), and # we should not choose a depcomp mode which is confused by this. # # We need to recreate these files for each test, as the compiler may # overwrite some of them when testing with obscure command lines. # This happens at least with the AIX C compiler. : > sub/conftest.c for i in 1 2 3 4 5 6; do echo '#include "conftst'$i'.h"' >> sub/conftest.c # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with # Solaris 8's {/usr,}/bin/sh. touch sub/conftst$i.h done echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf case $depmode in nosideeffect) # after this tag, mechanisms are not by side-effect, so they'll # only be used when explicitly requested if test "x$enable_dependency_tracking" = xyes; then continue else break fi ;; none) break ;; esac # We check with `-c' and `-o' for the sake of the "dashmstdout" # mode. It turns out that the SunPro C++ compiler does not properly # handle `-M -o', and we need to detect this. if depmode=$depmode \ source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ >/dev/null 2>conftest.err && grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && ${MAKE-make} -s -f confmf > /dev/null 2>&1; then # icc doesn't choke on unknown options, it will just issue warnings # or remarks (even with -Werror). So we grep stderr for any message # that says an option was ignored or not supported. # When given -MP, icc 7.0 and 7.1 complain thusly: # icc: Command line warning: ignoring option '-M'; no argument required # The diagnosis changed in icc 8.0: # icc: Command line remark: option '-MP' not supported if (grep 'ignoring option' conftest.err || grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else am_cv_CC_dependencies_compiler_type=$depmode break fi fi done cd .. rm -rf conftest.dir else am_cv_CC_dependencies_compiler_type=none fi fi { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; } CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type if test "x$enable_dependency_tracking" != xno \ && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then am__fastdepCC_TRUE= am__fastdepCC_FALSE='#' else am__fastdepCC_TRUE='#' am__fastdepCC_FALSE= fi { echo "$as_me:$LINENO: checking for FAMOpen in -lfam" >&5 echo $ECHO_N "checking for FAMOpen in -lfam... $ECHO_C" >&6; } if test "${ac_cv_lib_fam_FAMOpen+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lfam $LIBS" cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char FAMOpen (); int main () { return FAMOpen (); ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_link") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && $as_test_x conftest$ac_exeext; then ac_cv_lib_fam_FAMOpen=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_lib_fam_FAMOpen=no fi rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi { echo "$as_me:$LINENO: result: $ac_cv_lib_fam_FAMOpen" >&5 echo "${ECHO_T}$ac_cv_lib_fam_FAMOpen" >&6; } if test $ac_cv_lib_fam_FAMOpen = yes; then cat >>confdefs.h <<_ACEOF #define HAVE_LIBFAM 1 _ACEOF LIBS="-lfam $LIBS" fi # $(datadir) has to be expanded by make # path to install docs in docdir='"$(datadir)/doc/$(PACKAGE)/"' # path to install xml stuff in xmldir='"$(datadir)/xml/$(PACKAGE)/"' # Checks for header files. ac_header_dirent=no for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do as_ac_Header=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh` { echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6; } if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include #include <$ac_hdr> int main () { if ((DIR *) 0) return 0; ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then eval "$as_ac_Header=yes" else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 eval "$as_ac_Header=no" fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi ac_res=`eval echo '${'$as_ac_Header'}'` { echo "$as_me:$LINENO: result: $ac_res" >&5 echo "${ECHO_T}$ac_res" >&6; } if test `eval echo '${'$as_ac_Header'}'` = yes; then cat >>confdefs.h <<_ACEOF #define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1 _ACEOF ac_header_dirent=$ac_hdr; break fi done # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix. if test $ac_header_dirent = dirent.h; then { echo "$as_me:$LINENO: checking for library containing opendir" >&5 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; } if test "${ac_cv_search_opendir+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_func_search_save_LIBS=$LIBS cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char opendir (); int main () { return opendir (); ; return 0; } _ACEOF for ac_lib in '' dir; do if test -z "$ac_lib"; then ac_res="none required" else ac_res=-l$ac_lib LIBS="-l$ac_lib $ac_func_search_save_LIBS" fi rm -f conftest.$ac_objext conftest$ac_exeext if { (ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_link") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && $as_test_x conftest$ac_exeext; then ac_cv_search_opendir=$ac_res else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 fi rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ conftest$ac_exeext if test "${ac_cv_search_opendir+set}" = set; then break fi done if test "${ac_cv_search_opendir+set}" = set; then : else ac_cv_search_opendir=no fi rm conftest.$ac_ext LIBS=$ac_func_search_save_LIBS fi { echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5 echo "${ECHO_T}$ac_cv_search_opendir" >&6; } ac_res=$ac_cv_search_opendir if test "$ac_res" != no; then test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" fi else { echo "$as_me:$LINENO: checking for library containing opendir" >&5 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; } if test "${ac_cv_search_opendir+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_func_search_save_LIBS=$LIBS cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char opendir (); int main () { return opendir (); ; return 0; } _ACEOF for ac_lib in '' x; do if test -z "$ac_lib"; then ac_res="none required" else ac_res=-l$ac_lib LIBS="-l$ac_lib $ac_func_search_save_LIBS" fi rm -f conftest.$ac_objext conftest$ac_exeext if { (ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_link") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && $as_test_x conftest$ac_exeext; then ac_cv_search_opendir=$ac_res else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 fi rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ conftest$ac_exeext if test "${ac_cv_search_opendir+set}" = set; then break fi done if test "${ac_cv_search_opendir+set}" = set; then : else ac_cv_search_opendir=no fi rm conftest.$ac_ext LIBS=$ac_func_search_save_LIBS fi { echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5 echo "${ECHO_T}$ac_cv_search_opendir" >&6; } ac_res=$ac_cv_search_opendir if test "$ac_res" != no; then test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" fi fi # Checks for typedefs, structures, and compiler characteristics. ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; } # On Suns, sometimes $CPP names a directory. if test -n "$CPP" && test -d "$CPP"; then CPP= fi if test -z "$CPP"; then if test "${ac_cv_prog_CPP+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else # Double quotes because CPP needs to be expanded for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" do ac_preproc_ok=false for ac_c_preproc_warn_flag in '' yes do # Use a header file that comes with gcc, so configuring glibc # with a fresh cross-compiler works. # Prefer to if __STDC__ is defined, since # exists even on freestanding compilers. # On the NeXT, cc -E runs the code through the compiler's parser, # not just through cpp. "Syntax error" is here to catch this case. cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #ifdef __STDC__ # include #else # include #endif Syntax error _ACEOF if { (ac_try="$ac_cpp conftest.$ac_ext" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null && { test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || test ! -s conftest.err }; then : else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 # Broken: fails on valid input. continue fi rm -f conftest.err conftest.$ac_ext # OK, works on sane cases. Now check whether nonexistent headers # can be detected and how. cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include _ACEOF if { (ac_try="$ac_cpp conftest.$ac_ext" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null && { test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || test ! -s conftest.err }; then # Broken: success on invalid input. continue else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 # Passes both tests. ac_preproc_ok=: break fi rm -f conftest.err conftest.$ac_ext done # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. rm -f conftest.err conftest.$ac_ext if $ac_preproc_ok; then break fi done ac_cv_prog_CPP=$CPP fi CPP=$ac_cv_prog_CPP else ac_cv_prog_CPP=$CPP fi { echo "$as_me:$LINENO: result: $CPP" >&5 echo "${ECHO_T}$CPP" >&6; } ac_preproc_ok=false for ac_c_preproc_warn_flag in '' yes do # Use a header file that comes with gcc, so configuring glibc # with a fresh cross-compiler works. # Prefer to if __STDC__ is defined, since # exists even on freestanding compilers. # On the NeXT, cc -E runs the code through the compiler's parser, # not just through cpp. "Syntax error" is here to catch this case. cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #ifdef __STDC__ # include #else # include #endif Syntax error _ACEOF if { (ac_try="$ac_cpp conftest.$ac_ext" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null && { test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || test ! -s conftest.err }; then : else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 # Broken: fails on valid input. continue fi rm -f conftest.err conftest.$ac_ext # OK, works on sane cases. Now check whether nonexistent headers # can be detected and how. cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include _ACEOF if { (ac_try="$ac_cpp conftest.$ac_ext" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null && { test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || test ! -s conftest.err }; then # Broken: success on invalid input. continue else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 # Passes both tests. ac_preproc_ok=: break fi rm -f conftest.err conftest.$ac_ext done # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. rm -f conftest.err conftest.$ac_ext if $ac_preproc_ok; then : else { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check See \`config.log' for more details." >&5 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check See \`config.log' for more details." >&2;} { (exit 1); exit 1; }; } fi ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; } if test "${ac_cv_path_GREP+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else # Extract the first word of "grep ggrep" to use in msg output if test -z "$GREP"; then set dummy grep ggrep; ac_prog_name=$2 if test "${ac_cv_path_GREP+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_path_GREP_found=false # Loop through the user's path and test for each of PROGNAME-LIST as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_prog in grep ggrep; do for ac_exec_ext in '' $ac_executable_extensions; do ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue # Check for GNU ac_path_GREP and select it if it is found. # Check for GNU $ac_path_GREP case `"$ac_path_GREP" --version 2>&1` in *GNU*) ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; *) ac_count=0 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" while : do cat "conftest.in" "conftest.in" >"conftest.tmp" mv "conftest.tmp" "conftest.in" cp "conftest.in" "conftest.nl" echo 'GREP' >> "conftest.nl" "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break ac_count=`expr $ac_count + 1` if test $ac_count -gt ${ac_path_GREP_max-0}; then # Best one so far, save it but keep looking for a better one ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_max=$ac_count fi # 10*(2^10) chars as input seems more than enough test $ac_count -gt 10 && break done rm -f conftest.in conftest.tmp conftest.nl conftest.out;; esac $ac_path_GREP_found && break 3 done done done IFS=$as_save_IFS fi GREP="$ac_cv_path_GREP" if test -z "$GREP"; then { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} { (exit 1); exit 1; }; } fi else ac_cv_path_GREP=$GREP fi fi { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5 echo "${ECHO_T}$ac_cv_path_GREP" >&6; } GREP="$ac_cv_path_GREP" { echo "$as_me:$LINENO: checking for egrep" >&5 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; } if test "${ac_cv_path_EGREP+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 then ac_cv_path_EGREP="$GREP -E" else # Extract the first word of "egrep" to use in msg output if test -z "$EGREP"; then set dummy egrep; ac_prog_name=$2 if test "${ac_cv_path_EGREP+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_path_EGREP_found=false # Loop through the user's path and test for each of PROGNAME-LIST as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_prog in egrep; do for ac_exec_ext in '' $ac_executable_extensions; do ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue # Check for GNU ac_path_EGREP and select it if it is found. # Check for GNU $ac_path_EGREP case `"$ac_path_EGREP" --version 2>&1` in *GNU*) ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; *) ac_count=0 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" while : do cat "conftest.in" "conftest.in" >"conftest.tmp" mv "conftest.tmp" "conftest.in" cp "conftest.in" "conftest.nl" echo 'EGREP' >> "conftest.nl" "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break ac_count=`expr $ac_count + 1` if test $ac_count -gt ${ac_path_EGREP_max-0}; then # Best one so far, save it but keep looking for a better one ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_max=$ac_count fi # 10*(2^10) chars as input seems more than enough test $ac_count -gt 10 && break done rm -f conftest.in conftest.tmp conftest.nl conftest.out;; esac $ac_path_EGREP_found && break 3 done done done IFS=$as_save_IFS fi EGREP="$ac_cv_path_EGREP" if test -z "$EGREP"; then { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} { (exit 1); exit 1; }; } fi else ac_cv_path_EGREP=$EGREP fi fi fi { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; } EGREP="$ac_cv_path_EGREP" { echo "$as_me:$LINENO: checking for ANSI C header files" >&5 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; } if test "${ac_cv_header_stdc+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include #include #include #include int main () { ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then ac_cv_header_stdc=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_header_stdc=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext if test $ac_cv_header_stdc = yes; then # SunOS 4.x string.h does not declare mem*, contrary to ANSI. cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | $EGREP "memchr" >/dev/null 2>&1; then : else ac_cv_header_stdc=no fi rm -f conftest* fi if test $ac_cv_header_stdc = yes; then # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | $EGREP "free" >/dev/null 2>&1; then : else ac_cv_header_stdc=no fi rm -f conftest* fi if test $ac_cv_header_stdc = yes; then # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. if test "$cross_compiling" = yes; then : else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include #include #if ((' ' & 0x0FF) == 0x020) # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) #else # define ISLOWER(c) \ (('a' <= (c) && (c) <= 'i') \ || ('j' <= (c) && (c) <= 'r') \ || ('s' <= (c) && (c) <= 'z')) # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) #endif #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) int main () { int i; for (i = 0; i < 256; i++) if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) return 2; return 0; } _ACEOF rm -f conftest$ac_exeext if { (ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_link") 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' { (case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_try") 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then : else echo "$as_me: program exited with status $ac_status" >&5 echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ( exit $ac_status ) ac_cv_header_stdc=no fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext fi fi fi { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 echo "${ECHO_T}$ac_cv_header_stdc" >&6; } if test $ac_cv_header_stdc = yes; then cat >>confdefs.h <<\_ACEOF #define STDC_HEADERS 1 _ACEOF fi # On IRIX 5.3, sys/types and inttypes.h are conflicting. for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ inttypes.h stdint.h unistd.h do as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` { echo "$as_me:$LINENO: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default #include <$ac_header> _ACEOF rm -f conftest.$ac_objext if { (ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then eval "$as_ac_Header=yes" else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 eval "$as_ac_Header=no" fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi ac_res=`eval echo '${'$as_ac_Header'}'` { echo "$as_me:$LINENO: result: $ac_res" >&5 echo "${ECHO_T}$ac_res" >&6; } if test `eval echo '${'$as_ac_Header'}'` = yes; then cat >>confdefs.h <<_ACEOF #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 _ACEOF fi done { echo "$as_me:$LINENO: checking for pid_t" >&5 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; } if test "${ac_cv_type_pid_t+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default typedef pid_t ac__type_new_; int main () { if ((ac__type_new_ *) 0) return 0; if (sizeof (ac__type_new_)) return 0; ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then ac_cv_type_pid_t=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_type_pid_t=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; } if test $ac_cv_type_pid_t = yes; then : else cat >>confdefs.h <<_ACEOF #define pid_t int _ACEOF fi { echo "$as_me:$LINENO: checking for size_t" >&5 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; } if test "${ac_cv_type_size_t+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default typedef size_t ac__type_new_; int main () { if ((ac__type_new_ *) 0) return 0; if (sizeof (ac__type_new_)) return 0; ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then ac_cv_type_size_t=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_type_size_t=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5 echo "${ECHO_T}$ac_cv_type_size_t" >&6; } if test $ac_cv_type_size_t = yes; then : else cat >>confdefs.h <<_ACEOF #define size_t unsigned int _ACEOF fi # Checks for library functions. for ac_header in vfork.h do as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then { echo "$as_me:$LINENO: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then echo $ECHO_N "(cached) $ECHO_C" >&6 fi ac_res=`eval echo '${'$as_ac_Header'}'` { echo "$as_me:$LINENO: result: $ac_res" >&5 echo "${ECHO_T}$ac_res" >&6; } else # Is the header compilable? { echo "$as_me:$LINENO: checking $ac_header usability" >&5 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default #include <$ac_header> _ACEOF rm -f conftest.$ac_objext if { (ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then ac_header_compiler=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_header_compiler=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 echo "${ECHO_T}$ac_header_compiler" >&6; } # Is the header present? { echo "$as_me:$LINENO: checking $ac_header presence" >&5 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include <$ac_header> _ACEOF if { (ac_try="$ac_cpp conftest.$ac_ext" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null && { test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || test ! -s conftest.err }; then ac_header_preproc=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_header_preproc=no fi rm -f conftest.err conftest.$ac_ext { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 echo "${ECHO_T}$ac_header_preproc" >&6; } # So? What about this header? case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in yes:no: ) { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} ac_header_preproc=yes ;; no:yes:* ) { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} ( cat <<\_ASBOX ## ---------------------------------------------------------------------------------- ## ## Report this to http://bugzilla.gnome.org/simple-bug-guide.cgi?product=passepartout ## ## ---------------------------------------------------------------------------------- ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; esac { echo "$as_me:$LINENO: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then echo $ECHO_N "(cached) $ECHO_C" >&6 else eval "$as_ac_Header=\$ac_header_preproc" fi ac_res=`eval echo '${'$as_ac_Header'}'` { echo "$as_me:$LINENO: result: $ac_res" >&5 echo "${ECHO_T}$ac_res" >&6; } fi if test `eval echo '${'$as_ac_Header'}'` = yes; then cat >>confdefs.h <<_ACEOF #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 _ACEOF fi done for ac_func in fork vfork do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` { echo "$as_me:$LINENO: checking for $ac_func" >&5 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Define $ac_func to an innocuous variant, in case declares $ac_func. For example, HP-UX 11i declares gettimeofday. */ #define $ac_func innocuous_$ac_func /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ #ifdef __STDC__ # include #else # include #endif #undef $ac_func /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char $ac_func (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined __stub_$ac_func || defined __stub___$ac_func choke me #endif int main () { return $ac_func (); ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_link") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && $as_test_x conftest$ac_exeext; then eval "$as_ac_var=yes" else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 eval "$as_ac_var=no" fi rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ conftest$ac_exeext conftest.$ac_ext fi ac_res=`eval echo '${'$as_ac_var'}'` { echo "$as_me:$LINENO: result: $ac_res" >&5 echo "${ECHO_T}$ac_res" >&6; } if test `eval echo '${'$as_ac_var'}'` = yes; then cat >>confdefs.h <<_ACEOF #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 _ACEOF fi done if test "x$ac_cv_func_fork" = xyes; then { echo "$as_me:$LINENO: checking for working fork" >&5 echo $ECHO_N "checking for working fork... $ECHO_C" >&6; } if test "${ac_cv_func_fork_works+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test "$cross_compiling" = yes; then ac_cv_func_fork_works=cross else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default int main () { /* By Ruediger Kuhlmann. */ return fork () < 0; ; return 0; } _ACEOF rm -f conftest$ac_exeext if { (ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_link") 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' { (case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_try") 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_func_fork_works=yes else echo "$as_me: program exited with status $ac_status" >&5 echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ( exit $ac_status ) ac_cv_func_fork_works=no fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext fi fi { echo "$as_me:$LINENO: result: $ac_cv_func_fork_works" >&5 echo "${ECHO_T}$ac_cv_func_fork_works" >&6; } else ac_cv_func_fork_works=$ac_cv_func_fork fi if test "x$ac_cv_func_fork_works" = xcross; then case $host in *-*-amigaos* | *-*-msdosdjgpp*) # Override, as these systems have only a dummy fork() stub ac_cv_func_fork_works=no ;; *) ac_cv_func_fork_works=yes ;; esac { echo "$as_me:$LINENO: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5 echo "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;} fi ac_cv_func_vfork_works=$ac_cv_func_vfork if test "x$ac_cv_func_vfork" = xyes; then { echo "$as_me:$LINENO: checking for working vfork" >&5 echo $ECHO_N "checking for working vfork... $ECHO_C" >&6; } if test "${ac_cv_func_vfork_works+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test "$cross_compiling" = yes; then ac_cv_func_vfork_works=cross else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Thanks to Paul Eggert for this test. */ $ac_includes_default #include #ifdef HAVE_VFORK_H # include #endif /* On some sparc systems, changes by the child to local and incoming argument registers are propagated back to the parent. The compiler is told about this with #include , but some compilers (e.g. gcc -O) don't grok . Test for this by using a static variable whose address is put into a register that is clobbered by the vfork. */ static void #ifdef __cplusplus sparc_address_test (int arg) # else sparc_address_test (arg) int arg; #endif { static pid_t child; if (!child) { child = vfork (); if (child < 0) { perror ("vfork"); _exit(2); } if (!child) { arg = getpid(); write(-1, "", 0); _exit (arg); } } } int main () { pid_t parent = getpid (); pid_t child; sparc_address_test (0); child = vfork (); if (child == 0) { /* Here is another test for sparc vfork register problems. This test uses lots of local variables, at least as many local variables as main has allocated so far including compiler temporaries. 4 locals are enough for gcc 1.40.3 on a Solaris 4.1.3 sparc, but we use 8 to be safe. A buggy compiler should reuse the register of parent for one of the local variables, since it will think that parent can't possibly be used any more in this routine. Assigning to the local variable will thus munge parent in the parent process. */ pid_t p = getpid(), p1 = getpid(), p2 = getpid(), p3 = getpid(), p4 = getpid(), p5 = getpid(), p6 = getpid(), p7 = getpid(); /* Convince the compiler that p..p7 are live; otherwise, it might use the same hardware register for all 8 local variables. */ if (p != p1 || p != p2 || p != p3 || p != p4 || p != p5 || p != p6 || p != p7) _exit(1); /* On some systems (e.g. IRIX 3.3), vfork doesn't separate parent from child file descriptors. If the child closes a descriptor before it execs or exits, this munges the parent's descriptor as well. Test for this by closing stdout in the child. */ _exit(close(fileno(stdout)) != 0); } else { int status; struct stat st; while (wait(&status) != child) ; return ( /* Was there some problem with vforking? */ child < 0 /* Did the child fail? (This shouldn't happen.) */ || status /* Did the vfork/compiler bug occur? */ || parent != getpid() /* Did the file descriptor bug occur? */ || fstat(fileno(stdout), &st) != 0 ); } } _ACEOF rm -f conftest$ac_exeext if { (ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_link") 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' { (case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_try") 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_func_vfork_works=yes else echo "$as_me: program exited with status $ac_status" >&5 echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ( exit $ac_status ) ac_cv_func_vfork_works=no fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext fi fi { echo "$as_me:$LINENO: result: $ac_cv_func_vfork_works" >&5 echo "${ECHO_T}$ac_cv_func_vfork_works" >&6; } fi; if test "x$ac_cv_func_fork_works" = xcross; then ac_cv_func_vfork_works=$ac_cv_func_vfork { echo "$as_me:$LINENO: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5 echo "$as_me: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&2;} fi if test "x$ac_cv_func_vfork_works" = xyes; then cat >>confdefs.h <<\_ACEOF #define HAVE_WORKING_VFORK 1 _ACEOF else cat >>confdefs.h <<\_ACEOF #define vfork fork _ACEOF fi if test "x$ac_cv_func_fork_works" = xyes; then cat >>confdefs.h <<\_ACEOF #define HAVE_WORKING_FORK 1 _ACEOF fi { echo "$as_me:$LINENO: checking whether lstat dereferences a symlink specified with a trailing slash" >&5 echo $ECHO_N "checking whether lstat dereferences a symlink specified with a trailing slash... $ECHO_C" >&6; } if test "${ac_cv_func_lstat_dereferences_slashed_symlink+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else rm -f conftest.sym conftest.file echo >conftest.file if test "$as_ln_s" = "ln -s" && ln -s conftest.file conftest.sym; then if test "$cross_compiling" = yes; then ac_cv_func_lstat_dereferences_slashed_symlink=no else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default int main () { struct stat sbuf; /* Linux will dereference the symlink and fail. That is better in the sense that it means we will not have to compile and use the lstat wrapper. */ return lstat ("conftest.sym/", &sbuf) == 0; ; return 0; } _ACEOF rm -f conftest$ac_exeext if { (ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_link") 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' { (case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_try") 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_func_lstat_dereferences_slashed_symlink=yes else echo "$as_me: program exited with status $ac_status" >&5 echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ( exit $ac_status ) ac_cv_func_lstat_dereferences_slashed_symlink=no fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext fi else # If the `ln -s' command failed, then we probably don't even # have an lstat function. ac_cv_func_lstat_dereferences_slashed_symlink=no fi rm -f conftest.sym conftest.file fi { echo "$as_me:$LINENO: result: $ac_cv_func_lstat_dereferences_slashed_symlink" >&5 echo "${ECHO_T}$ac_cv_func_lstat_dereferences_slashed_symlink" >&6; } test $ac_cv_func_lstat_dereferences_slashed_symlink = yes && cat >>confdefs.h <<_ACEOF #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1 _ACEOF if test $ac_cv_func_lstat_dereferences_slashed_symlink = no; then case " $LIBOBJS " in *" lstat.$ac_objext "* ) ;; *) LIBOBJS="$LIBOBJS lstat.$ac_objext" ;; esac fi { echo "$as_me:$LINENO: checking whether stat accepts an empty string" >&5 echo $ECHO_N "checking whether stat accepts an empty string... $ECHO_C" >&6; } if test "${ac_cv_func_stat_empty_string_bug+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test "$cross_compiling" = yes; then ac_cv_func_stat_empty_string_bug=yes else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default int main () { struct stat sbuf; return stat ("", &sbuf) == 0; ; return 0; } _ACEOF rm -f conftest$ac_exeext if { (ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_link") 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' { (case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_try") 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_func_stat_empty_string_bug=no else echo "$as_me: program exited with status $ac_status" >&5 echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ( exit $ac_status ) ac_cv_func_stat_empty_string_bug=yes fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext fi fi { echo "$as_me:$LINENO: result: $ac_cv_func_stat_empty_string_bug" >&5 echo "${ECHO_T}$ac_cv_func_stat_empty_string_bug" >&6; } if test $ac_cv_func_stat_empty_string_bug = yes; then case " $LIBOBJS " in *" stat.$ac_objext "* ) ;; *) LIBOBJS="$LIBOBJS stat.$ac_objext" ;; esac cat >>confdefs.h <<_ACEOF #define HAVE_STAT_EMPTY_STRING_BUG 1 _ACEOF fi for ac_func in realpath strdup mkdtemp do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` { echo "$as_me:$LINENO: checking for $ac_func" >&5 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Define $ac_func to an innocuous variant, in case declares $ac_func. For example, HP-UX 11i declares gettimeofday. */ #define $ac_func innocuous_$ac_func /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ #ifdef __STDC__ # include #else # include #endif #undef $ac_func /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char $ac_func (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined __stub_$ac_func || defined __stub___$ac_func choke me #endif int main () { return $ac_func (); ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_link") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && $as_test_x conftest$ac_exeext; then eval "$as_ac_var=yes" else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 eval "$as_ac_var=no" fi rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ conftest$ac_exeext conftest.$ac_ext fi ac_res=`eval echo '${'$as_ac_var'}'` { echo "$as_me:$LINENO: result: $ac_res" >&5 echo "${ECHO_T}$ac_res" >&6; } if test `eval echo '${'$as_ac_var'}'` = yes; then cat >>confdefs.h <<_ACEOF #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 _ACEOF fi done ac_config_files="$ac_config_files Makefile src/Makefile src/ps/Makefile src/util/Makefile src/testbed/Makefile src/fonts/Makefile src/pptout/Makefile src/pptout/document/Makefile src/pptout/widget/Makefile src/pptout/icons/Makefile src/xml2ps/Makefile doc/Makefile doc/examples/Makefile logotype/Makefile" cat >confcache <<\_ACEOF # This file is a shell script that caches the results of configure # tests run on this system so they can be shared between configure # scripts and configure runs, see configure's option --config-cache. # It is not useful on other systems. If it contains results you don't # want to keep, you may remove or edit it. # # config.status only pays attention to the cache file if you give it # the --recheck option to rerun configure. # # `ac_cv_env_foo' variables (set or unset) will be overridden when # loading this file, other *unset* `ac_cv_foo' will be assigned the # following values. _ACEOF # The following way of writing the cache mishandles newlines in values, # but we know of no workaround that is simple, portable, and efficient. # So, we kill variables containing newlines. # Ultrix sh set writes to stderr and can't be redirected directly, # and sets the high bit in the cache file unless we assign to the vars. ( for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do eval ac_val=\$$ac_var case $ac_val in #( *${as_nl}*) case $ac_var in #( *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; esac case $ac_var in #( _ | IFS | as_nl) ;; #( *) $as_unset $ac_var ;; esac ;; esac done (set) 2>&1 | case $as_nl`(ac_space=' '; set) 2>&1` in #( *${as_nl}ac_space=\ *) # `set' does not quote correctly, so add quotes (double-quote # substitution turns \\\\ into \\, and sed turns \\ into \). sed -n \ "s/'/'\\\\''/g; s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" ;; #( *) # `set' quotes correctly as required by POSIX, so do not add quotes. sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" ;; esac | sort ) | sed ' /^ac_cv_env_/b end t clear :clear s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ t end s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ :end' >>confcache if diff "$cache_file" confcache >/dev/null 2>&1; then :; else if test -w "$cache_file"; then test "x$cache_file" != "x/dev/null" && { echo "$as_me:$LINENO: updating cache $cache_file" >&5 echo "$as_me: updating cache $cache_file" >&6;} cat confcache >$cache_file else { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5 echo "$as_me: not updating unwritable cache $cache_file" >&6;} fi fi rm -f confcache test "x$prefix" = xNONE && prefix=$ac_default_prefix # Let make expand exec_prefix. test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' DEFS=-DHAVE_CONFIG_H ac_libobjs= ac_ltlibobjs= for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue # 1. Remove the extension, and $U if already installed. ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' ac_i=`echo "$ac_i" | sed "$ac_script"` # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR # will be set to the directory where LIBOBJS objects are built. ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext" ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo' done LIBOBJS=$ac_libobjs LTLIBOBJS=$ac_ltlibobjs if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined. Usually this means the macro was only invoked conditionally." >&5 echo "$as_me: error: conditional \"AMDEP\" was never defined. Usually this means the macro was only invoked conditionally." >&2;} { (exit 1); exit 1; }; } fi if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined. Usually this means the macro was only invoked conditionally." >&5 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined. Usually this means the macro was only invoked conditionally." >&2;} { (exit 1); exit 1; }; } fi if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined. Usually this means the macro was only invoked conditionally." >&5 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined. Usually this means the macro was only invoked conditionally." >&2;} { (exit 1); exit 1; }; } fi : ${CONFIG_STATUS=./config.status} ac_clean_files_save=$ac_clean_files ac_clean_files="$ac_clean_files $CONFIG_STATUS" { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 echo "$as_me: creating $CONFIG_STATUS" >&6;} cat >$CONFIG_STATUS <<_ACEOF #! $SHELL # Generated by $as_me. # Run this file to recreate the current configuration. # Compiler output produced by configure, useful for debugging # configure, is in config.log if it exists. debug=false ac_cs_recheck=false ac_cs_silent=false SHELL=\${CONFIG_SHELL-$SHELL} _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF ## --------------------- ## ## M4sh Initialization. ## ## --------------------- ## # Be more Bourne compatible DUALCASE=1; export DUALCASE # for MKS sh if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then emulate sh NULLCMD=: # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which # is contrary to our usage. Disable this feature. alias -g '${1+"$@"}'='"$@"' setopt NO_GLOB_SUBST else case `(set -o) 2>/dev/null` in *posix*) set -o posix ;; esac fi # PATH needs CR # Avoid depending upon Character Ranges. as_cr_letters='abcdefghijklmnopqrstuvwxyz' as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' as_cr_Letters=$as_cr_letters$as_cr_LETTERS as_cr_digits='0123456789' as_cr_alnum=$as_cr_Letters$as_cr_digits # The user is always right. if test "${PATH_SEPARATOR+set}" != set; then echo "#! /bin/sh" >conf$$.sh echo "exit 0" >>conf$$.sh chmod +x conf$$.sh if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then PATH_SEPARATOR=';' else PATH_SEPARATOR=: fi rm -f conf$$.sh fi # Support unset when possible. if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then as_unset=unset else as_unset=false fi # IFS # We need space, tab and new line, in precisely that order. Quoting is # there to prevent editors from complaining about space-tab. # (If _AS_PATH_WALK were called with IFS unset, it would disable word # splitting by setting IFS to empty value.) as_nl=' ' IFS=" "" $as_nl" # Find who we are. Look in the path if we contain no directory separator. case $0 in *[\\/]* ) as_myself=$0 ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break done IFS=$as_save_IFS ;; esac # We did not find ourselves, most probably we were run as `sh COMMAND' # in which case we are not to be found in the path. if test "x$as_myself" = x; then as_myself=$0 fi if test ! -f "$as_myself"; then echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 { (exit 1); exit 1; } fi # Work around bugs in pre-3.0 UWIN ksh. for as_var in ENV MAIL MAILPATH do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var done PS1='$ ' PS2='> ' PS4='+ ' # NLS nuisances. for as_var in \ LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ LC_TELEPHONE LC_TIME do if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then eval $as_var=C; export $as_var else ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var fi done # Required to use basename. if expr a : '\(a\)' >/dev/null 2>&1 && test "X`expr 00001 : '.*\(...\)'`" = X001; then as_expr=expr else as_expr=false fi if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then as_basename=basename else as_basename=false fi # Name of the executable. as_me=`$as_basename -- "$0" || $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ X"$0" : 'X\(//\)$' \| \ X"$0" : 'X\(/\)' \| . 2>/dev/null || echo X/"$0" | sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/ q } /^X\/\(\/\/\)$/{ s//\1/ q } /^X\/\(\/\).*/{ s//\1/ q } s/.*/./; q'` # CDPATH. $as_unset CDPATH as_lineno_1=$LINENO as_lineno_2=$LINENO test "x$as_lineno_1" != "x$as_lineno_2" && test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { # Create $as_me.lineno as a copy of $as_myself, but with $LINENO # uniformly replaced by the line number. The first 'sed' inserts a # line-number line after each line using $LINENO; the second 'sed' # does the real work. The second script uses 'N' to pair each # line-number line with the line containing $LINENO, and appends # trailing '-' during substitution so that $LINENO is not a special # case at line end. # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the # scripts with optimization help from Paolo Bonzini. Blame Lee # E. McMahon (1931-1989) for sed's syntax. :-) sed -n ' p /[$]LINENO/= ' <$as_myself | sed ' s/[$]LINENO.*/&-/ t lineno b :lineno N :loop s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ t loop s/-\n.*// ' >$as_me.lineno && chmod +x "$as_me.lineno" || { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 { (exit 1); exit 1; }; } # Don't try to exec as it changes $[0], causing all sort of problems # (the dirname of $[0] is not the place where we might find the # original and so on. Autoconf is especially sensitive to this). . "./$as_me.lineno" # Exit status is that of the last command. exit } if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then as_dirname=dirname else as_dirname=false fi ECHO_C= ECHO_N= ECHO_T= case `echo -n x` in -n*) case `echo 'x\c'` in *c*) ECHO_T=' ';; # ECHO_T is single tab character. *) ECHO_C='\c';; esac;; *) ECHO_N='-n';; esac if expr a : '\(a\)' >/dev/null 2>&1 && test "X`expr 00001 : '.*\(...\)'`" = X001; then as_expr=expr else as_expr=false fi rm -f conf$$ conf$$.exe conf$$.file if test -d conf$$.dir; then rm -f conf$$.dir/conf$$.file else rm -f conf$$.dir mkdir conf$$.dir fi echo >conf$$.file if ln -s conf$$.file conf$$ 2>/dev/null; then as_ln_s='ln -s' # ... but there are two gotchas: # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. # In both cases, we have to default to `cp -p'. ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || as_ln_s='cp -p' elif ln conf$$.file conf$$ 2>/dev/null; then as_ln_s=ln else as_ln_s='cp -p' fi rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file rmdir conf$$.dir 2>/dev/null if mkdir -p . 2>/dev/null; then as_mkdir_p=: else test -d ./-p && rmdir ./-p as_mkdir_p=false fi if test -x / >/dev/null 2>&1; then as_test_x='test -x' else if ls -dL / >/dev/null 2>&1; then as_ls_L_option=L else as_ls_L_option= fi as_test_x=' eval sh -c '\'' if test -d "$1"; then test -d "$1/."; else case $1 in -*)set "./$1";; esac; case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in ???[sx]*):;;*)false;;esac;fi '\'' sh ' fi as_executable_p=$as_test_x # Sed expression to map a string onto a valid CPP name. as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" # Sed expression to map a string onto a valid variable name. as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" exec 6>&1 # Save the log message, to keep $[0] and so on meaningful, and to # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" This file was extended by Passepartout $as_me 0.7.1, which was generated by GNU Autoconf 2.61. Invocation command line was CONFIG_FILES = $CONFIG_FILES CONFIG_HEADERS = $CONFIG_HEADERS CONFIG_LINKS = $CONFIG_LINKS CONFIG_COMMANDS = $CONFIG_COMMANDS $ $0 $@ on `(hostname || uname -n) 2>/dev/null | sed 1q` " _ACEOF cat >>$CONFIG_STATUS <<_ACEOF # Files that config.status was made for. config_files="$ac_config_files" config_headers="$ac_config_headers" config_commands="$ac_config_commands" _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF ac_cs_usage="\ \`$as_me' instantiates files from templates according to the current configuration. Usage: $0 [OPTIONS] [FILE]... -h, --help print this help, then exit -V, --version print version number and configuration settings, then exit -q, --quiet do not print progress messages -d, --debug don't remove temporary files --recheck update $as_me by reconfiguring in the same conditions --file=FILE[:TEMPLATE] instantiate the configuration file FILE --header=FILE[:TEMPLATE] instantiate the configuration header FILE Configuration files: $config_files Configuration headers: $config_headers Configuration commands: $config_commands Report bugs to ." _ACEOF cat >>$CONFIG_STATUS <<_ACEOF ac_cs_version="\\ Passepartout config.status 0.7.1 configured by $0, generated by GNU Autoconf 2.61, with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" Copyright (C) 2006 Free Software Foundation, Inc. This config.status script is free software; the Free Software Foundation gives unlimited permission to copy, distribute and modify it." ac_pwd='$ac_pwd' srcdir='$srcdir' INSTALL='$INSTALL' MKDIR_P='$MKDIR_P' _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF # If no file are specified by the user, then we need to provide default # value. By we need to know if files were specified by the user. ac_need_defaults=: while test $# != 0 do case $1 in --*=*) ac_option=`expr "X$1" : 'X\([^=]*\)='` ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` ac_shift=: ;; *) ac_option=$1 ac_optarg=$2 ac_shift=shift ;; esac case $ac_option in # Handling of the options. -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) ac_cs_recheck=: ;; --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) echo "$ac_cs_version"; exit ;; --debug | --debu | --deb | --de | --d | -d ) debug=: ;; --file | --fil | --fi | --f ) $ac_shift CONFIG_FILES="$CONFIG_FILES $ac_optarg" ac_need_defaults=false;; --header | --heade | --head | --hea ) $ac_shift CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" ac_need_defaults=false;; --he | --h) # Conflict between --help and --header { echo "$as_me: error: ambiguous option: $1 Try \`$0 --help' for more information." >&2 { (exit 1); exit 1; }; };; --help | --hel | -h ) echo "$ac_cs_usage"; exit ;; -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | -silent | --silent | --silen | --sile | --sil | --si | --s) ac_cs_silent=: ;; # This is an error. -*) { echo "$as_me: error: unrecognized option: $1 Try \`$0 --help' for more information." >&2 { (exit 1); exit 1; }; } ;; *) ac_config_targets="$ac_config_targets $1" ac_need_defaults=false ;; esac shift done ac_configure_extra_args= if $ac_cs_silent; then exec 6>/dev/null ac_configure_extra_args="$ac_configure_extra_args --silent" fi _ACEOF cat >>$CONFIG_STATUS <<_ACEOF if \$ac_cs_recheck; then echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 CONFIG_SHELL=$SHELL export CONFIG_SHELL exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion fi _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF exec 5>>config.log { echo sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX ## Running $as_me. ## _ASBOX echo "$ac_log" } >&5 _ACEOF cat >>$CONFIG_STATUS <<_ACEOF # # INIT-COMMANDS # AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF # Handling of arguments. for ac_config_target in $ac_config_targets do case $ac_config_target in "src/defines.h") CONFIG_HEADERS="$CONFIG_HEADERS src/defines.h" ;; "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; "src/ps/Makefile") CONFIG_FILES="$CONFIG_FILES src/ps/Makefile" ;; "src/util/Makefile") CONFIG_FILES="$CONFIG_FILES src/util/Makefile" ;; "src/testbed/Makefile") CONFIG_FILES="$CONFIG_FILES src/testbed/Makefile" ;; "src/fonts/Makefile") CONFIG_FILES="$CONFIG_FILES src/fonts/Makefile" ;; "src/pptout/Makefile") CONFIG_FILES="$CONFIG_FILES src/pptout/Makefile" ;; "src/pptout/document/Makefile") CONFIG_FILES="$CONFIG_FILES src/pptout/document/Makefile" ;; "src/pptout/widget/Makefile") CONFIG_FILES="$CONFIG_FILES src/pptout/widget/Makefile" ;; "src/pptout/icons/Makefile") CONFIG_FILES="$CONFIG_FILES src/pptout/icons/Makefile" ;; "src/xml2ps/Makefile") CONFIG_FILES="$CONFIG_FILES src/xml2ps/Makefile" ;; "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; "doc/examples/Makefile") CONFIG_FILES="$CONFIG_FILES doc/examples/Makefile" ;; "logotype/Makefile") CONFIG_FILES="$CONFIG_FILES logotype/Makefile" ;; *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 echo "$as_me: error: invalid argument: $ac_config_target" >&2;} { (exit 1); exit 1; }; };; esac done # If the user did not use the arguments to specify the items to instantiate, # then the envvar interface is used. Set only those that are not. # We use the long form for the default assignment because of an extremely # bizarre bug on SunOS 4.1.3. if $ac_need_defaults; then test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands fi # Have a temporary directory for convenience. Make it in the build tree # simply because there is no reason against having it here, and in addition, # creating and moving files from /tmp can sometimes cause problems. # Hook for its removal unless debugging. # Note that there is a small window in which the directory will not be cleaned: # after its creation but before its name has been assigned to `$tmp'. $debug || { tmp= trap 'exit_status=$? { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status ' 0 trap '{ (exit 1); exit 1; }' 1 2 13 15 } # Create a (secure) tmp directory for tmp files. { tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" } || { tmp=./conf$$-$RANDOM (umask 077 && mkdir "$tmp") } || { echo "$me: cannot create a temporary directory in ." >&2 { (exit 1); exit 1; } } # # Set up the sed scripts for CONFIG_FILES section. # # No need to generate the scripts if there are no CONFIG_FILES. # This happens for instance when ./config.status config.h if test -n "$CONFIG_FILES"; then _ACEOF ac_delim='%!_!# ' for ac_last_try in false false false false false :; do cat >conf$$subs.sed <<_ACEOF SHELL!$SHELL$ac_delim PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim PACKAGE_NAME!$PACKAGE_NAME$ac_delim PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim PACKAGE_STRING!$PACKAGE_STRING$ac_delim PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim exec_prefix!$exec_prefix$ac_delim prefix!$prefix$ac_delim program_transform_name!$program_transform_name$ac_delim bindir!$bindir$ac_delim sbindir!$sbindir$ac_delim libexecdir!$libexecdir$ac_delim datarootdir!$datarootdir$ac_delim datadir!$datadir$ac_delim sysconfdir!$sysconfdir$ac_delim sharedstatedir!$sharedstatedir$ac_delim localstatedir!$localstatedir$ac_delim includedir!$includedir$ac_delim oldincludedir!$oldincludedir$ac_delim docdir!$docdir$ac_delim infodir!$infodir$ac_delim htmldir!$htmldir$ac_delim dvidir!$dvidir$ac_delim pdfdir!$pdfdir$ac_delim psdir!$psdir$ac_delim libdir!$libdir$ac_delim localedir!$localedir$ac_delim mandir!$mandir$ac_delim DEFS!$DEFS$ac_delim ECHO_C!$ECHO_C$ac_delim ECHO_N!$ECHO_N$ac_delim ECHO_T!$ECHO_T$ac_delim LIBS!$LIBS$ac_delim build_alias!$build_alias$ac_delim host_alias!$host_alias$ac_delim target_alias!$target_alias$ac_delim INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim INSTALL_DATA!$INSTALL_DATA$ac_delim am__isrc!$am__isrc$ac_delim CYGPATH_W!$CYGPATH_W$ac_delim PACKAGE!$PACKAGE$ac_delim VERSION!$VERSION$ac_delim ACLOCAL!$ACLOCAL$ac_delim AUTOCONF!$AUTOCONF$ac_delim AUTOMAKE!$AUTOMAKE$ac_delim AUTOHEADER!$AUTOHEADER$ac_delim MAKEINFO!$MAKEINFO$ac_delim install_sh!$install_sh$ac_delim STRIP!$STRIP$ac_delim INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim mkdir_p!$mkdir_p$ac_delim AWK!$AWK$ac_delim SET_MAKE!$SET_MAKE$ac_delim am__leading_dot!$am__leading_dot$ac_delim AMTAR!$AMTAR$ac_delim am__tar!$am__tar$ac_delim am__untar!$am__untar$ac_delim CXX!$CXX$ac_delim CXXFLAGS!$CXXFLAGS$ac_delim LDFLAGS!$LDFLAGS$ac_delim CPPFLAGS!$CPPFLAGS$ac_delim ac_ct_CXX!$ac_ct_CXX$ac_delim EXEEXT!$EXEEXT$ac_delim OBJEXT!$OBJEXT$ac_delim DEPDIR!$DEPDIR$ac_delim am__include!$am__include$ac_delim am__quote!$am__quote$ac_delim AMDEP_TRUE!$AMDEP_TRUE$ac_delim AMDEP_FALSE!$AMDEP_FALSE$ac_delim AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim CXXDEPMODE!$CXXDEPMODE$ac_delim am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim RANLIB!$RANLIB$ac_delim APPLY_RPATH!$APPLY_RPATH$ac_delim XMLPP_LIBS!$XMLPP_LIBS$ac_delim XMLPP_CFLAGS!$XMLPP_CFLAGS$ac_delim PKG_CONFIG!$PKG_CONFIG$ac_delim GTKMM_LIBS!$GTKMM_LIBS$ac_delim GTKMM_CFLAGS!$GTKMM_CFLAGS$ac_delim GNOMECANVAS_LIBS!$GNOMECANVAS_LIBS$ac_delim GNOMECANVAS_CFLAGS!$GNOMECANVAS_CFLAGS$ac_delim GTHREAD_LIBS!$GTHREAD_LIBS$ac_delim GTHREAD_CFLAGS!$GTHREAD_CFLAGS$ac_delim FREETYPE_LIBS!$FREETYPE_LIBS$ac_delim FREETYPE_CFLAGS!$FREETYPE_CFLAGS$ac_delim GNOME_LIBS!$GNOME_LIBS$ac_delim GNOME_CFLAGS!$GNOME_CFLAGS$ac_delim GNOMEVFS_LIBS!$GNOMEVFS_LIBS$ac_delim GNOMEVFS_CFLAGS!$GNOMEVFS_CFLAGS$ac_delim CC!$CC$ac_delim CFLAGS!$CFLAGS$ac_delim ac_ct_CC!$ac_ct_CC$ac_delim CCDEPMODE!$CCDEPMODE$ac_delim am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim _ACEOF if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then break elif $ac_last_try; then { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} { (exit 1); exit 1; }; } else ac_delim="$ac_delim!$ac_delim _$ac_delim!! " fi done ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed` if test -n "$ac_eof"; then ac_eof=`echo "$ac_eof" | sort -nru | sed 1q` ac_eof=`expr $ac_eof + 1` fi cat >>$CONFIG_STATUS <<_ACEOF cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof /@[a-zA-Z_][a-zA-Z_0-9]*@/!b _ACEOF sed ' s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g s/^/s,@/; s/!/@,|#_!!_#|/ :n t n s/'"$ac_delim"'$/,g/; t s/$/\\/; p N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n ' >>$CONFIG_STATUS >$CONFIG_STATUS <<_ACEOF CEOF$ac_eof _ACEOF ac_delim='%!_!# ' for ac_last_try in false false false false false :; do cat >conf$$subs.sed <<_ACEOF am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim xmldir!$xmldir$ac_delim CPP!$CPP$ac_delim GREP!$GREP$ac_delim EGREP!$EGREP$ac_delim LIBOBJS!$LIBOBJS$ac_delim LTLIBOBJS!$LTLIBOBJS$ac_delim _ACEOF if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 7; then break elif $ac_last_try; then { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} { (exit 1); exit 1; }; } else ac_delim="$ac_delim!$ac_delim _$ac_delim!! " fi done ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed` if test -n "$ac_eof"; then ac_eof=`echo "$ac_eof" | sort -nru | sed 1q` ac_eof=`expr $ac_eof + 1` fi cat >>$CONFIG_STATUS <<_ACEOF cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end _ACEOF sed ' s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g s/^/s,@/; s/!/@,|#_!!_#|/ :n t n s/'"$ac_delim"'$/,g/; t s/$/\\/; p N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n ' >>$CONFIG_STATUS >$CONFIG_STATUS <<_ACEOF :end s/|#_!!_#|//g CEOF$ac_eof _ACEOF # VPATH may cause trouble with some makes, so we remove $(srcdir), # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and # trailing colons and then remove the whole line if VPATH becomes empty # (actually we leave an empty line to preserve line numbers). if test "x$srcdir" = x.; then ac_vpsub='/^[ ]*VPATH[ ]*=/{ s/:*\$(srcdir):*/:/ s/:*\${srcdir}:*/:/ s/:*@srcdir@:*/:/ s/^\([^=]*=[ ]*\):*/\1/ s/:*$// s/^[^=]*=[ ]*$// }' fi cat >>$CONFIG_STATUS <<\_ACEOF fi # test -n "$CONFIG_FILES" for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS do case $ac_tag in :[FHLC]) ac_mode=$ac_tag; continue;; esac case $ac_mode$ac_tag in :[FHL]*:*);; :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5 echo "$as_me: error: Invalid tag $ac_tag." >&2;} { (exit 1); exit 1; }; };; :[FH]-) ac_tag=-:-;; :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; esac ac_save_IFS=$IFS IFS=: set x $ac_tag IFS=$ac_save_IFS shift ac_file=$1 shift case $ac_mode in :L) ac_source=$1;; :[FH]) ac_file_inputs= for ac_f do case $ac_f in -) ac_f="$tmp/stdin";; *) # Look for the file first in the build tree, then in the source tree # (if the path is not absolute). The absolute path cannot be DOS-style, # because $ac_f cannot contain `:'. test -f "$ac_f" || case $ac_f in [\\/$]*) false;; *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; esac || { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 echo "$as_me: error: cannot find input file: $ac_f" >&2;} { (exit 1); exit 1; }; };; esac ac_file_inputs="$ac_file_inputs $ac_f" done # Let's still pretend it is `configure' which instantiates (i.e., don't # use $as_me), people would be surprised to read: # /* config.h. Generated by config.status. */ configure_input="Generated from "`IFS=: echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure." if test x"$ac_file" != x-; then configure_input="$ac_file. $configure_input" { echo "$as_me:$LINENO: creating $ac_file" >&5 echo "$as_me: creating $ac_file" >&6;} fi case $ac_tag in *:-:* | *:-) cat >"$tmp/stdin";; esac ;; esac ac_dir=`$as_dirname -- "$ac_file" || $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$ac_file" : 'X\(//\)[^/]' \| \ X"$ac_file" : 'X\(//\)$' \| \ X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || echo X"$ac_file" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'` { as_dir="$ac_dir" case $as_dir in #( -*) as_dir=./$as_dir;; esac test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { as_dirs= while :; do case $as_dir in #( *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #( *) as_qdir=$as_dir;; esac as_dirs="'$as_qdir' $as_dirs" as_dir=`$as_dirname -- "$as_dir" || $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$as_dir" : 'X\(//\)[^/]' \| \ X"$as_dir" : 'X\(//\)$' \| \ X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || echo X"$as_dir" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'` test -d "$as_dir" && break done test -z "$as_dirs" || eval "mkdir $as_dirs" } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 echo "$as_me: error: cannot create directory $as_dir" >&2;} { (exit 1); exit 1; }; }; } ac_builddir=. case "$ac_dir" in .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; *) ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` # A ".." for each directory in $ac_dir_suffix. ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` case $ac_top_builddir_sub in "") ac_top_builddir_sub=. ac_top_build_prefix= ;; *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; esac ;; esac ac_abs_top_builddir=$ac_pwd ac_abs_builddir=$ac_pwd$ac_dir_suffix # for backward compatibility: ac_top_builddir=$ac_top_build_prefix case $srcdir in .) # We are building in place. ac_srcdir=. ac_top_srcdir=$ac_top_builddir_sub ac_abs_top_srcdir=$ac_pwd ;; [\\/]* | ?:[\\/]* ) # Absolute name. ac_srcdir=$srcdir$ac_dir_suffix; ac_top_srcdir=$srcdir ac_abs_top_srcdir=$srcdir ;; *) # Relative name. ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix ac_top_srcdir=$ac_top_build_prefix$srcdir ac_abs_top_srcdir=$ac_pwd/$srcdir ;; esac ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix case $ac_mode in :F) # # CONFIG_FILE # case $INSTALL in [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; esac ac_MKDIR_P=$MKDIR_P case $MKDIR_P in [\\/$]* | ?:[\\/]* ) ;; */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; esac _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF # If the template does not know about datarootdir, expand it. # FIXME: This hack should be removed a few years after 2.60. ac_datarootdir_hack=; ac_datarootdir_seen= case `sed -n '/datarootdir/ { p q } /@datadir@/p /@docdir@/p /@infodir@/p /@localedir@/p /@mandir@/p ' $ac_file_inputs` in *datarootdir*) ac_datarootdir_seen=yes;; *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} _ACEOF cat >>$CONFIG_STATUS <<_ACEOF ac_datarootdir_hack=' s&@datadir@&$datadir&g s&@docdir@&$docdir&g s&@infodir@&$infodir&g s&@localedir@&$localedir&g s&@mandir@&$mandir&g s&\\\${datarootdir}&$datarootdir&g' ;; esac _ACEOF # Neutralize VPATH when `$srcdir' = `.'. # Shell code in configure.ac might set extrasub. # FIXME: do we really want to maintain this feature? cat >>$CONFIG_STATUS <<_ACEOF sed "$ac_vpsub $extrasub _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF :t /@[a-zA-Z_][a-zA-Z_0-9]*@/!b s&@configure_input@&$configure_input&;t t s&@top_builddir@&$ac_top_builddir_sub&;t t s&@srcdir@&$ac_srcdir&;t t s&@abs_srcdir@&$ac_abs_srcdir&;t t s&@top_srcdir@&$ac_top_srcdir&;t t s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t s&@builddir@&$ac_builddir&;t t s&@abs_builddir@&$ac_abs_builddir&;t t s&@abs_top_builddir@&$ac_abs_top_builddir&;t t s&@INSTALL@&$ac_INSTALL&;t t s&@MKDIR_P@&$ac_MKDIR_P&;t t $ac_datarootdir_hack " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' which seems to be undefined. Please make sure it is defined." >&5 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' which seems to be undefined. Please make sure it is defined." >&2;} rm -f "$tmp/stdin" case $ac_file in -) cat "$tmp/out"; rm -f "$tmp/out";; *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;; esac ;; :H) # # CONFIG_HEADER # _ACEOF # Transform confdefs.h into a sed script `conftest.defines', that # substitutes the proper values into config.h.in to produce config.h. rm -f conftest.defines conftest.tail # First, append a space to every undef/define line, to ease matching. echo 's/$/ /' >conftest.defines # Then, protect against being on the right side of a sed subst, or in # an unquoted here document, in config.status. If some macros were # called several times there might be several #defines for the same # symbol, which is useless. But do not sort them, since the last # AC_DEFINE must be honored. ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where # NAME is the cpp macro being defined, VALUE is the value it is being given. # PARAMS is the parameter list in the macro definition--in most cases, it's # just an empty string. ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*' ac_dB='\\)[ (].*,\\1define\\2' ac_dC=' ' ac_dD=' ,' uniq confdefs.h | sed -n ' t rset :rset s/^[ ]*#[ ]*define[ ][ ]*// t ok d :ok s/[\\&,]/\\&/g s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p ' >>conftest.defines # Remove the space that was appended to ease matching. # Then replace #undef with comments. This is necessary, for # example, in the case of _POSIX_SOURCE, which is predefined and required # on some systems where configure will not decide to define it. # (The regexp can be short, since the line contains either #define or #undef.) echo 's/ $// s,^[ #]*u.*,/* & */,' >>conftest.defines # Break up conftest.defines: ac_max_sed_lines=50 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1" # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2" # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1" # et cetera. ac_in='$ac_file_inputs' ac_out='"$tmp/out1"' ac_nxt='"$tmp/out2"' while : do # Write a here document: cat >>$CONFIG_STATUS <<_ACEOF # First, check the format of the line: cat >"\$tmp/defines.sed" <<\\CEOF /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def b :def _ACEOF sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS echo 'CEOF sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail grep . conftest.tail >/dev/null || break rm -f conftest.defines mv conftest.tail conftest.defines done rm -f conftest.defines conftest.tail echo "ac_result=$ac_in" >>$CONFIG_STATUS cat >>$CONFIG_STATUS <<\_ACEOF if test x"$ac_file" != x-; then echo "/* $configure_input */" >"$tmp/config.h" cat "$ac_result" >>"$tmp/config.h" if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then { echo "$as_me:$LINENO: $ac_file is unchanged" >&5 echo "$as_me: $ac_file is unchanged" >&6;} else rm -f $ac_file mv "$tmp/config.h" $ac_file fi else echo "/* $configure_input */" cat "$ac_result" fi rm -f "$tmp/out12" # Compute $ac_file's index in $config_headers. _am_arg=$ac_file _am_stamp_count=1 for _am_header in $config_headers :; do case $_am_header in $_am_arg | $_am_arg:* ) break ;; * ) _am_stamp_count=`expr $_am_stamp_count + 1` ;; esac done echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$_am_arg" : 'X\(//\)[^/]' \| \ X"$_am_arg" : 'X\(//\)$' \| \ X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || echo X"$_am_arg" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'`/stamp-h$_am_stamp_count ;; :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5 echo "$as_me: executing $ac_file commands" >&6;} ;; esac case $ac_file$ac_mode in "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do # Strip MF so we end up with the name of the file. mf=`echo "$mf" | sed -e 's/:.*$//'` # Check whether this is an Automake generated Makefile or not. # We used to match only the files named `Makefile.in', but # some people rename them; so instead we look at the file content. # Grep'ing the first line is not enough: some people post-process # each Makefile.in and add a new line on top of each file to say so. # Grep'ing the whole file is not good either: AIX grep has a line # limit of 2048, but all sed's we know have understand at least 4000. if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then dirpart=`$as_dirname -- "$mf" || $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$mf" : 'X\(//\)[^/]' \| \ X"$mf" : 'X\(//\)$' \| \ X"$mf" : 'X\(/\)' \| . 2>/dev/null || echo X"$mf" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'` else continue fi # Extract the definition of DEPDIR, am__include, and am__quote # from the Makefile without running `make'. DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` test -z "$DEPDIR" && continue am__include=`sed -n 's/^am__include = //p' < "$mf"` test -z "am__include" && continue am__quote=`sed -n 's/^am__quote = //p' < "$mf"` # When using ansi2knr, U may be empty or an underscore; expand it U=`sed -n 's/^U = //p' < "$mf"` # Find all dependency output files, they are included files with # $(DEPDIR) in their names. We invoke sed twice because it is the # simplest approach to changing $(DEPDIR) to its actual value in the # expansion. for file in `sed -n " s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do # Make sure the directory exists. test -f "$dirpart/$file" && continue fdir=`$as_dirname -- "$file" || $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$file" : 'X\(//\)[^/]' \| \ X"$file" : 'X\(//\)$' \| \ X"$file" : 'X\(/\)' \| . 2>/dev/null || echo X"$file" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'` { as_dir=$dirpart/$fdir case $as_dir in #( -*) as_dir=./$as_dir;; esac test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { as_dirs= while :; do case $as_dir in #( *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #( *) as_qdir=$as_dir;; esac as_dirs="'$as_qdir' $as_dirs" as_dir=`$as_dirname -- "$as_dir" || $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$as_dir" : 'X\(//\)[^/]' \| \ X"$as_dir" : 'X\(//\)$' \| \ X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || echo X"$as_dir" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'` test -d "$as_dir" && break done test -z "$as_dirs" || eval "mkdir $as_dirs" } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 echo "$as_me: error: cannot create directory $as_dir" >&2;} { (exit 1); exit 1; }; }; } # echo "creating $dirpart/$file" echo '# dummy' > "$dirpart/$file" done done ;; esac done # for ac_tag { (exit 0); exit 0; } _ACEOF chmod +x $CONFIG_STATUS ac_clean_files=$ac_clean_files_save # configure is writing to config.log, and then calls config.status. # config.status does its own redirection, appending to config.log. # Unfortunately, on DOS this fails, as config.log is still kept open # by configure, so config.status won't be able to write to it; its # output is simply discarded. So we exec the FD to /dev/null, # effectively closing config.log, so it can be properly (re)opened and # appended to by config.status. When coming back to configure, we # need to make the FD available again. if test "$no_create" != yes; then ac_cs_success=: ac_config_status_args= test "$silent" = yes && ac_config_status_args="$ac_config_status_args --quiet" exec 5>/dev/null $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false exec 5>>config.log # Use ||, not &&, to avoid exiting from the if with $? = 1, which # would make configure fail if this is the last instruction. $ac_cs_success || { (exit 1); exit 1; } fi passepartout-0.7.1/configure.ac000066400000000000000000000057111140125232500165360ustar00rootroot00000000000000# Process this file with autoconf to produce a configure script. AC_INIT(Passepartout, 0.7.1, [http://bugzilla.gnome.org/simple-bug-guide.cgi?product=passepartout]) AC_CONFIG_SRCDIR([src/xml2ps/blockcontainer.cc]) AM_INIT_AUTOMAKE([foreign dist-bzip2]) # For automake < 1.6 you need to use this line instead: #AM_INIT_AUTOMAKE(Passepartout, 0.7-PRE) AM_CONFIG_HEADER(src/defines.h) # AC_CONFIG_HEADER(src/defines.h) # Define global compiler flags: MY_CXXFLAGS="-Wall" CXXFLAGS="$CXXFLAGS $MY_CXXFLAGS" # Checks for programs. AC_PROG_CXX AC_PROG_RANLIB # AC_APPLY_RPATH(LIBS) # -------------------- # Add an -rpath linker option for each -L path in LIBS # if and only if the environment variable APPLY_RPATH is set AC_DEFUN([AC_APPLY_RPATH], [if test "$APPLY_RPATH" != ""; then $1=`echo "[$]$1" | [sed -e "s/-L\([^ ]*\)/& -Wl,-rpath,\1/g"]` fi]) AC_ARG_VAR([APPLY_RPATH], [="true" : specify -rpath options to the linker]) # check for libxml++ AC_SUBST([XMLPP_LIBS]) AC_SUBST([XMLPP_CFLAGS]) PKG_CHECK_MODULES([XMLPP], libxml++-2.6 >= 1.0) AC_APPLY_RPATH([XMLPP_LIBS]) AC_SUBST([GTKMM_LIBS]) AC_SUBST([GTKMM_CFLAGS]) PKG_CHECK_MODULES(GTKMM, gtkmm-2.4) AC_APPLY_RPATH([GTKMM_LIBS]) AC_SUBST([GNOMECANVAS_LIBS]) AC_SUBST([GNOMECANVAS_CFLAGS]) PKG_CHECK_MODULES(GNOMECANVAS, libgnomecanvasmm-2.6) AC_APPLY_RPATH([GNOMECANVAS_LIBS]) AC_SUBST([GTHREAD_LIBS]) AC_SUBST([GTHREAD_CFLAGS]) PKG_CHECK_MODULES([GTHREAD], [gthread-2.0]) AC_APPLY_RPATH([GTHREAD_LIBS]) AC_SUBST([FREETYPE_LIBS]) AC_SUBST([FREETYPE_CFLAGS]) PKG_CHECK_MODULES([FREETYPE], [freetype2]) AC_APPLY_RPATH([FREETYPE_LIBS]) # gnome is optional AC_SUBST([GNOME_LIBS]) AC_SUBST([GNOME_CFLAGS]) AC_SUBST([GNOMEVFS_LIBS]) AC_SUBST([GNOMEVFS_CFLAGS]) AC_ARG_WITH([gnome], AC_HELP_STRING([--with-gnome], [Gnome support (default is NO)]), [PKG_CHECK_MODULES(GNOME, libgnome-2.0)] [PKG_CHECK_MODULES(GNOMEVFS, gnome-vfs-module-2.0)] AC_DEFINE([HAVE_GNOME], [1], [Gnome is present])) AC_APPLY_RPATH([GNOME_LIBS]) AC_APPLY_RPATH([GNOMEVFS_LIBS]) # check for fam AC_CHECK_LIB([fam], [FAMOpen]) # $(datadir) has to be expanded by make # path to install docs in AC_SUBST(docdir, ['"$(datadir)/doc/$(PACKAGE)/"']) # path to install xml stuff in AC_SUBST(xmldir, ['"$(datadir)/xml/$(PACKAGE)/"']) # Checks for header files. AC_HEADER_DIRENT # Checks for typedefs, structures, and compiler characteristics. AC_TYPE_PID_T AC_TYPE_SIZE_T # Checks for library functions. AC_FUNC_FORK AC_FUNC_STAT AC_CHECK_FUNCS([realpath strdup mkdtemp]) AC_CONFIG_FILES([Makefile src/Makefile src/ps/Makefile src/util/Makefile src/testbed/Makefile src/fonts/Makefile src/pptout/Makefile src/pptout/document/Makefile src/pptout/widget/Makefile src/pptout/icons/Makefile src/xml2ps/Makefile doc/Makefile doc/examples/Makefile logotype/Makefile]) AC_OUTPUT passepartout-0.7.1/depcomp000077500000000000000000000427131140125232500156300ustar00rootroot00000000000000#! /bin/sh # depcomp - compile a program generating dependencies as side-effects scriptversion=2007-03-29.01 # Copyright (C) 1999, 2000, 2003, 2004, 2005, 2006, 2007 Free Software # Foundation, Inc. # 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, 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., 51 Franklin Street, Fifth Floor, Boston, MA # 02110-1301, USA. # As a special exception to the GNU General Public License, if you # distribute this file as part of a program that contains a # configuration script generated by Autoconf, you may include it under # the same distribution terms that you use for the rest of that program. # Originally written by Alexandre Oliva . case $1 in '') echo "$0: No command. Try \`$0 --help' for more information." 1>&2 exit 1; ;; -h | --h*) cat <<\EOF Usage: depcomp [--help] [--version] PROGRAM [ARGS] Run PROGRAMS ARGS to compile a file, generating dependencies as side-effects. Environment variables: depmode Dependency tracking mode. source Source file read by `PROGRAMS ARGS'. object Object file output by `PROGRAMS ARGS'. DEPDIR directory where to store dependencies. depfile Dependency file to output. tmpdepfile Temporary file to use when outputing dependencies. libtool Whether libtool is used (yes/no). Report bugs to . EOF exit $? ;; -v | --v*) echo "depcomp $scriptversion" exit $? ;; esac if test -z "$depmode" || test -z "$source" || test -z "$object"; then echo "depcomp: Variables source, object and depmode must be set" 1>&2 exit 1 fi # Dependencies for sub/bar.o or sub/bar.obj go into sub/.deps/bar.Po. depfile=${depfile-`echo "$object" | sed 's|[^\\/]*$|'${DEPDIR-.deps}'/&|;s|\.\([^.]*\)$|.P\1|;s|Pobj$|Po|'`} tmpdepfile=${tmpdepfile-`echo "$depfile" | sed 's/\.\([^.]*\)$/.T\1/'`} rm -f "$tmpdepfile" # Some modes work just like other modes, but use different flags. We # parameterize here, but still list the modes in the big case below, # to make depend.m4 easier to write. Note that we *cannot* use a case # here, because this file can only contain one case statement. if test "$depmode" = hp; then # HP compiler uses -M and no extra arg. gccflag=-M depmode=gcc fi if test "$depmode" = dashXmstdout; then # This is just like dashmstdout with a different argument. dashmflag=-xM depmode=dashmstdout fi case "$depmode" in gcc3) ## gcc 3 implements dependency tracking that does exactly what ## we want. Yay! Note: for some reason libtool 1.4 doesn't like ## it if -MD -MP comes after the -MF stuff. Hmm. ## Unfortunately, FreeBSD c89 acceptance of flags depends upon ## the command line argument order; so add the flags where they ## appear in depend2.am. Note that the slowdown incurred here ## affects only configure: in makefiles, %FASTDEP% shortcuts this. for arg do case $arg in -c) set fnord "$@" -MT "$object" -MD -MP -MF "$tmpdepfile" "$arg" ;; *) set fnord "$@" "$arg" ;; esac shift # fnord shift # $arg done "$@" stat=$? if test $stat -eq 0; then : else rm -f "$tmpdepfile" exit $stat fi mv "$tmpdepfile" "$depfile" ;; gcc) ## There are various ways to get dependency output from gcc. Here's ## why we pick this rather obscure method: ## - Don't want to use -MD because we'd like the dependencies to end ## up in a subdir. Having to rename by hand is ugly. ## (We might end up doing this anyway to support other compilers.) ## - The DEPENDENCIES_OUTPUT environment variable makes gcc act like ## -MM, not -M (despite what the docs say). ## - Using -M directly means running the compiler twice (even worse ## than renaming). if test -z "$gccflag"; then gccflag=-MD, fi "$@" -Wp,"$gccflag$tmpdepfile" stat=$? if test $stat -eq 0; then : else rm -f "$tmpdepfile" exit $stat fi rm -f "$depfile" echo "$object : \\" > "$depfile" alpha=ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz ## The second -e expression handles DOS-style file names with drive letters. sed -e 's/^[^:]*: / /' \ -e 's/^['$alpha']:\/[^:]*: / /' < "$tmpdepfile" >> "$depfile" ## This next piece of magic avoids the `deleted header file' problem. ## The problem is that when a header file which appears in a .P file ## is deleted, the dependency causes make to die (because there is ## typically no way to rebuild the header). We avoid this by adding ## dummy dependencies for each header file. Too bad gcc doesn't do ## this for us directly. tr ' ' ' ' < "$tmpdepfile" | ## Some versions of gcc put a space before the `:'. On the theory ## that the space means something, we add a space to the output as ## well. ## Some versions of the HPUX 10.20 sed can't process this invocation ## correctly. Breaking it into two sed invocations is a workaround. sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile" rm -f "$tmpdepfile" ;; hp) # This case exists only to let depend.m4 do its work. It works by # looking at the text of this script. This case will never be run, # since it is checked for above. exit 1 ;; sgi) if test "$libtool" = yes; then "$@" "-Wp,-MDupdate,$tmpdepfile" else "$@" -MDupdate "$tmpdepfile" fi stat=$? if test $stat -eq 0; then : else rm -f "$tmpdepfile" exit $stat fi rm -f "$depfile" if test -f "$tmpdepfile"; then # yes, the sourcefile depend on other files echo "$object : \\" > "$depfile" # Clip off the initial element (the dependent). Don't try to be # clever and replace this with sed code, as IRIX sed won't handle # lines with more than a fixed number of characters (4096 in # IRIX 6.2 sed, 8192 in IRIX 6.5). We also remove comment lines; # the IRIX cc adds comments like `#:fec' to the end of the # dependency line. tr ' ' ' ' < "$tmpdepfile" \ | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' | \ tr ' ' ' ' >> $depfile echo >> $depfile # The second pass generates a dummy entry for each header file. tr ' ' ' ' < "$tmpdepfile" \ | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' -e 's/$/:/' \ >> $depfile else # The sourcefile does not contain any dependencies, so just # store a dummy comment line, to avoid errors with the Makefile # "include basename.Plo" scheme. echo "#dummy" > "$depfile" fi rm -f "$tmpdepfile" ;; aix) # The C for AIX Compiler uses -M and outputs the dependencies # in a .u file. In older versions, this file always lives in the # current directory. Also, the AIX compiler puts `$object:' at the # start of each line; $object doesn't have directory information. # Version 6 uses the directory in both cases. dir=`echo "$object" | sed -e 's|/[^/]*$|/|'` test "x$dir" = "x$object" && dir= base=`echo "$object" | sed -e 's|^.*/||' -e 's/\.o$//' -e 's/\.lo$//'` if test "$libtool" = yes; then tmpdepfile1=$dir$base.u tmpdepfile2=$base.u tmpdepfile3=$dir.libs/$base.u "$@" -Wc,-M else tmpdepfile1=$dir$base.u tmpdepfile2=$dir$base.u tmpdepfile3=$dir$base.u "$@" -M fi stat=$? if test $stat -eq 0; then : else rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" exit $stat fi for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" do test -f "$tmpdepfile" && break done if test -f "$tmpdepfile"; then # Each line is of the form `foo.o: dependent.h'. # Do two passes, one to just change these to # `$object: dependent.h' and one to simply `dependent.h:'. sed -e "s,^.*\.[a-z]*:,$object:," < "$tmpdepfile" > "$depfile" # That's a tab and a space in the []. sed -e 's,^.*\.[a-z]*:[ ]*,,' -e 's,$,:,' < "$tmpdepfile" >> "$depfile" else # The sourcefile does not contain any dependencies, so just # store a dummy comment line, to avoid errors with the Makefile # "include basename.Plo" scheme. echo "#dummy" > "$depfile" fi rm -f "$tmpdepfile" ;; icc) # Intel's C compiler understands `-MD -MF file'. However on # icc -MD -MF foo.d -c -o sub/foo.o sub/foo.c # ICC 7.0 will fill foo.d with something like # foo.o: sub/foo.c # foo.o: sub/foo.h # which is wrong. We want: # sub/foo.o: sub/foo.c # sub/foo.o: sub/foo.h # sub/foo.c: # sub/foo.h: # ICC 7.1 will output # foo.o: sub/foo.c sub/foo.h # and will wrap long lines using \ : # foo.o: sub/foo.c ... \ # sub/foo.h ... \ # ... "$@" -MD -MF "$tmpdepfile" stat=$? if test $stat -eq 0; then : else rm -f "$tmpdepfile" exit $stat fi rm -f "$depfile" # Each line is of the form `foo.o: dependent.h', # or `foo.o: dep1.h dep2.h \', or ` dep3.h dep4.h \'. # Do two passes, one to just change these to # `$object: dependent.h' and one to simply `dependent.h:'. sed "s,^[^:]*:,$object :," < "$tmpdepfile" > "$depfile" # Some versions of the HPUX 10.20 sed can't process this invocation # correctly. Breaking it into two sed invocations is a workaround. sed 's,^[^:]*: \(.*\)$,\1,;s/^\\$//;/^$/d;/:$/d' < "$tmpdepfile" | sed -e 's/$/ :/' >> "$depfile" rm -f "$tmpdepfile" ;; hp2) # The "hp" stanza above does not work with aCC (C++) and HP's ia64 # compilers, which have integrated preprocessors. The correct option # to use with these is +Maked; it writes dependencies to a file named # 'foo.d', which lands next to the object file, wherever that # happens to be. # Much of this is similar to the tru64 case; see comments there. dir=`echo "$object" | sed -e 's|/[^/]*$|/|'` test "x$dir" = "x$object" && dir= base=`echo "$object" | sed -e 's|^.*/||' -e 's/\.o$//' -e 's/\.lo$//'` if test "$libtool" = yes; then tmpdepfile1=$dir$base.d tmpdepfile2=$dir.libs/$base.d "$@" -Wc,+Maked else tmpdepfile1=$dir$base.d tmpdepfile2=$dir$base.d "$@" +Maked fi stat=$? if test $stat -eq 0; then : else rm -f "$tmpdepfile1" "$tmpdepfile2" exit $stat fi for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" do test -f "$tmpdepfile" && break done if test -f "$tmpdepfile"; then sed -e "s,^.*\.[a-z]*:,$object:," "$tmpdepfile" > "$depfile" # Add `dependent.h:' lines. sed -ne '2,${; s/^ *//; s/ \\*$//; s/$/:/; p;}' "$tmpdepfile" >> "$depfile" else echo "#dummy" > "$depfile" fi rm -f "$tmpdepfile" "$tmpdepfile2" ;; tru64) # The Tru64 compiler uses -MD to generate dependencies as a side # effect. `cc -MD -o foo.o ...' puts the dependencies into `foo.o.d'. # At least on Alpha/Redhat 6.1, Compaq CCC V6.2-504 seems to put # dependencies in `foo.d' instead, so we check for that too. # Subdirectories are respected. dir=`echo "$object" | sed -e 's|/[^/]*$|/|'` test "x$dir" = "x$object" && dir= base=`echo "$object" | sed -e 's|^.*/||' -e 's/\.o$//' -e 's/\.lo$//'` if test "$libtool" = yes; then # With Tru64 cc, shared objects can also be used to make a # static library. This mechanism is used in libtool 1.4 series to # handle both shared and static libraries in a single compilation. # With libtool 1.4, dependencies were output in $dir.libs/$base.lo.d. # # With libtool 1.5 this exception was removed, and libtool now # generates 2 separate objects for the 2 libraries. These two # compilations output dependencies in $dir.libs/$base.o.d and # in $dir$base.o.d. We have to check for both files, because # one of the two compilations can be disabled. We should prefer # $dir$base.o.d over $dir.libs/$base.o.d because the latter is # automatically cleaned when .libs/ is deleted, while ignoring # the former would cause a distcleancheck panic. tmpdepfile1=$dir.libs/$base.lo.d # libtool 1.4 tmpdepfile2=$dir$base.o.d # libtool 1.5 tmpdepfile3=$dir.libs/$base.o.d # libtool 1.5 tmpdepfile4=$dir.libs/$base.d # Compaq CCC V6.2-504 "$@" -Wc,-MD else tmpdepfile1=$dir$base.o.d tmpdepfile2=$dir$base.d tmpdepfile3=$dir$base.d tmpdepfile4=$dir$base.d "$@" -MD fi stat=$? if test $stat -eq 0; then : else rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" "$tmpdepfile4" exit $stat fi for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" "$tmpdepfile4" do test -f "$tmpdepfile" && break done if test -f "$tmpdepfile"; then sed -e "s,^.*\.[a-z]*:,$object:," < "$tmpdepfile" > "$depfile" # That's a tab and a space in the []. sed -e 's,^.*\.[a-z]*:[ ]*,,' -e 's,$,:,' < "$tmpdepfile" >> "$depfile" else echo "#dummy" > "$depfile" fi rm -f "$tmpdepfile" ;; #nosideeffect) # This comment above is used by automake to tell side-effect # dependency tracking mechanisms from slower ones. dashmstdout) # Important note: in order to support this mode, a compiler *must* # always write the preprocessed file to stdout, regardless of -o. "$@" || exit $? # Remove the call to Libtool. if test "$libtool" = yes; then while test $1 != '--mode=compile'; do shift done shift fi # Remove `-o $object'. IFS=" " for arg do case $arg in -o) shift ;; $object) shift ;; *) set fnord "$@" "$arg" shift # fnord shift # $arg ;; esac done test -z "$dashmflag" && dashmflag=-M # Require at least two characters before searching for `:' # in the target name. This is to cope with DOS-style filenames: # a dependency such as `c:/foo/bar' could be seen as target `c' otherwise. "$@" $dashmflag | sed 's:^[ ]*[^: ][^:][^:]*\:[ ]*:'"$object"'\: :' > "$tmpdepfile" rm -f "$depfile" cat < "$tmpdepfile" > "$depfile" tr ' ' ' ' < "$tmpdepfile" | \ ## Some versions of the HPUX 10.20 sed can't process this invocation ## correctly. Breaking it into two sed invocations is a workaround. sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile" rm -f "$tmpdepfile" ;; dashXmstdout) # This case only exists to satisfy depend.m4. It is never actually # run, as this mode is specially recognized in the preamble. exit 1 ;; makedepend) "$@" || exit $? # Remove any Libtool call if test "$libtool" = yes; then while test $1 != '--mode=compile'; do shift done shift fi # X makedepend shift cleared=no for arg in "$@"; do case $cleared in no) set ""; shift cleared=yes ;; esac case "$arg" in -D*|-I*) set fnord "$@" "$arg"; shift ;; # Strip any option that makedepend may not understand. Remove # the object too, otherwise makedepend will parse it as a source file. -*|$object) ;; *) set fnord "$@" "$arg"; shift ;; esac done obj_suffix="`echo $object | sed 's/^.*\././'`" touch "$tmpdepfile" ${MAKEDEPEND-makedepend} -o"$obj_suffix" -f"$tmpdepfile" "$@" rm -f "$depfile" cat < "$tmpdepfile" > "$depfile" sed '1,2d' "$tmpdepfile" | tr ' ' ' ' | \ ## Some versions of the HPUX 10.20 sed can't process this invocation ## correctly. Breaking it into two sed invocations is a workaround. sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile" rm -f "$tmpdepfile" "$tmpdepfile".bak ;; cpp) # Important note: in order to support this mode, a compiler *must* # always write the preprocessed file to stdout. "$@" || exit $? # Remove the call to Libtool. if test "$libtool" = yes; then while test $1 != '--mode=compile'; do shift done shift fi # Remove `-o $object'. IFS=" " for arg do case $arg in -o) shift ;; $object) shift ;; *) set fnord "$@" "$arg" shift # fnord shift # $arg ;; esac done "$@" -E | sed -n -e '/^# [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' \ -e '/^#line [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' | sed '$ s: \\$::' > "$tmpdepfile" rm -f "$depfile" echo "$object : \\" > "$depfile" cat < "$tmpdepfile" >> "$depfile" sed < "$tmpdepfile" '/^$/d;s/^ //;s/ \\$//;s/$/ :/' >> "$depfile" rm -f "$tmpdepfile" ;; msvisualcpp) # Important note: in order to support this mode, a compiler *must* # always write the preprocessed file to stdout, regardless of -o, # because we must use -o when running libtool. "$@" || exit $? IFS=" " for arg do case "$arg" in "-Gm"|"/Gm"|"-Gi"|"/Gi"|"-ZI"|"/ZI") set fnord "$@" shift shift ;; *) set fnord "$@" "$arg" shift shift ;; esac done "$@" -E | sed -n '/^#line [0-9][0-9]* "\([^"]*\)"/ s::echo "`cygpath -u \\"\1\\"`":p' | sort | uniq > "$tmpdepfile" rm -f "$depfile" echo "$object : \\" > "$depfile" . "$tmpdepfile" | sed 's% %\\ %g' | sed -n '/^\(.*\)$/ s:: \1 \\:p' >> "$depfile" echo " " >> "$depfile" . "$tmpdepfile" | sed 's% %\\ %g' | sed -n '/^\(.*\)$/ s::\1\::p' >> "$depfile" rm -f "$tmpdepfile" ;; none) exec "$@" ;; *) echo "Unknown depmode $depmode" 1>&2 exit 1 ;; esac exit 0 # Local Variables: # mode: shell-script # sh-indentation: 2 # eval: (add-hook 'write-file-hooks 'time-stamp) # time-stamp-start: "scriptversion=" # time-stamp-format: "%:y-%02m-%02d.%02H" # time-stamp-end: "$" # End: passepartout-0.7.1/doc/000077500000000000000000000000001140125232500150115ustar00rootroot00000000000000passepartout-0.7.1/doc/Makefile.am000066400000000000000000000017431140125232500170520ustar00rootroot00000000000000SUBDIRS = examples #install docs in $(docdir) dist_doc_DATA = users_guide.pp users_guide.xml faq.xml nsfaq.xml \ ../logotype/pptout-sv.eps README doc_DATA = users_guide.html faq.html nsfaq.html \ users_guide.txt faq.txt nsfaq.txt # Make symbolic links to the stylesheets: # (Remove existing stylesheets first; the -f flag for ln is not portable.) # Todo: is basename really portable? install-data-hook: rm -f $(DESTDIR)/$(docdir)/*.xslt for i in $(DESTDIR)/$(datadir)/xml/$(PACKAGE)/*.xslt; do \ ln -s $(datadir)/xml/$(PACKAGE)/`basename $$i` $(DESTDIR)/$(docdir); \ done uninstall-hook: rm -f $(DESTDIR)/$(docdir)/*.xslt # man pages man_MANS = passepartout.1x xml2ps.1 # documentation stylesheets DOCBOOK2TXT = docbook2txt.xslt DOCBOOK2HTML = docbook2html.xslt SUFFIXES=.txt .xml .html .xml.txt: xsltproc -o $@ $(srcdir)/$(DOCBOOK2TXT) $< .xml.html: xsltproc -o $@ $(srcdir)/$(DOCBOOK2HTML) $< EXTRA_DIST = $(man_MANS) $(DOCBOOK2TXT) $(DOCBOOK2HTML) CLEANFILES=$(doc_DATA) passepartout-0.7.1/doc/Makefile.in000066400000000000000000000451731140125232500170700ustar00rootroot00000000000000# Makefile.in generated by automake 1.10.1 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, # 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ VPATH = @srcdir@ pkgdatadir = $(datadir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : subdir = doc DIST_COMMON = README $(dist_doc_DATA) $(srcdir)/Makefile.am \ $(srcdir)/Makefile.in ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs CONFIG_HEADER = $(top_builddir)/src/defines.h CONFIG_CLEAN_FILES = SOURCES = DIST_SOURCES = RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \ html-recursive info-recursive install-data-recursive \ install-dvi-recursive install-exec-recursive \ install-html-recursive install-info-recursive \ install-pdf-recursive install-ps-recursive install-recursive \ installcheck-recursive installdirs-recursive pdf-recursive \ ps-recursive uninstall-recursive man1dir = $(mandir)/man1 am__installdirs = "$(DESTDIR)$(man1dir)" "$(DESTDIR)$(docdir)" \ "$(DESTDIR)$(docdir)" NROFF = nroff MANS = $(man_MANS) am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; am__vpath_adj = case $$p in \ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ *) f=$$p;; \ esac; am__strip_dir = `echo $$p | sed -e 's|^.*/||'`; dist_docDATA_INSTALL = $(INSTALL_DATA) docDATA_INSTALL = $(INSTALL_DATA) DATA = $(dist_doc_DATA) $(doc_DATA) RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \ distclean-recursive maintainer-clean-recursive ETAGS = etags CTAGS = ctags DIST_SUBDIRS = $(SUBDIRS) DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ AMTAR = @AMTAR@ APPLY_RPATH = @APPLY_RPATH@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CXX = @CXX@ CXXDEPMODE = @CXXDEPMODE@ CXXFLAGS = @CXXFLAGS@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ FREETYPE_CFLAGS = @FREETYPE_CFLAGS@ FREETYPE_LIBS = @FREETYPE_LIBS@ GNOMECANVAS_CFLAGS = @GNOMECANVAS_CFLAGS@ GNOMECANVAS_LIBS = @GNOMECANVAS_LIBS@ GNOMEVFS_CFLAGS = @GNOMEVFS_CFLAGS@ GNOMEVFS_LIBS = @GNOMEVFS_LIBS@ GNOME_CFLAGS = @GNOME_CFLAGS@ GNOME_LIBS = @GNOME_LIBS@ GREP = @GREP@ GTHREAD_CFLAGS = @GTHREAD_CFLAGS@ GTHREAD_LIBS = @GTHREAD_LIBS@ GTKMM_CFLAGS = @GTKMM_CFLAGS@ GTKMM_LIBS = @GTKMM_LIBS@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ LDFLAGS = @LDFLAGS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LTLIBOBJS = @LTLIBOBJS@ MAKEINFO = @MAKEINFO@ MKDIR_P = @MKDIR_P@ OBJEXT = @OBJEXT@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ RANLIB = @RANLIB@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ VERSION = @VERSION@ XMLPP_CFLAGS = @XMLPP_CFLAGS@ XMLPP_LIBS = @XMLPP_LIBS@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ ac_ct_CC = @ac_ct_CC@ ac_ct_CXX = @ac_ct_CXX@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build_alias = @build_alias@ builddir = @builddir@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host_alias = @host_alias@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ xmldir = @xmldir@ SUBDIRS = examples #install docs in $(docdir) dist_doc_DATA = users_guide.pp users_guide.xml faq.xml nsfaq.xml \ ../logotype/pptout-sv.eps README doc_DATA = users_guide.html faq.html nsfaq.html \ users_guide.txt faq.txt nsfaq.txt # man pages man_MANS = passepartout.1x xml2ps.1 # documentation stylesheets DOCBOOK2TXT = docbook2txt.xslt DOCBOOK2HTML = docbook2html.xslt SUFFIXES = .txt .xml .html EXTRA_DIST = $(man_MANS) $(DOCBOOK2TXT) $(DOCBOOK2HTML) CLEANFILES = $(doc_DATA) all: all-recursive .SUFFIXES: .SUFFIXES: .txt .xml .html $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ && exit 0; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign doc/Makefile'; \ cd $(top_srcdir) && \ $(AUTOMAKE) --foreign doc/Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh install-man1: $(man1_MANS) $(man_MANS) @$(NORMAL_INSTALL) test -z "$(man1dir)" || $(MKDIR_P) "$(DESTDIR)$(man1dir)" @list='$(man1_MANS) $(dist_man1_MANS) $(nodist_man1_MANS)'; \ l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \ for i in $$l2; do \ case "$$i" in \ *.1*) list="$$list $$i" ;; \ esac; \ done; \ for i in $$list; do \ if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \ else file=$$i; fi; \ ext=`echo $$i | sed -e 's/^.*\\.//'`; \ case "$$ext" in \ 1*) ;; \ *) ext='1' ;; \ esac; \ inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \ inst=`echo $$inst | sed -e 's/^.*\///'`; \ inst=`echo $$inst | sed '$(transform)'`.$$ext; \ echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man1dir)/$$inst'"; \ $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man1dir)/$$inst"; \ done uninstall-man1: @$(NORMAL_UNINSTALL) @list='$(man1_MANS) $(dist_man1_MANS) $(nodist_man1_MANS)'; \ l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \ for i in $$l2; do \ case "$$i" in \ *.1*) list="$$list $$i" ;; \ esac; \ done; \ for i in $$list; do \ ext=`echo $$i | sed -e 's/^.*\\.//'`; \ case "$$ext" in \ 1*) ;; \ *) ext='1' ;; \ esac; \ inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \ inst=`echo $$inst | sed -e 's/^.*\///'`; \ inst=`echo $$inst | sed '$(transform)'`.$$ext; \ echo " rm -f '$(DESTDIR)$(man1dir)/$$inst'"; \ rm -f "$(DESTDIR)$(man1dir)/$$inst"; \ done install-dist_docDATA: $(dist_doc_DATA) @$(NORMAL_INSTALL) test -z "$(docdir)" || $(MKDIR_P) "$(DESTDIR)$(docdir)" @list='$(dist_doc_DATA)'; for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ f=$(am__strip_dir) \ echo " $(dist_docDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(docdir)/$$f'"; \ $(dist_docDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(docdir)/$$f"; \ done uninstall-dist_docDATA: @$(NORMAL_UNINSTALL) @list='$(dist_doc_DATA)'; for p in $$list; do \ f=$(am__strip_dir) \ echo " rm -f '$(DESTDIR)$(docdir)/$$f'"; \ rm -f "$(DESTDIR)$(docdir)/$$f"; \ done install-docDATA: $(doc_DATA) @$(NORMAL_INSTALL) test -z "$(docdir)" || $(MKDIR_P) "$(DESTDIR)$(docdir)" @list='$(doc_DATA)'; for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ f=$(am__strip_dir) \ echo " $(docDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(docdir)/$$f'"; \ $(docDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(docdir)/$$f"; \ done uninstall-docDATA: @$(NORMAL_UNINSTALL) @list='$(doc_DATA)'; for p in $$list; do \ f=$(am__strip_dir) \ echo " rm -f '$(DESTDIR)$(docdir)/$$f'"; \ rm -f "$(DESTDIR)$(docdir)/$$f"; \ done # This directory's subdirectories are mostly independent; you can cd # into them and run `make' without going through this Makefile. # To change the values of `make' variables: instead of editing Makefiles, # (1) if the variable is set in `config.status', edit `config.status' # (which will cause the Makefiles to be regenerated when you run `make'); # (2) otherwise, pass the desired values on the `make' command line. $(RECURSIVE_TARGETS): @failcom='exit 1'; \ for f in x $$MAKEFLAGS; do \ case $$f in \ *=* | --[!k]*);; \ *k*) failcom='fail=yes';; \ esac; \ done; \ dot_seen=no; \ target=`echo $@ | sed s/-recursive//`; \ list='$(SUBDIRS)'; for subdir in $$list; do \ echo "Making $$target in $$subdir"; \ if test "$$subdir" = "."; then \ dot_seen=yes; \ local_target="$$target-am"; \ else \ local_target="$$target"; \ fi; \ (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ || eval $$failcom; \ done; \ if test "$$dot_seen" = "no"; then \ $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ fi; test -z "$$fail" $(RECURSIVE_CLEAN_TARGETS): @failcom='exit 1'; \ for f in x $$MAKEFLAGS; do \ case $$f in \ *=* | --[!k]*);; \ *k*) failcom='fail=yes';; \ esac; \ done; \ dot_seen=no; \ case "$@" in \ distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ *) list='$(SUBDIRS)' ;; \ esac; \ rev=''; for subdir in $$list; do \ if test "$$subdir" = "."; then :; else \ rev="$$subdir $$rev"; \ fi; \ done; \ rev="$$rev ."; \ target=`echo $@ | sed s/-recursive//`; \ for subdir in $$rev; do \ echo "Making $$target in $$subdir"; \ if test "$$subdir" = "."; then \ local_target="$$target-am"; \ else \ local_target="$$target"; \ fi; \ (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ || eval $$failcom; \ done && test -z "$$fail" tags-recursive: list='$(SUBDIRS)'; for subdir in $$list; do \ test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \ done ctags-recursive: list='$(SUBDIRS)'; for subdir in $$list; do \ test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \ done ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \ END { if (nonempty) { for (i in files) print i; }; }'`; \ mkid -fID $$unique tags: TAGS TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) tags=; \ here=`pwd`; \ if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ include_option=--etags-include; \ empty_fix=.; \ else \ include_option=--include; \ empty_fix=; \ fi; \ list='$(SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ test ! -f $$subdir/TAGS || \ tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \ fi; \ done; \ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in files) print i; }; }'`; \ if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ $$tags $$unique; \ fi ctags: CTAGS CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) tags=; \ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in files) print i; }; }'`; \ test -z "$(CTAGS_ARGS)$$tags$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$tags $$unique GTAGS: here=`$(am__cd) $(top_builddir) && pwd` \ && cd $(top_srcdir) \ && gtags -i $(GTAGS_ARGS) $$here distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ fi; \ cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ else \ test -f $(distdir)/$$file \ || cp -p $$d/$$file $(distdir)/$$file \ || exit 1; \ fi; \ done list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ test -d "$(distdir)/$$subdir" \ || $(MKDIR_P) "$(distdir)/$$subdir" \ || exit 1; \ distdir=`$(am__cd) $(distdir) && pwd`; \ top_distdir=`$(am__cd) $(top_distdir) && pwd`; \ (cd $$subdir && \ $(MAKE) $(AM_MAKEFLAGS) \ top_distdir="$$top_distdir" \ distdir="$$distdir/$$subdir" \ am__remove_distdir=: \ am__skip_length_check=: \ distdir) \ || exit 1; \ fi; \ done check-am: all-am check: check-recursive all-am: Makefile $(MANS) $(DATA) installdirs: installdirs-recursive installdirs-am: for dir in "$(DESTDIR)$(man1dir)" "$(DESTDIR)$(docdir)" "$(DESTDIR)$(docdir)"; do \ test -z "$$dir" || $(MKDIR_P) "$$dir"; \ done install: install-recursive install-exec: install-exec-recursive install-data: install-data-recursive uninstall: uninstall-recursive install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-recursive install-strip: $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ `test -z '$(STRIP)' || \ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install mostlyclean-generic: clean-generic: -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-recursive clean-am: clean-generic mostlyclean-am distclean: distclean-recursive -rm -f Makefile distclean-am: clean-am distclean-generic distclean-tags dvi: dvi-recursive dvi-am: html: html-recursive info: info-recursive info-am: install-data-am: install-dist_docDATA install-docDATA install-man @$(NORMAL_INSTALL) $(MAKE) $(AM_MAKEFLAGS) install-data-hook install-dvi: install-dvi-recursive install-exec-am: install-html: install-html-recursive install-info: install-info-recursive install-man: install-man1 install-pdf: install-pdf-recursive install-ps: install-ps-recursive installcheck-am: maintainer-clean: maintainer-clean-recursive -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-recursive mostlyclean-am: mostlyclean-generic pdf: pdf-recursive pdf-am: ps: ps-recursive ps-am: uninstall-am: uninstall-dist_docDATA uninstall-docDATA uninstall-man @$(NORMAL_INSTALL) $(MAKE) $(AM_MAKEFLAGS) uninstall-hook uninstall-man: uninstall-man1 .MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) install-am \ install-data-am install-strip uninstall-am .PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \ all all-am check check-am clean clean-generic ctags \ ctags-recursive distclean distclean-generic distclean-tags \ distdir dvi dvi-am html html-am info info-am install \ install-am install-data install-data-am install-data-hook \ install-dist_docDATA install-docDATA install-dvi \ install-dvi-am install-exec install-exec-am install-html \ install-html-am install-info install-info-am install-man \ install-man1 install-pdf install-pdf-am install-ps \ install-ps-am install-strip installcheck installcheck-am \ installdirs installdirs-am maintainer-clean \ maintainer-clean-generic mostlyclean mostlyclean-generic pdf \ pdf-am ps ps-am tags tags-recursive uninstall uninstall-am \ uninstall-dist_docDATA uninstall-docDATA uninstall-hook \ uninstall-man uninstall-man1 # Make symbolic links to the stylesheets: # (Remove existing stylesheets first; the -f flag for ln is not portable.) # Todo: is basename really portable? install-data-hook: rm -f $(DESTDIR)/$(docdir)/*.xslt for i in $(DESTDIR)/$(datadir)/xml/$(PACKAGE)/*.xslt; do \ ln -s $(datadir)/xml/$(PACKAGE)/`basename $$i` $(DESTDIR)/$(docdir); \ done uninstall-hook: rm -f $(DESTDIR)/$(docdir)/*.xslt .xml.txt: xsltproc -o $@ $(srcdir)/$(DOCBOOK2TXT) $< .xml.html: xsltproc -o $@ $(srcdir)/$(DOCBOOK2HTML) $< # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: passepartout-0.7.1/doc/README000066400000000000000000000006651140125232500157000ustar00rootroot00000000000000This is the documentation and examples for Passepartout. The documentation is also available online: http://www.stacken.kth.se/project/pptout/doc.shtml Documentation in DocBook, HTML and .txt formats: users_guide.* faq.* nsfaq.* User's guide in Passepartout layout format: users_guide.pp xml2ps markup example: examples/xml2ps-example.xml Layout example: examples/example1.pp Unicode example: examples/multilingual.pp passepartout-0.7.1/doc/docbook2html.xslt000066400000000000000000000105221140125232500203140ustar00rootroot00000000000000 <xsl:value-of select="//articleinfo/title//text()"/>

  •         
          
  • passepartout-0.7.1/doc/docbook2txt.xslt000066400000000000000000000025151140125232500201720ustar00rootroot00000000000000 ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz " " *** *** passepartout-0.7.1/doc/examples/000077500000000000000000000000001140125232500166275ustar00rootroot00000000000000passepartout-0.7.1/doc/examples/Makefile.am000066400000000000000000000012201140125232500206560ustar00rootroot00000000000000#install examples in $(docdir)/examples xmpdir = $(docdir)/examples dist_xmp_DATA = xml2ps-example.xml hline.eps vline.eps \ example1.html example1.pp snowflake.eps snowflake.xml \ hippie.jpg gradient.eps multilingual-head.xml \ multilingual.html multilingual.pp # Make symbolic links to the stylesheets: # (Remove existing stylesheets first; the -f flag for ln is not portable.) install-data-hook: rm -f $(DESTDIR)/$(docdir)/examples/*.xslt for i in $(DESTDIR)/$(datadir)/xml/$(PACKAGE)/*.xslt; do \ ln -s $(datadir)/xml/$(PACKAGE)/`basename $$i` $(DESTDIR)/$(docdir)/examples; \ done uninstall-hook: rm -f $(DESTDIR)/$(docdir)/examples/*.xslt passepartout-0.7.1/doc/examples/Makefile.in000066400000000000000000000245631140125232500207060ustar00rootroot00000000000000# Makefile.in generated by automake 1.10.1 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, # 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ VPATH = @srcdir@ pkgdatadir = $(datadir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : subdir = doc/examples DIST_COMMON = $(dist_xmp_DATA) $(srcdir)/Makefile.am \ $(srcdir)/Makefile.in ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs CONFIG_HEADER = $(top_builddir)/src/defines.h CONFIG_CLEAN_FILES = SOURCES = DIST_SOURCES = am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; am__vpath_adj = case $$p in \ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ *) f=$$p;; \ esac; am__strip_dir = `echo $$p | sed -e 's|^.*/||'`; am__installdirs = "$(DESTDIR)$(xmpdir)" dist_xmpDATA_INSTALL = $(INSTALL_DATA) DATA = $(dist_xmp_DATA) DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ AMTAR = @AMTAR@ APPLY_RPATH = @APPLY_RPATH@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CXX = @CXX@ CXXDEPMODE = @CXXDEPMODE@ CXXFLAGS = @CXXFLAGS@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ FREETYPE_CFLAGS = @FREETYPE_CFLAGS@ FREETYPE_LIBS = @FREETYPE_LIBS@ GNOMECANVAS_CFLAGS = @GNOMECANVAS_CFLAGS@ GNOMECANVAS_LIBS = @GNOMECANVAS_LIBS@ GNOMEVFS_CFLAGS = @GNOMEVFS_CFLAGS@ GNOMEVFS_LIBS = @GNOMEVFS_LIBS@ GNOME_CFLAGS = @GNOME_CFLAGS@ GNOME_LIBS = @GNOME_LIBS@ GREP = @GREP@ GTHREAD_CFLAGS = @GTHREAD_CFLAGS@ GTHREAD_LIBS = @GTHREAD_LIBS@ GTKMM_CFLAGS = @GTKMM_CFLAGS@ GTKMM_LIBS = @GTKMM_LIBS@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ LDFLAGS = @LDFLAGS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LTLIBOBJS = @LTLIBOBJS@ MAKEINFO = @MAKEINFO@ MKDIR_P = @MKDIR_P@ OBJEXT = @OBJEXT@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ RANLIB = @RANLIB@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ VERSION = @VERSION@ XMLPP_CFLAGS = @XMLPP_CFLAGS@ XMLPP_LIBS = @XMLPP_LIBS@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ ac_ct_CC = @ac_ct_CC@ ac_ct_CXX = @ac_ct_CXX@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build_alias = @build_alias@ builddir = @builddir@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host_alias = @host_alias@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ xmldir = @xmldir@ #install examples in $(docdir)/examples xmpdir = $(docdir)/examples dist_xmp_DATA = xml2ps-example.xml hline.eps vline.eps \ example1.html example1.pp snowflake.eps snowflake.xml \ hippie.jpg gradient.eps multilingual-head.xml \ multilingual.html multilingual.pp all: all-am .SUFFIXES: $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ && exit 0; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign doc/examples/Makefile'; \ cd $(top_srcdir) && \ $(AUTOMAKE) --foreign doc/examples/Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh install-dist_xmpDATA: $(dist_xmp_DATA) @$(NORMAL_INSTALL) test -z "$(xmpdir)" || $(MKDIR_P) "$(DESTDIR)$(xmpdir)" @list='$(dist_xmp_DATA)'; for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ f=$(am__strip_dir) \ echo " $(dist_xmpDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(xmpdir)/$$f'"; \ $(dist_xmpDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(xmpdir)/$$f"; \ done uninstall-dist_xmpDATA: @$(NORMAL_UNINSTALL) @list='$(dist_xmp_DATA)'; for p in $$list; do \ f=$(am__strip_dir) \ echo " rm -f '$(DESTDIR)$(xmpdir)/$$f'"; \ rm -f "$(DESTDIR)$(xmpdir)/$$f"; \ done tags: TAGS TAGS: ctags: CTAGS CTAGS: distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ fi; \ cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ else \ test -f $(distdir)/$$file \ || cp -p $$d/$$file $(distdir)/$$file \ || exit 1; \ fi; \ done check-am: all-am check: check-am all-am: Makefile $(DATA) installdirs: for dir in "$(DESTDIR)$(xmpdir)"; do \ test -z "$$dir" || $(MKDIR_P) "$$dir"; \ done install: install-am install-exec: install-exec-am install-data: install-data-am uninstall: uninstall-am install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-am install-strip: $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ `test -z '$(STRIP)' || \ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install mostlyclean-generic: clean-generic: distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-am clean-am: clean-generic mostlyclean-am distclean: distclean-am -rm -f Makefile distclean-am: clean-am distclean-generic dvi: dvi-am dvi-am: html: html-am info: info-am info-am: install-data-am: install-dist_xmpDATA @$(NORMAL_INSTALL) $(MAKE) $(AM_MAKEFLAGS) install-data-hook install-dvi: install-dvi-am install-exec-am: install-html: install-html-am install-info: install-info-am install-man: install-pdf: install-pdf-am install-ps: install-ps-am installcheck-am: maintainer-clean: maintainer-clean-am -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am mostlyclean-am: mostlyclean-generic pdf: pdf-am pdf-am: ps: ps-am ps-am: uninstall-am: uninstall-dist_xmpDATA @$(NORMAL_INSTALL) $(MAKE) $(AM_MAKEFLAGS) uninstall-hook .MAKE: install-am install-data-am install-strip uninstall-am .PHONY: all all-am check check-am clean clean-generic distclean \ distclean-generic distdir dvi dvi-am html html-am info info-am \ install install-am install-data install-data-am \ install-data-hook install-dist_xmpDATA install-dvi \ install-dvi-am install-exec install-exec-am install-html \ install-html-am install-info install-info-am install-man \ install-pdf install-pdf-am install-ps install-ps-am \ install-strip installcheck installcheck-am installdirs \ maintainer-clean maintainer-clean-generic mostlyclean \ mostlyclean-generic pdf pdf-am ps ps-am uninstall uninstall-am \ uninstall-dist_xmpDATA uninstall-hook # Make symbolic links to the stylesheets: # (Remove existing stylesheets first; the -f flag for ln is not portable.) install-data-hook: rm -f $(DESTDIR)/$(docdir)/examples/*.xslt for i in $(DESTDIR)/$(datadir)/xml/$(PACKAGE)/*.xslt; do \ ln -s $(datadir)/xml/$(PACKAGE)/`basename $$i` $(DESTDIR)/$(docdir)/examples; \ done uninstall-hook: rm -f $(DESTDIR)/$(docdir)/examples/*.xslt # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: passepartout-0.7.1/doc/examples/example1.html000066400000000000000000000052011140125232500212270ustar00rootroot00000000000000 The title is not important

    Passepartout layout example

    This text is formatted in XHTML, which is almost the same as ordinary HTML, but redefined as an XML application. In XHTML, you cannot write tags that are not closed. For example, a paragraph must be started with <p> and ended with </p>. It is not enough to simply put a <p> between paragraphs. Tags with no content, such as <hr> may be abbreviated from <hr></hr> to <hr/>. An XHTML file must also start with an XML declaration: "<?xml version='1.0'?>" and the <html> root node must have a namespace parameter xmlns with a value of "http://www.w3.org/1999/xhtml".

    It should be emphasized that the XHTML stylesheet that is supplied with Passepartout is only an early draft. It does not support things such as tables or multi-level lists.

    Lists

    It is possible to do

    1. ordered
    2. lists

    as well as

    • unordered
    • lists

    entirely using XSLT stylesheets.

    The lines

    The lines to the left of this text are actually EPS images. Passepartout does not yet have built-in drawing abilities.

    Images

    Besides EPS, Passepartout supports a wide variety of raster image formats. The photo on this page is a JPEG image. It has Text avoids object activated, which means text in all frames will avoid the image. The distance between image and text can be specified, in this example it is 6 points.

    Unicode

    Passepartout can show any Unicode symbol that is defined in the current font. Here are a few examples: "€ŃŸųģĶşőŮů." Don't despair if you don't know how to type a character directly. All you need to know is its Unicode number (code charts are available at http://www.unicode.org/). If you have Gnome installed, you can also use gucharmap. For instance, the code for the euro symbol (€) is 8364 (20AC hex), so putting the XML entity "&#8364;" (or &#x20AC;) into an XML file will produce a euro symbol. Don't forget the semicolon!

    passepartout-0.7.1/doc/examples/example1.pp000066400000000000000000000044351140125232500207120ustar00rootroot00000000000000 passepartout-0.7.1/doc/examples/gradient.eps000066400000000000000000000005131140125232500211340ustar00rootroot00000000000000%!PS-Adobe-3.0 EPSF-3.0 %%BoundingBox: 0 0 100 100 0 0 moveto 0 100 rlineto 100 0 rlineto 0 -100 rlineto clip /color-curve { setrgbcolor 0 0 moveto dup 0 exch lineto dup dup dup dup 0 curveto fill } def 120 -1 1 { dup 240 div 0.5 add dup 0.9 mul exch 1 color-curve } for showpagepassepartout-0.7.1/doc/examples/hippie.jpg000066400000000000000000000617331140125232500206210ustar00rootroot00000000000000JFIFKKCreated with The GIMPC    $.' ",#(7),01444'9=82<.342C  2!!22222222222222222222222222222222222222222222222222 "H!1"AQaq2#BR3br$CS4cst+!1AQ"aq#23B ?ֺ))ґɢUj(EGqUkخ~I[؝ӡy(ɫ"3}iM#{@̭BVҕJe`>kY>s^98\29hOk)O59"r?:x+n"bG ҼYzee7z 6@M$@ͻߝ79V^M8 \TNoޢQ2JH9|S>+ޖvϨܐqFgw^i}KhBKjԶ 蟾ZnjY޹x|Ѳ |VqЛ{4,x8jMhg'ǡԬqP }wrsABIڍ/I6i;w*`nbKD՞5ݥ@KD8n2R w^T潚5Dw~*p ;jQiW+D)\1RfR6tvTCR.6Gk Awn3B_G m!{nikkokrGGAg5+Ztsi aK\W e8eUS":ӡ-9AІҲI.4yRDb!d+?\I1TE};k5etW0'5Ֆwm,F~Ujv@l+$=)L= U( aNH&"zyN BPeYsݶ5yޥ8~)&?5*%Wk7T5gө=>Vu@ۨM<⥑?]_ɦ%+2P7kX)6>ƍ3GllQ_ ںI6 +o0@JA7WTQV𙦎$R]$NKLQk%ݪC  r3tRɪq (?*S=8F$U 8J-!2 7(ǒ]zz'O7;=j7:j yfM+B8D%᫿*Z4z=&Xe!$],YZC9$m;Q:S^yEl뚋&tt`,('ͭ"2J[f "tߎZN\qj*b"d,7Wv_BMsij];%m>jW4Ph b7SB槳E H-Ƨm@d7~ČfI(c  4h/:lRaK{ZgVh7zcΓ+pY<⤺~[Frxj5(Il6W۞LnS?CLTW 7.8.k- T{;Z?SD81]\e{CbuUhUAPhhCע?IQjns&3fKqͲ nY5R]:̱+F֠մaUl*fxI\KSEkY"՞EX#o98S}qt'$~F'ilI$"Ӗ;9\+^?K1YIORE%P.;MylOf?qqm!5ޡr&Ii-!DUZB0;V 'mj/)tOj:@rS}A,WoJ>kΞKS7_NBuzjpoN}j۝$NOi)ԺdaB7 TT(r~+i!#HXV&.>:n-.7yՋB{o#Yr\~US|+!<5'ӷx1U ,cJQjLU޽^)o-68ZR5li׫TBFUuJC*FAq(;#棱Girv0gڝvK-(==*F+IyS)+o\TL{ "yuYEi:M&GLX_UԤu~(NkңX2r4GҾj0gӢiZ"ĢT۞~b1ITn@FT6235|[6mm`<5B>9sTtB@mNe'_t$VMVŭ|An۽^VLNH\5 NX8I2Vr9(yrJpr v4\Rx M]*ϳ31G+KYF1X]ؒ6[%}1ެ]d᱁,ziNVǥ̻bAqԾ:{+eS&y.DWo88j@ni$bc ]YL^9]V1 ǚG4qQwUةW{c_BPjãשb%؆t'msF*Fq#pE'CeAYjo5}hx ;x8V>-5fWa`qZ[IXե,|۪uDaHQxΝb+)䨅sNS[HDaxABjKJP S䄧(a{qk1jѬyP]G{jfFjk}[n m`CE5 S% l*=MgXӷȆPN>͆7(efőA8Ok~*e#5u'WMO¼1CT6(=fUTy:+'$}jdRװUWONo4H9StF$яzt JߝhbIS1ܫkYwM)̗=LGޯ ?U?J+!Rs(cPW_7)pnAHJJ˭| `˸{*=q/#ui5WziTC :ʜkYGpV6"m{v2Ǹg'vRۚ2IQr~o_!AOrFh;Q)&7UӠDո2!)-({&L1;UүYdx J#i]QNq@%OJ#tN) fI?Z𭍵#|xn'&U&D$kHeFħʤ_h-ɥ0s^)-#$I4yH0QR9FUi$UNX)/,h>2]t˵M$T$mدOJ YfLq J~GXS{[Ikra"?Kߗ KF ?iio)ܭA?>>ںKLeåb]CUKg6aqݏUW/ I[û=Xf985:IPy,FտKTT{r}J$h|,c~jk}$(ǹU~Я{#*DZ{qyP5C:c^R&N @7U_i zXo(*Z"Q`{hſDk'n  n=H&kzf,?ڣ;Fl&gp4ZȞJXbOӽG*`e5+YX**E܍NJӡH˖=C2Oe+Is?`~Y'lx 4r$ >4,yGh]/sԺrdsDH{Vx1\2f"kB^}W՜6 pksO[yw7ʪs&i[Z'G?վ&gDŽqk*M鏻[0[r%(r;v飂V Dfea g^+g5Q3wD _[98oQڢd5lӴ mӷvҼk eQOak%56~&>}6NSN1 ݈Y<8]WeMVv!Ũ\!$*&c`>Yje[I c'5~>M&m}+ci>@?g$~Oޔr3~E:6h=Yrh5(0 OwHԞy֋8d6,Ox8٘YY~kT/l,4_Je9Gp3VRLd8'B;Zu雞Hry#Tv=4,"27(U\~oaΟynLMQ^NDžEPmVbSii$ w$\v7[Z69.ch(ڪb{u-BDݸqvi3}ki2dDryXd${pEL]2޳ ~]>h.a_3,9ǡG 4f?gYԶ+9#ߟ^ثis-hFu P6sVBp'Ҳmf{. "vOb9diJQ.W/ILwM <̫U5ޮ\jPH'VF5 ݾOz;b2yL𶩰,>˩ 6HZ?؁QsH8 ӊOSE)?$yrX[Q];XhfDɴ,Yߎ_[oSoa,ѨUcGjŋǭ Q,'h=NS@O-a9Q)!T$o1bx8ZUf\-/lm@{R& @H!d07>VhINΎIڢ"ta1< H(~Ҝ ._vʯ@aONY~q$[ P+|T N#Ȟ+$<3~y\Ta7қ r(Iz{6wi]?[ˈ 6q/P}Oqtޞ2ހ ".܎^k"zRXH%HK%ZZ٬j_iaҭ͹e >ݿbK{iasۃY1f&XA{*rdi#st*+}FױznRDq]Z59(/Ҵy +nTʆn݇v)b,(Hiէ#Pı 䓜S1ߵHi*Zpr ]bk7iʟQZ]7R6Tu@n}꘶՝(qR6|RxvI3F? D_F{kޜW&c-X&{>{ef1&>}=*.u}1ZFӖ"KxLSkcGnĎނ릺csIN}k$9FF \ݟjxz<Ԍ(RWR A t63azM{LSE L"%Frp3ǯj?vIQy'b E(^Os۰=kTR.`eV7UO+@m*K')FnÚH4YVOrDx`O֣XF],'޻%ed Ϡ/k`XA+ .0_n "m* G۟ŷK04*I5r8ESn2s]>V*mޣ, 29o}?h-!U)N4|uzHz(FȕSq9~RnKXz ŸʕÎcۖ>h|t]:>3mA YIۢ T"-6g`OMi,U .V>=J=?*cK,ھ+Fba+ͦC|Bř Hyt[n =ĈW5I.A,H^ "G=X YgKIqhp~[*/PKkm)IlO+&o/?ٷM6}OL#ZcP@"r8'pۚif@Gk:IeO+63r0A~ ?h%bEVYarJ##IF%E^#R7dˢۑ#m.Б_mb F#皢:3~_ʮ3R֏`Rd>,ړK k@ aIғh:wK}ؤQ+3HT9њKj_S3Ydu_`sSyoo㛻]?ERHe݌95%9˰ͨі#=C$B׏ʩ*;Q7%y6N@cAC?Zӎ.)zt7Q"% B];Q0n@?na[E ; Y1Y#ӮKix@;۳{*ɛSLy+3?'ӷ@m l9a$SI.ZLEr y?B%I>&Kl +K6N~(Qof$b{Nc0`S,<>p*^ޚ? Z Ki!y$s^ǭ6]'c`T{0Lutl6|qZ0t1գfMD]mumz['5K-Q;R~-?TtWl{ӽ@%S;K9Kk~ۨXSN@:y7]i oTy~OH Jb)ew9*[8>QlmFjEo G &Nds|T \LN}=8oYcaY 3=Qx8;dQrs~(O,d# C]6iGEBq׀;|Yf%^F;f0?v#)#mc,_w $ɊPffu fYXn|/mr 68FQǺb8ӨIA;J\Iw^]~D"fH ^S<Aw䒄dԜ{2.l*1I\Sv3E;͒ccBs({Q|#Tfx LdA =>=hy“\ L#׀*GpCq^Q{So(ݰ7aѥڒNxC^vC7 oāp{nyjoF'Cs^Ax#փc,1D8!MWtK .=J6Sp06%օ,7 gr[|#L,xj)dSU ZGmf NG~)井+`8+4nJ6}O%9QQI+LnEI3\8C\6*)($RC]Uj1[3l[N}M.ӗl_/F htuK,b;dbRs7I-PIBQ+3%3yFYfN?c%dUMҺ{e6ݤ־XRٍgi=/gYys}y$}p$Rpa%щiIfBpE-Ěob[1ڎנ:oOm ,}m E-n vQ>?JO# cQ/nJ2d%5’2#s ѭ.{$ ݂gy[]%c^nʔ[:V#=me"bﷀI3WXe+.!\ޥu[HhՏ*{1'۵H[Y2LrÒC䜟rJ.K f32u /q@G+y*ObrZBPa˴8\ۯ%s~X|ArQFw13ǛZ%QY$!;n ?xy#5[A^1qvѺ̦7;~ڛiwuu 6,1U̿L` ooN0uʥ| XNUs{ eUOS$@EG ƒoTƻAޣ!Rџ_Z9 $~%9JYʰ%/X/EeeJ98SR "q)'TJJ>'uqrq,dcǽ:eޡvEl;1SGUe{=$i,LNO66Asriq)>y~բm`>!P .p8?8ǭkN7RmKd[k77 }(Br5N"z^Y B(Q' c@#iJ^-m+% (KR-cpJ~ֵmM"Dw6rGX6el}*[Ι15a ${)i.[nT֙jrR5dcCA$䇈=j+W DcnP dGq۵X"-'ž7X_uԯ`X$:$>Һ5-WQ+WP&g#؏jM|ҾR=YȻ ^ەf/}Դ'$ R~U\  d {kojz^|u%;(,gY GM{z?f`ʹ>Vo(+b]!i^-GdqCޅqu<4xda@v%Pv౏ƘgӽR1k3%i'gn aWX&[aY̭22}.c)ڴ҅ٞw"t(|Z٭KӺ͐ B?[l)ZwU<5d>g#`aQ` At(-d=;P8xSX1>x:E=ȾqY9Ϯx { nAs|0yV98>Z8Nf\9'W47b3N0GF\]+ʢw h hsطNuIvh/[ 4<*$9},hʑ(m  S0=(H,ÆǛǘUbHߢ Q7 ۀ8 =9fxe-E?ҫ:Bw UQ[i$-PXXLRSFUΞo8KmC>k%)%'o$(NN=j=RֱhX1Vɟ+cf,hEuOiڸi6]2\ H$± P3nWЀM[_C:x~|+NW@sPAգ)ti/&YV$}k/Yݔ{~ 43PGoրki-#d uV䝴i:B */.U+ F]eaZ-|50ac=zȬR+~ZZnΒlBI<FA2Qmx/%9tb{YRJ9*J=v ɷ&7eFs{+] ٭-O `wzm1H[eRm/D}ﳾtF~ ~֕kޗ(C~?-_Enک*=;V:݄KKSbY#UYm1"hә!lnI~[— ױm wi4eϔGL.-#ECeʬ@؁pQ=Zk)GLd^=&ڼl&sFoqgmL㌃i(y8xdTIcrddQjAX%Pd JrY=&j4k FYݲII?s ˈmrX.A==j.ADѲKOBˍ~[Awh{O6c\7%oQ#ThoSv#<qD0xed\ێpELr\e#Ҍp>W>v%BouX=I?S2VěTFQ"z@8 CO7h ) 9&8XHE|$.E/$xXOS ϋ?.};X/'Hω2}RGU3bT}x5cY26:$vԊÒY"fM)\?Z:6RS Iw x^' \8fd**pVl-ڒ,=ڤ2sҴᙙqڄYYNC:R Kڀ`g̻ؓ`bќ編Uh}j;"OЗ_Ss_~3MlDwqs-E@@إB8!ϸWgi5!4!balNcVIbƞ`ys9+lY7@9O2by5,:1e8K̤r"oCסeAq?ק(1M(yLG<#1q'sdRͲC1.Jy_]9= E^:y#')']3ycq.V 1}iK#9YYZ]Asvt3$r`S?}_T\Db.px'ڴゔZfL5E1fܗ`xW-g"+S^2~}ÃG%BAdg_׉~<$|f֠W+pF?*)WJwGSqtO,p[<1UcX*y'ҳOǭ!e7Ҭj6F2{Qtp#{g#D&wHIW8~viI[Ԉ~#![w_?Qagү:ns}o'5E^`كjGymer \c/֯1IJLYvSy*xE v9{29V[xt$+{Wg 5A9H}¬{VTLȫLߋ9do~ 3# ߑYcS{4`vE_6q:Vpr MEسx?;,'PSܖ5lcI/%+CL3}Og+[Y XTZ5jZyny yM#l,pp9k)[}Ē12m8zӣG ^VB >j3ؑyNGV&NжxQF]$.)pī1(ִAx`ҚFu_>؛Ín0j&WBiwYOV\C$3xju_ћ3GVB;smv;U)ǵce:7 ֺ/ <*:s"`zc. l܇d0$ 'F\]@^uV4) &!?>9bH@;aݷN7N5syjR}DZ5EOoc|0 ]kK /d NkucN'ʂw5w7_~b@?ȯKq%@P RG#^ia_s cA7gj;eߴ~9ϧ"Dv5sqnrI{'yJh# #j\]I$A7%dgqN)I)*g qm8>^(2 BcΫj9:*9(F3|"M;So i,HXLpx5uhaqFqWM]Cd}k(dk Ԥy\fN}s_:W 7X,g0G&LGe9 ;ZY#L v'p <{SS5p6CzN%+H8$f4뎠cH&wŒn#?Xׅ?ftol$>f_ <+~xȫV48*$&ALNAUY7ᮦ_R`lڕܹw^QW&>c%~O:sy}8X'cs ”{nN(i@sDqCڢ J/*y)89'nJ;!?{o֊ sFc;qCC#RϧO]aj@tt+4DF,+G$Eݕ Q:kJ2IW6ֺۆ&5 ,J0F'Zb2]>ȮR0_"h9pEk]$ n4rs\W0l\/,R!&9p0=p\&$h2{އ&#%]mtux[|{VWƥdL**-̗rǒM2^S)DL>EwSjґwoHW;ĞgMmpkBd;Tdڥ{[ѵ<}*m~=zeF~9(Sr4k95"nXj'oAJֵ^itD@* súWMgV[t!1~䟭QYMtT(4f,NI≙ NT2Q}{ԡlmSO5E8"L%8-*co$ҎqFK;J"LQӂ$44_aSR)PqAbZ[1d%;1Lg%cH^&H]v (99;-s2%r{Z!ʌqxұfmޣ"<{Gc/ȖD)9Ϡu/Q1_[zCX4<@LV.&if.y$|xӞeXTd~΅ rDpğONIq8҂MEΩp"H6{j鋜 eǥnoՏa=D&U x6śTDr׏jvכ溥kv>2D(v7y4'uY8H l.*NV?gxnt]Ax<!qUjqSQW]ǚ5*&ZGTErĀ}qȪ{ZHt.~I8hǹoTQ1DBs[uhNRxlX;dRN|3x?^Y&.bh`s-42"N {Qie̋̄?K%2"PF<_ ~U]WBHXr?fM:-#k/ Ǹۂ;؞|Z%JApGpuŴVYx!U?U,~&~k\XM" IS؅U+E*[xw\[c*$P?î3m.h^]xju2NL@{1pb*2S(a) |ҕFB*}k̸m wJ>8`uT>,1d}P[_¹/etkEĀ.=j?dz}UŤ'w?ڴ?^0rNk:<.qTm}%;w*aK;T c8Q9qg5"e l^QΆ\g.eTf  qa>@ Y=:YT `7\^){F!fQeڂ,OhѶYy%;״{L5U%5*6rszӏ5(llcw}(5kTƟRIB]g,M lpG_mxU@v$끜ӽ;M܇1 XĪ =RF|t9閶Ъ#EOE(P>4Vq1gni6<qm/aD$E+ztcm3cRMpAV|tˡ}/{9ayt+"9VzH5Э`H1IU!q4ѢUц#\'YWEiԭvY  ޹{;s1VUxmIӚk31Ja1ڒrHrjoY}V o ~E+a.g?P1Y.FGNOM+Dt;h#EPq"4&%P;S5#E&Ԗ $/8[=z0ORVh֑. ?*T12i*YXlFRĶ3Ȫq=^EҎ=UkRuaz+-E[<q]uV&)T$: `wDqEB\ jE(@Uo^9EEw yWU 1S3iUKI#ae>cf{{rV3N 4;{a!1N4R{ZcCC{[94.fIKGcS+q+ÁJ7\ڽ ћ$P $J ,H3ǭCC9訯a|)m%*R(ޝ,x0+,j؎V<4<2ז##NŸF%[ 09օhSHcax|X.9Wh)>|™VLafۻvIϢ~j;OuFUyqDnM?oHg;wg<5z\uWѝ=ֳ8tGdl~d v*i'2\$Il [(խmu &eG*#>Ό-~=Fgv&rc'd֩jzfnYY\?sހs_ڥƻM+G`6b`iWR2x1Fv;HD*翨,m`>*-e[ 2HOk{uGa-wOgE>E#AZ[DzT_,rA$zs1" <\l5˸m+r n;cj`p$F ?'ּuE > %U=ϷQ(C"PO {qPF'9 T#pXHqڈ0VDlAJi&.렙pSw-̊Ğ??JQ vHR Ar0{DJ#1<@pF U%$@1ar'O#(n2C[ň{|T7IJrtX#]8e0{Бxa`;9wLl3In$Lҹ_Ŗّug'7fEW~U]pq^RLM"][i(."$a=>5s|xl o-"A yOl珚ꙥm rd~yea5y_/{RŇF 5n3yz^XEο{vW"Ieh'5D] 3sWA;׫$;iirI-m@}Mz@dYt=8Qd jȧjIy[21 Ψ ß Þ ẘ Ж Ö τυπογραφικός Support for multiple languages in Passepartout passepartout-0.7.1/doc/examples/multilingual.html000066400000000000000000000111601140125232500222220ustar00rootroot00000000000000 The title is not important

    There are several issues that need to be addressed if one aims to truly support multi-lingual text. Some of these issues have been resolved in Passepartout, while others are still waiting for solutions. First of all, you need a way to represent all possible letters and symbols of all languages in a single file. The solution to this is Unicode. XML files use Unicode in the form of UTF-8 as the default encoding. If you are using a different encoding, you can still access any Unicode symbol using a so-called character entity, e.g. &#x03b1; will yield the Greek letter α.

    ISO-8859-1 is perfectly adequate for writing something like Zwölf Boxkämpfer jagten Victor quer über den großen Sylter Deich, but it wouldn't be sufficient for Esperanto: Laŭ Ludoviko Zamenhof bongustas freŝa ĉeĥa manĝaĵo kun spicoj, so you would need to use a lot of character entities (Dr. Zamenhof lived before the computer revolution, else he would surely have used ASCII for Esperanto). The use of UTF-8 is strongly recommended.

    Secondly, in order to display Unicode text, you will need a typeface that contains glyphs for all the characters in the text. Most computer fonts only cover one alphabet. One of the few fonts which can display this entire text is called Gentium. Ideally, if a given font didn't contain a certain glyph, Passepartout should look for that glyph in the other fonts available. This is yet to be implemented, however.

    In the Olden Days (unfortunately the Olden Days haven't quite ended yet), PostScript Type1 fonts for displaying Cyrillic text, such as В чащах юга жил бы цитрус? Да, но фальшивый экземпляр!, would often pretend to be Latin fonts. For example, D might render as Д. Such fonts are of no use to Passepartout.

    The third issue is the fact that not all scripts are written from the left to the right. Examples of languages which are written from the right to the left include Arabic and Hebrew. While Unicode has support for controlling direction of writing, Passepartout can only render text written from the left to the right as of this writing. Asian ideographic languages often allow more than one direction of writing, but the field of Asian typography is something the current developer team has little knowledge of anyway.

    Some ancient scripts from the Mediterranean area were written in boustrophedon (from the Greek βους στρεφειν), i.e. alternating between left-to-right and right-to-left between each line of text.

    The fourth issue concerns the frequent use of ligatures in some scripts. A ligature is a single glyph which is used to represent more than one letter. In western typography, only a few ligatures, such as fi and ff are commonly used (compare fig and fig), but ligatures are much more common when typesetting Arabic scripts. Passepartout has no automatic support for ligatures yet, although they may be inserted manually if they exist as separate symbols in Unicode.

    The fifth and final issue has to do with typographic practices being slightly different in different countries. For instance, the number 65536 would be written in English typography as 65,536, but in Sweden the comma would be replaced by a period, or preferably a small space. The German language has a rule that says that the letter combination ck is hyphenated as k-k when surrounded by vowels. Quotation marks also vary a lot. French typography uses « guillemets ». Some of these rules can be addressed with different XSLT stylesheets; other will require localized rules.

    In short, the problem of international typography is a difficult one, but we hope and aim for Passepartout to be useful for typesetting languages other than English and Swedish.

    passepartout-0.7.1/doc/examples/multilingual.pp000066400000000000000000000025221140125232500216770ustar00rootroot00000000000000 passepartout-0.7.1/doc/examples/snowflake.eps000066400000000000000000000006231140125232500213320ustar00rootroot00000000000000%!PS-Adobe-3.0 EPSF-3.0 %%BoundingBox: -14 -4 38 44 /arm { newpath 0 0 moveto 36 0 lineto 20 0 moveto 13 9 rlineto 20 0 moveto 13 -9 rlineto 15 0 moveto 60 rotate 15 0 lineto } def /flake { 0 60 300 { gsave rotate arm stroke grestore } for } def gsave 1 setlinecap 24 -12 add 24 -4 add translate 48 72 div dup scale 4 setlinewidth 0 setgray flake 2 setlinewidth 1 setgray flake grestore showpage passepartout-0.7.1/doc/examples/snowflake.xml000066400000000000000000000011071140125232500213410ustar00rootroot00000000000000 All text frames are transparent. The snowflake EPS below is also transparent. If you set FakeTransparency to true in the config file, then all white areas in EPS images will appear to be transparent. The EPS image behind this text frame has Text avoids object turned off. passepartout-0.7.1/doc/examples/vline.eps000066400000000000000000000001501140125232500204510ustar00rootroot00000000000000%!PS-Adobe-3.0 EPSF-3.0 %%BoundingBox: 0 0 4 300 2 setlinewidth 2 0 moveto 0 300 rlineto stroke showpagepassepartout-0.7.1/doc/examples/xml2ps-example.xml000066400000000000000000000016651140125232500222370ustar00rootroot00000000000000 This is a centered headline in Avant Garde demi-bold 36.3 points This is text in Bookman Light 12 points. This is text in Bookman Light 6 points. Some words may be typeset in an italic typeface. The word "hyphenated" may be hyphenated. This is a left-justified indented paragraph with a line height of 18 points. This sentence is underlined. In this sentence, there is an unnecessary space. passepartout-0.7.1/doc/faq.xml000066400000000000000000000112401140125232500163000ustar00rootroot00000000000000
    Passepartout Frequently Asked Questions $Id: faq.xml,v 1.10 2004-12-02 21:41:52 foo Exp $
    General
    What does <quote>Passepartout</quote> mean? An early draft name for Passepartout was Framer since it deals with frames. (We like FrameMaker a lot, not that it has much in common with Passepartout.) This was a very dull name, so we changed it. A passepartout is a kind of cardboard frame you put around watercolour paintings.
    How do I pronounce <quote>Passepartout</quote>? Like pus par two. Use a rolled French R if you like. The important thing is not pronouncing it like trout.
    Are you guys French? Non. I mean no.
    Installation
    Is there a public repository? Yes there is. Run the following command to check out a fresh copy: svn checkout http://svn.gnome.org/svn/passepartout/trunk passepartout Note that you will have to build your own configure script using autogen.sh; see DEVNOTES for details.
    I have a problem with libxml++ Passepartout 0.4 and later uses the stable libxml++ 1.0 API. Versions prior to 0.4 will only be guaranteed to build with exactly the version or versions of libxml++ that are specified in the INSTALL file. No version have yet been built against the libxml++ 2.6 branch.
    Configure says libxml++ is unknown to pkg-config Pkg-config can't find libxml++, because it doesn't know where to look. Try adding the path to the file libxml++-1.0.pc to the environment variable PKG_CONFIG_PATH. If libxml++ is installed in /usr/local/ then the path is /usr/local/lib/pkgconfig/.
    Using Passepartout
    How do I edit text in Passepartout? You don't. You write the text in XML format in your favourite text editor, then you import the text into Passepartout. Read the User's Guide for more detailed instructions.
    If I import text into Passepartout, does that mean I can't change it afterwards? Not at all. Text is only imported by reference. If you edit and save changes to the XML file, Passepartout will notice the change and update the display.
    Does Passepartout support colored text? Not yet. Is does support grayscale text though. The <font> and <para> elements accept the gray attribute which can be a number between 0.0 and 1.0.
    Can I print documents from the command line? Not now, but in the future, we hope to make it possible to run Passepartout from a script.
    Can I use xml2ps as a stand-alone typesetter? Yes. Regrettably, xml2ps is poorly documented. The command xml2ps -p 400x600 -p 200x500 < foo.xml > foo.ps prints the content of foo.xml on two pages (400 x 600 and 200 x 500 points respectively) and saves the result in foo.ps. The file foo.xml must be in the xml2ps DTD. If you want to use another DTD, you will have to filter it through a stylesheet with xsltproc. xml2ps does not support images.
    Is there no TrueType support? Yes there is, as of version 0.6.
    passepartout-0.7.1/doc/nsfaq.xml000066400000000000000000000010461140125232500166440ustar00rootroot00000000000000
    Passepartout Not So Frequently Asked Questions
    Can I donate money to the project / pay you to develop Passepartout? Why, certainly! Send a mail to emission-hacks@e.kth.se and tell us what you have in mind.
    passepartout-0.7.1/doc/passepartout.1x000066400000000000000000000035301140125232500200160ustar00rootroot00000000000000.\" Hey, EMACS: -*- nroff -*- .\" First parameter, NAME, should be all caps .\" Second parameter, SECTION, should be 1-8, maybe w/ subsection .\" other parameters are allowed: see man(7), man(1) .TH PASSEPARTOUT 1x "January 12, 2004" .\" Please adjust this date whenever revising the manpage. .\" .\" Some roff macros, for reference: .\" .nh disable hyphenation .\" .hy enable hyphenation .\" .ad l left justify .\" .ad b justify to both left and right margins .\" .nf disable filling .\" .fi enable filling .\" .br insert line break .\" .sp insert n+1 empty lines .\" for manpage-specific macros, see man(7) .SH NAME Passepartout \- an XML-based desktop publishing application .SH SYNOPSIS .B passepartout .RI [ options ] " files"... .SH DESCRIPTION Passepartout is an open source desktop publishing application. The goal is to provide a simple and user-friendly, yet powerful tool for creating printed material. Passepartout combines a WYSIWYG layout editor with a high-quality typesetting engine. You do not use Passepartout for writing text, because it is only a layout editor. Basically speaking, Passepartout is in the business of taking the different parts that make up a page, such as text, photos, graphics, and "gluing" them on piece of paper. Passepartout can import from several different bitmapped image formats as well as EPS files. you write the text in your favorite text editor (e.g. Emacs or VI) in an XML-based format. .PP .SH OPTIONS .TP .B \-h, \-\-help Show summary of options. .TP .B \-v, \-\-version Show version number. .TP .B \-V Be verbose. .TP .B \-d Show debugging messages. .SH SEE ALSO .BR xml2ps(1) .SH AUTHOR This manual page was originally written by Gaudenz Steinlin .nh , .hy for the Debian project (but may be used by others). passepartout-0.7.1/doc/users_guide.pp000066400000000000000000000034041140125232500176710ustar00rootroot00000000000000 passepartout-0.7.1/doc/users_guide.xml000066400000000000000000000413211140125232500200520ustar00rootroot00000000000000
    Passepartout 0.7 User's Guide
    What is Passepartout? Passepartout is an open source desktop publishing application for X-Windows (Unix). The goal is to provide a simple and user-friendly, yet powerful tool for creating printed material. Passepartout combines a WYSIWYG layout editor with a high-quality typesetting engine. Passepartout is released under a BSD license. The Passepartout webpage can be found at http://www.stacken.kth.se/project/pptout/.
    Passepartout is not a word processor You do not use Passepartout for writing text, because it is only a layout editor. Basically speaking, Passepartout is in the business of taking the different parts that make up a page, such as text, photos, graphics, and "gluing" them on a piece of paper. Passepartout can import from several different bitmapped image formats as well as EPSEncapsulated PostScript files. You write the text in your favorite text editor (e.g. Emacs or VI) in an XML-based format. The XML file is then typeset using a typesetting engine called xml2ps.
    Installation See the INSTALL file for installation instructions.
    Using Passepartout
    Starting the program You start Passepartout by typing passepartout & in your terminal window. You are then presented with an empty document window (no document has been created). You can get a list of command line options accepted by Passepartout with passepartout --help.
    Creating a new document To create an empty document, select New ... from the File menu. In the dialog that will appear, you can choose between creating a document from an existing template (any Passepartout document can be used as a template) or by specifying the paper format. You can also specify the page number the first page in the document should have. These settings can be changed at a later point by selecting Properties ... from the File menu.
    Adding pages To add a page to the document, select Insert Before ... or Insert After ... from the Page menu. If the document was created from a template, you will be asked to select a template page.
    Turning pages You can change the active page with the page selector in the lower right hand corner of the main window.
    Importing images You can add an image to a page by selecting Insert Image ... from the Edit menu. Passepartout accepts EPS, PNG, RAS, BMP, XPM, PNM, TIF, JPG and GIF files.
    Text frames & text streams A text frame can be added to a page by selecting Insert Text Frame ... from the Edit menu. The text shown in a text frame is read from an XML file, but the text frame is not connected directly to the file. Instead, each text frame is connected to a text stream, which in turn is connected to an XML file. The reason for this is that a text may span several frames, possibly on several pages. All frames that are meant to be part of of the same text are connected to the same text stream. The stream splits the text into parts and puts them in the appropriate frames. When you add a text frame you are presented with a dialog that lets you choose between creating a new text stream or using an existing stream (or none). If you choose to create a new stream, you have to specify the XML file to associated with the frame. If the XML file is not in the xml2ps DTD, you will also have to specify a stylesheet that translates the file to the xml2ps format. You can change the stream connected to a text frame in the Object Properties window. Text streams may be manipulated in the Text Streams window, accessible from the Streams item on the View menu.
    Manipulating objects Any object can be moved or resized using the mouse. The properties of an object can also be manipulated explicitly in the Object Properties window which is accessible through the Properties item on the View menu. When an object is selected, its properties can be edited in the window. Not all properties apply to all types of object. The properties that are unique to certain kinds of object are displayed in separate tabs. An object can be locked, preventing you from accidentally moving or resizing it with the mouse. Locked frames have a gray border. You can also choose whether text should flow around a frame or not.
    Arranging & grouping Several frames may be combined into a group by selecting more than one frame (using CTRL-button 1) and selecting Group from the Arrange submenu in the Edit menu. Frames can also be moved up or down relative to other frames using the items in the Arrange submenu.
    Opening and saving files Opening and saving files works much like in most other applications. The text and images imported into the document are not saved as a part of the document. Note: Passepartout does not (yet) ask before writing over existing files! There is also no warning before closing an unsaved file.
    Printing Passepartout can print PostScript or EPS files. (EPS files may only contain one page.) The file can be piped to a printing command, such as lpr, or saved to a file. Select Print ... from the File menu. There is also a Print Preview item that will start an external PostScript viewer (if one has been defined).
    Multiple views A single document can be seen through more than one view. This lets you work with different pages of a document at the same time. You can also see the the same page at different zoom levels. A view can be duplicated by selecting New View from the File menu. A document will not be closed until all its views has been closed.
    Creating the XML files XML (http://www.w3.org/XML/) is an acronym for "Extensible Markup Language". XML is a meta-language for describing different kinds of file formats in a standardized fashion. An XML file is an ordinary text file, but the text is formatted according to strict rules. If you have written HTML before, then you are already familiar with some of the key concepts. If you don't have any previous experience with XML, we would recommend reading an online tutorial: http://www.w3schools.com/xml/ http://www.spiderpro.com/bu/buxmlm001.html
    The typesetting engine The typesetting engine of Passepartout is called xml2ps and is also available as a stand-alone program. It has its own DTD Document Type Definition.. XSLT stylesheets can be used to translate any XML file to the format that xml2ps will accept. There are two basic approaches to writing text for Passepartout: Write the text in XML conforming directly to the typography-level xml2ps DTD. Write the text in XML conforming to a high level, logically stuctured DTD (either an existing one, such as XHTML or DocBook, or one of your own design), and use an XSLT stylesheet to transform the text into a document conforming to the xml2ps DTD. The advantage with the former approach is that you get superior control over the result, while the latter method is more suitable when writing longer texts. Stylesheets for XHTML and DocBook are supplied as examples. This document is in fact formatted in DocBook itself. A good exercise for the reader is to modify the behaviour of these examples.
    A description of the xml2ps DTD Nodes allowed in an xml2ps file: <block-container> Root node and parent node of <para> or other <block-container> nodes. Parameters: margin-top, margin-bottom, margin-left, margin-right: Margins (lengths). All <font> parameters are also accepted. <bp> Mark a point in a word where hyphenation is allowed. <font> Change font inside a <para>. Parameters: underline: The only accepted value is "1". font-family: Accepted values are PostScript font (not font family) names. font-size: Font size (a length or a percentage). letter-spacing: Extra character spacing (a length). <leader> Explicit whitespace Parameters: width: Width of whitespace (a length). <linebreak> Explicit linebreak <para> A "paragraph". All text must be contained within paragraphs. Paragraphs may not be nested. Parameters: align: Text alignment. Accepted values are "left", "right", "center" and "justify". line-height: Distance between lines as a factor relative to the font size. All <font> and <block-container> parameters are also accepted. Lengths may be specified in points ("12pt", "-0.3pt") or in relation to the font size ("2em", "-0.3em").
    A short example <?xml version="1.0"?> <block-container font-family="Bookman-Light" font-size="12pt"> <para font-family="AvantGarde-Demi" font-size="36.3pt" align="center" margin-bottom="20pt"> This is a centered headline in Avant Garde demi-bold 36.3 points </para> <para align="justify"> This is text in Bookman Light 12 points. <font font-size="50%">This is text in Bookman Light 6 points.</font> Some words may be typeset in an <font font-family="Bookman-LightItalic">italic</font> typeface. The word "hyphen<bp/>ated" may be hyphen<bp/>ated. </para> <para margin-left="12pt" align="left" line-height="1.5"> This is a left-justified indented paragraph with a line height of 18 points. <font underline="1">This sentence is underlined.</font> In this sentence, there is an unnecessary <leader width="5em"/> space. </para> </block-container>
    Configuration Passepartout gets its configuration options from the file .pptout in your home directory. If the file does not already exist, Passepartout will create one with default values for all settings. If you want to, you can change these settings. Note: you should not edit this file while Passepartout is running, because it will be overwritten when the program ends. Settings that may be of interest: DefaultResolution Default resolution for images, in pixels per inch LengthUnit Default length unit. Default is pt (points). PaperName Default paper name. Default is A4. PSInterpreter Command to run ghostscript. PrintCommand Default command used for printing. (Default is lpr.) StylesheetPath Default path to look for XSLT stylesheets in.
    passepartout-0.7.1/doc/xml2ps.1000066400000000000000000000031061140125232500163200ustar00rootroot00000000000000.\" Hey, EMACS: -*- nroff -*- .\" First parameter, NAME, should be all caps .\" Second parameter, SECTION, should be 1-8, maybe w/ subsection .\" other parameters are allowed: see man(7), man(1) .TH XML2PS 1 "October 30, 2004" .\" Please adjust this date whenever revising the manpage. .\" .\" Some roff macros, for reference: .\" .nh disable hyphenation .\" .hy enable hyphenation .\" .ad l left justify .\" .ad b justify to both left and right margins .\" .nf disable filling .\" .fi enable filling .\" .br insert line break .\" .sp insert n+1 empty lines .\" for manpage-specific macros, see man(7) .SH NAME xml2ps \- the typesetting engine of Passepartout .SH SYNOPSIS .B xml2ps .RI [ options ] .SH DESCRIPTION The xml2ps program is a stand-alone version of the engine used by Passepartout to typeset documents. It creates PostScript or PDF documents from Passepartout XML files. The XML files are read from standard input. .PP .SH OPTIONS .TP .B \-\-output-format=FORMAT Output format (ps, pdf) .TP .B \-\-fontinfo Print font info .TP .B \-s, \-\-subst-fonst Substitute font aliases .TP .B \-p WxH[/COLS[+GTR]] Add page .TP .B \-b WxH[+/-LEFT+/-BOTTOM] Add obstacle .TP .B \-\-no\-extra\-pages Complain if running out of pages .TP .B \-v, \-\-version Display version number .TP .B \-h, \-\-help Display this help message .SH SEE ALSO .BR passepartout(1x) .SH AUTHOR This manual page was originally written by Gaudenz Steinlin .nh , .hy for the Debian project (but may be used by others). passepartout-0.7.1/install-sh000077500000000000000000000324641140125232500162610ustar00rootroot00000000000000#!/bin/sh # install - install a program, script, or datafile scriptversion=2006-12-25.00 # This originates from X11R5 (mit/util/scripts/install.sh), which was # later released in X11R6 (xc/config/util/install.sh) with the # following copyright and license. # # Copyright (C) 1994 X Consortium # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to # deal in the Software without restriction, including without limitation the # rights to use, copy, modify, merge, publish, distribute, sublicense, and/or # sell copies of the Software, and to permit persons to whom the Software is # furnished to do so, subject to the following conditions: # # The above copyright notice and this permission notice shall be included in # all copies or substantial portions of the Software. # # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE # X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN # AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNEC- # TION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. # # Except as contained in this notice, the name of the X Consortium shall not # be used in advertising or otherwise to promote the sale, use or other deal- # ings in this Software without prior written authorization from the X Consor- # tium. # # # FSF changes to this file are in the public domain. # # Calling this script install-sh is preferred over install.sh, to prevent # `make' implicit rules from creating a file called install from it # when there is no Makefile. # # This script is compatible with the BSD install script, but was written # from scratch. nl=' ' IFS=" "" $nl" # set DOITPROG to echo to test this script # Don't use :- since 4.3BSD and earlier shells don't like it. doit=${DOITPROG-} if test -z "$doit"; then doit_exec=exec else doit_exec=$doit fi # Put in absolute file names if you don't have them in your path; # or use environment vars. chgrpprog=${CHGRPPROG-chgrp} chmodprog=${CHMODPROG-chmod} chownprog=${CHOWNPROG-chown} cmpprog=${CMPPROG-cmp} cpprog=${CPPROG-cp} mkdirprog=${MKDIRPROG-mkdir} mvprog=${MVPROG-mv} rmprog=${RMPROG-rm} stripprog=${STRIPPROG-strip} posix_glob='?' initialize_posix_glob=' test "$posix_glob" != "?" || { if (set -f) 2>/dev/null; then posix_glob= else posix_glob=: fi } ' posix_mkdir= # Desired mode of installed file. mode=0755 chgrpcmd= chmodcmd=$chmodprog chowncmd= mvcmd=$mvprog rmcmd="$rmprog -f" stripcmd= src= dst= dir_arg= dst_arg= copy_on_change=false no_target_directory= usage="\ Usage: $0 [OPTION]... [-T] SRCFILE DSTFILE or: $0 [OPTION]... SRCFILES... DIRECTORY or: $0 [OPTION]... -t DIRECTORY SRCFILES... or: $0 [OPTION]... -d DIRECTORIES... In the 1st form, copy SRCFILE to DSTFILE. In the 2nd and 3rd, copy all SRCFILES to DIRECTORY. In the 4th, create DIRECTORIES. Options: --help display this help and exit. --version display version info and exit. -c (ignored) -C install only if different (preserve the last data modification time) -d create directories instead of installing files. -g GROUP $chgrpprog installed files to GROUP. -m MODE $chmodprog installed files to MODE. -o USER $chownprog installed files to USER. -s $stripprog installed files. -t DIRECTORY install into DIRECTORY. -T report an error if DSTFILE is a directory. Environment variables override the default commands: CHGRPPROG CHMODPROG CHOWNPROG CMPPROG CPPROG MKDIRPROG MVPROG RMPROG STRIPPROG " while test $# -ne 0; do case $1 in -c) ;; -C) copy_on_change=true;; -d) dir_arg=true;; -g) chgrpcmd="$chgrpprog $2" shift;; --help) echo "$usage"; exit $?;; -m) mode=$2 case $mode in *' '* | *' '* | *' '* | *'*'* | *'?'* | *'['*) echo "$0: invalid mode: $mode" >&2 exit 1;; esac shift;; -o) chowncmd="$chownprog $2" shift;; -s) stripcmd=$stripprog;; -t) dst_arg=$2 shift;; -T) no_target_directory=true;; --version) echo "$0 $scriptversion"; exit $?;; --) shift break;; -*) echo "$0: invalid option: $1" >&2 exit 1;; *) break;; esac shift done if test $# -ne 0 && test -z "$dir_arg$dst_arg"; then # When -d is used, all remaining arguments are directories to create. # When -t is used, the destination is already specified. # Otherwise, the last argument is the destination. Remove it from $@. for arg do if test -n "$dst_arg"; then # $@ is not empty: it contains at least $arg. set fnord "$@" "$dst_arg" shift # fnord fi shift # arg dst_arg=$arg done fi if test $# -eq 0; then if test -z "$dir_arg"; then echo "$0: no input file specified." >&2 exit 1 fi # It's OK to call `install-sh -d' without argument. # This can happen when creating conditional directories. exit 0 fi if test -z "$dir_arg"; then trap '(exit $?); exit' 1 2 13 15 # Set umask so as not to create temps with too-generous modes. # However, 'strip' requires both read and write access to temps. case $mode in # Optimize common cases. *644) cp_umask=133;; *755) cp_umask=22;; *[0-7]) if test -z "$stripcmd"; then u_plus_rw= else u_plus_rw='% 200' fi cp_umask=`expr '(' 777 - $mode % 1000 ')' $u_plus_rw`;; *) if test -z "$stripcmd"; then u_plus_rw= else u_plus_rw=,u+rw fi cp_umask=$mode$u_plus_rw;; esac fi for src do # Protect names starting with `-'. case $src in -*) src=./$src;; esac if test -n "$dir_arg"; then dst=$src dstdir=$dst test -d "$dstdir" dstdir_status=$? else # Waiting for this to be detected by the "$cpprog $src $dsttmp" command # might cause directories to be created, which would be especially bad # if $src (and thus $dsttmp) contains '*'. if test ! -f "$src" && test ! -d "$src"; then echo "$0: $src does not exist." >&2 exit 1 fi if test -z "$dst_arg"; then echo "$0: no destination specified." >&2 exit 1 fi dst=$dst_arg # Protect names starting with `-'. case $dst in -*) dst=./$dst;; esac # If destination is a directory, append the input filename; won't work # if double slashes aren't ignored. if test -d "$dst"; then if test -n "$no_target_directory"; then echo "$0: $dst_arg: Is a directory" >&2 exit 1 fi dstdir=$dst dst=$dstdir/`basename "$src"` dstdir_status=0 else # Prefer dirname, but fall back on a substitute if dirname fails. dstdir=` (dirname "$dst") 2>/dev/null || expr X"$dst" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$dst" : 'X\(//\)[^/]' \| \ X"$dst" : 'X\(//\)$' \| \ X"$dst" : 'X\(/\)' \| . 2>/dev/null || echo X"$dst" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q' ` test -d "$dstdir" dstdir_status=$? fi fi obsolete_mkdir_used=false if test $dstdir_status != 0; then case $posix_mkdir in '') # Create intermediate dirs using mode 755 as modified by the umask. # This is like FreeBSD 'install' as of 1997-10-28. umask=`umask` case $stripcmd.$umask in # Optimize common cases. *[2367][2367]) mkdir_umask=$umask;; .*0[02][02] | .[02][02] | .[02]) mkdir_umask=22;; *[0-7]) mkdir_umask=`expr $umask + 22 \ - $umask % 100 % 40 + $umask % 20 \ - $umask % 10 % 4 + $umask % 2 `;; *) mkdir_umask=$umask,go-w;; esac # With -d, create the new directory with the user-specified mode. # Otherwise, rely on $mkdir_umask. if test -n "$dir_arg"; then mkdir_mode=-m$mode else mkdir_mode= fi posix_mkdir=false case $umask in *[123567][0-7][0-7]) # POSIX mkdir -p sets u+wx bits regardless of umask, which # is incompatible with FreeBSD 'install' when (umask & 300) != 0. ;; *) tmpdir=${TMPDIR-/tmp}/ins$RANDOM-$$ trap 'ret=$?; rmdir "$tmpdir/d" "$tmpdir" 2>/dev/null; exit $ret' 0 if (umask $mkdir_umask && exec $mkdirprog $mkdir_mode -p -- "$tmpdir/d") >/dev/null 2>&1 then if test -z "$dir_arg" || { # Check for POSIX incompatibilities with -m. # HP-UX 11.23 and IRIX 6.5 mkdir -m -p sets group- or # other-writeable bit of parent directory when it shouldn't. # FreeBSD 6.1 mkdir -m -p sets mode of existing directory. ls_ld_tmpdir=`ls -ld "$tmpdir"` case $ls_ld_tmpdir in d????-?r-*) different_mode=700;; d????-?--*) different_mode=755;; *) false;; esac && $mkdirprog -m$different_mode -p -- "$tmpdir" && { ls_ld_tmpdir_1=`ls -ld "$tmpdir"` test "$ls_ld_tmpdir" = "$ls_ld_tmpdir_1" } } then posix_mkdir=: fi rmdir "$tmpdir/d" "$tmpdir" else # Remove any dirs left behind by ancient mkdir implementations. rmdir ./$mkdir_mode ./-p ./-- 2>/dev/null fi trap '' 0;; esac;; esac if $posix_mkdir && ( umask $mkdir_umask && $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir" ) then : else # The umask is ridiculous, or mkdir does not conform to POSIX, # or it failed possibly due to a race condition. Create the # directory the slow way, step by step, checking for races as we go. case $dstdir in /*) prefix='/';; -*) prefix='./';; *) prefix='';; esac eval "$initialize_posix_glob" oIFS=$IFS IFS=/ $posix_glob set -f set fnord $dstdir shift $posix_glob set +f IFS=$oIFS prefixes= for d do test -z "$d" && continue prefix=$prefix$d if test -d "$prefix"; then prefixes= else if $posix_mkdir; then (umask=$mkdir_umask && $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir") && break # Don't fail if two instances are running concurrently. test -d "$prefix" || exit 1 else case $prefix in *\'*) qprefix=`echo "$prefix" | sed "s/'/'\\\\\\\\''/g"`;; *) qprefix=$prefix;; esac prefixes="$prefixes '$qprefix'" fi fi prefix=$prefix/ done if test -n "$prefixes"; then # Don't fail if two instances are running concurrently. (umask $mkdir_umask && eval "\$doit_exec \$mkdirprog $prefixes") || test -d "$dstdir" || exit 1 obsolete_mkdir_used=true fi fi fi if test -n "$dir_arg"; then { test -z "$chowncmd" || $doit $chowncmd "$dst"; } && { test -z "$chgrpcmd" || $doit $chgrpcmd "$dst"; } && { test "$obsolete_mkdir_used$chowncmd$chgrpcmd" = false || test -z "$chmodcmd" || $doit $chmodcmd $mode "$dst"; } || exit 1 else # Make a couple of temp file names in the proper directory. dsttmp=$dstdir/_inst.$$_ rmtmp=$dstdir/_rm.$$_ # Trap to clean up those temp files at exit. trap 'ret=$?; rm -f "$dsttmp" "$rmtmp" && exit $ret' 0 # Copy the file name to the temp name. (umask $cp_umask && $doit_exec $cpprog "$src" "$dsttmp") && # and set any options; do chmod last to preserve setuid bits. # # If any of these fail, we abort the whole thing. If we want to # ignore errors from any of these, just make sure not to ignore # errors from the above "$doit $cpprog $src $dsttmp" command. # { test -z "$chowncmd" || $doit $chowncmd "$dsttmp"; } && { test -z "$chgrpcmd" || $doit $chgrpcmd "$dsttmp"; } && { test -z "$stripcmd" || $doit $stripcmd "$dsttmp"; } && { test -z "$chmodcmd" || $doit $chmodcmd $mode "$dsttmp"; } && # If -C, don't bother to copy if it wouldn't change the file. if $copy_on_change && old=`LC_ALL=C ls -dlL "$dst" 2>/dev/null` && new=`LC_ALL=C ls -dlL "$dsttmp" 2>/dev/null` && eval "$initialize_posix_glob" && $posix_glob set -f && set X $old && old=:$2:$4:$5:$6 && set X $new && new=:$2:$4:$5:$6 && $posix_glob set +f && test "$old" = "$new" && $cmpprog "$dst" "$dsttmp" >/dev/null 2>&1 then rm -f "$dsttmp" else # Rename the file to the real destination. $doit $mvcmd -f "$dsttmp" "$dst" 2>/dev/null || # The rename failed, perhaps because mv can't rename something else # to itself, or perhaps because mv is so ancient that it does not # support -f. { # Now remove or move aside any old file at destination location. # We try this two ways since rm can't unlink itself on some # systems and the destination file might be busy for other # reasons. In this case, the final cleanup might fail but the new # file should still install successfully. { test ! -f "$dst" || $doit $rmcmd -f "$dst" 2>/dev/null || { $doit $mvcmd -f "$dst" "$rmtmp" 2>/dev/null && { $doit $rmcmd -f "$rmtmp" 2>/dev/null; :; } } || { echo "$0: cannot unlink or rename $dst" >&2 (exit 1); exit 1 } } && # Now rename the file to the real destination. $doit $mvcmd "$dsttmp" "$dst" } fi || exit 1 trap '' 0 fi done # Local variables: # eval: (add-hook 'write-file-hooks 'time-stamp) # time-stamp-start: "scriptversion=" # time-stamp-format: "%:y-%02m-%02d.%02H" # time-stamp-end: "$" # End: passepartout-0.7.1/logotype/000077500000000000000000000000001140125232500161065ustar00rootroot00000000000000passepartout-0.7.1/logotype/Makefile.am000066400000000000000000000000321140125232500201350ustar00rootroot00000000000000EXTRA_DIST = pptout-sv.epspassepartout-0.7.1/logotype/Makefile.in000066400000000000000000000206661140125232500201650ustar00rootroot00000000000000# Makefile.in generated by automake 1.10.1 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, # 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ VPATH = @srcdir@ pkgdatadir = $(datadir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : subdir = logotype DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs CONFIG_HEADER = $(top_builddir)/src/defines.h CONFIG_CLEAN_FILES = SOURCES = DIST_SOURCES = DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ AMTAR = @AMTAR@ APPLY_RPATH = @APPLY_RPATH@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CXX = @CXX@ CXXDEPMODE = @CXXDEPMODE@ CXXFLAGS = @CXXFLAGS@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ FREETYPE_CFLAGS = @FREETYPE_CFLAGS@ FREETYPE_LIBS = @FREETYPE_LIBS@ GNOMECANVAS_CFLAGS = @GNOMECANVAS_CFLAGS@ GNOMECANVAS_LIBS = @GNOMECANVAS_LIBS@ GNOMEVFS_CFLAGS = @GNOMEVFS_CFLAGS@ GNOMEVFS_LIBS = @GNOMEVFS_LIBS@ GNOME_CFLAGS = @GNOME_CFLAGS@ GNOME_LIBS = @GNOME_LIBS@ GREP = @GREP@ GTHREAD_CFLAGS = @GTHREAD_CFLAGS@ GTHREAD_LIBS = @GTHREAD_LIBS@ GTKMM_CFLAGS = @GTKMM_CFLAGS@ GTKMM_LIBS = @GTKMM_LIBS@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ LDFLAGS = @LDFLAGS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LTLIBOBJS = @LTLIBOBJS@ MAKEINFO = @MAKEINFO@ MKDIR_P = @MKDIR_P@ OBJEXT = @OBJEXT@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ RANLIB = @RANLIB@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ VERSION = @VERSION@ XMLPP_CFLAGS = @XMLPP_CFLAGS@ XMLPP_LIBS = @XMLPP_LIBS@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ ac_ct_CC = @ac_ct_CC@ ac_ct_CXX = @ac_ct_CXX@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build_alias = @build_alias@ builddir = @builddir@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host_alias = @host_alias@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ xmldir = @xmldir@ EXTRA_DIST = pptout-sv.eps all: all-am .SUFFIXES: $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ && exit 0; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign logotype/Makefile'; \ cd $(top_srcdir) && \ $(AUTOMAKE) --foreign logotype/Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh tags: TAGS TAGS: ctags: CTAGS CTAGS: distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ fi; \ cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ else \ test -f $(distdir)/$$file \ || cp -p $$d/$$file $(distdir)/$$file \ || exit 1; \ fi; \ done check-am: all-am check: check-am all-am: Makefile installdirs: install: install-am install-exec: install-exec-am install-data: install-data-am uninstall: uninstall-am install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-am install-strip: $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ `test -z '$(STRIP)' || \ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install mostlyclean-generic: clean-generic: distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-am clean-am: clean-generic mostlyclean-am distclean: distclean-am -rm -f Makefile distclean-am: clean-am distclean-generic dvi: dvi-am dvi-am: html: html-am info: info-am info-am: install-data-am: install-dvi: install-dvi-am install-exec-am: install-html: install-html-am install-info: install-info-am install-man: install-pdf: install-pdf-am install-ps: install-ps-am installcheck-am: maintainer-clean: maintainer-clean-am -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am mostlyclean-am: mostlyclean-generic pdf: pdf-am pdf-am: ps: ps-am ps-am: uninstall-am: .MAKE: install-am install-strip .PHONY: all all-am check check-am clean clean-generic distclean \ distclean-generic distdir dvi dvi-am html html-am info info-am \ install install-am install-data install-data-am install-dvi \ install-dvi-am install-exec install-exec-am install-html \ install-html-am install-info install-info-am install-man \ install-pdf install-pdf-am install-ps install-ps-am \ install-strip installcheck installcheck-am installdirs \ maintainer-clean maintainer-clean-generic mostlyclean \ mostlyclean-generic pdf pdf-am ps ps-am uninstall uninstall-am # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: passepartout-0.7.1/logotype/pptout-sv.eps000066400000000000000000000372151140125232500206100ustar00rootroot00000000000000%!PS-Adobe-3.0 EPSF-3.0 %%BoundingBox: 0 0 388 346 %%HiResBoundingBox: 0.000000 0.000000 387.114771 345.111182 %......................................... %%Creator: ESP Ghostscript 705 (epswrite) %%CreationDate: 2003/09/05 00:08:14 %%DocumentData: Clean7Bit %%LanguageLevel: 2 %%EndComments %%BeginProlog % This copyright applies to everything between here and the %%EndProlog: % Copyright (C) 2002 artofcode LLC, Benicia, CA. All rights reserved. %%BeginResource: procset GS_epswrite_2_0_1001 /GS_epswrite_2_0_1001 80 dict dup begin /PageSize 2 array def/setpagesize{ PageSize aload pop 3 index eq exch 4 index eq and{ pop pop pop}{ PageSize dup 1 5 -1 roll put 0 4 -1 roll put dup null eq {false} {dup where} ifelse{ exch get exec} { pop/setpagedevice where { pop 1 dict dup /PageSize PageSize put setpagedevice} { /setpage where{ pop PageSize aload pop pageparams 3 {exch pop} repeat setpage}if}ifelse}ifelse}ifelse} bind def /!{bind def}bind def/#{load def}!/N/counttomark # /rG{3{3 -1 roll 255 div}repeat setrgbcolor}!/G{255 div setgray}!/K{0 G}! /r6{dup 3 -1 roll rG}!/r5{dup 3 1 roll rG}!/r3{dup rG}! /w/setlinewidth #/J/setlinecap # /j/setlinejoin #/M/setmiterlimit #/d/setdash #/i/setflat # /m/moveto #/l/lineto #/c/rcurveto # /p{N 2 idiv{N -2 roll rlineto}repeat}! /P{N 0 gt{N -2 roll moveto p}if}! /h{p closepath}!/H{P closepath}! /lx{0 rlineto}!/ly{0 exch rlineto}!/v{0 0 6 2 roll c}!/y{2 copy c}! /re{4 -2 roll m exch dup lx exch ly neg lx h}! /^{3 index neg 3 index neg}! /f{P fill}!/f*{P eofill}!/s{H stroke}!/S{P stroke}! /q/gsave #/Q/grestore #/rf{re fill}! /Y{P clip newpath}!/Y*{P eoclip newpath}!/rY{re Y}! /|={pop exch 4 1 roll 3 array astore cvx exch 1 index def exec}! /|{exch string readstring |=}! /+{dup type/nametype eq{2 index 7 add -3 bitshift 2 index mul}if}! /@/currentfile #/${+ @ |}! /B{{2 copy string{readstring pop}aload pop 4 array astore cvx 3 1 roll}repeat pop pop true}! /Ix{[1 0 0 1 11 -2 roll exch neg exch neg]exch}! /,{true exch Ix imagemask}!/If{false exch Ix imagemask}!/I{exch Ix image}! /Ic{exch Ix false 3 colorimage}! /F{/Columns counttomark 3 add -2 roll/Rows exch/K -1/BlackIs1 true>> /CCITTFaxDecode filter}!/FX{<, 1996 # # 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. # # As a special exception to the GNU General Public License, if you # distribute this file as part of a program that contains a # configuration script generated by Autoconf, you may include it under # the same distribution terms that you use for the rest of that program. basename="s,^.*/,,g" # Work around backward compatibility issue on IRIX 6.5. On IRIX 6.4+, sh # is ksh but when the shell is invoked as "sh" and the current value of # the _XPG environment variable is not equal to 1 (one), the special # positional parameter $0, within a function call, is the name of the # function. progpath="$0" # The name of this program: progname=`echo "$progpath" | $SED $basename` modename="$progname" # Global variables: EXIT_SUCCESS=0 EXIT_FAILURE=1 PROGRAM=ltmain.sh PACKAGE=libtool VERSION="1.5.26 Debian 1.5.26-1ubuntu1" TIMESTAMP=" (1.1220.2.493 2008/02/01 16:58:18)" # Be Bourne compatible (taken from Autoconf:_AS_BOURNE_COMPATIBLE). if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then emulate sh NULLCMD=: # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which # is contrary to our usage. Disable this feature. alias -g '${1+"$@"}'='"$@"' setopt NO_GLOB_SUBST else case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac fi BIN_SH=xpg4; export BIN_SH # for Tru64 DUALCASE=1; export DUALCASE # for MKS sh # Check that we have a working $echo. if test "X$1" = X--no-reexec; then # Discard the --no-reexec flag, and continue. shift elif test "X$1" = X--fallback-echo; then # Avoid inline document here, it may be left over : elif test "X`($echo '\t') 2>/dev/null`" = 'X\t'; then # Yippee, $echo works! : else # Restart under the correct shell, and then maybe $echo will work. exec $SHELL "$progpath" --no-reexec ${1+"$@"} fi if test "X$1" = X--fallback-echo; then # used as fallback echo shift cat <&2 $echo "Fatal configuration error. See the $PACKAGE docs for more information." 1>&2 exit $EXIT_FAILURE fi # Global variables. mode=$default_mode nonopt= prev= prevopt= run= show="$echo" show_help= execute_dlfiles= duplicate_deps=no preserve_args= lo2o="s/\\.lo\$/.${objext}/" o2lo="s/\\.${objext}\$/.lo/" extracted_archives= extracted_serial=0 ##################################### # Shell function definitions: # This seems to be the best place for them # func_mktempdir [string] # Make a temporary directory that won't clash with other running # libtool processes, and avoids race conditions if possible. If # given, STRING is the basename for that directory. func_mktempdir () { my_template="${TMPDIR-/tmp}/${1-$progname}" if test "$run" = ":"; then # Return a directory name, but don't create it in dry-run mode my_tmpdir="${my_template}-$$" else # If mktemp works, use that first and foremost my_tmpdir=`mktemp -d "${my_template}-XXXXXXXX" 2>/dev/null` if test ! -d "$my_tmpdir"; then # Failing that, at least try and use $RANDOM to avoid a race my_tmpdir="${my_template}-${RANDOM-0}$$" save_mktempdir_umask=`umask` umask 0077 $mkdir "$my_tmpdir" umask $save_mktempdir_umask fi # If we're not in dry-run mode, bomb out on failure test -d "$my_tmpdir" || { $echo "cannot create temporary directory \`$my_tmpdir'" 1>&2 exit $EXIT_FAILURE } fi $echo "X$my_tmpdir" | $Xsed } # func_win32_libid arg # return the library type of file 'arg' # # Need a lot of goo to handle *both* DLLs and import libs # Has to be a shell function in order to 'eat' the argument # that is supplied when $file_magic_command is called. func_win32_libid () { win32_libid_type="unknown" win32_fileres=`file -L $1 2>/dev/null` case $win32_fileres in *ar\ archive\ import\ library*) # definitely import win32_libid_type="x86 archive import" ;; *ar\ archive*) # could be an import, or static if eval $OBJDUMP -f $1 | $SED -e '10q' 2>/dev/null | \ $EGREP -e 'file format pe-i386(.*architecture: i386)?' >/dev/null ; then win32_nmres=`eval $NM -f posix -A $1 | \ $SED -n -e '1,100{ / I /{ s,.*,import, p q } }'` case $win32_nmres in import*) win32_libid_type="x86 archive import";; *) win32_libid_type="x86 archive static";; esac fi ;; *DLL*) win32_libid_type="x86 DLL" ;; *executable*) # but shell scripts are "executable" too... case $win32_fileres in *MS\ Windows\ PE\ Intel*) win32_libid_type="x86 DLL" ;; esac ;; esac $echo $win32_libid_type } # func_infer_tag arg # Infer tagged configuration to use if any are available and # if one wasn't chosen via the "--tag" command line option. # Only attempt this if the compiler in the base compile # command doesn't match the default compiler. # arg is usually of the form 'gcc ...' func_infer_tag () { if test -n "$available_tags" && test -z "$tagname"; then CC_quoted= for arg in $CC; do case $arg in *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") arg="\"$arg\"" ;; esac CC_quoted="$CC_quoted $arg" done case $@ in # Blanks in the command may have been stripped by the calling shell, # but not from the CC environment variable when configure was run. " $CC "* | "$CC "* | " `$echo $CC` "* | "`$echo $CC` "* | " $CC_quoted"* | "$CC_quoted "* | " `$echo $CC_quoted` "* | "`$echo $CC_quoted` "*) ;; # Blanks at the start of $base_compile will cause this to fail # if we don't check for them as well. *) for z in $available_tags; do if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $z$" < "$progpath" > /dev/null; then # Evaluate the configuration. eval "`${SED} -n -e '/^# ### BEGIN LIBTOOL TAG CONFIG: '$z'$/,/^# ### END LIBTOOL TAG CONFIG: '$z'$/p' < $progpath`" CC_quoted= for arg in $CC; do # Double-quote args containing other shell metacharacters. case $arg in *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") arg="\"$arg\"" ;; esac CC_quoted="$CC_quoted $arg" done case "$@ " in " $CC "* | "$CC "* | " `$echo $CC` "* | "`$echo $CC` "* | " $CC_quoted"* | "$CC_quoted "* | " `$echo $CC_quoted` "* | "`$echo $CC_quoted` "*) # The compiler in the base compile command matches # the one in the tagged configuration. # Assume this is the tagged configuration we want. tagname=$z break ;; esac fi done # If $tagname still isn't set, then no tagged configuration # was found and let the user know that the "--tag" command # line option must be used. if test -z "$tagname"; then $echo "$modename: unable to infer tagged configuration" $echo "$modename: specify a tag with \`--tag'" 1>&2 exit $EXIT_FAILURE # else # $echo "$modename: using $tagname tagged configuration" fi ;; esac fi } # func_extract_an_archive dir oldlib func_extract_an_archive () { f_ex_an_ar_dir="$1"; shift f_ex_an_ar_oldlib="$1" $show "(cd $f_ex_an_ar_dir && $AR x $f_ex_an_ar_oldlib)" $run eval "(cd \$f_ex_an_ar_dir && $AR x \$f_ex_an_ar_oldlib)" || exit $? if ($AR t "$f_ex_an_ar_oldlib" | sort | sort -uc >/dev/null 2>&1); then : else $echo "$modename: ERROR: object name conflicts: $f_ex_an_ar_dir/$f_ex_an_ar_oldlib" 1>&2 exit $EXIT_FAILURE fi } # func_extract_archives gentop oldlib ... func_extract_archives () { my_gentop="$1"; shift my_oldlibs=${1+"$@"} my_oldobjs="" my_xlib="" my_xabs="" my_xdir="" my_status="" $show "${rm}r $my_gentop" $run ${rm}r "$my_gentop" $show "$mkdir $my_gentop" $run $mkdir "$my_gentop" my_status=$? if test "$my_status" -ne 0 && test ! -d "$my_gentop"; then exit $my_status fi for my_xlib in $my_oldlibs; do # Extract the objects. case $my_xlib in [\\/]* | [A-Za-z]:[\\/]*) my_xabs="$my_xlib" ;; *) my_xabs=`pwd`"/$my_xlib" ;; esac my_xlib=`$echo "X$my_xlib" | $Xsed -e 's%^.*/%%'` my_xlib_u=$my_xlib while :; do case " $extracted_archives " in *" $my_xlib_u "*) extracted_serial=`expr $extracted_serial + 1` my_xlib_u=lt$extracted_serial-$my_xlib ;; *) break ;; esac done extracted_archives="$extracted_archives $my_xlib_u" my_xdir="$my_gentop/$my_xlib_u" $show "${rm}r $my_xdir" $run ${rm}r "$my_xdir" $show "$mkdir $my_xdir" $run $mkdir "$my_xdir" exit_status=$? if test "$exit_status" -ne 0 && test ! -d "$my_xdir"; then exit $exit_status fi case $host in *-darwin*) $show "Extracting $my_xabs" # Do not bother doing anything if just a dry run if test -z "$run"; then darwin_orig_dir=`pwd` cd $my_xdir || exit $? darwin_archive=$my_xabs darwin_curdir=`pwd` darwin_base_archive=`$echo "X$darwin_archive" | $Xsed -e 's%^.*/%%'` darwin_arches=`lipo -info "$darwin_archive" 2>/dev/null | $EGREP Architectures 2>/dev/null` if test -n "$darwin_arches"; then darwin_arches=`echo "$darwin_arches" | $SED -e 's/.*are://'` darwin_arch= $show "$darwin_base_archive has multiple architectures $darwin_arches" for darwin_arch in $darwin_arches ; do mkdir -p "unfat-$$/${darwin_base_archive}-${darwin_arch}" lipo -thin $darwin_arch -output "unfat-$$/${darwin_base_archive}-${darwin_arch}/${darwin_base_archive}" "${darwin_archive}" cd "unfat-$$/${darwin_base_archive}-${darwin_arch}" func_extract_an_archive "`pwd`" "${darwin_base_archive}" cd "$darwin_curdir" $rm "unfat-$$/${darwin_base_archive}-${darwin_arch}/${darwin_base_archive}" done # $darwin_arches ## Okay now we have a bunch of thin objects, gotta fatten them up :) darwin_filelist=`find unfat-$$ -type f -name \*.o -print -o -name \*.lo -print| xargs basename | sort -u | $NL2SP` darwin_file= darwin_files= for darwin_file in $darwin_filelist; do darwin_files=`find unfat-$$ -name $darwin_file -print | $NL2SP` lipo -create -output "$darwin_file" $darwin_files done # $darwin_filelist ${rm}r unfat-$$ cd "$darwin_orig_dir" else cd "$darwin_orig_dir" func_extract_an_archive "$my_xdir" "$my_xabs" fi # $darwin_arches fi # $run ;; *) func_extract_an_archive "$my_xdir" "$my_xabs" ;; esac my_oldobjs="$my_oldobjs "`find $my_xdir -name \*.$objext -print -o -name \*.lo -print | $NL2SP` done func_extract_archives_result="$my_oldobjs" } # End of Shell function definitions ##################################### # Darwin sucks eval std_shrext=\"$shrext_cmds\" disable_libs=no # Parse our command line options once, thoroughly. while test "$#" -gt 0 do arg="$1" shift case $arg in -*=*) optarg=`$echo "X$arg" | $Xsed -e 's/[-_a-zA-Z0-9]*=//'` ;; *) optarg= ;; esac # If the previous option needs an argument, assign it. if test -n "$prev"; then case $prev in execute_dlfiles) execute_dlfiles="$execute_dlfiles $arg" ;; tag) tagname="$arg" preserve_args="${preserve_args}=$arg" # Check whether tagname contains only valid characters case $tagname in *[!-_A-Za-z0-9,/]*) $echo "$progname: invalid tag name: $tagname" 1>&2 exit $EXIT_FAILURE ;; esac case $tagname in CC) # Don't test for the "default" C tag, as we know, it's there, but # not specially marked. ;; *) if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "$progpath" > /dev/null; then taglist="$taglist $tagname" # Evaluate the configuration. eval "`${SED} -n -e '/^# ### BEGIN LIBTOOL TAG CONFIG: '$tagname'$/,/^# ### END LIBTOOL TAG CONFIG: '$tagname'$/p' < $progpath`" else $echo "$progname: ignoring unknown tag $tagname" 1>&2 fi ;; esac ;; *) eval "$prev=\$arg" ;; esac prev= prevopt= continue fi # Have we seen a non-optional argument yet? case $arg in --help) show_help=yes ;; --version) echo "\ $PROGRAM (GNU $PACKAGE) $VERSION$TIMESTAMP Copyright (C) 2008 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." exit $? ;; --config) ${SED} -e '1,/^# ### BEGIN LIBTOOL CONFIG/d' -e '/^# ### END LIBTOOL CONFIG/,$d' $progpath # Now print the configurations for the tags. for tagname in $taglist; do ${SED} -n -e "/^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$/,/^# ### END LIBTOOL TAG CONFIG: $tagname$/p" < "$progpath" done exit $? ;; --debug) $echo "$progname: enabling shell trace mode" set -x preserve_args="$preserve_args $arg" ;; --dry-run | -n) run=: ;; --features) $echo "host: $host" if test "$build_libtool_libs" = yes; then $echo "enable shared libraries" else $echo "disable shared libraries" fi if test "$build_old_libs" = yes; then $echo "enable static libraries" else $echo "disable static libraries" fi exit $? ;; --finish) mode="finish" ;; --mode) prevopt="--mode" prev=mode ;; --mode=*) mode="$optarg" ;; --preserve-dup-deps) duplicate_deps="yes" ;; --quiet | --silent) show=: preserve_args="$preserve_args $arg" ;; --tag) prevopt="--tag" prev=tag preserve_args="$preserve_args --tag" ;; --tag=*) set tag "$optarg" ${1+"$@"} shift prev=tag preserve_args="$preserve_args --tag" ;; -dlopen) prevopt="-dlopen" prev=execute_dlfiles ;; -*) $echo "$modename: unrecognized option \`$arg'" 1>&2 $echo "$help" 1>&2 exit $EXIT_FAILURE ;; *) nonopt="$arg" break ;; esac done if test -n "$prevopt"; then $echo "$modename: option \`$prevopt' requires an argument" 1>&2 $echo "$help" 1>&2 exit $EXIT_FAILURE fi case $disable_libs in no) ;; shared) build_libtool_libs=no build_old_libs=yes ;; static) build_old_libs=`case $build_libtool_libs in yes) echo no;; *) echo yes;; esac` ;; esac # If this variable is set in any of the actions, the command in it # will be execed at the end. This prevents here-documents from being # left over by shells. exec_cmd= if test -z "$show_help"; then # Infer the operation mode. if test -z "$mode"; then $echo "*** Warning: inferring the mode of operation is deprecated." 1>&2 $echo "*** Future versions of Libtool will require --mode=MODE be specified." 1>&2 case $nonopt in *cc | cc* | *++ | gcc* | *-gcc* | g++* | xlc*) mode=link for arg do case $arg in -c) mode=compile break ;; esac done ;; *db | *dbx | *strace | *truss) mode=execute ;; *install*|cp|mv) mode=install ;; *rm) mode=uninstall ;; *) # If we have no mode, but dlfiles were specified, then do execute mode. test -n "$execute_dlfiles" && mode=execute # Just use the default operation mode. if test -z "$mode"; then if test -n "$nonopt"; then $echo "$modename: warning: cannot infer operation mode from \`$nonopt'" 1>&2 else $echo "$modename: warning: cannot infer operation mode without MODE-ARGS" 1>&2 fi fi ;; esac fi # Only execute mode is allowed to have -dlopen flags. if test -n "$execute_dlfiles" && test "$mode" != execute; then $echo "$modename: unrecognized option \`-dlopen'" 1>&2 $echo "$help" 1>&2 exit $EXIT_FAILURE fi # Change the help message to a mode-specific one. generic_help="$help" help="Try \`$modename --help --mode=$mode' for more information." # These modes are in order of execution frequency so that they run quickly. case $mode in # libtool compile mode compile) modename="$modename: compile" # Get the compilation command and the source file. base_compile= srcfile="$nonopt" # always keep a non-empty value in "srcfile" suppress_opt=yes suppress_output= arg_mode=normal libobj= later= for arg do case $arg_mode in arg ) # do not "continue". Instead, add this to base_compile lastarg="$arg" arg_mode=normal ;; target ) libobj="$arg" arg_mode=normal continue ;; normal ) # Accept any command-line options. case $arg in -o) if test -n "$libobj" ; then $echo "$modename: you cannot specify \`-o' more than once" 1>&2 exit $EXIT_FAILURE fi arg_mode=target continue ;; -static | -prefer-pic | -prefer-non-pic) later="$later $arg" continue ;; -no-suppress) suppress_opt=no continue ;; -Xcompiler) arg_mode=arg # the next one goes into the "base_compile" arg list continue # The current "srcfile" will either be retained or ;; # replaced later. I would guess that would be a bug. -Wc,*) args=`$echo "X$arg" | $Xsed -e "s/^-Wc,//"` lastarg= save_ifs="$IFS"; IFS=',' for arg in $args; do IFS="$save_ifs" # Double-quote args containing other shell metacharacters. # Many Bourne shells cannot handle close brackets correctly # in scan sets, so we specify it separately. case $arg in *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") arg="\"$arg\"" ;; esac lastarg="$lastarg $arg" done IFS="$save_ifs" lastarg=`$echo "X$lastarg" | $Xsed -e "s/^ //"` # Add the arguments to base_compile. base_compile="$base_compile $lastarg" continue ;; * ) # Accept the current argument as the source file. # The previous "srcfile" becomes the current argument. # lastarg="$srcfile" srcfile="$arg" ;; esac # case $arg ;; esac # case $arg_mode # Aesthetically quote the previous argument. lastarg=`$echo "X$lastarg" | $Xsed -e "$sed_quote_subst"` case $lastarg in # Double-quote args containing other shell metacharacters. # Many Bourne shells cannot handle close brackets correctly # in scan sets, and some SunOS ksh mistreat backslash-escaping # in scan sets (worked around with variable expansion), # and furthermore cannot handle '|' '&' '(' ')' in scan sets # at all, so we specify them separately. *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") lastarg="\"$lastarg\"" ;; esac base_compile="$base_compile $lastarg" done # for arg case $arg_mode in arg) $echo "$modename: you must specify an argument for -Xcompile" exit $EXIT_FAILURE ;; target) $echo "$modename: you must specify a target with \`-o'" 1>&2 exit $EXIT_FAILURE ;; *) # Get the name of the library object. [ -z "$libobj" ] && libobj=`$echo "X$srcfile" | $Xsed -e 's%^.*/%%'` ;; esac # Recognize several different file suffixes. # If the user specifies -o file.o, it is replaced with file.lo xform='[cCFSifmso]' case $libobj in *.ada) xform=ada ;; *.adb) xform=adb ;; *.ads) xform=ads ;; *.asm) xform=asm ;; *.c++) xform=c++ ;; *.cc) xform=cc ;; *.ii) xform=ii ;; *.class) xform=class ;; *.cpp) xform=cpp ;; *.cxx) xform=cxx ;; *.[fF][09]?) xform=[fF][09]. ;; *.for) xform=for ;; *.java) xform=java ;; *.obj) xform=obj ;; *.sx) xform=sx ;; esac libobj=`$echo "X$libobj" | $Xsed -e "s/\.$xform$/.lo/"` case $libobj in *.lo) obj=`$echo "X$libobj" | $Xsed -e "$lo2o"` ;; *) $echo "$modename: cannot determine name of library object from \`$libobj'" 1>&2 exit $EXIT_FAILURE ;; esac func_infer_tag $base_compile for arg in $later; do case $arg in -static) build_old_libs=yes continue ;; -prefer-pic) pic_mode=yes continue ;; -prefer-non-pic) pic_mode=no continue ;; esac done qlibobj=`$echo "X$libobj" | $Xsed -e "$sed_quote_subst"` case $qlibobj in *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") qlibobj="\"$qlibobj\"" ;; esac test "X$libobj" != "X$qlibobj" \ && $echo "X$libobj" | grep '[]~#^*{};<>?"'"'"' &()|`$[]' \ && $echo "$modename: libobj name \`$libobj' may not contain shell special characters." objname=`$echo "X$obj" | $Xsed -e 's%^.*/%%'` xdir=`$echo "X$obj" | $Xsed -e 's%/[^/]*$%%'` if test "X$xdir" = "X$obj"; then xdir= else xdir=$xdir/ fi lobj=${xdir}$objdir/$objname if test -z "$base_compile"; then $echo "$modename: you must specify a compilation command" 1>&2 $echo "$help" 1>&2 exit $EXIT_FAILURE fi # Delete any leftover library objects. if test "$build_old_libs" = yes; then removelist="$obj $lobj $libobj ${libobj}T" else removelist="$lobj $libobj ${libobj}T" fi $run $rm $removelist trap "$run $rm $removelist; exit $EXIT_FAILURE" 1 2 15 # On Cygwin there's no "real" PIC flag so we must build both object types case $host_os in cygwin* | mingw* | pw32* | os2*) pic_mode=default ;; esac if test "$pic_mode" = no && test "$deplibs_check_method" != pass_all; then # non-PIC code in shared libraries is not supported pic_mode=default fi # Calculate the filename of the output object if compiler does # not support -o with -c if test "$compiler_c_o" = no; then output_obj=`$echo "X$srcfile" | $Xsed -e 's%^.*/%%' -e 's%\.[^.]*$%%'`.${objext} lockfile="$output_obj.lock" removelist="$removelist $output_obj $lockfile" trap "$run $rm $removelist; exit $EXIT_FAILURE" 1 2 15 else output_obj= need_locks=no lockfile= fi # Lock this critical section if it is needed # We use this script file to make the link, it avoids creating a new file if test "$need_locks" = yes; then until $run ln "$progpath" "$lockfile" 2>/dev/null; do $show "Waiting for $lockfile to be removed" sleep 2 done elif test "$need_locks" = warn; then if test -f "$lockfile"; then $echo "\ *** ERROR, $lockfile exists and contains: `cat $lockfile 2>/dev/null` This indicates that another process is trying to use the same temporary object file, and libtool could not work around it because your compiler does not support \`-c' and \`-o' together. If you repeat this compilation, it may succeed, by chance, but you had better avoid parallel builds (make -j) in this platform, or get a better compiler." $run $rm $removelist exit $EXIT_FAILURE fi $echo "$srcfile" > "$lockfile" fi if test -n "$fix_srcfile_path"; then eval srcfile=\"$fix_srcfile_path\" fi qsrcfile=`$echo "X$srcfile" | $Xsed -e "$sed_quote_subst"` case $qsrcfile in *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") qsrcfile="\"$qsrcfile\"" ;; esac $run $rm "$libobj" "${libobj}T" # Create a libtool object file (analogous to a ".la" file), # but don't create it if we're doing a dry run. test -z "$run" && cat > ${libobj}T </dev/null`" != "X$srcfile"; then $echo "\ *** ERROR, $lockfile contains: `cat $lockfile 2>/dev/null` but it should contain: $srcfile This indicates that another process is trying to use the same temporary object file, and libtool could not work around it because your compiler does not support \`-c' and \`-o' together. If you repeat this compilation, it may succeed, by chance, but you had better avoid parallel builds (make -j) in this platform, or get a better compiler." $run $rm $removelist exit $EXIT_FAILURE fi # Just move the object if needed, then go on to compile the next one if test -n "$output_obj" && test "X$output_obj" != "X$lobj"; then $show "$mv $output_obj $lobj" if $run $mv $output_obj $lobj; then : else error=$? $run $rm $removelist exit $error fi fi # Append the name of the PIC object to the libtool object file. test -z "$run" && cat >> ${libobj}T <> ${libobj}T </dev/null`" != "X$srcfile"; then $echo "\ *** ERROR, $lockfile contains: `cat $lockfile 2>/dev/null` but it should contain: $srcfile This indicates that another process is trying to use the same temporary object file, and libtool could not work around it because your compiler does not support \`-c' and \`-o' together. If you repeat this compilation, it may succeed, by chance, but you had better avoid parallel builds (make -j) in this platform, or get a better compiler." $run $rm $removelist exit $EXIT_FAILURE fi # Just move the object if needed if test -n "$output_obj" && test "X$output_obj" != "X$obj"; then $show "$mv $output_obj $obj" if $run $mv $output_obj $obj; then : else error=$? $run $rm $removelist exit $error fi fi # Append the name of the non-PIC object the libtool object file. # Only append if the libtool object file exists. test -z "$run" && cat >> ${libobj}T <> ${libobj}T <&2 fi if test -n "$link_static_flag"; then dlopen_self=$dlopen_self_static fi prefer_static_libs=yes ;; -static) if test -z "$pic_flag" && test -n "$link_static_flag"; then dlopen_self=$dlopen_self_static fi prefer_static_libs=built ;; -static-libtool-libs) if test -z "$pic_flag" && test -n "$link_static_flag"; then dlopen_self=$dlopen_self_static fi prefer_static_libs=yes ;; esac build_libtool_libs=no build_old_libs=yes break ;; esac done # See if our shared archives depend on static archives. test -n "$old_archive_from_new_cmds" && build_old_libs=yes # Go through the arguments, transforming them on the way. while test "$#" -gt 0; do arg="$1" shift case $arg in *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") qarg=\"`$echo "X$arg" | $Xsed -e "$sed_quote_subst"`\" ### testsuite: skip nested quoting test ;; *) qarg=$arg ;; esac libtool_args="$libtool_args $qarg" # If the previous option needs an argument, assign it. if test -n "$prev"; then case $prev in output) compile_command="$compile_command @OUTPUT@" finalize_command="$finalize_command @OUTPUT@" ;; esac case $prev in dlfiles|dlprefiles) if test "$preload" = no; then # Add the symbol object into the linking commands. compile_command="$compile_command @SYMFILE@" finalize_command="$finalize_command @SYMFILE@" preload=yes fi case $arg in *.la | *.lo) ;; # We handle these cases below. force) if test "$dlself" = no; then dlself=needless export_dynamic=yes fi prev= continue ;; self) if test "$prev" = dlprefiles; then dlself=yes elif test "$prev" = dlfiles && test "$dlopen_self" != yes; then dlself=yes else dlself=needless export_dynamic=yes fi prev= continue ;; *) if test "$prev" = dlfiles; then dlfiles="$dlfiles $arg" else dlprefiles="$dlprefiles $arg" fi prev= continue ;; esac ;; expsyms) export_symbols="$arg" if test ! -f "$arg"; then $echo "$modename: symbol file \`$arg' does not exist" exit $EXIT_FAILURE fi prev= continue ;; expsyms_regex) export_symbols_regex="$arg" prev= continue ;; inst_prefix) inst_prefix_dir="$arg" prev= continue ;; precious_regex) precious_files_regex="$arg" prev= continue ;; release) release="-$arg" prev= continue ;; objectlist) if test -f "$arg"; then save_arg=$arg moreargs= for fil in `cat $save_arg` do # moreargs="$moreargs $fil" arg=$fil # A libtool-controlled object. # Check to see that this really is a libtool object. if (${SED} -e '2q' $arg | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then pic_object= non_pic_object= # Read the .lo file # If there is no directory component, then add one. case $arg in */* | *\\*) . $arg ;; *) . ./$arg ;; esac if test -z "$pic_object" || \ test -z "$non_pic_object" || test "$pic_object" = none && \ test "$non_pic_object" = none; then $echo "$modename: cannot find name of object for \`$arg'" 1>&2 exit $EXIT_FAILURE fi # Extract subdirectory from the argument. xdir=`$echo "X$arg" | $Xsed -e 's%/[^/]*$%%'` if test "X$xdir" = "X$arg"; then xdir= else xdir="$xdir/" fi if test "$pic_object" != none; then # Prepend the subdirectory the object is found in. pic_object="$xdir$pic_object" if test "$prev" = dlfiles; then if test "$build_libtool_libs" = yes && test "$dlopen_support" = yes; then dlfiles="$dlfiles $pic_object" prev= continue else # If libtool objects are unsupported, then we need to preload. prev=dlprefiles fi fi # CHECK ME: I think I busted this. -Ossama if test "$prev" = dlprefiles; then # Preload the old-style object. dlprefiles="$dlprefiles $pic_object" prev= fi # A PIC object. libobjs="$libobjs $pic_object" arg="$pic_object" fi # Non-PIC object. if test "$non_pic_object" != none; then # Prepend the subdirectory the object is found in. non_pic_object="$xdir$non_pic_object" # A standard non-PIC object non_pic_objects="$non_pic_objects $non_pic_object" if test -z "$pic_object" || test "$pic_object" = none ; then arg="$non_pic_object" fi else # If the PIC object exists, use it instead. # $xdir was prepended to $pic_object above. non_pic_object="$pic_object" non_pic_objects="$non_pic_objects $non_pic_object" fi else # Only an error if not doing a dry-run. if test -z "$run"; then $echo "$modename: \`$arg' is not a valid libtool object" 1>&2 exit $EXIT_FAILURE else # Dry-run case. # Extract subdirectory from the argument. xdir=`$echo "X$arg" | $Xsed -e 's%/[^/]*$%%'` if test "X$xdir" = "X$arg"; then xdir= else xdir="$xdir/" fi pic_object=`$echo "X${xdir}${objdir}/${arg}" | $Xsed -e "$lo2o"` non_pic_object=`$echo "X${xdir}${arg}" | $Xsed -e "$lo2o"` libobjs="$libobjs $pic_object" non_pic_objects="$non_pic_objects $non_pic_object" fi fi done else $echo "$modename: link input file \`$save_arg' does not exist" exit $EXIT_FAILURE fi arg=$save_arg prev= continue ;; rpath | xrpath) # We need an absolute path. case $arg in [\\/]* | [A-Za-z]:[\\/]*) ;; *) $echo "$modename: only absolute run-paths are allowed" 1>&2 exit $EXIT_FAILURE ;; esac if test "$prev" = rpath; then case "$rpath " in *" $arg "*) ;; *) rpath="$rpath $arg" ;; esac else case "$xrpath " in *" $arg "*) ;; *) xrpath="$xrpath $arg" ;; esac fi prev= continue ;; xcompiler) compiler_flags="$compiler_flags $qarg" prev= compile_command="$compile_command $qarg" finalize_command="$finalize_command $qarg" continue ;; xlinker) linker_flags="$linker_flags $qarg" compiler_flags="$compiler_flags $wl$qarg" prev= compile_command="$compile_command $wl$qarg" finalize_command="$finalize_command $wl$qarg" continue ;; xcclinker) linker_flags="$linker_flags $qarg" compiler_flags="$compiler_flags $qarg" prev= compile_command="$compile_command $qarg" finalize_command="$finalize_command $qarg" continue ;; shrext) shrext_cmds="$arg" prev= continue ;; darwin_framework|darwin_framework_skip) test "$prev" = "darwin_framework" && compiler_flags="$compiler_flags $arg" compile_command="$compile_command $arg" finalize_command="$finalize_command $arg" prev= continue ;; *) eval "$prev=\"\$arg\"" prev= continue ;; esac fi # test -n "$prev" prevarg="$arg" case $arg in -all-static) if test -n "$link_static_flag"; then compile_command="$compile_command $link_static_flag" finalize_command="$finalize_command $link_static_flag" fi continue ;; -allow-undefined) # FIXME: remove this flag sometime in the future. $echo "$modename: \`-allow-undefined' is deprecated because it is the default" 1>&2 continue ;; -avoid-version) avoid_version=yes continue ;; -dlopen) prev=dlfiles continue ;; -dlpreopen) prev=dlprefiles continue ;; -export-dynamic) export_dynamic=yes continue ;; -export-symbols | -export-symbols-regex) if test -n "$export_symbols" || test -n "$export_symbols_regex"; then $echo "$modename: more than one -exported-symbols argument is not allowed" exit $EXIT_FAILURE fi if test "X$arg" = "X-export-symbols"; then prev=expsyms else prev=expsyms_regex fi continue ;; -framework|-arch|-isysroot) case " $CC " in *" ${arg} ${1} "* | *" ${arg} ${1} "*) prev=darwin_framework_skip ;; *) compiler_flags="$compiler_flags $arg" prev=darwin_framework ;; esac compile_command="$compile_command $arg" finalize_command="$finalize_command $arg" continue ;; -inst-prefix-dir) prev=inst_prefix continue ;; # The native IRIX linker understands -LANG:*, -LIST:* and -LNO:* # so, if we see these flags be careful not to treat them like -L -L[A-Z][A-Z]*:*) case $with_gcc/$host in no/*-*-irix* | /*-*-irix*) compile_command="$compile_command $arg" finalize_command="$finalize_command $arg" ;; esac continue ;; -L*) dir=`$echo "X$arg" | $Xsed -e 's/^-L//'` # We need an absolute path. case $dir in [\\/]* | [A-Za-z]:[\\/]*) ;; *) absdir=`cd "$dir" && pwd` if test -z "$absdir"; then $echo "$modename: cannot determine absolute directory name of \`$dir'" 1>&2 absdir="$dir" notinst_path="$notinst_path $dir" fi dir="$absdir" ;; esac case "$deplibs " in *" -L$dir "*) ;; *) deplibs="$deplibs -L$dir" lib_search_path="$lib_search_path $dir" ;; esac case $host in *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2*) testbindir=`$echo "X$dir" | $Xsed -e 's*/lib$*/bin*'` case :$dllsearchpath: in *":$dir:"*) ;; *) dllsearchpath="$dllsearchpath:$dir";; esac case :$dllsearchpath: in *":$testbindir:"*) ;; *) dllsearchpath="$dllsearchpath:$testbindir";; esac ;; esac continue ;; -l*) if test "X$arg" = "X-lc" || test "X$arg" = "X-lm"; then case $host in *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-beos*) # These systems don't actually have a C or math library (as such) continue ;; *-*-os2*) # These systems don't actually have a C library (as such) test "X$arg" = "X-lc" && continue ;; *-*-openbsd* | *-*-freebsd* | *-*-dragonfly*) # Do not include libc due to us having libc/libc_r. test "X$arg" = "X-lc" && continue ;; *-*-rhapsody* | *-*-darwin1.[012]) # Rhapsody C and math libraries are in the System framework deplibs="$deplibs -framework System" continue ;; *-*-sco3.2v5* | *-*-sco5v6*) # Causes problems with __ctype test "X$arg" = "X-lc" && continue ;; *-*-sysv4.2uw2* | *-*-sysv5* | *-*-unixware* | *-*-OpenUNIX*) # Compiler inserts libc in the correct place for threads to work test "X$arg" = "X-lc" && continue ;; esac elif test "X$arg" = "X-lc_r"; then case $host in *-*-openbsd* | *-*-freebsd* | *-*-dragonfly*) # Do not include libc_r directly, use -pthread flag. continue ;; esac fi deplibs="$deplibs $arg" continue ;; # Tru64 UNIX uses -model [arg] to determine the layout of C++ # classes, name mangling, and exception handling. -model) compile_command="$compile_command $arg" compiler_flags="$compiler_flags $arg" finalize_command="$finalize_command $arg" prev=xcompiler continue ;; -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe|-threads) compiler_flags="$compiler_flags $arg" compile_command="$compile_command $arg" finalize_command="$finalize_command $arg" continue ;; -multi_module) single_module="${wl}-multi_module" continue ;; -module) module=yes continue ;; # -64, -mips[0-9] enable 64-bit mode on the SGI compiler # -r[0-9][0-9]* specifies the processor on the SGI compiler # -xarch=*, -xtarget=* enable 64-bit mode on the Sun compiler # +DA*, +DD* enable 64-bit mode on the HP compiler # -q* pass through compiler args for the IBM compiler # -m* pass through architecture-specific compiler args for GCC # -m*, -t[45]*, -txscale* pass through architecture-specific # compiler args for GCC # -p, -pg, --coverage, -fprofile-* pass through profiling flag for GCC # -F/path gives path to uninstalled frameworks, gcc on darwin # @file GCC response files -64|-mips[0-9]|-r[0-9][0-9]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*| \ -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*) # Unknown arguments in both finalize_command and compile_command need # to be aesthetically quoted because they are evaled later. arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"` case $arg in *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") arg="\"$arg\"" ;; esac compile_command="$compile_command $arg" finalize_command="$finalize_command $arg" compiler_flags="$compiler_flags $arg" continue ;; -shrext) prev=shrext continue ;; -no-fast-install) fast_install=no continue ;; -no-install) case $host in *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-*-darwin*) # The PATH hackery in wrapper scripts is required on Windows # and Darwin in order for the loader to find any dlls it needs. $echo "$modename: warning: \`-no-install' is ignored for $host" 1>&2 $echo "$modename: warning: assuming \`-no-fast-install' instead" 1>&2 fast_install=no ;; *) no_install=yes ;; esac continue ;; -no-undefined) allow_undefined=no continue ;; -objectlist) prev=objectlist continue ;; -o) prev=output ;; -precious-files-regex) prev=precious_regex continue ;; -release) prev=release continue ;; -rpath) prev=rpath continue ;; -R) prev=xrpath continue ;; -R*) dir=`$echo "X$arg" | $Xsed -e 's/^-R//'` # We need an absolute path. case $dir in [\\/]* | [A-Za-z]:[\\/]*) ;; *) $echo "$modename: only absolute run-paths are allowed" 1>&2 exit $EXIT_FAILURE ;; esac case "$xrpath " in *" $dir "*) ;; *) xrpath="$xrpath $dir" ;; esac continue ;; -static | -static-libtool-libs) # The effects of -static are defined in a previous loop. # We used to do the same as -all-static on platforms that # didn't have a PIC flag, but the assumption that the effects # would be equivalent was wrong. It would break on at least # Digital Unix and AIX. continue ;; -thread-safe) thread_safe=yes continue ;; -version-info) prev=vinfo continue ;; -version-number) prev=vinfo vinfo_number=yes continue ;; -Wc,*) args=`$echo "X$arg" | $Xsed -e "$sed_quote_subst" -e 's/^-Wc,//'` arg= save_ifs="$IFS"; IFS=',' for flag in $args; do IFS="$save_ifs" case $flag in *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") flag="\"$flag\"" ;; esac arg="$arg $wl$flag" compiler_flags="$compiler_flags $flag" done IFS="$save_ifs" arg=`$echo "X$arg" | $Xsed -e "s/^ //"` ;; -Wl,*) args=`$echo "X$arg" | $Xsed -e "$sed_quote_subst" -e 's/^-Wl,//'` arg= save_ifs="$IFS"; IFS=',' for flag in $args; do IFS="$save_ifs" case $flag in *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") flag="\"$flag\"" ;; esac arg="$arg $wl$flag" compiler_flags="$compiler_flags $wl$flag" linker_flags="$linker_flags $flag" done IFS="$save_ifs" arg=`$echo "X$arg" | $Xsed -e "s/^ //"` ;; -Xcompiler) prev=xcompiler continue ;; -Xlinker) prev=xlinker continue ;; -XCClinker) prev=xcclinker continue ;; # Some other compiler flag. -* | +*) # Unknown arguments in both finalize_command and compile_command need # to be aesthetically quoted because they are evaled later. arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"` case $arg in *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") arg="\"$arg\"" ;; esac ;; *.$objext) # A standard object. objs="$objs $arg" ;; *.lo) # A libtool-controlled object. # Check to see that this really is a libtool object. if (${SED} -e '2q' $arg | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then pic_object= non_pic_object= # Read the .lo file # If there is no directory component, then add one. case $arg in */* | *\\*) . $arg ;; *) . ./$arg ;; esac if test -z "$pic_object" || \ test -z "$non_pic_object" || test "$pic_object" = none && \ test "$non_pic_object" = none; then $echo "$modename: cannot find name of object for \`$arg'" 1>&2 exit $EXIT_FAILURE fi # Extract subdirectory from the argument. xdir=`$echo "X$arg" | $Xsed -e 's%/[^/]*$%%'` if test "X$xdir" = "X$arg"; then xdir= else xdir="$xdir/" fi if test "$pic_object" != none; then # Prepend the subdirectory the object is found in. pic_object="$xdir$pic_object" if test "$prev" = dlfiles; then if test "$build_libtool_libs" = yes && test "$dlopen_support" = yes; then dlfiles="$dlfiles $pic_object" prev= continue else # If libtool objects are unsupported, then we need to preload. prev=dlprefiles fi fi # CHECK ME: I think I busted this. -Ossama if test "$prev" = dlprefiles; then # Preload the old-style object. dlprefiles="$dlprefiles $pic_object" prev= fi # A PIC object. libobjs="$libobjs $pic_object" arg="$pic_object" fi # Non-PIC object. if test "$non_pic_object" != none; then # Prepend the subdirectory the object is found in. non_pic_object="$xdir$non_pic_object" # A standard non-PIC object non_pic_objects="$non_pic_objects $non_pic_object" if test -z "$pic_object" || test "$pic_object" = none ; then arg="$non_pic_object" fi else # If the PIC object exists, use it instead. # $xdir was prepended to $pic_object above. non_pic_object="$pic_object" non_pic_objects="$non_pic_objects $non_pic_object" fi else # Only an error if not doing a dry-run. if test -z "$run"; then $echo "$modename: \`$arg' is not a valid libtool object" 1>&2 exit $EXIT_FAILURE else # Dry-run case. # Extract subdirectory from the argument. xdir=`$echo "X$arg" | $Xsed -e 's%/[^/]*$%%'` if test "X$xdir" = "X$arg"; then xdir= else xdir="$xdir/" fi pic_object=`$echo "X${xdir}${objdir}/${arg}" | $Xsed -e "$lo2o"` non_pic_object=`$echo "X${xdir}${arg}" | $Xsed -e "$lo2o"` libobjs="$libobjs $pic_object" non_pic_objects="$non_pic_objects $non_pic_object" fi fi ;; *.$libext) # An archive. deplibs="$deplibs $arg" old_deplibs="$old_deplibs $arg" continue ;; *.la) # A libtool-controlled library. if test "$prev" = dlfiles; then # This library was specified with -dlopen. dlfiles="$dlfiles $arg" prev= elif test "$prev" = dlprefiles; then # The library was specified with -dlpreopen. dlprefiles="$dlprefiles $arg" prev= else deplibs="$deplibs $arg" fi continue ;; # Some other compiler argument. *) # Unknown arguments in both finalize_command and compile_command need # to be aesthetically quoted because they are evaled later. arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"` case $arg in *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") arg="\"$arg\"" ;; esac ;; esac # arg # Now actually substitute the argument into the commands. if test -n "$arg"; then compile_command="$compile_command $arg" finalize_command="$finalize_command $arg" fi done # argument parsing loop if test -n "$prev"; then $echo "$modename: the \`$prevarg' option requires an argument" 1>&2 $echo "$help" 1>&2 exit $EXIT_FAILURE fi if test "$export_dynamic" = yes && test -n "$export_dynamic_flag_spec"; then eval arg=\"$export_dynamic_flag_spec\" compile_command="$compile_command $arg" finalize_command="$finalize_command $arg" fi oldlibs= # calculate the name of the file, without its directory outputname=`$echo "X$output" | $Xsed -e 's%^.*/%%'` libobjs_save="$libobjs" if test -n "$shlibpath_var"; then # get the directories listed in $shlibpath_var eval shlib_search_path=\`\$echo \"X\${$shlibpath_var}\" \| \$Xsed -e \'s/:/ /g\'\` else shlib_search_path= fi eval sys_lib_search_path=\"$sys_lib_search_path_spec\" eval sys_lib_dlsearch_path=\"$sys_lib_dlsearch_path_spec\" output_objdir=`$echo "X$output" | $Xsed -e 's%/[^/]*$%%'` if test "X$output_objdir" = "X$output"; then output_objdir="$objdir" else output_objdir="$output_objdir/$objdir" fi # Create the object directory. if test ! -d "$output_objdir"; then $show "$mkdir $output_objdir" $run $mkdir $output_objdir exit_status=$? if test "$exit_status" -ne 0 && test ! -d "$output_objdir"; then exit $exit_status fi fi # Determine the type of output case $output in "") $echo "$modename: you must specify an output file" 1>&2 $echo "$help" 1>&2 exit $EXIT_FAILURE ;; *.$libext) linkmode=oldlib ;; *.lo | *.$objext) linkmode=obj ;; *.la) linkmode=lib ;; *) linkmode=prog ;; # Anything else should be a program. esac case $host in *cygwin* | *mingw* | *pw32*) # don't eliminate duplications in $postdeps and $predeps duplicate_compiler_generated_deps=yes ;; *) duplicate_compiler_generated_deps=$duplicate_deps ;; esac specialdeplibs= libs= # Find all interdependent deplibs by searching for libraries # that are linked more than once (e.g. -la -lb -la) for deplib in $deplibs; do if test "X$duplicate_deps" = "Xyes" ; then case "$libs " in *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;; esac fi libs="$libs $deplib" done if test "$linkmode" = lib; then libs="$predeps $libs $compiler_lib_search_path $postdeps" # Compute libraries that are listed more than once in $predeps # $postdeps and mark them as special (i.e., whose duplicates are # not to be eliminated). pre_post_deps= if test "X$duplicate_compiler_generated_deps" = "Xyes" ; then for pre_post_dep in $predeps $postdeps; do case "$pre_post_deps " in *" $pre_post_dep "*) specialdeplibs="$specialdeplibs $pre_post_deps" ;; esac pre_post_deps="$pre_post_deps $pre_post_dep" done fi pre_post_deps= fi deplibs= newdependency_libs= newlib_search_path= need_relink=no # whether we're linking any uninstalled libtool libraries notinst_deplibs= # not-installed libtool libraries case $linkmode in lib) passes="conv link" for file in $dlfiles $dlprefiles; do case $file in *.la) ;; *) $echo "$modename: libraries can \`-dlopen' only libtool libraries: $file" 1>&2 exit $EXIT_FAILURE ;; esac done ;; prog) compile_deplibs= finalize_deplibs= alldeplibs=no newdlfiles= newdlprefiles= passes="conv scan dlopen dlpreopen link" ;; *) passes="conv" ;; esac for pass in $passes; do if test "$linkmode,$pass" = "lib,link" || test "$linkmode,$pass" = "prog,scan"; then libs="$deplibs" deplibs= fi if test "$linkmode" = prog; then case $pass in dlopen) libs="$dlfiles" ;; dlpreopen) libs="$dlprefiles" ;; link) libs="$deplibs %DEPLIBS%" test "X$link_all_deplibs" != Xno && libs="$libs $dependency_libs" ;; esac fi if test "$pass" = dlopen; then # Collect dlpreopened libraries save_deplibs="$deplibs" deplibs= fi for deplib in $libs; do lib= found=no case $deplib in -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe|-threads) if test "$linkmode,$pass" = "prog,link"; then compile_deplibs="$deplib $compile_deplibs" finalize_deplibs="$deplib $finalize_deplibs" else compiler_flags="$compiler_flags $deplib" fi continue ;; -l*) if test "$linkmode" != lib && test "$linkmode" != prog; then $echo "$modename: warning: \`-l' is ignored for archives/objects" 1>&2 continue fi name=`$echo "X$deplib" | $Xsed -e 's/^-l//'` if test "$linkmode" = lib; then searchdirs="$newlib_search_path $lib_search_path $compiler_lib_search_dirs $sys_lib_search_path $shlib_search_path" else searchdirs="$newlib_search_path $lib_search_path $sys_lib_search_path $shlib_search_path" fi for searchdir in $searchdirs; do for search_ext in .la $std_shrext .so .a; do # Search the libtool library lib="$searchdir/lib${name}${search_ext}" if test -f "$lib"; then if test "$search_ext" = ".la"; then found=yes else found=no fi break 2 fi done done if test "$found" != yes; then # deplib doesn't seem to be a libtool library if test "$linkmode,$pass" = "prog,link"; then compile_deplibs="$deplib $compile_deplibs" finalize_deplibs="$deplib $finalize_deplibs" else deplibs="$deplib $deplibs" test "$linkmode" = lib && newdependency_libs="$deplib $newdependency_libs" fi continue else # deplib is a libtool library # If $allow_libtool_libs_with_static_runtimes && $deplib is a stdlib, # We need to do some special things here, and not later. if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then case " $predeps $postdeps " in *" $deplib "*) if (${SED} -e '2q' $lib | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then library_names= old_library= case $lib in */* | *\\*) . $lib ;; *) . ./$lib ;; esac for l in $old_library $library_names; do ll="$l" done if test "X$ll" = "X$old_library" ; then # only static version available found=no ladir=`$echo "X$lib" | $Xsed -e 's%/[^/]*$%%'` test "X$ladir" = "X$lib" && ladir="." lib=$ladir/$old_library if test "$linkmode,$pass" = "prog,link"; then compile_deplibs="$deplib $compile_deplibs" finalize_deplibs="$deplib $finalize_deplibs" else deplibs="$deplib $deplibs" test "$linkmode" = lib && newdependency_libs="$deplib $newdependency_libs" fi continue fi fi ;; *) ;; esac fi fi ;; # -l -L*) case $linkmode in lib) deplibs="$deplib $deplibs" test "$pass" = conv && continue newdependency_libs="$deplib $newdependency_libs" newlib_search_path="$newlib_search_path "`$echo "X$deplib" | $Xsed -e 's/^-L//'` ;; prog) if test "$pass" = conv; then deplibs="$deplib $deplibs" continue fi if test "$pass" = scan; then deplibs="$deplib $deplibs" else compile_deplibs="$deplib $compile_deplibs" finalize_deplibs="$deplib $finalize_deplibs" fi newlib_search_path="$newlib_search_path "`$echo "X$deplib" | $Xsed -e 's/^-L//'` ;; *) $echo "$modename: warning: \`-L' is ignored for archives/objects" 1>&2 ;; esac # linkmode continue ;; # -L -R*) if test "$pass" = link; then dir=`$echo "X$deplib" | $Xsed -e 's/^-R//'` # Make sure the xrpath contains only unique directories. case "$xrpath " in *" $dir "*) ;; *) xrpath="$xrpath $dir" ;; esac fi deplibs="$deplib $deplibs" continue ;; *.la) lib="$deplib" ;; *.$libext) if test "$pass" = conv; then deplibs="$deplib $deplibs" continue fi case $linkmode in lib) valid_a_lib=no case $deplibs_check_method in match_pattern*) set dummy $deplibs_check_method match_pattern_regex=`expr "$deplibs_check_method" : "$2 \(.*\)"` if eval $echo \"$deplib\" 2>/dev/null \ | $SED 10q \ | $EGREP "$match_pattern_regex" > /dev/null; then valid_a_lib=yes fi ;; pass_all) valid_a_lib=yes ;; esac if test "$valid_a_lib" != yes; then $echo $echo "*** Warning: Trying to link with static lib archive $deplib." $echo "*** I have the capability to make that library automatically link in when" $echo "*** you link to this library. But I can only do this if you have a" $echo "*** shared version of the library, which you do not appear to have" $echo "*** because the file extensions .$libext of this argument makes me believe" $echo "*** that it is just a static archive that I should not used here." else $echo $echo "*** Warning: Linking the shared library $output against the" $echo "*** static library $deplib is not portable!" deplibs="$deplib $deplibs" fi continue ;; prog) if test "$pass" != link; then deplibs="$deplib $deplibs" else compile_deplibs="$deplib $compile_deplibs" finalize_deplibs="$deplib $finalize_deplibs" fi continue ;; esac # linkmode ;; # *.$libext *.lo | *.$objext) if test "$pass" = conv; then deplibs="$deplib $deplibs" elif test "$linkmode" = prog; then if test "$pass" = dlpreopen || test "$dlopen_support" != yes || test "$build_libtool_libs" = no; then # If there is no dlopen support or we're linking statically, # we need to preload. newdlprefiles="$newdlprefiles $deplib" compile_deplibs="$deplib $compile_deplibs" finalize_deplibs="$deplib $finalize_deplibs" else newdlfiles="$newdlfiles $deplib" fi fi continue ;; %DEPLIBS%) alldeplibs=yes continue ;; esac # case $deplib if test "$found" = yes || test -f "$lib"; then : else $echo "$modename: cannot find the library \`$lib' or unhandled argument \`$deplib'" 1>&2 exit $EXIT_FAILURE fi # Check to see that this really is a libtool archive. if (${SED} -e '2q' $lib | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then : else $echo "$modename: \`$lib' is not a valid libtool archive" 1>&2 exit $EXIT_FAILURE fi ladir=`$echo "X$lib" | $Xsed -e 's%/[^/]*$%%'` test "X$ladir" = "X$lib" && ladir="." dlname= dlopen= dlpreopen= libdir= library_names= old_library= # If the library was installed with an old release of libtool, # it will not redefine variables installed, or shouldnotlink installed=yes shouldnotlink=no avoidtemprpath= # Read the .la file case $lib in */* | *\\*) . $lib ;; *) . ./$lib ;; esac if test "$linkmode,$pass" = "lib,link" || test "$linkmode,$pass" = "prog,scan" || { test "$linkmode" != prog && test "$linkmode" != lib; }; then test -n "$dlopen" && dlfiles="$dlfiles $dlopen" test -n "$dlpreopen" && dlprefiles="$dlprefiles $dlpreopen" fi if test "$pass" = conv; then # Only check for convenience libraries deplibs="$lib $deplibs" if test -z "$libdir"; then if test -z "$old_library"; then $echo "$modename: cannot find name of link library for \`$lib'" 1>&2 exit $EXIT_FAILURE fi # It is a libtool convenience library, so add in its objects. convenience="$convenience $ladir/$objdir/$old_library" old_convenience="$old_convenience $ladir/$objdir/$old_library" tmp_libs= for deplib in $dependency_libs; do deplibs="$deplib $deplibs" if test "X$duplicate_deps" = "Xyes" ; then case "$tmp_libs " in *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;; esac fi tmp_libs="$tmp_libs $deplib" done elif test "$linkmode" != prog && test "$linkmode" != lib; then $echo "$modename: \`$lib' is not a convenience library" 1>&2 exit $EXIT_FAILURE fi continue fi # $pass = conv # Get the name of the library we link against. linklib= for l in $old_library $library_names; do linklib="$l" done if test -z "$linklib"; then $echo "$modename: cannot find name of link library for \`$lib'" 1>&2 exit $EXIT_FAILURE fi # This library was specified with -dlopen. if test "$pass" = dlopen; then if test -z "$libdir"; then $echo "$modename: cannot -dlopen a convenience library: \`$lib'" 1>&2 exit $EXIT_FAILURE fi if test -z "$dlname" || test "$dlopen_support" != yes || test "$build_libtool_libs" = no; then # If there is no dlname, no dlopen support or we're linking # statically, we need to preload. We also need to preload any # dependent libraries so libltdl's deplib preloader doesn't # bomb out in the load deplibs phase. dlprefiles="$dlprefiles $lib $dependency_libs" else newdlfiles="$newdlfiles $lib" fi continue fi # $pass = dlopen # We need an absolute path. case $ladir in [\\/]* | [A-Za-z]:[\\/]*) abs_ladir="$ladir" ;; *) abs_ladir=`cd "$ladir" && pwd` if test -z "$abs_ladir"; then $echo "$modename: warning: cannot determine absolute directory name of \`$ladir'" 1>&2 $echo "$modename: passing it literally to the linker, although it might fail" 1>&2 abs_ladir="$ladir" fi ;; esac laname=`$echo "X$lib" | $Xsed -e 's%^.*/%%'` # Find the relevant object directory and library name. if test "X$installed" = Xyes; then if test ! -f "$libdir/$linklib" && test -f "$abs_ladir/$linklib"; then $echo "$modename: warning: library \`$lib' was moved." 1>&2 dir="$ladir" absdir="$abs_ladir" libdir="$abs_ladir" else dir="$libdir" absdir="$libdir" fi test "X$hardcode_automatic" = Xyes && avoidtemprpath=yes else if test ! -f "$ladir/$objdir/$linklib" && test -f "$abs_ladir/$linklib"; then dir="$ladir" absdir="$abs_ladir" # Remove this search path later notinst_path="$notinst_path $abs_ladir" else dir="$ladir/$objdir" absdir="$abs_ladir/$objdir" # Remove this search path later notinst_path="$notinst_path $abs_ladir" fi fi # $installed = yes name=`$echo "X$laname" | $Xsed -e 's/\.la$//' -e 's/^lib//'` # This library was specified with -dlpreopen. if test "$pass" = dlpreopen; then if test -z "$libdir"; then $echo "$modename: cannot -dlpreopen a convenience library: \`$lib'" 1>&2 exit $EXIT_FAILURE fi # Prefer using a static library (so that no silly _DYNAMIC symbols # are required to link). if test -n "$old_library"; then newdlprefiles="$newdlprefiles $dir/$old_library" # Otherwise, use the dlname, so that lt_dlopen finds it. elif test -n "$dlname"; then newdlprefiles="$newdlprefiles $dir/$dlname" else newdlprefiles="$newdlprefiles $dir/$linklib" fi fi # $pass = dlpreopen if test -z "$libdir"; then # Link the convenience library if test "$linkmode" = lib; then deplibs="$dir/$old_library $deplibs" elif test "$linkmode,$pass" = "prog,link"; then compile_deplibs="$dir/$old_library $compile_deplibs" finalize_deplibs="$dir/$old_library $finalize_deplibs" else deplibs="$lib $deplibs" # used for prog,scan pass fi continue fi if test "$linkmode" = prog && test "$pass" != link; then newlib_search_path="$newlib_search_path $ladir" deplibs="$lib $deplibs" linkalldeplibs=no if test "$link_all_deplibs" != no || test -z "$library_names" || test "$build_libtool_libs" = no; then linkalldeplibs=yes fi tmp_libs= for deplib in $dependency_libs; do case $deplib in -L*) newlib_search_path="$newlib_search_path "`$echo "X$deplib" | $Xsed -e 's/^-L//'`;; ### testsuite: skip nested quoting test esac # Need to link against all dependency_libs? if test "$linkalldeplibs" = yes; then deplibs="$deplib $deplibs" else # Need to hardcode shared library paths # or/and link against static libraries newdependency_libs="$deplib $newdependency_libs" fi if test "X$duplicate_deps" = "Xyes" ; then case "$tmp_libs " in *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;; esac fi tmp_libs="$tmp_libs $deplib" done # for deplib continue fi # $linkmode = prog... if test "$linkmode,$pass" = "prog,link"; then if test -n "$library_names" && { { test "$prefer_static_libs" = no || test "$prefer_static_libs,$installed" = "built,yes"; } || test -z "$old_library"; }; then # We need to hardcode the library path if test -n "$shlibpath_var" && test -z "$avoidtemprpath" ; then # Make sure the rpath contains only unique directories. case "$temp_rpath " in *" $dir "*) ;; *" $absdir "*) ;; *) temp_rpath="$temp_rpath $absdir" ;; esac fi # Hardcode the library path. # Skip directories that are in the system default run-time # search path. case " $sys_lib_dlsearch_path " in *" $absdir "*) ;; *) case "$compile_rpath " in *" $absdir "*) ;; *) compile_rpath="$compile_rpath $absdir" esac ;; esac case " $sys_lib_dlsearch_path " in *" $libdir "*) ;; *) case "$finalize_rpath " in *" $libdir "*) ;; *) finalize_rpath="$finalize_rpath $libdir" esac ;; esac fi # $linkmode,$pass = prog,link... if test "$alldeplibs" = yes && { test "$deplibs_check_method" = pass_all || { test "$build_libtool_libs" = yes && test -n "$library_names"; }; }; then # We only need to search for static libraries continue fi fi link_static=no # Whether the deplib will be linked statically use_static_libs=$prefer_static_libs if test "$use_static_libs" = built && test "$installed" = yes ; then use_static_libs=no fi if test -n "$library_names" && { test "$use_static_libs" = no || test -z "$old_library"; }; then if test "$installed" = no; then notinst_deplibs="$notinst_deplibs $lib" need_relink=yes fi # This is a shared library # Warn about portability, can't link against -module's on # some systems (darwin) if test "$shouldnotlink" = yes && test "$pass" = link ; then $echo if test "$linkmode" = prog; then $echo "*** Warning: Linking the executable $output against the loadable module" else $echo "*** Warning: Linking the shared library $output against the loadable module" fi $echo "*** $linklib is not portable!" fi if test "$linkmode" = lib && test "$hardcode_into_libs" = yes; then # Hardcode the library path. # Skip directories that are in the system default run-time # search path. case " $sys_lib_dlsearch_path " in *" $absdir "*) ;; *) case "$compile_rpath " in *" $absdir "*) ;; *) compile_rpath="$compile_rpath $absdir" esac ;; esac case " $sys_lib_dlsearch_path " in *" $libdir "*) ;; *) case "$finalize_rpath " in *" $libdir "*) ;; *) finalize_rpath="$finalize_rpath $libdir" esac ;; esac fi if test -n "$old_archive_from_expsyms_cmds"; then # figure out the soname set dummy $library_names realname="$2" shift; shift libname=`eval \\$echo \"$libname_spec\"` # use dlname if we got it. it's perfectly good, no? if test -n "$dlname"; then soname="$dlname" elif test -n "$soname_spec"; then # bleh windows case $host in *cygwin* | mingw*) major=`expr $current - $age` versuffix="-$major" ;; esac eval soname=\"$soname_spec\" else soname="$realname" fi # Make a new name for the extract_expsyms_cmds to use soroot="$soname" soname=`$echo $soroot | ${SED} -e 's/^.*\///'` newlib="libimp-`$echo $soname | ${SED} 's/^lib//;s/\.dll$//'`.a" # If the library has no export list, then create one now if test -f "$output_objdir/$soname-def"; then : else $show "extracting exported symbol list from \`$soname'" save_ifs="$IFS"; IFS='~' cmds=$extract_expsyms_cmds for cmd in $cmds; do IFS="$save_ifs" eval cmd=\"$cmd\" $show "$cmd" $run eval "$cmd" || exit $? done IFS="$save_ifs" fi # Create $newlib if test -f "$output_objdir/$newlib"; then :; else $show "generating import library for \`$soname'" save_ifs="$IFS"; IFS='~' cmds=$old_archive_from_expsyms_cmds for cmd in $cmds; do IFS="$save_ifs" eval cmd=\"$cmd\" $show "$cmd" $run eval "$cmd" || exit $? done IFS="$save_ifs" fi # make sure the library variables are pointing to the new library dir=$output_objdir linklib=$newlib fi # test -n "$old_archive_from_expsyms_cmds" if test "$linkmode" = prog || test "$mode" != relink; then add_shlibpath= add_dir= add= lib_linked=yes case $hardcode_action in immediate | unsupported) if test "$hardcode_direct" = no; then add="$dir/$linklib" case $host in *-*-sco3.2v5.0.[024]*) add_dir="-L$dir" ;; *-*-sysv4*uw2*) add_dir="-L$dir" ;; *-*-sysv5OpenUNIX* | *-*-sysv5UnixWare7.[01].[10]* | \ *-*-unixware7*) add_dir="-L$dir" ;; *-*-darwin* ) # if the lib is a module then we can not link against # it, someone is ignoring the new warnings I added if /usr/bin/file -L $add 2> /dev/null | $EGREP ": [^:]* bundle" >/dev/null ; then $echo "** Warning, lib $linklib is a module, not a shared library" if test -z "$old_library" ; then $echo $echo "** And there doesn't seem to be a static archive available" $echo "** The link will probably fail, sorry" else add="$dir/$old_library" fi fi esac elif test "$hardcode_minus_L" = no; then case $host in *-*-sunos*) add_shlibpath="$dir" ;; esac add_dir="-L$dir" add="-l$name" elif test "$hardcode_shlibpath_var" = no; then add_shlibpath="$dir" add="-l$name" else lib_linked=no fi ;; relink) if test "$hardcode_direct" = yes; then add="$dir/$linklib" elif test "$hardcode_minus_L" = yes; then add_dir="-L$dir" # Try looking first in the location we're being installed to. if test -n "$inst_prefix_dir"; then case $libdir in [\\/]*) add_dir="$add_dir -L$inst_prefix_dir$libdir" ;; esac fi add="-l$name" elif test "$hardcode_shlibpath_var" = yes; then add_shlibpath="$dir" add="-l$name" else lib_linked=no fi ;; *) lib_linked=no ;; esac if test "$lib_linked" != yes; then $echo "$modename: configuration error: unsupported hardcode properties" exit $EXIT_FAILURE fi if test -n "$add_shlibpath"; then case :$compile_shlibpath: in *":$add_shlibpath:"*) ;; *) compile_shlibpath="$compile_shlibpath$add_shlibpath:" ;; esac fi if test "$linkmode" = prog; then test -n "$add_dir" && compile_deplibs="$add_dir $compile_deplibs" test -n "$add" && compile_deplibs="$add $compile_deplibs" else test -n "$add_dir" && deplibs="$add_dir $deplibs" test -n "$add" && deplibs="$add $deplibs" if test "$hardcode_direct" != yes && \ test "$hardcode_minus_L" != yes && \ test "$hardcode_shlibpath_var" = yes; then case :$finalize_shlibpath: in *":$libdir:"*) ;; *) finalize_shlibpath="$finalize_shlibpath$libdir:" ;; esac fi fi fi if test "$linkmode" = prog || test "$mode" = relink; then add_shlibpath= add_dir= add= # Finalize command for both is simple: just hardcode it. if test "$hardcode_direct" = yes; then add="$libdir/$linklib" elif test "$hardcode_minus_L" = yes; then add_dir="-L$libdir" add="-l$name" elif test "$hardcode_shlibpath_var" = yes; then case :$finalize_shlibpath: in *":$libdir:"*) ;; *) finalize_shlibpath="$finalize_shlibpath$libdir:" ;; esac add="-l$name" elif test "$hardcode_automatic" = yes; then if test -n "$inst_prefix_dir" && test -f "$inst_prefix_dir$libdir/$linklib" ; then add="$inst_prefix_dir$libdir/$linklib" else add="$libdir/$linklib" fi else # We cannot seem to hardcode it, guess we'll fake it. add_dir="-L$libdir" # Try looking first in the location we're being installed to. if test -n "$inst_prefix_dir"; then case $libdir in [\\/]*) add_dir="$add_dir -L$inst_prefix_dir$libdir" ;; esac fi add="-l$name" fi if test "$linkmode" = prog; then test -n "$add_dir" && finalize_deplibs="$add_dir $finalize_deplibs" test -n "$add" && finalize_deplibs="$add $finalize_deplibs" else test -n "$add_dir" && deplibs="$add_dir $deplibs" test -n "$add" && deplibs="$add $deplibs" fi fi elif test "$linkmode" = prog; then # Here we assume that one of hardcode_direct or hardcode_minus_L # is not unsupported. This is valid on all known static and # shared platforms. if test "$hardcode_direct" != unsupported; then test -n "$old_library" && linklib="$old_library" compile_deplibs="$dir/$linklib $compile_deplibs" finalize_deplibs="$dir/$linklib $finalize_deplibs" else compile_deplibs="-l$name -L$dir $compile_deplibs" finalize_deplibs="-l$name -L$dir $finalize_deplibs" fi elif test "$build_libtool_libs" = yes; then # Not a shared library if test "$deplibs_check_method" != pass_all; then # We're trying link a shared library against a static one # but the system doesn't support it. # Just print a warning and add the library to dependency_libs so # that the program can be linked against the static library. $echo $echo "*** Warning: This system can not link to static lib archive $lib." $echo "*** I have the capability to make that library automatically link in when" $echo "*** you link to this library. But I can only do this if you have a" $echo "*** shared version of the library, which you do not appear to have." if test "$module" = yes; then $echo "*** But as you try to build a module library, libtool will still create " $echo "*** a static module, that should work as long as the dlopening application" $echo "*** is linked with the -dlopen flag to resolve symbols at runtime." if test -z "$global_symbol_pipe"; then $echo $echo "*** However, this would only work if libtool was able to extract symbol" $echo "*** lists from a program, using \`nm' or equivalent, but libtool could" $echo "*** not find such a program. So, this module is probably useless." $echo "*** \`nm' from GNU binutils and a full rebuild may help." fi if test "$build_old_libs" = no; then build_libtool_libs=module build_old_libs=yes else build_libtool_libs=no fi fi else deplibs="$dir/$old_library $deplibs" link_static=yes fi fi # link shared/static library? if test "$linkmode" = lib; then if test -n "$dependency_libs" && { test "$hardcode_into_libs" != yes || test "$build_old_libs" = yes || test "$link_static" = yes; }; then # Extract -R from dependency_libs temp_deplibs= for libdir in $dependency_libs; do case $libdir in -R*) temp_xrpath=`$echo "X$libdir" | $Xsed -e 's/^-R//'` case " $xrpath " in *" $temp_xrpath "*) ;; *) xrpath="$xrpath $temp_xrpath";; esac;; *) temp_deplibs="$temp_deplibs $libdir";; esac done dependency_libs="$temp_deplibs" fi newlib_search_path="$newlib_search_path $absdir" # Link against this library test "$link_static" = no && newdependency_libs="$abs_ladir/$laname $newdependency_libs" # ... and its dependency_libs tmp_libs= for deplib in $dependency_libs; do newdependency_libs="$deplib $newdependency_libs" if test "X$duplicate_deps" = "Xyes" ; then case "$tmp_libs " in *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;; esac fi tmp_libs="$tmp_libs $deplib" done if test "$link_all_deplibs" != no; then # Add the search paths of all dependency libraries for deplib in $dependency_libs; do case $deplib in -L*) path="$deplib" ;; *.la) dir=`$echo "X$deplib" | $Xsed -e 's%/[^/]*$%%'` test "X$dir" = "X$deplib" && dir="." # We need an absolute path. case $dir in [\\/]* | [A-Za-z]:[\\/]*) absdir="$dir" ;; *) absdir=`cd "$dir" && pwd` if test -z "$absdir"; then $echo "$modename: warning: cannot determine absolute directory name of \`$dir'" 1>&2 absdir="$dir" fi ;; esac if grep "^installed=no" $deplib > /dev/null; then path="$absdir/$objdir" else eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $deplib` if test -z "$libdir"; then $echo "$modename: \`$deplib' is not a valid libtool archive" 1>&2 exit $EXIT_FAILURE fi if test "$absdir" != "$libdir"; then $echo "$modename: warning: \`$deplib' seems to be moved" 1>&2 fi path="$absdir" fi depdepl= case $host in *-*-darwin*) # we do not want to link against static libs, # but need to link against shared eval deplibrary_names=`${SED} -n -e 's/^library_names=\(.*\)$/\1/p' $deplib` eval deplibdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $deplib` if test -n "$deplibrary_names" ; then for tmp in $deplibrary_names ; do depdepl=$tmp done if test -f "$deplibdir/$depdepl" ; then depdepl="$deplibdir/$depdepl" elif test -f "$path/$depdepl" ; then depdepl="$path/$depdepl" else # Can't find it, oh well... depdepl= fi # do not add paths which are already there case " $newlib_search_path " in *" $path "*) ;; *) newlib_search_path="$newlib_search_path $path";; esac fi path="" ;; *) path="-L$path" ;; esac ;; -l*) case $host in *-*-darwin*) # Again, we only want to link against shared libraries eval tmp_libs=`$echo "X$deplib" | $Xsed -e "s,^\-l,,"` for tmp in $newlib_search_path ; do if test -f "$tmp/lib$tmp_libs.dylib" ; then eval depdepl="$tmp/lib$tmp_libs.dylib" break fi done path="" ;; *) continue ;; esac ;; *) continue ;; esac case " $deplibs " in *" $path "*) ;; *) deplibs="$path $deplibs" ;; esac case " $deplibs " in *" $depdepl "*) ;; *) deplibs="$depdepl $deplibs" ;; esac done fi # link_all_deplibs != no fi # linkmode = lib done # for deplib in $libs dependency_libs="$newdependency_libs" if test "$pass" = dlpreopen; then # Link the dlpreopened libraries before other libraries for deplib in $save_deplibs; do deplibs="$deplib $deplibs" done fi if test "$pass" != dlopen; then if test "$pass" != conv; then # Make sure lib_search_path contains only unique directories. lib_search_path= for dir in $newlib_search_path; do case "$lib_search_path " in *" $dir "*) ;; *) lib_search_path="$lib_search_path $dir" ;; esac done newlib_search_path= fi if test "$linkmode,$pass" != "prog,link"; then vars="deplibs" else vars="compile_deplibs finalize_deplibs" fi for var in $vars dependency_libs; do # Add libraries to $var in reverse order eval tmp_libs=\"\$$var\" new_libs= for deplib in $tmp_libs; do # FIXME: Pedantically, this is the right thing to do, so # that some nasty dependency loop isn't accidentally # broken: #new_libs="$deplib $new_libs" # Pragmatically, this seems to cause very few problems in # practice: case $deplib in -L*) new_libs="$deplib $new_libs" ;; -R*) ;; *) # And here is the reason: when a library appears more # than once as an explicit dependence of a library, or # is implicitly linked in more than once by the # compiler, it is considered special, and multiple # occurrences thereof are not removed. Compare this # with having the same library being listed as a # dependency of multiple other libraries: in this case, # we know (pedantically, we assume) the library does not # need to be listed more than once, so we keep only the # last copy. This is not always right, but it is rare # enough that we require users that really mean to play # such unportable linking tricks to link the library # using -Wl,-lname, so that libtool does not consider it # for duplicate removal. case " $specialdeplibs " in *" $deplib "*) new_libs="$deplib $new_libs" ;; *) case " $new_libs " in *" $deplib "*) ;; *) new_libs="$deplib $new_libs" ;; esac ;; esac ;; esac done tmp_libs= for deplib in $new_libs; do case $deplib in -L*) case " $tmp_libs " in *" $deplib "*) ;; *) tmp_libs="$tmp_libs $deplib" ;; esac ;; *) tmp_libs="$tmp_libs $deplib" ;; esac done eval $var=\"$tmp_libs\" done # for var fi # Last step: remove runtime libs from dependency_libs # (they stay in deplibs) tmp_libs= for i in $dependency_libs ; do case " $predeps $postdeps $compiler_lib_search_path " in *" $i "*) i="" ;; esac if test -n "$i" ; then tmp_libs="$tmp_libs $i" fi done dependency_libs=$tmp_libs done # for pass if test "$linkmode" = prog; then dlfiles="$newdlfiles" dlprefiles="$newdlprefiles" fi case $linkmode in oldlib) case " $deplibs" in *\ -l* | *\ -L*) $echo "$modename: warning: \`-l' and \`-L' are ignored for archives" 1>&2 ;; esac if test -n "$dlfiles$dlprefiles" || test "$dlself" != no; then $echo "$modename: warning: \`-dlopen' is ignored for archives" 1>&2 fi if test -n "$rpath"; then $echo "$modename: warning: \`-rpath' is ignored for archives" 1>&2 fi if test -n "$xrpath"; then $echo "$modename: warning: \`-R' is ignored for archives" 1>&2 fi if test -n "$vinfo"; then $echo "$modename: warning: \`-version-info/-version-number' is ignored for archives" 1>&2 fi if test -n "$release"; then $echo "$modename: warning: \`-release' is ignored for archives" 1>&2 fi if test -n "$export_symbols" || test -n "$export_symbols_regex"; then $echo "$modename: warning: \`-export-symbols' is ignored for archives" 1>&2 fi # Now set the variables for building old libraries. build_libtool_libs=no oldlibs="$output" objs="$objs$old_deplibs" ;; lib) # Make sure we only generate libraries of the form `libNAME.la'. case $outputname in lib*) name=`$echo "X$outputname" | $Xsed -e 's/\.la$//' -e 's/^lib//'` eval shared_ext=\"$shrext_cmds\" eval libname=\"$libname_spec\" ;; *) if test "$module" = no; then $echo "$modename: libtool library \`$output' must begin with \`lib'" 1>&2 $echo "$help" 1>&2 exit $EXIT_FAILURE fi if test "$need_lib_prefix" != no; then # Add the "lib" prefix for modules if required name=`$echo "X$outputname" | $Xsed -e 's/\.la$//'` eval shared_ext=\"$shrext_cmds\" eval libname=\"$libname_spec\" else libname=`$echo "X$outputname" | $Xsed -e 's/\.la$//'` fi ;; esac if test -n "$objs"; then if test "$deplibs_check_method" != pass_all; then $echo "$modename: cannot build libtool library \`$output' from non-libtool objects on this host:$objs" 2>&1 exit $EXIT_FAILURE else $echo $echo "*** Warning: Linking the shared library $output against the non-libtool" $echo "*** objects $objs is not portable!" libobjs="$libobjs $objs" fi fi if test "$dlself" != no; then $echo "$modename: warning: \`-dlopen self' is ignored for libtool libraries" 1>&2 fi set dummy $rpath if test "$#" -gt 2; then $echo "$modename: warning: ignoring multiple \`-rpath's for a libtool library" 1>&2 fi install_libdir="$2" oldlibs= if test -z "$rpath"; then if test "$build_libtool_libs" = yes; then # Building a libtool convenience library. # Some compilers have problems with a `.al' extension so # convenience libraries should have the same extension an # archive normally would. oldlibs="$output_objdir/$libname.$libext $oldlibs" build_libtool_libs=convenience build_old_libs=yes fi if test -n "$vinfo"; then $echo "$modename: warning: \`-version-info/-version-number' is ignored for convenience libraries" 1>&2 fi if test -n "$release"; then $echo "$modename: warning: \`-release' is ignored for convenience libraries" 1>&2 fi else # Parse the version information argument. save_ifs="$IFS"; IFS=':' set dummy $vinfo 0 0 0 IFS="$save_ifs" if test -n "$8"; then $echo "$modename: too many parameters to \`-version-info'" 1>&2 $echo "$help" 1>&2 exit $EXIT_FAILURE fi # convert absolute version numbers to libtool ages # this retains compatibility with .la files and attempts # to make the code below a bit more comprehensible case $vinfo_number in yes) number_major="$2" number_minor="$3" number_revision="$4" # # There are really only two kinds -- those that # use the current revision as the major version # and those that subtract age and use age as # a minor version. But, then there is irix # which has an extra 1 added just for fun # case $version_type in darwin|linux|osf|windows|none) current=`expr $number_major + $number_minor` age="$number_minor" revision="$number_revision" ;; freebsd-aout|freebsd-elf|sunos) current="$number_major" revision="$number_minor" age="0" ;; irix|nonstopux) current=`expr $number_major + $number_minor` age="$number_minor" revision="$number_minor" lt_irix_increment=no ;; *) $echo "$modename: unknown library version type \`$version_type'" 1>&2 $echo "Fatal configuration error. See the $PACKAGE docs for more information." 1>&2 exit $EXIT_FAILURE ;; esac ;; no) current="$2" revision="$3" age="$4" ;; esac # Check that each of the things are valid numbers. case $current in 0|[1-9]|[1-9][0-9]|[1-9][0-9][0-9]|[1-9][0-9][0-9][0-9]|[1-9][0-9][0-9][0-9][0-9]) ;; *) $echo "$modename: CURRENT \`$current' must be a nonnegative integer" 1>&2 $echo "$modename: \`$vinfo' is not valid version information" 1>&2 exit $EXIT_FAILURE ;; esac case $revision in 0|[1-9]|[1-9][0-9]|[1-9][0-9][0-9]|[1-9][0-9][0-9][0-9]|[1-9][0-9][0-9][0-9][0-9]) ;; *) $echo "$modename: REVISION \`$revision' must be a nonnegative integer" 1>&2 $echo "$modename: \`$vinfo' is not valid version information" 1>&2 exit $EXIT_FAILURE ;; esac case $age in 0|[1-9]|[1-9][0-9]|[1-9][0-9][0-9]|[1-9][0-9][0-9][0-9]|[1-9][0-9][0-9][0-9][0-9]) ;; *) $echo "$modename: AGE \`$age' must be a nonnegative integer" 1>&2 $echo "$modename: \`$vinfo' is not valid version information" 1>&2 exit $EXIT_FAILURE ;; esac if test "$age" -gt "$current"; then $echo "$modename: AGE \`$age' is greater than the current interface number \`$current'" 1>&2 $echo "$modename: \`$vinfo' is not valid version information" 1>&2 exit $EXIT_FAILURE fi # Calculate the version variables. major= versuffix= verstring= case $version_type in none) ;; darwin) # Like Linux, but with the current version available in # verstring for coding it into the library header major=.`expr $current - $age` versuffix="$major.$age.$revision" # Darwin ld doesn't like 0 for these options... minor_current=`expr $current + 1` xlcverstring="${wl}-compatibility_version ${wl}$minor_current ${wl}-current_version ${wl}$minor_current.$revision" verstring="-compatibility_version $minor_current -current_version $minor_current.$revision" ;; freebsd-aout) major=".$current" versuffix=".$current.$revision"; ;; freebsd-elf) major=".$current" versuffix=".$current"; ;; irix | nonstopux) if test "X$lt_irix_increment" = "Xno"; then major=`expr $current - $age` else major=`expr $current - $age + 1` fi case $version_type in nonstopux) verstring_prefix=nonstopux ;; *) verstring_prefix=sgi ;; esac verstring="$verstring_prefix$major.$revision" # Add in all the interfaces that we are compatible with. loop=$revision while test "$loop" -ne 0; do iface=`expr $revision - $loop` loop=`expr $loop - 1` verstring="$verstring_prefix$major.$iface:$verstring" done # Before this point, $major must not contain `.'. major=.$major versuffix="$major.$revision" ;; linux) major=.`expr $current - $age` versuffix="$major.$age.$revision" ;; osf) major=.`expr $current - $age` versuffix=".$current.$age.$revision" verstring="$current.$age.$revision" # Add in all the interfaces that we are compatible with. loop=$age while test "$loop" -ne 0; do iface=`expr $current - $loop` loop=`expr $loop - 1` verstring="$verstring:${iface}.0" done # Make executables depend on our current version. verstring="$verstring:${current}.0" ;; sunos) major=".$current" versuffix=".$current.$revision" ;; windows) # Use '-' rather than '.', since we only want one # extension on DOS 8.3 filesystems. major=`expr $current - $age` versuffix="-$major" ;; *) $echo "$modename: unknown library version type \`$version_type'" 1>&2 $echo "Fatal configuration error. See the $PACKAGE docs for more information." 1>&2 exit $EXIT_FAILURE ;; esac # Clear the version info if we defaulted, and they specified a release. if test -z "$vinfo" && test -n "$release"; then major= case $version_type in darwin) # we can't check for "0.0" in archive_cmds due to quoting # problems, so we reset it completely verstring= ;; *) verstring="0.0" ;; esac if test "$need_version" = no; then versuffix= else versuffix=".0.0" fi fi # Remove version info from name if versioning should be avoided if test "$avoid_version" = yes && test "$need_version" = no; then major= versuffix= verstring="" fi # Check to see if the archive will have undefined symbols. if test "$allow_undefined" = yes; then if test "$allow_undefined_flag" = unsupported; then $echo "$modename: warning: undefined symbols not allowed in $host shared libraries" 1>&2 build_libtool_libs=no build_old_libs=yes fi else # Don't allow undefined symbols. allow_undefined_flag="$no_undefined_flag" fi fi if test "$mode" != relink; then # Remove our outputs, but don't remove object files since they # may have been created when compiling PIC objects. removelist= tempremovelist=`$echo "$output_objdir/*"` for p in $tempremovelist; do case $p in *.$objext) ;; $output_objdir/$outputname | $output_objdir/$libname.* | $output_objdir/${libname}${release}.*) if test "X$precious_files_regex" != "X"; then if echo $p | $EGREP -e "$precious_files_regex" >/dev/null 2>&1 then continue fi fi removelist="$removelist $p" ;; *) ;; esac done if test -n "$removelist"; then $show "${rm}r $removelist" $run ${rm}r $removelist fi fi # Now set the variables for building old libraries. if test "$build_old_libs" = yes && test "$build_libtool_libs" != convenience ; then oldlibs="$oldlibs $output_objdir/$libname.$libext" # Transform .lo files to .o files. oldobjs="$objs "`$echo "X$libobjs" | $SP2NL | $Xsed -e '/\.'${libext}'$/d' -e "$lo2o" | $NL2SP` fi # Eliminate all temporary directories. #for path in $notinst_path; do # lib_search_path=`$echo "$lib_search_path " | ${SED} -e "s% $path % %g"` # deplibs=`$echo "$deplibs " | ${SED} -e "s% -L$path % %g"` # dependency_libs=`$echo "$dependency_libs " | ${SED} -e "s% -L$path % %g"` #done if test -n "$xrpath"; then # If the user specified any rpath flags, then add them. temp_xrpath= for libdir in $xrpath; do temp_xrpath="$temp_xrpath -R$libdir" case "$finalize_rpath " in *" $libdir "*) ;; *) finalize_rpath="$finalize_rpath $libdir" ;; esac done if test "$hardcode_into_libs" != yes || test "$build_old_libs" = yes; then dependency_libs="$temp_xrpath $dependency_libs" fi fi # Make sure dlfiles contains only unique files that won't be dlpreopened old_dlfiles="$dlfiles" dlfiles= for lib in $old_dlfiles; do case " $dlprefiles $dlfiles " in *" $lib "*) ;; *) dlfiles="$dlfiles $lib" ;; esac done # Make sure dlprefiles contains only unique files old_dlprefiles="$dlprefiles" dlprefiles= for lib in $old_dlprefiles; do case "$dlprefiles " in *" $lib "*) ;; *) dlprefiles="$dlprefiles $lib" ;; esac done if test "$build_libtool_libs" = yes; then if test -n "$rpath"; then case $host in *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-*-beos*) # these systems don't actually have a c library (as such)! ;; *-*-rhapsody* | *-*-darwin1.[012]) # Rhapsody C library is in the System framework deplibs="$deplibs -framework System" ;; *-*-netbsd*) # Don't link with libc until the a.out ld.so is fixed. ;; *-*-openbsd* | *-*-freebsd* | *-*-dragonfly*) # Do not include libc due to us having libc/libc_r. ;; *-*-sco3.2v5* | *-*-sco5v6*) # Causes problems with __ctype ;; *-*-sysv4.2uw2* | *-*-sysv5* | *-*-unixware* | *-*-OpenUNIX*) # Compiler inserts libc in the correct place for threads to work ;; *) # Add libc to deplibs on all other systems if necessary. if test "$build_libtool_need_lc" = "yes"; then deplibs="$deplibs -lc" fi ;; esac fi # Transform deplibs into only deplibs that can be linked in shared. name_save=$name libname_save=$libname release_save=$release versuffix_save=$versuffix major_save=$major # I'm not sure if I'm treating the release correctly. I think # release should show up in the -l (ie -lgmp5) so we don't want to # add it in twice. Is that correct? release="" versuffix="" major="" newdeplibs= droppeddeps=no case $deplibs_check_method in pass_all) # Don't check for shared/static. Everything works. # This might be a little naive. We might want to check # whether the library exists or not. But this is on # osf3 & osf4 and I'm not really sure... Just # implementing what was already the behavior. newdeplibs=$deplibs ;; test_compile) # This code stresses the "libraries are programs" paradigm to its # limits. Maybe even breaks it. We compile a program, linking it # against the deplibs as a proxy for the library. Then we can check # whether they linked in statically or dynamically with ldd. $rm conftest.c cat > conftest.c </dev/null` for potent_lib in $potential_libs; do # Follow soft links. if ls -lLd "$potent_lib" 2>/dev/null \ | grep " -> " >/dev/null; then continue fi # The statement above tries to avoid entering an # endless loop below, in case of cyclic links. # We might still enter an endless loop, since a link # loop can be closed while we follow links, # but so what? potlib="$potent_lib" while test -h "$potlib" 2>/dev/null; do potliblink=`ls -ld $potlib | ${SED} 's/.* -> //'` case $potliblink in [\\/]* | [A-Za-z]:[\\/]*) potlib="$potliblink";; *) potlib=`$echo "X$potlib" | $Xsed -e 's,[^/]*$,,'`"$potliblink";; esac done if eval $file_magic_cmd \"\$potlib\" 2>/dev/null \ | ${SED} 10q \ | $EGREP "$file_magic_regex" > /dev/null; then newdeplibs="$newdeplibs $a_deplib" a_deplib="" break 2 fi done done fi if test -n "$a_deplib" ; then droppeddeps=yes $echo $echo "*** Warning: linker path does not have real file for library $a_deplib." $echo "*** I have the capability to make that library automatically link in when" $echo "*** you link to this library. But I can only do this if you have a" $echo "*** shared version of the library, which you do not appear to have" $echo "*** because I did check the linker path looking for a file starting" if test -z "$potlib" ; then $echo "*** with $libname but no candidates were found. (...for file magic test)" else $echo "*** with $libname and none of the candidates passed a file format test" $echo "*** using a file magic. Last file checked: $potlib" fi fi else # Add a -L argument. newdeplibs="$newdeplibs $a_deplib" fi done # Gone through all deplibs. ;; match_pattern*) set dummy $deplibs_check_method match_pattern_regex=`expr "$deplibs_check_method" : "$2 \(.*\)"` for a_deplib in $deplibs; do name=`expr $a_deplib : '-l\(.*\)'` # If $name is empty we are operating on a -L argument. if test -n "$name" && test "$name" != "0"; then if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then case " $predeps $postdeps " in *" $a_deplib "*) newdeplibs="$newdeplibs $a_deplib" a_deplib="" ;; esac fi if test -n "$a_deplib" ; then libname=`eval \\$echo \"$libname_spec\"` for i in $lib_search_path $sys_lib_search_path $shlib_search_path; do potential_libs=`ls $i/$libname[.-]* 2>/dev/null` for potent_lib in $potential_libs; do potlib="$potent_lib" # see symlink-check above in file_magic test if eval $echo \"$potent_lib\" 2>/dev/null \ | ${SED} 10q \ | $EGREP "$match_pattern_regex" > /dev/null; then newdeplibs="$newdeplibs $a_deplib" a_deplib="" break 2 fi done done fi if test -n "$a_deplib" ; then droppeddeps=yes $echo $echo "*** Warning: linker path does not have real file for library $a_deplib." $echo "*** I have the capability to make that library automatically link in when" $echo "*** you link to this library. But I can only do this if you have a" $echo "*** shared version of the library, which you do not appear to have" $echo "*** because I did check the linker path looking for a file starting" if test -z "$potlib" ; then $echo "*** with $libname but no candidates were found. (...for regex pattern test)" else $echo "*** with $libname and none of the candidates passed a file format test" $echo "*** using a regex pattern. Last file checked: $potlib" fi fi else # Add a -L argument. newdeplibs="$newdeplibs $a_deplib" fi done # Gone through all deplibs. ;; none | unknown | *) newdeplibs="" tmp_deplibs=`$echo "X $deplibs" | $Xsed -e 's/ -lc$//' \ -e 's/ -[LR][^ ]*//g'` if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then for i in $predeps $postdeps ; do # can't use Xsed below, because $i might contain '/' tmp_deplibs=`$echo "X $tmp_deplibs" | ${SED} -e "1s,^X,," -e "s,$i,,"` done fi if $echo "X $tmp_deplibs" | $Xsed -e 's/[ ]//g' \ | grep . >/dev/null; then $echo if test "X$deplibs_check_method" = "Xnone"; then $echo "*** Warning: inter-library dependencies are not supported in this platform." else $echo "*** Warning: inter-library dependencies are not known to be supported." fi $echo "*** All declared inter-library dependencies are being dropped." droppeddeps=yes fi ;; esac versuffix=$versuffix_save major=$major_save release=$release_save libname=$libname_save name=$name_save case $host in *-*-rhapsody* | *-*-darwin1.[012]) # On Rhapsody replace the C library is the System framework newdeplibs=`$echo "X $newdeplibs" | $Xsed -e 's/ -lc / -framework System /'` ;; esac if test "$droppeddeps" = yes; then if test "$module" = yes; then $echo $echo "*** Warning: libtool could not satisfy all declared inter-library" $echo "*** dependencies of module $libname. Therefore, libtool will create" $echo "*** a static module, that should work as long as the dlopening" $echo "*** application is linked with the -dlopen flag." if test -z "$global_symbol_pipe"; then $echo $echo "*** However, this would only work if libtool was able to extract symbol" $echo "*** lists from a program, using \`nm' or equivalent, but libtool could" $echo "*** not find such a program. So, this module is probably useless." $echo "*** \`nm' from GNU binutils and a full rebuild may help." fi if test "$build_old_libs" = no; then oldlibs="$output_objdir/$libname.$libext" build_libtool_libs=module build_old_libs=yes else build_libtool_libs=no fi else $echo "*** The inter-library dependencies that have been dropped here will be" $echo "*** automatically added whenever a program is linked with this library" $echo "*** or is declared to -dlopen it." if test "$allow_undefined" = no; then $echo $echo "*** Since this library must not contain undefined symbols," $echo "*** because either the platform does not support them or" $echo "*** it was explicitly requested with -no-undefined," $echo "*** libtool will only create a static version of it." if test "$build_old_libs" = no; then oldlibs="$output_objdir/$libname.$libext" build_libtool_libs=module build_old_libs=yes else build_libtool_libs=no fi fi fi fi # Done checking deplibs! deplibs=$newdeplibs fi # move library search paths that coincide with paths to not yet # installed libraries to the beginning of the library search list new_libs= for path in $notinst_path; do case " $new_libs " in *" -L$path/$objdir "*) ;; *) case " $deplibs " in *" -L$path/$objdir "*) new_libs="$new_libs -L$path/$objdir" ;; esac ;; esac done for deplib in $deplibs; do case $deplib in -L*) case " $new_libs " in *" $deplib "*) ;; *) new_libs="$new_libs $deplib" ;; esac ;; *) new_libs="$new_libs $deplib" ;; esac done deplibs="$new_libs" # All the library-specific variables (install_libdir is set above). library_names= old_library= dlname= # Test again, we may have decided not to build it any more if test "$build_libtool_libs" = yes; then if test "$hardcode_into_libs" = yes; then # Hardcode the library paths hardcode_libdirs= dep_rpath= rpath="$finalize_rpath" test "$mode" != relink && rpath="$compile_rpath$rpath" for libdir in $rpath; do if test -n "$hardcode_libdir_flag_spec"; then if test -n "$hardcode_libdir_separator"; then if test -z "$hardcode_libdirs"; then hardcode_libdirs="$libdir" else # Just accumulate the unique libdirs. case $hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator in *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*) ;; *) hardcode_libdirs="$hardcode_libdirs$hardcode_libdir_separator$libdir" ;; esac fi else eval flag=\"$hardcode_libdir_flag_spec\" dep_rpath="$dep_rpath $flag" fi elif test -n "$runpath_var"; then case "$perm_rpath " in *" $libdir "*) ;; *) perm_rpath="$perm_rpath $libdir" ;; esac fi done # Substitute the hardcoded libdirs into the rpath. if test -n "$hardcode_libdir_separator" && test -n "$hardcode_libdirs"; then libdir="$hardcode_libdirs" if test -n "$hardcode_libdir_flag_spec_ld"; then case $archive_cmds in *\$LD*) eval dep_rpath=\"$hardcode_libdir_flag_spec_ld\" ;; *) eval dep_rpath=\"$hardcode_libdir_flag_spec\" ;; esac else eval dep_rpath=\"$hardcode_libdir_flag_spec\" fi fi if test -n "$runpath_var" && test -n "$perm_rpath"; then # We should set the runpath_var. rpath= for dir in $perm_rpath; do rpath="$rpath$dir:" done eval "$runpath_var='$rpath\$$runpath_var'; export $runpath_var" fi test -n "$dep_rpath" && deplibs="$dep_rpath $deplibs" fi shlibpath="$finalize_shlibpath" test "$mode" != relink && shlibpath="$compile_shlibpath$shlibpath" if test -n "$shlibpath"; then eval "$shlibpath_var='$shlibpath\$$shlibpath_var'; export $shlibpath_var" fi # Get the real and link names of the library. eval shared_ext=\"$shrext_cmds\" eval library_names=\"$library_names_spec\" set dummy $library_names realname="$2" shift; shift if test -n "$soname_spec"; then eval soname=\"$soname_spec\" else soname="$realname" fi if test -z "$dlname"; then dlname=$soname fi lib="$output_objdir/$realname" linknames= for link do linknames="$linknames $link" done # Use standard objects if they are pic test -z "$pic_flag" && libobjs=`$echo "X$libobjs" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP` # Prepare the list of exported symbols if test -z "$export_symbols"; then if test "$always_export_symbols" = yes || test -n "$export_symbols_regex"; then $show "generating symbol list for \`$libname.la'" export_symbols="$output_objdir/$libname.exp" $run $rm $export_symbols cmds=$export_symbols_cmds save_ifs="$IFS"; IFS='~' for cmd in $cmds; do IFS="$save_ifs" eval cmd=\"$cmd\" if len=`expr "X$cmd" : ".*"` && test "$len" -le "$max_cmd_len" || test "$max_cmd_len" -le -1; then $show "$cmd" $run eval "$cmd" || exit $? skipped_export=false else # The command line is too long to execute in one step. $show "using reloadable object file for export list..." skipped_export=: # Break out early, otherwise skipped_export may be # set to false by a later but shorter cmd. break fi done IFS="$save_ifs" if test -n "$export_symbols_regex"; then $show "$EGREP -e \"$export_symbols_regex\" \"$export_symbols\" > \"${export_symbols}T\"" $run eval '$EGREP -e "$export_symbols_regex" "$export_symbols" > "${export_symbols}T"' $show "$mv \"${export_symbols}T\" \"$export_symbols\"" $run eval '$mv "${export_symbols}T" "$export_symbols"' fi fi fi if test -n "$export_symbols" && test -n "$include_expsyms"; then $run eval '$echo "X$include_expsyms" | $SP2NL >> "$export_symbols"' fi tmp_deplibs= for test_deplib in $deplibs; do case " $convenience " in *" $test_deplib "*) ;; *) tmp_deplibs="$tmp_deplibs $test_deplib" ;; esac done deplibs="$tmp_deplibs" if test -n "$convenience"; then if test -n "$whole_archive_flag_spec"; then save_libobjs=$libobjs eval libobjs=\"\$libobjs $whole_archive_flag_spec\" else gentop="$output_objdir/${outputname}x" generated="$generated $gentop" func_extract_archives $gentop $convenience libobjs="$libobjs $func_extract_archives_result" fi fi if test "$thread_safe" = yes && test -n "$thread_safe_flag_spec"; then eval flag=\"$thread_safe_flag_spec\" linker_flags="$linker_flags $flag" fi # Make a backup of the uninstalled library when relinking if test "$mode" = relink; then $run eval '(cd $output_objdir && $rm ${realname}U && $mv $realname ${realname}U)' || exit $? fi # Do each of the archive commands. if test "$module" = yes && test -n "$module_cmds" ; then if test -n "$export_symbols" && test -n "$module_expsym_cmds"; then eval test_cmds=\"$module_expsym_cmds\" cmds=$module_expsym_cmds else eval test_cmds=\"$module_cmds\" cmds=$module_cmds fi else if test -n "$export_symbols" && test -n "$archive_expsym_cmds"; then eval test_cmds=\"$archive_expsym_cmds\" cmds=$archive_expsym_cmds else eval test_cmds=\"$archive_cmds\" cmds=$archive_cmds fi fi if test "X$skipped_export" != "X:" && len=`expr "X$test_cmds" : ".*" 2>/dev/null` && test "$len" -le "$max_cmd_len" || test "$max_cmd_len" -le -1; then : else # The command line is too long to link in one step, link piecewise. $echo "creating reloadable object files..." # Save the value of $output and $libobjs because we want to # use them later. If we have whole_archive_flag_spec, we # want to use save_libobjs as it was before # whole_archive_flag_spec was expanded, because we can't # assume the linker understands whole_archive_flag_spec. # This may have to be revisited, in case too many # convenience libraries get linked in and end up exceeding # the spec. if test -z "$convenience" || test -z "$whole_archive_flag_spec"; then save_libobjs=$libobjs fi save_output=$output output_la=`$echo "X$output" | $Xsed -e "$basename"` # Clear the reloadable object creation command queue and # initialize k to one. test_cmds= concat_cmds= objlist= delfiles= last_robj= k=1 output=$output_objdir/$output_la-${k}.$objext # Loop over the list of objects to be linked. for obj in $save_libobjs do eval test_cmds=\"$reload_cmds $objlist $last_robj\" if test "X$objlist" = X || { len=`expr "X$test_cmds" : ".*" 2>/dev/null` && test "$len" -le "$max_cmd_len"; }; then objlist="$objlist $obj" else # The command $test_cmds is almost too long, add a # command to the queue. if test "$k" -eq 1 ; then # The first file doesn't have a previous command to add. eval concat_cmds=\"$reload_cmds $objlist $last_robj\" else # All subsequent reloadable object files will link in # the last one created. eval concat_cmds=\"\$concat_cmds~$reload_cmds $objlist $last_robj\" fi last_robj=$output_objdir/$output_la-${k}.$objext k=`expr $k + 1` output=$output_objdir/$output_la-${k}.$objext objlist=$obj len=1 fi done # Handle the remaining objects by creating one last # reloadable object file. All subsequent reloadable object # files will link in the last one created. test -z "$concat_cmds" || concat_cmds=$concat_cmds~ eval concat_cmds=\"\${concat_cmds}$reload_cmds $objlist $last_robj\" if ${skipped_export-false}; then $show "generating symbol list for \`$libname.la'" export_symbols="$output_objdir/$libname.exp" $run $rm $export_symbols libobjs=$output # Append the command to create the export file. eval concat_cmds=\"\$concat_cmds~$export_symbols_cmds\" fi # Set up a command to remove the reloadable object files # after they are used. i=0 while test "$i" -lt "$k" do i=`expr $i + 1` delfiles="$delfiles $output_objdir/$output_la-${i}.$objext" done $echo "creating a temporary reloadable object file: $output" # Loop through the commands generated above and execute them. save_ifs="$IFS"; IFS='~' for cmd in $concat_cmds; do IFS="$save_ifs" $show "$cmd" $run eval "$cmd" || exit $? done IFS="$save_ifs" libobjs=$output # Restore the value of output. output=$save_output if test -n "$convenience" && test -n "$whole_archive_flag_spec"; then eval libobjs=\"\$libobjs $whole_archive_flag_spec\" fi # Expand the library linking commands again to reset the # value of $libobjs for piecewise linking. # Do each of the archive commands. if test "$module" = yes && test -n "$module_cmds" ; then if test -n "$export_symbols" && test -n "$module_expsym_cmds"; then cmds=$module_expsym_cmds else cmds=$module_cmds fi else if test -n "$export_symbols" && test -n "$archive_expsym_cmds"; then cmds=$archive_expsym_cmds else cmds=$archive_cmds fi fi # Append the command to remove the reloadable object files # to the just-reset $cmds. eval cmds=\"\$cmds~\$rm $delfiles\" fi save_ifs="$IFS"; IFS='~' for cmd in $cmds; do IFS="$save_ifs" eval cmd=\"$cmd\" $show "$cmd" $run eval "$cmd" || { lt_exit=$? # Restore the uninstalled library and exit if test "$mode" = relink; then $run eval '(cd $output_objdir && $rm ${realname}T && $mv ${realname}U $realname)' fi exit $lt_exit } done IFS="$save_ifs" # Restore the uninstalled library and exit if test "$mode" = relink; then $run eval '(cd $output_objdir && $rm ${realname}T && $mv $realname ${realname}T && $mv "$realname"U $realname)' || exit $? if test -n "$convenience"; then if test -z "$whole_archive_flag_spec"; then $show "${rm}r $gentop" $run ${rm}r "$gentop" fi fi exit $EXIT_SUCCESS fi # Create links to the real library. for linkname in $linknames; do if test "$realname" != "$linkname"; then $show "(cd $output_objdir && $rm $linkname && $LN_S $realname $linkname)" $run eval '(cd $output_objdir && $rm $linkname && $LN_S $realname $linkname)' || exit $? fi done # If -module or -export-dynamic was specified, set the dlname. if test "$module" = yes || test "$export_dynamic" = yes; then # On all known operating systems, these are identical. dlname="$soname" fi fi ;; obj) case " $deplibs" in *\ -l* | *\ -L*) $echo "$modename: warning: \`-l' and \`-L' are ignored for objects" 1>&2 ;; esac if test -n "$dlfiles$dlprefiles" || test "$dlself" != no; then $echo "$modename: warning: \`-dlopen' is ignored for objects" 1>&2 fi if test -n "$rpath"; then $echo "$modename: warning: \`-rpath' is ignored for objects" 1>&2 fi if test -n "$xrpath"; then $echo "$modename: warning: \`-R' is ignored for objects" 1>&2 fi if test -n "$vinfo"; then $echo "$modename: warning: \`-version-info' is ignored for objects" 1>&2 fi if test -n "$release"; then $echo "$modename: warning: \`-release' is ignored for objects" 1>&2 fi case $output in *.lo) if test -n "$objs$old_deplibs"; then $echo "$modename: cannot build library object \`$output' from non-libtool objects" 1>&2 exit $EXIT_FAILURE fi libobj="$output" obj=`$echo "X$output" | $Xsed -e "$lo2o"` ;; *) libobj= obj="$output" ;; esac # Delete the old objects. $run $rm $obj $libobj # Objects from convenience libraries. This assumes # single-version convenience libraries. Whenever we create # different ones for PIC/non-PIC, this we'll have to duplicate # the extraction. reload_conv_objs= gentop= # reload_cmds runs $LD directly, so let us get rid of # -Wl from whole_archive_flag_spec and hope we can get by with # turning comma into space.. wl= if test -n "$convenience"; then if test -n "$whole_archive_flag_spec"; then eval tmp_whole_archive_flags=\"$whole_archive_flag_spec\" reload_conv_objs=$reload_objs\ `$echo "X$tmp_whole_archive_flags" | $Xsed -e 's|,| |g'` else gentop="$output_objdir/${obj}x" generated="$generated $gentop" func_extract_archives $gentop $convenience reload_conv_objs="$reload_objs $func_extract_archives_result" fi fi # Create the old-style object. reload_objs="$objs$old_deplibs "`$echo "X$libobjs" | $SP2NL | $Xsed -e '/\.'${libext}$'/d' -e '/\.lib$/d' -e "$lo2o" | $NL2SP`" $reload_conv_objs" ### testsuite: skip nested quoting test output="$obj" cmds=$reload_cmds save_ifs="$IFS"; IFS='~' for cmd in $cmds; do IFS="$save_ifs" eval cmd=\"$cmd\" $show "$cmd" $run eval "$cmd" || exit $? done IFS="$save_ifs" # Exit if we aren't doing a library object file. if test -z "$libobj"; then if test -n "$gentop"; then $show "${rm}r $gentop" $run ${rm}r $gentop fi exit $EXIT_SUCCESS fi if test "$build_libtool_libs" != yes; then if test -n "$gentop"; then $show "${rm}r $gentop" $run ${rm}r $gentop fi # Create an invalid libtool object if no PIC, so that we don't # accidentally link it into a program. # $show "echo timestamp > $libobj" # $run eval "echo timestamp > $libobj" || exit $? exit $EXIT_SUCCESS fi if test -n "$pic_flag" || test "$pic_mode" != default; then # Only do commands if we really have different PIC objects. reload_objs="$libobjs $reload_conv_objs" output="$libobj" cmds=$reload_cmds save_ifs="$IFS"; IFS='~' for cmd in $cmds; do IFS="$save_ifs" eval cmd=\"$cmd\" $show "$cmd" $run eval "$cmd" || exit $? done IFS="$save_ifs" fi if test -n "$gentop"; then $show "${rm}r $gentop" $run ${rm}r $gentop fi exit $EXIT_SUCCESS ;; prog) case $host in *cygwin*) output=`$echo $output | ${SED} -e 's,.exe$,,;s,$,.exe,'` ;; esac if test -n "$vinfo"; then $echo "$modename: warning: \`-version-info' is ignored for programs" 1>&2 fi if test -n "$release"; then $echo "$modename: warning: \`-release' is ignored for programs" 1>&2 fi if test "$preload" = yes; then if test "$dlopen_support" = unknown && test "$dlopen_self" = unknown && test "$dlopen_self_static" = unknown; then $echo "$modename: warning: \`AC_LIBTOOL_DLOPEN' not used. Assuming no dlopen support." fi fi case $host in *-*-rhapsody* | *-*-darwin1.[012]) # On Rhapsody replace the C library is the System framework compile_deplibs=`$echo "X $compile_deplibs" | $Xsed -e 's/ -lc / -framework System /'` finalize_deplibs=`$echo "X $finalize_deplibs" | $Xsed -e 's/ -lc / -framework System /'` ;; esac case $host in *darwin*) # Don't allow lazy linking, it breaks C++ global constructors if test "$tagname" = CXX ; then compile_command="$compile_command ${wl}-bind_at_load" finalize_command="$finalize_command ${wl}-bind_at_load" fi ;; esac # move library search paths that coincide with paths to not yet # installed libraries to the beginning of the library search list new_libs= for path in $notinst_path; do case " $new_libs " in *" -L$path/$objdir "*) ;; *) case " $compile_deplibs " in *" -L$path/$objdir "*) new_libs="$new_libs -L$path/$objdir" ;; esac ;; esac done for deplib in $compile_deplibs; do case $deplib in -L*) case " $new_libs " in *" $deplib "*) ;; *) new_libs="$new_libs $deplib" ;; esac ;; *) new_libs="$new_libs $deplib" ;; esac done compile_deplibs="$new_libs" compile_command="$compile_command $compile_deplibs" finalize_command="$finalize_command $finalize_deplibs" if test -n "$rpath$xrpath"; then # If the user specified any rpath flags, then add them. for libdir in $rpath $xrpath; do # This is the magic to use -rpath. case "$finalize_rpath " in *" $libdir "*) ;; *) finalize_rpath="$finalize_rpath $libdir" ;; esac done fi # Now hardcode the library paths rpath= hardcode_libdirs= for libdir in $compile_rpath $finalize_rpath; do if test -n "$hardcode_libdir_flag_spec"; then if test -n "$hardcode_libdir_separator"; then if test -z "$hardcode_libdirs"; then hardcode_libdirs="$libdir" else # Just accumulate the unique libdirs. case $hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator in *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*) ;; *) hardcode_libdirs="$hardcode_libdirs$hardcode_libdir_separator$libdir" ;; esac fi else eval flag=\"$hardcode_libdir_flag_spec\" rpath="$rpath $flag" fi elif test -n "$runpath_var"; then case "$perm_rpath " in *" $libdir "*) ;; *) perm_rpath="$perm_rpath $libdir" ;; esac fi case $host in *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2*) testbindir=`$echo "X$libdir" | $Xsed -e 's*/lib$*/bin*'` case :$dllsearchpath: in *":$libdir:"*) ;; *) dllsearchpath="$dllsearchpath:$libdir";; esac case :$dllsearchpath: in *":$testbindir:"*) ;; *) dllsearchpath="$dllsearchpath:$testbindir";; esac ;; esac done # Substitute the hardcoded libdirs into the rpath. if test -n "$hardcode_libdir_separator" && test -n "$hardcode_libdirs"; then libdir="$hardcode_libdirs" eval rpath=\" $hardcode_libdir_flag_spec\" fi compile_rpath="$rpath" rpath= hardcode_libdirs= for libdir in $finalize_rpath; do if test -n "$hardcode_libdir_flag_spec"; then if test -n "$hardcode_libdir_separator"; then if test -z "$hardcode_libdirs"; then hardcode_libdirs="$libdir" else # Just accumulate the unique libdirs. case $hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator in *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*) ;; *) hardcode_libdirs="$hardcode_libdirs$hardcode_libdir_separator$libdir" ;; esac fi else eval flag=\"$hardcode_libdir_flag_spec\" rpath="$rpath $flag" fi elif test -n "$runpath_var"; then case "$finalize_perm_rpath " in *" $libdir "*) ;; *) finalize_perm_rpath="$finalize_perm_rpath $libdir" ;; esac fi done # Substitute the hardcoded libdirs into the rpath. if test -n "$hardcode_libdir_separator" && test -n "$hardcode_libdirs"; then libdir="$hardcode_libdirs" eval rpath=\" $hardcode_libdir_flag_spec\" fi finalize_rpath="$rpath" if test -n "$libobjs" && test "$build_old_libs" = yes; then # Transform all the library objects into standard objects. compile_command=`$echo "X$compile_command" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP` finalize_command=`$echo "X$finalize_command" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP` fi dlsyms= if test -n "$dlfiles$dlprefiles" || test "$dlself" != no; then if test -n "$NM" && test -n "$global_symbol_pipe"; then dlsyms="${outputname}S.c" else $echo "$modename: not configured to extract global symbols from dlpreopened files" 1>&2 fi fi if test -n "$dlsyms"; then case $dlsyms in "") ;; *.c) # Discover the nlist of each of the dlfiles. nlist="$output_objdir/${outputname}.nm" $show "$rm $nlist ${nlist}S ${nlist}T" $run $rm "$nlist" "${nlist}S" "${nlist}T" # Parse the name list into a source file. $show "creating $output_objdir/$dlsyms" test -z "$run" && $echo > "$output_objdir/$dlsyms" "\ /* $dlsyms - symbol resolution table for \`$outputname' dlsym emulation. */ /* Generated by $PROGRAM - GNU $PACKAGE $VERSION$TIMESTAMP */ #ifdef __cplusplus extern \"C\" { #endif /* Prevent the only kind of declaration conflicts we can make. */ #define lt_preloaded_symbols some_other_symbol /* External symbol declarations for the compiler. */\ " if test "$dlself" = yes; then $show "generating symbol list for \`$output'" test -z "$run" && $echo ': @PROGRAM@ ' > "$nlist" # Add our own program objects to the symbol list. progfiles=`$echo "X$objs$old_deplibs" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP` for arg in $progfiles; do $show "extracting global C symbols from \`$arg'" $run eval "$NM $arg | $global_symbol_pipe >> '$nlist'" done if test -n "$exclude_expsyms"; then $run eval '$EGREP -v " ($exclude_expsyms)$" "$nlist" > "$nlist"T' $run eval '$mv "$nlist"T "$nlist"' fi if test -n "$export_symbols_regex"; then $run eval '$EGREP -e "$export_symbols_regex" "$nlist" > "$nlist"T' $run eval '$mv "$nlist"T "$nlist"' fi # Prepare the list of exported symbols if test -z "$export_symbols"; then export_symbols="$output_objdir/$outputname.exp" $run $rm $export_symbols $run eval "${SED} -n -e '/^: @PROGRAM@ $/d' -e 's/^.* \(.*\)$/\1/p' "'< "$nlist" > "$export_symbols"' case $host in *cygwin* | *mingw* ) $run eval "echo EXPORTS "'> "$output_objdir/$outputname.def"' $run eval 'cat "$export_symbols" >> "$output_objdir/$outputname.def"' ;; esac else $run eval "${SED} -e 's/\([].[*^$]\)/\\\\\1/g' -e 's/^/ /' -e 's/$/$/'"' < "$export_symbols" > "$output_objdir/$outputname.exp"' $run eval 'grep -f "$output_objdir/$outputname.exp" < "$nlist" > "$nlist"T' $run eval 'mv "$nlist"T "$nlist"' case $host in *cygwin* | *mingw* ) $run eval "echo EXPORTS "'> "$output_objdir/$outputname.def"' $run eval 'cat "$nlist" >> "$output_objdir/$outputname.def"' ;; esac fi fi for arg in $dlprefiles; do $show "extracting global C symbols from \`$arg'" name=`$echo "$arg" | ${SED} -e 's%^.*/%%'` $run eval '$echo ": $name " >> "$nlist"' $run eval "$NM $arg | $global_symbol_pipe >> '$nlist'" done if test -z "$run"; then # Make sure we have at least an empty file. test -f "$nlist" || : > "$nlist" if test -n "$exclude_expsyms"; then $EGREP -v " ($exclude_expsyms)$" "$nlist" > "$nlist"T $mv "$nlist"T "$nlist" fi # Try sorting and uniquifying the output. if grep -v "^: " < "$nlist" | if sort -k 3 /dev/null 2>&1; then sort -k 3 else sort +2 fi | uniq > "$nlist"S; then : else grep -v "^: " < "$nlist" > "$nlist"S fi if test -f "$nlist"S; then eval "$global_symbol_to_cdecl"' < "$nlist"S >> "$output_objdir/$dlsyms"' else $echo '/* NONE */' >> "$output_objdir/$dlsyms" fi $echo >> "$output_objdir/$dlsyms" "\ #undef lt_preloaded_symbols #if defined (__STDC__) && __STDC__ # define lt_ptr void * #else # define lt_ptr char * # define const #endif /* The mapping between symbol names and symbols. */ " case $host in *cygwin* | *mingw* ) $echo >> "$output_objdir/$dlsyms" "\ /* DATA imports from DLLs on WIN32 can't be const, because runtime relocations are performed -- see ld's documentation on pseudo-relocs */ struct { " ;; * ) $echo >> "$output_objdir/$dlsyms" "\ const struct { " ;; esac $echo >> "$output_objdir/$dlsyms" "\ const char *name; lt_ptr address; } lt_preloaded_symbols[] = {\ " eval "$global_symbol_to_c_name_address" < "$nlist" >> "$output_objdir/$dlsyms" $echo >> "$output_objdir/$dlsyms" "\ {0, (lt_ptr) 0} }; /* This works around a problem in FreeBSD linker */ #ifdef FREEBSD_WORKAROUND static const void *lt_preloaded_setup() { return lt_preloaded_symbols; } #endif #ifdef __cplusplus } #endif\ " fi pic_flag_for_symtable= case $host in # compiling the symbol table file with pic_flag works around # a FreeBSD bug that causes programs to crash when -lm is # linked before any other PIC object. But we must not use # pic_flag when linking with -static. The problem exists in # FreeBSD 2.2.6 and is fixed in FreeBSD 3.1. *-*-freebsd2*|*-*-freebsd3.0*|*-*-freebsdelf3.0*) case "$compile_command " in *" -static "*) ;; *) pic_flag_for_symtable=" $pic_flag -DFREEBSD_WORKAROUND";; esac;; *-*-hpux*) case "$compile_command " in *" -static "*) ;; *) pic_flag_for_symtable=" $pic_flag";; esac esac # Now compile the dynamic symbol file. $show "(cd $output_objdir && $LTCC $LTCFLAGS -c$no_builtin_flag$pic_flag_for_symtable \"$dlsyms\")" $run eval '(cd $output_objdir && $LTCC $LTCFLAGS -c$no_builtin_flag$pic_flag_for_symtable "$dlsyms")' || exit $? # Clean up the generated files. $show "$rm $output_objdir/$dlsyms $nlist ${nlist}S ${nlist}T" $run $rm "$output_objdir/$dlsyms" "$nlist" "${nlist}S" "${nlist}T" # Transform the symbol file into the correct name. case $host in *cygwin* | *mingw* ) if test -f "$output_objdir/${outputname}.def" ; then compile_command=`$echo "X$compile_command" | $SP2NL | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}.def $output_objdir/${outputname}S.${objext}%" | $NL2SP` finalize_command=`$echo "X$finalize_command" | $SP2NL | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}.def $output_objdir/${outputname}S.${objext}%" | $NL2SP` else compile_command=`$echo "X$compile_command" | $SP2NL | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}S.${objext}%" | $NL2SP` finalize_command=`$echo "X$finalize_command" | $SP2NL | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}S.${objext}%" | $NL2SP` fi ;; * ) compile_command=`$echo "X$compile_command" | $SP2NL | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}S.${objext}%" | $NL2SP` finalize_command=`$echo "X$finalize_command" | $SP2NL | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}S.${objext}%" | $NL2SP` ;; esac ;; *) $echo "$modename: unknown suffix for \`$dlsyms'" 1>&2 exit $EXIT_FAILURE ;; esac else # We keep going just in case the user didn't refer to # lt_preloaded_symbols. The linker will fail if global_symbol_pipe # really was required. # Nullify the symbol file. compile_command=`$echo "X$compile_command" | $SP2NL | $Xsed -e "s% @SYMFILE@%%" | $NL2SP` finalize_command=`$echo "X$finalize_command" | $SP2NL | $Xsed -e "s% @SYMFILE@%%" | $NL2SP` fi if test "$need_relink" = no || test "$build_libtool_libs" != yes; then # Replace the output file specification. compile_command=`$echo "X$compile_command" | $SP2NL | $Xsed -e 's%@OUTPUT@%'"$output"'%g' | $NL2SP` link_command="$compile_command$compile_rpath" # We have no uninstalled library dependencies, so finalize right now. $show "$link_command" $run eval "$link_command" exit_status=$? # Delete the generated files. if test -n "$dlsyms"; then $show "$rm $output_objdir/${outputname}S.${objext}" $run $rm "$output_objdir/${outputname}S.${objext}" fi exit $exit_status fi if test -n "$shlibpath_var"; then # We should set the shlibpath_var rpath= for dir in $temp_rpath; do case $dir in [\\/]* | [A-Za-z]:[\\/]*) # Absolute path. rpath="$rpath$dir:" ;; *) # Relative path: add a thisdir entry. rpath="$rpath\$thisdir/$dir:" ;; esac done temp_rpath="$rpath" fi if test -n "$compile_shlibpath$finalize_shlibpath"; then compile_command="$shlibpath_var=\"$compile_shlibpath$finalize_shlibpath\$$shlibpath_var\" $compile_command" fi if test -n "$finalize_shlibpath"; then finalize_command="$shlibpath_var=\"$finalize_shlibpath\$$shlibpath_var\" $finalize_command" fi compile_var= finalize_var= if test -n "$runpath_var"; then if test -n "$perm_rpath"; then # We should set the runpath_var. rpath= for dir in $perm_rpath; do rpath="$rpath$dir:" done compile_var="$runpath_var=\"$rpath\$$runpath_var\" " fi if test -n "$finalize_perm_rpath"; then # We should set the runpath_var. rpath= for dir in $finalize_perm_rpath; do rpath="$rpath$dir:" done finalize_var="$runpath_var=\"$rpath\$$runpath_var\" " fi fi if test "$no_install" = yes; then # We don't need to create a wrapper script. link_command="$compile_var$compile_command$compile_rpath" # Replace the output file specification. link_command=`$echo "X$link_command" | $Xsed -e 's%@OUTPUT@%'"$output"'%g'` # Delete the old output file. $run $rm $output # Link the executable and exit $show "$link_command" $run eval "$link_command" || exit $? exit $EXIT_SUCCESS fi if test "$hardcode_action" = relink; then # Fast installation is not supported link_command="$compile_var$compile_command$compile_rpath" relink_command="$finalize_var$finalize_command$finalize_rpath" $echo "$modename: warning: this platform does not like uninstalled shared libraries" 1>&2 $echo "$modename: \`$output' will be relinked during installation" 1>&2 else if test "$fast_install" != no; then link_command="$finalize_var$compile_command$finalize_rpath" if test "$fast_install" = yes; then relink_command=`$echo "X$compile_var$compile_command$compile_rpath" | $SP2NL | $Xsed -e 's%@OUTPUT@%\$progdir/\$file%g' | $NL2SP` else # fast_install is set to needless relink_command= fi else link_command="$compile_var$compile_command$compile_rpath" relink_command="$finalize_var$finalize_command$finalize_rpath" fi fi # Replace the output file specification. link_command=`$echo "X$link_command" | $Xsed -e 's%@OUTPUT@%'"$output_objdir/$outputname"'%g'` # Delete the old output files. $run $rm $output $output_objdir/$outputname $output_objdir/lt-$outputname $show "$link_command" $run eval "$link_command" || exit $? # Now create the wrapper script. $show "creating $output" # Quote the relink command for shipping. if test -n "$relink_command"; then # Preserve any variables that may affect compiler behavior for var in $variables_saved_for_relink; do if eval test -z \"\${$var+set}\"; then relink_command="{ test -z \"\${$var+set}\" || unset $var || { $var=; export $var; }; }; $relink_command" elif eval var_value=\$$var; test -z "$var_value"; then relink_command="$var=; export $var; $relink_command" else var_value=`$echo "X$var_value" | $Xsed -e "$sed_quote_subst"` relink_command="$var=\"$var_value\"; export $var; $relink_command" fi done relink_command="(cd `pwd`; $relink_command)" relink_command=`$echo "X$relink_command" | $SP2NL | $Xsed -e "$sed_quote_subst" | $NL2SP` fi # Quote $echo for shipping. if test "X$echo" = "X$SHELL $progpath --fallback-echo"; then case $progpath in [\\/]* | [A-Za-z]:[\\/]*) qecho="$SHELL $progpath --fallback-echo";; *) qecho="$SHELL `pwd`/$progpath --fallback-echo";; esac qecho=`$echo "X$qecho" | $Xsed -e "$sed_quote_subst"` else qecho=`$echo "X$echo" | $Xsed -e "$sed_quote_subst"` fi # Only actually do things if our run command is non-null. if test -z "$run"; then # win32 will think the script is a binary if it has # a .exe suffix, so we strip it off here. case $output in *.exe) output=`$echo $output|${SED} 's,.exe$,,'` ;; esac # test for cygwin because mv fails w/o .exe extensions case $host in *cygwin*) exeext=.exe outputname=`$echo $outputname|${SED} 's,.exe$,,'` ;; *) exeext= ;; esac case $host in *cygwin* | *mingw* ) output_name=`basename $output` output_path=`dirname $output` cwrappersource="$output_path/$objdir/lt-$output_name.c" cwrapper="$output_path/$output_name.exe" $rm $cwrappersource $cwrapper trap "$rm $cwrappersource $cwrapper; exit $EXIT_FAILURE" 1 2 15 cat > $cwrappersource <> $cwrappersource<<"EOF" #include #include #include #include #include #include #include #include #include #if defined(PATH_MAX) # define LT_PATHMAX PATH_MAX #elif defined(MAXPATHLEN) # define LT_PATHMAX MAXPATHLEN #else # define LT_PATHMAX 1024 #endif #ifndef DIR_SEPARATOR # define DIR_SEPARATOR '/' # define PATH_SEPARATOR ':' #endif #if defined (_WIN32) || defined (__MSDOS__) || defined (__DJGPP__) || \ defined (__OS2__) # define HAVE_DOS_BASED_FILE_SYSTEM # ifndef DIR_SEPARATOR_2 # define DIR_SEPARATOR_2 '\\' # endif # ifndef PATH_SEPARATOR_2 # define PATH_SEPARATOR_2 ';' # endif #endif #ifndef DIR_SEPARATOR_2 # define IS_DIR_SEPARATOR(ch) ((ch) == DIR_SEPARATOR) #else /* DIR_SEPARATOR_2 */ # define IS_DIR_SEPARATOR(ch) \ (((ch) == DIR_SEPARATOR) || ((ch) == DIR_SEPARATOR_2)) #endif /* DIR_SEPARATOR_2 */ #ifndef PATH_SEPARATOR_2 # define IS_PATH_SEPARATOR(ch) ((ch) == PATH_SEPARATOR) #else /* PATH_SEPARATOR_2 */ # define IS_PATH_SEPARATOR(ch) ((ch) == PATH_SEPARATOR_2) #endif /* PATH_SEPARATOR_2 */ #define XMALLOC(type, num) ((type *) xmalloc ((num) * sizeof(type))) #define XFREE(stale) do { \ if (stale) { free ((void *) stale); stale = 0; } \ } while (0) /* -DDEBUG is fairly common in CFLAGS. */ #undef DEBUG #if defined DEBUGWRAPPER # define DEBUG(format, ...) fprintf(stderr, format, __VA_ARGS__) #else # define DEBUG(format, ...) #endif const char *program_name = NULL; void * xmalloc (size_t num); char * xstrdup (const char *string); const char * base_name (const char *name); char * find_executable(const char *wrapper); int check_executable(const char *path); char * strendzap(char *str, const char *pat); void lt_fatal (const char *message, ...); int main (int argc, char *argv[]) { char **newargz; int i; program_name = (char *) xstrdup (base_name (argv[0])); DEBUG("(main) argv[0] : %s\n",argv[0]); DEBUG("(main) program_name : %s\n",program_name); newargz = XMALLOC(char *, argc+2); EOF cat >> $cwrappersource <> $cwrappersource <<"EOF" newargz[1] = find_executable(argv[0]); if (newargz[1] == NULL) lt_fatal("Couldn't find %s", argv[0]); DEBUG("(main) found exe at : %s\n",newargz[1]); /* we know the script has the same name, without the .exe */ /* so make sure newargz[1] doesn't end in .exe */ strendzap(newargz[1],".exe"); for (i = 1; i < argc; i++) newargz[i+1] = xstrdup(argv[i]); newargz[argc+1] = NULL; for (i=0; i> $cwrappersource <> $cwrappersource <> $cwrappersource <<"EOF" return 127; } void * xmalloc (size_t num) { void * p = (void *) malloc (num); if (!p) lt_fatal ("Memory exhausted"); return p; } char * xstrdup (const char *string) { return string ? strcpy ((char *) xmalloc (strlen (string) + 1), string) : NULL ; } const char * base_name (const char *name) { const char *base; #if defined (HAVE_DOS_BASED_FILE_SYSTEM) /* Skip over the disk name in MSDOS pathnames. */ if (isalpha ((unsigned char)name[0]) && name[1] == ':') name += 2; #endif for (base = name; *name; name++) if (IS_DIR_SEPARATOR (*name)) base = name + 1; return base; } int check_executable(const char * path) { struct stat st; DEBUG("(check_executable) : %s\n", path ? (*path ? path : "EMPTY!") : "NULL!"); if ((!path) || (!*path)) return 0; if ((stat (path, &st) >= 0) && ( /* MinGW & native WIN32 do not support S_IXOTH or S_IXGRP */ #if defined (S_IXOTH) ((st.st_mode & S_IXOTH) == S_IXOTH) || #endif #if defined (S_IXGRP) ((st.st_mode & S_IXGRP) == S_IXGRP) || #endif ((st.st_mode & S_IXUSR) == S_IXUSR)) ) return 1; else return 0; } /* Searches for the full path of the wrapper. Returns newly allocated full path name if found, NULL otherwise */ char * find_executable (const char* wrapper) { int has_slash = 0; const char* p; const char* p_next; /* static buffer for getcwd */ char tmp[LT_PATHMAX + 1]; int tmp_len; char* concat_name; DEBUG("(find_executable) : %s\n", wrapper ? (*wrapper ? wrapper : "EMPTY!") : "NULL!"); if ((wrapper == NULL) || (*wrapper == '\0')) return NULL; /* Absolute path? */ #if defined (HAVE_DOS_BASED_FILE_SYSTEM) if (isalpha ((unsigned char)wrapper[0]) && wrapper[1] == ':') { concat_name = xstrdup (wrapper); if (check_executable(concat_name)) return concat_name; XFREE(concat_name); } else { #endif if (IS_DIR_SEPARATOR (wrapper[0])) { concat_name = xstrdup (wrapper); if (check_executable(concat_name)) return concat_name; XFREE(concat_name); } #if defined (HAVE_DOS_BASED_FILE_SYSTEM) } #endif for (p = wrapper; *p; p++) if (*p == '/') { has_slash = 1; break; } if (!has_slash) { /* no slashes; search PATH */ const char* path = getenv ("PATH"); if (path != NULL) { for (p = path; *p; p = p_next) { const char* q; size_t p_len; for (q = p; *q; q++) if (IS_PATH_SEPARATOR(*q)) break; p_len = q - p; p_next = (*q == '\0' ? q : q + 1); if (p_len == 0) { /* empty path: current directory */ if (getcwd (tmp, LT_PATHMAX) == NULL) lt_fatal ("getcwd failed"); tmp_len = strlen(tmp); concat_name = XMALLOC(char, tmp_len + 1 + strlen(wrapper) + 1); memcpy (concat_name, tmp, tmp_len); concat_name[tmp_len] = '/'; strcpy (concat_name + tmp_len + 1, wrapper); } else { concat_name = XMALLOC(char, p_len + 1 + strlen(wrapper) + 1); memcpy (concat_name, p, p_len); concat_name[p_len] = '/'; strcpy (concat_name + p_len + 1, wrapper); } if (check_executable(concat_name)) return concat_name; XFREE(concat_name); } } /* not found in PATH; assume curdir */ } /* Relative path | not found in path: prepend cwd */ if (getcwd (tmp, LT_PATHMAX) == NULL) lt_fatal ("getcwd failed"); tmp_len = strlen(tmp); concat_name = XMALLOC(char, tmp_len + 1 + strlen(wrapper) + 1); memcpy (concat_name, tmp, tmp_len); concat_name[tmp_len] = '/'; strcpy (concat_name + tmp_len + 1, wrapper); if (check_executable(concat_name)) return concat_name; XFREE(concat_name); return NULL; } char * strendzap(char *str, const char *pat) { size_t len, patlen; assert(str != NULL); assert(pat != NULL); len = strlen(str); patlen = strlen(pat); if (patlen <= len) { str += len - patlen; if (strcmp(str, pat) == 0) *str = '\0'; } return str; } static void lt_error_core (int exit_status, const char * mode, const char * message, va_list ap) { fprintf (stderr, "%s: %s: ", program_name, mode); vfprintf (stderr, message, ap); fprintf (stderr, ".\n"); if (exit_status >= 0) exit (exit_status); } void lt_fatal (const char *message, ...) { va_list ap; va_start (ap, message); lt_error_core (EXIT_FAILURE, "FATAL", message, ap); va_end (ap); } EOF # we should really use a build-platform specific compiler # here, but OTOH, the wrappers (shell script and this C one) # are only useful if you want to execute the "real" binary. # Since the "real" binary is built for $host, then this # wrapper might as well be built for $host, too. $run $LTCC $LTCFLAGS -s -o $cwrapper $cwrappersource ;; esac $rm $output trap "$rm $output; exit $EXIT_FAILURE" 1 2 15 $echo > $output "\ #! $SHELL # $output - temporary wrapper script for $objdir/$outputname # Generated by $PROGRAM - GNU $PACKAGE $VERSION$TIMESTAMP # # The $output program cannot be directly executed until all the libtool # libraries that it depends on are installed. # # This wrapper script should never be moved out of the build directory. # If it is, it will not operate correctly. # Sed substitution that helps us do robust quoting. It backslashifies # metacharacters that are still active within double-quoted strings. Xsed='${SED} -e 1s/^X//' sed_quote_subst='$sed_quote_subst' # Be Bourne compatible (taken from Autoconf:_AS_BOURNE_COMPATIBLE). if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then emulate sh NULLCMD=: # Zsh 3.x and 4.x performs word splitting on \${1+\"\$@\"}, which # is contrary to our usage. Disable this feature. alias -g '\${1+\"\$@\"}'='\"\$@\"' setopt NO_GLOB_SUBST else case \`(set -o) 2>/dev/null\` in *posix*) set -o posix;; esac fi BIN_SH=xpg4; export BIN_SH # for Tru64 DUALCASE=1; export DUALCASE # for MKS sh # The HP-UX ksh and POSIX shell print the target directory to stdout # if CDPATH is set. (unset CDPATH) >/dev/null 2>&1 && unset CDPATH relink_command=\"$relink_command\" # This environment variable determines our operation mode. if test \"\$libtool_install_magic\" = \"$magic\"; then # install mode needs the following variable: notinst_deplibs='$notinst_deplibs' else # When we are sourced in execute mode, \$file and \$echo are already set. if test \"\$libtool_execute_magic\" != \"$magic\"; then echo=\"$qecho\" file=\"\$0\" # Make sure echo works. if test \"X\$1\" = X--no-reexec; then # Discard the --no-reexec flag, and continue. shift elif test \"X\`(\$echo '\t') 2>/dev/null\`\" = 'X\t'; then # Yippee, \$echo works! : else # Restart under the correct shell, and then maybe \$echo will work. exec $SHELL \"\$0\" --no-reexec \${1+\"\$@\"} fi fi\ " $echo >> $output "\ # Find the directory that this script lives in. thisdir=\`\$echo \"X\$file\" | \$Xsed -e 's%/[^/]*$%%'\` test \"x\$thisdir\" = \"x\$file\" && thisdir=. # Follow symbolic links until we get to the real thisdir. file=\`ls -ld \"\$file\" | ${SED} -n 's/.*-> //p'\` while test -n \"\$file\"; do destdir=\`\$echo \"X\$file\" | \$Xsed -e 's%/[^/]*\$%%'\` # If there was a directory component, then change thisdir. if test \"x\$destdir\" != \"x\$file\"; then case \"\$destdir\" in [\\\\/]* | [A-Za-z]:[\\\\/]*) thisdir=\"\$destdir\" ;; *) thisdir=\"\$thisdir/\$destdir\" ;; esac fi file=\`\$echo \"X\$file\" | \$Xsed -e 's%^.*/%%'\` file=\`ls -ld \"\$thisdir/\$file\" | ${SED} -n 's/.*-> //p'\` done # Try to get the absolute directory name. absdir=\`cd \"\$thisdir\" && pwd\` test -n \"\$absdir\" && thisdir=\"\$absdir\" " if test "$fast_install" = yes; then $echo >> $output "\ program=lt-'$outputname'$exeext progdir=\"\$thisdir/$objdir\" if test ! -f \"\$progdir/\$program\" || \\ { file=\`ls -1dt \"\$progdir/\$program\" \"\$progdir/../\$program\" 2>/dev/null | ${SED} 1q\`; \\ test \"X\$file\" != \"X\$progdir/\$program\"; }; then file=\"\$\$-\$program\" if test ! -d \"\$progdir\"; then $mkdir \"\$progdir\" else $rm \"\$progdir/\$file\" fi" $echo >> $output "\ # relink executable if necessary if test -n \"\$relink_command\"; then if relink_command_output=\`eval \$relink_command 2>&1\`; then : else $echo \"\$relink_command_output\" >&2 $rm \"\$progdir/\$file\" exit $EXIT_FAILURE fi fi $mv \"\$progdir/\$file\" \"\$progdir/\$program\" 2>/dev/null || { $rm \"\$progdir/\$program\"; $mv \"\$progdir/\$file\" \"\$progdir/\$program\"; } $rm \"\$progdir/\$file\" fi" else $echo >> $output "\ program='$outputname' progdir=\"\$thisdir/$objdir\" " fi $echo >> $output "\ if test -f \"\$progdir/\$program\"; then" # Export our shlibpath_var if we have one. if test "$shlibpath_overrides_runpath" = yes && test -n "$shlibpath_var" && test -n "$temp_rpath"; then $echo >> $output "\ # Add our own library path to $shlibpath_var $shlibpath_var=\"$temp_rpath\$$shlibpath_var\" # Some systems cannot cope with colon-terminated $shlibpath_var # The second colon is a workaround for a bug in BeOS R4 sed $shlibpath_var=\`\$echo \"X\$$shlibpath_var\" | \$Xsed -e 's/::*\$//'\` export $shlibpath_var " fi # fixup the dll searchpath if we need to. if test -n "$dllsearchpath"; then $echo >> $output "\ # Add the dll search path components to the executable PATH PATH=$dllsearchpath:\$PATH " fi $echo >> $output "\ if test \"\$libtool_execute_magic\" != \"$magic\"; then # Run the actual program with our arguments. " case $host in # Backslashes separate directories on plain windows *-*-mingw | *-*-os2*) $echo >> $output "\ exec \"\$progdir\\\\\$program\" \${1+\"\$@\"} " ;; *) $echo >> $output "\ exec \"\$progdir/\$program\" \${1+\"\$@\"} " ;; esac $echo >> $output "\ \$echo \"\$0: cannot exec \$program \$*\" exit $EXIT_FAILURE fi else # The program doesn't exist. \$echo \"\$0: error: \\\`\$progdir/\$program' does not exist\" 1>&2 \$echo \"This script is just a wrapper for \$program.\" 1>&2 $echo \"See the $PACKAGE documentation for more information.\" 1>&2 exit $EXIT_FAILURE fi fi\ " chmod +x $output fi exit $EXIT_SUCCESS ;; esac # See if we need to build an old-fashioned archive. for oldlib in $oldlibs; do if test "$build_libtool_libs" = convenience; then oldobjs="$libobjs_save" addlibs="$convenience" build_libtool_libs=no else if test "$build_libtool_libs" = module; then oldobjs="$libobjs_save" build_libtool_libs=no else oldobjs="$old_deplibs $non_pic_objects" fi addlibs="$old_convenience" fi if test -n "$addlibs"; then gentop="$output_objdir/${outputname}x" generated="$generated $gentop" func_extract_archives $gentop $addlibs oldobjs="$oldobjs $func_extract_archives_result" fi # Do each command in the archive commands. if test -n "$old_archive_from_new_cmds" && test "$build_libtool_libs" = yes; then cmds=$old_archive_from_new_cmds else # POSIX demands no paths to be encoded in archives. We have # to avoid creating archives with duplicate basenames if we # might have to extract them afterwards, e.g., when creating a # static archive out of a convenience library, or when linking # the entirety of a libtool archive into another (currently # not supported by libtool). if (for obj in $oldobjs do $echo "X$obj" | $Xsed -e 's%^.*/%%' done | sort | sort -uc >/dev/null 2>&1); then : else $echo "copying selected object files to avoid basename conflicts..." if test -z "$gentop"; then gentop="$output_objdir/${outputname}x" generated="$generated $gentop" $show "${rm}r $gentop" $run ${rm}r "$gentop" $show "$mkdir $gentop" $run $mkdir "$gentop" exit_status=$? if test "$exit_status" -ne 0 && test ! -d "$gentop"; then exit $exit_status fi fi save_oldobjs=$oldobjs oldobjs= counter=1 for obj in $save_oldobjs do objbase=`$echo "X$obj" | $Xsed -e 's%^.*/%%'` case " $oldobjs " in " ") oldobjs=$obj ;; *[\ /]"$objbase "*) while :; do # Make sure we don't pick an alternate name that also # overlaps. newobj=lt$counter-$objbase counter=`expr $counter + 1` case " $oldobjs " in *[\ /]"$newobj "*) ;; *) if test ! -f "$gentop/$newobj"; then break; fi ;; esac done $show "ln $obj $gentop/$newobj || cp $obj $gentop/$newobj" $run ln "$obj" "$gentop/$newobj" || $run cp "$obj" "$gentop/$newobj" oldobjs="$oldobjs $gentop/$newobj" ;; *) oldobjs="$oldobjs $obj" ;; esac done fi eval cmds=\"$old_archive_cmds\" if len=`expr "X$cmds" : ".*"` && test "$len" -le "$max_cmd_len" || test "$max_cmd_len" -le -1; then cmds=$old_archive_cmds else # the command line is too long to link in one step, link in parts $echo "using piecewise archive linking..." save_RANLIB=$RANLIB RANLIB=: objlist= concat_cmds= save_oldobjs=$oldobjs # Is there a better way of finding the last object in the list? for obj in $save_oldobjs do last_oldobj=$obj done for obj in $save_oldobjs do oldobjs="$objlist $obj" objlist="$objlist $obj" eval test_cmds=\"$old_archive_cmds\" if len=`expr "X$test_cmds" : ".*" 2>/dev/null` && test "$len" -le "$max_cmd_len"; then : else # the above command should be used before it gets too long oldobjs=$objlist if test "$obj" = "$last_oldobj" ; then RANLIB=$save_RANLIB fi test -z "$concat_cmds" || concat_cmds=$concat_cmds~ eval concat_cmds=\"\${concat_cmds}$old_archive_cmds\" objlist= fi done RANLIB=$save_RANLIB oldobjs=$objlist if test "X$oldobjs" = "X" ; then eval cmds=\"\$concat_cmds\" else eval cmds=\"\$concat_cmds~\$old_archive_cmds\" fi fi fi save_ifs="$IFS"; IFS='~' for cmd in $cmds; do eval cmd=\"$cmd\" IFS="$save_ifs" $show "$cmd" $run eval "$cmd" || exit $? done IFS="$save_ifs" done if test -n "$generated"; then $show "${rm}r$generated" $run ${rm}r$generated fi # Now create the libtool archive. case $output in *.la) old_library= test "$build_old_libs" = yes && old_library="$libname.$libext" $show "creating $output" # Preserve any variables that may affect compiler behavior for var in $variables_saved_for_relink; do if eval test -z \"\${$var+set}\"; then relink_command="{ test -z \"\${$var+set}\" || unset $var || { $var=; export $var; }; }; $relink_command" elif eval var_value=\$$var; test -z "$var_value"; then relink_command="$var=; export $var; $relink_command" else var_value=`$echo "X$var_value" | $Xsed -e "$sed_quote_subst"` relink_command="$var=\"$var_value\"; export $var; $relink_command" fi done # Quote the link command for shipping. relink_command="(cd `pwd`; $SHELL $progpath $preserve_args --mode=relink $libtool_args @inst_prefix_dir@)" relink_command=`$echo "X$relink_command" | $SP2NL | $Xsed -e "$sed_quote_subst" | $NL2SP` if test "$hardcode_automatic" = yes ; then relink_command= fi # Only create the output if not a dry run. if test -z "$run"; then for installed in no yes; do if test "$installed" = yes; then if test -z "$install_libdir"; then break fi output="$output_objdir/$outputname"i # Replace all uninstalled libtool libraries with the installed ones newdependency_libs= for deplib in $dependency_libs; do case $deplib in *.la) name=`$echo "X$deplib" | $Xsed -e 's%^.*/%%'` eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $deplib` if test -z "$libdir"; then $echo "$modename: \`$deplib' is not a valid libtool archive" 1>&2 exit $EXIT_FAILURE fi newdependency_libs="$newdependency_libs $libdir/$name" ;; *) newdependency_libs="$newdependency_libs $deplib" ;; esac done dependency_libs="$newdependency_libs" newdlfiles= for lib in $dlfiles; do name=`$echo "X$lib" | $Xsed -e 's%^.*/%%'` eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $lib` if test -z "$libdir"; then $echo "$modename: \`$lib' is not a valid libtool archive" 1>&2 exit $EXIT_FAILURE fi newdlfiles="$newdlfiles $libdir/$name" done dlfiles="$newdlfiles" newdlprefiles= for lib in $dlprefiles; do name=`$echo "X$lib" | $Xsed -e 's%^.*/%%'` eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $lib` if test -z "$libdir"; then $echo "$modename: \`$lib' is not a valid libtool archive" 1>&2 exit $EXIT_FAILURE fi newdlprefiles="$newdlprefiles $libdir/$name" done dlprefiles="$newdlprefiles" else newdlfiles= for lib in $dlfiles; do case $lib in [\\/]* | [A-Za-z]:[\\/]*) abs="$lib" ;; *) abs=`pwd`"/$lib" ;; esac newdlfiles="$newdlfiles $abs" done dlfiles="$newdlfiles" newdlprefiles= for lib in $dlprefiles; do case $lib in [\\/]* | [A-Za-z]:[\\/]*) abs="$lib" ;; *) abs=`pwd`"/$lib" ;; esac newdlprefiles="$newdlprefiles $abs" done dlprefiles="$newdlprefiles" fi $rm $output # place dlname in correct position for cygwin tdlname=$dlname case $host,$output,$installed,$module,$dlname in *cygwin*,*lai,yes,no,*.dll | *mingw*,*lai,yes,no,*.dll) tdlname=../bin/$dlname ;; esac $echo > $output "\ # $outputname - a libtool library file # Generated by $PROGRAM - GNU $PACKAGE $VERSION$TIMESTAMP # # Please DO NOT delete this file! # It is necessary for linking the library. # The name that we can dlopen(3). dlname='$tdlname' # Names of this library. library_names='$library_names' # The name of the static archive. old_library='$old_library' # Libraries that this one depends upon. dependency_libs='$dependency_libs' # Version information for $libname. current=$current age=$age revision=$revision # Is this an already installed library? installed=$installed # Should we warn about portability when linking against -modules? shouldnotlink=$module # Files to dlopen/dlpreopen dlopen='$dlfiles' dlpreopen='$dlprefiles' # Directory that this library needs to be installed in: libdir='$install_libdir'" if test "$installed" = no && test "$need_relink" = yes; then $echo >> $output "\ relink_command=\"$relink_command\"" fi done fi # Do a symbolic link so that the libtool archive can be found in # LD_LIBRARY_PATH before the program is installed. $show "(cd $output_objdir && $rm $outputname && $LN_S ../$outputname $outputname)" $run eval '(cd $output_objdir && $rm $outputname && $LN_S ../$outputname $outputname)' || exit $? ;; esac exit $EXIT_SUCCESS ;; # libtool install mode install) modename="$modename: install" # There may be an optional sh(1) argument at the beginning of # install_prog (especially on Windows NT). if test "$nonopt" = "$SHELL" || test "$nonopt" = /bin/sh || # Allow the use of GNU shtool's install command. $echo "X$nonopt" | grep shtool > /dev/null; then # Aesthetically quote it. arg=`$echo "X$nonopt" | $Xsed -e "$sed_quote_subst"` case $arg in *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") arg="\"$arg\"" ;; esac install_prog="$arg " arg="$1" shift else install_prog= arg=$nonopt fi # The real first argument should be the name of the installation program. # Aesthetically quote it. arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"` case $arg in *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") arg="\"$arg\"" ;; esac install_prog="$install_prog$arg" # We need to accept at least all the BSD install flags. dest= files= opts= prev= install_type= isdir=no stripme= for arg do if test -n "$dest"; then files="$files $dest" dest=$arg continue fi case $arg in -d) isdir=yes ;; -f) case " $install_prog " in *[\\\ /]cp\ *) ;; *) prev=$arg ;; esac ;; -g | -m | -o) prev=$arg ;; -s) stripme=" -s" continue ;; -*) ;; *) # If the previous option needed an argument, then skip it. if test -n "$prev"; then prev= else dest=$arg continue fi ;; esac # Aesthetically quote the argument. arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"` case $arg in *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") arg="\"$arg\"" ;; esac install_prog="$install_prog $arg" done if test -z "$install_prog"; then $echo "$modename: you must specify an install program" 1>&2 $echo "$help" 1>&2 exit $EXIT_FAILURE fi if test -n "$prev"; then $echo "$modename: the \`$prev' option requires an argument" 1>&2 $echo "$help" 1>&2 exit $EXIT_FAILURE fi if test -z "$files"; then if test -z "$dest"; then $echo "$modename: no file or destination specified" 1>&2 else $echo "$modename: you must specify a destination" 1>&2 fi $echo "$help" 1>&2 exit $EXIT_FAILURE fi # Strip any trailing slash from the destination. dest=`$echo "X$dest" | $Xsed -e 's%/$%%'` # Check to see that the destination is a directory. test -d "$dest" && isdir=yes if test "$isdir" = yes; then destdir="$dest" destname= else destdir=`$echo "X$dest" | $Xsed -e 's%/[^/]*$%%'` test "X$destdir" = "X$dest" && destdir=. destname=`$echo "X$dest" | $Xsed -e 's%^.*/%%'` # Not a directory, so check to see that there is only one file specified. set dummy $files if test "$#" -gt 2; then $echo "$modename: \`$dest' is not a directory" 1>&2 $echo "$help" 1>&2 exit $EXIT_FAILURE fi fi case $destdir in [\\/]* | [A-Za-z]:[\\/]*) ;; *) for file in $files; do case $file in *.lo) ;; *) $echo "$modename: \`$destdir' must be an absolute directory name" 1>&2 $echo "$help" 1>&2 exit $EXIT_FAILURE ;; esac done ;; esac # This variable tells wrapper scripts just to set variables rather # than running their programs. libtool_install_magic="$magic" staticlibs= future_libdirs= current_libdirs= for file in $files; do # Do each installation. case $file in *.$libext) # Do the static libraries later. staticlibs="$staticlibs $file" ;; *.la) # Check to see that this really is a libtool archive. if (${SED} -e '2q' $file | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then : else $echo "$modename: \`$file' is not a valid libtool archive" 1>&2 $echo "$help" 1>&2 exit $EXIT_FAILURE fi library_names= old_library= relink_command= # If there is no directory component, then add one. case $file in */* | *\\*) . $file ;; *) . ./$file ;; esac # Add the libdir to current_libdirs if it is the destination. if test "X$destdir" = "X$libdir"; then case "$current_libdirs " in *" $libdir "*) ;; *) current_libdirs="$current_libdirs $libdir" ;; esac else # Note the libdir as a future libdir. case "$future_libdirs " in *" $libdir "*) ;; *) future_libdirs="$future_libdirs $libdir" ;; esac fi dir=`$echo "X$file" | $Xsed -e 's%/[^/]*$%%'`/ test "X$dir" = "X$file/" && dir= dir="$dir$objdir" if test -n "$relink_command"; then # Determine the prefix the user has applied to our future dir. inst_prefix_dir=`$echo "$destdir" | $SED "s%$libdir\$%%"` # Don't allow the user to place us outside of our expected # location b/c this prevents finding dependent libraries that # are installed to the same prefix. # At present, this check doesn't affect windows .dll's that # are installed into $libdir/../bin (currently, that works fine) # but it's something to keep an eye on. if test "$inst_prefix_dir" = "$destdir"; then $echo "$modename: error: cannot install \`$file' to a directory not ending in $libdir" 1>&2 exit $EXIT_FAILURE fi if test -n "$inst_prefix_dir"; then # Stick the inst_prefix_dir data into the link command. relink_command=`$echo "$relink_command" | $SP2NL | $SED "s%@inst_prefix_dir@%-inst-prefix-dir $inst_prefix_dir%" | $NL2SP` else relink_command=`$echo "$relink_command" | $SP2NL | $SED "s%@inst_prefix_dir@%%" | $NL2SP` fi $echo "$modename: warning: relinking \`$file'" 1>&2 $show "$relink_command" if $run eval "$relink_command"; then : else $echo "$modename: error: relink \`$file' with the above command before installing it" 1>&2 exit $EXIT_FAILURE fi fi # See the names of the shared library. set dummy $library_names if test -n "$2"; then realname="$2" shift shift srcname="$realname" test -n "$relink_command" && srcname="$realname"T # Install the shared library and build the symlinks. $show "$install_prog $dir/$srcname $destdir/$realname" $run eval "$install_prog $dir/$srcname $destdir/$realname" || exit $? if test -n "$stripme" && test -n "$striplib"; then $show "$striplib $destdir/$realname" $run eval "$striplib $destdir/$realname" || exit $? fi if test "$#" -gt 0; then # Delete the old symlinks, and create new ones. # Try `ln -sf' first, because the `ln' binary might depend on # the symlink we replace! Solaris /bin/ln does not understand -f, # so we also need to try rm && ln -s. for linkname do if test "$linkname" != "$realname"; then $show "(cd $destdir && { $LN_S -f $realname $linkname || { $rm $linkname && $LN_S $realname $linkname; }; })" $run eval "(cd $destdir && { $LN_S -f $realname $linkname || { $rm $linkname && $LN_S $realname $linkname; }; })" fi done fi # Do each command in the postinstall commands. lib="$destdir/$realname" cmds=$postinstall_cmds save_ifs="$IFS"; IFS='~' for cmd in $cmds; do IFS="$save_ifs" eval cmd=\"$cmd\" $show "$cmd" $run eval "$cmd" || { lt_exit=$? # Restore the uninstalled library and exit if test "$mode" = relink; then $run eval '(cd $output_objdir && $rm ${realname}T && $mv ${realname}U $realname)' fi exit $lt_exit } done IFS="$save_ifs" fi # Install the pseudo-library for information purposes. name=`$echo "X$file" | $Xsed -e 's%^.*/%%'` instname="$dir/$name"i $show "$install_prog $instname $destdir/$name" $run eval "$install_prog $instname $destdir/$name" || exit $? # Maybe install the static library, too. test -n "$old_library" && staticlibs="$staticlibs $dir/$old_library" ;; *.lo) # Install (i.e. copy) a libtool object. # Figure out destination file name, if it wasn't already specified. if test -n "$destname"; then destfile="$destdir/$destname" else destfile=`$echo "X$file" | $Xsed -e 's%^.*/%%'` destfile="$destdir/$destfile" fi # Deduce the name of the destination old-style object file. case $destfile in *.lo) staticdest=`$echo "X$destfile" | $Xsed -e "$lo2o"` ;; *.$objext) staticdest="$destfile" destfile= ;; *) $echo "$modename: cannot copy a libtool object to \`$destfile'" 1>&2 $echo "$help" 1>&2 exit $EXIT_FAILURE ;; esac # Install the libtool object if requested. if test -n "$destfile"; then $show "$install_prog $file $destfile" $run eval "$install_prog $file $destfile" || exit $? fi # Install the old object if enabled. if test "$build_old_libs" = yes; then # Deduce the name of the old-style object file. staticobj=`$echo "X$file" | $Xsed -e "$lo2o"` $show "$install_prog $staticobj $staticdest" $run eval "$install_prog \$staticobj \$staticdest" || exit $? fi exit $EXIT_SUCCESS ;; *) # Figure out destination file name, if it wasn't already specified. if test -n "$destname"; then destfile="$destdir/$destname" else destfile=`$echo "X$file" | $Xsed -e 's%^.*/%%'` destfile="$destdir/$destfile" fi # If the file is missing, and there is a .exe on the end, strip it # because it is most likely a libtool script we actually want to # install stripped_ext="" case $file in *.exe) if test ! -f "$file"; then file=`$echo $file|${SED} 's,.exe$,,'` stripped_ext=".exe" fi ;; esac # Do a test to see if this is really a libtool program. case $host in *cygwin*|*mingw*) wrapper=`$echo $file | ${SED} -e 's,.exe$,,'` ;; *) wrapper=$file ;; esac if (${SED} -e '4q' $wrapper | grep "^# Generated by .*$PACKAGE")>/dev/null 2>&1; then notinst_deplibs= relink_command= # Note that it is not necessary on cygwin/mingw to append a dot to # foo even if both foo and FILE.exe exist: automatic-append-.exe # behavior happens only for exec(3), not for open(2)! Also, sourcing # `FILE.' does not work on cygwin managed mounts. # # If there is no directory component, then add one. case $wrapper in */* | *\\*) . ${wrapper} ;; *) . ./${wrapper} ;; esac # Check the variables that should have been set. if test -z "$notinst_deplibs"; then $echo "$modename: invalid libtool wrapper script \`$wrapper'" 1>&2 exit $EXIT_FAILURE fi finalize=yes for lib in $notinst_deplibs; do # Check to see that each library is installed. libdir= if test -f "$lib"; then # If there is no directory component, then add one. case $lib in */* | *\\*) . $lib ;; *) . ./$lib ;; esac fi libfile="$libdir/"`$echo "X$lib" | $Xsed -e 's%^.*/%%g'` ### testsuite: skip nested quoting test if test -n "$libdir" && test ! -f "$libfile"; then $echo "$modename: warning: \`$lib' has not been installed in \`$libdir'" 1>&2 finalize=no fi done relink_command= # Note that it is not necessary on cygwin/mingw to append a dot to # foo even if both foo and FILE.exe exist: automatic-append-.exe # behavior happens only for exec(3), not for open(2)! Also, sourcing # `FILE.' does not work on cygwin managed mounts. # # If there is no directory component, then add one. case $wrapper in */* | *\\*) . ${wrapper} ;; *) . ./${wrapper} ;; esac outputname= if test "$fast_install" = no && test -n "$relink_command"; then if test "$finalize" = yes && test -z "$run"; then tmpdir=`func_mktempdir` file=`$echo "X$file$stripped_ext" | $Xsed -e 's%^.*/%%'` outputname="$tmpdir/$file" # Replace the output file specification. relink_command=`$echo "X$relink_command" | $SP2NL | $Xsed -e 's%@OUTPUT@%'"$outputname"'%g' | $NL2SP` $show "$relink_command" if $run eval "$relink_command"; then : else $echo "$modename: error: relink \`$file' with the above command before installing it" 1>&2 ${rm}r "$tmpdir" continue fi file="$outputname" else $echo "$modename: warning: cannot relink \`$file'" 1>&2 fi else # Install the binary that we compiled earlier. file=`$echo "X$file$stripped_ext" | $Xsed -e "s%\([^/]*\)$%$objdir/\1%"` fi fi # remove .exe since cygwin /usr/bin/install will append another # one anyway case $install_prog,$host in */usr/bin/install*,*cygwin*) case $file:$destfile in *.exe:*.exe) # this is ok ;; *.exe:*) destfile=$destfile.exe ;; *:*.exe) destfile=`$echo $destfile | ${SED} -e 's,.exe$,,'` ;; esac ;; esac $show "$install_prog$stripme $file $destfile" $run eval "$install_prog\$stripme \$file \$destfile" || exit $? test -n "$outputname" && ${rm}r "$tmpdir" ;; esac done for file in $staticlibs; do name=`$echo "X$file" | $Xsed -e 's%^.*/%%'` # Set up the ranlib parameters. oldlib="$destdir/$name" $show "$install_prog $file $oldlib" $run eval "$install_prog \$file \$oldlib" || exit $? if test -n "$stripme" && test -n "$old_striplib"; then $show "$old_striplib $oldlib" $run eval "$old_striplib $oldlib" || exit $? fi # Do each command in the postinstall commands. cmds=$old_postinstall_cmds save_ifs="$IFS"; IFS='~' for cmd in $cmds; do IFS="$save_ifs" eval cmd=\"$cmd\" $show "$cmd" $run eval "$cmd" || exit $? done IFS="$save_ifs" done if test -n "$future_libdirs"; then $echo "$modename: warning: remember to run \`$progname --finish$future_libdirs'" 1>&2 fi if test -n "$current_libdirs"; then # Maybe just do a dry run. test -n "$run" && current_libdirs=" -n$current_libdirs" exec_cmd='$SHELL $progpath $preserve_args --finish$current_libdirs' else exit $EXIT_SUCCESS fi ;; # libtool finish mode finish) modename="$modename: finish" libdirs="$nonopt" admincmds= if test -n "$finish_cmds$finish_eval" && test -n "$libdirs"; then for dir do libdirs="$libdirs $dir" done for libdir in $libdirs; do if test -n "$finish_cmds"; then # Do each command in the finish commands. cmds=$finish_cmds save_ifs="$IFS"; IFS='~' for cmd in $cmds; do IFS="$save_ifs" eval cmd=\"$cmd\" $show "$cmd" $run eval "$cmd" || admincmds="$admincmds $cmd" done IFS="$save_ifs" fi if test -n "$finish_eval"; then # Do the single finish_eval. eval cmds=\"$finish_eval\" $run eval "$cmds" || admincmds="$admincmds $cmds" fi done fi # Exit here if they wanted silent mode. test "$show" = : && exit $EXIT_SUCCESS $echo "X----------------------------------------------------------------------" | $Xsed $echo "Libraries have been installed in:" for libdir in $libdirs; do $echo " $libdir" done $echo $echo "If you ever happen to want to link against installed libraries" $echo "in a given directory, LIBDIR, you must either use libtool, and" $echo "specify the full pathname of the library, or use the \`-LLIBDIR'" $echo "flag during linking and do at least one of the following:" if test -n "$shlibpath_var"; then $echo " - add LIBDIR to the \`$shlibpath_var' environment variable" $echo " during execution" fi if test -n "$runpath_var"; then $echo " - add LIBDIR to the \`$runpath_var' environment variable" $echo " during linking" fi if test -n "$hardcode_libdir_flag_spec"; then libdir=LIBDIR eval flag=\"$hardcode_libdir_flag_spec\" $echo " - use the \`$flag' linker flag" fi if test -n "$admincmds"; then $echo " - have your system administrator run these commands:$admincmds" fi if test -f /etc/ld.so.conf; then $echo " - have your system administrator add LIBDIR to \`/etc/ld.so.conf'" fi $echo $echo "See any operating system documentation about shared libraries for" $echo "more information, such as the ld(1) and ld.so(8) manual pages." $echo "X----------------------------------------------------------------------" | $Xsed exit $EXIT_SUCCESS ;; # libtool execute mode execute) modename="$modename: execute" # The first argument is the command name. cmd="$nonopt" if test -z "$cmd"; then $echo "$modename: you must specify a COMMAND" 1>&2 $echo "$help" exit $EXIT_FAILURE fi # Handle -dlopen flags immediately. for file in $execute_dlfiles; do if test ! -f "$file"; then $echo "$modename: \`$file' is not a file" 1>&2 $echo "$help" 1>&2 exit $EXIT_FAILURE fi dir= case $file in *.la) # Check to see that this really is a libtool archive. if (${SED} -e '2q' $file | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then : else $echo "$modename: \`$lib' is not a valid libtool archive" 1>&2 $echo "$help" 1>&2 exit $EXIT_FAILURE fi # Read the libtool library. dlname= library_names= # If there is no directory component, then add one. case $file in */* | *\\*) . $file ;; *) . ./$file ;; esac # Skip this library if it cannot be dlopened. if test -z "$dlname"; then # Warn if it was a shared library. test -n "$library_names" && $echo "$modename: warning: \`$file' was not linked with \`-export-dynamic'" continue fi dir=`$echo "X$file" | $Xsed -e 's%/[^/]*$%%'` test "X$dir" = "X$file" && dir=. if test -f "$dir/$objdir/$dlname"; then dir="$dir/$objdir" else if test ! -f "$dir/$dlname"; then $echo "$modename: cannot find \`$dlname' in \`$dir' or \`$dir/$objdir'" 1>&2 exit $EXIT_FAILURE fi fi ;; *.lo) # Just add the directory containing the .lo file. dir=`$echo "X$file" | $Xsed -e 's%/[^/]*$%%'` test "X$dir" = "X$file" && dir=. ;; *) $echo "$modename: warning \`-dlopen' is ignored for non-libtool libraries and objects" 1>&2 continue ;; esac # Get the absolute pathname. absdir=`cd "$dir" && pwd` test -n "$absdir" && dir="$absdir" # Now add the directory to shlibpath_var. if eval "test -z \"\$$shlibpath_var\""; then eval "$shlibpath_var=\"\$dir\"" else eval "$shlibpath_var=\"\$dir:\$$shlibpath_var\"" fi done # This variable tells wrapper scripts just to set shlibpath_var # rather than running their programs. libtool_execute_magic="$magic" # Check if any of the arguments is a wrapper script. args= for file do case $file in -*) ;; *) # Do a test to see if this is really a libtool program. if (${SED} -e '4q' $file | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then # If there is no directory component, then add one. case $file in */* | *\\*) . $file ;; *) . ./$file ;; esac # Transform arg to wrapped name. file="$progdir/$program" fi ;; esac # Quote arguments (to preserve shell metacharacters). file=`$echo "X$file" | $Xsed -e "$sed_quote_subst"` args="$args \"$file\"" done if test -z "$run"; then if test -n "$shlibpath_var"; then # Export the shlibpath_var. eval "export $shlibpath_var" fi # Restore saved environment variables for lt_var in LANG LANGUAGE LC_ALL LC_CTYPE LC_COLLATE LC_MESSAGES do eval "if test \"\${save_$lt_var+set}\" = set; then $lt_var=\$save_$lt_var; export $lt_var fi" done # Now prepare to actually exec the command. exec_cmd="\$cmd$args" else # Display what would be done. if test -n "$shlibpath_var"; then eval "\$echo \"\$shlibpath_var=\$$shlibpath_var\"" $echo "export $shlibpath_var" fi $echo "$cmd$args" exit $EXIT_SUCCESS fi ;; # libtool clean and uninstall mode clean | uninstall) modename="$modename: $mode" rm="$nonopt" files= rmforce= exit_status=0 # This variable tells wrapper scripts just to set variables rather # than running their programs. libtool_install_magic="$magic" for arg do case $arg in -f) rm="$rm $arg"; rmforce=yes ;; -*) rm="$rm $arg" ;; *) files="$files $arg" ;; esac done if test -z "$rm"; then $echo "$modename: you must specify an RM program" 1>&2 $echo "$help" 1>&2 exit $EXIT_FAILURE fi rmdirs= origobjdir="$objdir" for file in $files; do dir=`$echo "X$file" | $Xsed -e 's%/[^/]*$%%'` if test "X$dir" = "X$file"; then dir=. objdir="$origobjdir" else objdir="$dir/$origobjdir" fi name=`$echo "X$file" | $Xsed -e 's%^.*/%%'` test "$mode" = uninstall && objdir="$dir" # Remember objdir for removal later, being careful to avoid duplicates if test "$mode" = clean; then case " $rmdirs " in *" $objdir "*) ;; *) rmdirs="$rmdirs $objdir" ;; esac fi # Don't error if the file doesn't exist and rm -f was used. if (test -L "$file") >/dev/null 2>&1 \ || (test -h "$file") >/dev/null 2>&1 \ || test -f "$file"; then : elif test -d "$file"; then exit_status=1 continue elif test "$rmforce" = yes; then continue fi rmfiles="$file" case $name in *.la) # Possibly a libtool archive, so verify it. if (${SED} -e '2q' $file | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then . $dir/$name # Delete the libtool libraries and symlinks. for n in $library_names; do rmfiles="$rmfiles $objdir/$n" done test -n "$old_library" && rmfiles="$rmfiles $objdir/$old_library" case "$mode" in clean) case " $library_names " in # " " in the beginning catches empty $dlname *" $dlname "*) ;; *) rmfiles="$rmfiles $objdir/$dlname" ;; esac test -n "$libdir" && rmfiles="$rmfiles $objdir/$name $objdir/${name}i" ;; uninstall) if test -n "$library_names"; then # Do each command in the postuninstall commands. cmds=$postuninstall_cmds save_ifs="$IFS"; IFS='~' for cmd in $cmds; do IFS="$save_ifs" eval cmd=\"$cmd\" $show "$cmd" $run eval "$cmd" if test "$?" -ne 0 && test "$rmforce" != yes; then exit_status=1 fi done IFS="$save_ifs" fi if test -n "$old_library"; then # Do each command in the old_postuninstall commands. cmds=$old_postuninstall_cmds save_ifs="$IFS"; IFS='~' for cmd in $cmds; do IFS="$save_ifs" eval cmd=\"$cmd\" $show "$cmd" $run eval "$cmd" if test "$?" -ne 0 && test "$rmforce" != yes; then exit_status=1 fi done IFS="$save_ifs" fi # FIXME: should reinstall the best remaining shared library. ;; esac fi ;; *.lo) # Possibly a libtool object, so verify it. if (${SED} -e '2q' $file | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then # Read the .lo file . $dir/$name # Add PIC object to the list of files to remove. if test -n "$pic_object" \ && test "$pic_object" != none; then rmfiles="$rmfiles $dir/$pic_object" fi # Add non-PIC object to the list of files to remove. if test -n "$non_pic_object" \ && test "$non_pic_object" != none; then rmfiles="$rmfiles $dir/$non_pic_object" fi fi ;; *) if test "$mode" = clean ; then noexename=$name case $file in *.exe) file=`$echo $file|${SED} 's,.exe$,,'` noexename=`$echo $name|${SED} 's,.exe$,,'` # $file with .exe has already been added to rmfiles, # add $file without .exe rmfiles="$rmfiles $file" ;; esac # Do a test to see if this is a libtool program. if (${SED} -e '4q' $file | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then relink_command= . $dir/$noexename # note $name still contains .exe if it was in $file originally # as does the version of $file that was added into $rmfiles rmfiles="$rmfiles $objdir/$name $objdir/${name}S.${objext}" if test "$fast_install" = yes && test -n "$relink_command"; then rmfiles="$rmfiles $objdir/lt-$name" fi if test "X$noexename" != "X$name" ; then rmfiles="$rmfiles $objdir/lt-${noexename}.c" fi fi fi ;; esac $show "$rm $rmfiles" $run $rm $rmfiles || exit_status=1 done objdir="$origobjdir" # Try to remove the ${objdir}s in the directories where we deleted files for dir in $rmdirs; do if test -d "$dir"; then $show "rmdir $dir" $run rmdir $dir >/dev/null 2>&1 fi done exit $exit_status ;; "") $echo "$modename: you must specify a MODE" 1>&2 $echo "$generic_help" 1>&2 exit $EXIT_FAILURE ;; esac if test -z "$exec_cmd"; then $echo "$modename: invalid operation mode \`$mode'" 1>&2 $echo "$generic_help" 1>&2 exit $EXIT_FAILURE fi fi # test -z "$show_help" if test -n "$exec_cmd"; then eval exec $exec_cmd exit $EXIT_FAILURE fi # We need to display help for each of the modes. case $mode in "") $echo \ "Usage: $modename [OPTION]... [MODE-ARG]... Provide generalized library-building support services. --config show all configuration variables --debug enable verbose shell tracing -n, --dry-run display commands without modifying any files --features display basic configuration information and exit --finish same as \`--mode=finish' --help display this help message and exit --mode=MODE use operation mode MODE [default=inferred from MODE-ARGS] --quiet same as \`--silent' --silent don't print informational messages --tag=TAG use configuration variables from tag TAG --version print version information MODE must be one of the following: clean remove files from the build directory compile compile a source file into a libtool object execute automatically set library path, then run a program finish complete the installation of libtool libraries install install libraries or executables link create a library or an executable uninstall remove libraries from an installed directory MODE-ARGS vary depending on the MODE. Try \`$modename --help --mode=MODE' for a more detailed description of MODE. Report bugs to ." exit $EXIT_SUCCESS ;; clean) $echo \ "Usage: $modename [OPTION]... --mode=clean RM [RM-OPTION]... FILE... Remove files from the build directory. RM is the name of the program to use to delete files associated with each FILE (typically \`/bin/rm'). RM-OPTIONS are options (such as \`-f') to be passed to RM. If FILE is a libtool library, object or program, all the files associated with it are deleted. Otherwise, only FILE itself is deleted using RM." ;; compile) $echo \ "Usage: $modename [OPTION]... --mode=compile COMPILE-COMMAND... SOURCEFILE Compile a source file into a libtool library object. This mode accepts the following additional options: -o OUTPUT-FILE set the output file name to OUTPUT-FILE -prefer-pic try to building PIC objects only -prefer-non-pic try to building non-PIC objects only -static always build a \`.o' file suitable for static linking COMPILE-COMMAND is a command to be used in creating a \`standard' object file from the given SOURCEFILE. The output file name is determined by removing the directory component from SOURCEFILE, then substituting the C source code suffix \`.c' with the library object suffix, \`.lo'." ;; execute) $echo \ "Usage: $modename [OPTION]... --mode=execute COMMAND [ARGS]... Automatically set library path, then run a program. This mode accepts the following additional options: -dlopen FILE add the directory containing FILE to the library path This mode sets the library path environment variable according to \`-dlopen' flags. If any of the ARGS are libtool executable wrappers, then they are translated into their corresponding uninstalled binary, and any of their required library directories are added to the library path. Then, COMMAND is executed, with ARGS as arguments." ;; finish) $echo \ "Usage: $modename [OPTION]... --mode=finish [LIBDIR]... Complete the installation of libtool libraries. Each LIBDIR is a directory that contains libtool libraries. The commands that this mode executes may require superuser privileges. Use the \`--dry-run' option if you just want to see what would be executed." ;; install) $echo \ "Usage: $modename [OPTION]... --mode=install INSTALL-COMMAND... Install executables or libraries. INSTALL-COMMAND is the installation command. The first component should be either the \`install' or \`cp' program. The rest of the components are interpreted as arguments to that command (only BSD-compatible install options are recognized)." ;; link) $echo \ "Usage: $modename [OPTION]... --mode=link LINK-COMMAND... Link object files or libraries together to form another library, or to create an executable program. LINK-COMMAND is a command using the C compiler that you would use to create a program from several object files. The following components of LINK-COMMAND are treated specially: -all-static do not do any dynamic linking at all -avoid-version do not add a version suffix if possible -dlopen FILE \`-dlpreopen' FILE if it cannot be dlopened at runtime -dlpreopen FILE link in FILE and add its symbols to lt_preloaded_symbols -export-dynamic allow symbols from OUTPUT-FILE to be resolved with dlsym(3) -export-symbols SYMFILE try to export only the symbols listed in SYMFILE -export-symbols-regex REGEX try to export only the symbols matching REGEX -LLIBDIR search LIBDIR for required installed libraries -lNAME OUTPUT-FILE requires the installed library libNAME -module build a library that can dlopened -no-fast-install disable the fast-install mode -no-install link a not-installable executable -no-undefined declare that a library does not refer to external symbols -o OUTPUT-FILE create OUTPUT-FILE from the specified objects -objectlist FILE Use a list of object files found in FILE to specify objects -precious-files-regex REGEX don't remove output files matching REGEX -release RELEASE specify package release information -rpath LIBDIR the created library will eventually be installed in LIBDIR -R[ ]LIBDIR add LIBDIR to the runtime path of programs and libraries -static do not do any dynamic linking of uninstalled libtool libraries -static-libtool-libs do not do any dynamic linking of libtool libraries -version-info CURRENT[:REVISION[:AGE]] specify library version info [each variable defaults to 0] All other options (arguments beginning with \`-') are ignored. Every other argument is treated as a filename. Files ending in \`.la' are treated as uninstalled libtool libraries, other files are standard or library object files. If the OUTPUT-FILE ends in \`.la', then a libtool library is created, only library objects (\`.lo' files) may be specified, and \`-rpath' is required, except when creating a convenience library. If OUTPUT-FILE ends in \`.a' or \`.lib', then a standard library is created using \`ar' and \`ranlib', or on Windows using \`lib'. If OUTPUT-FILE ends in \`.lo' or \`.${objext}', then a reloadable object file is created, otherwise an executable program is created." ;; uninstall) $echo \ "Usage: $modename [OPTION]... --mode=uninstall RM [RM-OPTION]... FILE... Remove libraries from an installation directory. RM is the name of the program to use to delete files associated with each FILE (typically \`/bin/rm'). RM-OPTIONS are options (such as \`-f') to be passed to RM. If FILE is a libtool library, all the files associated with it are deleted. Otherwise, only FILE itself is deleted using RM." ;; *) $echo "$modename: invalid operation mode \`$mode'" 1>&2 $echo "$help" 1>&2 exit $EXIT_FAILURE ;; esac $echo $echo "Try \`$modename --help' for more information about other modes." exit $? # The TAGs below are defined such that we never get into a situation # in which we disable both kinds of libraries. Given conflicting # choices, we go for a static library, that is the most portable, # since we can't tell whether shared libraries were disabled because # the user asked for that or because the platform doesn't support # them. This is particularly important on AIX, because we don't # support having both static and shared libraries enabled at the same # time on that platform, so we default to a shared-only configuration. # If a disable-shared tag is given, we'll fallback to a static-only # configuration. But we'll never go from static-only to shared-only. # ### BEGIN LIBTOOL TAG CONFIG: disable-shared disable_libs=shared # ### END LIBTOOL TAG CONFIG: disable-shared # ### BEGIN LIBTOOL TAG CONFIG: disable-static disable_libs=static # ### END LIBTOOL TAG CONFIG: disable-static # Local Variables: # mode:shell-script # sh-indentation:2 # End: passepartout-0.7.1/missing000077500000000000000000000255771140125232500156630ustar00rootroot00000000000000#! /bin/sh # Common stub for a few missing GNU programs while installing. scriptversion=2006-05-10.23 # Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005, 2006 # Free Software Foundation, Inc. # Originally by Fran,cois Pinard , 1996. # 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, 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., 51 Franklin Street, Fifth Floor, Boston, MA # 02110-1301, USA. # As a special exception to the GNU General Public License, if you # distribute this file as part of a program that contains a # configuration script generated by Autoconf, you may include it under # the same distribution terms that you use for the rest of that program. if test $# -eq 0; then echo 1>&2 "Try \`$0 --help' for more information" exit 1 fi run=: sed_output='s/.* --output[ =]\([^ ]*\).*/\1/p' sed_minuso='s/.* -o \([^ ]*\).*/\1/p' # In the cases where this matters, `missing' is being run in the # srcdir already. if test -f configure.ac; then configure_ac=configure.ac else configure_ac=configure.in fi msg="missing on your system" case $1 in --run) # Try to run requested program, and just exit if it succeeds. run= shift "$@" && exit 0 # Exit code 63 means version mismatch. This often happens # when the user try to use an ancient version of a tool on # a file that requires a minimum version. In this case we # we should proceed has if the program had been absent, or # if --run hadn't been passed. if test $? = 63; then run=: msg="probably too old" fi ;; -h|--h|--he|--hel|--help) echo "\ $0 [OPTION]... PROGRAM [ARGUMENT]... Handle \`PROGRAM [ARGUMENT]...' for when PROGRAM is missing, or return an error status if there is no known handling for PROGRAM. Options: -h, --help display this help and exit -v, --version output version information and exit --run try to run the given command, and emulate it if it fails Supported PROGRAM values: aclocal touch file \`aclocal.m4' autoconf touch file \`configure' autoheader touch file \`config.h.in' autom4te touch the output file, or create a stub one automake touch all \`Makefile.in' files bison create \`y.tab.[ch]', if possible, from existing .[ch] flex create \`lex.yy.c', if possible, from existing .c help2man touch the output file lex create \`lex.yy.c', if possible, from existing .c makeinfo touch the output file tar try tar, gnutar, gtar, then tar without non-portable flags yacc create \`y.tab.[ch]', if possible, from existing .[ch] Send bug reports to ." exit $? ;; -v|--v|--ve|--ver|--vers|--versi|--versio|--version) echo "missing $scriptversion (GNU Automake)" exit $? ;; -*) echo 1>&2 "$0: Unknown \`$1' option" echo 1>&2 "Try \`$0 --help' for more information" exit 1 ;; esac # Now exit if we have it, but it failed. Also exit now if we # don't have it and --version was passed (most likely to detect # the program). case $1 in lex|yacc) # Not GNU programs, they don't have --version. ;; tar) if test -n "$run"; then echo 1>&2 "ERROR: \`tar' requires --run" exit 1 elif test "x$2" = "x--version" || test "x$2" = "x--help"; then exit 1 fi ;; *) if test -z "$run" && ($1 --version) > /dev/null 2>&1; then # We have it, but it failed. exit 1 elif test "x$2" = "x--version" || test "x$2" = "x--help"; then # Could not run --version or --help. This is probably someone # running `$TOOL --version' or `$TOOL --help' to check whether # $TOOL exists and not knowing $TOOL uses missing. exit 1 fi ;; esac # If it does not exist, or fails to run (possibly an outdated version), # try to emulate it. case $1 in aclocal*) echo 1>&2 "\ WARNING: \`$1' is $msg. You should only need it if you modified \`acinclude.m4' or \`${configure_ac}'. You might want to install the \`Automake' and \`Perl' packages. Grab them from any GNU archive site." touch aclocal.m4 ;; autoconf) echo 1>&2 "\ WARNING: \`$1' is $msg. You should only need it if you modified \`${configure_ac}'. You might want to install the \`Autoconf' and \`GNU m4' packages. Grab them from any GNU archive site." touch configure ;; autoheader) echo 1>&2 "\ WARNING: \`$1' is $msg. You should only need it if you modified \`acconfig.h' or \`${configure_ac}'. You might want to install the \`Autoconf' and \`GNU m4' packages. Grab them from any GNU archive site." files=`sed -n 's/^[ ]*A[CM]_CONFIG_HEADER(\([^)]*\)).*/\1/p' ${configure_ac}` test -z "$files" && files="config.h" touch_files= for f in $files; do case $f in *:*) touch_files="$touch_files "`echo "$f" | sed -e 's/^[^:]*://' -e 's/:.*//'`;; *) touch_files="$touch_files $f.in";; esac done touch $touch_files ;; automake*) echo 1>&2 "\ WARNING: \`$1' is $msg. You should only need it if you modified \`Makefile.am', \`acinclude.m4' or \`${configure_ac}'. You might want to install the \`Automake' and \`Perl' packages. Grab them from any GNU archive site." find . -type f -name Makefile.am -print | sed 's/\.am$/.in/' | while read f; do touch "$f"; done ;; autom4te) echo 1>&2 "\ WARNING: \`$1' is needed, but is $msg. You might have modified some files without having the proper tools for further handling them. You can get \`$1' as part of \`Autoconf' from any GNU archive site." file=`echo "$*" | sed -n "$sed_output"` test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"` if test -f "$file"; then touch $file else test -z "$file" || exec >$file echo "#! /bin/sh" echo "# Created by GNU Automake missing as a replacement of" echo "# $ $@" echo "exit 0" chmod +x $file exit 1 fi ;; bison|yacc) echo 1>&2 "\ WARNING: \`$1' $msg. You should only need it if you modified a \`.y' file. You may need the \`Bison' package in order for those modifications to take effect. You can get \`Bison' from any GNU archive site." rm -f y.tab.c y.tab.h if test $# -ne 1; then eval LASTARG="\${$#}" case $LASTARG in *.y) SRCFILE=`echo "$LASTARG" | sed 's/y$/c/'` if test -f "$SRCFILE"; then cp "$SRCFILE" y.tab.c fi SRCFILE=`echo "$LASTARG" | sed 's/y$/h/'` if test -f "$SRCFILE"; then cp "$SRCFILE" y.tab.h fi ;; esac fi if test ! -f y.tab.h; then echo >y.tab.h fi if test ! -f y.tab.c; then echo 'main() { return 0; }' >y.tab.c fi ;; lex|flex) echo 1>&2 "\ WARNING: \`$1' is $msg. You should only need it if you modified a \`.l' file. You may need the \`Flex' package in order for those modifications to take effect. You can get \`Flex' from any GNU archive site." rm -f lex.yy.c if test $# -ne 1; then eval LASTARG="\${$#}" case $LASTARG in *.l) SRCFILE=`echo "$LASTARG" | sed 's/l$/c/'` if test -f "$SRCFILE"; then cp "$SRCFILE" lex.yy.c fi ;; esac fi if test ! -f lex.yy.c; then echo 'main() { return 0; }' >lex.yy.c fi ;; help2man) echo 1>&2 "\ WARNING: \`$1' is $msg. You should only need it if you modified a dependency of a manual page. You may need the \`Help2man' package in order for those modifications to take effect. You can get \`Help2man' from any GNU archive site." file=`echo "$*" | sed -n "$sed_output"` test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"` if test -f "$file"; then touch $file else test -z "$file" || exec >$file echo ".ab help2man is required to generate this page" exit 1 fi ;; makeinfo) echo 1>&2 "\ WARNING: \`$1' is $msg. You should only need it if you modified a \`.texi' or \`.texinfo' file, or any other file indirectly affecting the aspect of the manual. The spurious call might also be the consequence of using a buggy \`make' (AIX, DU, IRIX). You might want to install the \`Texinfo' package or the \`GNU make' package. Grab either from any GNU archive site." # The file to touch is that specified with -o ... file=`echo "$*" | sed -n "$sed_output"` test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"` if test -z "$file"; then # ... or it is the one specified with @setfilename ... infile=`echo "$*" | sed 's/.* \([^ ]*\) *$/\1/'` file=`sed -n ' /^@setfilename/{ s/.* \([^ ]*\) *$/\1/ p q }' $infile` # ... or it is derived from the source name (dir/f.texi becomes f.info) test -z "$file" && file=`echo "$infile" | sed 's,.*/,,;s,.[^.]*$,,'`.info fi # If the file does not exist, the user really needs makeinfo; # let's fail without touching anything. test -f $file || exit 1 touch $file ;; tar) shift # We have already tried tar in the generic part. # Look for gnutar/gtar before invocation to avoid ugly error # messages. if (gnutar --version > /dev/null 2>&1); then gnutar "$@" && exit 0 fi if (gtar --version > /dev/null 2>&1); then gtar "$@" && exit 0 fi firstarg="$1" if shift; then case $firstarg in *o*) firstarg=`echo "$firstarg" | sed s/o//` tar "$firstarg" "$@" && exit 0 ;; esac case $firstarg in *h*) firstarg=`echo "$firstarg" | sed s/h//` tar "$firstarg" "$@" && exit 0 ;; esac fi echo 1>&2 "\ WARNING: I can't seem to be able to run \`tar' with the given arguments. You may want to install GNU tar or Free paxutils, or check the command line arguments." exit 1 ;; *) echo 1>&2 "\ WARNING: \`$1' is needed, and is $msg. You might have modified some files without having the proper tools for further handling them. Check the \`README' file, it often tells you about the needed prerequisites for installing this package. You may also peek at any GNU archive site, in case some other package would contain this missing \`$1' program." exit 1 ;; esac exit 0 # Local variables: # eval: (add-hook 'write-file-hooks 'time-stamp) # time-stamp-start: "scriptversion=" # time-stamp-format: "%:y-%02m-%02d.%02H" # time-stamp-end: "$" # End: passepartout-0.7.1/mkinstalldirs000077500000000000000000000066471140125232500170670ustar00rootroot00000000000000#! /bin/sh # mkinstalldirs --- make directory hierarchy scriptversion=2006-05-11.19 # Original author: Noah Friedman # Created: 1993-05-16 # Public domain. # # This file is maintained in Automake, please report # bugs to or send patches to # . nl=' ' IFS=" "" $nl" errstatus=0 dirmode= usage="\ Usage: mkinstalldirs [-h] [--help] [--version] [-m MODE] DIR ... Create each directory DIR (with mode MODE, if specified), including all leading file name components. Report bugs to ." # process command line arguments while test $# -gt 0 ; do case $1 in -h | --help | --h*) # -h for help echo "$usage" exit $? ;; -m) # -m PERM arg shift test $# -eq 0 && { echo "$usage" 1>&2; exit 1; } dirmode=$1 shift ;; --version) echo "$0 $scriptversion" exit $? ;; --) # stop option processing shift break ;; -*) # unknown option echo "$usage" 1>&2 exit 1 ;; *) # first non-opt arg break ;; esac done for file do if test -d "$file"; then shift else break fi done case $# in 0) exit 0 ;; esac # Solaris 8's mkdir -p isn't thread-safe. If you mkdir -p a/b and # mkdir -p a/c at the same time, both will detect that a is missing, # one will create a, then the other will try to create a and die with # a "File exists" error. This is a problem when calling mkinstalldirs # from a parallel make. We use --version in the probe to restrict # ourselves to GNU mkdir, which is thread-safe. case $dirmode in '') if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then echo "mkdir -p -- $*" exec mkdir -p -- "$@" else # On NextStep and OpenStep, the `mkdir' command does not # recognize any option. It will interpret all options as # directories to create, and then abort because `.' already # exists. test -d ./-p && rmdir ./-p test -d ./--version && rmdir ./--version fi ;; *) if mkdir -m "$dirmode" -p --version . >/dev/null 2>&1 && test ! -d ./--version; then echo "mkdir -m $dirmode -p -- $*" exec mkdir -m "$dirmode" -p -- "$@" else # Clean up after NextStep and OpenStep mkdir. for d in ./-m ./-p ./--version "./$dirmode"; do test -d $d && rmdir $d done fi ;; esac for file do case $file in /*) pathcomp=/ ;; *) pathcomp= ;; esac oIFS=$IFS IFS=/ set fnord $file shift IFS=$oIFS for d do test "x$d" = x && continue pathcomp=$pathcomp$d case $pathcomp in -*) pathcomp=./$pathcomp ;; esac if test ! -d "$pathcomp"; then echo "mkdir $pathcomp" mkdir "$pathcomp" || lasterr=$? if test ! -d "$pathcomp"; then errstatus=$lasterr else if test ! -z "$dirmode"; then echo "chmod $dirmode $pathcomp" lasterr= chmod "$dirmode" "$pathcomp" || lasterr=$? if test ! -z "$lasterr"; then errstatus=$lasterr fi fi fi fi pathcomp=$pathcomp/ done done exit $errstatus # Local Variables: # mode: shell-script # sh-indentation: 2 # eval: (add-hook 'write-file-hooks 'time-stamp) # time-stamp-start: "scriptversion=" # time-stamp-format: "%:y-%02m-%02d.%02H" # time-stamp-end: "$" # End: passepartout-0.7.1/src/000077500000000000000000000000001140125232500150335ustar00rootroot00000000000000passepartout-0.7.1/src/Makefile.am000066400000000000000000000000571140125232500170710ustar00rootroot00000000000000SUBDIRS = testbed util fonts ps xml2ps pptout passepartout-0.7.1/src/Makefile.in000066400000000000000000000347431140125232500171130ustar00rootroot00000000000000# Makefile.in generated by automake 1.10.1 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, # 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ VPATH = @srcdir@ pkgdatadir = $(datadir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : subdir = src DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \ $(srcdir)/defines.h.in ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs CONFIG_HEADER = defines.h CONFIG_CLEAN_FILES = SOURCES = DIST_SOURCES = RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \ html-recursive info-recursive install-data-recursive \ install-dvi-recursive install-exec-recursive \ install-html-recursive install-info-recursive \ install-pdf-recursive install-ps-recursive install-recursive \ installcheck-recursive installdirs-recursive pdf-recursive \ ps-recursive uninstall-recursive RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \ distclean-recursive maintainer-clean-recursive ETAGS = etags CTAGS = ctags DIST_SUBDIRS = $(SUBDIRS) DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ AMTAR = @AMTAR@ APPLY_RPATH = @APPLY_RPATH@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CXX = @CXX@ CXXDEPMODE = @CXXDEPMODE@ CXXFLAGS = @CXXFLAGS@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ FREETYPE_CFLAGS = @FREETYPE_CFLAGS@ FREETYPE_LIBS = @FREETYPE_LIBS@ GNOMECANVAS_CFLAGS = @GNOMECANVAS_CFLAGS@ GNOMECANVAS_LIBS = @GNOMECANVAS_LIBS@ GNOMEVFS_CFLAGS = @GNOMEVFS_CFLAGS@ GNOMEVFS_LIBS = @GNOMEVFS_LIBS@ GNOME_CFLAGS = @GNOME_CFLAGS@ GNOME_LIBS = @GNOME_LIBS@ GREP = @GREP@ GTHREAD_CFLAGS = @GTHREAD_CFLAGS@ GTHREAD_LIBS = @GTHREAD_LIBS@ GTKMM_CFLAGS = @GTKMM_CFLAGS@ GTKMM_LIBS = @GTKMM_LIBS@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ LDFLAGS = @LDFLAGS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LTLIBOBJS = @LTLIBOBJS@ MAKEINFO = @MAKEINFO@ MKDIR_P = @MKDIR_P@ OBJEXT = @OBJEXT@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ RANLIB = @RANLIB@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ VERSION = @VERSION@ XMLPP_CFLAGS = @XMLPP_CFLAGS@ XMLPP_LIBS = @XMLPP_LIBS@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ ac_ct_CC = @ac_ct_CC@ ac_ct_CXX = @ac_ct_CXX@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build_alias = @build_alias@ builddir = @builddir@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host_alias = @host_alias@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ xmldir = @xmldir@ SUBDIRS = testbed util fonts ps xml2ps pptout all: defines.h $(MAKE) $(AM_MAKEFLAGS) all-recursive .SUFFIXES: $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ && exit 0; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign src/Makefile'; \ cd $(top_srcdir) && \ $(AUTOMAKE) --foreign src/Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh defines.h: stamp-h1 @if test ! -f $@; then \ rm -f stamp-h1; \ $(MAKE) $(AM_MAKEFLAGS) stamp-h1; \ else :; fi stamp-h1: $(srcdir)/defines.h.in $(top_builddir)/config.status @rm -f stamp-h1 cd $(top_builddir) && $(SHELL) ./config.status src/defines.h $(srcdir)/defines.h.in: $(am__configure_deps) cd $(top_srcdir) && $(AUTOHEADER) rm -f stamp-h1 touch $@ distclean-hdr: -rm -f defines.h stamp-h1 # This directory's subdirectories are mostly independent; you can cd # into them and run `make' without going through this Makefile. # To change the values of `make' variables: instead of editing Makefiles, # (1) if the variable is set in `config.status', edit `config.status' # (which will cause the Makefiles to be regenerated when you run `make'); # (2) otherwise, pass the desired values on the `make' command line. $(RECURSIVE_TARGETS): @failcom='exit 1'; \ for f in x $$MAKEFLAGS; do \ case $$f in \ *=* | --[!k]*);; \ *k*) failcom='fail=yes';; \ esac; \ done; \ dot_seen=no; \ target=`echo $@ | sed s/-recursive//`; \ list='$(SUBDIRS)'; for subdir in $$list; do \ echo "Making $$target in $$subdir"; \ if test "$$subdir" = "."; then \ dot_seen=yes; \ local_target="$$target-am"; \ else \ local_target="$$target"; \ fi; \ (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ || eval $$failcom; \ done; \ if test "$$dot_seen" = "no"; then \ $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ fi; test -z "$$fail" $(RECURSIVE_CLEAN_TARGETS): @failcom='exit 1'; \ for f in x $$MAKEFLAGS; do \ case $$f in \ *=* | --[!k]*);; \ *k*) failcom='fail=yes';; \ esac; \ done; \ dot_seen=no; \ case "$@" in \ distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ *) list='$(SUBDIRS)' ;; \ esac; \ rev=''; for subdir in $$list; do \ if test "$$subdir" = "."; then :; else \ rev="$$subdir $$rev"; \ fi; \ done; \ rev="$$rev ."; \ target=`echo $@ | sed s/-recursive//`; \ for subdir in $$rev; do \ echo "Making $$target in $$subdir"; \ if test "$$subdir" = "."; then \ local_target="$$target-am"; \ else \ local_target="$$target"; \ fi; \ (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ || eval $$failcom; \ done && test -z "$$fail" tags-recursive: list='$(SUBDIRS)'; for subdir in $$list; do \ test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \ done ctags-recursive: list='$(SUBDIRS)'; for subdir in $$list; do \ test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \ done ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \ END { if (nonempty) { for (i in files) print i; }; }'`; \ mkid -fID $$unique tags: TAGS TAGS: tags-recursive $(HEADERS) $(SOURCES) defines.h.in $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) tags=; \ here=`pwd`; \ if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ include_option=--etags-include; \ empty_fix=.; \ else \ include_option=--include; \ empty_fix=; \ fi; \ list='$(SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ test ! -f $$subdir/TAGS || \ tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \ fi; \ done; \ list='$(SOURCES) $(HEADERS) defines.h.in $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in files) print i; }; }'`; \ if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ $$tags $$unique; \ fi ctags: CTAGS CTAGS: ctags-recursive $(HEADERS) $(SOURCES) defines.h.in $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) tags=; \ list='$(SOURCES) $(HEADERS) defines.h.in $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in files) print i; }; }'`; \ test -z "$(CTAGS_ARGS)$$tags$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$tags $$unique GTAGS: here=`$(am__cd) $(top_builddir) && pwd` \ && cd $(top_srcdir) \ && gtags -i $(GTAGS_ARGS) $$here distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ fi; \ cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ else \ test -f $(distdir)/$$file \ || cp -p $$d/$$file $(distdir)/$$file \ || exit 1; \ fi; \ done list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ test -d "$(distdir)/$$subdir" \ || $(MKDIR_P) "$(distdir)/$$subdir" \ || exit 1; \ distdir=`$(am__cd) $(distdir) && pwd`; \ top_distdir=`$(am__cd) $(top_distdir) && pwd`; \ (cd $$subdir && \ $(MAKE) $(AM_MAKEFLAGS) \ top_distdir="$$top_distdir" \ distdir="$$distdir/$$subdir" \ am__remove_distdir=: \ am__skip_length_check=: \ distdir) \ || exit 1; \ fi; \ done check-am: all-am check: check-recursive all-am: Makefile defines.h installdirs: installdirs-recursive installdirs-am: install: install-recursive install-exec: install-exec-recursive install-data: install-data-recursive uninstall: uninstall-recursive install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-recursive install-strip: $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ `test -z '$(STRIP)' || \ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install mostlyclean-generic: clean-generic: distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-recursive clean-am: clean-generic mostlyclean-am distclean: distclean-recursive -rm -f Makefile distclean-am: clean-am distclean-generic distclean-hdr distclean-tags dvi: dvi-recursive dvi-am: html: html-recursive info: info-recursive info-am: install-data-am: install-dvi: install-dvi-recursive install-exec-am: install-html: install-html-recursive install-info: install-info-recursive install-man: install-pdf: install-pdf-recursive install-ps: install-ps-recursive installcheck-am: maintainer-clean: maintainer-clean-recursive -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-recursive mostlyclean-am: mostlyclean-generic pdf: pdf-recursive pdf-am: ps: ps-recursive ps-am: uninstall-am: .MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) install-am \ install-strip .PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \ all all-am check check-am clean clean-generic ctags \ ctags-recursive distclean distclean-generic distclean-hdr \ distclean-tags distdir dvi dvi-am html html-am info info-am \ install install-am install-data install-data-am install-dvi \ install-dvi-am install-exec install-exec-am install-html \ install-html-am install-info install-info-am install-man \ install-pdf install-pdf-am install-ps install-ps-am \ install-strip installcheck installcheck-am installdirs \ installdirs-am maintainer-clean maintainer-clean-generic \ mostlyclean mostlyclean-generic pdf pdf-am ps ps-am tags \ tags-recursive uninstall uninstall-am # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: passepartout-0.7.1/src/defines.h.in000066400000000000000000000056201140125232500172310ustar00rootroot00000000000000/* src/defines.h.in. Generated from configure.ac by autoheader. */ /* Define to 1 if you have the header file, and it defines `DIR'. */ #undef HAVE_DIRENT_H /* Define to 1 if you have the `fork' function. */ #undef HAVE_FORK /* Gnome is present */ #undef HAVE_GNOME /* Define to 1 if you have the header file. */ #undef HAVE_INTTYPES_H /* Define to 1 if you have the `fam' library (-lfam). */ #undef HAVE_LIBFAM /* Define to 1 if you have the header file. */ #undef HAVE_MEMORY_H /* Define to 1 if you have the `mkdtemp' function. */ #undef HAVE_MKDTEMP /* Define to 1 if you have the header file, and it defines `DIR'. */ #undef HAVE_NDIR_H /* Define to 1 if you have the `realpath' function. */ #undef HAVE_REALPATH /* Define to 1 if `stat' has the bug that it succeeds when given the zero-length file name argument. */ #undef HAVE_STAT_EMPTY_STRING_BUG /* Define to 1 if you have the header file. */ #undef HAVE_STDINT_H /* Define to 1 if you have the header file. */ #undef HAVE_STDLIB_H /* Define to 1 if you have the `strdup' function. */ #undef HAVE_STRDUP /* Define to 1 if you have the header file. */ #undef HAVE_STRINGS_H /* Define to 1 if you have the header file. */ #undef HAVE_STRING_H /* Define to 1 if you have the header file, and it defines `DIR'. */ #undef HAVE_SYS_DIR_H /* Define to 1 if you have the header file, and it defines `DIR'. */ #undef HAVE_SYS_NDIR_H /* Define to 1 if you have the header file. */ #undef HAVE_SYS_STAT_H /* Define to 1 if you have the header file. */ #undef HAVE_SYS_TYPES_H /* Define to 1 if you have the header file. */ #undef HAVE_UNISTD_H /* Define to 1 if you have the `vfork' function. */ #undef HAVE_VFORK /* Define to 1 if you have the header file. */ #undef HAVE_VFORK_H /* Define to 1 if `fork' works. */ #undef HAVE_WORKING_FORK /* Define to 1 if `vfork' works. */ #undef HAVE_WORKING_VFORK /* Define to 1 if `lstat' dereferences a symlink specified with a trailing slash. */ #undef LSTAT_FOLLOWS_SLASHED_SYMLINK /* Name of package */ #undef PACKAGE /* Define to the address where bug reports for this package should be sent. */ #undef PACKAGE_BUGREPORT /* Define to the full name of this package. */ #undef PACKAGE_NAME /* Define to the full name and version of this package. */ #undef PACKAGE_STRING /* Define to the one symbol short name of this package. */ #undef PACKAGE_TARNAME /* Define to the version of this package. */ #undef PACKAGE_VERSION /* Define to 1 if you have the ANSI C header files. */ #undef STDC_HEADERS /* Version number of package */ #undef VERSION /* Define to `int' if does not define. */ #undef pid_t /* Define to `unsigned int' if does not define. */ #undef size_t /* Define as `fork' if `vfork' does not work. */ #undef vfork passepartout-0.7.1/src/fonts/000077500000000000000000000000001140125232500161645ustar00rootroot00000000000000passepartout-0.7.1/src/fonts/Makefile.am000066400000000000000000000005551140125232500202250ustar00rootroot00000000000000noinst_LIBRARIES = libfonts.a dist_noinst_HEADERS = fontinfo.hh fontmanager.hh fontmetrics.hh afm.hh \ freetype.hh libfonts_a_SOURCES = fontinfo.cc fontmanager.cc afm.cc freetype.cc libfonts_a_CXXFLAGS = -I$(top_srcdir)/src # for Glib::ustring libfonts_a_CXXFLAGS += $(GTKMM_CFLAGS) $(FREETYPE_CFLAGS) #libfonts_a_LIBADD = $(top_srcdir)/src/util/libpptutil.apassepartout-0.7.1/src/fonts/Makefile.in000066400000000000000000000473171140125232500202450ustar00rootroot00000000000000# Makefile.in generated by automake 1.10.1 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, # 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ VPATH = @srcdir@ pkgdatadir = $(datadir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : subdir = src/fonts DIST_COMMON = $(dist_noinst_HEADERS) $(srcdir)/Makefile.am \ $(srcdir)/Makefile.in ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs CONFIG_HEADER = $(top_builddir)/src/defines.h CONFIG_CLEAN_FILES = LIBRARIES = $(noinst_LIBRARIES) AR = ar ARFLAGS = cru libfonts_a_AR = $(AR) $(ARFLAGS) libfonts_a_LIBADD = am_libfonts_a_OBJECTS = libfonts_a-fontinfo.$(OBJEXT) \ libfonts_a-fontmanager.$(OBJEXT) libfonts_a-afm.$(OBJEXT) \ libfonts_a-freetype.$(OBJEXT) libfonts_a_OBJECTS = $(am_libfonts_a_OBJECTS) DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)/src depcomp = $(SHELL) $(top_srcdir)/depcomp am__depfiles_maybe = depfiles CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) CXXLD = $(CXX) CXXLINK = $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(AM_LDFLAGS) $(LDFLAGS) \ -o $@ SOURCES = $(libfonts_a_SOURCES) DIST_SOURCES = $(libfonts_a_SOURCES) HEADERS = $(dist_noinst_HEADERS) ETAGS = etags CTAGS = ctags DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ AMTAR = @AMTAR@ APPLY_RPATH = @APPLY_RPATH@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CXX = @CXX@ CXXDEPMODE = @CXXDEPMODE@ CXXFLAGS = @CXXFLAGS@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ FREETYPE_CFLAGS = @FREETYPE_CFLAGS@ FREETYPE_LIBS = @FREETYPE_LIBS@ GNOMECANVAS_CFLAGS = @GNOMECANVAS_CFLAGS@ GNOMECANVAS_LIBS = @GNOMECANVAS_LIBS@ GNOMEVFS_CFLAGS = @GNOMEVFS_CFLAGS@ GNOMEVFS_LIBS = @GNOMEVFS_LIBS@ GNOME_CFLAGS = @GNOME_CFLAGS@ GNOME_LIBS = @GNOME_LIBS@ GREP = @GREP@ GTHREAD_CFLAGS = @GTHREAD_CFLAGS@ GTHREAD_LIBS = @GTHREAD_LIBS@ GTKMM_CFLAGS = @GTKMM_CFLAGS@ GTKMM_LIBS = @GTKMM_LIBS@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ LDFLAGS = @LDFLAGS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LTLIBOBJS = @LTLIBOBJS@ MAKEINFO = @MAKEINFO@ MKDIR_P = @MKDIR_P@ OBJEXT = @OBJEXT@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ RANLIB = @RANLIB@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ VERSION = @VERSION@ XMLPP_CFLAGS = @XMLPP_CFLAGS@ XMLPP_LIBS = @XMLPP_LIBS@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ ac_ct_CC = @ac_ct_CC@ ac_ct_CXX = @ac_ct_CXX@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build_alias = @build_alias@ builddir = @builddir@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host_alias = @host_alias@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ xmldir = @xmldir@ noinst_LIBRARIES = libfonts.a dist_noinst_HEADERS = fontinfo.hh fontmanager.hh fontmetrics.hh afm.hh \ freetype.hh libfonts_a_SOURCES = fontinfo.cc fontmanager.cc afm.cc freetype.cc # for Glib::ustring libfonts_a_CXXFLAGS = -I$(top_srcdir)/src $(GTKMM_CFLAGS) \ $(FREETYPE_CFLAGS) all: all-am .SUFFIXES: .SUFFIXES: .cc .o .obj $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ && exit 0; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign src/fonts/Makefile'; \ cd $(top_srcdir) && \ $(AUTOMAKE) --foreign src/fonts/Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh clean-noinstLIBRARIES: -test -z "$(noinst_LIBRARIES)" || rm -f $(noinst_LIBRARIES) libfonts.a: $(libfonts_a_OBJECTS) $(libfonts_a_DEPENDENCIES) -rm -f libfonts.a $(libfonts_a_AR) libfonts.a $(libfonts_a_OBJECTS) $(libfonts_a_LIBADD) $(RANLIB) libfonts.a mostlyclean-compile: -rm -f *.$(OBJEXT) distclean-compile: -rm -f *.tab.c @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libfonts_a-afm.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libfonts_a-fontinfo.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libfonts_a-fontmanager.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libfonts_a-freetype.Po@am__quote@ .cc.o: @am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< @am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ $< .cc.obj: @am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` @am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'` libfonts_a-fontinfo.o: fontinfo.cc @am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libfonts_a_CXXFLAGS) $(CXXFLAGS) -MT libfonts_a-fontinfo.o -MD -MP -MF $(DEPDIR)/libfonts_a-fontinfo.Tpo -c -o libfonts_a-fontinfo.o `test -f 'fontinfo.cc' || echo '$(srcdir)/'`fontinfo.cc @am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/libfonts_a-fontinfo.Tpo $(DEPDIR)/libfonts_a-fontinfo.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='fontinfo.cc' object='libfonts_a-fontinfo.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libfonts_a_CXXFLAGS) $(CXXFLAGS) -c -o libfonts_a-fontinfo.o `test -f 'fontinfo.cc' || echo '$(srcdir)/'`fontinfo.cc libfonts_a-fontinfo.obj: fontinfo.cc @am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libfonts_a_CXXFLAGS) $(CXXFLAGS) -MT libfonts_a-fontinfo.obj -MD -MP -MF $(DEPDIR)/libfonts_a-fontinfo.Tpo -c -o libfonts_a-fontinfo.obj `if test -f 'fontinfo.cc'; then $(CYGPATH_W) 'fontinfo.cc'; else $(CYGPATH_W) '$(srcdir)/fontinfo.cc'; fi` @am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/libfonts_a-fontinfo.Tpo $(DEPDIR)/libfonts_a-fontinfo.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='fontinfo.cc' object='libfonts_a-fontinfo.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libfonts_a_CXXFLAGS) $(CXXFLAGS) -c -o libfonts_a-fontinfo.obj `if test -f 'fontinfo.cc'; then $(CYGPATH_W) 'fontinfo.cc'; else $(CYGPATH_W) '$(srcdir)/fontinfo.cc'; fi` libfonts_a-fontmanager.o: fontmanager.cc @am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libfonts_a_CXXFLAGS) $(CXXFLAGS) -MT libfonts_a-fontmanager.o -MD -MP -MF $(DEPDIR)/libfonts_a-fontmanager.Tpo -c -o libfonts_a-fontmanager.o `test -f 'fontmanager.cc' || echo '$(srcdir)/'`fontmanager.cc @am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/libfonts_a-fontmanager.Tpo $(DEPDIR)/libfonts_a-fontmanager.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='fontmanager.cc' object='libfonts_a-fontmanager.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libfonts_a_CXXFLAGS) $(CXXFLAGS) -c -o libfonts_a-fontmanager.o `test -f 'fontmanager.cc' || echo '$(srcdir)/'`fontmanager.cc libfonts_a-fontmanager.obj: fontmanager.cc @am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libfonts_a_CXXFLAGS) $(CXXFLAGS) -MT libfonts_a-fontmanager.obj -MD -MP -MF $(DEPDIR)/libfonts_a-fontmanager.Tpo -c -o libfonts_a-fontmanager.obj `if test -f 'fontmanager.cc'; then $(CYGPATH_W) 'fontmanager.cc'; else $(CYGPATH_W) '$(srcdir)/fontmanager.cc'; fi` @am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/libfonts_a-fontmanager.Tpo $(DEPDIR)/libfonts_a-fontmanager.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='fontmanager.cc' object='libfonts_a-fontmanager.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libfonts_a_CXXFLAGS) $(CXXFLAGS) -c -o libfonts_a-fontmanager.obj `if test -f 'fontmanager.cc'; then $(CYGPATH_W) 'fontmanager.cc'; else $(CYGPATH_W) '$(srcdir)/fontmanager.cc'; fi` libfonts_a-afm.o: afm.cc @am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libfonts_a_CXXFLAGS) $(CXXFLAGS) -MT libfonts_a-afm.o -MD -MP -MF $(DEPDIR)/libfonts_a-afm.Tpo -c -o libfonts_a-afm.o `test -f 'afm.cc' || echo '$(srcdir)/'`afm.cc @am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/libfonts_a-afm.Tpo $(DEPDIR)/libfonts_a-afm.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='afm.cc' object='libfonts_a-afm.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libfonts_a_CXXFLAGS) $(CXXFLAGS) -c -o libfonts_a-afm.o `test -f 'afm.cc' || echo '$(srcdir)/'`afm.cc libfonts_a-afm.obj: afm.cc @am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libfonts_a_CXXFLAGS) $(CXXFLAGS) -MT libfonts_a-afm.obj -MD -MP -MF $(DEPDIR)/libfonts_a-afm.Tpo -c -o libfonts_a-afm.obj `if test -f 'afm.cc'; then $(CYGPATH_W) 'afm.cc'; else $(CYGPATH_W) '$(srcdir)/afm.cc'; fi` @am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/libfonts_a-afm.Tpo $(DEPDIR)/libfonts_a-afm.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='afm.cc' object='libfonts_a-afm.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libfonts_a_CXXFLAGS) $(CXXFLAGS) -c -o libfonts_a-afm.obj `if test -f 'afm.cc'; then $(CYGPATH_W) 'afm.cc'; else $(CYGPATH_W) '$(srcdir)/afm.cc'; fi` libfonts_a-freetype.o: freetype.cc @am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libfonts_a_CXXFLAGS) $(CXXFLAGS) -MT libfonts_a-freetype.o -MD -MP -MF $(DEPDIR)/libfonts_a-freetype.Tpo -c -o libfonts_a-freetype.o `test -f 'freetype.cc' || echo '$(srcdir)/'`freetype.cc @am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/libfonts_a-freetype.Tpo $(DEPDIR)/libfonts_a-freetype.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='freetype.cc' object='libfonts_a-freetype.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libfonts_a_CXXFLAGS) $(CXXFLAGS) -c -o libfonts_a-freetype.o `test -f 'freetype.cc' || echo '$(srcdir)/'`freetype.cc libfonts_a-freetype.obj: freetype.cc @am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libfonts_a_CXXFLAGS) $(CXXFLAGS) -MT libfonts_a-freetype.obj -MD -MP -MF $(DEPDIR)/libfonts_a-freetype.Tpo -c -o libfonts_a-freetype.obj `if test -f 'freetype.cc'; then $(CYGPATH_W) 'freetype.cc'; else $(CYGPATH_W) '$(srcdir)/freetype.cc'; fi` @am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/libfonts_a-freetype.Tpo $(DEPDIR)/libfonts_a-freetype.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='freetype.cc' object='libfonts_a-freetype.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libfonts_a_CXXFLAGS) $(CXXFLAGS) -c -o libfonts_a-freetype.obj `if test -f 'freetype.cc'; then $(CYGPATH_W) 'freetype.cc'; else $(CYGPATH_W) '$(srcdir)/freetype.cc'; fi` ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \ END { if (nonempty) { for (i in files) print i; }; }'`; \ mkid -fID $$unique tags: TAGS TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) tags=; \ here=`pwd`; \ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in files) print i; }; }'`; \ if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ $$tags $$unique; \ fi ctags: CTAGS CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) tags=; \ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in files) print i; }; }'`; \ test -z "$(CTAGS_ARGS)$$tags$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$tags $$unique GTAGS: here=`$(am__cd) $(top_builddir) && pwd` \ && cd $(top_srcdir) \ && gtags -i $(GTAGS_ARGS) $$here distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ fi; \ cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ else \ test -f $(distdir)/$$file \ || cp -p $$d/$$file $(distdir)/$$file \ || exit 1; \ fi; \ done check-am: all-am check: check-am all-am: Makefile $(LIBRARIES) $(HEADERS) installdirs: install: install-am install-exec: install-exec-am install-data: install-data-am uninstall: uninstall-am install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-am install-strip: $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ `test -z '$(STRIP)' || \ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install mostlyclean-generic: clean-generic: distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-am clean-am: clean-generic clean-noinstLIBRARIES mostlyclean-am distclean: distclean-am -rm -rf ./$(DEPDIR) -rm -f Makefile distclean-am: clean-am distclean-compile distclean-generic \ distclean-tags dvi: dvi-am dvi-am: html: html-am info: info-am info-am: install-data-am: install-dvi: install-dvi-am install-exec-am: install-html: install-html-am install-info: install-info-am install-man: install-pdf: install-pdf-am install-ps: install-ps-am installcheck-am: maintainer-clean: maintainer-clean-am -rm -rf ./$(DEPDIR) -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am mostlyclean-am: mostlyclean-compile mostlyclean-generic pdf: pdf-am pdf-am: ps: ps-am ps-am: uninstall-am: .MAKE: install-am install-strip .PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \ clean-noinstLIBRARIES ctags distclean distclean-compile \ distclean-generic distclean-tags distdir dvi dvi-am html \ html-am info info-am install install-am install-data \ install-data-am install-dvi install-dvi-am install-exec \ install-exec-am install-html install-html-am install-info \ install-info-am install-man install-pdf install-pdf-am \ install-ps install-ps-am install-strip installcheck \ installcheck-am installdirs maintainer-clean \ maintainer-clean-generic mostlyclean mostlyclean-compile \ mostlyclean-generic pdf pdf-am ps ps-am tags uninstall \ uninstall-am #libfonts_a_LIBADD = $(top_srcdir)/src/util/libpptutil.a # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: passepartout-0.7.1/src/fonts/afm.cc000066400000000000000000000114041140125232500172360ustar00rootroot00000000000000/// // Copyright (C) 2002 - 2004, Fredrik Arnerup & Rasmus Kaj, See COPYING /// #include "afm.hh" #include #include #include #include #include #include "ps/unicode.h" #include "util/warning.h" #include "util/stringutil.h" using std::string; class font::AFMetrics::GlyphData { public: void addGlyph(string name, float width) { Glib::ustring chars = PS::Unicode::chars_of_glyph(name, true); if(chars.size() == 1) glyphs[chars[0]] = Glyph(name, width); } bool hasGlyph(const string &glyphname) const { // This is pretty inefficient for(Glyphs::const_iterator i = glyphs.begin(); i != glyphs.end(); i++) { if(i->second.name == glyphname) return true; } return false; } string getGlyphName(const Glib::ustring &chars) const { if(chars.length() != 1) return string(); Glyphs::const_iterator i = glyphs.find(chars[0]); if(i == glyphs.end()) return string(); return i->second.name; } float getWidth(gunichar c) const { using Glib::ustring; Glyphs::const_iterator i = glyphs.find(c); if(i != glyphs.end()) { return i->second.width; } else { if(c == 160 /* non-breaking space */) return getWidth(32 /* plain space */); std::string msg("No width found for char #" + tostr(int(c))); verbose << msg << std::endl; throw std::runtime_error(msg); } } private: struct Glyph { Glyph() {} // for the benefit of std::map Glyph(string _name, float _width) : name(_name), width(_width) {} string name; float width; }; // typedef std::map Glyphs; typedef std::map Glyphs; Glyphs glyphs; }; font::AFMetrics::AFMetrics(const std::string &filename) :ascender(0), descender(0), underline_position(0), underline_thickness(0), cap_height(0), x_height(0), italic_angle(0) { glyphdata = new GlyphData(); std::ifstream source(filename.c_str()); if(!source) throw std::runtime_error("Failed to open " + filename); string key; source >> key; if(key != "StartFontMetrics") throw std::runtime_error(filename + " is not an AFM"); source >> key; // ignore version number while(source >> key) { if(key == "Comment"); // ignore the comment! else if(key == "Descender") { source >> descender; descender *= -0.001; // Metrics use neg values here, I want // positive. } else if(key == "Ascender") { source >> ascender; ascender *= 0.001; } else if(key == "CapHeight") { source >> cap_height; cap_height *= 0.001; } else if(key == "XHeight") { source >> x_height; x_height *= 0.001; } else if(key == "UnderlinePosition") { source >> underline_position; underline_position *= 0.001; } else if(key == "UnderlineThickness") { source >> underline_thickness; underline_thickness *= 0.001; } else if(key == "FontBBox") { source >> bbox[0] >> bbox[1] >> bbox[2] >> bbox[3]; if(ascender == 0.0) ascender = bbox[3] * 0.001; if(descender == 0.0) descender = bbox[1] * -0.001; if(cap_height == 0.0) cap_height = bbox[3] * 0.001; } else if(key == "ItalicAngle") { source >> italic_angle; } else if(key == "C") { int ch; float wx; string s1, t1, s2, t2, entity, s3; source >> ch >> s1 >> t1 >> wx >> s2 >> t2 >> entity >> s3; #ifdef DEBUG_LOG cerr << "Find '" << entity << "' ... "; #endif glyphdata->addGlyph(entity, wx * 0.001); #ifdef DEBUG_LOG cerr << " found " << ch << "!\n"; #endif } else if(key == "FontName") { source >> ps_name; } else if(key == "FullName") { safe_getline(source, name); name = strip_whitespace(name); } source.ignore(std::numeric_limits::max(), '\n'); } } font::AFMetrics::~AFMetrics() { delete glyphdata; } float font::AFMetrics::getWidth(const Glib::ustring &str) const { float result = 0; for(Glib::ustring::const_iterator i = str.begin(); i != str.end(); i++) { try { result += glyphdata->getWidth(*i); /// \todo multichar glyphs } catch(...) { /// \todo report the error somehow, but dismissing a whole /// string just because a single character is broken is no good result += 0.625; // reasonable default? } } return result; } bool font::AFMetrics::hasGlyph(const string &glyphname) const { return glyphdata->hasGlyph(glyphname); } string font::AFMetrics::getGlyphName(const Glib::ustring &chars) const { return glyphdata->getGlyphName(chars); } #ifdef DEBUG_FONTMETRICS main(int argc, char **argv) { if(argc != 3) { cerr << "Wrong no of args. (" << argc << ")\n"; exit(2); } font::AFMetrics afm(argv[1]); cout << "Width of '" << argv[2] << "' is: " << afm.getWidth(argv[2]); } #endif passepartout-0.7.1/src/fonts/afm.hh000066400000000000000000000026461140125232500172600ustar00rootroot00000000000000#ifndef PP_AFM_HH // -*- c++ -*- #define PP_AFM_HH /// // Copyright (C) 2002 - 2004, Fredrik Arnerup & Rasmus Kaj, See COPYING /// #include #include #include "fontmetrics.hh" namespace font { class AFMetrics: public Metrics { public: AFMetrics(const std::string &filename); ~AFMetrics(); std::string getName() const { return name; } std::string getPostscriptName() const { return ps_name; } float getWidth(const Glib::ustring &str) const; float getAscender() const { return ascender; } float getDescender() const { return descender; } float getExHeight() const { return x_height; } float getCapHeight() const { return cap_height; } float getUnderlinePos() const { return underline_position; } float getUnderlineThickness() const { return underline_thickness; } float getItalicAngle() const { return italic_angle; } bool hasGlyph(const std::string &glyphname) const; std::string getGlyphName(const Glib::ustring &chars) const; int getBBox(int idx) const { /* assert(0<=idx<4); */ return bbox[idx]; } private: float ascender, descender; float underline_position, underline_thickness; float cap_height, x_height, italic_angle; int bbox[4]; std::string name, ps_name; class GlyphData; GlyphData* glyphdata; AFMetrics(); AFMetrics(const AFMetrics&); void operator = (const AFMetrics&); }; } #endif passepartout-0.7.1/src/fonts/fontinfo.cc000066400000000000000000000012731140125232500203200ustar00rootroot00000000000000/// // Copyright (C) 2002 - 2004, Fredrik Arnerup & Rasmus Kaj, See COPYING /// #include "fontinfo.hh" #include "fontmanager.hh" std::string font::FontInfo::getRealName() const { return FontManager::instance().unalias(name); } font::FontInfo::FontInfo(const std::string& n, float s, float spacing) : name(n), metrics(FontManager::instance().getFont(n)), size(s), letter_spacing(spacing) {} font::FontInfo font::FontInfo::WidenFont(const FontInfo& orig, const float& widen) { FontInfo result(orig); result.letter_spacing += widen; return result; } float font::FontInfo::getWidth(const Glib::ustring& s) const { return metrics.getWidth(s) * size + letter_spacing * s.length(); } passepartout-0.7.1/src/fonts/fontinfo.hh000066400000000000000000000030761140125232500203350ustar00rootroot00000000000000#ifndef PP_FONTINFO_HH // -*- c++ -*- #define PP_FONTINFO_HH /// // Copyright (C) 2002 - 2004, Fredrik Arnerup & Rasmus Kaj, See COPYING /// #include #include #include #include "fontmetrics.hh" namespace font { struct FontInfo { typedef std::string string; FontInfo(const std::string& n, float s, float spacing = 0); FontInfo(const std::string& n, const font::Metrics& m, float s) : name(n), metrics(m), size(s) {} static FontInfo WidenFont(const FontInfo &orig, const float &widen); const std::string& getName() const { return name; } std::string getRealName() const; // no alias const float& getSize() const { return size; } const float& getLetterSpacing() const { return letter_spacing; } bool hasGlyph(const std::string &glyphname) const { return metrics.hasGlyph(glyphname); } std::string getGlyphName(const Glib::ustring &chars) const { return metrics.getGlyphName(chars); } float getWidth(const Glib::ustring& s) const; float getAscender() const { return metrics.getAscender() * size; } float getDescender() const { return metrics.getDescender() * size; } float getUnderlinePos() const { return metrics.getUnderlinePos()* size; } float getUnderlineThickness() const { return metrics.getUnderlineThickness() * size; } const Metrics& getMetrics() const { return metrics; } private: const std::string name; const font::Metrics &metrics; float size, letter_spacing; }; typedef std::set Fonts; }; #endif passepartout-0.7.1/src/fonts/fontmanager.cc000066400000000000000000000242071140125232500210010ustar00rootroot00000000000000/// // Copyright (C) 2002 - 2004, Fredrik Arnerup & Rasmus Kaj, See COPYING /// #include "fontmanager.hh" #include #include #include #include #include "afm.hh" #include "freetype.hh" #include "util/stringutil.h" #include "util/filesys.h" #include "util/warning.h" font::FontManager* font::FontManager::_instance = 0; // StaticMutex can, unlike regular Mutex, be created before the call // to thread_init Glib::StaticMutex font::FontManager::mutex = GLIBMM_STATIC_MUTEX_INIT; font::FontManager& font::FontManager::instance() { // prevent two threads from creating the instance at once Glib::Mutex::Lock lock(mutex); if(!_instance) _instance = new FontManager(); return *_instance; } namespace { /// \note FcConfigGetFontDirs could be used to get a list of paths, /// but it would include paths for fonts formats other than TrueType /// or Type1 void addPath(font::FontManager::FontPaths &fontpaths, const std::string &filename) { fontpaths.insert(path(filename)); } } namespace font { FontManager::FontManager() { // Ghostscript replacements for Adobe fonts: fontAlias("Bookman-Demi", "URWBookmanL-DemiBold"); fontAlias("Bookman-DemiItalic", "URWBookmanL-DemiBoldItal"); fontAlias("Bookman-Light", "URWBookmanL-Ligh"); fontAlias("Bookman-LightItalic", "URWBookmanL-LighItal"); fontAlias("Courier", "NimbusMonL-Regu"); fontAlias("Courier-Oblique", "NimbusMonL-ReguObli"); fontAlias("Courier-Bold", "NimbusMonL-Bold"); fontAlias("Courier-BoldOblique", "NimbusMonL-BoldObli"); fontAlias("Times-Roman", "NimbusRomNo9L-Regu"); fontAlias("Times-Italic", "NimbusRomNo9L-ReguItal"); fontAlias("Times-Bold", "NimbusRomNo9L-Medi"); fontAlias("Times-BoldItalic", "NimbusRomNo9L-MediItal"); fontAlias("Helvetica", "NimbusSanL-Regu"); fontAlias("Helvetica-Oblique", "NimbusSanL-ReguItal"); fontAlias("Helvetica-Bold", "NimbusSanL-Bold"); fontAlias("Helvetica-BoldOblique", "NimbusSanL-Regu"); fontAlias("Helvetica-Narrow", "NimbusSanL-ReguCond"); fontAlias("Helvetica-Narrow-Oblique", "NimbusSanL-ReguCondItal"); fontAlias("Helvetica-Narrow-Bold", "NimbusSanL-BoldCond"); fontAlias("Helvetica-Narrow-BoldOblique", "NimbusSanL-ReguCond"); fontAlias("Palatino-Roman", "URWPalladioL-Roma"); fontAlias("Palatino-Italic", "URWPalladioL-Ital"); fontAlias("Palatino-Bold", "URWPalladioL-Bold"); fontAlias("Palatino-BoldItalic", "URWPalladioL-BoldItal"); fontAlias("AvantGarde-Book", "URWGothicL-Book"); fontAlias("AvantGarde-BookOblique", "URWGothicL-BookObli"); fontAlias("AvantGarde-Demi", "URWGothicL-Demi"); fontAlias("AvantGarde-DemiOblique", "URWGothicL-DemiObli"); fontAlias("NewCenturySchlbk-Roman", "CenturySchL-Roma"); fontAlias("NewCenturySchlbk-Italic", "CenturySchL-Ital"); fontAlias("NewCenturySchlbk-Bold", "CenturySchL-Bold"); fontAlias("NewCenturySchlbk-BoldItalic","CenturySchL-BoldItal"); fontAlias("Symbol", "StandardSymL"); fontAlias("ZapfChancery-MediumItalic", "URWChanceryL-MediItal"); fontAlias("ZapfDingbats", "Dingbats"); // read font list from fontconfig // mostly following the procedure in fc-list.c if(!FcInit()) throw std::runtime_error("Failed to initialize fontconfig"); FcPattern *pat = FcPatternCreate(); FcObjectSet *os = FcObjectSetBuild(FC_FILE, 0); FcFontSet *fs = FcFontList(0, pat, os); if(os) FcObjectSetDestroy(os); if(pat) FcPatternDestroy(pat); if(fs) { for(int i = 0; i < fs->nfont; i++) { FcChar8 *_filename; if(FcPatternGetString(fs->fonts[i], FC_FILE, 0, &_filename) == FcResultMatch) { std::string filename(reinterpret_cast(_filename)); std::string ext = suffix(filename); try { if(ext == "pfa" // || ext == "gsf" || ext == "pfb") { // Type 1 // if there is no AFM file, don't bother std::string afmfilename = no_suffix(filename) + ".afm"; if(std::ifstream(afmfilename.c_str())) { checkOutType1(filename); checkOutAFM(afmfilename); // make sure it is in the path list addPath(fontpaths, filename); } } else if(ext == "ttf") { // TrueType checkOutTrueType(filename); // make sure it is in the path list addPath(fontpaths, filename); } // else ignore } catch(const std::exception &e) { warning << e.what() << std::endl; } } } FcFontSetDestroy(fs); } else { warning << "Didn't get any fonts from fontconfig" << std::endl; } } using std::string; /// \todo should we really allow more than one font to /// have the same alias? string FontManager::unalias(const string &fontname, bool recursive) const { FontAliases::const_iterator i = fontaliases.find(fontname); if(i == fontaliases.end()) return fontname; else if(recursive) return unalias(i->second); // recursive aliases possible else return i->second; } void FontManager::fontAlias(const string &alias, const string &fontname) { fontaliases.insert(std::make_pair(alias, fontname)); } FontManager::FontNames FontManager::getAvailableFonts() const { FontNames fontnames; for(FontFiles::const_iterator i = fontfiles.begin(); i != fontfiles.end(); i++) fontnames.insert(i->first); return fontnames; } void FontManager::reportFonts(std::ostream &out) const { using std::endl; out << "Fonts:" << endl; for(FontFiles::const_iterator i = fontfiles.begin(); i != fontfiles.end(); i++) out << "\t Name: " << i->first << endl << "\tMetrics: " << i->second.first << endl << "\t File: " << i->second.second << endl << endl; out << endl << "Aliases:" << endl; for(FontAliases::const_iterator i = fontaliases.begin(); i != fontaliases.end(); i++) out << "\t" << i->first << ": " << i->second << endl; } namespace { /** A getline that strips whitespace. */ std::istream &getline_nows(std::istream &in, std::string &line) { std::istream &tmp = safe_getline(in, line); line = strip_whitespace(line); return tmp; } } void FontManager::checkOutTrueType(const string &filename) { FTMetrics font(filename); std::string fontname = font.getPostscriptName(); if(fontname.empty()) throw std::runtime_error("The font does not have a PostScript name"); FontFiles::iterator i = fontfiles.find(fontname); // TrueType doesn't have a separate metrics file if(i == fontfiles.end()) fontfiles[fontname] = std::make_pair(filename, filename); } void FontManager::checkOutAFM(const string &filename) { // we could use an AFMetrics object instead, but the constructor is // rather slow std::ifstream in(filename.c_str()); if(!in) throw FontError("Failed to open " + filename); string tmp; getline_nows(in, tmp); if(!starts_with(tmp, "StartFontMetrics")) throw FontError(filename + " is not an AFM"); while(getline_nows(in, tmp)) if(starts_with(tmp, "FontName")) { string fontname(strip_whitespace(tmp.substr(9), true, true)); FontFiles::iterator i = fontfiles.find(fontname); if(i == fontfiles.end()) fontfiles[fontname] = std::make_pair(filename, string()); else if(i->second.first.empty()) // don't overwrite i->second.first = filename; return; } throw FontError(" has no FontName"); } void FontManager::checkOutType1(const string &filename) { std::ifstream in(filename.c_str()); if(!in) throw FontError("Failed to open " + filename); string tmp; getline_nows(in, tmp); while(in && !starts_with(tmp, "/FontName")) getline_nows(in, tmp); if(starts_with(tmp, "/FontName")) { string fontname(tmp.substr(tmp.find('/', 1) + 1)); fontname = fontname.substr(0, fontname.find(' ')); FontFiles::iterator i = fontfiles.find(fontname); if(i == fontfiles.end()) fontfiles[fontname] = std::make_pair(string(), filename); else if(i->second.second.empty() || (suffix(filename) == "pfa" && suffix(i->second.second) == "pfb")) // prefer pfa over pfb i->second.second = filename; } else { throw FontError(filename + " has no FontName"); } } FontManager::FilePair FontManager::getFontFiles(const string &fontname) const { FontFiles::const_iterator i = fontfiles.find(fontname); string filename; if(i != fontfiles.end()) return std::make_pair(i->second.first, i->second.second); else { FontAliases::const_iterator l = fontaliases.lower_bound(fontname); FontAliases::const_iterator u = fontaliases.upper_bound(fontname); while(l != u){ try { return getFontFiles(l->second); } catch(FontError&) {} l++; } } throw FontError("No font files found for " + fontname); } void FontManager::loadFont(const string &fontname) { if(metrics_map.find(fontname) != metrics_map.end()) throw FontError("Font metrics for " + fontname + " have already been loaded"); const string filename(getFontFiles(fontname).first); std::ifstream metricsfile(filename.c_str()); if(!metricsfile) throw FontError("Font metrics file " + filename + " not found for " + fontname); std::auto_ptr metrics; const string suff = suffix(filename); if(suff == "afm") metrics.reset(new font::AFMetrics(filename)); else if(suff == "ttf") metrics.reset(new font::FTMetrics(filename)); else throw FontError("\"" + suff + "\" is not a known font metrics suffix"); metrics_map[fontname] = metrics.release(); } const font::Metrics& FontManager::getFont(const string &fontname){ MetricsMap::const_iterator i = metrics_map.find(fontname); if(i == metrics_map.end()) { loadFont(fontname); i = metrics_map.find(fontname); if(i == metrics_map.end()) // should never happen, but doesn't hurt throw FontError("No font metrics found for " + fontname); } return *i->second; } } passepartout-0.7.1/src/fonts/fontmanager.hh000066400000000000000000000047101140125232500210100ustar00rootroot00000000000000#ifndef PP_FONTMANAGER_HH // -*- c++ -*- #define PP_FONTMANAGER_HH /// // Copyright (C) 2002 - 2004, Fredrik Arnerup & Rasmus Kaj, See COPYING /// #include #include #include #include #include #include "fontmetrics.hh" namespace font { struct FontError: public std::runtime_error { FontError(const std::string &what) : std::runtime_error(what) {} }; using std::string; /// This is a singleton class FontManager { public: enum generic_font { serif, sans_serif, cursive, fantasy, monospace }; typedef std::set FontPaths; typedef std::set FontNames; static FontManager& instance(); /** * A font can have more than one name. Warning: no cyclic * references, please! */ void fontAlias(const string &alias, const string &fontname); /** * May throw FontError */ const font::Metrics& getFont(const string &name); /** get real name of font */ string unalias(const string &fontname, bool recursive = true) const; /** A list of available font names */ FontNames getAvailableFonts() const; void reportFonts(std::ostream &out) const; string getMetricsFile(const string &fontname) const { try { return getFontFiles(fontname).first; } catch(FontError&) { return ""; } } string getFontFile(const string &fontname) const { try { return getFontFiles(fontname).second; } catch(FontError&) { return ""; } } /** * Some apps (e.g. ghostscript) don't use fontconfig, so they will * need a list of paths to look for fonts in. */ const FontPaths& getFontPaths() const { return fontpaths; } private: static FontManager *_instance; static Glib::StaticMutex mutex; // thread safe initialization typedef std::map MetricsMap; MetricsMap metrics_map; typedef std::multimap FontAliases; FontAliases fontaliases; /// first is metrics file, second is font file typedef std::pair FilePair; /// Map each fontname to a FilePair typedef std::map FontFiles; FontFiles fontfiles; FontPaths fontpaths; FontManager(); void loadFont(const string &fontname); void checkOutTrueType(const string &filename); void checkOutAFM(const string &filename); void checkOutType1(const string &filename); FilePair getFontFiles(const string &fontname) const; FontManager(const FontManager &); // undefined FontManager& operator= (const FontManager &); // undefined }; } #endif passepartout-0.7.1/src/fonts/fontmetrics.hh000066400000000000000000000032131140125232500210410ustar00rootroot00000000000000#ifndef PP_FONTMETRICS_HH // -*- c++ -*- #define PP_FONTMETRICS_HH /// // Copyright (C) 2002 - 2004, Fredrik Arnerup & Rasmus Kaj, See COPYING /// #include namespace font { /// Interface for font metrics. class Metrics { public: virtual ~Metrics() {} /// This is the real name, not the postscript name virtual std::string getName() const = 0; /// The name to be used in postscript code virtual std::string getPostscriptName() const = 0; /// Width of string when typset in this font virtual float getWidth(const Glib::ustring &str) const = 0; /// The distance from the baseline to the top of the heighest glyph virtual float getAscender() const = 0; /// The distance from the baseline to the bottom of the lowest glyph virtual float getDescender() const = 0; /// The height of the letter x virtual float getExHeight() const = 0; /// The preferred size of small caps virtual float getCapHeight() const = 0; /// The preferred distance from the baseline to the underline virtual float getUnderlinePos() const = 0; /// The preferred thickness of the underline virtual float getUnderlineThickness() const = 0; /// The slant angle of the font virtual float getItalicAngle() const = 0; /// True if the font has a particular glyph virtual bool hasGlyph(const std::string &glyphname) const = 0; /// Return PostScript glyph name corresponding to character or /// sequence of characters virtual std::string getGlyphName(const Glib::ustring &chars) const = 0; /// Return bounding box for font virtual int getBBox(int idx) const = 0; }; } #endif passepartout-0.7.1/src/fonts/freetype.cc000066400000000000000000000110511140125232500203140ustar00rootroot00000000000000/// // Copyright (C) 2004, Fredrik Arnerup & Rasmus Kaj, See COPYING /// #include "freetype.hh" #include "util/stringutil.h" #include "util/warning.h" #include #include FT_TRUETYPE_TABLES_H FT_Library font::FTMetrics::library = 0; namespace { void fterr(int err) { if(err) /// \todo readable error messages throw std::runtime_error("FT error " + tostr(err)); } } namespace { /// convert from signed 16.16 fixed point (not tested much) double from_fixed(FT_Fixed a) { return double(a) / (1 << 16); } } font::FTMetrics::FTMetrics(const std::string &filename) : face(0), exHeight(1), capHeight(1), italicAngle(0) { if(!library) fterr(FT_Init_FreeType(&library)); fterr(FT_New_Face(library, filename.c_str(), 0, &face)); TT_PCLT *pclt = static_cast(FT_Get_Sfnt_Table(face, ft_sfnt_pclt)); if(pclt) { exHeight = float(pclt->xHeight) / face->units_per_EM; capHeight = float(pclt->CapHeight) / face->units_per_EM; } TT_Postscript *post = static_cast(FT_Get_Sfnt_Table(face, ft_sfnt_post)); if(post) { italicAngle = from_fixed(post->italicAngle); } } font::FTMetrics::~FTMetrics() { int error = FT_Done_Face(face); if(error) std::cerr << "Error " << error << " when releasing typeface" << std::endl; } std::string font::FTMetrics::getName() const { std::string name(face->family_name); if(face->style_name) { name += " "; name += face->style_name; } return name; } std::string font::FTMetrics::getPostscriptName() const { const char *name = FT_Get_Postscript_Name(face); return name ? name : ""; } float font::FTMetrics::getWidth(const Glib::ustring &str) const { float w = 0; for(Glib::ustring::const_iterator i = str.begin(); i != str.end(); i++) { FT_UInt glyph_index = FT_Get_Char_Index(face, *i); // FT_LOAD_NO_SCALE gives metrics in "designer" units (the // unscaled internal font units) int err = FT_Load_Glyph(face, glyph_index, FT_LOAD_NO_SCALE); if(!err) w += face->glyph->metrics.horiAdvance; else { w += 0.625; // reasonable default? verbose << "Glyph #" << glyph_index << " not found" << std::endl; } } return w / face->units_per_EM; } float font::FTMetrics::getAscender() const { return float(face->ascender) / face->units_per_EM; } float font::FTMetrics::getDescender() const { return -float(face->descender) / face->units_per_EM; } float font::FTMetrics::getExHeight() const { return exHeight; } float font::FTMetrics::getCapHeight() const { return capHeight; } float font::FTMetrics::getUnderlinePos() const { return float(face->underline_position) / face->units_per_EM; } float font::FTMetrics::getUnderlineThickness() const { return float(face->underline_thickness) / face->units_per_EM; } float font::FTMetrics::getItalicAngle() const { return italicAngle; } std::string font::FTMetrics::nameOfGlyph(unsigned int glyph_index) const { const int buffer_size = 30; char buffer[buffer_size]; if(!FT_Get_Glyph_Name(face, glyph_index, &buffer, buffer_size)) return buffer; return ""; } std::string font::FTMetrics::getGlyphName(const Glib::ustring &chars) const { if(chars.length() != 1) return ""; return nameOfGlyph(get_glyph_index(chars[0])); } unsigned int font::FTMetrics::get_glyph_index(gunichar c) const { return FT_Get_Char_Index(face, c); } namespace { /// wub16 == "write unsigned bigendian 16-bit" std::ostream& wub16(std::ostream &out, unsigned int x) { x &= 0xFFFF; unsigned char l = x & 0xFF; unsigned char h = x >> 8; out << h << l; return out; } } void font::FTMetrics::write_CIDToGIDMap(std::ostream &out) const { for(int i = 0; i < 0xffff; i++) // 16 bit indices, high-order byte first wub16(out, get_glyph_index(i)); out << std::flush; } int font::FTMetrics::getBBox(int idx) const { assert(0 <= idx && idx < 4); int tmp; switch(idx) { case 0: tmp = face->bbox.xMin; break; case 1: tmp = face->bbox.yMin; break; case 2: tmp = face->bbox.xMax; break; case 3: tmp = face->bbox.yMax; break; default: break; } // convert to postscript font units (em/1000) return (1000 * tmp) / int(face->units_per_EM); } #ifdef FREETYPE_STANDALONE #include int main(int argc, char **argv) { using namespace std; try { using namespace font; FTMetrics fnt(argv[1]); cout << fnt.getWidth("Hej hej, Monika!") << endl; cout << fnt.getAscender() << endl; cout << fnt.getDescender() << endl; cout << fnt.getGlyphName("C") << endl; } catch(const exception &e) { cerr << e.what() << endl; } } #endif passepartout-0.7.1/src/fonts/freetype.hh000066400000000000000000000026721140125232500203370ustar00rootroot00000000000000#ifndef PP_FREETYPE_HH // -*- c++ -*- #define PP_FREETYPE_HH /// // Copyright (C) 2004, Fredrik Arnerup & Rasmus Kaj, See COPYING /// #include "fontmetrics.hh" #include #include FT_FREETYPE_H namespace font { /// Uses FreeType to read font metrics class FTMetrics: public Metrics { public: FTMetrics(const std::string &filename); ~FTMetrics(); std::string getName() const; std::string getPostscriptName() const; float getWidth(const Glib::ustring &str) const; float getAscender() const; /// This is positive, for descenders below the baseline float getDescender() const; float getExHeight() const; float getCapHeight() const; float getUnderlinePos() const; float getUnderlineThickness() const; float getItalicAngle() const; bool hasGlyph(const std::string &glyphname) const { return true; } /// \todo std::string nameOfGlyph(unsigned int glyph_index) const; std::string getGlyphName(const Glib::ustring &chars) const; unsigned int get_glyph_index(gunichar c) const; void write_CIDToGIDMap(std::ostream &out) const; /// return values in millipoints int getBBox(int idx) const; unsigned int numOfGlyphs() const { return face->num_glyphs; } private: static FT_Library library; FT_Face face; float exHeight, capHeight, italicAngle; FTMetrics(); FTMetrics(const FTMetrics&); void operator = (const FTMetrics&); }; } #endif passepartout-0.7.1/src/pptout/000077500000000000000000000000001140125232500163665ustar00rootroot00000000000000passepartout-0.7.1/src/pptout/Makefile.am000066400000000000000000000040051140125232500204210ustar00rootroot00000000000000SUBDIRS = document widget icons EXTRA_DIST = NOTES bin_PROGRAMS = passepartout dist_noinst_HEADERS = aboutdialog.h config.h preferencesdialog.h \ docpropsdialog.h docview.h groupmeta.h imagemeta.h \ pagemeta.h inspiration.h metabase.h pagesel.h \ docmeta.h viewent.h groupviewent.h postscriptviewent.h \ pageviewent.h rasterviewent.h textviewent.h pptcore.h \ printdialog.h propbase.h propertiesdialog.h \ rastermeta.h streamdialog.h textmeta.h lengthunits.h \ view.h window.h stockitems.h templatepagedialog.h \ clipboard.h BUILT_SOURCES=\ authors.cc \ $(NULL) passepartout_SOURCES = inspiration.cc streamdialog.cc pagesel.cc \ aboutdialog.cc docmeta.cc printdialog.cc viewent.cc \ groupviewent.cc postscriptviewent.cc pageviewent.cc \ rasterviewent.cc textviewent.cc docview.cc window.cc \ main.cc lengthunits.cc config.cc preferencesdialog.cc \ propertiesdialog.cc imagemeta.cc rastermeta.cc \ textmeta.cc groupmeta.cc pagemeta.cc propbase.cc \ pptcore.cc docpropsdialog.cc builddate.cc \ windowmenus.cc stockitems.cc \ clipboard.cc \ templatepagedialog.cc \ $(BUILT_SOURCES) \ $(NULL) passepartout_CXXFLAGS = $(XMLPP_CFLAGS) $(GTKMM_CFLAGS) $(GNOMECANVAS_CFLAGS) \ $(GNOME_CFLAGS) $(GNOMEVFS_CFLAGS) passepartout_CXXFLAGS += -I$(top_srcdir)/src -D'XMLPATH=$(xmldir)' passepartout_LDADD = $(XMLPP_LIBS) $(GTKMM_LIBS) $(GNOMECANVAS_LIBS) \ $(GTHREAD_LIBS) $(GNOME_LIBS) $(GNOMEVFS_LIBS) pptpartlibs= document/libdocument.a ../xml2ps/libxml2ps.a \ ../fonts/libfonts.a ../ps/libps.a \ ../util/libpptutil.a widget/libwidget.a passepartout_LDADD += $(pptpartlibs) # Extra dependencies for builddate, so it is rebuilt every time anything else # is rebuilt passepartout-builddate.$(OBJEXT): \ $(filter-out passepartout-builddate.o, $(passepartout_OBJECTS)) \ $(pptpartlibs) # build a string out of the contents of AUTHORS authors.cc: $(top_srcdir)/AUTHORS Makefile awk 'BEGIN {print "const char *authors ="} {print "\"" $$0 "\\n\""} END {print ";"}' $< > $@ CLEANFILES=$(BUILT_SOURCES) passepartout-0.7.1/src/pptout/Makefile.in000066400000000000000000002511211140125232500204350ustar00rootroot00000000000000# Makefile.in generated by automake 1.10.1 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, # 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ VPATH = @srcdir@ pkgdatadir = $(datadir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : bin_PROGRAMS = passepartout$(EXEEXT) subdir = src/pptout DIST_COMMON = $(dist_noinst_HEADERS) $(srcdir)/Makefile.am \ $(srcdir)/Makefile.in ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs CONFIG_HEADER = $(top_builddir)/src/defines.h CONFIG_CLEAN_FILES = am__installdirs = "$(DESTDIR)$(bindir)" binPROGRAMS_INSTALL = $(INSTALL_PROGRAM) PROGRAMS = $(bin_PROGRAMS) am__objects_1 = passepartout-authors.$(OBJEXT) am_passepartout_OBJECTS = passepartout-inspiration.$(OBJEXT) \ passepartout-streamdialog.$(OBJEXT) \ passepartout-pagesel.$(OBJEXT) \ passepartout-aboutdialog.$(OBJEXT) \ passepartout-docmeta.$(OBJEXT) \ passepartout-printdialog.$(OBJEXT) \ passepartout-viewent.$(OBJEXT) \ passepartout-groupviewent.$(OBJEXT) \ passepartout-postscriptviewent.$(OBJEXT) \ passepartout-pageviewent.$(OBJEXT) \ passepartout-rasterviewent.$(OBJEXT) \ passepartout-textviewent.$(OBJEXT) \ passepartout-docview.$(OBJEXT) passepartout-window.$(OBJEXT) \ passepartout-main.$(OBJEXT) passepartout-lengthunits.$(OBJEXT) \ passepartout-config.$(OBJEXT) \ passepartout-preferencesdialog.$(OBJEXT) \ passepartout-propertiesdialog.$(OBJEXT) \ passepartout-imagemeta.$(OBJEXT) \ passepartout-rastermeta.$(OBJEXT) \ passepartout-textmeta.$(OBJEXT) \ passepartout-groupmeta.$(OBJEXT) \ passepartout-pagemeta.$(OBJEXT) \ passepartout-propbase.$(OBJEXT) passepartout-pptcore.$(OBJEXT) \ passepartout-docpropsdialog.$(OBJEXT) \ passepartout-builddate.$(OBJEXT) \ passepartout-windowmenus.$(OBJEXT) \ passepartout-stockitems.$(OBJEXT) \ passepartout-clipboard.$(OBJEXT) \ passepartout-templatepagedialog.$(OBJEXT) $(am__objects_1) passepartout_OBJECTS = $(am_passepartout_OBJECTS) am__DEPENDENCIES_1 = passepartout_DEPENDENCIES = $(am__DEPENDENCIES_1) \ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \ $(am__DEPENDENCIES_1) $(pptpartlibs) passepartout_LINK = $(CXXLD) $(passepartout_CXXFLAGS) $(CXXFLAGS) \ $(AM_LDFLAGS) $(LDFLAGS) -o $@ DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)/src depcomp = $(SHELL) $(top_srcdir)/depcomp am__depfiles_maybe = depfiles CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) CXXLD = $(CXX) CXXLINK = $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(AM_LDFLAGS) $(LDFLAGS) \ -o $@ SOURCES = $(passepartout_SOURCES) DIST_SOURCES = $(passepartout_SOURCES) RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \ html-recursive info-recursive install-data-recursive \ install-dvi-recursive install-exec-recursive \ install-html-recursive install-info-recursive \ install-pdf-recursive install-ps-recursive install-recursive \ installcheck-recursive installdirs-recursive pdf-recursive \ ps-recursive uninstall-recursive HEADERS = $(dist_noinst_HEADERS) RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \ distclean-recursive maintainer-clean-recursive ETAGS = etags CTAGS = ctags DIST_SUBDIRS = $(SUBDIRS) DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ AMTAR = @AMTAR@ APPLY_RPATH = @APPLY_RPATH@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CXX = @CXX@ CXXDEPMODE = @CXXDEPMODE@ CXXFLAGS = @CXXFLAGS@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ FREETYPE_CFLAGS = @FREETYPE_CFLAGS@ FREETYPE_LIBS = @FREETYPE_LIBS@ GNOMECANVAS_CFLAGS = @GNOMECANVAS_CFLAGS@ GNOMECANVAS_LIBS = @GNOMECANVAS_LIBS@ GNOMEVFS_CFLAGS = @GNOMEVFS_CFLAGS@ GNOMEVFS_LIBS = @GNOMEVFS_LIBS@ GNOME_CFLAGS = @GNOME_CFLAGS@ GNOME_LIBS = @GNOME_LIBS@ GREP = @GREP@ GTHREAD_CFLAGS = @GTHREAD_CFLAGS@ GTHREAD_LIBS = @GTHREAD_LIBS@ GTKMM_CFLAGS = @GTKMM_CFLAGS@ GTKMM_LIBS = @GTKMM_LIBS@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ LDFLAGS = @LDFLAGS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LTLIBOBJS = @LTLIBOBJS@ MAKEINFO = @MAKEINFO@ MKDIR_P = @MKDIR_P@ OBJEXT = @OBJEXT@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ RANLIB = @RANLIB@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ VERSION = @VERSION@ XMLPP_CFLAGS = @XMLPP_CFLAGS@ XMLPP_LIBS = @XMLPP_LIBS@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ ac_ct_CC = @ac_ct_CC@ ac_ct_CXX = @ac_ct_CXX@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build_alias = @build_alias@ builddir = @builddir@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host_alias = @host_alias@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ xmldir = @xmldir@ SUBDIRS = document widget icons EXTRA_DIST = NOTES dist_noinst_HEADERS = aboutdialog.h config.h preferencesdialog.h \ docpropsdialog.h docview.h groupmeta.h imagemeta.h \ pagemeta.h inspiration.h metabase.h pagesel.h \ docmeta.h viewent.h groupviewent.h postscriptviewent.h \ pageviewent.h rasterviewent.h textviewent.h pptcore.h \ printdialog.h propbase.h propertiesdialog.h \ rastermeta.h streamdialog.h textmeta.h lengthunits.h \ view.h window.h stockitems.h templatepagedialog.h \ clipboard.h BUILT_SOURCES = \ authors.cc \ $(NULL) passepartout_SOURCES = inspiration.cc streamdialog.cc pagesel.cc \ aboutdialog.cc docmeta.cc printdialog.cc viewent.cc \ groupviewent.cc postscriptviewent.cc pageviewent.cc \ rasterviewent.cc textviewent.cc docview.cc window.cc \ main.cc lengthunits.cc config.cc preferencesdialog.cc \ propertiesdialog.cc imagemeta.cc rastermeta.cc \ textmeta.cc groupmeta.cc pagemeta.cc propbase.cc \ pptcore.cc docpropsdialog.cc builddate.cc \ windowmenus.cc stockitems.cc \ clipboard.cc \ templatepagedialog.cc \ $(BUILT_SOURCES) \ $(NULL) passepartout_CXXFLAGS = $(XMLPP_CFLAGS) $(GTKMM_CFLAGS) \ $(GNOMECANVAS_CFLAGS) $(GNOME_CFLAGS) $(GNOMEVFS_CFLAGS) \ -I$(top_srcdir)/src -D'XMLPATH=$(xmldir)' passepartout_LDADD = $(XMLPP_LIBS) $(GTKMM_LIBS) $(GNOMECANVAS_LIBS) \ $(GTHREAD_LIBS) $(GNOME_LIBS) $(GNOMEVFS_LIBS) $(pptpartlibs) pptpartlibs = document/libdocument.a ../xml2ps/libxml2ps.a \ ../fonts/libfonts.a ../ps/libps.a \ ../util/libpptutil.a widget/libwidget.a CLEANFILES = $(BUILT_SOURCES) all: $(BUILT_SOURCES) $(MAKE) $(AM_MAKEFLAGS) all-recursive .SUFFIXES: .SUFFIXES: .cc .o .obj $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ && exit 0; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign src/pptout/Makefile'; \ cd $(top_srcdir) && \ $(AUTOMAKE) --foreign src/pptout/Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh install-binPROGRAMS: $(bin_PROGRAMS) @$(NORMAL_INSTALL) test -z "$(bindir)" || $(MKDIR_P) "$(DESTDIR)$(bindir)" @list='$(bin_PROGRAMS)'; for p in $$list; do \ p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \ if test -f $$p \ ; then \ f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \ echo " $(INSTALL_PROGRAM_ENV) $(binPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(bindir)/$$f'"; \ $(INSTALL_PROGRAM_ENV) $(binPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(bindir)/$$f" || exit 1; \ else :; fi; \ done uninstall-binPROGRAMS: @$(NORMAL_UNINSTALL) @list='$(bin_PROGRAMS)'; for p in $$list; do \ f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \ echo " rm -f '$(DESTDIR)$(bindir)/$$f'"; \ rm -f "$(DESTDIR)$(bindir)/$$f"; \ done clean-binPROGRAMS: -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS) passepartout$(EXEEXT): $(passepartout_OBJECTS) $(passepartout_DEPENDENCIES) @rm -f passepartout$(EXEEXT) $(passepartout_LINK) $(passepartout_OBJECTS) $(passepartout_LDADD) $(LIBS) mostlyclean-compile: -rm -f *.$(OBJEXT) distclean-compile: -rm -f *.tab.c @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/passepartout-aboutdialog.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/passepartout-authors.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/passepartout-builddate.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/passepartout-clipboard.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/passepartout-config.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/passepartout-docmeta.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/passepartout-docpropsdialog.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/passepartout-docview.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/passepartout-groupmeta.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/passepartout-groupviewent.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/passepartout-imagemeta.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/passepartout-inspiration.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/passepartout-lengthunits.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/passepartout-main.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/passepartout-pagemeta.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/passepartout-pagesel.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/passepartout-pageviewent.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/passepartout-postscriptviewent.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/passepartout-pptcore.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/passepartout-preferencesdialog.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/passepartout-printdialog.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/passepartout-propbase.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/passepartout-propertiesdialog.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/passepartout-rastermeta.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/passepartout-rasterviewent.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/passepartout-stockitems.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/passepartout-streamdialog.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/passepartout-templatepagedialog.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/passepartout-textmeta.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/passepartout-textviewent.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/passepartout-viewent.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/passepartout-window.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/passepartout-windowmenus.Po@am__quote@ .cc.o: @am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< @am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ $< .cc.obj: @am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` @am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'` passepartout-inspiration.o: inspiration.cc @am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(passepartout_CXXFLAGS) $(CXXFLAGS) -MT passepartout-inspiration.o -MD -MP -MF $(DEPDIR)/passepartout-inspiration.Tpo -c -o passepartout-inspiration.o `test -f 'inspiration.cc' || echo '$(srcdir)/'`inspiration.cc @am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/passepartout-inspiration.Tpo $(DEPDIR)/passepartout-inspiration.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='inspiration.cc' object='passepartout-inspiration.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(passepartout_CXXFLAGS) $(CXXFLAGS) -c -o passepartout-inspiration.o `test -f 'inspiration.cc' || echo '$(srcdir)/'`inspiration.cc passepartout-inspiration.obj: inspiration.cc @am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(passepartout_CXXFLAGS) $(CXXFLAGS) -MT passepartout-inspiration.obj -MD -MP -MF $(DEPDIR)/passepartout-inspiration.Tpo -c -o passepartout-inspiration.obj `if test -f 'inspiration.cc'; then $(CYGPATH_W) 'inspiration.cc'; else $(CYGPATH_W) '$(srcdir)/inspiration.cc'; fi` @am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/passepartout-inspiration.Tpo $(DEPDIR)/passepartout-inspiration.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='inspiration.cc' object='passepartout-inspiration.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(passepartout_CXXFLAGS) $(CXXFLAGS) -c -o passepartout-inspiration.obj `if test -f 'inspiration.cc'; then $(CYGPATH_W) 'inspiration.cc'; else $(CYGPATH_W) '$(srcdir)/inspiration.cc'; fi` passepartout-streamdialog.o: streamdialog.cc @am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(passepartout_CXXFLAGS) $(CXXFLAGS) -MT passepartout-streamdialog.o -MD -MP -MF $(DEPDIR)/passepartout-streamdialog.Tpo -c -o passepartout-streamdialog.o `test -f 'streamdialog.cc' || echo '$(srcdir)/'`streamdialog.cc @am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/passepartout-streamdialog.Tpo $(DEPDIR)/passepartout-streamdialog.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='streamdialog.cc' object='passepartout-streamdialog.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(passepartout_CXXFLAGS) $(CXXFLAGS) -c -o passepartout-streamdialog.o `test -f 'streamdialog.cc' || echo '$(srcdir)/'`streamdialog.cc passepartout-streamdialog.obj: streamdialog.cc @am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(passepartout_CXXFLAGS) $(CXXFLAGS) -MT passepartout-streamdialog.obj -MD -MP -MF $(DEPDIR)/passepartout-streamdialog.Tpo -c -o passepartout-streamdialog.obj `if test -f 'streamdialog.cc'; then $(CYGPATH_W) 'streamdialog.cc'; else $(CYGPATH_W) '$(srcdir)/streamdialog.cc'; fi` @am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/passepartout-streamdialog.Tpo $(DEPDIR)/passepartout-streamdialog.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='streamdialog.cc' object='passepartout-streamdialog.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(passepartout_CXXFLAGS) $(CXXFLAGS) -c -o passepartout-streamdialog.obj `if test -f 'streamdialog.cc'; then $(CYGPATH_W) 'streamdialog.cc'; else $(CYGPATH_W) '$(srcdir)/streamdialog.cc'; fi` passepartout-pagesel.o: pagesel.cc @am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(passepartout_CXXFLAGS) $(CXXFLAGS) -MT passepartout-pagesel.o -MD -MP -MF $(DEPDIR)/passepartout-pagesel.Tpo -c -o passepartout-pagesel.o `test -f 'pagesel.cc' || echo '$(srcdir)/'`pagesel.cc @am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/passepartout-pagesel.Tpo $(DEPDIR)/passepartout-pagesel.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='pagesel.cc' object='passepartout-pagesel.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(passepartout_CXXFLAGS) $(CXXFLAGS) -c -o passepartout-pagesel.o `test -f 'pagesel.cc' || echo '$(srcdir)/'`pagesel.cc passepartout-pagesel.obj: pagesel.cc @am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(passepartout_CXXFLAGS) $(CXXFLAGS) -MT passepartout-pagesel.obj -MD -MP -MF $(DEPDIR)/passepartout-pagesel.Tpo -c -o passepartout-pagesel.obj `if test -f 'pagesel.cc'; then $(CYGPATH_W) 'pagesel.cc'; else $(CYGPATH_W) '$(srcdir)/pagesel.cc'; fi` @am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/passepartout-pagesel.Tpo $(DEPDIR)/passepartout-pagesel.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='pagesel.cc' object='passepartout-pagesel.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(passepartout_CXXFLAGS) $(CXXFLAGS) -c -o passepartout-pagesel.obj `if test -f 'pagesel.cc'; then $(CYGPATH_W) 'pagesel.cc'; else $(CYGPATH_W) '$(srcdir)/pagesel.cc'; fi` passepartout-aboutdialog.o: aboutdialog.cc @am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(passepartout_CXXFLAGS) $(CXXFLAGS) -MT passepartout-aboutdialog.o -MD -MP -MF $(DEPDIR)/passepartout-aboutdialog.Tpo -c -o passepartout-aboutdialog.o `test -f 'aboutdialog.cc' || echo '$(srcdir)/'`aboutdialog.cc @am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/passepartout-aboutdialog.Tpo $(DEPDIR)/passepartout-aboutdialog.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='aboutdialog.cc' object='passepartout-aboutdialog.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(passepartout_CXXFLAGS) $(CXXFLAGS) -c -o passepartout-aboutdialog.o `test -f 'aboutdialog.cc' || echo '$(srcdir)/'`aboutdialog.cc passepartout-aboutdialog.obj: aboutdialog.cc @am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(passepartout_CXXFLAGS) $(CXXFLAGS) -MT passepartout-aboutdialog.obj -MD -MP -MF $(DEPDIR)/passepartout-aboutdialog.Tpo -c -o passepartout-aboutdialog.obj `if test -f 'aboutdialog.cc'; then $(CYGPATH_W) 'aboutdialog.cc'; else $(CYGPATH_W) '$(srcdir)/aboutdialog.cc'; fi` @am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/passepartout-aboutdialog.Tpo $(DEPDIR)/passepartout-aboutdialog.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='aboutdialog.cc' object='passepartout-aboutdialog.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(passepartout_CXXFLAGS) $(CXXFLAGS) -c -o passepartout-aboutdialog.obj `if test -f 'aboutdialog.cc'; then $(CYGPATH_W) 'aboutdialog.cc'; else $(CYGPATH_W) '$(srcdir)/aboutdialog.cc'; fi` passepartout-docmeta.o: docmeta.cc @am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(passepartout_CXXFLAGS) $(CXXFLAGS) -MT passepartout-docmeta.o -MD -MP -MF $(DEPDIR)/passepartout-docmeta.Tpo -c -o passepartout-docmeta.o `test -f 'docmeta.cc' || echo '$(srcdir)/'`docmeta.cc @am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/passepartout-docmeta.Tpo $(DEPDIR)/passepartout-docmeta.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='docmeta.cc' object='passepartout-docmeta.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(passepartout_CXXFLAGS) $(CXXFLAGS) -c -o passepartout-docmeta.o `test -f 'docmeta.cc' || echo '$(srcdir)/'`docmeta.cc passepartout-docmeta.obj: docmeta.cc @am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(passepartout_CXXFLAGS) $(CXXFLAGS) -MT passepartout-docmeta.obj -MD -MP -MF $(DEPDIR)/passepartout-docmeta.Tpo -c -o passepartout-docmeta.obj `if test -f 'docmeta.cc'; then $(CYGPATH_W) 'docmeta.cc'; else $(CYGPATH_W) '$(srcdir)/docmeta.cc'; fi` @am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/passepartout-docmeta.Tpo $(DEPDIR)/passepartout-docmeta.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='docmeta.cc' object='passepartout-docmeta.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(passepartout_CXXFLAGS) $(CXXFLAGS) -c -o passepartout-docmeta.obj `if test -f 'docmeta.cc'; then $(CYGPATH_W) 'docmeta.cc'; else $(CYGPATH_W) '$(srcdir)/docmeta.cc'; fi` passepartout-printdialog.o: printdialog.cc @am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(passepartout_CXXFLAGS) $(CXXFLAGS) -MT passepartout-printdialog.o -MD -MP -MF $(DEPDIR)/passepartout-printdialog.Tpo -c -o passepartout-printdialog.o `test -f 'printdialog.cc' || echo '$(srcdir)/'`printdialog.cc @am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/passepartout-printdialog.Tpo $(DEPDIR)/passepartout-printdialog.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='printdialog.cc' object='passepartout-printdialog.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(passepartout_CXXFLAGS) $(CXXFLAGS) -c -o passepartout-printdialog.o `test -f 'printdialog.cc' || echo '$(srcdir)/'`printdialog.cc passepartout-printdialog.obj: printdialog.cc @am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(passepartout_CXXFLAGS) $(CXXFLAGS) -MT passepartout-printdialog.obj -MD -MP -MF $(DEPDIR)/passepartout-printdialog.Tpo -c -o passepartout-printdialog.obj `if test -f 'printdialog.cc'; then $(CYGPATH_W) 'printdialog.cc'; else $(CYGPATH_W) '$(srcdir)/printdialog.cc'; fi` @am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/passepartout-printdialog.Tpo $(DEPDIR)/passepartout-printdialog.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='printdialog.cc' object='passepartout-printdialog.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(passepartout_CXXFLAGS) $(CXXFLAGS) -c -o passepartout-printdialog.obj `if test -f 'printdialog.cc'; then $(CYGPATH_W) 'printdialog.cc'; else $(CYGPATH_W) '$(srcdir)/printdialog.cc'; fi` passepartout-viewent.o: viewent.cc @am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(passepartout_CXXFLAGS) $(CXXFLAGS) -MT passepartout-viewent.o -MD -MP -MF $(DEPDIR)/passepartout-viewent.Tpo -c -o passepartout-viewent.o `test -f 'viewent.cc' || echo '$(srcdir)/'`viewent.cc @am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/passepartout-viewent.Tpo $(DEPDIR)/passepartout-viewent.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='viewent.cc' object='passepartout-viewent.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(passepartout_CXXFLAGS) $(CXXFLAGS) -c -o passepartout-viewent.o `test -f 'viewent.cc' || echo '$(srcdir)/'`viewent.cc passepartout-viewent.obj: viewent.cc @am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(passepartout_CXXFLAGS) $(CXXFLAGS) -MT passepartout-viewent.obj -MD -MP -MF $(DEPDIR)/passepartout-viewent.Tpo -c -o passepartout-viewent.obj `if test -f 'viewent.cc'; then $(CYGPATH_W) 'viewent.cc'; else $(CYGPATH_W) '$(srcdir)/viewent.cc'; fi` @am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/passepartout-viewent.Tpo $(DEPDIR)/passepartout-viewent.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='viewent.cc' object='passepartout-viewent.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(passepartout_CXXFLAGS) $(CXXFLAGS) -c -o passepartout-viewent.obj `if test -f 'viewent.cc'; then $(CYGPATH_W) 'viewent.cc'; else $(CYGPATH_W) '$(srcdir)/viewent.cc'; fi` passepartout-groupviewent.o: groupviewent.cc @am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(passepartout_CXXFLAGS) $(CXXFLAGS) -MT passepartout-groupviewent.o -MD -MP -MF $(DEPDIR)/passepartout-groupviewent.Tpo -c -o passepartout-groupviewent.o `test -f 'groupviewent.cc' || echo '$(srcdir)/'`groupviewent.cc @am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/passepartout-groupviewent.Tpo $(DEPDIR)/passepartout-groupviewent.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='groupviewent.cc' object='passepartout-groupviewent.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(passepartout_CXXFLAGS) $(CXXFLAGS) -c -o passepartout-groupviewent.o `test -f 'groupviewent.cc' || echo '$(srcdir)/'`groupviewent.cc passepartout-groupviewent.obj: groupviewent.cc @am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(passepartout_CXXFLAGS) $(CXXFLAGS) -MT passepartout-groupviewent.obj -MD -MP -MF $(DEPDIR)/passepartout-groupviewent.Tpo -c -o passepartout-groupviewent.obj `if test -f 'groupviewent.cc'; then $(CYGPATH_W) 'groupviewent.cc'; else $(CYGPATH_W) '$(srcdir)/groupviewent.cc'; fi` @am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/passepartout-groupviewent.Tpo $(DEPDIR)/passepartout-groupviewent.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='groupviewent.cc' object='passepartout-groupviewent.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(passepartout_CXXFLAGS) $(CXXFLAGS) -c -o passepartout-groupviewent.obj `if test -f 'groupviewent.cc'; then $(CYGPATH_W) 'groupviewent.cc'; else $(CYGPATH_W) '$(srcdir)/groupviewent.cc'; fi` passepartout-postscriptviewent.o: postscriptviewent.cc @am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(passepartout_CXXFLAGS) $(CXXFLAGS) -MT passepartout-postscriptviewent.o -MD -MP -MF $(DEPDIR)/passepartout-postscriptviewent.Tpo -c -o passepartout-postscriptviewent.o `test -f 'postscriptviewent.cc' || echo '$(srcdir)/'`postscriptviewent.cc @am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/passepartout-postscriptviewent.Tpo $(DEPDIR)/passepartout-postscriptviewent.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='postscriptviewent.cc' object='passepartout-postscriptviewent.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(passepartout_CXXFLAGS) $(CXXFLAGS) -c -o passepartout-postscriptviewent.o `test -f 'postscriptviewent.cc' || echo '$(srcdir)/'`postscriptviewent.cc passepartout-postscriptviewent.obj: postscriptviewent.cc @am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(passepartout_CXXFLAGS) $(CXXFLAGS) -MT passepartout-postscriptviewent.obj -MD -MP -MF $(DEPDIR)/passepartout-postscriptviewent.Tpo -c -o passepartout-postscriptviewent.obj `if test -f 'postscriptviewent.cc'; then $(CYGPATH_W) 'postscriptviewent.cc'; else $(CYGPATH_W) '$(srcdir)/postscriptviewent.cc'; fi` @am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/passepartout-postscriptviewent.Tpo $(DEPDIR)/passepartout-postscriptviewent.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='postscriptviewent.cc' object='passepartout-postscriptviewent.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(passepartout_CXXFLAGS) $(CXXFLAGS) -c -o passepartout-postscriptviewent.obj `if test -f 'postscriptviewent.cc'; then $(CYGPATH_W) 'postscriptviewent.cc'; else $(CYGPATH_W) '$(srcdir)/postscriptviewent.cc'; fi` passepartout-pageviewent.o: pageviewent.cc @am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(passepartout_CXXFLAGS) $(CXXFLAGS) -MT passepartout-pageviewent.o -MD -MP -MF $(DEPDIR)/passepartout-pageviewent.Tpo -c -o passepartout-pageviewent.o `test -f 'pageviewent.cc' || echo '$(srcdir)/'`pageviewent.cc @am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/passepartout-pageviewent.Tpo $(DEPDIR)/passepartout-pageviewent.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='pageviewent.cc' object='passepartout-pageviewent.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(passepartout_CXXFLAGS) $(CXXFLAGS) -c -o passepartout-pageviewent.o `test -f 'pageviewent.cc' || echo '$(srcdir)/'`pageviewent.cc passepartout-pageviewent.obj: pageviewent.cc @am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(passepartout_CXXFLAGS) $(CXXFLAGS) -MT passepartout-pageviewent.obj -MD -MP -MF $(DEPDIR)/passepartout-pageviewent.Tpo -c -o passepartout-pageviewent.obj `if test -f 'pageviewent.cc'; then $(CYGPATH_W) 'pageviewent.cc'; else $(CYGPATH_W) '$(srcdir)/pageviewent.cc'; fi` @am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/passepartout-pageviewent.Tpo $(DEPDIR)/passepartout-pageviewent.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='pageviewent.cc' object='passepartout-pageviewent.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(passepartout_CXXFLAGS) $(CXXFLAGS) -c -o passepartout-pageviewent.obj `if test -f 'pageviewent.cc'; then $(CYGPATH_W) 'pageviewent.cc'; else $(CYGPATH_W) '$(srcdir)/pageviewent.cc'; fi` passepartout-rasterviewent.o: rasterviewent.cc @am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(passepartout_CXXFLAGS) $(CXXFLAGS) -MT passepartout-rasterviewent.o -MD -MP -MF $(DEPDIR)/passepartout-rasterviewent.Tpo -c -o passepartout-rasterviewent.o `test -f 'rasterviewent.cc' || echo '$(srcdir)/'`rasterviewent.cc @am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/passepartout-rasterviewent.Tpo $(DEPDIR)/passepartout-rasterviewent.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='rasterviewent.cc' object='passepartout-rasterviewent.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(passepartout_CXXFLAGS) $(CXXFLAGS) -c -o passepartout-rasterviewent.o `test -f 'rasterviewent.cc' || echo '$(srcdir)/'`rasterviewent.cc passepartout-rasterviewent.obj: rasterviewent.cc @am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(passepartout_CXXFLAGS) $(CXXFLAGS) -MT passepartout-rasterviewent.obj -MD -MP -MF $(DEPDIR)/passepartout-rasterviewent.Tpo -c -o passepartout-rasterviewent.obj `if test -f 'rasterviewent.cc'; then $(CYGPATH_W) 'rasterviewent.cc'; else $(CYGPATH_W) '$(srcdir)/rasterviewent.cc'; fi` @am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/passepartout-rasterviewent.Tpo $(DEPDIR)/passepartout-rasterviewent.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='rasterviewent.cc' object='passepartout-rasterviewent.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(passepartout_CXXFLAGS) $(CXXFLAGS) -c -o passepartout-rasterviewent.obj `if test -f 'rasterviewent.cc'; then $(CYGPATH_W) 'rasterviewent.cc'; else $(CYGPATH_W) '$(srcdir)/rasterviewent.cc'; fi` passepartout-textviewent.o: textviewent.cc @am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(passepartout_CXXFLAGS) $(CXXFLAGS) -MT passepartout-textviewent.o -MD -MP -MF $(DEPDIR)/passepartout-textviewent.Tpo -c -o passepartout-textviewent.o `test -f 'textviewent.cc' || echo '$(srcdir)/'`textviewent.cc @am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/passepartout-textviewent.Tpo $(DEPDIR)/passepartout-textviewent.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='textviewent.cc' object='passepartout-textviewent.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(passepartout_CXXFLAGS) $(CXXFLAGS) -c -o passepartout-textviewent.o `test -f 'textviewent.cc' || echo '$(srcdir)/'`textviewent.cc passepartout-textviewent.obj: textviewent.cc @am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(passepartout_CXXFLAGS) $(CXXFLAGS) -MT passepartout-textviewent.obj -MD -MP -MF $(DEPDIR)/passepartout-textviewent.Tpo -c -o passepartout-textviewent.obj `if test -f 'textviewent.cc'; then $(CYGPATH_W) 'textviewent.cc'; else $(CYGPATH_W) '$(srcdir)/textviewent.cc'; fi` @am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/passepartout-textviewent.Tpo $(DEPDIR)/passepartout-textviewent.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='textviewent.cc' object='passepartout-textviewent.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(passepartout_CXXFLAGS) $(CXXFLAGS) -c -o passepartout-textviewent.obj `if test -f 'textviewent.cc'; then $(CYGPATH_W) 'textviewent.cc'; else $(CYGPATH_W) '$(srcdir)/textviewent.cc'; fi` passepartout-docview.o: docview.cc @am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(passepartout_CXXFLAGS) $(CXXFLAGS) -MT passepartout-docview.o -MD -MP -MF $(DEPDIR)/passepartout-docview.Tpo -c -o passepartout-docview.o `test -f 'docview.cc' || echo '$(srcdir)/'`docview.cc @am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/passepartout-docview.Tpo $(DEPDIR)/passepartout-docview.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='docview.cc' object='passepartout-docview.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(passepartout_CXXFLAGS) $(CXXFLAGS) -c -o passepartout-docview.o `test -f 'docview.cc' || echo '$(srcdir)/'`docview.cc passepartout-docview.obj: docview.cc @am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(passepartout_CXXFLAGS) $(CXXFLAGS) -MT passepartout-docview.obj -MD -MP -MF $(DEPDIR)/passepartout-docview.Tpo -c -o passepartout-docview.obj `if test -f 'docview.cc'; then $(CYGPATH_W) 'docview.cc'; else $(CYGPATH_W) '$(srcdir)/docview.cc'; fi` @am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/passepartout-docview.Tpo $(DEPDIR)/passepartout-docview.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='docview.cc' object='passepartout-docview.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(passepartout_CXXFLAGS) $(CXXFLAGS) -c -o passepartout-docview.obj `if test -f 'docview.cc'; then $(CYGPATH_W) 'docview.cc'; else $(CYGPATH_W) '$(srcdir)/docview.cc'; fi` passepartout-window.o: window.cc @am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(passepartout_CXXFLAGS) $(CXXFLAGS) -MT passepartout-window.o -MD -MP -MF $(DEPDIR)/passepartout-window.Tpo -c -o passepartout-window.o `test -f 'window.cc' || echo '$(srcdir)/'`window.cc @am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/passepartout-window.Tpo $(DEPDIR)/passepartout-window.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='window.cc' object='passepartout-window.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(passepartout_CXXFLAGS) $(CXXFLAGS) -c -o passepartout-window.o `test -f 'window.cc' || echo '$(srcdir)/'`window.cc passepartout-window.obj: window.cc @am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(passepartout_CXXFLAGS) $(CXXFLAGS) -MT passepartout-window.obj -MD -MP -MF $(DEPDIR)/passepartout-window.Tpo -c -o passepartout-window.obj `if test -f 'window.cc'; then $(CYGPATH_W) 'window.cc'; else $(CYGPATH_W) '$(srcdir)/window.cc'; fi` @am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/passepartout-window.Tpo $(DEPDIR)/passepartout-window.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='window.cc' object='passepartout-window.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(passepartout_CXXFLAGS) $(CXXFLAGS) -c -o passepartout-window.obj `if test -f 'window.cc'; then $(CYGPATH_W) 'window.cc'; else $(CYGPATH_W) '$(srcdir)/window.cc'; fi` passepartout-main.o: main.cc @am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(passepartout_CXXFLAGS) $(CXXFLAGS) -MT passepartout-main.o -MD -MP -MF $(DEPDIR)/passepartout-main.Tpo -c -o passepartout-main.o `test -f 'main.cc' || echo '$(srcdir)/'`main.cc @am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/passepartout-main.Tpo $(DEPDIR)/passepartout-main.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='main.cc' object='passepartout-main.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(passepartout_CXXFLAGS) $(CXXFLAGS) -c -o passepartout-main.o `test -f 'main.cc' || echo '$(srcdir)/'`main.cc passepartout-main.obj: main.cc @am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(passepartout_CXXFLAGS) $(CXXFLAGS) -MT passepartout-main.obj -MD -MP -MF $(DEPDIR)/passepartout-main.Tpo -c -o passepartout-main.obj `if test -f 'main.cc'; then $(CYGPATH_W) 'main.cc'; else $(CYGPATH_W) '$(srcdir)/main.cc'; fi` @am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/passepartout-main.Tpo $(DEPDIR)/passepartout-main.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='main.cc' object='passepartout-main.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(passepartout_CXXFLAGS) $(CXXFLAGS) -c -o passepartout-main.obj `if test -f 'main.cc'; then $(CYGPATH_W) 'main.cc'; else $(CYGPATH_W) '$(srcdir)/main.cc'; fi` passepartout-lengthunits.o: lengthunits.cc @am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(passepartout_CXXFLAGS) $(CXXFLAGS) -MT passepartout-lengthunits.o -MD -MP -MF $(DEPDIR)/passepartout-lengthunits.Tpo -c -o passepartout-lengthunits.o `test -f 'lengthunits.cc' || echo '$(srcdir)/'`lengthunits.cc @am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/passepartout-lengthunits.Tpo $(DEPDIR)/passepartout-lengthunits.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='lengthunits.cc' object='passepartout-lengthunits.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(passepartout_CXXFLAGS) $(CXXFLAGS) -c -o passepartout-lengthunits.o `test -f 'lengthunits.cc' || echo '$(srcdir)/'`lengthunits.cc passepartout-lengthunits.obj: lengthunits.cc @am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(passepartout_CXXFLAGS) $(CXXFLAGS) -MT passepartout-lengthunits.obj -MD -MP -MF $(DEPDIR)/passepartout-lengthunits.Tpo -c -o passepartout-lengthunits.obj `if test -f 'lengthunits.cc'; then $(CYGPATH_W) 'lengthunits.cc'; else $(CYGPATH_W) '$(srcdir)/lengthunits.cc'; fi` @am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/passepartout-lengthunits.Tpo $(DEPDIR)/passepartout-lengthunits.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='lengthunits.cc' object='passepartout-lengthunits.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(passepartout_CXXFLAGS) $(CXXFLAGS) -c -o passepartout-lengthunits.obj `if test -f 'lengthunits.cc'; then $(CYGPATH_W) 'lengthunits.cc'; else $(CYGPATH_W) '$(srcdir)/lengthunits.cc'; fi` passepartout-config.o: config.cc @am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(passepartout_CXXFLAGS) $(CXXFLAGS) -MT passepartout-config.o -MD -MP -MF $(DEPDIR)/passepartout-config.Tpo -c -o passepartout-config.o `test -f 'config.cc' || echo '$(srcdir)/'`config.cc @am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/passepartout-config.Tpo $(DEPDIR)/passepartout-config.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='config.cc' object='passepartout-config.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(passepartout_CXXFLAGS) $(CXXFLAGS) -c -o passepartout-config.o `test -f 'config.cc' || echo '$(srcdir)/'`config.cc passepartout-config.obj: config.cc @am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(passepartout_CXXFLAGS) $(CXXFLAGS) -MT passepartout-config.obj -MD -MP -MF $(DEPDIR)/passepartout-config.Tpo -c -o passepartout-config.obj `if test -f 'config.cc'; then $(CYGPATH_W) 'config.cc'; else $(CYGPATH_W) '$(srcdir)/config.cc'; fi` @am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/passepartout-config.Tpo $(DEPDIR)/passepartout-config.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='config.cc' object='passepartout-config.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(passepartout_CXXFLAGS) $(CXXFLAGS) -c -o passepartout-config.obj `if test -f 'config.cc'; then $(CYGPATH_W) 'config.cc'; else $(CYGPATH_W) '$(srcdir)/config.cc'; fi` passepartout-preferencesdialog.o: preferencesdialog.cc @am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(passepartout_CXXFLAGS) $(CXXFLAGS) -MT passepartout-preferencesdialog.o -MD -MP -MF $(DEPDIR)/passepartout-preferencesdialog.Tpo -c -o passepartout-preferencesdialog.o `test -f 'preferencesdialog.cc' || echo '$(srcdir)/'`preferencesdialog.cc @am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/passepartout-preferencesdialog.Tpo $(DEPDIR)/passepartout-preferencesdialog.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='preferencesdialog.cc' object='passepartout-preferencesdialog.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(passepartout_CXXFLAGS) $(CXXFLAGS) -c -o passepartout-preferencesdialog.o `test -f 'preferencesdialog.cc' || echo '$(srcdir)/'`preferencesdialog.cc passepartout-preferencesdialog.obj: preferencesdialog.cc @am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(passepartout_CXXFLAGS) $(CXXFLAGS) -MT passepartout-preferencesdialog.obj -MD -MP -MF $(DEPDIR)/passepartout-preferencesdialog.Tpo -c -o passepartout-preferencesdialog.obj `if test -f 'preferencesdialog.cc'; then $(CYGPATH_W) 'preferencesdialog.cc'; else $(CYGPATH_W) '$(srcdir)/preferencesdialog.cc'; fi` @am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/passepartout-preferencesdialog.Tpo $(DEPDIR)/passepartout-preferencesdialog.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='preferencesdialog.cc' object='passepartout-preferencesdialog.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(passepartout_CXXFLAGS) $(CXXFLAGS) -c -o passepartout-preferencesdialog.obj `if test -f 'preferencesdialog.cc'; then $(CYGPATH_W) 'preferencesdialog.cc'; else $(CYGPATH_W) '$(srcdir)/preferencesdialog.cc'; fi` passepartout-propertiesdialog.o: propertiesdialog.cc @am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(passepartout_CXXFLAGS) $(CXXFLAGS) -MT passepartout-propertiesdialog.o -MD -MP -MF $(DEPDIR)/passepartout-propertiesdialog.Tpo -c -o passepartout-propertiesdialog.o `test -f 'propertiesdialog.cc' || echo '$(srcdir)/'`propertiesdialog.cc @am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/passepartout-propertiesdialog.Tpo $(DEPDIR)/passepartout-propertiesdialog.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='propertiesdialog.cc' object='passepartout-propertiesdialog.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(passepartout_CXXFLAGS) $(CXXFLAGS) -c -o passepartout-propertiesdialog.o `test -f 'propertiesdialog.cc' || echo '$(srcdir)/'`propertiesdialog.cc passepartout-propertiesdialog.obj: propertiesdialog.cc @am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(passepartout_CXXFLAGS) $(CXXFLAGS) -MT passepartout-propertiesdialog.obj -MD -MP -MF $(DEPDIR)/passepartout-propertiesdialog.Tpo -c -o passepartout-propertiesdialog.obj `if test -f 'propertiesdialog.cc'; then $(CYGPATH_W) 'propertiesdialog.cc'; else $(CYGPATH_W) '$(srcdir)/propertiesdialog.cc'; fi` @am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/passepartout-propertiesdialog.Tpo $(DEPDIR)/passepartout-propertiesdialog.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='propertiesdialog.cc' object='passepartout-propertiesdialog.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(passepartout_CXXFLAGS) $(CXXFLAGS) -c -o passepartout-propertiesdialog.obj `if test -f 'propertiesdialog.cc'; then $(CYGPATH_W) 'propertiesdialog.cc'; else $(CYGPATH_W) '$(srcdir)/propertiesdialog.cc'; fi` passepartout-imagemeta.o: imagemeta.cc @am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(passepartout_CXXFLAGS) $(CXXFLAGS) -MT passepartout-imagemeta.o -MD -MP -MF $(DEPDIR)/passepartout-imagemeta.Tpo -c -o passepartout-imagemeta.o `test -f 'imagemeta.cc' || echo '$(srcdir)/'`imagemeta.cc @am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/passepartout-imagemeta.Tpo $(DEPDIR)/passepartout-imagemeta.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='imagemeta.cc' object='passepartout-imagemeta.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(passepartout_CXXFLAGS) $(CXXFLAGS) -c -o passepartout-imagemeta.o `test -f 'imagemeta.cc' || echo '$(srcdir)/'`imagemeta.cc passepartout-imagemeta.obj: imagemeta.cc @am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(passepartout_CXXFLAGS) $(CXXFLAGS) -MT passepartout-imagemeta.obj -MD -MP -MF $(DEPDIR)/passepartout-imagemeta.Tpo -c -o passepartout-imagemeta.obj `if test -f 'imagemeta.cc'; then $(CYGPATH_W) 'imagemeta.cc'; else $(CYGPATH_W) '$(srcdir)/imagemeta.cc'; fi` @am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/passepartout-imagemeta.Tpo $(DEPDIR)/passepartout-imagemeta.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='imagemeta.cc' object='passepartout-imagemeta.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(passepartout_CXXFLAGS) $(CXXFLAGS) -c -o passepartout-imagemeta.obj `if test -f 'imagemeta.cc'; then $(CYGPATH_W) 'imagemeta.cc'; else $(CYGPATH_W) '$(srcdir)/imagemeta.cc'; fi` passepartout-rastermeta.o: rastermeta.cc @am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(passepartout_CXXFLAGS) $(CXXFLAGS) -MT passepartout-rastermeta.o -MD -MP -MF $(DEPDIR)/passepartout-rastermeta.Tpo -c -o passepartout-rastermeta.o `test -f 'rastermeta.cc' || echo '$(srcdir)/'`rastermeta.cc @am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/passepartout-rastermeta.Tpo $(DEPDIR)/passepartout-rastermeta.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='rastermeta.cc' object='passepartout-rastermeta.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(passepartout_CXXFLAGS) $(CXXFLAGS) -c -o passepartout-rastermeta.o `test -f 'rastermeta.cc' || echo '$(srcdir)/'`rastermeta.cc passepartout-rastermeta.obj: rastermeta.cc @am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(passepartout_CXXFLAGS) $(CXXFLAGS) -MT passepartout-rastermeta.obj -MD -MP -MF $(DEPDIR)/passepartout-rastermeta.Tpo -c -o passepartout-rastermeta.obj `if test -f 'rastermeta.cc'; then $(CYGPATH_W) 'rastermeta.cc'; else $(CYGPATH_W) '$(srcdir)/rastermeta.cc'; fi` @am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/passepartout-rastermeta.Tpo $(DEPDIR)/passepartout-rastermeta.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='rastermeta.cc' object='passepartout-rastermeta.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(passepartout_CXXFLAGS) $(CXXFLAGS) -c -o passepartout-rastermeta.obj `if test -f 'rastermeta.cc'; then $(CYGPATH_W) 'rastermeta.cc'; else $(CYGPATH_W) '$(srcdir)/rastermeta.cc'; fi` passepartout-textmeta.o: textmeta.cc @am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(passepartout_CXXFLAGS) $(CXXFLAGS) -MT passepartout-textmeta.o -MD -MP -MF $(DEPDIR)/passepartout-textmeta.Tpo -c -o passepartout-textmeta.o `test -f 'textmeta.cc' || echo '$(srcdir)/'`textmeta.cc @am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/passepartout-textmeta.Tpo $(DEPDIR)/passepartout-textmeta.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='textmeta.cc' object='passepartout-textmeta.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(passepartout_CXXFLAGS) $(CXXFLAGS) -c -o passepartout-textmeta.o `test -f 'textmeta.cc' || echo '$(srcdir)/'`textmeta.cc passepartout-textmeta.obj: textmeta.cc @am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(passepartout_CXXFLAGS) $(CXXFLAGS) -MT passepartout-textmeta.obj -MD -MP -MF $(DEPDIR)/passepartout-textmeta.Tpo -c -o passepartout-textmeta.obj `if test -f 'textmeta.cc'; then $(CYGPATH_W) 'textmeta.cc'; else $(CYGPATH_W) '$(srcdir)/textmeta.cc'; fi` @am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/passepartout-textmeta.Tpo $(DEPDIR)/passepartout-textmeta.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='textmeta.cc' object='passepartout-textmeta.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(passepartout_CXXFLAGS) $(CXXFLAGS) -c -o passepartout-textmeta.obj `if test -f 'textmeta.cc'; then $(CYGPATH_W) 'textmeta.cc'; else $(CYGPATH_W) '$(srcdir)/textmeta.cc'; fi` passepartout-groupmeta.o: groupmeta.cc @am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(passepartout_CXXFLAGS) $(CXXFLAGS) -MT passepartout-groupmeta.o -MD -MP -MF $(DEPDIR)/passepartout-groupmeta.Tpo -c -o passepartout-groupmeta.o `test -f 'groupmeta.cc' || echo '$(srcdir)/'`groupmeta.cc @am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/passepartout-groupmeta.Tpo $(DEPDIR)/passepartout-groupmeta.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='groupmeta.cc' object='passepartout-groupmeta.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(passepartout_CXXFLAGS) $(CXXFLAGS) -c -o passepartout-groupmeta.o `test -f 'groupmeta.cc' || echo '$(srcdir)/'`groupmeta.cc passepartout-groupmeta.obj: groupmeta.cc @am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(passepartout_CXXFLAGS) $(CXXFLAGS) -MT passepartout-groupmeta.obj -MD -MP -MF $(DEPDIR)/passepartout-groupmeta.Tpo -c -o passepartout-groupmeta.obj `if test -f 'groupmeta.cc'; then $(CYGPATH_W) 'groupmeta.cc'; else $(CYGPATH_W) '$(srcdir)/groupmeta.cc'; fi` @am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/passepartout-groupmeta.Tpo $(DEPDIR)/passepartout-groupmeta.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='groupmeta.cc' object='passepartout-groupmeta.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(passepartout_CXXFLAGS) $(CXXFLAGS) -c -o passepartout-groupmeta.obj `if test -f 'groupmeta.cc'; then $(CYGPATH_W) 'groupmeta.cc'; else $(CYGPATH_W) '$(srcdir)/groupmeta.cc'; fi` passepartout-pagemeta.o: pagemeta.cc @am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(passepartout_CXXFLAGS) $(CXXFLAGS) -MT passepartout-pagemeta.o -MD -MP -MF $(DEPDIR)/passepartout-pagemeta.Tpo -c -o passepartout-pagemeta.o `test -f 'pagemeta.cc' || echo '$(srcdir)/'`pagemeta.cc @am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/passepartout-pagemeta.Tpo $(DEPDIR)/passepartout-pagemeta.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='pagemeta.cc' object='passepartout-pagemeta.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(passepartout_CXXFLAGS) $(CXXFLAGS) -c -o passepartout-pagemeta.o `test -f 'pagemeta.cc' || echo '$(srcdir)/'`pagemeta.cc passepartout-pagemeta.obj: pagemeta.cc @am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(passepartout_CXXFLAGS) $(CXXFLAGS) -MT passepartout-pagemeta.obj -MD -MP -MF $(DEPDIR)/passepartout-pagemeta.Tpo -c -o passepartout-pagemeta.obj `if test -f 'pagemeta.cc'; then $(CYGPATH_W) 'pagemeta.cc'; else $(CYGPATH_W) '$(srcdir)/pagemeta.cc'; fi` @am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/passepartout-pagemeta.Tpo $(DEPDIR)/passepartout-pagemeta.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='pagemeta.cc' object='passepartout-pagemeta.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(passepartout_CXXFLAGS) $(CXXFLAGS) -c -o passepartout-pagemeta.obj `if test -f 'pagemeta.cc'; then $(CYGPATH_W) 'pagemeta.cc'; else $(CYGPATH_W) '$(srcdir)/pagemeta.cc'; fi` passepartout-propbase.o: propbase.cc @am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(passepartout_CXXFLAGS) $(CXXFLAGS) -MT passepartout-propbase.o -MD -MP -MF $(DEPDIR)/passepartout-propbase.Tpo -c -o passepartout-propbase.o `test -f 'propbase.cc' || echo '$(srcdir)/'`propbase.cc @am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/passepartout-propbase.Tpo $(DEPDIR)/passepartout-propbase.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='propbase.cc' object='passepartout-propbase.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(passepartout_CXXFLAGS) $(CXXFLAGS) -c -o passepartout-propbase.o `test -f 'propbase.cc' || echo '$(srcdir)/'`propbase.cc passepartout-propbase.obj: propbase.cc @am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(passepartout_CXXFLAGS) $(CXXFLAGS) -MT passepartout-propbase.obj -MD -MP -MF $(DEPDIR)/passepartout-propbase.Tpo -c -o passepartout-propbase.obj `if test -f 'propbase.cc'; then $(CYGPATH_W) 'propbase.cc'; else $(CYGPATH_W) '$(srcdir)/propbase.cc'; fi` @am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/passepartout-propbase.Tpo $(DEPDIR)/passepartout-propbase.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='propbase.cc' object='passepartout-propbase.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(passepartout_CXXFLAGS) $(CXXFLAGS) -c -o passepartout-propbase.obj `if test -f 'propbase.cc'; then $(CYGPATH_W) 'propbase.cc'; else $(CYGPATH_W) '$(srcdir)/propbase.cc'; fi` passepartout-pptcore.o: pptcore.cc @am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(passepartout_CXXFLAGS) $(CXXFLAGS) -MT passepartout-pptcore.o -MD -MP -MF $(DEPDIR)/passepartout-pptcore.Tpo -c -o passepartout-pptcore.o `test -f 'pptcore.cc' || echo '$(srcdir)/'`pptcore.cc @am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/passepartout-pptcore.Tpo $(DEPDIR)/passepartout-pptcore.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='pptcore.cc' object='passepartout-pptcore.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(passepartout_CXXFLAGS) $(CXXFLAGS) -c -o passepartout-pptcore.o `test -f 'pptcore.cc' || echo '$(srcdir)/'`pptcore.cc passepartout-pptcore.obj: pptcore.cc @am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(passepartout_CXXFLAGS) $(CXXFLAGS) -MT passepartout-pptcore.obj -MD -MP -MF $(DEPDIR)/passepartout-pptcore.Tpo -c -o passepartout-pptcore.obj `if test -f 'pptcore.cc'; then $(CYGPATH_W) 'pptcore.cc'; else $(CYGPATH_W) '$(srcdir)/pptcore.cc'; fi` @am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/passepartout-pptcore.Tpo $(DEPDIR)/passepartout-pptcore.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='pptcore.cc' object='passepartout-pptcore.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(passepartout_CXXFLAGS) $(CXXFLAGS) -c -o passepartout-pptcore.obj `if test -f 'pptcore.cc'; then $(CYGPATH_W) 'pptcore.cc'; else $(CYGPATH_W) '$(srcdir)/pptcore.cc'; fi` passepartout-docpropsdialog.o: docpropsdialog.cc @am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(passepartout_CXXFLAGS) $(CXXFLAGS) -MT passepartout-docpropsdialog.o -MD -MP -MF $(DEPDIR)/passepartout-docpropsdialog.Tpo -c -o passepartout-docpropsdialog.o `test -f 'docpropsdialog.cc' || echo '$(srcdir)/'`docpropsdialog.cc @am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/passepartout-docpropsdialog.Tpo $(DEPDIR)/passepartout-docpropsdialog.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='docpropsdialog.cc' object='passepartout-docpropsdialog.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(passepartout_CXXFLAGS) $(CXXFLAGS) -c -o passepartout-docpropsdialog.o `test -f 'docpropsdialog.cc' || echo '$(srcdir)/'`docpropsdialog.cc passepartout-docpropsdialog.obj: docpropsdialog.cc @am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(passepartout_CXXFLAGS) $(CXXFLAGS) -MT passepartout-docpropsdialog.obj -MD -MP -MF $(DEPDIR)/passepartout-docpropsdialog.Tpo -c -o passepartout-docpropsdialog.obj `if test -f 'docpropsdialog.cc'; then $(CYGPATH_W) 'docpropsdialog.cc'; else $(CYGPATH_W) '$(srcdir)/docpropsdialog.cc'; fi` @am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/passepartout-docpropsdialog.Tpo $(DEPDIR)/passepartout-docpropsdialog.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='docpropsdialog.cc' object='passepartout-docpropsdialog.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(passepartout_CXXFLAGS) $(CXXFLAGS) -c -o passepartout-docpropsdialog.obj `if test -f 'docpropsdialog.cc'; then $(CYGPATH_W) 'docpropsdialog.cc'; else $(CYGPATH_W) '$(srcdir)/docpropsdialog.cc'; fi` passepartout-builddate.o: builddate.cc @am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(passepartout_CXXFLAGS) $(CXXFLAGS) -MT passepartout-builddate.o -MD -MP -MF $(DEPDIR)/passepartout-builddate.Tpo -c -o passepartout-builddate.o `test -f 'builddate.cc' || echo '$(srcdir)/'`builddate.cc @am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/passepartout-builddate.Tpo $(DEPDIR)/passepartout-builddate.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='builddate.cc' object='passepartout-builddate.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(passepartout_CXXFLAGS) $(CXXFLAGS) -c -o passepartout-builddate.o `test -f 'builddate.cc' || echo '$(srcdir)/'`builddate.cc passepartout-builddate.obj: builddate.cc @am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(passepartout_CXXFLAGS) $(CXXFLAGS) -MT passepartout-builddate.obj -MD -MP -MF $(DEPDIR)/passepartout-builddate.Tpo -c -o passepartout-builddate.obj `if test -f 'builddate.cc'; then $(CYGPATH_W) 'builddate.cc'; else $(CYGPATH_W) '$(srcdir)/builddate.cc'; fi` @am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/passepartout-builddate.Tpo $(DEPDIR)/passepartout-builddate.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='builddate.cc' object='passepartout-builddate.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(passepartout_CXXFLAGS) $(CXXFLAGS) -c -o passepartout-builddate.obj `if test -f 'builddate.cc'; then $(CYGPATH_W) 'builddate.cc'; else $(CYGPATH_W) '$(srcdir)/builddate.cc'; fi` passepartout-windowmenus.o: windowmenus.cc @am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(passepartout_CXXFLAGS) $(CXXFLAGS) -MT passepartout-windowmenus.o -MD -MP -MF $(DEPDIR)/passepartout-windowmenus.Tpo -c -o passepartout-windowmenus.o `test -f 'windowmenus.cc' || echo '$(srcdir)/'`windowmenus.cc @am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/passepartout-windowmenus.Tpo $(DEPDIR)/passepartout-windowmenus.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='windowmenus.cc' object='passepartout-windowmenus.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(passepartout_CXXFLAGS) $(CXXFLAGS) -c -o passepartout-windowmenus.o `test -f 'windowmenus.cc' || echo '$(srcdir)/'`windowmenus.cc passepartout-windowmenus.obj: windowmenus.cc @am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(passepartout_CXXFLAGS) $(CXXFLAGS) -MT passepartout-windowmenus.obj -MD -MP -MF $(DEPDIR)/passepartout-windowmenus.Tpo -c -o passepartout-windowmenus.obj `if test -f 'windowmenus.cc'; then $(CYGPATH_W) 'windowmenus.cc'; else $(CYGPATH_W) '$(srcdir)/windowmenus.cc'; fi` @am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/passepartout-windowmenus.Tpo $(DEPDIR)/passepartout-windowmenus.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='windowmenus.cc' object='passepartout-windowmenus.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(passepartout_CXXFLAGS) $(CXXFLAGS) -c -o passepartout-windowmenus.obj `if test -f 'windowmenus.cc'; then $(CYGPATH_W) 'windowmenus.cc'; else $(CYGPATH_W) '$(srcdir)/windowmenus.cc'; fi` passepartout-stockitems.o: stockitems.cc @am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(passepartout_CXXFLAGS) $(CXXFLAGS) -MT passepartout-stockitems.o -MD -MP -MF $(DEPDIR)/passepartout-stockitems.Tpo -c -o passepartout-stockitems.o `test -f 'stockitems.cc' || echo '$(srcdir)/'`stockitems.cc @am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/passepartout-stockitems.Tpo $(DEPDIR)/passepartout-stockitems.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='stockitems.cc' object='passepartout-stockitems.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(passepartout_CXXFLAGS) $(CXXFLAGS) -c -o passepartout-stockitems.o `test -f 'stockitems.cc' || echo '$(srcdir)/'`stockitems.cc passepartout-stockitems.obj: stockitems.cc @am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(passepartout_CXXFLAGS) $(CXXFLAGS) -MT passepartout-stockitems.obj -MD -MP -MF $(DEPDIR)/passepartout-stockitems.Tpo -c -o passepartout-stockitems.obj `if test -f 'stockitems.cc'; then $(CYGPATH_W) 'stockitems.cc'; else $(CYGPATH_W) '$(srcdir)/stockitems.cc'; fi` @am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/passepartout-stockitems.Tpo $(DEPDIR)/passepartout-stockitems.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='stockitems.cc' object='passepartout-stockitems.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(passepartout_CXXFLAGS) $(CXXFLAGS) -c -o passepartout-stockitems.obj `if test -f 'stockitems.cc'; then $(CYGPATH_W) 'stockitems.cc'; else $(CYGPATH_W) '$(srcdir)/stockitems.cc'; fi` passepartout-clipboard.o: clipboard.cc @am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(passepartout_CXXFLAGS) $(CXXFLAGS) -MT passepartout-clipboard.o -MD -MP -MF $(DEPDIR)/passepartout-clipboard.Tpo -c -o passepartout-clipboard.o `test -f 'clipboard.cc' || echo '$(srcdir)/'`clipboard.cc @am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/passepartout-clipboard.Tpo $(DEPDIR)/passepartout-clipboard.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='clipboard.cc' object='passepartout-clipboard.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(passepartout_CXXFLAGS) $(CXXFLAGS) -c -o passepartout-clipboard.o `test -f 'clipboard.cc' || echo '$(srcdir)/'`clipboard.cc passepartout-clipboard.obj: clipboard.cc @am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(passepartout_CXXFLAGS) $(CXXFLAGS) -MT passepartout-clipboard.obj -MD -MP -MF $(DEPDIR)/passepartout-clipboard.Tpo -c -o passepartout-clipboard.obj `if test -f 'clipboard.cc'; then $(CYGPATH_W) 'clipboard.cc'; else $(CYGPATH_W) '$(srcdir)/clipboard.cc'; fi` @am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/passepartout-clipboard.Tpo $(DEPDIR)/passepartout-clipboard.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='clipboard.cc' object='passepartout-clipboard.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(passepartout_CXXFLAGS) $(CXXFLAGS) -c -o passepartout-clipboard.obj `if test -f 'clipboard.cc'; then $(CYGPATH_W) 'clipboard.cc'; else $(CYGPATH_W) '$(srcdir)/clipboard.cc'; fi` passepartout-templatepagedialog.o: templatepagedialog.cc @am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(passepartout_CXXFLAGS) $(CXXFLAGS) -MT passepartout-templatepagedialog.o -MD -MP -MF $(DEPDIR)/passepartout-templatepagedialog.Tpo -c -o passepartout-templatepagedialog.o `test -f 'templatepagedialog.cc' || echo '$(srcdir)/'`templatepagedialog.cc @am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/passepartout-templatepagedialog.Tpo $(DEPDIR)/passepartout-templatepagedialog.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='templatepagedialog.cc' object='passepartout-templatepagedialog.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(passepartout_CXXFLAGS) $(CXXFLAGS) -c -o passepartout-templatepagedialog.o `test -f 'templatepagedialog.cc' || echo '$(srcdir)/'`templatepagedialog.cc passepartout-templatepagedialog.obj: templatepagedialog.cc @am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(passepartout_CXXFLAGS) $(CXXFLAGS) -MT passepartout-templatepagedialog.obj -MD -MP -MF $(DEPDIR)/passepartout-templatepagedialog.Tpo -c -o passepartout-templatepagedialog.obj `if test -f 'templatepagedialog.cc'; then $(CYGPATH_W) 'templatepagedialog.cc'; else $(CYGPATH_W) '$(srcdir)/templatepagedialog.cc'; fi` @am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/passepartout-templatepagedialog.Tpo $(DEPDIR)/passepartout-templatepagedialog.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='templatepagedialog.cc' object='passepartout-templatepagedialog.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(passepartout_CXXFLAGS) $(CXXFLAGS) -c -o passepartout-templatepagedialog.obj `if test -f 'templatepagedialog.cc'; then $(CYGPATH_W) 'templatepagedialog.cc'; else $(CYGPATH_W) '$(srcdir)/templatepagedialog.cc'; fi` passepartout-authors.o: authors.cc @am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(passepartout_CXXFLAGS) $(CXXFLAGS) -MT passepartout-authors.o -MD -MP -MF $(DEPDIR)/passepartout-authors.Tpo -c -o passepartout-authors.o `test -f 'authors.cc' || echo '$(srcdir)/'`authors.cc @am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/passepartout-authors.Tpo $(DEPDIR)/passepartout-authors.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='authors.cc' object='passepartout-authors.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(passepartout_CXXFLAGS) $(CXXFLAGS) -c -o passepartout-authors.o `test -f 'authors.cc' || echo '$(srcdir)/'`authors.cc passepartout-authors.obj: authors.cc @am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(passepartout_CXXFLAGS) $(CXXFLAGS) -MT passepartout-authors.obj -MD -MP -MF $(DEPDIR)/passepartout-authors.Tpo -c -o passepartout-authors.obj `if test -f 'authors.cc'; then $(CYGPATH_W) 'authors.cc'; else $(CYGPATH_W) '$(srcdir)/authors.cc'; fi` @am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/passepartout-authors.Tpo $(DEPDIR)/passepartout-authors.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='authors.cc' object='passepartout-authors.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(passepartout_CXXFLAGS) $(CXXFLAGS) -c -o passepartout-authors.obj `if test -f 'authors.cc'; then $(CYGPATH_W) 'authors.cc'; else $(CYGPATH_W) '$(srcdir)/authors.cc'; fi` # This directory's subdirectories are mostly independent; you can cd # into them and run `make' without going through this Makefile. # To change the values of `make' variables: instead of editing Makefiles, # (1) if the variable is set in `config.status', edit `config.status' # (which will cause the Makefiles to be regenerated when you run `make'); # (2) otherwise, pass the desired values on the `make' command line. $(RECURSIVE_TARGETS): @failcom='exit 1'; \ for f in x $$MAKEFLAGS; do \ case $$f in \ *=* | --[!k]*);; \ *k*) failcom='fail=yes';; \ esac; \ done; \ dot_seen=no; \ target=`echo $@ | sed s/-recursive//`; \ list='$(SUBDIRS)'; for subdir in $$list; do \ echo "Making $$target in $$subdir"; \ if test "$$subdir" = "."; then \ dot_seen=yes; \ local_target="$$target-am"; \ else \ local_target="$$target"; \ fi; \ (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ || eval $$failcom; \ done; \ if test "$$dot_seen" = "no"; then \ $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ fi; test -z "$$fail" $(RECURSIVE_CLEAN_TARGETS): @failcom='exit 1'; \ for f in x $$MAKEFLAGS; do \ case $$f in \ *=* | --[!k]*);; \ *k*) failcom='fail=yes';; \ esac; \ done; \ dot_seen=no; \ case "$@" in \ distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ *) list='$(SUBDIRS)' ;; \ esac; \ rev=''; for subdir in $$list; do \ if test "$$subdir" = "."; then :; else \ rev="$$subdir $$rev"; \ fi; \ done; \ rev="$$rev ."; \ target=`echo $@ | sed s/-recursive//`; \ for subdir in $$rev; do \ echo "Making $$target in $$subdir"; \ if test "$$subdir" = "."; then \ local_target="$$target-am"; \ else \ local_target="$$target"; \ fi; \ (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ || eval $$failcom; \ done && test -z "$$fail" tags-recursive: list='$(SUBDIRS)'; for subdir in $$list; do \ test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \ done ctags-recursive: list='$(SUBDIRS)'; for subdir in $$list; do \ test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \ done ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \ END { if (nonempty) { for (i in files) print i; }; }'`; \ mkid -fID $$unique tags: TAGS TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) tags=; \ here=`pwd`; \ if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ include_option=--etags-include; \ empty_fix=.; \ else \ include_option=--include; \ empty_fix=; \ fi; \ list='$(SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ test ! -f $$subdir/TAGS || \ tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \ fi; \ done; \ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in files) print i; }; }'`; \ if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ $$tags $$unique; \ fi ctags: CTAGS CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) tags=; \ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in files) print i; }; }'`; \ test -z "$(CTAGS_ARGS)$$tags$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$tags $$unique GTAGS: here=`$(am__cd) $(top_builddir) && pwd` \ && cd $(top_srcdir) \ && gtags -i $(GTAGS_ARGS) $$here distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ fi; \ cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ else \ test -f $(distdir)/$$file \ || cp -p $$d/$$file $(distdir)/$$file \ || exit 1; \ fi; \ done list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ test -d "$(distdir)/$$subdir" \ || $(MKDIR_P) "$(distdir)/$$subdir" \ || exit 1; \ distdir=`$(am__cd) $(distdir) && pwd`; \ top_distdir=`$(am__cd) $(top_distdir) && pwd`; \ (cd $$subdir && \ $(MAKE) $(AM_MAKEFLAGS) \ top_distdir="$$top_distdir" \ distdir="$$distdir/$$subdir" \ am__remove_distdir=: \ am__skip_length_check=: \ distdir) \ || exit 1; \ fi; \ done check-am: all-am check: $(BUILT_SOURCES) $(MAKE) $(AM_MAKEFLAGS) check-recursive all-am: Makefile $(PROGRAMS) $(HEADERS) installdirs: installdirs-recursive installdirs-am: for dir in "$(DESTDIR)$(bindir)"; do \ test -z "$$dir" || $(MKDIR_P) "$$dir"; \ done install: $(BUILT_SOURCES) $(MAKE) $(AM_MAKEFLAGS) install-recursive install-exec: install-exec-recursive install-data: install-data-recursive uninstall: uninstall-recursive install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-recursive install-strip: $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ `test -z '$(STRIP)' || \ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install mostlyclean-generic: clean-generic: -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." -test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES) clean: clean-recursive clean-am: clean-binPROGRAMS clean-generic mostlyclean-am distclean: distclean-recursive -rm -rf ./$(DEPDIR) -rm -f Makefile distclean-am: clean-am distclean-compile distclean-generic \ distclean-tags dvi: dvi-recursive dvi-am: html: html-recursive info: info-recursive info-am: install-data-am: install-dvi: install-dvi-recursive install-exec-am: install-binPROGRAMS install-html: install-html-recursive install-info: install-info-recursive install-man: install-pdf: install-pdf-recursive install-ps: install-ps-recursive installcheck-am: maintainer-clean: maintainer-clean-recursive -rm -rf ./$(DEPDIR) -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-recursive mostlyclean-am: mostlyclean-compile mostlyclean-generic pdf: pdf-recursive pdf-am: ps: ps-recursive ps-am: uninstall-am: uninstall-binPROGRAMS .MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) install-am \ install-strip .PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \ all all-am check check-am clean clean-binPROGRAMS \ clean-generic ctags ctags-recursive distclean \ distclean-compile distclean-generic distclean-tags distdir dvi \ dvi-am html html-am info info-am install install-am \ install-binPROGRAMS install-data install-data-am install-dvi \ install-dvi-am install-exec install-exec-am install-html \ install-html-am install-info install-info-am install-man \ install-pdf install-pdf-am install-ps install-ps-am \ install-strip installcheck installcheck-am installdirs \ installdirs-am maintainer-clean maintainer-clean-generic \ mostlyclean mostlyclean-compile mostlyclean-generic pdf pdf-am \ ps ps-am tags tags-recursive uninstall uninstall-am \ uninstall-binPROGRAMS # Extra dependencies for builddate, so it is rebuilt every time anything else # is rebuilt passepartout-builddate.$(OBJEXT): \ $(filter-out passepartout-builddate.o, $(passepartout_OBJECTS)) \ $(pptpartlibs) # build a string out of the contents of AUTHORS authors.cc: $(top_srcdir)/AUTHORS Makefile awk 'BEGIN {print "const char *authors ="} {print "\"" $$0 "\\n\""} END {print ";"}' $< > $@ # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: passepartout-0.7.1/src/pptout/NOTES000066400000000000000000000006741140125232500172100ustar00rootroot00000000000000Here's a basic class tree for some of the classes ... Pageent (base class for any object on a page). | +--Basic_Frame | | | +--Cached_Frame | | | | | +--Image_Frame | | | | | +--Text_Frame | | | +--Raster_Frame | +--Group (has list of pagents) | +--Page Document (has list of Pagents and list of Text_Streams) Text_Frame <- two-way knowledge -> Text_Stream Todo: Fix filewatcher so it doesn't stat() all the time ... passepartout-0.7.1/src/pptout/aboutdialog.cc000066400000000000000000000067601140125232500212000ustar00rootroot00000000000000/// // Copyright (C) 2002 - 2004, Fredrik Arnerup & Rasmus Kaj, See COPYING /// #include "aboutdialog.h" #include "defines.h" #include "widget/wmisc.h" #include "widget/programs.h" #include #include #include #include #include #include #include "icons/logo.h" AboutDialog *AboutDialog::_instance = 0; extern const char *builddate; // The date this program was linked. // Defined in builddate.cc. // The contents of the AUTHORS file as a string in authors.cc extern const char *authors; namespace { const std::string mail_address = "passepartout@stacken.kth.se"; #ifdef HAVE_GNOME bool have_gnome = true; #else bool have_gnome = false; #endif } AboutDialog::AboutDialog() : DialogWrap("About") { set_resizable(false); // Info Gtk::Box *hbox = manage(new Gtk::HBox(false, double_space)); hbox->set_border_width(double_space); Gtk::Image *image = manage(new Gtk::Image(Gdk::Pixbuf::create_from_inline(69624, logo))); hbox->pack_start(*image, Gtk::PACK_SHRINK); Gtk::Box *message = manage(new Gtk::VBox()); hbox->pack_start(*message, Gtk::PACK_SHRINK); Gtk::Label *label = manage(new Gtk::Label("", Gtk::JUSTIFY_LEFT, Gtk::ALIGN_BOTTOM)); label->set_markup("Passepartout " + std::string(VERSION) + "" "\nCopyright © 2002 - 2004," " Fredrik Arnerup & Rasmus Kaj"); label->set_selectable(); message->pack_start(*label); label = manage(new Gtk::Label("", Gtk::JUSTIFY_LEFT, Gtk::ALIGN_TOP)); label->set_markup("" + homepage + ""); Gtk::Button *webpage = manage(new Gtk::Button()); webpage->add(*label); webpage->set_relief(Gtk::RELIEF_NONE); webpage->set_border_width(0); webpage->signal_clicked().connect(sigc::ptr_fun(&Programs::open_homepage)); message->pack_start(*webpage, Gtk::PACK_SHRINK); label = manage(new Gtk::Label("", Gtk::JUSTIFY_LEFT, Gtk::ALIGN_TOP)); label->set_markup("" + mail_address + ""); Gtk::Button *mail = manage(new Gtk::Button()); mail->add(*label); mail->set_relief(Gtk::RELIEF_NONE); mail->set_border_width(0); mail->signal_clicked().connect (sigc::bind(sigc::ptr_fun(&Programs::open_url), "mailto:" + mail_address)); message->pack_start(*mail, Gtk::PACK_SHRINK); label = manage(new Gtk::Label("", Gtk::JUSTIFY_LEFT, Gtk::ALIGN_BOTTOM)); label->set_markup("\nBuild date: " + std::string(builddate) + "\n" "GNOME support: " + (have_gnome ? "yes" : "no")); label->set_selectable(); message->pack_start(*label, Gtk::PACK_SHRINK); add_button(Gtk::Stock::CLOSE, Gtk::RESPONSE_CLOSE)->grab_focus(); // Credits Gtk::ScrolledWindow *scroller = manage(new Gtk::ScrolledWindow()); scroller->set_policy(Gtk::POLICY_AUTOMATIC, Gtk::POLICY_AUTOMATIC); label = manage(new Gtk::Label(Glib::ustring("\n") + authors)); scroller->add(*label); label->set_selectable(); // Notebook Gtk::Notebook *book = manage(new Gtk::Notebook()); book->append_page(*hbox, *manage(new Gtk::Label("_Info", 0.0, 0.5, true))); book->append_page(*scroller, *manage(new Gtk::Label("_Credits", 0.0, 0.5, true))); get_vbox()->pack_start(*book); show_all_children(); } AboutDialog &AboutDialog::instance() { if(!_instance) _instance = new AboutDialog(); return *_instance; } void AboutDialog::on_response(int response_id) { hide(); } passepartout-0.7.1/src/pptout/aboutdialog.h000066400000000000000000000005751140125232500210400ustar00rootroot00000000000000#ifndef ABOUTDIALOG_H // -*- c++ -*- #define ABOUTDIALOG_H /// // Copyright (C) 2002 - 2004, Fredrik Arnerup & Rasmus Kaj, See COPYING /// #include "widget/dialogwrap.h" /** * This is a singleton. */ class AboutDialog : public DialogWrap { public: static AboutDialog &instance(); private: AboutDialog(); void on_response(int); static AboutDialog *_instance; }; #endif passepartout-0.7.1/src/pptout/authors.cc000066400000000000000000000005701140125232500203640ustar00rootroot00000000000000const char *authors = "Maintainers\n" "-------\n" "Fredrik Arnerup \n" "Rasmus Kaj \n" "\n" "Contributors\n" "------------\n" "Sergej Gratchev - prefs dialog, gui work\n" "Ayose Cazorla León - threading bugfix\n" "Gaudenz Steinlin - man pages\n" "Magnus Henoch - postscript landscape mode bugfix\n" "Emissionen - being guinea pigs :-)\n" ; passepartout-0.7.1/src/pptout/builddate.cc000066400000000000000000000001771140125232500206370ustar00rootroot00000000000000/// // Copyright (C) 2003, 2004, Fredrik Arnerup & Rasmus Kaj, See COPYING /// const char *builddate = __DATE__ ", " __TIME__; passepartout-0.7.1/src/pptout/clipboard.cc000066400000000000000000000101311140125232500206300ustar00rootroot00000000000000/// // Copyright (C) 2002 - 2004, Fredrik Arnerup & Rasmus Kaj, See COPYING /// #include "clipboard.h" #include #include "document/page.h" #include "document/textframe.h" #include "document/loader.h" #include "util/warning.h" namespace { template P nonull(P p) { if(!p) throw std::runtime_error("A pointer was null in " __FILE__); return p; } std::string clip; // a global clip should suffice const std::string pptout_target = "PPTOUT_PAGENTS_2"; // with version number void on_clipboard_get(Gtk::SelectionData& selection_data, guint info) { const Glib::ustring& target = selection_data.get_target(); if(target == pptout_target) selection_data.set(pptout_target, clip); } void on_clipboard_clear() { // not really necessary clip.clear(); } void on_clipboard_received(const Gtk::SelectionData& selection_data, std::pair bundle) { DocRef document = bundle.first; Page *page = bundle.second; Glib::ustring clipboard_data = selection_data.get_data_as_string(); try { xmlpp::DomParser parser; parser.parse_memory(clipboard_data); xmlpp::Element *root = parser.get_document()->get_root_node(); if(!root) throw std::runtime_error("Root node is NULL."); xmlpp::Element::NodeList children = root->get_children(); document->select_all(false); for(xmlpp::Element::NodeList::const_iterator i = children.begin(); i != children.end(); i++) { if(xmlpp::Element *elem = dynamic_cast(*i)) { if(elem->get_name() == "text_stream") { std::auto_ptr stream(new TextStream (ElementWrap("", *elem))); // Don't try to add a stream with a name that already exists /// \todo rename the stream automatically? if(!document->get_text_stream(stream->get_name())) document->add_text_stream(stream.release()); } else { Pagent *pagent = load(ElementWrap("", *elem), page); page->add(pagent); document->select(pagent, false); // don't deselect } } } } catch(const std::exception& e) { throw std::runtime_error("Error encountered when pasting:\n" + std::string(e.what())); } } } void Clipboard::copy(DocRef document) { nonull(document); /// \todo make sure the selection is sorted const Document::Selection selected = document->selected(); if(selected.empty()) return; Glib::RefPtr clipboard = Gtk::Clipboard::get(); std::list target_list; target_list.push_back(Gtk::TargetEntry(pptout_target)); clipboard->set(target_list, sigc::ptr_fun(&on_clipboard_get), sigc::ptr_fun(&on_clipboard_clear)); // store an XML representation of the selected pagents xmlpp::Document rep; xmlpp::Element *root = rep.create_root_node("copy_data"); // save relevant streams typedef std::set Streams; Streams streams; for(Document::Selection::const_iterator i = selected.begin(); i != selected.end(); i++) { const TextFrame *frame = dynamic_cast(*i); if(!frame) continue; const TextStream *stream = frame->get_stream(); if(stream && streams.find(stream) == streams.end()) { streams.insert(stream); stream->save(*root, FileContext()); } } // save pagents for(Document::Selection::const_iterator i = selected.begin(); i != selected.end(); i++) { (*i)->save(*root, FileContext()); } clip = rep.write_to_string(); debug << clip << std::endl; } void Clipboard::cut(DocRef document) { nonull(document); copy(document); document->delete_selected(); } void Clipboard::paste(DocRef document, Page *page) { Gtk::Clipboard::get()->request_contents (pptout_target, sigc::bind(sigc::ptr_fun(&on_clipboard_received), std::make_pair(nonull(document), nonull(page)))); } passepartout-0.7.1/src/pptout/clipboard.h000066400000000000000000000005411140125232500204760ustar00rootroot00000000000000#ifndef CLIPBOARD_H // -*- c++ -*- #define CLIPBOARD_H /// // Copyright (C) 2002 - 2004, Fredrik Arnerup & Rasmus Kaj, See COPYING /// #include "document/document.h" /// Copy/paste selected Pagents from/to Document. namespace Clipboard { void copy(DocRef document); void cut(DocRef document); void paste(DocRef document, Page *page); } #endif passepartout-0.7.1/src/pptout/config.cc000066400000000000000000000105621140125232500201460ustar00rootroot00000000000000/// // Copyright (C) 2002 - 2004, Fredrik Arnerup & Rasmus Kaj, See COPYING /// #include "config.h" #include "preferencesdialog.h" #include #include "util/warning.h" #include "util/filesys.h" #include "propbase.h" PFile PFile::instance = PFile(); PFile &config = PFile::instance; PFile::PFile(): ReshapeBoxSize("ReshapeBoxSize", "Size of reshape handles"), DefaultResolution("DefaultResolution", "Default image resolution"), ZoomLevel("ZoomLevel", "Default page zoom level"), StartPage("StartPage", "Default start page in a new document"), Landscape("Landscape", "Landscape format is default"), FakeTransparency("FakeTransparency", "White is transparent"), SingleSided("SingleSided", "Pages are single-sided"), PaperName("PaperName", "Default paper"), PrintCommand("PrintCommand", "Printing command"), StylesheetPath("StylesheetPath", "Path to look for XSLT files in"), DefaultStylesheet("DefaultStylesheet", "Default text stylesheet"), DocTemplatePath("DocTemplatePath", "Default document template"), PSInterpreter("PSInterpreter", "Command to run Ghostscript"), LengthUnit("LengthUnit", "Default unit for measuring lengths"), first_error(true) { // set default values declare_var(&ReshapeBoxSize); ReshapeBoxSize.visible = false; //Don't show up in preferences dialog ReshapeBoxSize.values.push_back(7); declare_var(&DefaultResolution); DefaultResolution.values.push_back(72); declare_var(&ZoomLevel); ZoomLevel.visible = false;//Option not implemented yet=>nothing to control ZoomLevel.values.push_back(50); declare_var(&StartPage); StartPage.values.push_back(1); declare_var(&Landscape); Landscape.visible = false; Landscape.values.push_back(false); declare_var(&FakeTransparency); FakeTransparency.visible = false; FakeTransparency.values.push_back(true); declare_var(&SingleSided); SingleSided.visible = false; SingleSided.values.push_back(false); declare_var(&PaperName); PaperName.values.push_back("A4"); declare_var(&PrintCommand); PrintCommand.values.push_back("lpr"); declare_var(&StylesheetPath); StylesheetPath.values.push_back(XMLPATH); declare_var(&DefaultStylesheet); DefaultStylesheet.values.push_back(""); declare_var(&DocTemplatePath); DocTemplatePath.values.push_back(""); declare_var(&PSInterpreter); PSInterpreter.values.push_back("gs"); declare_var(&LengthUnit); LengthUnit.values.push_back("pt"); // Try to get the $HOME location std::string home = Glib::get_home_dir(); user_file = home.empty() ? "" : home + "/.pptout"; if(home.empty()) verbose << "Couldn't find your home directory. " "Try changing the $HOME environment variable!" << std::endl; global_file = "/etc/pptout"; } PFile::~PFile() { // Evil! All your prior settings are belongs to us ... if(!user_file.empty()) write(user_file); delete dialog; } void PFile::read() { if(!user_file.empty() && access(user_file)) { debug << "Reading configuration from " << user_file << std::endl; Config::File::read(user_file); } else { if(access(global_file)) { debug << "Reading configuration from " << global_file << std::endl; Config::File::read(global_file); } else debug << "No configuration file found" << std::endl; debug << "Creating configuration file " << user_file << std::endl; if(!user_file.empty()) write(user_file); } } void PFile::write(const std::string &filename) { using std::endl; std::ofstream out(filename.c_str()); if(!out) { error("Could not write to \"" + filename + '"'); return; } for(Config::Vars::const_iterator i = vars.begin(); i != vars.end(); i++) { if(GuiVar *guivar = dynamic_cast(*i)) out << "# " << guivar->desc << endl; out << (*i)->name << " = "; (*i)->print(out); out << endl << endl; } } Gtk::Dialog &PFile::get_dialog() { if(dialog) return *dialog; dialog = new PreferencesDialog(); dialog->signal_hide().connect(sigc::mem_fun(*this, &PFile::dialog_done)); return *dialog; } void PFile::dialog_show() { get_dialog(); // create it if necessary if(dialog) dialog->show_all(); } void PFile::dialog_done() { if(dialog) { delete dialog; dialog = 0; } } void PFile::error(const std::string &message) { if(first_error) { warning << "Errors in config file:" << std::endl; first_error = false; } warning << message << std::endl; } passepartout-0.7.1/src/pptout/config.h000066400000000000000000000033751140125232500200140ustar00rootroot00000000000000#ifndef CONFIG_H // -*- c++ -*- #define CONFIG_H /// // Copyright (C) 2002 - 2004, Fredrik Arnerup & Rasmus Kaj, See COPYING /// #include "util/configfile.h" #include #include /** Base class for config variables with a user interface * representation. */ struct GuiVar { /// description std::string desc; /// display in gui bool visible; GuiVar(std::string desc_): desc(desc_), visible(true) {} }; struct BVar: public Config::BoolVar, public GuiVar { BVar(std::string name_, std::string desc_): BoolVar(name_), GuiVar(desc_) {} }; struct SVar: public Config::StringVar, public GuiVar { SVar(std::string name_, std::string desc_): StringVar(name_), GuiVar(desc_) {} }; struct FVar: public Config::FloatVar, public GuiVar { FVar(std::string name_, std::string desc_): FloatVar(name_), GuiVar(desc_) {} }; /// Passepartout-specific config file reader. class PFile: public Config::File, public sigc::trackable { public: /// The global instance. static PFile instance; FVar ReshapeBoxSize, DefaultResolution, ZoomLevel, StartPage; BVar Landscape, FakeTransparency, SingleSided; SVar PaperName, PrintCommand, StylesheetPath, DefaultStylesheet, DocTemplatePath, PSInterpreter, LengthUnit; PFile(); ~PFile(); Gtk::Dialog &get_dialog(); void dialog_show(); /// Read the config file. /** main() calls this after the cerr aliases are set. */ void read(); /** Overrides Config::File::write() */ void write(const std::string &filename); protected: void error(const std::string &message); void dialog_done(); Gtk::Dialog *dialog; bool first_error; std::string user_file, global_file; }; /** Global name for PFile::instance, for convenience. */ extern PFile &config; #endif passepartout-0.7.1/src/pptout/docmeta.cc000066400000000000000000000012071140125232500203110ustar00rootroot00000000000000/// // Copyright (C) 2002 - 2004, Fredrik Arnerup & Rasmus Kaj, See COPYING /// #include "docmeta.h" #include "sigc++/sigc++.h" DocMeta::DocMeta(DocRef _document, const Glib::ustring &filename) : data(new DocData()), document(_document) { data->reference(); data->filename = filename; } // DocMeta::DocMeta(const DocMeta &orig) // : data(orig.data) // { // std::cerr << "copying" << std::endl; // document = orig.document; // } sigc::signal& DocMeta::changed_signal() { return data->changed_signal; } void DocMeta::set_filename(const Glib::ustring &filename) { data->filename = filename; data->changed_signal(); } passepartout-0.7.1/src/pptout/docmeta.h000066400000000000000000000021031140125232500201470ustar00rootroot00000000000000#ifndef DOCMETA_H // -*- c++ -*- #define DOCMETA_H /// // Copyright (C) 2002 - 2004, Fredrik Arnerup & Rasmus Kaj, See COPYING /// #include #include "document/document.h" /** Holds a Document together with data that is not part of the * Document. The data is reference counted, so there is only one * instance of the data per Document. */ class DocMeta { public: explicit DocMeta(DocRef _document, const Glib::ustring &filename = Glib::ustring()); DocRef get_document() const { return document; } Document* operator->() const { return document.operator->(); } /** Returns a signal that is emitted when the data has changed. */ sigc::signal& changed_signal(); const Glib::ustring& get_filename() const { return data->filename; } void set_filename(const Glib::ustring &filename); operator bool() const { return document; } private: class DocData: public RefCounted { public: sigc::signal changed_signal; Glib::ustring filename; }; Glib::RefPtr data; DocRef document; // unused DocMeta(); }; #endif passepartout-0.7.1/src/pptout/docpropsdialog.cc000066400000000000000000000212141140125232500217060ustar00rootroot00000000000000/// // Copyright (C) 2002 - 2004, Fredrik Arnerup & Rasmus Kaj, See COPYING /// #include "docpropsdialog.h" #include #include #include #include #include #include #include #include #include #include "util/warning.h" #include "document/paper_sizes.h" #include "document/document.h" #include "window.h" #include "config.h" #include "widget/filesel.h" #include "widget/spinner.h" #include "widget/wmisc.h" #include "widget/usererror.h" DocPropsDialog *DocPropsDialog::_instance = 0; DocPropsDialog &DocPropsDialog::instance() { if(!_instance) _instance = new DocPropsDialog(); return *_instance; } DocPropsDialog::DocPropsDialog(): DialogWrap(""), // don't know title or parent view(0) { template_button = manage(new Gtk::CheckButton("_Use template:", true)); portrait_button = manage(new Gtk::RadioButton("_Portrait", true)); landscape_button = manage(new Gtk::RadioButton("_Landscape", true)); single_sided_button = manage(new Gtk::RadioButton("_Single-sided", true)); double_sided_button = manage(new Gtk::RadioButton("_Double-sided", true)); paper_size = manage(new Gtk::ComboBoxText()); file_entry = manage(new FileEntry("Select template")); first_page = manage(new Spinner(config.StartPage.values.front(), false)); Gtk::HBox *template_box = manage(new Gtk::HBox(false, double_space)); Gtk::VBox *sidedness_box = manage(new Gtk::VBox(false, single_space)), *format_box3 = manage(new Gtk::VBox(false, single_space)); Gtk::HBox *first_page_box = manage(new Gtk::HBox(false, single_space)); format_box = manage(new Gtk::VBox(false, double_space)); Gtk::VBox *vbox = manage(new Gtk::VBox(false, triple_space)); vbox->set_border_width(border_width); set_modal(true); set_resizable(false); { Gtk::RadioButton::Group group = landscape_button->get_group(); portrait_button->set_group(group); } { Gtk::RadioButton::Group group = double_sided_button->get_group(); single_sided_button->set_group(group); } template_box->pack_start(*template_button, Gtk::PACK_SHRINK); template_box->pack_start(*file_entry, Gtk::PACK_EXPAND_WIDGET); format_box3->pack_start(*paper_size, Gtk::PACK_SHRINK); format_box3->pack_start(*portrait_button, Gtk::PACK_SHRINK); format_box3->pack_start(*landscape_button, Gtk::PACK_SHRINK); sidedness_box->pack_start(*single_sided_button, Gtk::PACK_SHRINK); sidedness_box->pack_start(*double_sided_button, Gtk::PACK_SHRINK); Gtk::Label *format_label = manage(new Gtk::Label("Document _format", 0.0, 0.5, true)); format_label->set_use_markup(); format_label->set_mnemonic_widget(*paper_size); format_box->pack_start(*format_label); Gtk::HBox *format_box2 = manage(new Gtk::HBox()); format_box2->pack_start(*manage(new Gtk::Label(" "))); format_box2->pack_start(*format_box3); format_box2->pack_start(*manage(new Gtk::VSeparator()), Gtk::PACK_SHRINK, double_space); format_box2->pack_start(*sidedness_box); format_box->pack_start(*format_box2); first_page_box->pack_end(*first_page, Gtk::PACK_SHRINK); Gtk::Label *first_page_label = manage(new Gtk::Label("First page nu_mber:", true)); first_page_label->set_mnemonic_widget(first_page->get_spinbutton()); first_page_box->pack_end(*first_page_label, Gtk::PACK_SHRINK); vbox->pack_start(*template_box); vbox->pack_start(*manage(new Gtk::HSeparator())); vbox->pack_start(*format_box); vbox->pack_start(*manage(new Gtk::HSeparator())); vbox->pack_start(*first_page_box); get_vbox()->pack_start(*vbox); template_button->set_active(true); file_entry->entry.set_text(config.DocTemplatePath.values.front()); portrait_button->set_active(!config.Landscape.values.front()); config.SingleSided.values.front() ? single_sided_button->set_active() : double_sided_button->set_active(); cancel_button = add_button(Gtk::Stock::CANCEL, 0); ok_button = add_button(Gtk::Stock::OK, 1); create_button = add_button(Gtk::Stock::NEW, 1); template_button->signal_clicked().connect (sigc::mem_fun(*this, &DocPropsDialog::update_mode)); update_mode(); get_vbox()->show_all(); get_action_area()->show_all(); } DocPropsDialog::~DocPropsDialog() {} void DocPropsDialog::update_mode() { bool active = template_button->get_active(); format_box->set_sensitive(!active); file_entry->set_sensitive(active); } namespace { // build list of paper sizes void fill_paper_size(Gtk::ComboBoxText &paper_size, std::string selected_paper) { if(papers.sizes.find(selected_paper) == papers.sizes.end()) { warning << "Paper format \"" << selected_paper << "\" is unknown." << std::endl; selected_paper = "A4"; } int i = 0; for(std::map::const_iterator size = papers.sizes.begin(); size != papers.sizes.end(); size++, i++) { paper_size.append_text(size->first); if(size->first == selected_paper) paper_size.set_active(i); } } } void DocPropsDialog::show_it(DocumentView *_view, bool create_new) { std::string selected_paper = config.PaperName.values.front(); new_document = create_new; view = _view; if(!new_document) { DocRef document = view->get_document(); if(!document) return; std::string template_file = document->get_template_file(); template_button->set_active(!template_file.empty()); first_page->set(document->get_first_page_num()); portrait_button->set_active(document->get_orientation() == Papers::PORTRAIT); double_sided_button->set_active(document->is_doublesided()); selected_paper = document->get_paper_name(); create_button->hide(); ok_button->show(); cancel_button->grab_default(); show(); // Gtk::Entry::set_position doesn't seem to work // unless the entry is shown first file_entry->entry.set_text(template_file); } else { // New document create_button->show(); ok_button->hide(); create_button->grab_default(); template_button->set_active(true); first_page->set(config.StartPage.values.front()); //Restore default show(); } Glib::RefPtr::cast_dynamic(paper_size->get_model())->clear(); fill_paper_size(*paper_size, selected_paper); // have to show() first set_title(new_document ? "Create new document" : "Document properties"); } void DocPropsDialog::on_response(int response_id) { if(response_id == 0) { hide(); } else if(response_id == 1) { Papers::Orientation orientation = portrait_button->get_active() ? Papers::PORTRAIT : Papers::LANDSCAPE; if(template_button->get_active() && file_entry->entry.get_text().empty()) { throw UserError("No template file was selected", "Either select a template or uncheck" " \"Use template\"."); } if(new_document) { // Create new document DocRef document = Document::null(); if(template_button->get_active()){ // Create from template document = Document::create(file_entry->entry.get_text()); document->set_first_page_num(int(first_page->get())); //Save template path config.DocTemplatePath.values.front() = file_entry->entry.get_text(); } else { document = Document::create(); document->set_paper_name(paper_size->get_active_text()); config.PaperName.values.front() = paper_size->get_active_text(); document->set_orientation(orientation); config.Landscape.values.front() = !portrait_button->get_active(); document->set_doublesided(double_sided_button->get_active()); config.SingleSided.values.front() = single_sided_button->get_active(); document->set_first_page_num(int(first_page->get())); } if(view && !view->get_document()) view->set_document(DocMeta(document)); else new FrameWindow("", document); hide(); } else { // Modify existing document DocRef document = view->get_document(); if(!document) return; if(template_button->get_active()) { // create from template document->set_template(file_entry->entry.get_text()); document->set_first_page_num(int(first_page->get())); //Save template path config.DocTemplatePath.values.front() = file_entry->entry.get_text(); } else { document->set_template(""); document->set_paper_name(paper_size->get_active_text()); config.PaperName.values.front()= paper_size->get_active_text(); document->set_orientation(orientation); config.Landscape.values.front() = !portrait_button->get_active(); document->set_doublesided(double_sided_button->get_active()); config.SingleSided.values.front()= single_sided_button->get_active(); document->set_first_page_num(int(first_page->get())); } hide(); } } } passepartout-0.7.1/src/pptout/docpropsdialog.h000066400000000000000000000024271140125232500215550ustar00rootroot00000000000000#ifndef DOCPROPSDIALOG_H // -*- c++ -*- #define DOCPROPSDIALOG_H /// // Copyright (C) 2002 - 2004, Fredrik Arnerup & Rasmus Kaj, See COPYING /// #include "widget/dialogwrap.h" class DocumentView; namespace Gtk { class CheckButton; class RadioButton; class Button; class VBox; class ComboBoxText; }; class FileEntry; class Spinner; /** * This is a Singleton. */ class DocPropsDialog : public DialogWrap { public: static DocPropsDialog &instance(); void modify(DocumentView *_view) {show_it(_view, false);} void create(DocumentView *_view) {show_it(_view, true);}; private: static DocPropsDialog *_instance; Gtk::RadioButton *portrait_button, *landscape_button, *single_sided_button, *double_sided_button; Gtk::CheckButton *template_button; Gtk::Button *cancel_button, *ok_button, *create_button; Gtk::VBox *format_box; Gtk::ComboBoxText *paper_size; FileEntry *file_entry; Spinner *first_page; bool new_document; DocumentView *view; DocPropsDialog(); // no default constructors: DocPropsDialog(const DocPropsDialog&); void operator = (const DocPropsDialog&); // no destructor ~DocPropsDialog(); void show_raise() {} void update_mode(); void show_it(DocumentView *_view, bool create_new); void on_response(int response_id); }; #endif passepartout-0.7.1/src/pptout/document/000077500000000000000000000000001140125232500202045ustar00rootroot00000000000000passepartout-0.7.1/src/pptout/document/Makefile.am000066400000000000000000000011201140125232500222320ustar00rootroot00000000000000noinst_LIBRARIES = libdocument.a dist_noinst_HEADERS = basicframe.h cachedframe.h document.h group.h \ imageframe.h page.h pagent.h rasterframe.h textframe.h \ textstream.h fileerrors.h paper_sizes.h getxsltparams.h \ loader.h filecontext.h typesetterthread.h libdocument_a_SOURCES = basicframe.cc cachedframe.cc document.cc \ group.cc imageframe.cc page.cc pagent.cc rasterframe.cc \ textframe.cc textstream.cc paper_sizes.cc getxsltparams.cc \ loader.cc typesetterthread.cc libdocument_a_CXXFLAGS = $(GTKMM_CFLAGS) $(XMLPP_CFLAGS) libdocument_a_CXXFLAGS += -I$(top_srcdir)/src passepartout-0.7.1/src/pptout/document/Makefile.in000066400000000000000000001203311140125232500222510ustar00rootroot00000000000000# Makefile.in generated by automake 1.10.1 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, # 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ VPATH = @srcdir@ pkgdatadir = $(datadir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : subdir = src/pptout/document DIST_COMMON = $(dist_noinst_HEADERS) $(srcdir)/Makefile.am \ $(srcdir)/Makefile.in ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs CONFIG_HEADER = $(top_builddir)/src/defines.h CONFIG_CLEAN_FILES = LIBRARIES = $(noinst_LIBRARIES) AR = ar ARFLAGS = cru libdocument_a_AR = $(AR) $(ARFLAGS) libdocument_a_LIBADD = am_libdocument_a_OBJECTS = libdocument_a-basicframe.$(OBJEXT) \ libdocument_a-cachedframe.$(OBJEXT) \ libdocument_a-document.$(OBJEXT) libdocument_a-group.$(OBJEXT) \ libdocument_a-imageframe.$(OBJEXT) \ libdocument_a-page.$(OBJEXT) libdocument_a-pagent.$(OBJEXT) \ libdocument_a-rasterframe.$(OBJEXT) \ libdocument_a-textframe.$(OBJEXT) \ libdocument_a-textstream.$(OBJEXT) \ libdocument_a-paper_sizes.$(OBJEXT) \ libdocument_a-getxsltparams.$(OBJEXT) \ libdocument_a-loader.$(OBJEXT) \ libdocument_a-typesetterthread.$(OBJEXT) libdocument_a_OBJECTS = $(am_libdocument_a_OBJECTS) DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)/src depcomp = $(SHELL) $(top_srcdir)/depcomp am__depfiles_maybe = depfiles CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) CXXLD = $(CXX) CXXLINK = $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(AM_LDFLAGS) $(LDFLAGS) \ -o $@ SOURCES = $(libdocument_a_SOURCES) DIST_SOURCES = $(libdocument_a_SOURCES) HEADERS = $(dist_noinst_HEADERS) ETAGS = etags CTAGS = ctags DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ AMTAR = @AMTAR@ APPLY_RPATH = @APPLY_RPATH@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CXX = @CXX@ CXXDEPMODE = @CXXDEPMODE@ CXXFLAGS = @CXXFLAGS@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ FREETYPE_CFLAGS = @FREETYPE_CFLAGS@ FREETYPE_LIBS = @FREETYPE_LIBS@ GNOMECANVAS_CFLAGS = @GNOMECANVAS_CFLAGS@ GNOMECANVAS_LIBS = @GNOMECANVAS_LIBS@ GNOMEVFS_CFLAGS = @GNOMEVFS_CFLAGS@ GNOMEVFS_LIBS = @GNOMEVFS_LIBS@ GNOME_CFLAGS = @GNOME_CFLAGS@ GNOME_LIBS = @GNOME_LIBS@ GREP = @GREP@ GTHREAD_CFLAGS = @GTHREAD_CFLAGS@ GTHREAD_LIBS = @GTHREAD_LIBS@ GTKMM_CFLAGS = @GTKMM_CFLAGS@ GTKMM_LIBS = @GTKMM_LIBS@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ LDFLAGS = @LDFLAGS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LTLIBOBJS = @LTLIBOBJS@ MAKEINFO = @MAKEINFO@ MKDIR_P = @MKDIR_P@ OBJEXT = @OBJEXT@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ RANLIB = @RANLIB@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ VERSION = @VERSION@ XMLPP_CFLAGS = @XMLPP_CFLAGS@ XMLPP_LIBS = @XMLPP_LIBS@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ ac_ct_CC = @ac_ct_CC@ ac_ct_CXX = @ac_ct_CXX@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build_alias = @build_alias@ builddir = @builddir@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host_alias = @host_alias@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ xmldir = @xmldir@ noinst_LIBRARIES = libdocument.a dist_noinst_HEADERS = basicframe.h cachedframe.h document.h group.h \ imageframe.h page.h pagent.h rasterframe.h textframe.h \ textstream.h fileerrors.h paper_sizes.h getxsltparams.h \ loader.h filecontext.h typesetterthread.h libdocument_a_SOURCES = basicframe.cc cachedframe.cc document.cc \ group.cc imageframe.cc page.cc pagent.cc rasterframe.cc \ textframe.cc textstream.cc paper_sizes.cc getxsltparams.cc \ loader.cc typesetterthread.cc libdocument_a_CXXFLAGS = $(GTKMM_CFLAGS) $(XMLPP_CFLAGS) \ -I$(top_srcdir)/src all: all-am .SUFFIXES: .SUFFIXES: .cc .o .obj $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ && exit 0; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign src/pptout/document/Makefile'; \ cd $(top_srcdir) && \ $(AUTOMAKE) --foreign src/pptout/document/Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh clean-noinstLIBRARIES: -test -z "$(noinst_LIBRARIES)" || rm -f $(noinst_LIBRARIES) libdocument.a: $(libdocument_a_OBJECTS) $(libdocument_a_DEPENDENCIES) -rm -f libdocument.a $(libdocument_a_AR) libdocument.a $(libdocument_a_OBJECTS) $(libdocument_a_LIBADD) $(RANLIB) libdocument.a mostlyclean-compile: -rm -f *.$(OBJEXT) distclean-compile: -rm -f *.tab.c @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libdocument_a-basicframe.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libdocument_a-cachedframe.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libdocument_a-document.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libdocument_a-getxsltparams.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libdocument_a-group.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libdocument_a-imageframe.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libdocument_a-loader.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libdocument_a-page.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libdocument_a-pagent.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libdocument_a-paper_sizes.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libdocument_a-rasterframe.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libdocument_a-textframe.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libdocument_a-textstream.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libdocument_a-typesetterthread.Po@am__quote@ .cc.o: @am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< @am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ $< .cc.obj: @am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` @am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'` libdocument_a-basicframe.o: basicframe.cc @am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libdocument_a_CXXFLAGS) $(CXXFLAGS) -MT libdocument_a-basicframe.o -MD -MP -MF $(DEPDIR)/libdocument_a-basicframe.Tpo -c -o libdocument_a-basicframe.o `test -f 'basicframe.cc' || echo '$(srcdir)/'`basicframe.cc @am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/libdocument_a-basicframe.Tpo $(DEPDIR)/libdocument_a-basicframe.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='basicframe.cc' object='libdocument_a-basicframe.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libdocument_a_CXXFLAGS) $(CXXFLAGS) -c -o libdocument_a-basicframe.o `test -f 'basicframe.cc' || echo '$(srcdir)/'`basicframe.cc libdocument_a-basicframe.obj: basicframe.cc @am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libdocument_a_CXXFLAGS) $(CXXFLAGS) -MT libdocument_a-basicframe.obj -MD -MP -MF $(DEPDIR)/libdocument_a-basicframe.Tpo -c -o libdocument_a-basicframe.obj `if test -f 'basicframe.cc'; then $(CYGPATH_W) 'basicframe.cc'; else $(CYGPATH_W) '$(srcdir)/basicframe.cc'; fi` @am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/libdocument_a-basicframe.Tpo $(DEPDIR)/libdocument_a-basicframe.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='basicframe.cc' object='libdocument_a-basicframe.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libdocument_a_CXXFLAGS) $(CXXFLAGS) -c -o libdocument_a-basicframe.obj `if test -f 'basicframe.cc'; then $(CYGPATH_W) 'basicframe.cc'; else $(CYGPATH_W) '$(srcdir)/basicframe.cc'; fi` libdocument_a-cachedframe.o: cachedframe.cc @am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libdocument_a_CXXFLAGS) $(CXXFLAGS) -MT libdocument_a-cachedframe.o -MD -MP -MF $(DEPDIR)/libdocument_a-cachedframe.Tpo -c -o libdocument_a-cachedframe.o `test -f 'cachedframe.cc' || echo '$(srcdir)/'`cachedframe.cc @am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/libdocument_a-cachedframe.Tpo $(DEPDIR)/libdocument_a-cachedframe.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='cachedframe.cc' object='libdocument_a-cachedframe.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libdocument_a_CXXFLAGS) $(CXXFLAGS) -c -o libdocument_a-cachedframe.o `test -f 'cachedframe.cc' || echo '$(srcdir)/'`cachedframe.cc libdocument_a-cachedframe.obj: cachedframe.cc @am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libdocument_a_CXXFLAGS) $(CXXFLAGS) -MT libdocument_a-cachedframe.obj -MD -MP -MF $(DEPDIR)/libdocument_a-cachedframe.Tpo -c -o libdocument_a-cachedframe.obj `if test -f 'cachedframe.cc'; then $(CYGPATH_W) 'cachedframe.cc'; else $(CYGPATH_W) '$(srcdir)/cachedframe.cc'; fi` @am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/libdocument_a-cachedframe.Tpo $(DEPDIR)/libdocument_a-cachedframe.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='cachedframe.cc' object='libdocument_a-cachedframe.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libdocument_a_CXXFLAGS) $(CXXFLAGS) -c -o libdocument_a-cachedframe.obj `if test -f 'cachedframe.cc'; then $(CYGPATH_W) 'cachedframe.cc'; else $(CYGPATH_W) '$(srcdir)/cachedframe.cc'; fi` libdocument_a-document.o: document.cc @am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libdocument_a_CXXFLAGS) $(CXXFLAGS) -MT libdocument_a-document.o -MD -MP -MF $(DEPDIR)/libdocument_a-document.Tpo -c -o libdocument_a-document.o `test -f 'document.cc' || echo '$(srcdir)/'`document.cc @am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/libdocument_a-document.Tpo $(DEPDIR)/libdocument_a-document.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='document.cc' object='libdocument_a-document.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libdocument_a_CXXFLAGS) $(CXXFLAGS) -c -o libdocument_a-document.o `test -f 'document.cc' || echo '$(srcdir)/'`document.cc libdocument_a-document.obj: document.cc @am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libdocument_a_CXXFLAGS) $(CXXFLAGS) -MT libdocument_a-document.obj -MD -MP -MF $(DEPDIR)/libdocument_a-document.Tpo -c -o libdocument_a-document.obj `if test -f 'document.cc'; then $(CYGPATH_W) 'document.cc'; else $(CYGPATH_W) '$(srcdir)/document.cc'; fi` @am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/libdocument_a-document.Tpo $(DEPDIR)/libdocument_a-document.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='document.cc' object='libdocument_a-document.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libdocument_a_CXXFLAGS) $(CXXFLAGS) -c -o libdocument_a-document.obj `if test -f 'document.cc'; then $(CYGPATH_W) 'document.cc'; else $(CYGPATH_W) '$(srcdir)/document.cc'; fi` libdocument_a-group.o: group.cc @am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libdocument_a_CXXFLAGS) $(CXXFLAGS) -MT libdocument_a-group.o -MD -MP -MF $(DEPDIR)/libdocument_a-group.Tpo -c -o libdocument_a-group.o `test -f 'group.cc' || echo '$(srcdir)/'`group.cc @am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/libdocument_a-group.Tpo $(DEPDIR)/libdocument_a-group.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='group.cc' object='libdocument_a-group.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libdocument_a_CXXFLAGS) $(CXXFLAGS) -c -o libdocument_a-group.o `test -f 'group.cc' || echo '$(srcdir)/'`group.cc libdocument_a-group.obj: group.cc @am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libdocument_a_CXXFLAGS) $(CXXFLAGS) -MT libdocument_a-group.obj -MD -MP -MF $(DEPDIR)/libdocument_a-group.Tpo -c -o libdocument_a-group.obj `if test -f 'group.cc'; then $(CYGPATH_W) 'group.cc'; else $(CYGPATH_W) '$(srcdir)/group.cc'; fi` @am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/libdocument_a-group.Tpo $(DEPDIR)/libdocument_a-group.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='group.cc' object='libdocument_a-group.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libdocument_a_CXXFLAGS) $(CXXFLAGS) -c -o libdocument_a-group.obj `if test -f 'group.cc'; then $(CYGPATH_W) 'group.cc'; else $(CYGPATH_W) '$(srcdir)/group.cc'; fi` libdocument_a-imageframe.o: imageframe.cc @am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libdocument_a_CXXFLAGS) $(CXXFLAGS) -MT libdocument_a-imageframe.o -MD -MP -MF $(DEPDIR)/libdocument_a-imageframe.Tpo -c -o libdocument_a-imageframe.o `test -f 'imageframe.cc' || echo '$(srcdir)/'`imageframe.cc @am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/libdocument_a-imageframe.Tpo $(DEPDIR)/libdocument_a-imageframe.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='imageframe.cc' object='libdocument_a-imageframe.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libdocument_a_CXXFLAGS) $(CXXFLAGS) -c -o libdocument_a-imageframe.o `test -f 'imageframe.cc' || echo '$(srcdir)/'`imageframe.cc libdocument_a-imageframe.obj: imageframe.cc @am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libdocument_a_CXXFLAGS) $(CXXFLAGS) -MT libdocument_a-imageframe.obj -MD -MP -MF $(DEPDIR)/libdocument_a-imageframe.Tpo -c -o libdocument_a-imageframe.obj `if test -f 'imageframe.cc'; then $(CYGPATH_W) 'imageframe.cc'; else $(CYGPATH_W) '$(srcdir)/imageframe.cc'; fi` @am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/libdocument_a-imageframe.Tpo $(DEPDIR)/libdocument_a-imageframe.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='imageframe.cc' object='libdocument_a-imageframe.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libdocument_a_CXXFLAGS) $(CXXFLAGS) -c -o libdocument_a-imageframe.obj `if test -f 'imageframe.cc'; then $(CYGPATH_W) 'imageframe.cc'; else $(CYGPATH_W) '$(srcdir)/imageframe.cc'; fi` libdocument_a-page.o: page.cc @am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libdocument_a_CXXFLAGS) $(CXXFLAGS) -MT libdocument_a-page.o -MD -MP -MF $(DEPDIR)/libdocument_a-page.Tpo -c -o libdocument_a-page.o `test -f 'page.cc' || echo '$(srcdir)/'`page.cc @am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/libdocument_a-page.Tpo $(DEPDIR)/libdocument_a-page.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='page.cc' object='libdocument_a-page.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libdocument_a_CXXFLAGS) $(CXXFLAGS) -c -o libdocument_a-page.o `test -f 'page.cc' || echo '$(srcdir)/'`page.cc libdocument_a-page.obj: page.cc @am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libdocument_a_CXXFLAGS) $(CXXFLAGS) -MT libdocument_a-page.obj -MD -MP -MF $(DEPDIR)/libdocument_a-page.Tpo -c -o libdocument_a-page.obj `if test -f 'page.cc'; then $(CYGPATH_W) 'page.cc'; else $(CYGPATH_W) '$(srcdir)/page.cc'; fi` @am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/libdocument_a-page.Tpo $(DEPDIR)/libdocument_a-page.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='page.cc' object='libdocument_a-page.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libdocument_a_CXXFLAGS) $(CXXFLAGS) -c -o libdocument_a-page.obj `if test -f 'page.cc'; then $(CYGPATH_W) 'page.cc'; else $(CYGPATH_W) '$(srcdir)/page.cc'; fi` libdocument_a-pagent.o: pagent.cc @am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libdocument_a_CXXFLAGS) $(CXXFLAGS) -MT libdocument_a-pagent.o -MD -MP -MF $(DEPDIR)/libdocument_a-pagent.Tpo -c -o libdocument_a-pagent.o `test -f 'pagent.cc' || echo '$(srcdir)/'`pagent.cc @am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/libdocument_a-pagent.Tpo $(DEPDIR)/libdocument_a-pagent.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='pagent.cc' object='libdocument_a-pagent.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libdocument_a_CXXFLAGS) $(CXXFLAGS) -c -o libdocument_a-pagent.o `test -f 'pagent.cc' || echo '$(srcdir)/'`pagent.cc libdocument_a-pagent.obj: pagent.cc @am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libdocument_a_CXXFLAGS) $(CXXFLAGS) -MT libdocument_a-pagent.obj -MD -MP -MF $(DEPDIR)/libdocument_a-pagent.Tpo -c -o libdocument_a-pagent.obj `if test -f 'pagent.cc'; then $(CYGPATH_W) 'pagent.cc'; else $(CYGPATH_W) '$(srcdir)/pagent.cc'; fi` @am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/libdocument_a-pagent.Tpo $(DEPDIR)/libdocument_a-pagent.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='pagent.cc' object='libdocument_a-pagent.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libdocument_a_CXXFLAGS) $(CXXFLAGS) -c -o libdocument_a-pagent.obj `if test -f 'pagent.cc'; then $(CYGPATH_W) 'pagent.cc'; else $(CYGPATH_W) '$(srcdir)/pagent.cc'; fi` libdocument_a-rasterframe.o: rasterframe.cc @am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libdocument_a_CXXFLAGS) $(CXXFLAGS) -MT libdocument_a-rasterframe.o -MD -MP -MF $(DEPDIR)/libdocument_a-rasterframe.Tpo -c -o libdocument_a-rasterframe.o `test -f 'rasterframe.cc' || echo '$(srcdir)/'`rasterframe.cc @am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/libdocument_a-rasterframe.Tpo $(DEPDIR)/libdocument_a-rasterframe.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='rasterframe.cc' object='libdocument_a-rasterframe.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libdocument_a_CXXFLAGS) $(CXXFLAGS) -c -o libdocument_a-rasterframe.o `test -f 'rasterframe.cc' || echo '$(srcdir)/'`rasterframe.cc libdocument_a-rasterframe.obj: rasterframe.cc @am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libdocument_a_CXXFLAGS) $(CXXFLAGS) -MT libdocument_a-rasterframe.obj -MD -MP -MF $(DEPDIR)/libdocument_a-rasterframe.Tpo -c -o libdocument_a-rasterframe.obj `if test -f 'rasterframe.cc'; then $(CYGPATH_W) 'rasterframe.cc'; else $(CYGPATH_W) '$(srcdir)/rasterframe.cc'; fi` @am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/libdocument_a-rasterframe.Tpo $(DEPDIR)/libdocument_a-rasterframe.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='rasterframe.cc' object='libdocument_a-rasterframe.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libdocument_a_CXXFLAGS) $(CXXFLAGS) -c -o libdocument_a-rasterframe.obj `if test -f 'rasterframe.cc'; then $(CYGPATH_W) 'rasterframe.cc'; else $(CYGPATH_W) '$(srcdir)/rasterframe.cc'; fi` libdocument_a-textframe.o: textframe.cc @am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libdocument_a_CXXFLAGS) $(CXXFLAGS) -MT libdocument_a-textframe.o -MD -MP -MF $(DEPDIR)/libdocument_a-textframe.Tpo -c -o libdocument_a-textframe.o `test -f 'textframe.cc' || echo '$(srcdir)/'`textframe.cc @am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/libdocument_a-textframe.Tpo $(DEPDIR)/libdocument_a-textframe.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='textframe.cc' object='libdocument_a-textframe.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libdocument_a_CXXFLAGS) $(CXXFLAGS) -c -o libdocument_a-textframe.o `test -f 'textframe.cc' || echo '$(srcdir)/'`textframe.cc libdocument_a-textframe.obj: textframe.cc @am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libdocument_a_CXXFLAGS) $(CXXFLAGS) -MT libdocument_a-textframe.obj -MD -MP -MF $(DEPDIR)/libdocument_a-textframe.Tpo -c -o libdocument_a-textframe.obj `if test -f 'textframe.cc'; then $(CYGPATH_W) 'textframe.cc'; else $(CYGPATH_W) '$(srcdir)/textframe.cc'; fi` @am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/libdocument_a-textframe.Tpo $(DEPDIR)/libdocument_a-textframe.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='textframe.cc' object='libdocument_a-textframe.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libdocument_a_CXXFLAGS) $(CXXFLAGS) -c -o libdocument_a-textframe.obj `if test -f 'textframe.cc'; then $(CYGPATH_W) 'textframe.cc'; else $(CYGPATH_W) '$(srcdir)/textframe.cc'; fi` libdocument_a-textstream.o: textstream.cc @am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libdocument_a_CXXFLAGS) $(CXXFLAGS) -MT libdocument_a-textstream.o -MD -MP -MF $(DEPDIR)/libdocument_a-textstream.Tpo -c -o libdocument_a-textstream.o `test -f 'textstream.cc' || echo '$(srcdir)/'`textstream.cc @am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/libdocument_a-textstream.Tpo $(DEPDIR)/libdocument_a-textstream.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='textstream.cc' object='libdocument_a-textstream.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libdocument_a_CXXFLAGS) $(CXXFLAGS) -c -o libdocument_a-textstream.o `test -f 'textstream.cc' || echo '$(srcdir)/'`textstream.cc libdocument_a-textstream.obj: textstream.cc @am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libdocument_a_CXXFLAGS) $(CXXFLAGS) -MT libdocument_a-textstream.obj -MD -MP -MF $(DEPDIR)/libdocument_a-textstream.Tpo -c -o libdocument_a-textstream.obj `if test -f 'textstream.cc'; then $(CYGPATH_W) 'textstream.cc'; else $(CYGPATH_W) '$(srcdir)/textstream.cc'; fi` @am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/libdocument_a-textstream.Tpo $(DEPDIR)/libdocument_a-textstream.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='textstream.cc' object='libdocument_a-textstream.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libdocument_a_CXXFLAGS) $(CXXFLAGS) -c -o libdocument_a-textstream.obj `if test -f 'textstream.cc'; then $(CYGPATH_W) 'textstream.cc'; else $(CYGPATH_W) '$(srcdir)/textstream.cc'; fi` libdocument_a-paper_sizes.o: paper_sizes.cc @am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libdocument_a_CXXFLAGS) $(CXXFLAGS) -MT libdocument_a-paper_sizes.o -MD -MP -MF $(DEPDIR)/libdocument_a-paper_sizes.Tpo -c -o libdocument_a-paper_sizes.o `test -f 'paper_sizes.cc' || echo '$(srcdir)/'`paper_sizes.cc @am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/libdocument_a-paper_sizes.Tpo $(DEPDIR)/libdocument_a-paper_sizes.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='paper_sizes.cc' object='libdocument_a-paper_sizes.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libdocument_a_CXXFLAGS) $(CXXFLAGS) -c -o libdocument_a-paper_sizes.o `test -f 'paper_sizes.cc' || echo '$(srcdir)/'`paper_sizes.cc libdocument_a-paper_sizes.obj: paper_sizes.cc @am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libdocument_a_CXXFLAGS) $(CXXFLAGS) -MT libdocument_a-paper_sizes.obj -MD -MP -MF $(DEPDIR)/libdocument_a-paper_sizes.Tpo -c -o libdocument_a-paper_sizes.obj `if test -f 'paper_sizes.cc'; then $(CYGPATH_W) 'paper_sizes.cc'; else $(CYGPATH_W) '$(srcdir)/paper_sizes.cc'; fi` @am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/libdocument_a-paper_sizes.Tpo $(DEPDIR)/libdocument_a-paper_sizes.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='paper_sizes.cc' object='libdocument_a-paper_sizes.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libdocument_a_CXXFLAGS) $(CXXFLAGS) -c -o libdocument_a-paper_sizes.obj `if test -f 'paper_sizes.cc'; then $(CYGPATH_W) 'paper_sizes.cc'; else $(CYGPATH_W) '$(srcdir)/paper_sizes.cc'; fi` libdocument_a-getxsltparams.o: getxsltparams.cc @am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libdocument_a_CXXFLAGS) $(CXXFLAGS) -MT libdocument_a-getxsltparams.o -MD -MP -MF $(DEPDIR)/libdocument_a-getxsltparams.Tpo -c -o libdocument_a-getxsltparams.o `test -f 'getxsltparams.cc' || echo '$(srcdir)/'`getxsltparams.cc @am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/libdocument_a-getxsltparams.Tpo $(DEPDIR)/libdocument_a-getxsltparams.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='getxsltparams.cc' object='libdocument_a-getxsltparams.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libdocument_a_CXXFLAGS) $(CXXFLAGS) -c -o libdocument_a-getxsltparams.o `test -f 'getxsltparams.cc' || echo '$(srcdir)/'`getxsltparams.cc libdocument_a-getxsltparams.obj: getxsltparams.cc @am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libdocument_a_CXXFLAGS) $(CXXFLAGS) -MT libdocument_a-getxsltparams.obj -MD -MP -MF $(DEPDIR)/libdocument_a-getxsltparams.Tpo -c -o libdocument_a-getxsltparams.obj `if test -f 'getxsltparams.cc'; then $(CYGPATH_W) 'getxsltparams.cc'; else $(CYGPATH_W) '$(srcdir)/getxsltparams.cc'; fi` @am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/libdocument_a-getxsltparams.Tpo $(DEPDIR)/libdocument_a-getxsltparams.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='getxsltparams.cc' object='libdocument_a-getxsltparams.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libdocument_a_CXXFLAGS) $(CXXFLAGS) -c -o libdocument_a-getxsltparams.obj `if test -f 'getxsltparams.cc'; then $(CYGPATH_W) 'getxsltparams.cc'; else $(CYGPATH_W) '$(srcdir)/getxsltparams.cc'; fi` libdocument_a-loader.o: loader.cc @am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libdocument_a_CXXFLAGS) $(CXXFLAGS) -MT libdocument_a-loader.o -MD -MP -MF $(DEPDIR)/libdocument_a-loader.Tpo -c -o libdocument_a-loader.o `test -f 'loader.cc' || echo '$(srcdir)/'`loader.cc @am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/libdocument_a-loader.Tpo $(DEPDIR)/libdocument_a-loader.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='loader.cc' object='libdocument_a-loader.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libdocument_a_CXXFLAGS) $(CXXFLAGS) -c -o libdocument_a-loader.o `test -f 'loader.cc' || echo '$(srcdir)/'`loader.cc libdocument_a-loader.obj: loader.cc @am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libdocument_a_CXXFLAGS) $(CXXFLAGS) -MT libdocument_a-loader.obj -MD -MP -MF $(DEPDIR)/libdocument_a-loader.Tpo -c -o libdocument_a-loader.obj `if test -f 'loader.cc'; then $(CYGPATH_W) 'loader.cc'; else $(CYGPATH_W) '$(srcdir)/loader.cc'; fi` @am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/libdocument_a-loader.Tpo $(DEPDIR)/libdocument_a-loader.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='loader.cc' object='libdocument_a-loader.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libdocument_a_CXXFLAGS) $(CXXFLAGS) -c -o libdocument_a-loader.obj `if test -f 'loader.cc'; then $(CYGPATH_W) 'loader.cc'; else $(CYGPATH_W) '$(srcdir)/loader.cc'; fi` libdocument_a-typesetterthread.o: typesetterthread.cc @am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libdocument_a_CXXFLAGS) $(CXXFLAGS) -MT libdocument_a-typesetterthread.o -MD -MP -MF $(DEPDIR)/libdocument_a-typesetterthread.Tpo -c -o libdocument_a-typesetterthread.o `test -f 'typesetterthread.cc' || echo '$(srcdir)/'`typesetterthread.cc @am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/libdocument_a-typesetterthread.Tpo $(DEPDIR)/libdocument_a-typesetterthread.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='typesetterthread.cc' object='libdocument_a-typesetterthread.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libdocument_a_CXXFLAGS) $(CXXFLAGS) -c -o libdocument_a-typesetterthread.o `test -f 'typesetterthread.cc' || echo '$(srcdir)/'`typesetterthread.cc libdocument_a-typesetterthread.obj: typesetterthread.cc @am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libdocument_a_CXXFLAGS) $(CXXFLAGS) -MT libdocument_a-typesetterthread.obj -MD -MP -MF $(DEPDIR)/libdocument_a-typesetterthread.Tpo -c -o libdocument_a-typesetterthread.obj `if test -f 'typesetterthread.cc'; then $(CYGPATH_W) 'typesetterthread.cc'; else $(CYGPATH_W) '$(srcdir)/typesetterthread.cc'; fi` @am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/libdocument_a-typesetterthread.Tpo $(DEPDIR)/libdocument_a-typesetterthread.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='typesetterthread.cc' object='libdocument_a-typesetterthread.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libdocument_a_CXXFLAGS) $(CXXFLAGS) -c -o libdocument_a-typesetterthread.obj `if test -f 'typesetterthread.cc'; then $(CYGPATH_W) 'typesetterthread.cc'; else $(CYGPATH_W) '$(srcdir)/typesetterthread.cc'; fi` ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \ END { if (nonempty) { for (i in files) print i; }; }'`; \ mkid -fID $$unique tags: TAGS TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) tags=; \ here=`pwd`; \ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in files) print i; }; }'`; \ if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ $$tags $$unique; \ fi ctags: CTAGS CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) tags=; \ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in files) print i; }; }'`; \ test -z "$(CTAGS_ARGS)$$tags$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$tags $$unique GTAGS: here=`$(am__cd) $(top_builddir) && pwd` \ && cd $(top_srcdir) \ && gtags -i $(GTAGS_ARGS) $$here distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ fi; \ cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ else \ test -f $(distdir)/$$file \ || cp -p $$d/$$file $(distdir)/$$file \ || exit 1; \ fi; \ done check-am: all-am check: check-am all-am: Makefile $(LIBRARIES) $(HEADERS) installdirs: install: install-am install-exec: install-exec-am install-data: install-data-am uninstall: uninstall-am install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-am install-strip: $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ `test -z '$(STRIP)' || \ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install mostlyclean-generic: clean-generic: distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-am clean-am: clean-generic clean-noinstLIBRARIES mostlyclean-am distclean: distclean-am -rm -rf ./$(DEPDIR) -rm -f Makefile distclean-am: clean-am distclean-compile distclean-generic \ distclean-tags dvi: dvi-am dvi-am: html: html-am info: info-am info-am: install-data-am: install-dvi: install-dvi-am install-exec-am: install-html: install-html-am install-info: install-info-am install-man: install-pdf: install-pdf-am install-ps: install-ps-am installcheck-am: maintainer-clean: maintainer-clean-am -rm -rf ./$(DEPDIR) -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am mostlyclean-am: mostlyclean-compile mostlyclean-generic pdf: pdf-am pdf-am: ps: ps-am ps-am: uninstall-am: .MAKE: install-am install-strip .PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \ clean-noinstLIBRARIES ctags distclean distclean-compile \ distclean-generic distclean-tags distdir dvi dvi-am html \ html-am info info-am install install-am install-data \ install-data-am install-dvi install-dvi-am install-exec \ install-exec-am install-html install-html-am install-info \ install-info-am install-man install-pdf install-pdf-am \ install-ps install-ps-am install-strip installcheck \ installcheck-am installdirs maintainer-clean \ maintainer-clean-generic mostlyclean mostlyclean-compile \ mostlyclean-generic pdf pdf-am ps ps-am tags uninstall \ uninstall-am # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: passepartout-0.7.1/src/pptout/document/basicframe.cc000066400000000000000000000027741140125232500226210ustar00rootroot00000000000000/// // Copyright (C) 2002 - 2004, Fredrik Arnerup & Rasmus Kaj, See COPYING /// #include "basicframe.h" #include "util/rectboundary.h" #include #include #include #include #include #include #include BasicFrame::BasicFrame(Group *parent, const std::string& name) : Pagent(parent, name) {} BasicFrame::BasicFrame(const ElementWrap& xml, Group *parent) : Pagent(parent, xml.get_attribute("name", "unnamed")) { locked = xml.get_attribute("lock", false); flow_around = xml.get_attribute("flowaround", false); obstacle_margin = xml.get_attribute("obstaclemargin"); matrix = xml.get_required_attribute("matrix"); } xmlpp::Element *BasicFrame::save(xmlpp::Element& parent_node, const FileContext &context) const { xmlpp::Element *node = parent_node.add_child("frame"); if(!name.empty()) node->set_attribute("name", name); node->set_attribute("matrix", tostr(get_matrix())); node->set_attribute("lock", tostr(get_lock())); node->set_attribute("flowaround", tostr(flow_around)); node->set_attribute("obstaclemargin", tostr(obstacle_margin)); return node; } BasicFrame::~BasicFrame() { } void BasicFrame::print(std::ostream &out, bool grayscale) const { } Boundary BasicFrame::get_obstacle_boundary() const { if(flow_around) { Boundary bound = get_box(); bound->grow(obstacle_margin); return bound; } else return Boundary(); }; passepartout-0.7.1/src/pptout/document/basicframe.h000066400000000000000000000027031140125232500224530ustar00rootroot00000000000000#ifndef BASICFRAME_H // -*- c++ -*- #define BASICFRAME_H /// // Copyright (C) 2002 - 2004, Fredrik Arnerup & Rasmus Kaj, See COPYING /// #include "pagent.h" #include "fileerrors.h" #include "util/xmlwrap.h" #include namespace Error { struct FrameType: public File { FrameType(const string& msg) : File("Frame-type error: " + msg) {} }; } class BasicFrame: public Pagent { public: BasicFrame(Group *parent, const std::string& name); BasicFrame(const ElementWrap& xml, Group *parent); virtual ~BasicFrame(); virtual xmlpp::Element *save(xmlpp::Element& parent_node, const FileContext &context) const; virtual void print(std::ostream &out, bool grayscale = false) const; /** * This implementation of get_obstacle_boundary() returns the bounding box * for the frame, appropriatley grown. Pagents that works as * non-rectangular boundaries should provide their own implementation. */ Boundary get_obstacle_boundary() const; // Errors reported by generate_picture: // ASSOCIATION - failed to open associated file // GENERATION - general error (missing program, corrupted file, et cetera) // ZEROSIZE - picture has zero size enum GenPicErrorType { ASSOCIATION, GENERATION, ZEROSIZE, NOTREADY }; struct GenPicError : public std::logic_error { GenPicErrorType type; GenPicError(GenPicErrorType t, std::string s) : logic_error(s), type(t) {} ~GenPicError() throw() {} }; }; #endif passepartout-0.7.1/src/pptout/document/cachedframe.cc000066400000000000000000000004531140125232500227370ustar00rootroot00000000000000/// // Copyright (C) 2002 - 2004, Fredrik Arnerup & Rasmus Kaj, See COPYING /// #include "cachedframe.h" CachedFrame::CachedFrame(Group *parent, const std::string &name) : BasicFrame(parent, name) {} CachedFrame::CachedFrame(const ElementWrap& xml, Group* parent) : BasicFrame(xml, parent) {} passepartout-0.7.1/src/pptout/document/cachedframe.h000066400000000000000000000012161140125232500225770ustar00rootroot00000000000000#ifndef CACHEDFRAME_H // -*- c++ -*- #define CACHEDFRAME_H /// // Copyright (C) 2002 - 2004, Fredrik Arnerup & Rasmus Kaj, See COPYING /// #include "basicframe.h" #include /** * A frame that is represented in postscript. This may be a referenced EPS * file, or a text frame (that is made into postscript code by TextStream and * xml2ps). This interface is mainly used by PostscriptViewent. */ class CachedFrame: public BasicFrame { public: CachedFrame(Group *parent, const std::string &name); CachedFrame(const ElementWrap& xml, Group *parent); virtual void generate_picture(std::ostream& psstream) const = 0; }; #endif passepartout-0.7.1/src/pptout/document/document.cc000066400000000000000000000510471140125232500223400ustar00rootroot00000000000000/// // Copyright (C) 2002 - 2004, Fredrik Arnerup & Rasmus Kaj, See COPYING /// #include "pptout/widget/usererror.h" /// \todo fix this #include #include #include #include #include #include "document.h" #include "fileerrors.h" #include "page.h" #include "defines.h" // VERSION #include "textstream.h" #include "xml2ps/psstream.hh" #include "util/stringutil.h" #include "util/filesys.h" #include "util/warning.h" #include "util/os.h" #include "fonts/fontmanager.hh" #include "ps/pfb2pfa.h" #include "ps/type42.h" #include "ps/pdf.h" sigc::signal Document::changed_signal; sigc::signal Document::selection_changed_signal; sigc::signal Document::streams_changed_signal; namespace { // local class NameOrder { public: bool operator() (const TextStream* x, const TextStream* y) const { return x && y && (x->get_name() < y->get_name()); } }; } DocRef Document::create() { DocRef tmp(new Document()); tmp->reference(); return tmp; } // It is very important not to emit signals from the constructors. Document::Document() : first_page_num(1), stream_num(1), doublesided(true), is_template(false), paper_name("A4"), orientation(Papers::PORTRAIT), the_template(0) { pages.push_back(new Page(*this)); } DocRef Document::create(const std::string &filename, bool is_template) { DocRef tmp(new Document(filename, is_template)); tmp->reference(); return tmp; } Document::Document(const std::string &filename, bool is_template_) : stream_num(1), is_template(is_template_), the_template(0) { open(expand_path(filename)); } DocRef Document::create(const std::string &template_file_) { DocRef tmp(new Document(template_file_)); tmp->reference(); return tmp; } Document::Document(const std::string &template_file_) : first_page_num(1), stream_num(1), is_template(false), the_template(0) { set_template(template_file_); } Document::~Document() { debug << "destroying Document" << std::endl; // delete the streams before the pages, or the textframes will try // to run the typesetter threads from their destructors while(!text_streams.empty()) { TextStream *text_stream = *text_streams.begin(); text_streams.pop_front(); delete text_stream; } // delete pages while(!pages.empty()) { Page *page = *pages.begin(); pages.pop_front(); delete page; } } std::string Document::make_up_new_name() { while(stream_num < INT_MAX) { std::string tmp = "stream" + tostr(stream_num); if(!get_text_stream(tmp)) return tmp; // Up the number only afterwards if no match, so if the user creates a // stream, renames it, and creates another one, he doesn't lose numbers. ++stream_num; } /// \todo Try again from 1, in case a stream was deleted or renamed, but /// only once, so we don't get stuck in an eternal loop. Don't start from 1 /// each time, to avoid confusing the user throw std::runtime_error("Out of automatical stream names"); } int Document::count_selected() const { return selection.size(); } const Document::Selection& Document::selected() const { return selection; } void Document::select_all(bool select) { selection.clear(); if(select) for(PageVec::const_iterator p = pages.begin(); p != pages.end(); ++p) for(Group::ChildVec::const_iterator i = (*p)->pbegin(); i != (*p)->pend(); ++i) selection.push_back(*i); selection_changed_signal(self()); } void Document::select_all_on_page(Page *page, bool select) { if(!page) return; selection.clear(); if(select) for(Group::ChildVec::const_iterator i = page->pbegin(); i != page->pend(); ++i) selection.push_back(*i); selection_changed_signal(self()); } void Document::deselect(Pagent* obj) { Selection::iterator i = find(selection.begin(), selection.end(), obj); if(i != selection.end()) { selection.erase(i); selection_changed_signal(self()); } } void Document::select(Pagent* obj, bool deselect_old) { if(deselect_old) selection.clear(); selection.push_back(obj); selection_changed_signal(self()); } void Document::delete_selected() { for(Selection::const_iterator i = selection.begin(); i != selection.end(); ++i) { Pagent* obj = (*i)->get_parent().ungroup(*i); if(!obj) throw std::logic_error("Tried to remove pagent from bad parent."); delete obj; } selection.clear(); selection_changed_signal(self()); } Document::StreamVec Document::get_text_streams() { StreamVec tmp = text_streams; tmp.sort(NameOrder()); return tmp; } void Document::rename_text_stream(const std::string &old_name, const std::string &new_name) { TextStream *stream = get_text_stream(old_name); if(!stream) throw Error::TextStreamName("A stream with the name \"" + old_name + "\" does not exist."); if(old_name == new_name) return; //not an error if(new_name.empty()) throw Error::TextStreamName("The stream must have a name"); if(get_text_stream(new_name)) throw Error::TextStreamName("A stream with the name \"" + new_name + "\" already exists"); stream->set_name(new_name); streams_changed_signal(self()); } void Document::add_text_stream(TextStream* new_stream) { _add_text_stream(new_stream); streams_changed_signal(self()); } void Document::_add_text_stream(TextStream* new_stream) { const std::string& name = new_stream->get_name(); if(name.empty()) throw Error::TextStreamName("The stream must have a name"); if(get_text_stream(name)) throw Error::TextStreamName("A stream with the name \"" + name + "\" already exists"); text_streams.push_back(new_stream); } namespace { template struct NameIs { std::string _name; NameIs(const std::string &name) : _name(name) {} bool operator() (A *a) { return a->get_name() == _name; } }; } TextStream* Document::get_text_stream(const std::string &name) { StreamVec::iterator i = std::find_if(text_streams.begin(), text_streams.end(), NameIs(name)); return i != text_streams.end() ? *i : 0; } void Document::remove_text_stream(const std::string &name) { StreamVec::iterator i = std::find_if(text_streams.begin(), text_streams.end(), NameIs(name)); if(i != text_streams.end()) { delete *i; text_streams.erase(i); streams_changed_signal(self()); } } unsigned int Document::get_num_of_pages() const { return pages.size(); } void Document::delete_page(int page_num) { int num_of_pages = get_num_of_pages(); if(page_num >= first_page_num && page_num < first_page_num + num_of_pages) { int j = first_page_num; PageVec::iterator i = pages.begin(); while(j < page_num && j < first_page_num + num_of_pages) { i++; j++; } delete *i; pages.erase(i); } else throw Error::InvalidPageNum(page_num); /// \todo temporary fix to make sure deleted objects /// are not still selected: select_all(false); changed_signal(self()); } Page *Document::new_page(int page_num, Page *original) { std::auto_ptr the_new_page; if(original) { xmlpp::Document tmpdoc; tmpdoc.create_root_node("template"); FileContext context; the_new_page.reset (new Page(ElementWrap("no-file", *original->save(*tmpdoc.get_root_node(), context)), *this)); the_new_page->set_name(""); // the name should not be inherited } else { the_new_page.reset(new Page(*this)); } Page *result = the_new_page.get(); int num_of_pages = get_num_of_pages(); if(num_of_pages == 0) { pages.push_front(the_new_page.release()); } else if(page_num >= first_page_num && page_num <= first_page_num + num_of_pages) { int j = first_page_num; PageVec::iterator i = pages.begin(); while(j < page_num) { i++; j++; } pages.insert(i, the_new_page.release()); } else { throw Error::InvalidPageNum(page_num); } changed_signal(self()); return result; } int Document::get_page_num_of_page(const Page *page) const { int j = get_first_page_num(); for(PageVec::const_iterator i = pages.begin(); i != pages.end(); i++, j++) { if(page == *i) return j; } throw Error::InvalidPageNum(); } Page *Document::get_page(int page_num) { int j = first_page_num; PageVec::iterator i = pages.begin(); int num_of_pages = get_num_of_pages(); if(num_of_pages == 0) return 0; while(j < page_num && j < first_page_num + num_of_pages - 1) { i++; j++; } return *i; } Page *Document::get_page(const std::string &page_name) { PageVec::iterator i = std::find_if(pages.begin(), pages.end(), NameIs(page_name)); return i != pages.end() ? *i : 0; } std::list Document::get_template_pages() { std::list tmp; if(the_template) { DocRef &t = the_template; for(int i = t->get_first_page_num(); i < t->get_first_page_num() + int(t->get_num_of_pages()); i++) tmp.push_back(t->get_page(i)->get_name()); } return tmp; } namespace { class OpenFailed : public UserError { public: OpenFailed(const std::string& filename, const std::exception& err) : UserError("Failed to open passepartout file " + filename, err) {} }; } void Document::open(const std::string &filename) { try { xmlpp::DomParser tree(filename); /// \todo Check if get_document is guaranteed to not return 0. xmlpp::Element *rootnode = tree.get_document()->get_root_node(); if(rootnode) xml_open(ElementWrap(filename, *rootnode)); else throw std::runtime_error("No such file or no rootnode"); } catch(const xmlpp::exception& e) { throw OpenFailed(filename, e); /// \todo Signify the "bad xml" level? } catch(const std::exception& e) { throw OpenFailed(filename, e); } } void Document::save(const std::string &filename) { try { std::auto_ptr tree(xml_save(FileContext(filename))); tree->write_to_file_formatted(filename); } catch (const xmlpp::exception& err) { throw UserError("Failed to write " + filename, err); } } DocRef Document::self() { DocRef tmp(this); tmp->reference(); return tmp; } void Document::xml_open(const ElementWrap& xml) { /// \todo this function is too long and unreadable std::string temp_template = xml.get_filename("template"); if(xml.get_element_name() != "document") throw Error::Read("Root node is not "); //default values if attribute is not encountered: doublesided = true; orientation = Papers::PORTRAIT; first_page_num = 1; paper_name = "A4"; //read document attributes: xmlpp::Element::AttributeList attributes = xml.element().get_attributes(); for(xmlpp::Element::AttributeList::iterator i = attributes.begin(); i != attributes.end(); i++) { const std::string name = (*i)->get_name(); if(name == "template"); // handled elsewhere else if(name == "doublesided") doublesided = to((*i)->get_value()); else if(name == "landscape") { if(to((*i)->get_value())) orientation = Papers::LANDSCAPE; } else if(name == "paper_name") { /// \todo Use a proper type that can be converted for the paper type. try { paper_name = (*i)->get_value(); } catch (Error::PaperName e) { throw Error::Read("There is no paper called \"" + e.name + "\"."); } } else if(name == "first_page_num") { first_page_num = to((*i)->get_value()); } else warning << "Unknown attribute \"" << (*i)->get_name() << "\" ignored in ." << std::endl; } if(!is_template) // templates can't have templates set_template(temp_template); // the template overrides anything explicitly stated in the document // read text streams and pages: xmlpp::Element::NodeList children = xml.element().get_children(); for(xmlpp::Node::NodeList::iterator i = children.begin(); i != children.end(); i++) { if(xmlpp::Element *elem = dynamic_cast(*i)) { std::string name = elem->get_name(); if(name == "text_stream") { std::auto_ptr stream (new TextStream(ElementWrap(xml, *elem))); const std::string &name = stream->get_name(); if(name.empty()) throw Error::Read("Text stream has no name."); // template streams override document streams // if two streams have the same name, the second will be ignored if(!get_text_stream(name)) _add_text_stream(stream.release()); // no signal } else if(name == "page") { pages.push_back(new Page(ElementWrap(xml, *elem), *this)); } else warning << "Unknown node <" << name << "> ignored in " << std::endl; } } } void Document::set_template(const std::string &template_file_) { template_file = template_file_; if(!template_file.empty()) { the_template = create(template_file, true); doublesided = the_template->is_doublesided(); orientation = the_template->get_orientation(); paper_name = the_template->get_paper_name(); StreamVec ts = the_template->get_text_streams(); for(StreamVec::iterator i = ts.begin(); i != ts.end(); i++) { try { TextStream* tmp = get_text_stream((*i)->get_name()); // don't emit signal in case this is called from the // constructor if(!tmp) _add_text_stream(new TextStream((*i)->get_name(), (*i)->get_association(), (*i)->get_transform())); else { // override tmp->set_association((*i)->get_association()); tmp->set_transform((*i)->get_transform()); } } catch (Error::TextStreamName e) { warning << e.what() << std::endl; } } } } void Document::set_doublesided(bool ds) { doublesided = ds; changed_signal(self()); } void Document::set_first_page_num(int num) { first_page_num = num; changed_signal(self()); } void Document::set_orientation(Papers::Orientation _orientation) { orientation = _orientation; changed_signal(self()); size_changed_signal(); } void Document::set_paper_name(const std::string &_paper_name) { if(papers.sizes.find(_paper_name) == papers.sizes.end()) throw Error::PaperName(_paper_name); paper_name = _paper_name; changed_signal(self()); size_changed_signal(); } xmlpp::Document *Document::xml_save(const FileContext &context) { xmlpp::Document *tree = new xmlpp::Document(); xmlpp::Element *root = tree->create_root_node("document"); root->set_attribute("paper_name", get_paper_name()); if(the_template) root->set_attribute("template", context.to(template_file)); root->set_attribute("doublesided", tostr(is_doublesided())); root->set_attribute("landscape", tostr(get_orientation() == Papers::LANDSCAPE)); root->set_attribute("first_page_num", tostr(get_first_page_num())); for(StreamVec::iterator i = text_streams.begin(); i != text_streams.end(); i++) (*i)->save(*root, context); for(PageVec::iterator i = pages.begin(); i != pages.end(); i++) (*i)->save(*root, context); return tree; } void Document::print(std::ostream& out, int first_page, int last_page, bool eps, bool include_fonts, bool grayscale) const { const font::FontManager &fm = font::FontManager::instance(); // merge required fonts from all streams font::Fonts used_fonts; for(StreamVec::const_iterator j = text_streams.begin(); j != text_streams.end(); j++) { const font::Fonts &fonts = (*j)->get_used_fonts(); for(font::Fonts::const_iterator i = fonts.begin(); i != fonts.end(); i++) { used_fonts.insert(*i); } } using std::endl; time_t the_time = std::time(0); if(!(first_page >= first_page_num && first_page <= last_page && last_page <= first_page_num + int(get_num_of_pages()) - 1)) throw Error::Print("Bad page interval"); // ignore request to print multible-page EPS eps = eps && first_page == last_page; int w = int(get_width() + 0.5); int h = int(get_height() + 0.5); if(eps) { out << "%!PS-Adobe-3.0 EPSF-3.0\n" << "%%BoundingBox: 0 0 " << w << " " << h << '\n'; } else { out << "%!PS-Adobe-3.0\n"; } //out << "%%DocumentData: Clean8Bit" << endl // <<"%%LanguageLevel: 2"<" << " (" << os::machine() << ", " << os::sysname() << " " << os::release() << ")\n"; out << "%%EndComments\n\n" << "%%BeginProlog\n"; xml2ps::PsStream::psProlog(out); out << "%%EndProlog\n\n" << "%%BeginSetup" << endl; // Resource comments int line = 0; for(font::Fonts::const_iterator i = used_fonts.begin(); i != used_fonts.end(); i++) { out << (line++ ? "%%+ " : (include_fonts ? "%%DocumentSuppliedResources: " : "%%DocumentNeededResources: ")) << "font " << fm.unalias(*i) << std::endl; } // %%IncludeResource comments if(!include_fonts) { for(font::Fonts::const_iterator i = used_fonts.begin(); i != used_fonts.end(); i++) { out << "%%IncludeResource: font " << fm.unalias(*i) << std::endl; } } else { // include fonts for(font::Fonts::const_iterator i = used_fonts.begin(); i != used_fonts.end(); i++) { std::string fontfile = fm.getFontFile(*i); if(fontfile.empty()) { warning << "Couldn't find font file for " << *i << std::endl; continue; } std::ifstream in(fontfile.c_str()); if(!in) { warning << "Couldn't read " << fontfile << std::endl; continue; } out << "%%BeginResource: font " << fm.unalias(*i) << std::endl; std::string ext = suffix(fontfile); if(ext == "pfa") { // ascii out << in.rdbuf(); } else if(ext == "pfb") { try { PS::pfb2pfa(in, out); } catch(const std::runtime_error &e) { warning << "error in " << fontfile << " : " << e.what() << std::endl; } } else if(ext == "ttf") { PS::truetype2type42(fontfile, out); } else { out << "% bad fontfile: " << fontfile << std::endl; warning << "unknown font format \"" << ext << "\" in " << fontfile << std::endl; } out << "%%EndResource" << std::endl; } } out << "%%EndSetup" << endl << endl; int page_num = first_page_num; for(PageVec::const_iterator i = pages.begin(); i != pages.end(); i++) { if(page_num >= first_page && page_num <= last_page) { out << endl << "%%Page: \"" <<(*i)->get_name()<<"\" "<print(out, grayscale); if(eps) out << "\ngrestore\n"; } page_num++; } out << "%%EOF" << endl; } void Document::print_pdf(PDF::Document::Ptr pdf, int first_page, int last_page) { for(StreamVec::iterator i = text_streams.begin(); i != text_streams.end(); i++) (*i)->print_pdf(pdf); int page_num = first_page_num; for(PageVec::const_iterator i = pages.begin(); i != pages.end(); ++i, ++page_num) { if(page_num >= first_page && page_num <= last_page) { (*i)->print_pdf(pdf); } } } Document& Document::containing(Pagent& obj) { try { Page& page = Page::containing(obj); return page.document; } catch(const Error::NoParent& err) { throw std::logic_error ("Tried to get Document containing pagent that was not in a Document."); } } const Document& Document::containing(const Pagent& obj) { try { const Page& page = Page::containing(obj); return page.document; } catch(const Error::NoParent& err) { throw std::logic_error ("Tried to get Document containing pagent that was not in a Document."); } } passepartout-0.7.1/src/pptout/document/document.h000066400000000000000000000125001140125232500221710ustar00rootroot00000000000000#ifndef DOCUMENT_H // -*- c++ -*- #define DOCUMENT_H /// // Copyright (C) 2002 - 2004, Fredrik Arnerup & Rasmus Kaj, See COPYING /// #include #include "paper_sizes.h" #include #include #include #include #include #include "util/refcount.h" #include "util/xmlwrap.h" #include "filecontext.h" #include "ps/pdf.h" class Pagent; class TextStream; class Page; namespace Error { struct TextStreamName : public std::logic_error { TextStreamName(const std::string& msg) : logic_error(msg) {} }; } class Document; typedef Glib::RefPtr DocRef; /** * This is it! The document class! * It is reference counted and has no public constructors, * so you will have to use the create methods. */ class Document: public RefCounted { public: typedef std::list Selection; typedef std::list StreamVec; static sigc::signal changed_signal; sigc::signal size_changed_signal; static sigc::signal selection_changed_signal; static sigc::signal streams_changed_signal; static DocRef null() { return DocRef(); } static DocRef create(); /** throws Error::Open */ static DocRef create(const std::string &filename, bool is_template_); /** throws Error::Open */ static DocRef create(const std::string &template_file_); void save(const std::string &filename); /** throws Error::Print */ void print(std::ostream& out, int first_page, int last_page, bool eps = false, bool include_fonts = false, bool grayscale = false) const; void print_pdf(PDF::Document::Ptr pdf, int first_page, int last_page); float get_width() const { return papers.sizes[get_paper_name()].get_width(orientation); } float get_height() const { return papers.sizes[get_paper_name()].get_height(orientation); } void set_template(const std::string &template_file_); const std::string &get_template_file() { return template_file; } DocRef get_template() {return the_template;} std::list get_template_pages(); void set_paper_name(const std::string &_paper_name); const std::string &get_paper_name() const { return paper_name; } void set_orientation(Papers::Orientation _orientation); Papers::Orientation get_orientation() const { return orientation; } void set_first_page_num(int num); int get_first_page_num() const { return first_page_num; } void set_doublesided(bool ds); bool is_doublesided() const { return doublesided; } unsigned int get_num_of_pages() const; /** A page does not know its own number. */ int get_page_num_of_page(const Page *page) const; /** throws Error::InvalidPageNum */ Page *get_page(int page_num); /** Returns NULL if page with name page_name does not exist. */ Page *get_page(const std::string &page_name); /** throws Error::InvalidPageNum */ void delete_page(int page_num); /** * Inserts page at requested page number, possibly a copy of original. * If existing pages are e.g. 4, 5, 6 then valid numbers are 4, 5, 6, 7. * If no pages exist, then first_page_num is set to page_num. * throws Error::InvalidPageNum */ Page *new_page(int page_num, Page *original = 0); int count_selected() const; const Selection& selected() const; /** * @param select true to select all, false to select none */ void select_all(bool select); /** * @param select true to select all, false to select none */ void select_all_on_page(Page *page, bool select); void select(Pagent* obj, bool deselect_old = true); void deselect(Pagent* obj); void delete_selected(); /** Returns sorted list. */ StreamVec get_text_streams(); std::string make_up_new_name(); /** * Add a stream, while checking that it has a unique name (otherwise * Error::TextStreamName. If successful, a streams_changed_signal is * raised. */ void add_text_stream(TextStream* new_stream); /* throws Error::TextStreamName */ void rename_text_stream(const std::string &old_name, const std::string &new_name); TextStream* get_text_stream(const std::string &name); void remove_text_stream(const std::string &name); /// \todo these also break encapsulation /** Find the document containing a specific Pagent. */ static Document &containing(Pagent& obj); /** Find the document containing a specific Pagent. */ static const Document &containing(const Pagent& obj); /** Return a reference to this object. */ DocRef self(); private: typedef std::list PageVec; int first_page_num; PageVec pages; int stream_num; StreamVec text_streams; bool doublesided, is_template; std::string paper_name, template_file; Papers::Orientation orientation; DocRef the_template; Selection selection; Document(); /** throws Error::Open */ Document(const std::string &filename, bool is_template_); /** throws Error::Open */ Document(const std::string &template_file_); // avoid defaults: Document(const Document&); void operator = (const Document&); ~Document(); /** throws Error::Open */ void open(const std::string &filename); void xml_open(const ElementWrap& root); // throw Error::Open xmlpp::Document *xml_save(const FileContext &context); // these methods don't emit signals: void _add_text_stream(TextStream* new_stream); }; #endif passepartout-0.7.1/src/pptout/document/filecontext.h000066400000000000000000000014741140125232500227070ustar00rootroot00000000000000#ifndef FILECONTEXT_H // -*- c++ -*- #define FILECONTEXT_H /// // Copyright (C) 2002 - 2004, Fredrik Arnerup & Rasmus Kaj, See COPYING /// #include #include "util/filesys.h" using namespace std; /** Represents a path that files can be "relative" to. */ class FileContext { public: FileContext() : context_path("") {} FileContext(const string &path) : context_path(path) {} /** convert to path relative to context path: */ std::string to(const string &filename) const { return relative_path(path(context_path), filename); } /** convert from path relative to context path: */ std::string from(const string &filename) const { if(filename.empty() || filename[0] == '/') return filename; else return path(context_path) + filename; } private: string context_path; }; #endif passepartout-0.7.1/src/pptout/document/fileerrors.h000066400000000000000000000013371140125232500225350ustar00rootroot00000000000000#ifndef FILEERRORS_H // -*- c++ -*- #define FILEERRORS_H /// // Copyright (C) 2002 - 2004, Fredrik Arnerup & Rasmus Kaj, See COPYING /// #include #include namespace Error { struct File : public std::runtime_error { typedef std::string string; string message; File(const string _message) : runtime_error("File error: " + _message), message(_message) {} ~File() throw() {} }; struct Write: public File { Write(const string _message="Write error"): File(_message) {} }; struct Print: public Write { Print(const string _message="Print error"): Write(_message) {} }; struct Read: public File { Read(const string _message="Read error"): File(_message) {} }; } #endif passepartout-0.7.1/src/pptout/document/getxsltparams.cc000066400000000000000000000036171140125232500234200ustar00rootroot00000000000000/// // Copyright (C) 2003, 2004, Fredrik Arnerup & Rasmus Kaj, See COPYING /// #include #include #include class XsltParamsFinder : public xmlpp::SaxParser { public: XsltParamsFinder() : done(false) {} const std::vector& result() const { return found; } protected: void on_start_element(const std::string& n, const xmlpp::SaxParser::AttributeList &p); private: std::vector found; std::string param_elem, template_elem; bool done; }; void XsltParamsFinder::on_start_element (const std::string& n, const xmlpp::SaxParser::AttributeList &p) { if(done) return; if(param_elem.empty()) { // This is the first element in the stylesheet, get the prefix from this // element! std::string::size_type p = n.find(':'); if(p == std::string::npos) { param_elem = "param"; template_elem = "template"; } else { param_elem = n.substr(0, p) + ":param"; template_elem = n.substr(0, p) + ":template"; } } else if(n == param_elem) { using namespace xmlpp; const SaxParser::AttributeList::const_iterator i = std::find_if(p.begin(), p.end(), SaxParser::AttributeHasName("name")); if(i != p.end()) { found.push_back(i->value); } } else if(n == template_elem) { /// \todo actually abort the parsing, rather than just converting the /// callback to a noop. done = true; } } std::vector getXsltParams(const std::string& source) { XsltParamsFinder finder; std::ifstream in(source.c_str()); finder.parse_stream(in); return finder.result(); } #if 0 int main() { std::vector params = get_params ("/home/kaj/proj/emission/emissionxml/passepartout/teaser.xslt"); for(std::vector::const_iterator i = params.begin(); i != params.end(); ++i) { std::cout << "Found parameter: " << *i << std::endl; } return 0; } #endif passepartout-0.7.1/src/pptout/document/getxsltparams.h000066400000000000000000000006611140125232500232560ustar00rootroot00000000000000#ifndef GETXSLTPARAMS_H // -*- c++ -*- #define GETXSLTPARAMS_H /// // Copyright (C) 2003, 2004, Fredrik Arnerup & Rasmus Kaj, See COPYING /// #include #include /** * Get a list of the parameters the xslt stylesheet {source} accepts. * \param source a file name for an xslt stylesheet. * \result a vector of parameter names. */ std::vector getXsltParams(const std::string& source); #endif passepartout-0.7.1/src/pptout/document/group.cc000066400000000000000000000217631140125232500216600ustar00rootroot00000000000000/// // Copyright (C) 2002 - 2004, Fredrik Arnerup & Rasmus Kaj, See COPYING /// #include "group.h" #include "document.h" #include "loader.h" #include "util/rectboundary.h" #include "util/stringutil.h" #include "util/warning.h" #include "ps/misc.h" #include #include #include Group::Group(const ElementWrap& xml, Group *parent) : Pagent(parent, xml.get_attribute("name", "group")) { matrix = xml.get_attribute("transform"); const xmlpp::Element::NodeList children = xml.element().get_children(); for(xmlpp::Element::NodeList::const_iterator i = children.begin(); i != children.end(); i++) { if(const xmlpp::Element *element = dynamic_cast(*i)) { std::string name = element->get_name(); if(name == "frame") add(load(ElementWrap(xml, *element), this)); else warning << "Unknown node <" << name << "> ignored in group" << std::endl; } } } Group::Group(Group* parent, const std::string& name) : Pagent(parent, name) {} Group::Group(Group* parent, const std::string& name, const Matrix& xform) : Pagent(parent, name) { set_matrix(xform); } Group::~Group() { // Note: When a group is "ungrouped", the childs should not be removed. // Fix that by moving the childs from the group to its parent before // deleteing the group. for(ChildVec::iterator i = childs.begin(); i != childs.end(); i++) delete *i; } void Group::print(std::ostream& out, bool grayscale) const { out << "gsave % group\n" << PS::Concat(get_matrix()); for(ChildVec::const_reverse_iterator i = childs.rbegin(); i != childs.rend(); i++) (*i)->print(out, grayscale); out << "grestore % /group" << std::endl; } void Group::print_pdf(PDF::Content::Ptr pdf) const { pdf->data() << "q\n" << get_matrix() << " cm\n"; for(ChildVec::const_reverse_iterator i = childs.rbegin(); i != childs.rend(); i++) (*i)->print_pdf(pdf); pdf->data() << "Q\n"; } class Rectangle { public: Rectangle(const Vector& v) : lo_x(v.x), lo_y(v.y), hi_x(v.x), hi_y(v.y) {} void grow(const Vector& v) { if(v.x < lo_x) lo_x = v.x; if(v.x > hi_x) hi_x = v.x; if(v.y < lo_y) lo_y = v.y; if(v.y > hi_y) hi_y = v.y; } Boundary getBox() const { return RectBoundary::create(Matrix::translation(Vector(lo_x, lo_y)), hi_x - lo_x, hi_y - lo_y); } private: double lo_x, lo_y, hi_x, hi_y; }; namespace { Boundary get_bounding_box(std::list::const_iterator begin, std::list::const_iterator end) { // If the group has no members, return a zero-size box at the right place // Hmm. It seems zero-sized boxes isn't supported ... /// \todo: It would probably make sense to cache the box. /// \todo: create the boundary at the right place if the group /// doesn't have any children if(begin == end) return RectBoundary::create(Matrix(), 1, 1); std::list::const_iterator i = begin; const Boundary box = (*i)->get_box(); Rectangle rect(box->getCorner(Corner::LL)); rect.grow(box->getCorner(Corner::LR)); rect.grow(box->getCorner(Corner::UL)); rect.grow(box->getCorner(Corner::UR)); for(; i != end; i++) { const Boundary box = (*i)->get_box(); rect.grow(box->getCorner(Corner::LL)); rect.grow(box->getCorner(Corner::LR)); rect.grow(box->getCorner(Corner::UL)); rect.grow(box->getCorner(Corner::UR)); } return rect.getBox(); } } Boundary Group::get_untransformed_box() const { return get_bounding_box(childs.begin(), childs.end()); } Boundary Group::get_box() const { return get_untransformed_box() * get_matrix(); } Vector Group::get_inherent_size() const { const Boundary box = get_untransformed_box(); return Vector(box->get_width(), box->get_height()); } // Note: maybe it's best to let a pagent ask its parent what its // policy on flow around is. void Group::set_flow_around(bool) {} // Todo bool Group::get_flow_around() const { return false; } // Todo BoundaryVect Group::obstacle_list() const { BoundaryVect result; for(ChildVec::const_iterator i=childs.begin(); i!=childs.end(); i++) { if(Boundary boundary = (*i)->get_obstacle_boundary()) result.push_back(boundary); } return result; } Boundary Group::get_obstacle_boundary() const { return Boundary(); // Todo } std::string Group::getTypeName() const { return "group"; } xmlpp::Element* Group::save(xmlpp::Element& parent_node, const FileContext &context) const { xmlpp::Element *node = parent_node.add_child("frame"); node->set_attribute("type", "group"); node->set_attribute("transform", tostr(get_matrix())); save_childs(*node, context); return node; } void Group::save_childs(xmlpp::Element& node, const FileContext &context) const { for(ChildVec::const_reverse_iterator i = childs.rbegin(); i != childs.rend(); i++) (*i)->save(node, context); } void Group::group_selected() { /// \todo make this work by doing matrix operations const Document::Selection selection=Document::containing(*this).selected(); if(selection.size() <= 1) //no one-item groups, please return; // Calculate translation: Vector ll = get_bounding_box(selection.begin(), selection.end())->getCorner(Corner::LL); Group *group = new Group(this, "group", Matrix::translation(ll.x, ll.y)); // Use a copy or we will confuse ourselves while manipulating a container // we are iterating over. ChildVec childs_copy = childs; // reparent selected // Loop over childs rather than selection, to get objects in correct order for(ChildVec::reverse_iterator i = childs_copy.rbegin(); i != childs_copy.rend(); i++) { if(find(selection.begin(), selection.end(), *i) != selection.end()) { (*i)->set_matrix((*i)->get_matrix()*group->get_matrix().inv()); group->add(ungroup(*i)); } } if(group->count()) { add(group); Document::containing(*this).select(group); } else { warning << "Got a strange group. Deleting it again." << std::endl; delete group; } group_changed_signal(); } void Group::ungroup_selected() { /// \todo preserve stacking order const Document::Selection &selection = Document::containing(*this).selected(); for(Document::Selection::const_iterator i = selection.begin(); i != selection.end(); i++) { Group *group = dynamic_cast(*i); if(group) { Document::containing(*this).deselect(*i); while(group->pbegin() != group->pend()) { Pagent *pagent = group->ungroup(*(group->prbegin())); if(pagent) { pagent->set_matrix(pagent->get_matrix()*group->get_matrix()); add(pagent); Document::containing(*this).select(pagent, false); } } if(!ungroup(group)) warning << "Group not in this group" << std::endl; delete group; group_changed_signal(); } } } bool Group::has_child(const Pagent *pagent) const { return std::find(childs.begin(), childs.end(), pagent) != childs.end(); } void Group::add(Pagent* obj) { // the front is the top childs.push_front(obj); obj->set_parent(this); group_changed_signal(); } Pagent* Group::ungroup(Pagent* obj) { ChildVec::iterator i = find(childs.begin(), childs.end(), obj); if(i == childs.end()) //won't let me compare i==pend() return 0; childs.erase(i); obj->set_parent(parent); group_changed_signal(); return obj; } void Group::rearrange_selected(RearrangeTarget target) { const Document::Selection &selection = Document::containing(*this).selected(); if(target == TOP || target == BOTTOM) { ChildVec sorted_selection; // remove selected items from list for(Document::Selection::const_iterator s = selection.begin(); s!=selection.end(); s++) { ChildVec::iterator i = find(childs.begin(), childs.end(), *s); if(i != childs.end()) { sorted_selection.push_back(*i); childs.erase(i); } else warning << "Selected item not on this page." << std::endl; } // append items to front or back childs.insert(target == TOP ? childs.begin() : childs.end(), sorted_selection.begin(), sorted_selection.end()); } else { // UP or DOWN // This is basically a single-step bubblesort, // except that each element may only be swapped once. for(ChildVec::iterator i = childs.begin(); i != childs.end(); i++) { ChildVec::iterator j = i; j++; if(j == childs.end()) break; bool i_selected = (find(selection.begin(), selection.end(), *i) != selection.end()); bool j_selected = (find(selection.begin(), selection.end(), *j) != selection.end()); if(i_selected && j_selected) continue; if((i_selected && target == DOWN) || (j_selected && target == UP)) { Pagent *tmp = *j; *j = *i; *i = tmp; // swap i++; // no swap next time } } } group_changed_signal(); geometry_changed_signal(); } void Group::child_props_changed() { // if(pagent!=this) // no infinite loops, please props_changed_signal(); } void Group::child_geometry_changed() { // if(pagent!=this) // no infinite loops, please geometry_changed_signal(); } passepartout-0.7.1/src/pptout/document/group.h000066400000000000000000000037151140125232500215170ustar00rootroot00000000000000#ifndef GROUP_H // -*- c++ -*- #define GROUP_H /// // Copyright (C) 2002 - 2004, Fredrik Arnerup & Rasmus Kaj, See COPYING /// #include "pagent.h" #include "util/xmlwrap.h" #include enum RearrangeTarget { UP, DOWN, TOP, BOTTOM }; class Group : public Pagent { public: typedef std::list ChildVec; Group(Group *parent, const std::string& name); Group(Group *parent, const std::string& name, const Matrix& xform); Group(const ElementWrap& xml, Group *parent); virtual ~Group(); virtual std::string getTypeName() const; xmlpp::Element *save(xmlpp::Element& parent_node, const FileContext &context) const; void print(std::ostream& out, bool grayscale = false) const; void print_pdf(PDF::Content::Ptr pdf) const; Boundary get_box() const; Vector get_inherent_size() const; void set_flow_around(bool); bool get_flow_around() const; Boundary get_obstacle_boundary() const; BoundaryVect obstacle_list() const; void add(Pagent* obj); Pagent* ungroup(Pagent* obj); void rearrange_selected(RearrangeTarget target); void group_selected(); void ungroup_selected(); int count() const {return childs.size();} /// Returns true if pagent is a child of this group. bool has_child(const Pagent *pagent) const; //protected: void save_childs(xmlpp::Element& node, const FileContext &context) const; ChildVec::const_iterator pbegin() const { return childs.begin(); } ChildVec::const_iterator pend() const { return childs.end(); } ChildVec::const_reverse_iterator prbegin() const { return childs.rbegin(); } ChildVec::const_reverse_iterator prend() const { return childs.rend(); } // A change in a child is a change in the group: virtual void child_props_changed(); virtual void child_geometry_changed(); /** Raised on direct changes to the group (i.e. new / ungrouped member) */ sigc::signal group_changed_signal; private: Boundary get_untransformed_box() const; ChildVec childs; }; #endif passepartout-0.7.1/src/pptout/document/imageframe.cc000066400000000000000000000255161140125232500226210ustar00rootroot00000000000000/// // Copyright (C) 2002 - 2004, Fredrik Arnerup & Rasmus Kaj, See COPYING /// #include "imageframe.h" #include "fileerrors.h" #include #include #include "util/warning.h" #include "util/stringutil.h" #include "util/filesys.h" #include "util/tempfile.h" #include "util/processman.h" #include "util/rectboundary.h" #include "util/xmlwrap.h" #include "util/filedescriptors.h" #include "ps/misc.h" #include "ps/wineps.h" #include "ps/pdfparser.h" bool ImageFrame::is_postscript(std::string filename) { std::ifstream in(filename.c_str()); char magic[5]; // the magic number is four bytes long return in && in.get(magic, 5) && (std::string(magic) == "%!PS" || PS::check_windows_magic(magic)); } ImageFrame::ImageFrame(Group *parent, const std::string& assoc) : CachedFrame(parent, "Image " + basename(assoc)), association(assoc), filewatcher(association) { filewatcher.modified_signal.connect (sigc::mem_fun(*this, &ImageFrame::on_file_modified)); read_size(); } ImageFrame::ImageFrame(const ElementWrap& xml, Group *parent) : CachedFrame(xml, parent), association(xml.get_filename("file")), filewatcher(association) { filewatcher.modified_signal.connect (sigc::mem_fun(*this, &ImageFrame::on_file_modified)); if(association.empty()) { warning << "No or empty \"file\" attribute found in image frame" << std::endl; } read_size(); // try to read bounding box from file } ImageFrame::~ImageFrame() {} std::string ImageFrame::getTypeName() const { return "image"; } xmlpp::Element *ImageFrame::save(xmlpp::Element& parent_node, const FileContext &context) const { xmlpp::Element *node = CachedFrame::save(parent_node, context); node->set_attribute("type", "image"); node->set_attribute("file", context.to(association)); return node; } void ImageFrame::print(std::ostream &out, bool grayscale) const { if(association.empty()) { CachedFrame::print(out); return; } out << "save\n" << "/showpage {} def\n" << PS::Concat(get_matrix()) << "0 setgray 0 setlinecap 1 setlinewidth\n" << "0 setlinejoin 10 setmiterlimit [] 0 setdash newpath\n"; if(true) //FIXME!!! if(level2) out << "false setoverprint false setstrokeadjust\n"; // redefine color operators // NOTE: does not work for images // NOTE: this does not work for CIE-based or special color spaces if(grayscale) { out << "/setrgbcolor {setrgbcolor currentgray setgray} bind def\n" << "/sethsbcolor {sethsbcolor currentgray setgray} bind def\n" << "/setcmykcolor {setcmykcolor currentgray setgray} bind def\n" << "/setcolor {setcolor currentgray setgray} bind def\n"; } out << "%%BeginDocument: " << association << '\n'; PS::WinEPSFilter in(association.c_str()); if(in) { try { float x1, y1; // width and height of actual file. bool boundingbox_found = false; bool transf_performed = false; std::string tmpline; while(getline(in, tmpline)) { if(!transf_performed && starts_with(tmpline, "%%BoundingBox:")) { std::istringstream tmp(tmpline.c_str()); std::string word; float x2, y2; if(tmp >> word >> x1 >> y1 >> x2 >> y2) { boundingbox_found = true; out << "%%BoundingBox: 0 0 " << x2 - x1 << ' ' << y2 - y1 << '\n'; } } else if(!transf_performed && !starts_with(tmpline, '%')) { out << tmpline << "\n\n"; transf_performed = true; if(!boundingbox_found) throw BasicFrame::GenPicError(BasicFrame::GENERATION, "No BoundingBox found"); else { out << -x1 << ' ' << -y1 << " translate\n\n"; } } else out << tmpline << '\n'; } } catch(GenPicError e){ throw Error::Print(get_name() + ": " + e.what()); } } else throw Error::Print(get_name() + ": Couldn't read " + association); out << "%%EndDocument\n" << "restore" << std::endl; } /// \todo: this should recurse on dictionaries and arrays. PDF::Dictionary::Ptr deepCopy(PDFParser& sdoc, PDF::Document::Ptr ddoc, PDF::Dictionary::Ptr source, PDF::Dictionary::Ptr dest = PDF::Dictionary::Ptr()) { if(!dest) { if(PDF::Stream::Ptr s = source.dyn_cast()) { PDF::Stream::Ptr sdest = PDF::Stream::create(); sdest->data() << s->rawdata(); dest = sdest; } else dest = PDF::Dictionary::create(); } for(PDF::Dictionary::iterator i = source->begin(); i != source->end(); ++i) { if(PDF::Ref::Ptr ref = i->second.dyn_cast()) { PDF::Object::Ptr obj = sdoc.getObject(ref); // Todo: Array if(PDF::Dictionary::Ptr d = obj.dyn_cast()) { obj = deepCopy(sdoc, ddoc, d); } dest->set_entry(i->first, ddoc->get_xrefs()->add_object(obj)); } else if(PDF::Dictionary::Ptr d = i->second.dyn_cast()) { dest->set_entry(i->first, deepCopy(sdoc, ddoc, d)); } else dest->set_entry(i->first, i->second); } return dest; } void ImageFrame::print_pdf(PDF::Content::Ptr pdf) const { try { Tempfile pdfbuf; const Vector framesize = get_inherent_size(); std::vector argv; argv.push_back("gs"); argv.push_back("-q"); argv.push_back("-dSAFER"); argv.push_back("-dNOPAUSE"); argv.push_back("-dBATCH"); argv.push_back("-sDEVICE=pdfwrite"); argv.push_back("-r72"); argv.push_back("-g" + tostr(framesize.x) + "x" + tostr(framesize.y)); /// \todo Tell gs about the fontpath, so we get inclusion of fonts that /// isn't included in the eps. argv.push_back("-sOutputFile=" + pdfbuf.get_filename()); argv.push_back("-"); Process proc = ProcessManager::instance().run(argv); // Just like generate_picture, but without applying the matrix // (that is done when calling the xobject) /// \todo genereate_picture should ingore the matrix, then it could be /// used here. proc->get_cin() << "save\n" << "/showpage {} def\n" << -lowerleft.x << ' ' << -lowerleft.y << " translate\n" << '(' << association << ") run\n" << "restore\n" << "showpage" << std::endl; proc->close_cin(); int retval = proc->wait(); if(retval != 0) { throw std::runtime_error("Failed to convert eps to pdf, gs returned " + tostr(retval)); } verbose << "PDF printing of EPS " << association << "; wrote " << pdfbuf.get_filename() << ", " << retval << std::endl; PDFParser pdfp(pdfbuf.get_filename().c_str()); PDF::Dictionary::Ptr trailer = pdfp.getTrailer(); PDF::Dictionary::Ptr root = pdfp.getObject(trailer->get_entry("Root")) .dyn_cast(); PDF::Dictionary::Ptr pages = pdfp.getObject(root->get_entry("Pages")) .dyn_cast(); if(int(pages->get_entry("Count").dyn_cast()->get_value()) != 1) throw std::runtime_error("Number of pages must be one in eps"); PDF::Dictionary::Ptr page = pdfp.getObject (pages->get_entry("Kids").dyn_cast()->at(0)) .dyn_cast(); PDF::Dictionary::Ptr content = pdfp.getObject(page->get_entry("Contents")) .dyn_cast(); #if 1 PDF::Dictionary::Ptr xobj = deepCopy(pdfp, pdf->getDocument(), content); xobj->set_entry_name("Type", "XObject"); xobj->set_entry_name("Subtype", "Form"); xobj->set_entry("BBox", page->get_entry("MediaBox")); xobj->set_entry("Resources", deepCopy (pdfp, pdf->getDocument(), pdfp.getObject(page->get_entry("Resources")) .dyn_cast())); #else PDF::Array::Ptr box = page.get_entry("MediaBox").dyn_cast(); // This is the actual XObject that we create for the output! PDF::Content::Ptr xobj = new PDF::Content (pdf.getDocument(), int(dynamic_cast(*box.at(2)).get_value()+0.5), int(dynamic_cast(*box.at(3)).get_value()+0.5)); for(PDF::Dictionary::const_iterator i = content.begin(); i != content.end(); ++i) xobj->set_entry(i->first, i->second); xobj->data() << dynamic_cast(content).rawdata(); // Deep copy of the resources PDF::Dictionary *xres = dynamic_cast (xobj->get_entry("Resources")); if(!xres) throw std::runtime_error("Target Resources dictionary missing"); const PDF::Dictionary *sres = dynamic_cast (page.get_entry("Resources")); if(!sres) throw std::runtime_error("Source Resources dictionary missing"); deepCopy(pdfp, pdf.getDocument(), *sres, xres); #endif // And at last -- actually register and call the XObject const std::string objname = pdf->registerXObj(xobj); pdf->data() << "q\n" << get_matrix() << " cm\n" << '/' << objname << " Do\n" << "Q\n"; } catch(const std::exception& err) { throw std::runtime_error("Failed to print eps \"" + association + "\" to pdf: " + err.what()); } } void ImageFrame::set_association(const std::string &s) { if(association == s) return; association = s; filewatcher.set_file(association); on_file_modified(); props_changed_signal(); } Boundary ImageFrame::get_box() const { return RectBoundary::create(get_matrix(), inherentsize.x, inherentsize.y); } void ImageFrame::generate_picture(std::ostream& psstream) const { if(association.empty()) throw GenPicError(ASSOCIATION, "No associated file"); if(!access(association)) throw GenPicError(ASSOCIATION, "Can't read " + association); const Matrix &m = get_matrix(); // We don't have to write the image data to gs, just tell it where it's at. // The save/restore/showpage stuff is so there is one and only one effective // showpage sent to gs. psstream << "save\n" << "/showpage {} def\n" << m.sc_x() << ' ' << m.sc_y() << " scale\n" << -lowerleft.x << ' ' << -lowerleft.y << " translate\n" << '(' << association << ") run\n" << "restore\n" << "showpage" << std::endl; // Ugly, but the best way I found to actually close the stream: dynamic_cast(*psstream.rdbuf()).close(); } void ImageFrame::on_file_modified() { read_size(); object_changed_signal(); } // Note: as long as this is only called in the constructor there is no need to // emit a geometry_changed_signal void ImageFrame::read_size() { if(!association.empty()) { PS::WinEPSFilter in(association); std::string tmpline; while(getline(in, tmpline)) { if(starts_with(tmpline, "%%BoundingBox:")) { std::istringstream tmp(tmpline.c_str()); std::string word; float x1, y1, x2, y2; if(tmp >> word >> x1 >> y1 >> x2 >> y2) { lowerleft = Vector(x1, y1); inherentsize = Vector(x2 - x1, y2 - y1); return; } else warning << "Bad bounding box in " << association << std::endl; } } } // If we din't find a value in the file, set som arbitrary values. lowerleft = Vector(0, 0); inherentsize = Vector(100, 100); } passepartout-0.7.1/src/pptout/document/imageframe.h000066400000000000000000000023201140125232500224470ustar00rootroot00000000000000#ifndef IMAGEFRAME_H // -*- c++ -*- #define IMAGEFRAME_H /// // Copyright (C) 2002 - 2004, Fredrik Arnerup & Rasmus Kaj, See COPYING /// #include "util/filewatcher.h" #include "cachedframe.h" class ImageFrame: public CachedFrame { public: // try to determine if a file is a ps static bool is_postscript(std::string filename); ImageFrame(Group *parent, const std::string& assoc); ImageFrame(const ElementWrap& xml, Group *parent); virtual ~ImageFrame(); virtual std::string getTypeName() const; virtual xmlpp::Element *save(xmlpp::Element& parent_node, const FileContext &context) const ; virtual void print(std::ostream &out, bool grayscale = false) const; virtual void print_pdf(PDF::Content::Ptr pdf) const; void generate_picture(std::ostream& psstream) const; // *** undoable actions *** void set_association(const std::string &s); // *** probe state *** Boundary get_box() const; const std::string &get_association() const {return association;} Vector get_inherent_size() const { return inherentsize; } protected: std::string association; FileWatcher filewatcher; void on_file_modified(); void read_size(); private: Vector lowerleft, inherentsize; }; #endif passepartout-0.7.1/src/pptout/document/loader.cc000066400000000000000000000015631140125232500217660ustar00rootroot00000000000000/// // Copyright (C) 2002 - 2004, Fredrik Arnerup & Rasmus Kaj, See COPYING /// #include "loader.h" #include "fileerrors.h" #include "imageframe.h" #include "rasterframe.h" #include "textframe.h" Pagent *load(const ElementWrap& xml, Group *parent) { const std::string name = xml.get_element_name(); if(name == "frame") { const std::string type = xml.get_required_attribute("type"); // create according to type string: if(type == "group") return new Group(xml, parent); else if(type == "image") return new ImageFrame(xml, parent); else if(type == "raster") return new RasterFrame(xml, parent); else if(type == "text") return new TextFrame(xml, parent); else throw Error::Read("Unknown frame type: \"" + type + "\"."); } else { throw Error::Read("Expected a but got a <" + name + ">."); } } passepartout-0.7.1/src/pptout/document/loader.h000066400000000000000000000004711140125232500216250ustar00rootroot00000000000000#ifndef LOADER_H // -*- c++ -*- #define LOADER_H /// // Copyright (C) 2002 - 2004, Fredrik Arnerup & Rasmus Kaj, See COPYING /// #include "group.h" /** * Create the appropriate pagent from a \ node. * Throws Error::Read() on failure. */ Pagent *load(const ElementWrap& node, Group *parent); #endif passepartout-0.7.1/src/pptout/document/page.cc000066400000000000000000000121751140125232500214350ustar00rootroot00000000000000/// // Copyright (C) 2002 - 2004, Fredrik Arnerup & Rasmus Kaj, See COPYING /// #include "page.h" #include "fileerrors.h" #include "loader.h" #include "document.h" /// \todo Remove if/when possible #include "util/stringutil.h" #include "util/warning.h" #include #ifdef PNUM_HACK namespace { struct PNumHack { //page numbering hack static const int xpos=40; //points static const int ypos=40; //points static std::string font; static const int font_size=10; } pnum_hack; // std::string PNumHack::font="Palatino-Italic"; std::string PNumHack::font="URWPalladioL-Ital"; } #endif template<> std::string TypeInfo::name() { return "Guide orientation"; } std::istream& operator >> (std::istream& in, Guide::Orientation& o) { char ch; if(in.get(ch)) switch(ch) { case 'h': o = Guide::HORIZONTAL; break; case 'v': o = Guide::VERTICAL; break; default: in.setstate(in.badbit); } return in; } std::ostream& operator << (std::ostream& out, const Guide::Orientation& o) { return out << (o == Guide::HORIZONTAL ? 'h' : 'v'); } Guide::Guide(const ElementWrap& xml) : orientation(xml.get_attribute("orientation", VERTICAL)), position(xml.get_required_attribute("pos")) {} int Page::get_page_num() const { return document.get_page_num_of_page(this); } Page::Page(Document& d) :Group(0, ""), document(d) {} Page::Page(const ElementWrap& xml, Document& d) :Group(0, ""), document(d) { // Note: Default name for a Page is "", which differs from Group. name = xml.get_attribute("name"); const xmlpp::Node::NodeList children = xml.element().get_children(); for(xmlpp::Node::NodeList::const_iterator i = children.begin(); i != children.end(); i++) { if(const xmlpp::Element* elem = dynamic_cast(*i)) { const std::string name = elem->get_name(); if(name == "frame") { add(load(ElementWrap(xml, *elem), this)); } else if(name == "guide") { guides.push_back(Guide(ElementWrap(xml, *elem))); } else { warning << "Unknown node <" << name << "> ignored in ." << std::endl; } } } /// \todo Maybe throw an error if *i was a text node (but not if it was a /// comment) ... } Page::~Page() {} xmlpp::Element *Page::save(xmlpp::Element& parent_node, const FileContext &context) { xmlpp::Element *node = parent_node.add_child("page"); for(Guides::const_iterator i = guides.begin(); i != guides.end(); i++) { xmlpp::Element *guide_node = node->add_child("guide"); guide_node->set_attribute("orientation", tostr(i->orientation)); guide_node->set_attribute("pos", tostr(i->position)); } save_childs(*node, context); if(!name.empty()) node->set_attribute("name", name); return node; } void Page::print(std::ostream &out, bool grayscale) { #ifdef PNUM_HACK // Page numbering hack: { int page_num=get_page_num(); bool odd=page_num%2; int xpos=odd?(int) get_width()-pnum_hack.xpos:pnum_hack.xpos; int ypos=pnum_hack.ypos; out << '/' << pnum_hack.font << " findfont " << pnum_hack.font_size << " scalefont setfont" << std::endl << xpos << ' ' << ypos << " moveto (" << page_num << ") show" << std::endl; } #endif Group::print(out, grayscale); out << std::endl << "showpage" << std::endl << std::endl; } void Page::print_pdf(PDF::Document::Ptr pdf) const { PDF::Content::Ptr result = pdf->add_page(int(get_width()), int(get_height())); #ifdef PNUM_HACK // Page numbering hack: { int page_num=get_page_num(); bool odd=page_num%2; int xpos=odd?(int) get_width()-pnum_hack.xpos:pnum_hack.xpos; int ypos=pnum_hack.ypos; result->beginText(); result->selectfont(font::FontInfo(pnum_hack.font, pnum_hack.font_size)); result->moveto(xpos, ypos); result->show(to(tostr(page_num))); result->endText(); } #endif Group::print_pdf(result); /// \todo implement the page num hack (or make "real" page numbering) } std::string Page::get_name() { /// \todo is this a bad idea? return name.empty() ? tostr(get_page_num()) : std::string(name); } float Page::get_width() const { return document.get_width(); } float Page::get_height() const { return document.get_height(); } float Page::get_xpos() const { return 0; } float Page::get_ypos() const { return 0; } void Page::addObject(Pagent* obj) { add(obj); Document::containing(*this).select(obj); } void Page::select_all(bool select) { document.select_all_on_page(this, select); } Page& Page::containing(Pagent& obj) { try { if(Page* result = dynamic_cast(&obj)) return *result; else return Page::containing(obj.get_parent()); } catch(const Error::NoParent& err) { throw std::logic_error ("Tried to get Page containing pagent that was not on a Page."); } } const Page& Page::containing(const Pagent& obj) { try { if(const Page* result = dynamic_cast(&obj)) return *result; else return Page::containing(obj.get_parent()); } catch(const Error::NoParent& err) { throw std::logic_error ("Tried to get Page containing pagent that was not on a Page."); } } passepartout-0.7.1/src/pptout/document/page.h000066400000000000000000000031631140125232500212740ustar00rootroot00000000000000#ifndef PAGE_H // -*- c++ -*- #define PAGE_H /// // Copyright (C) 2002 - 2004, Fredrik Arnerup & Rasmus Kaj, See COPYING /// #include "group.h" #include "ps/pdf.h" #include struct Guide { // a guide-line enum Orientation { HORIZONTAL, VERTICAL }; Orientation orientation; float position; Guide(Orientation orientation_, float position_) : orientation(orientation_), position( position_) {} Guide(const ElementWrap& node); }; class Document; class Page: public Group { public: Page(Document&); Page(const ElementWrap& xml, Document&); ~Page(); xmlpp::Element *save(xmlpp::Element& parent_node, const FileContext &context); void print(std::ostream &out, bool grayscale = false); void print_pdf(PDF::Document::Ptr pdf) const; std::string get_name(); // return page number if no name float get_width() const; float get_height() const; float get_xpos() const; float get_ypos() const; int get_page_num() const; // ask document what the page number is void addObject(Pagent* obj); void select_all(bool select); // false for select none /** Find the Page containing a specific Pagent. */ static Page& containing(Pagent& obj); /** Find the Page containing a specific Pagent. */ static const Page& containing(const Pagent& obj); private: friend class Document; /// \todo not like this, anyway ... Document &document; void child_geometry_changed(Pagent *pagent) {} friend class PageViewent; typedef std::list Guides; Guides guides; // Undefined ctors, avoid defaults Page(const Page&); Page(); void operator = (const Page&); }; #endif passepartout-0.7.1/src/pptout/document/pagent.cc000066400000000000000000000061101140125232500217670ustar00rootroot00000000000000/// // Copyright (C) 2002 - 2004, Fredrik Arnerup & Rasmus Kaj, See COPYING /// #include "pagent.h" #include "group.h" #include "util/stringutil.h" #include Error::InvalidPageNum::InvalidPageNum(int num) : logic_error("Invalid page number: " + tostr(num)) {} /** * Create a new Pagent as a child of a specified parent. */ Pagent::Pagent(Group *_parent, const std::string& _name) : parent(_parent), locked(false), flow_around(false), name(_name), obstacle_margin(0) { // a geometry change implies a properties change geometry_changed_signal.connect(props_changed_signal.make_slot()); // a geometry change does NOT imply a redraw connect_to_parent(); } Pagent::~Pagent() {} void Pagent::set_translation(const Vector& v) { Matrix m = get_matrix(); m.set_tr(v); set_matrix(m); } void Pagent::set_shearing(float shear) { Matrix m = get_matrix(); m.set_sh(shear); set_matrix(m); } void Pagent::set_rotation(float angle) { Matrix m = get_matrix(); m.set_rot(angle); set_matrix(m); } void Pagent::set_scaling(float xfactor, float yfactor) { Matrix m = get_matrix(); m.set_scale(xfactor, yfactor); set_matrix(m); } void Pagent::set_lock(bool _locked) { if(_locked != locked) { locked = _locked; props_changed_signal(); } } void Pagent::set_flow_around(bool _flow_around) { if(flow_around != _flow_around) { flow_around = _flow_around; props_changed_signal(); } } void Pagent::set_obstacle_margin(float margin) { if(margin != obstacle_margin) { obstacle_margin = margin; props_changed_signal(); } } void Pagent::set_name(const std::string &_name) { if(_name != name) { name = _name; props_changed_signal(); } } int Pagent::get_page_num() const { if(parent) return parent->get_page_num(); else throw Error::NoParent(); } void Pagent::set_parent(Group *_parent) { if(parent) { draw_connection.disconnect(); geometry_connection.disconnect(); props_connection.disconnect(); } parent = _parent; connect_to_parent(); } void Pagent::set_matrix(Matrix m) { if(matrix == m) return; /// \todo This is an assert, it should be defined as an assert. if(m.sc_x() == 0 || m.sc_y() == 0 || m.det() == 0) throw std::runtime_error("Bad matrix in set_matrix: " + tostr(m)); matrix = m; geometry_changed_signal(); } Group& Pagent::get_parent() { if(!parent) throw Error::NoParent(); else return *parent; } const Group& Pagent::get_parent() const { if(!parent) throw Error::NoParent(); else return *parent; } void Pagent::connect_to_parent() { // Anything that happens to a pagent, happens to its parent. // It is simpler to put this in pagent than in group, because // a group would need to maintain a list of connections. // Note: we will get multible implicit signals. if(parent) { geometry_connection = geometry_changed_signal.connect (sigc::mem_fun(*parent, &Group::child_geometry_changed)); props_connection = props_changed_signal.connect (sigc::mem_fun(*parent, &Group::child_props_changed)); } } Pagent::Resizable::~Resizable() {} passepartout-0.7.1/src/pptout/document/pagent.h000066400000000000000000000104301140125232500216310ustar00rootroot00000000000000#ifndef PAGENT_H // -*- c++ -*- #define PAGENT_H /// // Copyright (C) 2002 - 2004, Fredrik Arnerup & Rasmus Kaj, See COPYING /// #include "util/matrix.h" #include "util/boundary.h" #include "ps/pdf.h" #include #include #include #include #include #include "filecontext.h" class Group; namespace Error { struct NoParent : public std::logic_error { NoParent() : logic_error("Pagent has no parent") {} }; struct InvalidPageNum : public std::logic_error { InvalidPageNum() : logic_error("Invalid page number") {} InvalidPageNum(int num); }; } /** * The most general interface to anything on a Page. * A Pagent has a size and a transformation matrix that defines where on the * Page it is. */ class Pagent: public sigc::trackable { public: Pagent(Group *_parent, const std::string& _name); virtual ~Pagent(); /** * Save this Pagent to an xml Element to be included in a Passepartout save * file. * \param parent_node the xml node that the saved element should be in. * \param context a context for handling file names. */ virtual xmlpp::Element *save(xmlpp::Element& parent_node, const FileContext &context) const = 0; /** * Print this pagent as PostScript. * \param out the stream for the PostScript output. * \param grayscale if true, print grayscale only. */ virtual void print(std::ostream &out, bool grayscale = false) const = 0; /** * Print this pagent as PDF. */ virtual void print_pdf(PDF::Content::Ptr pdf) const = 0; // *** undoable actions *** virtual void set_translation(const Vector& v); virtual void set_shearing(float shear); virtual void set_rotation(float angle); virtual void set_scaling(float xfactor, float yfactor); virtual void set_lock(bool _locked); // a locked pagent cannot be moved or reshaped with the mouse virtual void set_flow_around(bool _flow_around); virtual void set_obstacle_margin(float margin); virtual void set_name(const std::string &_name); // *** probe state *** virtual const std::string &get_name() const {return name;} /** The name of this frame type, e.g. image. */ virtual std::string getTypeName() const = 0; virtual bool get_lock() const {return locked;} virtual Boundary get_box() const = 0; virtual const Matrix& get_matrix() const {return matrix;} /** * Get the inherent size of this object. The inherent size is the size as * the object sees it, in its own coordinate system (before applying the * matrix). */ virtual Vector get_inherent_size() const = 0; virtual bool get_flow_around() const {return flow_around;} virtual Boundary get_obstacle_boundary() const = 0; virtual float get_obstacle_margin() const {return obstacle_margin;} virtual int get_page_num() const; // Ask the page what number it is // May throw Error::InvalidPageNum if there is a problem // with the pages in the document // *** non-undoable actions *** virtual void set_parent(Group *parent_); virtual void set_matrix(Matrix m); // *** access parent objects *** const Group& get_parent() const; Group& get_parent(); /** There was a change in the source object for this Pagent. */ sigc::signal object_changed_signal; /** Anything has changed, anything at all, including position and shape. */ sigc::signal props_changed_signal; /** the pagent has changed shape / position */ sigc::signal geometry_changed_signal; /** * Resizability contract for Pagents. That a Pagent inherits Resizable * means that it has an intrinsic size that can be changed. Other objects * have a fixed intrinsic size (e.g. a raster image) that can't be changed * from inside passepartout. */ class Resizable { public: virtual ~Resizable(); /** Set the intrinsic size of the pagent. */ virtual void set_size(float width, float height) = 0; }; protected: Group *parent; bool locked, flow_around; Matrix matrix; std::string name; float obstacle_margin; // connections to parent sigc::connection draw_connection, geometry_connection, props_connection; void connect_to_parent(); private: // Undefined ctors, avoid defaults Pagent(const Pagent&); Pagent(); void operator = (const Pagent&); }; #endif passepartout-0.7.1/src/pptout/document/paper_sizes.cc000066400000000000000000000033501140125232500230400ustar00rootroot00000000000000/// // Copyright (C) 2002 - 2004, Fredrik Arnerup & Rasmus Kaj, See COPYING /// #include "paper_sizes.h" Papers papers; Papers::Papers() { // LengthUnits &l = length_units; // ISO golden section paper sizes // - used in almost the entire civilised world sizes["A0"] = Size(2383.9, 3370.4); // 841 x 1189 mm sizes["A1"] = Size(1683.8, 2383.9); // 594 x 841 mm sizes["A2"] = Size(1190.6, 1683.8); // 420 x 594 mm sizes["A3"] = Size(841.9, 1190.6); // 297 x 420 mm sizes["A4"] = Size(595.3, 841.9); // 210 x 297 mm sizes["A5"] = Size(419.5, 595.3); // 148 x 210 mm sizes["A6"] = Size(297.6, 419.5); // 105 x 148 mm // sizes["A0"] = Size(l.to_base(841, "mm"), l.to_base(1189, "mm")); // sizes["A1"] = Size(l.to_base(594, "mm"), l.to_base(841, "mm")); // sizes["A2"] = Size(l.to_base(420, "mm"), l.to_base(594, "mm")); // sizes["A3"] = Size(l.to_base(297, "mm"), l.to_base(420, "mm")); // sizes["A4"] = Size(l.to_base(210, "mm"), l.to_base(297, "mm")); // sizes["A5"] = Size(l.to_base(148, "mm"), l.to_base(210, "mm")); // sizes["A6"] = Size(l.to_base(105, "mm"), l.to_base(148, "mm")); // paper sizes used in the U.S. and Canada // "Tabloid" and "Ledger" are two names for the same paper sizes["Letter"] = Size(612.3, 790.9); // 216 x 279 mm sizes["Legal"] = Size(612.3, 1009.1); // 216 x 356 mm sizes["Executive"] = Size(538.6, 720.0); // 190 x 254 mm sizes["Tabloid/Ledger"] = Size(790.9, 1224.6); // 279 x 432 mm // sizes["Letter"] = Size(l.to_base(216, "mm"), l.to_base(279, "mm")); // sizes["Legal"] = Size(l.to_base(216, "mm"), l.to_base(356, "mm")); // sizes["Executive"] = Size(l.to_base(190, "mm"), l.to_base(254, "mm")); // sizes["Tabloid/Ledger"] = Size(l.to_base(279, "mm"), l.to_base(432, "mm")); } passepartout-0.7.1/src/pptout/document/paper_sizes.h000066400000000000000000000016351140125232500227060ustar00rootroot00000000000000#ifndef PAPER_SIZES_H // -*- c++ -*- #define PAPER_SIZES_H /// // Copyright (C) 2002 - 2004, Fredrik Arnerup & Rasmus Kaj, See COPYING /// #include #include #include namespace Error { struct PaperName : public std::invalid_argument { std::string name; PaperName(const std::string& _name) :invalid_argument("No paper format named \"" + _name + "\""), name(_name) {} ~PaperName() throw() {} }; } class Papers { public: enum Orientation {PORTRAIT, LANDSCAPE}; class Size { float width, height; public: Size(float w, float h): width(w), height(h) {} Size(): width(-1), height(-1) {} float get_width(Orientation o) const {return o == PORTRAIT ? width : height;} float get_height(Orientation o) const {return o == PORTRAIT ? height : width;} }; std::map sizes; Papers(); }; extern Papers papers; #endif passepartout-0.7.1/src/pptout/document/rasterframe.cc000066400000000000000000000242671140125232500230410ustar00rootroot00000000000000/// // Copyright (C) 2002 - 2004, Fredrik Arnerup & Rasmus Kaj, See COPYING /// #include "rasterframe.h" #include #include #include "util/stringutil.h" #include "util/filesys.h" #include "util/warning.h" #include "util/rectboundary.h" #include "util/xmlwrap.h" #include "ps/encode.h" #include "ps/misc.h" #include "pptout/config.h" // Todo RasterFrame::RasterFrame(const ElementWrap& xml, Group *parent) : BasicFrame(xml, parent), association(xml.get_filename("file")), filewatcher(association) { if(association.empty()) throw Error::Read("\"file\" attribute missing or empty in RasterFrame"); filewatcher.modified_signal.connect (sigc::mem_fun(*this, &RasterFrame::on_file_modified)); on_file_modified(); // Handle widht and height for backwards compatibility float width = xml.get_attribute("width"), height = xml.get_attribute("height"); if(width != 0 || height != 0) { warning << "Converting from old save format, with width/height for raster." << std::endl; set_ppi(Vector(72 * unit_size.get_x() / width, 72 * unit_size.get_y() / height)); } } RasterFrame::RasterFrame(Group* parent, const std::string& filename, float res) : BasicFrame(parent, "Raster " + basename(filename)), association(filename), filewatcher(association) { filewatcher.modified_signal.connect (sigc::mem_fun(*this, &RasterFrame::on_file_modified)); try { filepixbuf = Gdk::Pixbuf::create_from_file(association); /// \todo care for what the image iself says about its resolution? unit_size = Gdk::Point(filepixbuf->get_width(), filepixbuf->get_height()); } catch(Glib::Error e) { throw Error::Read("Cannot load raster image file " + association + "\n" + e.what()); } set_ppi(res > 0 ? Vector(res, res) : get_default_ppi()); } RasterFrame::~RasterFrame() {} void RasterFrame::on_file_modified() { try { filepixbuf = Gdk::Pixbuf::create_from_file(association); /// \todo care for what the image iself says about its resolution? unit_size = Gdk::Point(filepixbuf->get_width(), filepixbuf->get_height()); } catch(const Glib::Error &e){ filepixbuf.clear(); unit_size = Gdk::Point(1,1); warning << get_name() << ": "; warning << e.what() << std::endl; } object_changed_signal(); } std::string RasterFrame::getTypeName() const { return "raster"; } xmlpp::Element *RasterFrame::save(xmlpp::Element& parent_node, const FileContext &context) const { xmlpp::Element *node = BasicFrame::save(parent_node, context); node->set_attribute("type", "raster"); node->set_attribute("file", context.to(association)); return node; } namespace { struct Statistics{ bool grayscale; bool suggest_rle; }; Statistics calc_stats(Glib::RefPtr pixbuf, int samples = 100) { /// \todo check that samples is well below number of pixels Statistics result = {true, false}; const guint8 *data = pixbuf->get_pixels(); const int pixnum = pixbuf->get_width() * pixbuf->get_height(); const int bytes_per_pixel = pixbuf->get_n_channels(); const int rowstride = pixbuf->get_rowstride(); debug << "Rowstride: " << rowstride << std::endl; int rle_count = 0; for(int i = 0; i < 100; i++) debug << int(*(data + i)) << ", "; for(int i = 0; i < samples; i++) { guint32 index = bytes_per_pixel * i * (pixnum / samples); // rowstride does not seem to have to be divisible by bytes_per_pixel: index = (index / rowstride) * rowstride + ((index % rowstride) / bytes_per_pixel) * bytes_per_pixel; const guint8 *pixel = data + index; // is it grayscale? bool grayscale = ((*pixel == *(pixel + 1)) && (*pixel == *(pixel + 2))); result.grayscale = result.grayscale && grayscale; debug << index << ": " << int(*pixel) << " " << int(*(pixel + 1)) << " " << int(*(pixel + 2)) << " " << result.grayscale << std::endl; /// \todo check if b/w // count similar consecutive pixels: rle_count += (grayscale && *pixel == *(pixel + bytes_per_pixel) && *(pixel + 1) == *(pixel + bytes_per_pixel + 1) && *(pixel + 2) == *(pixel + bytes_per_pixel + 2) ) ? 1 : 0; } // minimum amount of similar pixels when suggesting rle: const int suggest_rle_threshold = 3; result.suggest_rle = (rle_count >= suggest_rle_threshold); return result; } } void RasterFrame::print(std::ostream &out, bool grayscale) const { if(!filepixbuf) { out << "% - - - no raster data to print for " << get_name() << std::endl; warning << "No raster data to print for " << get_name() << std::endl; } else { assert(filepixbuf->get_colorspace() == Gdk::COLORSPACE_RGB); Statistics statistics = calc_stats(filepixbuf); const bool print_rle = statistics.suggest_rle; const bool print_gray = grayscale || statistics.grayscale; /// \todo config option for filter, and clever filter selection. PS::EncodeFilter *filter; PS::ASCIIHexEncodeFilter filterHex; PS::ASCII85EncodeFilter filter85; PS::RunLengthEncodeFilter filterRLE; PS::FilterSequence sequence; sequence.push_back(&filter85); if(print_rle) sequence.push_back(&filterRLE); PS::EncodeFilterCascade filterCascade(sequence); filter = &filterCascade; out << "% Raster image: " << basename(association) << "\nsave\n" << PS::Concat(Matrix::scaling(unit_size.get_x(), unit_size.get_y()) * get_matrix()) << (print_gray ? "/DeviceGray" : "/DeviceRGB") << " setcolorspace\n" << "<<\n" << " /ImageType 1" << " /Width " << unit_size.get_x() << " /Height " << unit_size.get_y() << '\n' << " /BitsPerComponent 8\n" << (print_gray ? " /Decode [0 1]\n" : " /Decode [0 1 0 1 0 1]\n") << " /ImageMatrix [" << unit_size.get_x() << " 0 0 " << -unit_size.get_y() << " 0 " << unit_size.get_y() << "]\n" << " /DataSource currentfile\n" << " " << filter->decode_command() << "\n>> image" << std::endl; std::clock_t start = std::clock(); // Dump the actual image data to postscript. guchar* data = filepixbuf->get_pixels(); const int bytes_per_row = filepixbuf->get_rowstride(); const int bytes_per_pixel = filepixbuf->get_n_channels(); filter->begin(&out); // intialize filter // Use a buffer so we don't have to call filter->write() so often. const long buffer_size = 100000; // size? the bigger the better // + 2 for margin when writing three-by-three: guchar *buffer = new guchar[buffer_size + 2]; long i = 0; // buffer index for(int y = 0; y < unit_size.get_y(); ++y) for(int x = 0; x < unit_size.get_x(); ++x) { // Yucky pointer arithmetic ... guchar* pixel = data + bytes_per_row * y + bytes_per_pixel * x; // Note: This assumes that the 3 first channels are RGB, which seem to // be ok currently, even grayscale files are loaded to RGB pixbufs. if(grayscale) { // convert to grayscale according to the red book: guchar g = guchar(0.3 * pixel[0] // r + 0.59 * pixel[1] // g + 0.11 * pixel[2] // b + 0.5); buffer[i++] = g; } else { // memcpy? buffer[i++] = pixel[0]; if(!print_gray) { buffer[i++] = pixel[1]; buffer[i++] = pixel[2]; } } if(i >= buffer_size) { filter->write(buffer, i); i = 0; } } filter->write(buffer, i); filter->end(); // finalize filter delete[] buffer; verbose << "Time to print " << basename(association) << ": " << (std::clock() - start) / 1000 << " ms (" << (print_gray ? "grayscale" : "color") << (print_rle ? ", RLE" : "") << ")" << std::endl; out << "\nrestore" << std::endl; } } void RasterFrame::print_pdf(PDF::Content::Ptr pdf) const { PDF::Stream::Ptr obj = PDF::Stream::create(); obj->set_entry_name("Type", "XObject"); obj->set_entry_name("Subtype", "Image"); obj->set_entry_int("Width", unit_size.get_x()); obj->set_entry_int("Height", unit_size.get_y()); /// \Todo: Use the colorspace and bits per component of the source image obj->set_entry_name("ColorSpace", "DeviceRGB"); obj->set_entry_int("BitsPerComponent", 8); /// \Todo: Lots of optional fields that could probably be nice ... /// \Todo: Tell the stream how to encode/decode the data. Currently, we use /// no encoding at all ... const guchar* data = filepixbuf->get_pixels(); const int bytes_per_row = filepixbuf->get_rowstride(); const int bytes_per_pixel = filepixbuf->get_n_channels(); for(int y = 0; y < unit_size.get_y(); ++y) for(int x = 0; x < unit_size.get_x(); ++x) { // Yucky pointer arithmetic ... const guchar* pixel = data + bytes_per_row * y + bytes_per_pixel * x; // RGB is 3 bytes to be written. // Note: This assumes that the 3 first channels are RGB, which seem to // be ok currently, even grayscale files are loaded to RGB pixbufs. obj->data().write(reinterpret_cast(pixel), 3); } const std::string objname = pdf->registerXObj(obj); Vector sz = get_inherent_size(); pdf->data() << "q\n" << Matrix::scaling(unit_size.get_x(), unit_size.get_y()) * get_matrix()<< " cm\n" << '/' << objname << " Do\n" << "Q\n"; } void RasterFrame::set_association(const std::string &s) { if(s == association) return; association = s; filewatcher.set_file(association); on_file_modified(); props_changed_signal(); } Boundary RasterFrame::get_box() const { return RectBoundary::create(get_matrix(), unit_size.get_x(), unit_size.get_y()); } Vector RasterFrame::get_ppi() const { return Vector(72 / get_matrix().sc_x(), 72 / get_matrix().sc_y()); } Vector RasterFrame::get_default_ppi() { // could conceivably get resolution from image file Config::Floats &values = config.DefaultResolution.values; switch(values.size()) { case 1: return Vector(values[0], values[0]); break; case 2: return Vector(values[0], values[1]); break; default: return Vector(72, 72); break; } } Vector RasterFrame::get_inherent_size() const { return Vector(unit_size.get_x(), unit_size.get_y()); } void RasterFrame::set_ppi(const Vector& ppi) { if(ppi.x == 0 || ppi.y == 0) throw std::runtime_error("Illegal raster ppi: " + tostr(ppi)); Matrix m = get_matrix(); set_matrix(m.set_scale(72 / ppi.x, 72 / ppi.y)); } passepartout-0.7.1/src/pptout/document/rasterframe.h000066400000000000000000000031371140125232500226740ustar00rootroot00000000000000#ifndef RASTERFRAME_H // -*- c++ -*- #define RASTERFRAME_H /// // Copyright (C) 2002 - 2004, Fredrik Arnerup & Rasmus Kaj, See COPYING /// #include "util/filewatcher.h" #include "basicframe.h" #include class RasterFrame: public BasicFrame { public: RasterFrame(const ElementWrap& xml, Group *parent); RasterFrame(Group *parent, const std::string& filename, float res = -1); // negative res means use default virtual ~RasterFrame(); virtual std::string getTypeName() const; virtual xmlpp::Element *save(xmlpp::Element& parent_node, const FileContext &context) const; virtual void print(std::ostream &out, bool grayscale = false) const; virtual void print_pdf(PDF::Content::Ptr pdf) const; // *** undoable actions *** void set_association(const std::string &s); /** Scale the image by setting the nuber of Pixels Per Inch (on paper, the * screen resolution doesn't matter). */ void set_ppi(const Vector& ppi); // *** probe state *** Boundary get_box() const; const std::string &get_association() const {return association;} Vector get_ppi() const; Vector get_default_ppi(); /** Get the pixel size of the image (the size of the image in 72ppi). */ Vector get_inherent_size() const; // *** non-undoable actions *** void set_default_ppi() {set_ppi(get_default_ppi());} Glib::RefPtr get_filepixbuf() { return filepixbuf; } private: std::string association; FileWatcher filewatcher; Gdk::Point unit_size; // Number of pixels in image Glib::RefPtr filepixbuf; void on_file_modified(); }; #endif passepartout-0.7.1/src/pptout/document/textframe.cc000066400000000000000000000120241140125232500225110ustar00rootroot00000000000000/// // Copyright (C) 2002 - 2004, Fredrik Arnerup & Rasmus Kaj, See COPYING /// #include #include #include "textframe.h" #include "document.h" #include "pptout/config.h" // Todo #include "util/tempfile.h" #include "util/rectboundary.h" #include "util/xmlwrap.h" #include "util/filedescriptors.h" #include #include #include #include TextFrame::TextFrame(Group *parent, TextStream *stream, float w, float h) : CachedFrame(parent, "Text " + (stream ? stream->get_name() : "")), truncated(false), text_stream(stream), num_columns(1), gutter_width(12.0), width(w), height(h) { ps_exists = false; parsed_file_lock = false; if(text_stream) text_stream->add_frame(this); } TextFrame::TextFrame(const ElementWrap& xml, Group *parent) : CachedFrame(xml, parent), truncated(false), text_stream(0), num_columns(xml.get_attribute("num_columns", 1)), gutter_width(xml.get_attribute("gutter_width", 12.0)), width(xml.get_required_attribute("width")), height(xml.get_required_attribute("height")) { ps_exists = false; parsed_file_lock = false; if(const xmlpp::Attribute* stream = xml.get_raw_attribute("stream")) { set_stream(Document::containing(*this) .get_text_stream(stream->get_value())); if(!text_stream) throw Error::Read("Failed to get text stream \"" + stream->get_value() + "\" for text frame"); } // If stream is not present text_stream is null. This is ok. } TextFrame::~TextFrame() { try { if(text_stream) text_stream->remove_frame(this); } catch(const std::exception& err) { warning << "Failed to refresh stream: " << err.what() << std::endl; } } Boundary TextFrame::get_box() const { return RectBoundary::create(get_matrix(), width, height); } std::string TextFrame::getTypeName() const { return "text"; } xmlpp::Element *TextFrame::save(xmlpp::Element& parent_node, const FileContext &context) const { xmlpp::Element *node = CachedFrame::save(parent_node, context); node->set_attribute("type", "text"); node->set_attribute("width", tostr(width)); node->set_attribute("height", tostr(height)); node->set_attribute("num_columns", tostr(num_columns)); node->set_attribute("gutter_width", tostr(gutter_width)); if(text_stream) node->set_attribute("stream", text_stream->get_name()); return node; } void TextFrame::print(std::ostream &out, bool grayscale) const { if(text_stream) { out << "% " << name << ", from " << text_stream->get_association() << '\n' << "gsave\n" << PS::Concat(get_matrix()); text_stream->outputPageRaw(out, this); out << "grestore\n" << std::endl; } else { out << "% " << name << ", text stream without data\n"; } } void TextFrame::print_pdf(PDF::Content::Ptr pdf) const { if(text_stream) { const std::string objname = pdf->registerXObj(text_stream->getPagePDF(this)); pdf->data() << "q\n" << get_matrix()<< " cm\n" << '/' << objname << " Do\n" << "Q\n"; } } void TextFrame::set_stream(TextStream *new_stream, bool remove_from_old) { if(text_stream == new_stream) return; if(remove_from_old && text_stream) text_stream->remove_frame(this); text_stream = new_stream; ps_exists = false; if(text_stream) { text_stream->add_frame(this); } else { // make sure the viewent notices that something happened object_changed_signal(); } props_changed_signal(); } void TextFrame::set_num_columns(unsigned int columns) { if(num_columns != columns) { num_columns = columns; //content_is_broken = false; // Assume it's ok until we try it props_changed_signal(); } } void TextFrame::set_gutter(const float& gutter) { if(gutter_width != gutter) { gutter_width = gutter; props_changed_signal(); } } void TextFrame::set_size(float w, float h) { if(w != width || h != height) { width = w; height = h; ps_exists = false; geometry_changed_signal(); } } void TextFrame::begin_write_ps() { parsed_file_lock = true; } void TextFrame::end_write_ps(bool _ps_exists, bool _truncated, const std::string &_error) { debug << "*** END_WRITE_PS ***" << std::endl; parsed_file_lock = false; error = _error; ps_exists = _ps_exists; if(truncated != _truncated) { truncated = _truncated; truncated_state_changed_signal(truncated); } object_changed_signal(); } void TextFrame::generate_picture(std::ostream& psstream) const { if(!text_stream) throw GenPicError(ASSOCIATION, "No associated stream"); if(!error.empty()) throw GenPicError(GENERATION, error); if(!ps_exists) throw GenPicError(NOTREADY, "No postscript exists yet"); // don't try to start gs if TextStream is writing the file if(parsed_file_lock) throw GenPicError(NOTREADY, "Parsed file is locked"); text_stream->outputPageEps(psstream, this); // Ugly, but the best way I found to actually close the stream: dynamic_cast(*psstream.rdbuf()).close(); } passepartout-0.7.1/src/pptout/document/textframe.h000066400000000000000000000040371140125232500223600ustar00rootroot00000000000000#ifndef TEXTFRAME_H // -*- c++ -*- #define TEXTFRAME_H /// // Copyright (C) 2002 - 2004, Fredrik Arnerup & Rasmus Kaj, See COPYING /// #include "cachedframe.h" #include "textstream.h" class TextFrame : public CachedFrame, public Pagent::Resizable { public: TextFrame(Group *parent, TextStream *stream, float w, float h); TextFrame(const ElementWrap& xml, Group *parent); virtual ~TextFrame(); virtual std::string getTypeName() const; virtual xmlpp::Element *save(xmlpp::Element& parent_node, const FileContext &context) const; virtual void print(std::ostream &out, bool grayscale = false) const; virtual void print_pdf(PDF::Content::Ptr pdf) const; // *** undoable actions *** void set_stream(TextStream *text_stream, bool remove_from_old = true); // the destructor of TextStream sets remove_from_old = false // in order not to get a segmentation violation void set_num_columns(unsigned int columns); void set_gutter(const float& gutter); void set_size(float w, float h); // *** probe state *** Boundary get_box() const; TextStream *get_stream() const {return text_stream;} Vector get_inherent_size() const { return Vector(width, height); } unsigned int get_num_columns() const { return num_columns; } float get_gutter() const { return gutter_width; } /** * \return true if this {TextFrame} is the last frame for a truncated * {TextStream}. */ bool is_truncated() const { return truncated; } /** Emitted when the frame is or stops being the last frame of a * truncated stream. */ sigc::signal truncated_state_changed_signal; // the frame will not try to read the ps between calls to // begin- and end_write_ps void begin_write_ps(); void end_write_ps(bool _ps_exists, bool truncated, const std::string &error=""); void generate_picture(std::ostream& psstream) const; private: bool ps_exists, parsed_file_lock, truncated; std::string error; TextStream *text_stream; unsigned int num_columns; float gutter_width, width, height; }; #endif passepartout-0.7.1/src/pptout/document/textstream.cc000066400000000000000000000277161140125232500227300ustar00rootroot00000000000000/// // Copyright (C) 2002 - 2004, Fredrik Arnerup & Rasmus Kaj, See COPYING /// #include "textstream.h" #include "getxsltparams.h" #include #include #include "util/processman.h" #include "util/warning.h" #include "util/stringutil.h" #include "util/filesys.h" #include "util/os.h" #include "xml2ps/typesetter.hh" #include "xml2ps/pdfcanvas.hh" #include "textframe.h" #include "page.h" #include "typesetterthread.h" namespace { // local class SortingPredicate { public: bool operator () (const TextFrame& a, const TextFrame& b) { try { int a_num = a.get_page_num(); int b_num = b.get_page_num(); if(a_num < b_num) return true; if(a_num > b_num) return false; } catch(...) { // Error::InvalidPageNum shouldn't happen, but it has happened return true; // something broken; any order! } // Same page, look at boxes. const Vector a_vec = a.get_box()->getCorner(Corner::UL); const Vector b_vec = b.get_box()->getCorner(Corner::UL); static const float k = 0.1; // 10% slope const float m = a_vec.y - k * a_vec.x; return b_vec.y < k * b_vec.x + m; } }; struct SortingPredicatePtr { bool operator () (TextFrame *a, TextFrame *b) { return SortingPredicate()(*a, *b); } }; bool gtk_main_running = false; } TextStream::TextStream(const std::string& _name, const std::string& _association, const std::string& _transform) : name(_name), association(_association), transform(_transform), failed(false), association_watcher(association), transform_watcher(transform), typesetter_thread(0) { typedef std::vector Vec; Vec params = getXsltParams(transform); for(Vec::const_iterator i = params.begin(); i != params.end(); ++i) parameters[*i] = ""; association_watcher.modified_signal.connect (sigc::mem_fun(*this, &TextStream::on_file_modified)); transform_watcher.modified_signal.connect (sigc::mem_fun(*this, &TextStream::on_file_modified)); // make sure Gtk::main() is running Glib::signal_idle().connect(sigc::mem_fun(*this, &TextStream::on_idle)); } TextStream::TextStream(const ElementWrap& xml) : name(xml.get_attribute("name")), association(xml.get_filename("file")), transform(xml.get_filename("transform")), failed(false), association_watcher(association), transform_watcher(transform), typesetter_thread(0) { // read param defs typedef std::vector Vec; Vec params = getXsltParams(transform); for(Vec::const_iterator i = params.begin(); i != params.end(); ++i) parameters[*i] = ""; //read param values xmlpp::Element::NodeList children = xml.element().get_children(); for(xmlpp::Element::NodeList::iterator i = children.begin(); i != children.end(); ++i) { if(xmlpp::Element *pnode = dynamic_cast(*i)) if(pnode->get_name() == "parameter") { set_parameter (pnode->get_attribute("name")->get_value(), pnode->get_attribute("value")->get_value()); } } association_watcher.modified_signal.connect (sigc::mem_fun(*this, &TextStream::on_file_modified)); transform_watcher.modified_signal.connect (sigc::mem_fun(*this, &TextStream::on_file_modified)); // make sure Gtk::main() is running Glib::signal_idle().connect(sigc::mem_fun(*this, &TextStream::on_idle)); } TextStream::~TextStream() { // remove_frame has the property that removing an unexisting frame is not an // error, just a no-op. for(FramePtrs::iterator i = frames.begin(); i != frames.end(); i++) (*i)->set_stream(0, false); // do not let the frame remove itself from this stream } xmlpp::Element *TextStream::save(xmlpp::Element& parent_node, const FileContext &context) const { xmlpp::Element *tmp = parent_node.add_child("text_stream"); tmp->set_attribute("name", name); tmp->set_attribute("file", context.to(association)); tmp->set_attribute("transform", context.to(transform)); for(TextStream::ParamIter j = param_begin(); j != param_end(); ++j) if(!j->second.empty()) { xmlpp::Element *par = tmp->add_child("parameter"); par->set_attribute("name", j->first); par->set_attribute("value", j->second); } return tmp; } void TextStream::on_file_modified() { /// \todo This method should do something that triggers a /// generate_ps_request from any associated TextFrame that actually is /// visible. But for now, just call run_typesetter() directly. run_typesetter(); } void TextStream::add_frame(TextFrame *text_frame) { // Don't insert a duplicate entry if(find(frames.begin(), frames.end(), text_frame) == frames.end()) frames.push_back(text_frame); } void TextStream::remove_frame(TextFrame *text_frame) { FramePtrs::iterator i = find(frames.begin(), frames.end(), text_frame); if(i != frames.end()) frames.erase(i); run_typesetter(); } void TextStream::generate_ps_request(TextFrame *frame) { if(frame) debug << "Request by " << frame->get_name() << std::endl; if(failed) { // the last attempt failed failed = false; // so we can try again throw BasicFrame::GenPicError(BasicFrame::GENERATION, typesetter_error); } run_typesetter(); } void TextStream::run_typesetter() { if(association.empty()) throw BasicFrame::GenPicError(BasicFrame::ASSOCIATION, "No associated file"); if(!access(association)) throw BasicFrame::GenPicError(BasicFrame::ASSOCIATION, "Could not open \"" + association + "\""); if(frames.empty()) return; if(!gtk_main_running) { debug << "Not starting typesetter thread because Gtk::Main isn't running." << std::endl; return; } /// \todo {Tell the old thread to stop and start a new one, this method is /// (should be) called when there is a _new_ change in the source or frame /// formats only. This way we lag behind. /// ... or possibly just accept a little lag, but in that case, make sure a /// new typesetter_thread is started after the last one that was ignored.} // start typesetter in separate thread frames.sort(SortingPredicatePtr()); if(!typesetter_thread || typesetter_thread->is_done()) { TypesetterThread::FrameDataList sorted_frames; for(FramePtrs::const_iterator i = frames.begin(); i != frames.end(); i++) { /// \todo bundling obstacles with frames is inefficient sorted_frames.push_back(TypesetterThread::FrameData (**i, Page::containing(**i).obstacle_list())); (*i)->begin_write_ps(); } typesetter_thread = TypesetterThread::create(association, transform, parameters, sorted_frames); typesetter_thread->signal_done.connect (sigc::mem_fun(this, &TextStream::on_typesetter_done)); } else debug << "Typesetter already working, not starting new." << std::endl; } void TextStream::on_typesetter_done(Glib::ustring error, Glib::RefPtr new_canvas, bool truncated) { typesetter_error = error; frames.sort(SortingPredicatePtr()); if(error.empty()) { used_fonts = new_canvas->getUsedFonts(); // The new canvas is now ready to get data from pageno_map.clear(); canvas = new_canvas; int num = 1; for(FramePtrs::const_iterator i = frames.begin(); i != frames.end(); ++i, ++num) { pageno_map[*i] = num; FramePtrs::const_iterator j = i; (*i)->end_write_ps(true, truncated && (++j == frames.end())); } } else { // error for(FramePtrs::const_iterator i = frames.begin(); i != frames.end(); ++i) (*i)->end_write_ps(false, false, error); failed = true; // report the last attempt to be a failure } } void TextStream::set_association(const std::string &s) { association = s; // perhaps it has been applied, but not for this file try { on_file_modified(); } catch(const BasicFrame::GenPicError& e) { warning << e.what() << std::endl; } association_watcher.set_file(association); } const std::string &TextStream::get_association() const { return association; } void TextStream::set_name(const std::string &s) { name = s; } const std::string &TextStream::get_name() const { return name; } void TextStream::set_transform(const std::string& s) { if(s == transform) return; transform = s; typedef std::vector Vec; Vec params = getXsltParams(transform); for(Vec::const_iterator i = params.begin(); i != params.end(); ++i) parameters[*i] = ""; on_file_modified(); transform_watcher.set_file(transform); } const std::string &TextStream::get_transform() const { return transform; } void TextStream::set_parameter(const std::string& name, const std::string& value) { parameters[name] = value; on_file_modified(); } void TextStream::outputPageRaw(std::ostream& out, const TextFrame* frame) { if(canvas) { canvas->closePage(); canvas->appendPage(pageno_map[frame], out); } else throw std::runtime_error("Missing canvas while running outputPageRaw"); } void TextStream::outputPageEps(std::ostream& out, const TextFrame* frame) { if(canvas) { canvas->closePage(); canvas->pageEps(pageno_map[frame], out); } else throw std::runtime_error("Missing canvas while running outputPageEps"); } void TextStream::print_pdf(PDF::Document::Ptr pdfdoc) { // don't try to print streams with no pages if(frames.empty()) return; debug << "TextStream:p-pdf: a\n"; Process xformproc; // run xsltproc, but only if there is a stylesheet if(!transform.empty()) { xformproc = runXsltProc(transform, association, parameters.begin(), parameters.end()); } debug << "TextStream:p-pdf: c\n"; xml2ps::Canvas::PageVec pages; frames.sort(SortingPredicatePtr()); for(FramePtrs::const_iterator i = frames.begin(); i != frames.end(); i++) { const Vector framesize = (*i)->get_inherent_size(); pages.push_back(xml2ps::PageBoundary((*i)->get_page_num(), framesize.x, framesize.y, (*i)->get_num_columns(), (*i)->get_gutter())); // A boundary for the actual text frame, to make sure it doesn't try to // flow around itself. const Boundary boundary = (*i)->get_obstacle_boundary(); // Transform from page coords to local textframe coords. const Matrix xform((*i)->get_matrix().inv()); // List of boundaries the text should flow around const BoundaryVect obstacle_list = Page::containing(**i).obstacle_list(); for(BoundaryVect::const_iterator j = obstacle_list.begin(); j != obstacle_list.end(); j++) { if(boundary != *j) { pages.back().addObstacle(*j * xform); } } } debug << "TextStream:p-pdf: running internal xml2ps ..." << std::endl; pdfcanvas.reset(new xml2ps::PDFCanvas(pdfdoc, xml2ps::PDFCanvas::XObjs, pages, false /* no extra pages */)); //canvas.setSubstituteFontAliases(true); debug << "TextStream:p-pdf: parser" << std::endl; xml2ps::PsConverter parser(*pdfcanvas); try { debug << "TextStream:p-pdf: parsing" << std::endl; if(xformproc) { parser.parse_stream(xformproc->get_cout()); } else { std::ifstream file(association.c_str()); parser.parse_stream(file); } pdfcanvas->closePage(); } catch(const xml2ps::OutOfPages&) { warning << "content truncated\n"; } debug << "TextStream:p-pdf: done" << std::endl; } PDF::Object::Ptr TextStream::getPagePDF(const TextFrame* frame) { if(pdfcanvas.get()) { return pdfcanvas->getPageObject(pageno_map[frame]); } else throw std::runtime_error("Missing canvas while running getPagePDF"); } // a hack to make sure the gtkmm main loop is running before we // start any threads bool TextStream::on_idle() { if(!gtk_main_running) { debug << "Gtk::Main is running" << std::endl; // if there has been an idle signal, then everything is cool gtk_main_running = true; } if(!association.empty()) run_typesetter(); // disconnect from handler return false; } passepartout-0.7.1/src/pptout/document/textstream.h000066400000000000000000000100361140125232500225550ustar00rootroot00000000000000#ifndef TEXTSTREAM_H // -*- c++ -*- #define TEXTSTREAM_H /// // Copyright (C) 2002 - 2004, Fredrik Arnerup & Rasmus Kaj, See COPYING /// #include "util/filewatcher.h" #include "util/xmlwrap.h" #include "xml2ps/pscanvas.hh" #include "ps/pdf.h" #include "filecontext.h" #include class TextFrame; class TypesetterThread; namespace xml2ps { class PDFCanvas; } /** * A source of text associated with a set of TextFrame s. * TextStream keeps a list of TextFrames. When association is set, * TextStream runs an XSLT transformation (external xsltproc, so far) to * convert the association into the xml2ps dtd. * Then xml2ps (internally linked) reads the output from the transform and * produces postscript for the actual TextFrames (which will emit signals to * be redrawn). * * When the docview tells the page to draw itself, the text frame * looks at its ps_exists member to detemine if it should read its * parsed_file. If it is false, the frame calls * TextStream::generate_ps_request which will run xml2ps if * necessary. This also happens when a frame is resized. */ class TextStream: public sigc::trackable { public: /** * Create a new TextStream. * \param _name the name of the stream (for the user). * \param _association the source XML file associated with the stream. * \param _transform the XSLT stylesheet to apply. */ TextStream(const std::string& _name, const std::string& _association, const std::string& _transform); /** * Load a TextStream from XML. * \param node the XML element containing information about the TextStream. * \param context information about the file we are loading from, for * relative URIs etc. */ TextStream(const ElementWrap& xml); ~TextStream(); /** * Save this TextStream to its XML format. * \param parent_node the XML node that will contain the saved node. * \param context file context for relative URIs. */ xmlpp::Element *save(xmlpp::Element& parent_node, const FileContext &context) const; void add_frame(TextFrame *text_frame); void remove_frame(TextFrame *text_frame); void generate_ps_request(TextFrame *frame = 0); void set_association(const std::string &s); const std::string &get_association() const; void set_name(const std::string &s); const std::string &get_name() const; void set_transform(const std::string& s); const std::string &get_transform() const; void set_parameter(const std::string& name, const std::string& value); // This doesn't really feel good, for an interface ... typedef std::map ParamMap; typedef ParamMap::const_iterator ParamIter; ParamIter param_begin() const { return parameters.begin(); } ParamIter param_end() const { return parameters.end(); } void run_typesetter(); // public, so DocumentView can run it const font::Fonts &get_used_fonts() const {return used_fonts;} /** Get the raw postscript data for a specific frame from the canvas */ void outputPageRaw(std::ostream& out, const TextFrame* frame); /** Get the eps data for a specific frame from the canvas */ void outputPageEps(std::ostream& out, const TextFrame* frame); void print_pdf(PDF::Document::Ptr pdfdoc); PDF::Object::Ptr getPagePDF(const TextFrame* frame); private: typedef std::list FramePtrs; std::string name, association, transform; FramePtrs frames; bool failed; // true if the last attempt to typeset failed FileWatcher association_watcher, transform_watcher; std::string typesetter_error; void on_typesetter_done(Glib::ustring error, Glib::RefPtr, bool truncated); void on_file_modified(); bool on_idle(); font::Fonts used_fonts; ParamMap parameters; Glib::RefPtr canvas; std::map pageno_map; Glib::RefPtr typesetter_thread; std::auto_ptr pdfcanvas; // Undefined ctors, avoid defaults TextStream(const TextStream&); TextStream(); void operator = (const TextStream&); }; #endif passepartout-0.7.1/src/pptout/document/typesetterthread.cc000066400000000000000000000143621140125232500241210ustar00rootroot00000000000000/// // Copyright (C) 2002 - 2004, Fredrik Arnerup & Rasmus Kaj, See COPYING /// #include #include "util/warning.h" #include "textframe.h" #include "xml2ps/typesetter.hh" // kill #include #include /** * Start an external process running a XLST transform. * \return a Process handle */ Process runXsltProc(const std::string& transform, const std::string& association, const TextStream::ParamIter& begin, const TextStream::ParamIter& end) { debug << "Applying XSL Transform" << std::endl; // Assume xsltproc is in the path std::vector command; command.push_back("xsltproc"); command.push_back("--nonet"); // TODO: Make arugments to xsltproc (e.g. --catalogs) optional. for(TextStream::ParamIter i = begin; i != end; ++i) if(!i->second.empty()) { command.push_back("--stringparam"); command.push_back(i->first); command.push_back(i->second); } command.push_back(transform); command.push_back(association); Process xformproc = ProcessManager::instance().run(command); if(debug) { debug << "Started " << xformproc->get_pid() << ':'; for(std::vector::const_iterator i = command.begin(); i != command.end(); ++i) debug << ' ' << *i; debug << "" << std::endl; } return xformproc; } TypesetterThread::TypesetterThread(const std::string& association, const std::string& transform, const TextStream::ParamMap& parameters, const FrameDataList& sorted_frames) : count_(0), association(association), transform(transform), parameters(parameters), sorted_frames(sorted_frames), truncated(false), proc_stop_connection(ProcessManager::instance().process_stopped.connect (sigc::mem_fun(*this, &TypesetterThread::process_stopped))) { signal_thread_done.connect(sigc::mem_fun(*this, &TypesetterThread::on_done)); signal_thread_error.connect (sigc::mem_fun(*this, &TypesetterThread::on_error)); Glib::Thread *thread = Glib::Thread::create(sigc::mem_fun(*this, &TypesetterThread::run), false); debug << "Started thread " << thread << " from " << Glib::Thread::self() << std::endl; } TypesetterThread::~TypesetterThread() { proc_stop_connection.disconnect(); if(xformproc) kill(xformproc->get_pid(), SIGTERM); } bool TypesetterThread::is_done() { return done.get_open(); } void TypesetterThread::run() { // this method is supposed to run in a separate thread debug << "inside typesetter thread" << std::endl; try { if(transform.empty()) { // Run xml2ps directly on the source xml std::ifstream source(association.c_str()); if(!source) { error = "Could not read from " + association; throw std::runtime_error(error); } run_xml2ps(source); } else { xformproc = runXsltProc(transform, association, parameters.begin(), parameters.end()); run_xml2ps(xformproc->get_cout()); } debug << "Signalling done from " << Glib::Thread::self() << std::endl; done.open(); signal_thread_done(); debug << " signalled done from " << Glib::Thread::self() << std::endl; } catch (...) { if(error.empty()) { try { throw; } catch (const std::exception& err) { error = err.what(); } catch(...) { error = "unknown error"; } } debug << "typesetter error: " << error << std::endl; done.open(); signal_thread_error(); } } void TypesetterThread::run_xml2ps(std::istream& source) { xml2ps::Canvas::PageVec pages; for(FrameDataList::const_iterator i = sorted_frames.begin(); i != sorted_frames.end(); i++) { pages.push_back(xml2ps::PageBoundary(i->page_num, i->framesize.x, i->framesize.y, i->num_columns, i->gutter)); // Transform from page coords to local textframe coords. const Matrix xform(i->matrix.inv()); // List of boundaries the text should flow around for(BoundaryVect::const_iterator o = i->obstacles.begin(); o != i->obstacles.end(); o++) { if(i->boundary != *o) pages.back().addObstacle(*o * xform); } } debug << "running internal xml2ps ..." << std::endl; xml2ps::PsCanvas *tmp = new xml2ps::PsCanvas(pages, false /* no extra pages */); tmp->reference(); // refcount starts at 0 new_canvas = Glib::RefPtr(tmp); new_canvas->setSubstituteFontAliases(true); xml2ps::PsConverter parser(*new_canvas.operator->()); try { parser.parse_stream(source); } catch(const xml2ps::OutOfPages&) { truncated = true; } } /** * This method should run in the main GUI thread when the worker is done. */ void TypesetterThread::on_done() { // make sure the the TypesetterThread won't keep any references to // itself after this method has returned. Glib::RefPtr tmp = self; self.clear(); debug << "internal xml2ps done" << std::endl; signal_done("", new_canvas, truncated); } /** * This method should run in the main GUI thread if the worker fails. */ void TypesetterThread::on_error() { // make sure the the TypesetterThread won't keep any references to // itself after this method has returned. Glib::RefPtr tmp = self; self.clear(); debug << "internal xml2ps failed" << std::endl; signal_done(error, /* the rest is ignored */ Glib::RefPtr(), true); } void TypesetterThread::process_stopped(pid_t pid, bool exited_normally, int exit_code) { if(!xformproc || pid != xformproc->get_pid()) return; if(!exited_normally) { warning << "Process " << pid << " exited abnormally" << std::endl; return; /// \todo do something clever } if(exit_code != 0) { /// \todo check that the return code 127 is not unique to Bash. if(exit_code == 127) // the shell could not find xsltproc warning << "xsltproc is not in $PATH" << std::endl; else warning << "xsltproc process with pid " << pid << " failed with exit code " << exit_code << std::endl; return; } debug << "Stylesheet done" << std::endl; } passepartout-0.7.1/src/pptout/document/typesetterthread.h000066400000000000000000000060761140125232500237660ustar00rootroot00000000000000#ifndef TYPESETTERTHREAD_H // -*- c++ -*- #define TYPESETTERTHREAD_H /// // Copyright (C) 2002 - 2004, Fredrik Arnerup & Rasmus Kaj, See COPYING /// #include "textstream.h" #include #include "util/barrier.h" #include "util/processman.h" #include "textframe.h" /// \todo move this some place else Process runXsltProc(const std::string& transform, const std::string& association, const TextStream::ParamIter& begin, const TextStream::ParamIter& end); class TypesetterThread : public sigc::trackable { public: struct FrameData { const Vector framesize; const int page_num, num_columns; const float gutter; const Matrix matrix; const Boundary boundary; BoundaryVect obstacles; FrameData(const TextFrame& frame, const BoundaryVect& obstacles) : framesize(frame.get_inherent_size()), page_num(frame.get_page_num()), num_columns(frame.get_num_columns()), gutter(frame.get_gutter()), matrix(frame.get_matrix()), boundary(frame.get_obstacle_boundary()), obstacles(obstacles) { } }; typedef std::list FrameDataList; sigc::signal, bool> signal_done; static Glib::RefPtr create(const std::string& association, const std::string& transform, const TextStream::ParamMap& parameters, const FrameDataList& sorted_frames) { Glib::RefPtr tmp(new TypesetterThread(association, transform, parameters, sorted_frames)); tmp->reference(); tmp->self = tmp; return tmp; } void reference() const { ++count_; } void unreference() const { if(--count_ == 0) delete this; } bool is_done(); private: TypesetterThread(const std::string& association, const std::string& transform, const TextStream::ParamMap& parameters, const FrameDataList& sorted_frames); ~TypesetterThread(); void run(); void run_xml2ps(istream& source); void on_done(); void on_error(); void process_stopped(pid_t pid, bool exited_normally, int exit_code); /// reference count mutable unsigned int count_; /// Keeps a reference to itself, so that the object is not deleted /// until self is set to null explicitly, which should happen in /// on_done() or on_error(). The idea is that the object should be /// kept from being deleted until we are sure the Dispatcher pipe is /// empty. Glib::RefPtr self; Barrier done; const std::string association, transform; std::string error; const TextStream::ParamMap parameters; FrameDataList sorted_frames; bool truncated; Glib::Dispatcher signal_thread_done, signal_thread_error; sigc::connection proc_stop_connection; Process xformproc; Glib::RefPtr new_canvas; }; #endif passepartout-0.7.1/src/pptout/docview.cc000066400000000000000000000620661140125232500203470ustar00rootroot00000000000000/// // Copyright (C) 2002 - 2004, Fredrik Arnerup & Rasmus Kaj, See COPYING /// #include "docview.h" #include #include #include #include #include #include "document/loader.h" #include "document/textframe.h" #include "document/imageframe.h" #include "document/rasterframe.h" #include "document/document.h" #include "document/page.h" #include "util/warning.h" #include "util/stringutil.h" #include "util/filesys.h" #include "widget/usererror.h" #include "widget/programs.h" #include "groupmeta.h" #include "pptcore.h" #include "config.h" #include "lengthunits.h" #include "defines.h" #ifdef HAVE_GNOME #include #endif float DocumentView::pt2scr(float pt) const { return int(resolution * zoom_factor * length_units.from_base(pt, "in") + 0.5); } float DocumentView::scr2pt(float scr) const { return length_units.to_base(scr / (resolution * zoom_factor), "in"); } Gdk::Point DocumentView::pt2scr(const Vector& pt) const { double x, y; world_to_window(pt.x, -pt.y, x, y); return Gdk::Point(int(x + 0.5), int(y + 0.5)); } Vector DocumentView::scr2pt(const Gdk::Point& scr) const { Vector w; window_to_world(scr.get_x(), scr.get_y(), w.x, w.y); w.y = -w.y; return w; } //////////////////////////////////// BEGIN JUNK void DocumentView::delete_page() { if(document) { pageview.clear(); // Do this first, so the viewent won't be // listening to the selection_changed_signal // which is emitted after the page has been // deleted. document->delete_page(current_page_num); // Todo: this is an ugly fix to keep the pageview updated set_current_page_num(current_page_num); current_page_num_changed_signal(); // sometimes redundant } } void DocumentView::new_image_frame(std::string filename, float res) { Page *page = get_page(); if(!page) return; get_document()->select_all(false); /// \todo more helpful error messages if(ImageFrame::is_postscript(filename)) page->addObject(new ImageFrame(page, filename)); else { try { page->addObject(new RasterFrame(page, filename, res)); } catch(const std::exception& e){ throw UserError("Could not open \"" + filename + "\"", e); } } } //////////////////////////////////////END JUNK Page *DocumentView::get_page() { if(document) { Page *page = document->get_page(current_page_num); // if page has changed, release memory from old page if(old_page && page != old_page) pageview.clear(); old_page = page; return page; } else return 0; } void DocumentView::act_on_document_change(DocRef document_) { if(!document || document != document_) return; int first = document->get_first_page_num(); int num = document->get_num_of_pages(); int last = first + num - 1; if(current_page_num < first) { current_page_num = first; current_page_num_changed_signal(); } else if(current_page_num > last) { current_page_num = last; current_page_num_changed_signal(); } document_changed_signal(); } void DocumentView::act_on_selection_change(DocRef document_) { if(!document || document != document_) return; update_handles(); } void DocumentView::set_current_page_num(int current) { if(!document) return; int first = document->get_first_page_num(); int num = document->get_num_of_pages(); int last = first + num - 1; if(current < first) current = first; else if(current > last) current = last; if(current != current_page_num) { current_page_num = current; current_page_num_changed_signal(); } if(Page *page = get_page()) { pageview = core.getMeta("page")->create_viewent(*this, *page); } } void DocumentView::update_document_size() { float w = document->get_width(); float h = document->get_height(); set_scroll_region(-margin_size, -h - margin_size, w + margin_size, margin_size); no_pages_frame->property_x1() = 0; no_pages_frame->property_y1() = 0; no_pages_frame->property_x2() = w; no_pages_frame->property_y2() = -h; no_pages_text->property_x() = w / 2; no_pages_text->property_y() = -h / 1.8; } void DocumentView::set_document(DocMeta d) { if(document == d) return; document = d; update_handles(); if(document) { update_document_size(); no_pages_group.show(); current_page_num = document->get_first_page_num(); document->size_changed_signal.connect (sigc::mem_fun(*this, &DocumentView::update_document_size)); Document::changed_signal.connect (sigc::mem_fun(*this, &DocumentView::act_on_document_change)); Document::selection_changed_signal.connect (sigc::mem_fun(*this, &DocumentView::act_on_selection_change)); } else { no_pages_group.hide(); } document_changed_signal(); //? document_set_signal(); if(Page *page = get_page()) { pageview = core.getMeta("page")->create_viewent(*this, *page); } else { pageview.clear(); } } DocumentView::DocumentView(DocMeta d, float zoom_factor) : no_pages_group(*root()), pagent_group(*root()), guide_group(*root()), handle_group(*root()), snap_mode(snap::NONE), zoom_factor(zoom_factor), document(DocRef()), old_page(0) { set_events(Gdk::EXPOSURE_MASK | Gdk::LEAVE_NOTIFY_MASK | Gdk::BUTTON_PRESS_MASK | Gdk::BUTTON_RELEASE_MASK | Gdk::POINTER_MOTION_MASK | Gdk::POINTER_MOTION_HINT_MASK); Glib::RefPtr colormap = get_default_colormap(); white = Gdk::Color("white"); black = Gdk::Color("black"); gray = Gdk::Color("gray"); red = Gdk::Color("red"); colormap->alloc_color(white); colormap->alloc_color(black); colormap->alloc_color(gray); colormap->alloc_color(red); Glib::RefPtr screen = Gdk::Display::get_default()->get_default_screen(); float xresolution = screen->get_width() / (screen->get_width_mm() / 25.4); float yresolution = screen->get_height() / (screen->get_height_mm() / 25.4); resolution = (xresolution + yresolution) / 2; // average :-) verbose << "Screen resolution: " << resolution << " dpi" << std::endl; set_pixels_per_unit(resolution / 72.0 * zoom_factor); using namespace Gnome::Canvas; no_pages_frame.reset(new Rect(no_pages_group)); no_pages_frame->property_outline_color_gdk() = get_color(Color::frame); no_pages_frame->property_width_pixels() = 1; no_pages_text.reset(new Text(no_pages_group, 0, 0, "No pages")); no_pages_text->property_anchor() = Gtk::ANCHOR_CENTER; no_pages_group.hide(); for(int i = 0; i < 8; i++) { handles[i] = manage(new Rect(handle_group)); handles[i]->property_fill_color_gdk() = get_color(Color::bg); handles[i]->property_outline_color_gdk() = get_color(Color::frame); handles[i]->property_width_pixels() = 1; } set_document(d); reshaping = moving = false; margin_size = 30; // drag'n drop stuff: std::list targets; // targets.push_back(Gtk::TargetEntry("")); targets.push_back(Gtk::TargetEntry("text/uri-list")); targets.push_back(Gtk::TargetEntry("_NETSCAPE_URL")); targets.push_back(Gtk::TargetEntry("text/unicode")); targets.push_back(Gtk::TargetEntry("text/plain")); targets.push_back(Gtk::TargetEntry("UTF8_STRING")); targets.push_back(Gtk::TargetEntry("STRING")); drag_dest_set(targets); // Update handles when we turn pages current_page_num_changed_signal.connect (sigc::mem_fun(*this, &DocumentView::update_handles)); // make sure the scrolling region is the right size (it only seems // to work if the canvas has been realized) if(document) signal_realize().connect (sigc::mem_fun(*this, &DocumentView::update_document_size)); } DocumentView::~DocumentView() { } void DocumentView::set_zoom_factor(float factor) { if(factor > 0) { zoom_factor = factor; set_pixels_per_unit(resolution / 72.0 * zoom_factor); if(document) { zoom_change_signal(zoom_factor); update_handles(); } } } bool DocumentView::in_move_area(int x, int y) { if(Page* page = get_page()) { const Document::Selection selected = get_document()->selected(); // "paper coordinates" const Vector pos = scr2pt(Gdk::Point(x, y)); const float dist = scr2pt(2); for(Document::Selection::const_iterator i = selected.begin(); i != selected.end(); ++i) if(&Page::containing(**i) == page && (*i)->get_box()->isInsideOrClose(pos, dist)) return true; } return false; } Pagent* DocumentView::in_select_area(int x, int y) { if(Page* page = get_page()) { const Vector pos = scr2pt(Gdk::Point(x, y)); const float dist = scr2pt(2); for(Group::ChildVec::const_iterator i = page->pbegin(); i != page->pend(); i++) { if((*i)->get_box()->isInsideOrClose(pos, dist)) return *i; } } return 0; } namespace { typedef std::vector ResizeHandles; ResizeHandles get_resize_handles(const Pagent &p) { ResizeHandles handles; Polygon poly = p.get_box()->get_polygon(); for(Polygon::const_iterator i = poly.begin(); i != poly.end(); i++) { handles.push_back(*i); Polygon::const_iterator j = i; j++; if(j == poly.end()) j = poly.begin(); handles.push_back(Vector((i->x + j->x) / 2, (i->y + j->y) / 2)); } return handles; } } int DocumentView::hover_reshape(int x, int y) { if(!document) return -1; Vector mouse = scr2pt(Gdk::Point(x, y)); Gnome::Canvas::Item *item = get_item_at(mouse.x, -mouse.y); for(int i = 0; i < 8; i++) if(item == handles[i]) return i; return -1; } bool DocumentView::on_button_press_event(GdkEventButton *event) { Page *page = get_page(); if(!page) return true; switch(event->button) { case 1: { const Document::Selection selected = get_document()->selected(); int j = hover_reshape(int(event->x), int(event->y)); if(j != -1 && selected.size() == 1 && !selected.front()->get_lock()) { // maybe start moving/resizing? // reshape begin_reshape(int(event->x), int(event->y), j); } else if(Pagent* select = in_select_area(int(event->x), int(event->y))) { // select / move // is it already selected? if(find(selected.begin(), selected.end(), select) != selected.end()) { if(event->state & Gdk::CONTROL_MASK) { // deselect get_document()->deselect(select); } else begin_move(int(event->x), int(event->y)); } else { // select and begin moving get_document()->select(select, !(event->state & Gdk::CONTROL_MASK)); if(!select->get_lock()) begin_move(int(event->x), int(event->y)); } } else if((event->state & Gdk::CONTROL_MASK) == 0) { // deselect all get_document()->select_all(false); } } break; case 3: { if(event->type == GDK_BUTTON_PRESS) { Pagent* select = in_select_area(int(event->x), int(event->y)); if(select) { std::string filename; std::vector mimetypes; /// \todo move the mime type heuristics elsewhere ImageFrame *i_f; RasterFrame *r_f; TextFrame *t_f; if((i_f = dynamic_cast(select))) { filename = i_f->get_association(); } else if((r_f = dynamic_cast(select))) { filename = r_f->get_association(); } else if((t_f = dynamic_cast(select))) { TextStream *stream = t_f->get_stream(); filename = stream->get_association(); mimetypes.push_back("text/plain"); // always enable text editors } else break; if(filename.empty()) break; #ifdef HAVE_GNOME const char *mtype = gnome_vfs_mime_type_from_name(filename.c_str()); if(mtype) mimetypes.push_back(mtype); #endif if(mimetypes.empty()) mimetypes.push_back("text/plain"); popup_menu.items().clear(); try { for(std::vector::const_iterator type = mimetypes.begin(); type != mimetypes.end(); type++) Programs::populate_file_handler_menu(popup_menu, filename, *type); popup_menu.popup(event->button, event->time); } catch(const std::exception &e) { verbose << "Failed to display popup menu: " << e.what() << std::endl; } } } } break; default: break; } return true; } namespace { // Todo: This method should be removed. Instead, there should exist something // (not related to a specific view, but to the document), that listens to // geometry changes, finds all text streams that have frames that intersects // with the object (before or after the change) and retypesets them. // What is done here is to much typsetting when objects moved / resized by the // view, and no typesetting at all when objects are moved / resized by e.g. // the properties dialog. void refresh_streams(Page *page) { if(page) { Document::StreamVec streams; for(Group::ChildVec::const_iterator i = page->pbegin(); i != page->pend(); i++) { TextFrame *tmp = dynamic_cast(*i); if(tmp) { TextStream *stream = tmp->get_stream(); if(stream && find(streams.begin(), streams.end(), stream) == streams.end()) streams.push_back(stream); } } for(Document::StreamVec::iterator i = streams.begin(); i != streams.end(); i++) { try { (*i)->run_typesetter(); } catch(const BasicFrame::GenPicError &e) { warning << "Failed to refresh stream: " << e.what() << std::endl; } debug << (*i)->get_name() << ", " << (*i)->get_association() << std::endl; } } } } void DocumentView::begin_reshape(int x, int y, int box) { DocRef document = get_document(); if(!get_page() || !document) return; const Document::Selection selected = document->selected(); if(selected.size() != 1) return; const Pagent& obj = *selected.front(); ResizeHandles handles = get_resize_handles(obj); if(box >= int(handles.size())) return; Gdk::Point handle = pt2scr(handles[box]); // pointer is probably not in center of handle offset = IVector(x - handle.get_x(), y - handle.get_y()); old_size = obj.get_inherent_size(); old_matrix = obj.get_matrix(); reshape_box = box; reshaping = true; } void DocumentView::end_reshape(bool revert) { reshaping = false; if(DocRef document = get_document()) { if(revert) { const Document::Selection selected = document->selected(); if(selected.size() == 1) { Pagent& obj = *selected.front(); obj.set_matrix(old_matrix); if(Pagent::Resizable* o = dynamic_cast(&obj)) { o->set_size(old_size.x, old_size.y); } } } refresh_streams(get_page()); } } namespace { // get bounding box of selected pagents void box_of_selected(Vector &ll, Vector &ur, DocRef document) { bool first = true; const Document::Selection &selected = document->selected(); Document::Selection::const_iterator i; for(i = selected.begin(); i != selected.end(); i++) { Boundary b = (*i)->get_box(); Vector b_ur = b->getCorner(Corner::UR); Vector b_ll = b->getCorner(Corner::LL); if(first) { ll = b_ll; ur = b_ur; } else { ll.x = std::min(ll.x, b_ll.x); ll.y = std::min(ll.y, b_ll.y); ur.x = std::max(ur.x, b_ur.x); ur.y = std::max(ur.y, b_ur.y); } first &= false; } } } void DocumentView::begin_move(int x, int y) { if(get_page()) { Vector ur, ll; box_of_selected(ll, ur, get_document()); Gdk::Point ll_scr = pt2scr(ll); offset = IVector(x, y) - IVector(ll_scr.get_x(), ll_scr.get_y()); moving = true; } } void DocumentView::end_move(bool revert) { moving = false; refresh_streams(get_page()); } bool DocumentView::on_key_press_event(GdkEventKey* key) { if(key->keyval == 65307) { // escape if(moving) end_move(true); if(reshaping) end_reshape(true); } return false; } bool DocumentView::on_button_release_event(GdkEventButton *event) { if(moving) end_move(false); if(reshaping) end_reshape(false); return true; } Gdk::CursorType DocumentView::get_cursor(int x, int y) { DocRef document = get_document(); if(!document) return Gdk::LEFT_PTR; if(moving) return Gdk::FLEUR; const Document::Selection selection = document->selected(); Pagent *obj = in_select_area(x, y); if(!reshaping && obj && find(selection.begin(), selection.end(), obj) == selection.end()) return Gdk::TOP_LEFT_ARROW; int j = reshape_box; if(reshaping || ((j = hover_reshape(x, y)) != -1)) switch(j) { case 0: return Gdk::BOTTOM_LEFT_CORNER; case 1: return Gdk::LEFT_SIDE; case 2: return Gdk::TOP_LEFT_CORNER; case 3: return Gdk::TOP_SIDE; case 4: return Gdk::TOP_RIGHT_CORNER; case 5: return Gdk::RIGHT_SIDE; case 6: return Gdk::BOTTOM_RIGHT_CORNER; case 7: return Gdk::BOTTOM_SIDE; default: return Gdk::QUESTION_ARROW; } if(in_move_area(x, y)) return Gdk::FLEUR; if(in_select_area(x, y)) return Gdk::TOP_LEFT_ARROW; return Gdk::LEFT_PTR; } void DocumentView::update_cursor(int x, int y) { get_window()->set_cursor(Gdk::Cursor(get_cursor(x, y))); } namespace { float grid_size_x = 24, grid_size_y = 24; Vector grid_offset(0, 0); float snap_to_grid(float x, float offset, float step) { x -= offset; int n = int(x / step); float low = n * step, high = (n + 1) * step; float dlow = x - low, dhigh = high - x; x = dlow < dhigh ? low : high; x += offset; return x; } } void DocumentView::move_reshape_box(int x, int y) { const Document::Selection selected = document->selected(); if(selected.size() != 1) return; Pagent& obj = *selected.front(); const Matrix &m = obj.get_matrix(); // cursor wasn't necessarily in the center of the handle x -= offset.x; y -= offset.y; Vector p = scr2pt(Gdk::Point(x, y)); // snap to grid if(snap_mode == snap::GRID) { p = Vector(snap_to_grid(p.x, grid_offset.x, grid_size_x), snap_to_grid(p.y, grid_offset.y, grid_size_y)); } // get pos in matrix coordinates Vector pos = m.inv().transform(p); Vector ll(0, 0), ur(obj.get_inherent_size()); // lower left / upper right switch(reshape_box) { case 0: // bottom left ll = pos; break; case 1: // left ll.x = pos.x; break; case 2: // top left ll.x = pos.x; ur.y = pos.y; break; case 3: // top ur.y = pos.y; break; case 4: // top right ur = pos; break; case 5: // right ur.x = pos.x; break; case 6: // bottom right; ur.x = pos.x; ll.y = pos.y; break; case 7: // bottom ll.y = pos.y; break; default: break; } bool negx = ll.x > ur.x, negy = ll.y > ur.y; // change reshape_box if going past zero if(negx) { switch(reshape_box) { case 0: reshape_box = 6; break; case 1: reshape_box = 5; break; case 2: reshape_box = 4; break; case 4: reshape_box = 2; break; case 5: reshape_box = 1; break; case 6: reshape_box = 0; break; default: break; } } if(negy) { switch(reshape_box) { case 0: reshape_box = 2; break; case 2: reshape_box = 0; break; case 3: reshape_box = 7; break; case 4: reshape_box = 6; break; case 6: reshape_box = 4; break; case 7: reshape_box = 3; break; default: break; } } // avoid negative scaling Vector _ll(std::min(ll.x, ur.x), std::min(ll.y, ur.y)); // Vector _ur(std::max(ll.x, ur.x), std::max(ll.y, ur.y)); Vector size = ur - ll; // can't set size to zero float minsize = 1; if(fabs(size.x) < minsize || fabs(size.y) < minsize) { return; } if(Pagent::Resizable* o = dynamic_cast(&obj)) { o->set_size(fabs(size.x), fabs(size.y)); } else { const Vector osize = obj.get_inherent_size(); obj.set_scaling(m.sc_x() * size.x / osize.x, m.sc_y() * size.y / osize.y); } obj.set_matrix(Matrix::translation(_ll) * obj.get_matrix()); } bool DocumentView::on_motion_notify_event(GdkEventMotion *event) { if(!get_page()) return true; // some silliness we have to do or we won't get new motion notify events if(event->is_hint) { Gdk::ModifierType state; int x, y; get_window()->get_pointer(x, y, state); } int x = int(event->x); int y = int(event->y); update_cursor(x, y); Document::Selection selected = get_document()->selected(); Document::Selection::const_iterator i; if(moving || reshaping) { bool locked = false; for(i = selected.begin(); i != selected.end(); i++) { locked |= (*i)->get_lock(); // if one is locked, all are locked } if(moving) { Vector ur, ll; box_of_selected(ll, ur, get_document()); // new ll is at pointer pos minus offset Vector move = scr2pt(Gdk::Point(x - offset.x, y - offset.y)) - ll; if(snap_mode == snap::GRID && !locked) { ll += move; ur += move; Vector ll_s(snap_to_grid(ll.x, grid_offset.x, grid_size_x), snap_to_grid(ll.y, grid_offset.y, grid_size_y)); Vector ur_s(snap_to_grid(ur.x, grid_offset.x, grid_size_x), snap_to_grid(ur.y, grid_offset.y, grid_size_y)); Vector dll = ll_s - ll, dur = ur_s - ur; // the edge closest to a grid line wins Vector d(fabs(dll.x) < fabs(dur.x) ? dll.x : dur.x, fabs(dll.y) < fabs(dur.y) ? dll.y : dur.y); move += d; } if(!locked) { for(i = selected.begin(); i != selected.end(); i++) { Vector t = (*i)->get_matrix().tr(); t += move; (*i)->set_translation(t); } } } else if(reshaping) { for(i = selected.begin(); i != selected.end(); i++) { if(!(*i)->get_lock()) move_reshape_box(x, y); } } } return true; } void DocumentView::on_drag_data_received (const Glib::RefPtr& context, int x, int y, const Gtk::SelectionData& selection_data, guint info, guint time) { /// \todo unicode ??? debug << "DocumentView::on_drop_drag_data_received:" << std::endl << "x = " << x << ", y = " << y << std::endl << selection_data.get_data_type() << " : \"" << selection_data.get_text() << "\"" << std::endl << "\"" << selection_data.get_data_as_string() << "\"" << std::endl << std::endl; if(!get_page()) { context->drag_finish(false, false, time); return; } // split into lines typedef std::vector Strings; Strings strings; std::string data = selection_data.get_data_as_string(); unsigned int start = 0; unsigned int stop; unsigned int length = data.length(); do { unsigned int r = data.find('\r', start); unsigned int n = data.find('\n', start); stop = std::min(std::min(r, n), length); strings.push_back(data.substr(start, stop - start)); start = stop; while(start < length && (data[start] == '\r' || data[start] == '\n')) start++; } while(start < length); bool success = false; for(Strings::const_iterator i = strings.begin(); i != strings.end(); i++) { try { std::string filename = *i; if(filename.find("file://") == 0) filename.replace(0, 7, ""); debug << "\"" << filename << "\"" << std::endl; new_image_frame(filename, false); success = true; // ok if at least one works } catch (const std::exception&) { debug << "failed to open" << std::endl; } } context->drag_finish(success, false, time); } void DocumentView::update_handles() { Pagent *pagent; // Show handles if there is one and only one selected object and it // is on the current page.and it isn't locked if(!document || document->selected().size() != 1 || !get_page()->has_child(pagent = document->selected().front()) || pagent->get_lock()) { handle_group.hide(); return; } handle_group.show(); // Make sure we connect only to the currently selected pagent if(last_selected != pagent) { last_selected = pagent; selected_geometry_connection.disconnect(); selected_props_connection.disconnect(); selected_geometry_connection = pagent->geometry_changed_signal.connect (sigc::mem_fun(*this, &DocumentView::update_handles)); // this is for noticing if the pagent is being locked/unlocked selected_props_connection = pagent->props_changed_signal.connect (sigc::mem_fun(*this, &DocumentView::update_handles)); } ResizeHandles pos = get_resize_handles(*pagent); assert(pos.size() == 8); const float hs = scr2pt(int(config.ReshapeBoxSize.values.front()) / 2); for(int i = 0; i < 8; i++) { handles[i]->property_x1() = pos[i].x - hs; handles[i]->property_x2() = pos[i].x + hs; handles[i]->property_y1() = -(pos[i].y - hs); handles[i]->property_y2() = -(pos[i].y + hs); } } const Gdk::Color& DocumentView::get_color(Color::Id color) const { switch(color) { case Color::bg: return white; case Color::frame: return black; case Color::locked: return gray; case Color::guide: return red; case Color::empty: return gray; default: throw std::runtime_error("Unknown color id get_color"); } } passepartout-0.7.1/src/pptout/docview.h000066400000000000000000000100121140125232500201710ustar00rootroot00000000000000#ifndef DOCVIEW_H // -*- c++ -*- #define DOCVIEW_H /// // Copyright (C) 2002 - 2004, Fredrik Arnerup & Rasmus Kaj, See COPYING /// #include "view.h" #include "viewent.h" #include "document/group.h" #include "docmeta.h" #include #include #include // auto_ptr class Page; class TextStream; namespace snap { enum Mode {GRID, GUIDE, NONE}; } class DocumentView: public Gnome::Canvas::Canvas, public View { public: sigc::signal current_page_num_changed_signal; sigc::signal document_changed_signal; sigc::signal document_set_signal; Gdk::Color white, black, gray, red; DocumentView(DocMeta, float zoom_factor = 1.0); ~DocumentView(); void set_document(DocMeta d); DocRef get_document() const { return document.get_document(); } DocMeta get_document_meta() const { return document; } void set_current_page_num(int); int get_current_page_num() const { return current_page_num; } Page* get_page(); float get_zoom_factor() const { return zoom_factor; } void set_zoom_factor(float); void delete_page(); void new_image_frame(std::string, float res = -1); Gnome::Canvas::Group& get_pagent_group() { return pagent_group; } Gnome::Canvas::Group& get_guide_group() { return guide_group; } const Gdk::Color& get_color(Color::Id color) const; void set_snap(snap::Mode mode) { snap_mode = mode; } snap::Mode get_snap() const { return snap_mode; } double get_scrres() const { return resolution * zoom_factor; } float pt2scr(float pt) const; float scr2pt(float scr) const; // Important! the scalar versions of pt2scr and scr2pt only perform // length conversions while the vector versions also convert between // right- and left-handed coordinate systems Gdk::Point pt2scr(const Vector& pt) const; Vector scr2pt(const Gdk::Point& scr) const; bool on_key_press_event(GdkEventKey*); // called from Window private: // Undefined ctors, avoid defaults DocumentView(const DocumentView&); DocumentView(); void operator = (const DocumentView&); sigc::signal zoom_change_signal; Viewent::Ref pageview; Gnome::Canvas::Group no_pages_group, pagent_group, guide_group, handle_group; std::auto_ptr no_pages_frame; std::auto_ptr no_pages_text; Gnome::Canvas::Rect *handles[8]; /// managed by the canvas /// a connection to the selected pagents geometry_changed_signal sigc::connection selected_geometry_connection; /// a connection to the selected pagents props_changed_signal sigc::connection selected_props_connection; /// keep track of which pagent the connection is to Pagent *last_selected; snap::Mode snap_mode; int margin_size; float resolution; //ppi float zoom_factor; Vector old_size; Matrix old_matrix; IVector offset; int reshape_box, current_page_num; bool moving, reshaping; DocMeta document; Page *old_page; //last page visited Gtk::Menu popup_menu; /// If there is a reshape box at pixel coordinates (x, y) return the /// index of the box, otherwise return -1. int hover_reshape(int x, int y); bool on_button_press_event(GdkEventButton*); bool on_button_release_event(GdkEventButton*); bool on_motion_notify_event(GdkEventMotion*); void on_drag_data_received(const Glib::RefPtr& context, int x, int y, const Gtk::SelectionData &selection_data, guint info, guint time); void update_handles(); void begin_move(int x, int y); void end_move(bool revert); void begin_reshape(int x, int y, int box); void end_reshape(bool revert); void move_reshape_box(int x, int y); void act_on_document_change(DocRef document_); void act_on_selection_change(DocRef document_); void update_document_size(); Gdk::CursorType get_cursor(int x, int y); void update_cursor(int x, int y); bool in_move_area(int x, int y); Pagent* in_select_area(int x, int y); sigc::connection connect_zoom_change(sigc::slot slot) { return zoom_change_signal.connect(slot); } }; #endif passepartout-0.7.1/src/pptout/groupmeta.cc000066400000000000000000000010101140125232500206700ustar00rootroot00000000000000/// // Copyright (C) 2002 - 2004, Fredrik Arnerup & Rasmus Kaj, See COPYING /// #include "groupmeta.h" #include "document/group.h" #include "pptcore.h" #include "groupviewent.h" Pagent* GroupMeta::load(const ElementWrap& xml, Group* parent) { return new Group(xml, parent); } Viewent::Ref GroupMeta::create_viewent(View& view, Pagent& node) { Viewent::Ref result(new GroupViewent (view, &dynamic_cast(node))); result->reference(); return result; } PropBase* GroupMeta::getProp() { return 0; } passepartout-0.7.1/src/pptout/groupmeta.h000066400000000000000000000005761140125232500205520ustar00rootroot00000000000000#ifndef GROUPMETA_H // -*- c++ -*- #define GROUPMETA_H /// // Copyright (C) 2002 - 2004, Fredrik Arnerup & Rasmus Kaj, See COPYING /// #include "metabase.h" #include "util/xmlwrap.h" class GroupMeta : public MetaBase { public: Pagent* load(const ElementWrap& node, Group* parent); Viewent::Ref create_viewent(View& view, Pagent& node); PropBase* getProp(); }; #endif passepartout-0.7.1/src/pptout/groupviewent.cc000066400000000000000000000055761140125232500214500ustar00rootroot00000000000000/// // Copyright (C) 2003, 2004, Fredrik Arnerup & Rasmus Kaj, See COPYING /// #include "groupviewent.h" #include "pptcore.h" #include #include class SubView : public View { public: SubView(View& p, const Matrix& m, Gnome::Canvas::Group &group) : parent(p), matrix(m), pagent_group(group) {} Gnome::Canvas::Group& get_pagent_group() { return pagent_group; } Gnome::Canvas::Group& get_guide_group() { return parent.get_guide_group(); } gdouble get_scrres() const { const Matrix inv = matrix.inv(); return dist(inv.transform(Vector(parent.get_scrres(), 0)), inv.transform(Vector(0,0))); } // transforming lengths only make sense if the axes are // scaled by the same amount float pt2scr(float pt) const { return parent.pt2scr(dist(matrix.transform(Vector(pt, 0)), matrix.transform(Vector(0,0)))); } Gdk::Point pt2scr(const Vector& pt) const { return parent.pt2scr(matrix.transform(pt)); } Vector scr2pt(const Gdk::Point& scr) const { return matrix.inv().transform(parent.scr2pt(scr)); } float scr2pt(float scr) const { // untested code! return dist(scr2pt(Gdk::Point(int(scr + 0.5), 0)), scr2pt(Gdk::Point(0, 0))); } const Gdk::Color &get_color(Color::Id color) const { return parent.get_color(color); } sigc::connection connect_zoom_change(sigc::slot slot) { return parent.connect_zoom_change(slot); } private: View& parent; const Matrix& matrix; Gnome::Canvas::Group &pagent_group; }; GroupViewent::GroupViewent(View& view, const FrameRef groupframe) : Viewent(view, groupframe), subview(new SubView(view, groupframe->get_matrix(), *content_group)), frame(groupframe), groupcon(frame->group_changed_signal.connect (sigc::mem_fun(*this, &GroupViewent::group_changed))) { // Create the initial content, just as if it was added after this object. group_changed(); on_geometry_changed(); on_properties_changed(); } GroupViewent::~GroupViewent() { /// \todo delete subview; but make sure its not used first } void GroupViewent::update_selection(const Document::Selection& selected) { for(ChildVec::iterator i = childvec.begin(); i != childvec.end(); i++) { const Pagent* pagent = (*i)->get_frame(); (*i)->set_selected(std::find(selected.begin(), selected.end(), pagent) != selected.end()); } } void GroupViewent::group_changed() { ChildVec newchilds; for(Group::ChildVec::const_reverse_iterator i = frame->prbegin(); i != frame->prend(); ++i) { ChildVec::const_iterator old; for(old = childvec.begin(); old != childvec.end(); ++old) { if((*old)->samePagent(*i)) break; } if(old != childvec.end()) newchilds.push_back(*old); else newchilds.push_back(core.getMeta((*i)->getTypeName())-> create_viewent(*subview, **i)); newchilds.back()->raise_to_top(); } swap(childvec, newchilds); } passepartout-0.7.1/src/pptout/groupviewent.h000066400000000000000000000014541140125232500213010ustar00rootroot00000000000000#ifndef PPT_GROUPVIEWENT_H // -*- C++ -*- #define PPT_GROUPVIEWENT_H /// // Copyright (C) 2003, 2004, Fredrik Arnerup & Rasmus Kaj, See COPYING /// #include "viewent.h" #include "document/group.h" #include "document/document.h" // all this just for the selection ... #include class GroupViewent : public Viewent { typedef Group* FrameRef; typedef Viewent::Ref ChildRef; typedef std::vector ChildVec; public: GroupViewent(View& view, const FrameRef groupframe); ~GroupViewent(); protected: const Pagent* get_frame() const { return frame; } void update_selection(const Document::Selection& selected); private: /** Callback for group_chagned_signal */ void group_changed(); View* subview; FrameRef frame; sigc::connection groupcon; ChildVec childvec; }; #endif passepartout-0.7.1/src/pptout/icons/000077500000000000000000000000001140125232500175015ustar00rootroot00000000000000passepartout-0.7.1/src/pptout/icons/Makefile.am000066400000000000000000000001601140125232500215320ustar00rootroot00000000000000EXTRA_DIST = broken.xpm missing.xpm wait.xpm moose_24.h newframe_24.h\ streams_24.h grid_24.h icon_48.h logo.h passepartout-0.7.1/src/pptout/icons/Makefile.in000066400000000000000000000210441140125232500215470ustar00rootroot00000000000000# Makefile.in generated by automake 1.10.1 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, # 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ VPATH = @srcdir@ pkgdatadir = $(datadir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : subdir = src/pptout/icons DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs CONFIG_HEADER = $(top_builddir)/src/defines.h CONFIG_CLEAN_FILES = SOURCES = DIST_SOURCES = DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ AMTAR = @AMTAR@ APPLY_RPATH = @APPLY_RPATH@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CXX = @CXX@ CXXDEPMODE = @CXXDEPMODE@ CXXFLAGS = @CXXFLAGS@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ FREETYPE_CFLAGS = @FREETYPE_CFLAGS@ FREETYPE_LIBS = @FREETYPE_LIBS@ GNOMECANVAS_CFLAGS = @GNOMECANVAS_CFLAGS@ GNOMECANVAS_LIBS = @GNOMECANVAS_LIBS@ GNOMEVFS_CFLAGS = @GNOMEVFS_CFLAGS@ GNOMEVFS_LIBS = @GNOMEVFS_LIBS@ GNOME_CFLAGS = @GNOME_CFLAGS@ GNOME_LIBS = @GNOME_LIBS@ GREP = @GREP@ GTHREAD_CFLAGS = @GTHREAD_CFLAGS@ GTHREAD_LIBS = @GTHREAD_LIBS@ GTKMM_CFLAGS = @GTKMM_CFLAGS@ GTKMM_LIBS = @GTKMM_LIBS@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ LDFLAGS = @LDFLAGS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LTLIBOBJS = @LTLIBOBJS@ MAKEINFO = @MAKEINFO@ MKDIR_P = @MKDIR_P@ OBJEXT = @OBJEXT@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ RANLIB = @RANLIB@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ VERSION = @VERSION@ XMLPP_CFLAGS = @XMLPP_CFLAGS@ XMLPP_LIBS = @XMLPP_LIBS@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ ac_ct_CC = @ac_ct_CC@ ac_ct_CXX = @ac_ct_CXX@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build_alias = @build_alias@ builddir = @builddir@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host_alias = @host_alias@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ xmldir = @xmldir@ EXTRA_DIST = broken.xpm missing.xpm wait.xpm moose_24.h newframe_24.h\ streams_24.h grid_24.h icon_48.h logo.h all: all-am .SUFFIXES: $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ && exit 0; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign src/pptout/icons/Makefile'; \ cd $(top_srcdir) && \ $(AUTOMAKE) --foreign src/pptout/icons/Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh tags: TAGS TAGS: ctags: CTAGS CTAGS: distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ fi; \ cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ else \ test -f $(distdir)/$$file \ || cp -p $$d/$$file $(distdir)/$$file \ || exit 1; \ fi; \ done check-am: all-am check: check-am all-am: Makefile installdirs: install: install-am install-exec: install-exec-am install-data: install-data-am uninstall: uninstall-am install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-am install-strip: $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ `test -z '$(STRIP)' || \ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install mostlyclean-generic: clean-generic: distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-am clean-am: clean-generic mostlyclean-am distclean: distclean-am -rm -f Makefile distclean-am: clean-am distclean-generic dvi: dvi-am dvi-am: html: html-am info: info-am info-am: install-data-am: install-dvi: install-dvi-am install-exec-am: install-html: install-html-am install-info: install-info-am install-man: install-pdf: install-pdf-am install-ps: install-ps-am installcheck-am: maintainer-clean: maintainer-clean-am -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am mostlyclean-am: mostlyclean-generic pdf: pdf-am pdf-am: ps: ps-am ps-am: uninstall-am: .MAKE: install-am install-strip .PHONY: all all-am check check-am clean clean-generic distclean \ distclean-generic distdir dvi dvi-am html html-am info info-am \ install install-am install-data install-data-am install-dvi \ install-dvi-am install-exec install-exec-am install-html \ install-html-am install-info install-info-am install-man \ install-pdf install-pdf-am install-ps install-ps-am \ install-strip installcheck installcheck-am installdirs \ maintainer-clean maintainer-clean-generic mostlyclean \ mostlyclean-generic pdf pdf-am ps ps-am uninstall uninstall-am # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: passepartout-0.7.1/src/pptout/icons/broken.xpm000066400000000000000000000007541140125232500215150ustar00rootroot00000000000000/* XPM */ static char * broken_xpm[] = { /* width height num_colors chars_per_pixel */ "16 16 3 1", /* colors */ " s None c None", ". c black", "X c white", /* pixels */ " ...... ", " ..... .XXXX. ", " .XXX. .XXXX. ", " .XXX. .XXX. ", " .XXXX. .XXX. ", " .XXXX. .XX. ", " .XXXXX. .... ", " .XX.... ", " .... .... ", " ....XX. ", " ....XXXXX. ", " .XXXXXXXX. ", " .XXXXXXXX. ", " .XXXXXXXX. ", " .......... ", " "}; passepartout-0.7.1/src/pptout/icons/grid_24.h000066400000000000000000000141411140125232500211050ustar00rootroot00000000000000/* GdkPixbuf RGBA C-Source image dump */ static const guint8 grid_24[] = { "" /* Pixbuf magic (0x47646b50) */ "GdkP" /* length: header (24) + pixel_data (2304) */ "\0\0\11\30" /* pixdata_type (0x1010002) */ "\1\1\0\2" /* rowstride (96) */ "\0\0\0`" /* width (24) */ "\0\0\0\30" /* height (24) */ "\0\0\0\30" /* pixel_data: */ "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\4\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\327\377\377\377\77\377\377\377+\377\377\377\30\377\377\377" "\11\377\377\377\2\0\0\0\34\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\24\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\13\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\347\377\377\377H\377\377\377:\377" "\377\377)\377\377\377\27\377\377\377\10\11\11\11""4\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\40\0\0\0\0\0\0\0\0\0\0\0\2\0\0\0\5\0\0\0" "\13\0\0\0\22\0\0\0\31\0\0\0!\0\0\0)\0\0\0""1\0\0\0""9\0\0\0\365\244\244" "\244\177\234\234\234z\216\216\216qsssfKKKU%%%J\13\13\13B\4\4\4>\0\0\0" "7\0\0\0""0\0\0\0,\0\0\0)\0\0\0'\0\0\0%\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\32\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\373\377\377\377Y\377" "\377\377U\377\377\377P\377\377\377D\377\377\3771KKK^\377\377\377\13\377" "\377\377\3\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0""1\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\"\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\376\377\377\377[\377\377\377Z\377\377\377X\377\377\377T\377\377\377" "Fpppo\377\377\377\30\377\377\377\10\377\377\377\2\0\0\0\0\0\0\0\0\0\0" "\0""8\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0+\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\377\377\377\377\\\377\377\377\\\377\377" "\377[\377\377\377Z\377\377\377R\211\211\211|\377\377\377*\377\377\377" "\23\377\377\377\7\377\377\377\2\377\377\377\2\7\7\7A\377\377\377\1\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0""3\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\377\377\377\377\\\377\377\377\\\377\377\377\\\377\377" "\377\\\377\377\377Y\227\227\227\203\377\377\377<\377\377\377&\377\377" "\377\25\377\377\377\16\377\377\377\14!!!L\377\377\377\10\377\377\377" "\4\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0""9\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\377\377\377\377\\\377\377\377\\\377\377\377\\\377\377\377" "\\\377\377\377\\\240\240\240\212\377\377\377L\377\377\377=\377\377\377" "-\377\377\377\"\377\377\377\40PPP_\377\377\377\31\377\377\377\22\0\0" "\0\5\0\0\0\23\0\0\0)\0\0\0<\0\0\0G\0\0\0K\0\0\0L\0\0\0M\0\0\0M\0\0\0" "\377\246\246\246\215\246\246\246\215\246\246\246\215\246\246\246\215" "\246\246\246\215\244\244\244\215\240\240\240\212\230\230\230\204\215" "\215\215|~~~uuuuqmmmmhhhk^^^d\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\77\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\377\377\377\377\\\377\377\377" "\\\377\377\377\\\377\377\377\\\377\377\377\\\246\246\246\215\377\377" "\377[\377\377\377Y\377\377\377T\377\377\377M\377\377\377F\205\205\205" "z\377\377\377;\377\377\3776\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0@\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\377\377\377\377\\\377\377\377\\" "\377\377\377\\\377\377\377\\\377\377\377\\\246\246\246\215\377\377\377" "\\\377\377\377\\\377\377\377Z\377\377\377X\377\377\377S\227\227\227\203" "\377\377\377J\377\377\377F\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0@\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\377\377\377\377\\\377\377\377\\\377" "\377\377\\\377\377\377\\\377\377\377\\\246\246\246\215\377\377\377\\" "\377\377\377\\\377\377\377\\\377\377\377[\377\377\377Z\240\240\240\212" "\377\377\377T\377\377\377S\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0B\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\377\377\377\377\\\377\377\377\\\377" "\377\377\\\377\377\377\\\377\377\377\\\246\246\246\215\377\377\377\\" "\377\377\377\\\377\377\377\\\377\377\377\\\377\377\377\\\244\244\244" "\215\377\377\377Z\377\377\377Y\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0C\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\377\377\377\377\\\377\377\377" "\\\377\377\377\\\377\377\377\\\377\377\377\\\246\246\246\215\377\377" "\377\\\377\377\377\\\377\377\377\\\377\377\377\\\377\377\377\\\246\246" "\246\215\377\377\377\\\377\377\377\\\0\0\0\15\0\0\0\37\0\0\0""5\0\0\0" "C\0\0\0J\0\0\0L\0\0\0M\0\0\0M\0\0\0M\0\0\0\377\0\0\0\377\0\0\0\377\0" "\0\0\377\0\0\0\377\0\0\0\377\0\0\0\377\0\0\0\377\0\0\0\377\0\0\0\377" "\0\0\0\377\0\0\0\377\0\0\0\377\0\0\0\377\0\0\0\377\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0B\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0M\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0M\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0J\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\77\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0L\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0M\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "E\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0:\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0K\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0L\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0;\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0""3\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0G\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0J\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0""2\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0,\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0B\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0G\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0)\0\0\0\0\0\0\0\0\0\0\0\5\0\0\0\15\0\0\0\31\0\0\0" "\"\0\0\0)\0\0\0""0\0\0\0""4\0\0\0""7\0\0\0""9\0\0\0<\0\0\0@\0\0\0D\0" "\0\0H\0\0\0H\0\0\0F\0\0\0D\0\0\0@\0\0\0;\0\0\0""6\0\0\0/\0\0\0(\0\0\0" "#\0\0\0\36\0\0\0\26\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\26\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0""4\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0<\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\36\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\12\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0,\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0""3" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\27\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\3\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\36\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0$\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\15\0\0\0\0\0\0\0\0"}; passepartout-0.7.1/src/pptout/icons/icon_48.h000066400000000000000000000527111140125232500211230ustar00rootroot00000000000000/* GdkPixbuf RGBA C-Source image dump */ static const guint8 icon_48[] = { "" /* Pixbuf magic (0x47646b50) */ "GdkP" /* length: header (24) + pixel_data (9216) */ "\0\0$\30" /* pixdata_type (0x1010002) */ "\1\1\0\2" /* rowstride (192) */ "\0\0\0\300" /* width (48) */ "\0\0\0""0" /* height (48) */ "\0\0\0""0" /* pixel_data: */ "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\177\177\177\377\177\177\177k\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\323\323\323=\177\177\177" "\377\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\177\177\177=\177\177\177\377\177\177\177\216" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\323\323\323=\323\323\323k\177\177" "\177\377\0\0\0=\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\177\177\177=\177\177\177\377" "\177\177\177\377wwwA\0\0\0\4\0\0\0\2\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\323\323\323]\272\272\272\377```\377" "\0\0\0=\0\0\0\0\0\0\0\0\0\0\0\1\0\0\0\3\0\0\0\4\0\0\0\2\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0zzz\77\177\177\177" "\377\177\177\177\377tttu\0\0\0\13\0\0\0\4\0\0\0\1\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\323\323\323=\323\323\323k\235\235\235\377```\377\0\0\0=" "\0\0\0\0\0\0\0\1\0\0\0\4\0\0\0\11\0\0\0\17\0\0\0\17\0\0\0\11\0\0\0\2" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\4jjjI" "\177\177\177\377\177\177\177\377\177\177\177\377jjjI\0\0\0\7\0\0\0\2" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\377kk\377\377" "\0\0\377\302\0\0\377\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\323\323\323=\300\300\300\377\235\235\235\377" "```\377\0\0\0=\0\0\0\0\0\0\0\3\0\0\0\11\0\0\0\21\0\0\0\32\0\0\0\40\0" "\0\0\34\0\0\0\17\0\0\0\4\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\4\0\0\0\17[[[U\177\177\177\377\177\177\177\377\177" "\177\177\377cccN\0\0\0\13\0\0\0\4\0\0\0\1\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\377\0\0=\377\216\216\377\377\0\0\377\302\0\0\377\377\0\0=\0\0\0" "\0\0\0\0\1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\323\323\323=\273\273" "\273\377\235\235\235\377```\377\0\0\0+\0\0\0\1\0\0\0\5\0\0\0\15\0\0\0" "\31\0\0\0'\0\0\0.\0\0\0,\0\0\0\37\0\0\0\16\0\0\0\4\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\2\0\0\0\10\0\0\0\26UUU[" "\177\177\177\377\177\177\177\377\177\177\177\377mmm|\0\0\0\20\0\0\0\7" "\0\0\0\2\0\0\0\0\0\0\0\0\0\0\0\0\377kk\377\377\216\216\377\377\0\0\377" "\302\0\0\377\302\0\0\377\0\0\0\7\0\0\0\11\0\0\0\7\0\0\0\3\0\0\0\1\0\0" "\0\0\323\323\323\216\264\264\264\377\177\177\177\377```\377\0\0\0+\0" "\0\0\2\0\0\0\10\0\0\0\23\0\0\0!\0\0\0""2\0\0\0<\0\0\0""7\0\0\0(\0\0\0" "\26\0\0\0\10\0\0\0\2\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\3\0\0\0\12\0\0\0\31QQQ_\177\177\177\377\177\177" "\177\377\177\177\177\377\177\177\177\377cccN\0\0\0\12\0\0\0\3\0\0\0\0" "\0\0\0\0\377\216\216\377\377\264\264\377\377\0\0\377\302\0\0\377\302" "\0\0\377\0\0\0\33\0\0\0!\0\0\0\33\0\0\0\17\306\306\306A\310\310\310\377" "\263\263\263\377\235\235\235\377```\377\0\0\0+\0\0\0\3\0\0\0\13\0\0\0" "\31\0\0\0+\0\0\0;\0\0\0E\0\0\0@\0\0\0.\0\0\0\31\0\0\0\12\0\0\0\3\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\3\0\0\0\13\0\0\0\32OOOb\177\177\177\377\177\177\177\377" "\177\177\177\377\177\177\177\377^^^R\0\0\0\14\0\0\0\4\0\0\0\1\377kk\377" "\377\260\260\377\377\0\0\377\302\0\0\377\302\0\0\377\0\0\0:\0\0\0F\0" "\0\0:\223\223\223W\300\300\300\377\251\251\251\377\235\235\235\377``" "`\377\0\0\0,\0\0\0\4\0\0\0\15\0\0\0\34\0\0\0""3\0\0\0G\0\0\0L\0\0\0D" "\0\0\0""0\0\0\0\32\0\0\0\13\0\0\0\3\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\3\0\0\0\13\0\0\0\33NNNc\177\177\177\377\177\177\177\377\177\177\177" "\377\177\177\177\377[[[U\0\0\0\20\0\0\0\7zzz\77ooo\377hhh\377\222\222" "\222\377KKKf\0\0\0V\0\0\0cfff~\273\273\273\377\235\235\235\377\177\177" "\177\377```\377\0\0\0-\0\0\0\7\0\0\0\21\0\0\0!\0\0\0""7\0\0\0L\0\0\0" "S\0\0\0H\0\0\0""1\0\0\0\32\0\0\0\13\0\0\0\3\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\3\0\0\0\13\0\0\0\34LLLe\177\177\177\377\177" "\177\177\377\177\177\177\377\177\177\177\377TTT\\cccN\301\301\301\377" "\342\342\342\377\301\301\301\377\222\222\222\377\222\222\222\377777\213" "\213\213\213\300\264\264\264\377\264\264\264\377\177\177\177\377```\377" "\0\0\0&\0\0\0\12\0\0\0\30\0\0\0*\0\0\0\77\0\0\0Q\0\0\0V\0\0\0J\0\0\0" "2\0\0\0\32\0\0\0\12\0\0\0\3\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\3\0\0\0\13\0\0\0\34LLLe\177\177\177\377\177" "\177\177\377\177\177\177\377\177\177\177\377\301\301\301\377\332\332" "\332\377\332\332\332\377\301\301\301\377\222\222\222\377\222\222\222" "\377\222\222\222\377\264\264\264\377\235\235\235\377\177\177\177\377" "```\377\0\0\0""7\0\0\0\15\0\0\0\33\0\0\0""3\0\0\0J\0\0\0Y\0\0\0Z\0\0" "\0K\0\0\0""3\0\0\0\32\0\0\0\12\0\0\0\3\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\3\0\0\0\13\0\0\0" "\34LLLe\177\177\177\377\177\177\177\377\177\177\177\377==\377\377==\377" "\377==\377\377\0\0\377\377\0\0\302\377\0\0\302\377\0\0\302\377\235\235" "\235\377\177\177\177\377```\377\0\0\0M\0\0\0\30\0\0\0\37\0\0\0""6\0\0" "\0P\0\0\0`\0\0\0_\0\0\0M\0\0\0""3\0\0\0\32\0\0\0\12\0\0\0\3\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\3\0\0\0\13\0\0\0\34KKKf\177\177\177\377\177\177" "\177\377ll\377\377ll\377\377ll\377\377\0\0\377\377\0\0\223\377\0\0\223" "\377\0\0\223\377PPP\377```\377\0\0\0z\0\0\0""4\0\0\0-\0\0\0;\0\0\0R\0" "\0\0b\0\0\0a\0\0\0N\0\0\0""3\0\0\0\32\0\0\0\12\0\0\0\3\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\3\0\0\0\13\0\0\0\34KKKf\177\177\177" "\377uu\377\377uu\377\377uu\377\377\0\0\377\377\0\0\212\377\0\0\212\377" "\0\0\212\377```\377\0\0\0\210\0\0\0_\0\0\0M\0\0\0L\0\0\0X\0\0\0d\0\0" "\0b\0\0\0O\0\0\0""3\0\0\0\32\0\0\0\12\0\0\0\3\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\3\0\0\0\13\0\0\0\34bbb\212uu\377" "\377uu\377\377uu\377\377\0\0\377\377\0\0\206\377\0\0\206\377\0\0\206" "\377\0\0\0\221\0\0\0x\0\0\0p\0\0\0h\0\0\0g\0\0\0i\0\0\0c\0\0\0P\0\0\0" "4\0\0\0\32\0\0\0\12\0\0\0\3\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\3\0\0\0\13\0\0\0\34uu\377\377uu" "\377\377uu\377\377\0\0\377\377\0\0\206\377\0\0\206\377\0\0\206\377\0" "\0\0|\0\0\0|\0\0\0y\0\0\0v\0\0\0q\0\0\0f\0\0\0Q\0\0\0""4\0\0\0\33\0\0" "\0\12\0\0\0\2\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\3\264\264\264\377uu\377\377uu" "\377\377uu\377\377\0\0\377\377\0\0\206\377\0\0\206\377\0\0\206\37799" "9\342\0\0\0}\0\0\0{\0\0\0u\0\0\0h\0\0\0Q\0\0\0""5\0\0\0\33\0\0\0\13\0" "\0\0\3\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\264\264\264\377\177\177\177\377uu" "\377\377uu\377\377uu\377\377\0\0\377\377\0\0\206\377\0\0\206\377\0\0" "\206\377333\377```\377\0\0\0y\0\0\0l\0\0\0T\0\0\0""6\0\0\0\34\0\0\0\13" "\0\0\0\3\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\264\264\264\377\177\177\177\377" ":::\236uu\377\377uu\377\377uu\377\377\0\0\377\377\0\0\206\377\0\0\206" "\377\0\0\206\377+++\342&&&\377===\327\0\0\0c\0\0\0B\0\0\0!\0\0\0\14\0" "\0\0\3\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\323\323\323k\300\300\300\377\255\255\255" "\377\323\323\323=\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\264\264\264" "\264\177\177\177\377:::\236\0\0\0\0uu\377\377uu\377\377uu\377\377\0\0" "\377\377\0\0\204\377\0\0\204\377\0\0\204\377111\234<<<\330III\377RRR" "\321\0\0\0>\0\0\0\36\0\0\0\12\0\0\0\2\323\323\323=\323\323\323k\264\264" "\264\264\223\223\223\264\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\323\323\323=\264\264\264\264\264\264\264\377```\377```\377\177\177\177" "\377\177\177\177\377\0\0\0\0\0\0\0\0\0\0\0\0\264\264\264\264\177\177" "\177\377:::\236\0\0\0\0\0\0\0\1uu\377\377uu\377\377uu\377\377\0\0\377" "\377\0\0\206\377\0\0\206\377\0\0\206\377\0\0\0}\32\32\32\213PPP\327`" "``\377qqq\312\0\0\0-\0\0\0\25\313\313\313o\300\300\300\377\317\317\317" "\377III\377III\377\177\177\177\377\177\177\177\177\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\300\300\300\264```\377```\377\0\0\0L\0\0\0+```\377\177\177" "\177\377\177\177\177\377\0\0\0\10\263\263\263\265\177\177\177\377:::" "\236\0\0\0\17\0\0\0\1\0\0\0\7uu\377\377uu\377\377uu\377\377\0\0\302\377" "\0\0e\377\0\0e\377\0\0\206\377\0\0\0}\0\0\0|%%%\220kkk\325\177\177\177" "\377rrr\310\0\0\0)\306\306\306\377\177\177\177\377:::\236\0\0\0k\0\0" "\0>\177\177\177\377\177\177\177\377}}}\266\0\0\0\6\0\0\0\3\0\0\0\1\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\323\323\323=\264" "\264\264\377```\377\0\0\0=\0\0\0\1\0\0\0\5\0\0\0\15\255\255\255\377\177" "\177\177\377```\377\177\177\177\377888\243\0\0\0\24\0\0\0\3\0\0\0\6\0" "\0\0\22uu\377\377uu\377\377uu\377\377\0\0\302\377\0\0e\377\0\0e\377\0" "\0\206\377\0\0\0}\0\0\0|\0\0\0x\0\0\0nmmm\320\177\177\177\377sss\306" "\273\273\273\377PPP\377\0\0\0B\0\0\0\4\0\0\0\11\0\0\0\20\177\177\177" "\377\177\177\177\377\0\0\0N\0\0\0\20\0\0\0\10\0\0\0\3\0\0\0\1\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\300\300\300\264```\377\0\0\0k\0\0\0" "\1\0\0\0\7\0\0\0\23\0\0\0#\242\242\242\231\177\177\177\377\177\177\177" "\377333\261\0\0\0""0\0\0\0\24\0\0\0\15\0\0\0\23\0\0\0$ll\377\377ll\377" "\377ll\333\377\0\0\223\377\0\0L\377\0\0d\377\0\0\204\377\0\0\0}\0\0\0" "|\0\0\0u\0\0\0e\0\0\0Qhhh\261\177\177\177\377\177\177\177\377PPP\377" "\0\0\0L\0\0\0\21\0\0\0\33\0\0\0*\0\0\0""4\255\255\255\377DDD\262\0\0" "\0(\0\0\0\32\0\0\0\15\0\0\0\5\0\0\0\1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\271\271\271\377```\377\0\0\0\0\0\0\0\5\0\0\0\22\0\0\0'\0\0\0=\256\256" "\256\312\177\177\177\377<<<\327\0\0\0S\0\0\0@\0\0\0/\0\0\0#\0\0\0)\0" "\0\0""8==\377\377==\377\377==\320\377\0\0\302\377\0\0e\377\0\0\206\377" "\0\0\206\377\0\0\0}\0\0\0{\0\0\0s\0\0\0[\0\0\0\77\0\0\0""5sss\306\177" "\177\177\377```\377\0\0\0]\0\0\0'\0\0\0""5\0\0\0F\0\0\0K\277\277\277" "\377PPP\377\0\0\0@\0\0\0""3\0\0\0!\0\0\0\17\0\0\0\4\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\235\235\235\377```\377zzz\77\0\0\0\13\0\0\0\40xxxk\246" "\246\246\312\177\177\177\377222\266\0\0\0F\0\0\0J\0\0\0Q\0\0\0K\0\0\0" "B\0\0\0@\0\0\0A\0\0\377\377\0\0\377\377\0\0\223\377\0\0\223\377\0\0T" "\377\0\0\223\377\0\0\223\377\0\0\0}\0\0\0{\0\0\0q\0\0\0V\0\0\0""2\0\0" "\0!\0\0\0)ttt\305\177\177\177\377\177\177\177\377\0\0\0C\0\0\0O\0\0\0" "Vlllw\266\266\266\377DDD\377\0\0\0B\0\0\0D\0\0\0""6\0\0\0\35\0\0\0\12" "\0\0\0\2\0\0\0\0\0\0\0\0\0\0\0\0\177\177\177\264\177\177\177\377~~~\265" "[[[<\204\204\204a\271\271\271\311\235\235\235\377>>>\322\0\0\0""2\0\0" "\0$\0\0\0""7\0\0\0P\0\0\0\\\0\0\0V\0\0\0J\0\0\0""9\0\0\302\377\0\0\302" "\377\0\0\302\377\0\0\302\377\0\0\223\377\0\0\302\377\0\0\302\377\0\0" "\0}\0\0\0{\0\0\0q\0\0\0T\0\0\0,\0\0\0\24\0\0\0\25\0\0\0%ttt\304\177\177" "\177\377\177\177\177\377```\205\215\215\215\237\263\263\263\377\177\177" "\177\377\33\33\33\277\0\0\0/\0\0\0@\0\0\0B\0\0\0-\0\0\0\23\0\0\0\5\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\177\177\177\264```\377\235\235\235\377" "\264\264\264\377\177\177\177\377===\323\0\0\0/\0\0\0\22\0\0\0\25\0\0" "\0+\0\0\0J\0\0\0[\0\0\0U\0\0\0\77\0\0\377\377\0\0\377\377\0\0\302\377" "\0\0o\377\0\0O\377\0\0e\377\0\0\212\377\0\0\223\377\0\0\0}\0\0\0{\0\0" "\0q\0\0\0S\0\0\0*\0\0\0\16\0\0\0\10\0\0\0\21\0\0\0$ttt\305\177\177\177" "\377\265\265\265\377\274\274\274\377\177\177\177\377---\331\0\0\0J\0" "\0\0\34\0\0\0""4\0\0\0E\0\0\0""8\0\0\0\33\0\0\0\10\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\1zzz\204444\316333\377+++\257\0\0\0<\0\0\0\32\0" "\0\0\21\0\0\0\31\0\0\0/\0\0\0G\0\0\0O\0\0\0A\0\0\0(==\377\377kk\377\377" "kk\377\377==\377\377\0\0\377\377\0\0\377\377\0\0\377\377\0\0\377\377" "\0\0\377\377\0\0\0{\0\0\0q\0\0\0S\0\0\0*\0\0\0\14\0\0\0\3\0\0\0\5\0\0" "\0\21\0\0\0%ddd\240@@@\315III\377&&&\266\0\0\0U\0\0\0\21\0\0\0\31\0\0" "\0""2\0\0\0I\0\0\0A\0\0\0\"\0\0\0\12\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\1\0\0\0\12\0\0\0\"\0\0\0B\0\0\0L\0\0\0:\0\0\0%\0\0\0!\0\0\0-\0" "\0\0>\0\0\0F\0\0\0<\0\0\0'\0\0\0\23==\377\377kk\377\377kk\377\377==\377" "\377\0\0\377\377\0\0\377\377\0\0\377\377\0\0\242\377\0\0\212\377\0\0" "\0{\0\0\0q\0\0\0S\0\0\0*\0\0\0\14\0\0\0\2\0\0\0\1\0\0\0\5\0\0\0\22\0" "\0\0'\0\0\0@\0\0\0N\0\0\0H\0\0\0""3\0\0\0$\0\0\0)\0\0\0>\0\0\0O\0\0\0" "C\0\0\0\"\0\0\0\12\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\1\0\0\0\7\0" "\0\0\32\0\0\0""6\0\0\0H\0\0\0F\0\0\0<\0\0\0;\0\0\0C\0\0\0F\0\0\0;\0\0" "\0&\0\0\0\23\0\0\0\7==\377\377kk\377\377kk\377\377==\254\377\0\0\212" "\377\0\0\242\377\0\0o\377\0\0\212\377\0\0\212\377\0\0\0{\0\0\0r\0\0\0" "V\0\0\0.\0\0\0\17\0\0\0\3\0\0\0\0\0\0\0\1\0\0\0\6\0\0\0\22\0\0\0'\0\0" "\0=\0\0\0J\0\0\0G\0\0\0@\0\0\0D\0\0\0O\0\0\0P\0\0\0;\0\0\0\34\0\0\0\10" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\3\0\0\0\17\0\0\0#\0\0" "\0""9\0\0\0F\0\0\0J\0\0\0K\0\0\0H\0\0\0;\0\0\0'\0\0\0\23\0\0\0\7\0\0" "\0\1\0\0\242\377\0\0\212\377\0\0\212\377\0\0\212\377\0\0\212\377\0\0" "\212\377\0\0\212\377\0\0\212\377\0\0\223\377\0\0\0|\0\0\0t\0\0\0]\0\0" "\0""7\0\0\0\26\0\0\0\5\0\0\0\0\0\0\0\0\0\0\0\1\0\0\0\6\0\0\0\22\0\0\0" "%\0\0\0:\0\0\0H\0\0\0M\0\0\0Q\0\0\0P\0\0\0C\0\0\0+\0\0\0\22\0\0\0\4\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\1\0\0\0\5\0\0\0\20\0\0\0" "!\0\0\0""2\0\0\0<\0\0\0>\0\0\0""4\0\0\0$\0\0\0\23\0\0\0\7\0\0\0\1\0\0" "\0\0\0\0\0\0\0\0\0\1\0\0\0\13\0\0\0&\0\0\0O\0\0\0m\0\0\0z\0\0\0}\0\0" "\0}\0\0\0|\0\0\0x\0\0\0g\0\0\0E\0\0\0\37\0\0\0\10\0\0\0\1\0\0\0\0\0\0" "\0\0\0\0\0\1\0\0\0\6\0\0\0\21\0\0\0!\0\0\0""2\0\0\0=\0\0\0@\0\0\0:\0" "\0\0*\0\0\0\27\0\0\0\10\0\0\0\2\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\1\0\0\0\5\0\0\0\14\0\0\0\26\0\0\0\35\0\0\0\36\0\0\0" "\31\0\0\0\16\0\0\0\6\0\0\0\1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\1\0\0\0\13" "\0\0\0(\0\0\0Q\0\0\0n\0\0\0y\0\0\0{\0\0\0{\0\0\0{\0\0\0x\0\0\0l\0\0\0" "N\0\0\0&\0\0\0\13\0\0\0\1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\1\0\0\0\5\0\0" "\0\14\0\0\0\26\0\0\0\35\0\0\0\37\0\0\0\32\0\0\0\21\0\0\0\10\0\0\0\2\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\2\0\0\0\6\0\0\0\10\0\0\0\10\0\0\0\6\0\0\0\3\0\0\0\1\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\1\0\0\0\13\0\0\0%\0\0\0K\0\0\0e\0\0\0" "o\0\0\0p\0\0\0p\0\0\0p\0\0\0o\0\0\0e\0\0\0K\0\0\0%\0\0\0\13\0\0\0\1\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\2\0\0\0\5\0\0\0\10\0\0\0" "\11\0\0\0\7\0\0\0\4\0\0\0\1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\1\0\0\0" "\1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\1\0" "\0\0\10\0\0\0\33\0\0\0""7\0\0\0K\0\0\0R\0\0\0S\0\0\0S\0\0\0S\0\0\0R\0" "\0\0K\0\0\0""7\0\0\0\33\0\0\0\10\0\0\0\1\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\1\0\0\0\1\0\0\0\1\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\4\0\0\0\16\0\0\0\33\0" "\0\0%\0\0\0)\0\0\0)\0\0\0*\0\0\0*\0\0\0)\0\0\0%\0\0\0\33\0\0\0\16\0\0" "\0\4\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\1\0\0\0\4\0\0\0\10\0\0\0\13\0\0\0\14\0\0\0\14\0\0" "\0\14\0\0\0\14\0\0\0\14\0\0\0\13\0\0\0\10\0\0\0\4\0\0\0\1\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\1\0\0\0\1\0\0\0\1\0\0\0\1\0\0\0\2\0\0\0\2\0\0\0\1" "\0\0\0\1\0\0\0\1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"}; passepartout-0.7.1/src/pptout/icons/logo.h000066400000000000000000005043711140125232500206240ustar00rootroot00000000000000/* GdkPixbuf RGBA C-Source image dump */ static const guint8 logo[] = { "" /* Pixbuf magic (0x47646b50) */ "GdkP" /* length: header (24) + pixel_data (69600) */ "\0\1\17\370" /* pixdata_type (0x1010002) */ "\1\1\0\2" /* rowstride (600) */ "\0\0\2X" /* width (150) */ "\0\0\0\226" /* height (116) */ "\0\0\0t" /* pixel_data: */ "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\265\265\265\10\211" "\211\211>}}}A\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0UUU\27RRR1WWW\12" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\314\314\314\0\312\312\312\13\311\311\311H\253\253\253\270\205\205\205" "\325{{{F\0\0\0\3\0\0\0\3\0\0\0\3\0\0\0\2\0\0\0\1\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0UUU\"OOO\313OOO\240Q" "QQ1===\7\2\2\2\3\0\0\0\2\0\0\0\2\0\0\0\1\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\314\314\314\0\313\313\313" "\4\313\313\3130\313\313\313\241\266\266\266\360\210\210\210\367{{{y6" "66\13\0\0\0\10\0\0\0\10\0\0\0\7\0\0\0\5\0\0\0\2\0\0\0\1\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0RRRYMMM\356MMM" "\362OOO\212HHH\40\0\0\0\7\0\0\0\5\0\0\0\4\0\0\0\2\0\0\0\1\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\314\314\314\16\313\313\313" "\177\314\314\314\350\267\267\267\377\206\206\206\376{{{\225CCC\26\0\0" "\0\16\0\0\0\20\0\0\0\20\0\0\0\15\0\0\0\11\0\0\0\5\0\0\0\2\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0DDD\5PPPsMMM" "\366LLL\375MMM\331KKKi***\27\0\0\0\12\0\0\0\6\0\0\0\4\0\0\0\2\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\314\314\314\12\314\314\314S\314\314\314\314" "\313\313\313\374\261\261\261\377\207\207\207\373zzz\245777\34\0\0\0\26" "\0\0\0\32\0\0\0\33\0\0\0\31\0\0\0\23\0\0\0\14\0\0\0\6\0\0\0\3\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\2" "\77\77\77\20NNN\206LLL\372LLL\377LLL\364LLL\260\77\77\77=\25\25\25\22" "\0\0\0\12\0\0\0\5\0\0\0\3\0\0\0\1\0\0\0\1\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\313\313\313\2\314\314\314*\314\314\314" "\242\314\314\314\356\312\312\312\377\255\255\255\377\206\206\206\373" "yyy\261@@@)\0\0\0\35\0\0\0#\0\0\0&\0\0\0%\0\0\0\37\0\0\0\26\0\0\0\16" "\0\0\0\7\0\0\0\3\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\2\0\0\0\6&&&\22LLL\241LLL\372LLL\377LLL\377LL" "L\343III~)))\40\1\1\1\15\0\0\0\10\0\0\0\5\0\0\0\2\0\0\0\1\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\314\314\314\0\314\314\314\11\314\314\314\\\314" "\314\314\333\314\314\314\376\311\311\311\377\253\253\253\377\201\201" "\201\376yyy\267AAA4\0\0\0#\0\0\0+\0\0\0/\0\0\0""0\0\0\0*\0\0\0!\0\0\0" "\26\0\0\0\15\0\0\0\6\0\0\0\2\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\2\0\0\0\5\0\0\0\13\40\40\40\35III" "\240LLL\373LLL\377LLL\377LLL\376LLL\321CCCU\22\22\22\25\0\0\0\13\0\0" "\0\7\0\0\0\4\0\0\0\2\0\0\0\1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\314\314\314\0\314\314\3140\314" "\314\314\257\314\314\314\373\314\314\314\377\307\307\307\377\241\241" "\241\377\177\177\177\376vvv\261///5\0\0\0,\0\0\0""4\0\0\0""8\0\0\0""8" "\0\0\0""3\0\0\0)\0\0\0\35\0\0\0\22\0\0\0\12\0\0\0\4\0\0\0\1\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\1\0" "\0\0\4\0\0\0\10\0\0\0\21###*GGG\232LLL\371LLL\377LLL\377LLL\377LLL\360" "JJJ\2337774\2\2\2\17\0\0\0\11\0\0\0\5\0\0\0\3\0\0\0\1\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\314\314\314\0\314\314\314\22" "\314\314\314n\314\314\314\343\314\314\314\375\314\314\314\377\305\305" "\305\377\232\232\232\377\200\200\200\372uuu\264%%%8\1\1\1""3\0\0\0;\0" "\0\0\77\0\0\0>\0\0\0""9\0\0\0/\0\0\0\"\0\0\0\26\0\0\0\15\0\0\0\6\0\0" "\0\2\0\0\0\1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\2\0\0\0\5\0\0\0\14\0\0\0\24\34\34\34+GGG\234" "LLL\370LLL\377LLL\377LLL\377LLL\374LLL\316DDD_\27\27\27\31\1\1\1\14\0" "\0\0\7\0\0\0\4\0\0\0\2\0\0\0\1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\314\314\314\0" "\314\314\314\4\314\314\3146\314\314\314\256\314\314\314\370\314\314\314" "\377\314\314\314\377\302\302\302\377\226\226\226\377\177\177\177\372" "sss\262***B\0\0\0:\0\0\0A\0\0\0E\0\0\0D\0\0\0=\0\0\0""2\0\0\0&\0\0\0" "\31\0\0\0\17\0\0\0\7\0\0\0\3\0\0\0\1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\3" "\0\0\0\7\0\0\0\15\0\0\0\27\15\15\15(EEE\235LLL\370LLL\377LLL\377LLL\377" "LLL\377LLL\367III\230...,\0\0\0\17\0\0\0\11\0\0\0\5\0\0\0\3\0\0\0\1\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\314\314\314\6\314\314\314q\314\314\314\345\314\314\314" "\377\314\314\314\377\314\314\314\377\275\275\275\377\220\220\220\377" "~~~\376ooo\251!!!F\0\0\0@\0\0\0H\0\0\0J\0\0\0H\0\0\0A\0\0\0""4\0\0\0" "'\0\0\0\33\0\0\0\20\0\0\0\10\0\0\0\4\0\0\0\1\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\1\0\0\0\3\0\0\0\7\0\0\0\16\0\0\0\30\14\14\14*CCC\212L" "LL\363LLL\377LLL\377LLL\377LLL\377LLL\376LLL\331DDDi\24\24\24\31\0\0" "\0\15\0\0\0\10\0\0\0\4\0\0\0\2\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\314\314\314\2\314\314\3143\314\314\314\264\314" "\314\314\374\314\314\314\377\314\314\314\377\314\314\314\377\263\263" "\263\377\210\210\210\377}}}\371hhh\235\23\23\23F\0\0\0G\0\0\0M\0\0\0" "O\0\0\0K\0\0\0B\0\0\0""6\0\0\0(\0\0\0\33\0\0\0\20\0\0\0\10\0\0\0\4\0" "\0\0\1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\1\0\0\0" "\3\0\0\0\10\0\0\0\17\0\0\0\31\20\20\20,\77\77\77\177LLL\360LLL\377LL" "L\377LLL\377LLL\377LLL\377LLL\361JJJ\2424445\10\10\10\22\0\0\0\12\0\0" "\0\5\0\0\0\3\0\0\0\1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\314\314\314\0\314\314" "\314\16\314\314\314l\314\314\314\333\314\314\314\376\314\314\314\377" "\314\314\314\377\311\311\311\377\256\256\256\377\205\205\205\377|||\363" "ddd\235\20\20\20K\0\0\0L\0\0\0Q\0\0\0R\0\0\0M\0\0\0C\0\0\0""6\0\0\0(" "\0\0\0\33\0\0\0\20\0\0\0\11\0\0\0\4\0\0\0\2\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\1\0\0\0\3\0\0\0\10\0\0\0" "\20\0\0\0\32\6\6\6(<<>>\177\2\2\2[\0\0\0^\0" "\0\0^\0\0\0Y\0\0\0P\0\0\0B\0\0\0""4\0\0\0%\0\0\0\31\0\0\0\16\0\0\0\7" "\0\0\0\3\0\0\0\1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\1\0\0\0\3\0\0\0\6\0\0\0\14\0\0\0\25\0" "\0\0\"\35\35\35AFFF\264LLL\376LLL\377LLL\377LLL\377LLL\377LLL\377LLL" "\377LLL\377LLL\371HHH\2400003\0\0\0\21\0\0\0\12\0\0\0\6\0\0\0\3\0\0\0" "\1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\376" "\0\0d\377\10\10\370\377\235\235\377\350hh\377\316\1\1\377\360\0\0\377" "\354\0\0\377\314\0\0\377\314\0\0\377\316\0\0\373\251\0\0\222\2\0\0@\0" "\0\0""3\0\0\0$\0\0\0\25\0\0\0\12\0\0\0\4\0\0\0\1\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\314\314\314\3\314\314\314;\314\314\314\317\314\314\314\376\314\314" "\314\377\314\314\314\377\314\314\314\377\314\314\314\377\311\311\311" "\377\247\247\247\377\201\201\201\377~~~\376ttt\336(((q\0\0\0^\0\0\0a" "\0\0\0_\0\0\0X\0\0\0N\0\0\0A\0\0\0""2\0\0\0#\0\0\0\27\0\0\0\15\0\0\0" "\6\0\0\0\3\0\0\0\1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\1\0\0\0\2\0\0\0\6\0" "\0\0\14\0\0\0\25\1\1\1!\33\33\33=EEE\251LLL\371LLL\377LLL\377LLL\377" "LLL\377LLL\377LLL\377LLL\377LLL\373KKK\322@@@_\25\25\25\32\0\0\0\15\0" "\0\0\10\0\0\0\4\0\0\0\2\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\376\0\0\206\377\16\16\375\376\262\262\377\343^^\377\316\0" "\0\377\357\0\0\377\357\0\0\377\314\0\0\377\314\0\0\377\316\0\0\376\274" "\0\0\274\7\0\0O\0\0\0@\0\0\0-\0\0\0\33\0\0\0\16\0\0\0\6\0\0\0\2\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\314\314\314\25\314\314\314w\314\314\314\345\314\314\314\377" "\314\314\314\377\314\314\314\377\314\314\314\377\314\314\314\377\304" "\304\304\377\240\240\240\377\201\201\201\377}}}\374nnn\317***v\0\0\0" "a\0\0\0a\0\0\0_\0\0\0X\0\0\0M\0\0\0@\0\0\0""1\0\0\0\"\0\0\0\26\0\0\0" "\15\0\0\0\7\0\0\0\3\0\0\0\1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\1\0\0\0\2\0\0\0\5\0\0\0\14\0\0\0\24\0\0\0\40\23\23\23""6CCC\241" "LLL\364LLL\377LLL\377LLL\377LLL\377LLL\377LLL\377LLL\377LLL\377LLL\357" "GGG\221---.\4\4\4\21\0\0\0\12\0\0\0\5\0\0\0\3\0\0\0\1\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\376\0\0\253\377\30\30\377\376\303\303\377\337" "PP\377\315\0\0\377\357\0\0\377\363\0\0\377\314\0\0\377\314\0\0\377\315" "\0\0\377\314\0\0\340\21\0\0[\0\0\0I\0\0\0""5\0\0\0!\0\0\0\21\0\0\0\7" "\0\0\0\2\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\313\313\313\2\313\313\313+\314\314\314\257\314\314\314\367\314" "\314\314\377\314\314\314\377\314\314\314\377\314\314\314\377\314\314" "\314\377\301\301\301\377\227\227\227\377\177\177\177\377}}}\374iii\305" "\"\"\"r\0\0\0b\0\0\0c\0\0\0_\0\0\0X\0\0\0M\0\0\0\77\0\0\0""0\0\0\0\"" "\0\0\0\25\0\0\0\14\0\0\0\6\0\0\0\3\0\0\0\1\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\1\0\0\0\2\0\0\0\5\0\0\0\12\0\0\0" "\23\0\0\0\36\12\12\12""1>>>\207LLL\361LLL\377LLL\377LLL\377LLL\377LL" "L\377LLL\377LLL\377LLL\377LLL\376KKK\316>>>X\2\2\2\24\0\0\0\14\0\0\0" "\7\0\0\0\4\0\0\0\2\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\315\0\0\3\377\0\0\321\377" "$$\377\375\321\321\377\33399\377\315\0\0\377\357\0\0\377\366\0\0\377" "\314\0\0\377\314\0\0\377\314\0\0\377\323\0\0\367@\0\0o\0\0\0P\0\0\0<" "\0\0\0&\0\0\0\24\0\0\0\11\0\0\0\3\0\0\0\1\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\313\313\313\10\314\314\314]\314\314\314\341" "\314\314\314\377\314\314\314\377\314\314\314\377\314\314\314\377\314" "\314\314\377\314\314\314\377\275\275\275\377\215\215\215\377~~~\377}" "}}\374aaa\270\20\20\20j\0\0\0d\0\0\0d\0\0\0_\0\0\0W\0\0\0L\0\0\0>\0\0" "\0.\0\0\0\40\0\0\0\25\0\0\0\13\0\0\0\6\0\0\0\3\0\0\0\1\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\2\0\0\0\5\0\0\0\12\0\0\0\22\0\0\0\35\10\10\10,666nKKK\347LLL\377" "LLL\377LLL\377LLL\377LLL\377LLL\377LLL\377LLL\377LLL\376LLL\363GGG\225" ",,,.\0\0\0\20\0\0\0\12\0\0\0\5\0\0\0\3\0\0\0\1\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\370\0\0\24\377" "\0\0\351\37733\377\375\335\335\377\327''\377\315\0\0\377\357\0\0\377" "\370\0\0\377\316\0\0\377\314\0\0\377\314\0\0\377\320\0\0\377\177\0\0" "\217\0\0\0T\0\0\0A\0\0\0+\0\0\0\30\0\0\0\13\0\0\0\4\0\0\0\1\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\314\314\314'\314\314\314\242\314\314" "\314\366\314\314\314\377\314\314\314\377\314\314\314\377\314\314\314" "\377\314\314\314\377\312\312\312\377\261\261\261\377\207\207\207\377" "~~~\377zzz\364WWW\253\11\11\11h\0\0\0e\0\0\0d\0\0\0_\0\0\0V\0\0\0J\0" "\0\0<\0\0\0-\0\0\0\36\0\0\0\23\0\0\0\13\0\0\0\6\0\0\0\3\0\0\0\1\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\1\0\0\0\2\0\0\0\4\0\0\0\11\0\0\0\21\0\0\0\34\4\4" "\4*111dJJJ\331LLL\376LLL\377LLL\377LLL\377LLL\377LLL\377LLL\377LLL\377" "LLL\377LLL\373JJJ\304===U\22\22\22\30\0\0\0\14\0\0\0\7\0\0\0\4\0\0\0" "\2\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\373\0\0,\377\0\0\370\377GG\377\374\342\342\377\323\36\36\377\315\0" "\0\377\357\0\0\377\372\0\0\377\317\0\0\377\314\0\0\377\314\0\0\377\314" "\0\0\377\250\0\0\260\10\0\0Y\0\0\0F\0\0\0""0\0\0\0\34\0\0\0\16\0\0\0" "\5\0\0\0\1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\314\314\314\11\314\314\314M\314" "\314\314\321\314\314\314\374\314\314\314\377\314\314\314\377\314\314" "\314\377\314\314\314\377\314\314\314\377\307\307\307\377\246\246\246" "\377\205\205\205\377~~~\377yyy\357NNN\240\12\12\12j\0\0\0f\0\0\0d\0\0" "\0^\0\0\0U\0\0\0H\0\0\0:\0\0\0+\0\0\0\36\0\0\0\22\0\0\0\12\0\0\0\5\0" "\0\0\2\0\0\0\1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\2\0" "\0\0\4\0\0\0\11\0\0\0\20\0\0\0\32\0\0\0',,,XIII\315LLL\376LLL\377LLL" "\377LLL\377LLL\377LLL\377LLL\377LLL\377LLL\377LLL\377KKK\352FFF\210\31" "\31\31\37\2\2\2\17\0\0\0\11\0\0\0\5\0\0\0\2\0\0\0\1\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0#\0\0\0\374\0\0O\377\0\0\374\377\\\\\377\371" "\335\335\377\320\24\24\377\315\0\0\377\357\0\0\377\374\0\0\377\321\0" "\0\377\314\0\0\377\314\0\0\377\314\0\0\377\275\0\0\315\37\0\0c\0\0\0" "K\0\0\0""4\0\0\0\37\0\0\0\20\0\0\0\7\0\0\0\2\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\313\313\313" "\0\314\314\314\25\314\314\314\203\314\314\314\356\314\314\314\377\314" "\314\314\377\314\314\314\377\314\314\314\377\314\314\314\377\314\314" "\314\377\307\307\307\377\233\233\233\377\200\200\200\377~~~\377yyy\360" "AAA\222\5\5\5i\0\0\0f\0\0\0d\0\0\0]\0\0\0T\0\0\0H\0\0\0""8\0\0\0*\0\0" "\0\35\0\0\0\22\0\0\0\12\0\0\0\5\0\0\0\2\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\1\0\0\0\4\0\0\0\10\0\0\0" "\16\0\0\0\30\0\0\0%\34\34\34DFFF\267LLL\376LLL\377LLL\377LLL\377LLL\377" "LLL\377LLL\377LLL\377LLL\377LLL\377LLL\376JJJ\303:::K\6\6\6\25\0\0\0" "\14\0\0\0\7\0\0\0\4\0\0\0\2\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\352\0" "\0\2\376\0\0v\377\0\0\376\377ww\377\366\317\317\377\316\7\7\377\315\0" "\0\377\357\0\0\377\376\0\0\377\323\0\0\377\314\0\0\377\314\0\0\377\314" "\0\0\377\312\0\0\350\77\0\0p\0\0\0O\0\0\0:\0\0\0$\0\0\0\23\0\0\0\10\0" "\0\0\3\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\313\313\313\1\314\314\314\77\314\314\314\307\314\314\314\375" "\314\314\314\377\314\314\314\377\314\314\314\377\314\314\314\377\314" "\314\314\377\314\314\314\377\275\275\275\377\221\221\221\377~~~\377~" "~~\377sss\342222\206\1\1\1h\0\0\0g\0\0\0c\0\0\0\\\0\0\0Q\0\0\0E\0\0\0" "6\0\0\0'\0\0\0\33\0\0\0\20\0\0\0\11\0\0\0\4\0\0\0\2\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\1\0\0\0\3\0\0\0\7\0\0\0\16\0\0\0\27\1\1\1#\25\25\25;DDD\250LLL\366" "LLL\377LLL\377LLL\377LLL\377LLL\377LLL\377LLL\377LLL\377LLL\377LLL\376" "KKK\344EEE\203###$\1\1\1\17\0\0\0\11\0\0\0\5\0\0\0\2\0\0\0\1\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\371\0\0\6\376\0\0\227\377\0\0\377\377\224\224\377\363\301" "\301\377\314\1\1\377\315\0\0\377\357\0\0\377\376\0\0\377\326\0\0\377" "\314\0\0\377\314\0\0\377\314\0\0\377\317\0\0\367k\0\0\205\0\0\0S\0\0" "\0\77\0\0\0)\0\0\0\27\0\0\0\12\0\0\0\3\0\0\0\1\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\314\314\314\0\314\314\314\24\314\314\314t" "\314\314\314\351\314\314\314\376\314\314\314\377\314\314\314\377\314" "\314\314\377\314\314\314\377\314\314\314\377\313\313\313\377\262\262" "\262\377\212\212\212\377~~~\377~~~\376mmm\324,,,\203\1\1\1h\0\0\0g\0" "\0\0b\0\0\0[\0\0\0P\0\0\0B\0\0\0""4\0\0\0&\0\0\0\31\0\0\0\17\0\0\0\10" "\0\0\0\4\0\0\0\2\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\1\0\0\0\3\0\0" "\0\7\0\0\0\15\0\0\0\25\0\0\0!\22\22\22""8AAA\226LLL\361LLL\377LLL\377" "LLL\377LLL\377LLL\377LLL\377LLL\377LLL\377LLL\377LLL\377LLL\367III\263" "555>\14\14\14\25\0\0\0\13\0\0\0\6\0\0\0\3\0\0\0\1\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\374\0\0" "\14\376\0\0\255\376\2\2\361\375\245\245\365\356\254\254\376\321\20\20" "\377\322\21\21\377\351\17\17\377\364\17\17\377\330\20\20\377\321\24\24" "\377\324\31\31\374\315\11\11\354\312\0\0\341~\0\0\220\0\0\0V\0\0\0C\0" "\0\0-\0\0\0\32\0\0\0\14\0\0\0\5\0\0\0\1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\314\314\314\2\314\314\3141\314\314\314\253\314\314\314\367" "\314\314\314\377\314\314\314\377\314\314\314\377\314\314\314\377\314" "\314\314\377\314\314\314\377\310\310\310\377\251\251\251\377\205\205" "\205\377~~~\377}}}\375iii\315\"\"\"|\0\0\0i\0\0\0g\0\0\0b\0\0\0Y\0\0" "\0O\0\0\0A\0\0\0""2\0\0\0$\0\0\0\30\0\0\0\16\0\0\0\10\0\0\0\4\0\0\0\2" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\1\0\0\0\3\0\0" "\0\6\0\0\0\13\0\0\0\24\0\0\0\40\12\12\12""2;;;\177LLL\361LLL\377LLL\377" "LLL\377LLL\377LLL\377LLL\377LLL\377LLL\377LLL\377LLL\377LLL\377KKK\337" "CCCp\22\22\22\33\0\0\0\16\0\0\0\10\0\0\0\4\0\0\0\2\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\346\0\0\6\364" "\0\0:\344\24\24O\326\230\230\264\326\262\262\374\323\250\250\377\317" "\252\252\377\260\220\220\377\243\211\211\377\240\215\215\377\242\223" "\223\377\271\254\254\374\255\237\237\321@--\200\12\1\1f\0\0\0X\0\0\0" "F\0\0\0""0\0\0\0\35\0\0\0\16\0\0\0\5\0\0\0\1\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\313\313\313\5\314\314\314[\314\314\314\337\314\314\314\376\314" "\314\314\377\314\314\314\377\314\314\314\377\314\314\314\377\314\314" "\314\377\314\314\314\377\306\306\306\377\237\237\237\377\200\200\200" "\377~~~\377}}}\373eee\306\20\20\20r\0\0\0i\0\0\0g\0\0\0a\0\0\0X\0\0\0" "M\0\0\0@\0\0\0""0\0\0\0\"\0\0\0\26\0\0\0\15\0\0\0\7\0\0\0\3\0\0\0\1\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\2\0\0\0\5\0\0\0\12\0\0\0\22\0\0\0\35\4\4\4+222gJJJ\341LLL\376" "LLL\377LLL\377LLL\377LLL\377LLL\377LLL\377LLL\377LLL\377LLL\377LLL\377" "LLL\370JJJ\2633339\5\5\5\23\0\0\0\13\0\0\0\6\0\0\0\3\0\0\0\1\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\1\244\244\244" "\17\307\307\307\231\314\314\314\367\314\314\314\377\314\314\314\377\312" "\312\312\377\251\251\251\377\231\231\231\377\231\231\231\377\231\231" "\231\377\234\234\234\377\267\267\267\377\276\276\276\352{{{\235\26\26" "\26`\0\0\0H\0\0\0""2\0\0\0\37\0\0\0\20\0\0\0\6\0\0\0\2\0\0\0\0\0\0\0" "\0\314\314\314\0\313\313\313\"\314\314\314\233\314\314\314\370\314\314" "\314\377\314\314\314\377\314\314\314\377\314\314\314\377\314\314\314" "\377\314\314\314\377\314\314\314\377\275\275\275\377\222\222\222\377" "\177\177\177\377~~~\377zzz\365VVV\260\12\12\12o\0\0\0i\0\0\0f\0\0\0`" "\0\0\0W\0\0\0J\0\0\0<\0\0\0.\0\0\0\40\0\0\0\24\0\0\0\14\0\0\0\6\0\0\0" "\3\0\0\0\1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\2\0\0\0\4\0\0\0\12\0\0\0\21\0\0" "\0\33\2\2\2)..._III\315LLL\375LLL\377LLL\377LLL\377LLL\377LLL\377LLL" "\377LLL\377LLL\377LLL\377LLL\377LLL\375KKK\326BBBh\35\35\35\37\0\0\0" "\16\0\0\0\10\0\0\0\4\0\0\0\2\0\0\0\1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\322\322\322\0\306\306\306\31\312\312\312\230\314\314\314\371\314\314" "\314\377\314\314\314\377\314\314\314\377\314\314\314\377\254\254\254" "\377\231\231\231\377\231\231\231\377\231\231\231\377\231\231\231\377" "\234\234\234\377\270\270\270\377\305\305\305\365\250\250\250\277KKKb" "\6\6\6""5\0\0\0!\0\0\0\22\0\0\0\7\0\0\0\3\0\0\0\1\307\307\307\5\313\313" "\313L\314\314\314\307\314\314\314\373\314\314\314\377\314\314\314\377" "\314\314\314\377\314\314\314\377\314\314\314\377\314\314\314\377\312" "\312\312\377\266\266\266\377\212\212\212\377\177\177\177\377~~~\377x" "xx\360JJJ\241\13\13\13o\0\0\0i\0\0\0e\0\0\0_\0\0\0V\0\0\0I\0\0\0;\0\0" "\0,\0\0\0\37\0\0\0\23\0\0\0\13\0\0\0\6\0\0\0\3\0\0\0\1\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\2\0\0\0\4\0\0\0\11\0\0\0\20\0\0\0\32\0\0" "\0'&&&OGGG\276LLL\375LLL\377LLL\377LLL\377LLL\377LLL\377LLL\377LLL\377" "LLL\377LLL\377LLL\377LLL\377LLL\361HHH\235---0\3\3\3\21\0\0\0\12\0\0" "\0\6\0\0\0\3\0\0\0\1\0\0\0\0\0\0\0\0\313\313\313\0\314\314\314\34\314" "\314\314\242\314\314\314\373\314\314\314\377\314\314\314\377\314\314" "\314\377\314\314\314\377\314\314\314\377\260\260\260\377\231\231\231" "\377\231\231\231\377\231\231\231\377\231\231\231\377\231\231\231\377" "\235\235\235\377\270\270\270\377\312\312\312\376\276\276\300\335\203" "\203\213s\31\31,,\0\0\1\26\0\0\0\13\17\17\17\6\264\264\264\22\313\313" "\313v\314\314\314\354\314\314\314\377\314\314\314\377\314\314\314\377" "\314\314\314\377\314\314\314\377\314\314\314\377\314\314\314\377\311" "\311\311\377\254\254\254\377\205\205\205\377~~~\377~~~\376vvv\353>>>" "\226\4\4\4m\0\0\0i\0\0\0e\0\0\0]\0\0\0T\0\0\0H\0\0\0:\0\0\0*\0\0\0\35" "\0\0\0\23\0\0\0\12\0\0\0\5\0\0\0\2\0\0\0\1\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\1\0\0\0\4\0\0\0\7\0\0\0\16\0\0\0\30" "\0\0\0$\21\21\21:DDD\252LLL\371LLL\377LLL\377LLL\377LLL\377LLL\377LL" "L\377LLL\377LLL\377LLL\377LLL\377LLL\377LLL\376LLL\330\77\77\77X\17\17" "\17\30\0\0\0\15\0\0\0\10\0\0\0\4\0\0\0\2""222\1\314\314\314\"\314\314" "\314\273\314\314\314\375\314\314\314\377\314\314\314\377\314\314\314" "\377\314\314\314\377\314\314\314\377\314\314\314\377\265\265\265\377" "\225\225\234\377\217\217\242\377\215\215\247\377\213\213\252\377yy\260" "\377ll\267\377ee\301\377nn\332\377gg\345\377SS\350\367\"\"\330\237\11" "\11\40#\2\2\2\23\254\254\254:\312\312\312\266\314\314\314\375\314\314" "\314\377\314\314\314\377\314\314\314\377\314\314\314\377\314\314\314" "\377\314\314\314\377\314\314\314\377\306\306\306\377\236\236\236\377" "\200\200\200\377~~~\377~~~\377ppp\335...\211\0\0\0k\0\0\0h\0\0\0c\0\0" "\0]\0\0\0R\0\0\0E\0\0\0""7\0\0\0)\0\0\0\33\0\0\0\20\0\0\0\11\0\0\0\5" "\0\0\0\2\0\0\0\1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\1\0\0\0\3\0\0\0\7\0\0\0\15\0\0\0\26\0\0\0!\16" "\16\16""6>>>\217KKK\356LLL\377LLL\377LLL\377LLL\377LLL\377LLL\377LLL" "\377LLL\377LLL\377LLL\377LLL\377LLL\377LLL\360HHH\226///1\0\0\0\21\0" "\0\0\12\2\2\2\6\235\235\310\40\257\257\332\307\262\262\331\373\262\262" "\332\377\251\251\336\377\237\237\343\376\243\243\346\376\236\236\350" "\377\217\217\355\377\205\205\362\377~~\361\377||\356\377}}\362\377{{" "\366\377rr\370\377\33\33\372\377\6\6\373\377\4\4\374\377\3\3\376\377" "\2\2\376\377\1\1\377\377\1\1\360\321\37\37R\77\255\255\255y\311\311\311" "\341\314\314\314\375\314\314\314\377\314\314\314\377\314\314\314\377" "\314\314\314\377\314\314\314\377\314\314\314\377\314\314\314\377\300" "\300\300\377\223\223\223\377\200\200\200\377~~~\377}}}\376ggg\315\"\"" "\"\200\1\1\1k\0\0\0h\0\0\0c\0\0\0[\0\0\0P\0\0\0B\0\0\0""4\0\0\0&\0\0" "\0\32\0\0\0\17\0\0\0\10\0\0\0\4\0\0\0\1\0\0\0\1\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\1\0\0\0\3\0\0\0\6\0\0\0\14\0\0\0\24\0\0\0\40\13\13\13""2999{KKK\345" "LLL\377LLL\377LLL\377LLL\377LLL\377LLL\377LLL\377LLL\377LLL\377LLL\377" "LLL\377LLL\377LLL\372KKK\307>>>R\22\22\22\30\1\1\1\15ee\3255}}\373\367" "~~\374\376\200\200\375\377\200\200\376\377\200\200\376\377\263\263\377" "\377\217\217\377\377\177\177\377\377\177\177\377\377\177\177\377\377" "\177\177\377\377\177\177\377\377\177\177\377\377tt\377\377\25\25\377" "\377\0\0\377\377\0\0\377\377\0\0\377\377\0\0\377\377\0\0\377\377\15\15" "\363\351\234\234\272\271\312\312\312\366\314\314\314\377\314\314\314" "\377\314\314\314\377\314\314\314\377\314\314\314\377\314\314\314\377" "\314\314\314\377\313\313\313\377\267\267\267\377\216\216\216\377~~~\377" "~~~\377|||\371ccc\305\27\27\27x\0\0\0j\0\0\0g\0\0\0b\0\0\0Y\0\0\0N\0" "\0\0A\0\0\0""2\0\0\0$\0\0\0\30\0\0\0\17\0\0\0\10\0\0\0\4\0\0\0\1\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\1\0\0\0\3\0\0\0\6\0\0\0\13" "\0\0\0\23\0\0\0\36\4\4\4-///bKKK\343LLL\377LLL\377LLL\377LLL\377LLL\377" "LLL\377LLL\377LLL\377LLL\377LLL\377LLL\377LLL\377LLL\377LLL\354FFF\201" "\40\40\40#55\241'{{\376\356\177\177\377\377\177\177\377\377\177\177\377" "\377\177\177\377\377\305\305\377\377\236\236\377\377\177\177\377\377" "\177\177\377\377\177\177\377\377\177\177\377\377\177\177\377\377\177" "\177\377\377rr\377\377\17\17\377\377\0\0\377\377\0\0\377\377\0\0\377" "\377\0\0\377\377\0\0\377\377\30\30\371\377\256\256\323\377\314\314\314" "\377\314\314\314\377\314\314\314\377\314\314\314\377\314\314\314\377" "\314\314\314\377\314\314\314\377\313\313\313\377\255\255\255\377\206" "\206\206\377~~~\377~~~\377|||\370ZZZ\270\15\15\15r\0\0\0j\0\0\0g\0\0" "\0a\0\0\0X\0\0\0L\0\0\0\77\0\0\0""1\0\0\0\"\0\0\0\26\0\0\0\15\0\0\0\7" "\0\0\0\3\0\0\0\1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\1\0\0\0\2\0\0\0\4\0\0\0\11\0\0\0\21\0\0\0\33\0\0\0'###NHH" "H\304LLL\375LLL\377LLL\377LLL\377LLL\377LLL\377LLL\377LLL\377LLL\377" "LLL\377LLL\377LLL\377LLL\377LLL\375LLL\306@@LVzz\373\343\177\177\377" "\377\177\177\377\377\177\177\377\377\177\177\377\377\263\263\377\377" "\253\253\377\377\177\177\377\377||\372\377yy\363\377vv\355\377ss\347" "\377rr\346\377hh\373\377\11\11\377\377\0\0\377\377\0\0\377\377\0\0\377" "\377\0\0\377\377\0\0\377\377\14\14\374\377\224\224\332\377\314\314\314" "\377\314\314\314\377\314\314\314\377\314\314\314\377\314\314\314\377" "\314\314\314\377\306\306\306\377\237\237\237\377\200\200\200\377~~~\377" "~~~\377xxx\361GGG\240\5\5\5n\0\0\0j\0\0\0f\0\0\0_\0\0\0V\0\0\0I\0\0\0" ";\0\0\0-\0\0\0\40\0\0\0\24\0\0\0\13\0\0\0\6\0\0\0\3\0\0\0\1\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\2\0\0\0\4\0\0\0\11\0\0\0\17\0\0\0\31\1\1\1&\40\40\40HDDD\255" "LLL\371LLL\377LLL\377LLL\377LLL\377LLL\377LLL\377LLL\377LLL\377LLL\377" "LLL\377LLL\377LLL\377LLL\376MMP\351pp\345\366\177\177\377\377\177\177" "\377\377\177\177\377\377jj\325\377\201\201\246\377\236\236\266\377bb" "\204\377ii\207\377pp\213\377ww\216\377\177\177\222\377WWy\377UU\340\377" "\6\6\377\377\0\0\377\377\0\0\377\377\0\0\377\377\0\0\377\377\0\0\377" "\377\4\4\376\377uu\342\377\314\314\314\377\314\314\314\377\314\314\314" "\377\314\314\314\377\314\314\314\377\275\275\275\377\226\226\226\377" "\200\200\200\377~~~\377~~~\376uuu\352;;;\224\5\5\5n\0\0\0i\0\0\0e\0\0" "\0]\0\0\0T\0\0\0H\0\0\0""9\0\0\0*\0\0\0\35\0\0\0\23\0\0\0\13\0\0\0\5" "\0\0\0\2\0\0\0\1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\2\0\0\0\4\0\0\0\10" "\0\0\0\16\0\0\0\30\0\0\0$\25\25\25\0\0\0""0\0\0\0!\0\0\0\26\0\0\0\15\0\0" "\0\7\0\0\0\3\0\0\0\1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\1\0\0\0\2" "\0\0\0\4\0\0\0\11\0\0\0\21\0\0\0\33\0\0\0'\35\35\35HEEE\265LLL\372LL" "L\377LLL\377LLL\377LLL\377LLL\377LLL\377LLL\377LLL\377QQh\377yy\360\377" "\177\177\377\377\177\177\377\377\177\177\377\377\200\200\377\377\246" "\246\377\377LL\355\377dd\207\377\363\363\363\377\363\363\363\377\372" "\372\372\377mm\224\377BB\333\377\177\177\377\377\177\177\377\377{{\377" "\377..\377\377\0\0\377\377\0\0\377\377\0\0\377\377\14\14\370\377zz\221" "\377~~~\377~~~\377~~~\377vvv\356DDD\237\6\6\6o\0\0\0j\0\0\0e\0\0\0_\0" "\0\0V\0\0\0I\0\0\0;\0\0\0.\0\0\0\40\0\0\0\24\0\0\0\14\0\0\0\7\0\0\0\3" "\0\0\0\1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\1\0\0\0\4\0\0\0\10\0\0\0\16\0\0\0\27\0\0\0$\16\16\16""9===\221KKK" "\363LLL\377LLL\377LLL\377LLL\377LLL\377LLL\377LLL\377LLY\377rr\342\377" "\177\177\377\377\177\177\377\377\177\177\377\377\177\177\377\377\200" "\200\377\377\77\77\377\377\13\13\262\377\\\\\207\377\225\225\241\377" "tt\212\377\34\34\252\377BB\374\377\177\177\377\377\177\177\377\377ww" "\377\377##\377\377\0\0\377\377\0\0\377\377\0\0\377\377\11\11\366\377" "rr\212\377~~~\377~~~\376qqq\342+++\210\1\1\1l\0\0\0i\0\0\0d\0\0\0]\0" "\0\0S\0\0\0G\0\0\0""8\0\0\0*\0\0\0\35\0\0\0\23\0\0\0\12\0\0\0\5\0\0\0" "\3\0\0\0\1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\1\0\0\0\4\0\0\0\7\0\0\0\15\0\0\0\26\0\0\0\"\13\13" "\13""4666vJJJ\346LLL\376LLL\377LLL\377LLL\377LLL\377LLL\377LLM\377ll" "\321\377\177\177\377\377\177\177\377\377~~\376\377ww\357\377ss\347\377" "EE\341\377\2\2\327\377\2\2\271\377\25\25\243\377SS\255\377TT\277\377" "gg\345\377\177\177\377\377\177\177\377\377cc\377\377\14\14\377\377\0" "\0\377\377\0\0\377\377\0\0\377\377\14\14\363\377vv\206\377|||\373hhh" "\317\"\"\"\201\1\1\1k\0\0\0h\0\0\0c\0\0\0[\0\0\0Q\0\0\0D\0\0\0""6\0\0" "\0'\0\0\0\33\0\0\0\21\0\0\0\12\0\0\0\5\0\0\0\2\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\1\0\0\0\3\0\0\0\6\0\0\0\14\0\0\0\24\0\0\0\37\2\2\2-000h" "HHH\325LLL\375LLL\377LLL\377LLL\377LLL\377LLL\377ff\305\377\177\177\377" "\377\177\177\377\377zz\365\377NN\202\377tt\215\377zz\227\377yy\235\377" "\205\205\244\377\226\226\252\377\246\246\256\377\212\212\222\377\\\\" "\253\377\177\177\377\377}}\377\37766\377\377\1\1\377\377\0\0\377\377" "\0\0\377\377\0\0\377\377\23\23\353\377zz}\371^^^\300\32\32\32{\0\0\0" "k\0\0\0g\0\0\0a\0\0\0Z\0\0\0O\0\0\0A\0\0\0""4\0\0\0&\0\0\0\31\0\0\0\20" "\0\0\0\11\0\0\0\4\0\0\0\2\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\1\0\0\0\2\0\0\0\5\0\0\0\13\0\0\0\22\0\0\0\34\0\0\0*###QEEE\300" "LLL\376LLL\377LLL\377LLL\377LLL\377cc\264\377\177\177\377\377\177\177" "\377\377zz\366\377kk\213\377\365\365\365\377\377\377\377\377\377\377" "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\317\317\317" "\377``\250\377\177\177\377\377ss\377\377\25\25\377\377\0\0\377\377\0" "\0\377\377\0\0\377\377\0\0\377\377\35\35\334\371QQQ\255\13\13\13r\0\0" "\0j\0\0\0g\0\0\0a\0\0\0X\0\0\0M\0\0\0\77\0\0\0""0\0\0\0#\0\0\0\27\0\0" "\0\16\0\0\0\10\0\0\0\4\0\0\0\2\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\2\0\0\0\5\0\0\0\10\0\0\0\20\0\0" "\0\32\0\0\0&\22\22\22=@@@\240KKK\367LLL\377LLL\377LLL\377dd\273\377\177" "\177\377\377\177\177\377\377}}\373\377PP}\377\205\205\223\377\203\203" "\226\377\243\243\246\377\306\306\307\377ddz\377kkz\377\304\304\304\377" "aa\242\377\177\177\377\377nn\377\377\17\17\377\377\0\0\377\377\0\0\377" "\377\0\0\377\377\0\0\377\377\4\4\306\311\2\2\2n\0\0\0j\0\0\0f\0\0\0`" "\0\0\0V\0\0\0I\0\0\0<\0\0\0-\0\0\0\40\0\0\0\25\0\0\0\14\0\0\0\6\0\0\0" "\3\0\0\0\1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\1\0\0\0\2\0\0\0\4\0\0\0\10\0\0\0\17\0\0\0\30" "\0\0\0#\15\15\15""7;;;\214JJJ\351LLL\377LLQ\377oo\324\377\177\177\377" "\377\213\213\377\377\203\203\377\377qq\342\377oo\334\377nn\335\377kk" "\202\377\271\271\274\377OO\222\377VV\200\377\307\307\307\377aa\234\377" "\177\177\377\377uu\377\377\27\27\377\377\0\0\377\377\0\0\377\377\0\0" "\377\377\0\0\375\375\0\0\254\262\0\0\0k\0\0\0g\0\0\0`\0\0\0V\0\0\0H\0" "\0\0:\0\0\0+\0\0\0\36\0\0\0\23\0\0\0\13\0\0\0\6\0\0\0\3\0\0\0\1\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\1\0\0\0\3\0\0\0\7\0\0\0\15\0\0\0\25" "\0\0\0!\6\6\6""1999yPPP\356SSm\377xx\357\377\177\177\377\377\226\226" "\377\377\217\217\377\377\177\177\377\377\177\177\377\377}}\377\377WW" "\211\377\333\333\333\377\220\220\234\377\250\250\256\377\323\323\323" "\377``\236\377\177\177\377\377}}\377\377..\377\377\0\0\377\377\0\0\377" "\377\0\0\377\377\0\0\373\372\0\0\215\237\0\0\0i\0\0\0c\0\0\0Y\0\0\0K" "\0\0\0:\0\0\0*\0\0\0\35\0\0\0\22\0\0\0\12\0\0\0\5\0\0\0\2\0\0\0\1\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\1\0\0\0\3\0\0\0\6" "\0\0\0\13\0\0\0\23LLLAsss\260\213\213\214\371\214\214\314\377~~\375\377" "\177\177\377\377\216\216\377\377\237\237\377\377\177\177\377\377\177" "\177\377\377\230\230\377\377\77\77\241\377\267\267\275\377\376\376\376" "\377\375\375\375\377\246\246\254\377``\266\377\177\177\377\377\177\177" "\377\377WW\377\377\5\5\377\377\0\0\377\377\0\0\377\377\0\0\366\364\0" "\0k\216\0\0\0g\0\0\0^\0\0\0P\0\0\0>\0\0\0+\0\0\0\34\0\0\0\21\0\0\0\11" "\0\0\0\4\0\0\0\2\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\1\0\0\0\2[[[\22vvvi\210\210\210\336\266\266" "\266\375\335\335\341\377\222\222\372\377\177\177\377\377\177\177\377" "\377\202\202\377\377\241\241\377\377\201\201\377\377\203\203\377\377" "\316\316\377\377\202\202\355\377&&\231\377nn\213\377ccx\377LL\205\377" "ll\331\377\177\177\377\377\177\177\377\377gg\377\377\15\15\377\377\0" "\0\377\377\0\0\377\377\5\5\361\366&&f\242\6\6\6h\0\0\0Y\0\0\0I\0\0\0" "5\0\0\0!\0\0\0\23\0\0\0\12\0\0\0\4\0\0\0\2\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0~~~\3|||.\202\202" "\202\237\235\235\235\363\323\323\323\377\320\320\320\377\230\230\257" "\377}}\372\377\177\177\377\377\177\177\377\377\177\177\377\377\215\215" "\377\377\231\231\377\377\223\223\377\377\305\305\377\377\223\223\377" "\377**\371\377mm\346\377DDu\377rr\205\377AA~\377CC\375\377\77\77\377" "\377&&\377\377\3\3\377\377\0\0\377\377\0\0\377\377\12\12\350\377JJi\363" "SSS\265%%%j\3\3\3F\0\0\0""0\0\0\0\34\0\0\0\17\0\0\0\7\0\0\0\3\0\0\0\1" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0~~~\4~~~`\207\207\207\327\272\272\272\376\345\345\345\377\261\261" "\261\377\205\205\205\377yy\262\377\177\177\377\377\177\177\377\377\177" "\177\377\377\177\177\377\377\207\207\377\377\303\303\377\377\261\261" "\377\377\253\253\377\377ww\377\377//\377\377tt\375\377^^\216\377\341" "\341\341\377NN\211\377\0\0\371\377\0\0\377\377\0\0\377\377\0\0\377\377" "\0\0\377\377\0\0\377\377\13\13\344\377DD^\377aaa\376\234\234\234\330" "YYYy\6\6\6""1\0\0\0\33\0\0\0\17\0\0\0\7\0\0\0\3\0\0\0\1\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0~~~\1~~~*\177\177\177\252\237" "\237\237\374\333\333\333\377\316\316\316\377\215\215\215\377~~~\377}" "}\201\377xx\313\377\177\177\377\377\177\177\377\377\177\177\377\377\177" "\177\377\377\210\210\377\377\276\276\367\377\216\216\321\377]]\264\377" "PP\257\377%%\251\377RR\242\377UUq\377\343\343\343\377XX\214\377\0\0\363" "\377\0\0\377\377\0\0\377\377\0\0\377\377\0\0\377\377\0\0\377\377\13\13" "\345\377DD_\377OOO\377\304\304\304\377\340\340\340\370\232\232\232\260" "CCC<\5\5\5\26\0\0\0\14\0\0\0\6\0\0\0\3\0\0\0\1\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0~~~\1~~~\17~~~&~~~A}}}W}}}_|||[{{{Avvv!\\\\" "\\\11\0\0\0\2\0\0\0\2\0\0\0\1\0\0\0\1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0~~~\0~~~\13~~~_\214\214\214" "\323\272\272\272\375\335\335\335\377\255\255\255\377\205\205\205\377" "~~~\377~~~\377}}\203\377xx\321\377\177\177\377\377\177\177\377\377\177" "\177\377\377\177\177\377\377\200\200\377\377\212\212\332\377\260\260" "\270\377\276\276\303\377\304\304\311\377\311\311\317\377\322\322\325" "\377\335\335\336\377\367\367\367\377bb\216\377\0\0\356\377\0\0\377\377" "\0\0\377\377\0\0\377\377\0\0\377\377\0\0\377\377\10\10\353\377@@h\377" "LLL\377\215\215\215\377\370\370\370\377\360\360\360\375\250\250\250\323" "lllh+++\36\0\0\0\15\0\0\0\7\0\0\0\4\0\0\0\2\0\0\0\1\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\177" "\177\177\0\177\177\177\5\177\177\177\24\177\177\177\"~~~&{{{!xxx\24j" "jj\10\25\25\25\2\0\0\0\1\0\0\0\1\0\0\0\1\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0~~~\0~~~\11~~~*~~~w\201\201\201\265\205\205\205\333\213\213\213\361" "\224\224\224\370\231\231\231\373\231\231\231\371\222\222\222\361\207" "\207\207\322~~~\225rrr6111\12\1\1\1\5\0\0\0\3\0\0\0\2\0\0\0\1\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0~~~\2~~~\34\200\200\200\227" "\232\232\232\360\322\322\322\377\322\322\322\377\224\224\224\377\177" "\177\177\377~~~\377~~~\377~~~\377}}\202\377xx\316\377\177\177\377\377" "\177\177\377\377\177\177\377\377\177\177\377\377\177\177\377\377ee\275" "\377\255\255\261\377\360\360\360\377\356\356\356\377\352\352\353\377" "\343\343\345\377\336\336\337\377\367\367\367\377oo\220\377\5\5\351\377" "\0\0\377\377\0\0\377\377\0\0\377\377\0\0\377\377\0\0\377\377\5\5\363" "\37788z\377LLL\377ccc\377\337\337\337\377\377\377\377\377\357\357\357" "\377\243\243\243\357uuu\236GGG0\11\11\11\21\0\0\0\12\0\0\0\5\0\0\0\2" "\0\0\0\1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\177\177\177\1\177\177\177\22\177\177\177L\177\177\177\226\177\177\177" "\304\177\177\177\327\177\177\177\334\177\177\177\325\177\177\177\301" "}}}\237{{{hrrr*WWW\15\27\27\27\4\0\0\0\3\0\0\0\2\0\0\0\1\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0~~~\3~~~\77~" "~~\243\204\204\204\355\241\241\241\377\304\304\304\377\333\333\333\377" "\344\344\344\377\337\337\337\377\333\333\333\377\333\333\333\377\341" "\341\341\377\340\340\340\377\245\245\245\377}}}\354vvv{\77\77\77\30\0" "\0\0\12\0\0\0\6\0\0\0\4\0\0\0\2\0\0\0\1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0~~" "~\4~~~L\202\202\202\315\262\262\262\376\342\342\342\377\264\264\264\377" "\203\203\203\377~~~\377~~~\377~~~\377~~~\377~~~\377}}\201\377zz\311\377" "\177\177\377\377\177\177\377\377\177\177\377\377\177\177\377\377\177" "\177\377\377ii\320\377RR\177\377]]\214\377XX\215\37755\217\37733\224" "\377GGn\377\330\330\332\377\202\202\224\37711\344\377\1\1\377\377\0\0" "\377\377\0\0\377\377\0\0\377\377\0\0\377\377\2\2\373\377--\225\377LL" "L\377OOO\377\256\256\256\377\377\377\377\377\377\377\377\377\346\346" "\346\377\221\221\221\376{{{\325ccc\\\30\30\30\30\0\0\0\15\0\0\0\7\0\0" "\0\4\0\0\0\2\0\0\0\1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\177\177\177" "\2\177\177\177C\177\177\177\302\177\177\177\371\177\177\177\377\177\177" "\177\377\177\177\177\377\177\177\177\377\177\177\177\377\177\177\177" "\377\177\177\177\377\177\177\177\377~~~\354|||\253uuuRAAA\21\0\0\0\6" "\0\0\0\4\0\0\0\3\0\0\0\1\0\0\0\1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0~~~\4~~~" "9\200\200\200\255\230\230\230\362\301\301\301\376\336\336\336\377\326" "\326\326\377\266\266\266\377\231\231\231\377\212\212\212\377\203\203" "\203\377\202\202\202\377\202\202\202\377\204\204\204\377\221\221\221" "\377\211\211\211\377~~~\377~~~\372vvv\242>>>'\0\0\0\20\0\0\0\12\0\0\0" "\6\0\0\0\3\0\0\0\1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0~~~\1~~~\32\177\177\177\221\224\224\224\356\316" "\316\316\377\325\325\325\377\226\226\226\377\177\177\177\377~~~\377~" "~~\377~~~\377~~~\377~~~\377~~~\377}}\177\377||\303\377\177\177\377\377" "\177\177\377\377\177\177\377\377\177\177\377\377\177\177\377\377~~\375" "\377||\371\377}}\372\377rr\373\377\36\36\374\37799\374\377XX\244\377" "\313\313\316\377\213\213\227\377ee\334\377\33\33\377\377\0\0\377\377" "\0\0\377\377\0\0\377\377\0\0\377\377\0\0\376\377\37\37\266\377LLL\377" "LLL\377sss\377\366\366\366\377\377\377\377\377\375\375\375\377\305\305" "\305\377\177\177\177\377~~~\361ttt\236KKK4\0\0\0\20\0\0\0\12\0\0\0\5" "\0\0\0\3\0\0\0\1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\177\177\177\10\177\177\177j\177" "\177\177\356\177\177\177\377\177\177\177\377\177\177\177\377\177\177" "\177\377\177\177\177\377\177\177\177\377\177\177\177\377\177\177\177" "\377\177\177\177\377\177\177\177\377\177\177\177\377\177\177\177\376" "\177\177\177\365|||\306rrr]GGG\30\0\0\0\10\0\0\0\6\0\0\0\3\0\0\0\2\0" "\0\0\1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0~~~\0~~~\33\203\203\203\177\227\227\227\340\302\302\302\376\334\334" "\334\377\302\302\302\377\234\234\234\377\206\206\206\377~~~\371}}}\362" "{{{\351zzz\345zzz\350{{{\361}}}\373~~~\377~~~\377~~~\377~~~\377~~~\370" "qqq\230\30\30\30#\0\0\0\24\0\0\0\15\0\0\0\7\0\0\0\3\0\0\0\1\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0~~~\5~~~>\203\203\203\302" "\251\251\251\372\331\331\331\377\300\300\300\377\211\211\211\377~~~\377" "~~~\377~~~\377|||\367xxx\347rrr\326kkk\311hhh\307iij\314tt\273\350\177" "\177\377\377\177\177\377\377\177\177\377\377\177\177\377\377\177\177" "\377\377\177\177\377\377\177\177\377\377\177\177\377\377^^\374\377\11" "\11\365\37777\361\377YY\260\377^^~\377QQz\377pp\340\377XX\377\377\13" "\13\377\377\0\0\377\377\0\0\377\377\0\0\377\377\0\0\377\377\20\20\330" "\377KKM\373LLL\376WWW\377\317\317\317\377\377\377\377\377\377\377\377" "\377\342\342\342\377\200\200\200\377\177\177\177\377\177\177\177\372" "{{{\317cccY$$$\32\0\0\0\15\0\0\0\7\0\0\0\4\0\0\0\2\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\177\177\177\4" "\177\177\177f\177\177\177\355\177\177\177\377\177\177\177\377\177\177" "\177\377\177\177\177\377\177\177\177\377\177\177\177\376~~~\372~~~\371" "~~~\374\177\177\177\377\177\177\177\377\177\177\177\377\177\177\177\377" "\177\177\177\377\177\177\177\377~~~\362zzz\256gggG$$$\22\0\0\0\11\0\0" "\0\5\0\0\0\3\0\0\0\1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "~~~\2~~~0\207\207\207\302\267\267\267\373\342\342\342\377\302\302\302" "\377\221\221\221\377\177\177\177\374|||\351uuu\261ddd\201RRRk===[///" "W333aCCCuZZZ\230sss\324}}}\371~~~\377~~~\377~~~\377|||\360ZZZl\1\1\1" "\"\0\0\0\27\0\0\0\16\0\0\0\7\0\0\0\3\0\0\0\1\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0~~~\7~~~e\207\207\207\340\275\275\275\377\337\337\337" "\377\246\246\246\377\201\201\201\377~~~\377~~~\377}}}\370rrr\307QQQ\211" ")))j\20\20\20a\3\3\3`\0\0\0b\3\3\3eUU\263\261\177\177\377\377\177\177" "\377\377\177\177\377\377\177\177\377\377\177\177\377\377\177\177\377" "\377\177\177\376\377ss\347\377;;\230\37700\204\377PP\206\377QQ\177\377" "ZZ\257\377ww\357\377~~\375\377||\377\37766\377\377\1\1\377\377\0\0\377" "\377\0\0\377\377\0\0\377\377\3\3\361\370..G\260888\267DDD\322\225\225" "\225\364\367\367\367\376\370\370\370\377\273\273\273\377\177\177\177" "\377\177\177\177\377\177\177\177\377\177\177\177\377}}}\355ppp\20622" "2$\1\1\1\20\0\0\0\11\0\0\0\5\0\0\0\3\0\0\0\1\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\177\177\177\0\177\177\1779\177\177\177\340\177" "\177\177\377\177\177\177\377\177\177\177\377\177\177\177\376}}}\363w" "ww\311jjj\240^^^\217YYY\214^^^\231iii\263ttt\322|||\362~~~\375\177\177" "\177\377\177\177\177\377\177\177\177\377\177\177\177\377}}}\347sss\201" "///\34\2\2\2\15\0\0\0\10\0\0\0\4\0\0\0\2\0\0\0\1\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0~~~\11\201\201\201j\233\233\233\352\334\334\334\377\317\317\317\377" "\224\224\224\377~~~\373yyy\306eees,,,;\1\1\1""3\0\0\0;\0\0\0A\0\0\0F" "\0\0\0J\0\0\0M\0\0\0O\0\0\0P\12\12\12VMMM\214www\347~~~\377~~~\377~~" "~\377yyy\343+++F\0\0\0%\0\0\0\30\0\0\0\15\0\0\0\6\0\0\0\3\0\0\0\1\0\0" "\0\0\0\0\0\0~~~\0~~~\26\177\177\177\237\230\230\230\367\327\327\327\377" "\316\316\316\377\213\213\213\377~~~\377~~~\377~~~\376vvv\325OOO~\6\6" "\6O\0\0\0U\0\0\0Z\0\0\0]\0\0\0]\0\0\0]\0\0\0[PP\265\250\177\177\377\377" "\177\177\377\377\177\177\377\377\177\177\377\377\177\177\377\377\177" "\177\377\377nn\332\377gg~\377\325\325\326\377\373\373\373\377\377\377" "\377\377\364\364\364\377\243\243\250\377YY\233\377~~\374\377\177\177" "\377\377gg\377\377\13\13\377\377\0\0\377\377\0\0\377\377\0\0\377\377" "\0\0\374\374\0\0V\210\0\0\0l\1\1\1k\31\31\31wccc\250\205\205\205\344" "\200\200\200\376\177\177\177\377\177\177\177\377\177\177\177\377\177" "\177\177\377\177\177\177\377\177\177\177\374xxx\274OOO\77\2\2\2\24\0" "\0\0\14\0\0\0\7\0\0\0\3\0\0\0\1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\177\177\177\16\202\202\202\304\200\200\200\377\177\177\177\377\177" "\177\177\377~~~\362rrr\242\77\77\77P\3\3\3=\0\0\0D\0\0\0K\0\0\0O\0\0" "\0P\0\0\0P\2\2\2Q###bQQQ\215nnn\305}}}\365\177\177\177\377\177\177\177" "\377\177\177\177\377\177\177\177\376yyy\271VVV>\1\1\1\22\0\0\0\13\0\0" "\0\6\0\0\0\3\0\0\0\2\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0~~~\0~~~\23\206\206\206\220\262\262\262\362\340\340" "\340\377\254\254\254\377\205\205\205\374{{{\322gggl***6\4\4\4""1\0\0" "\0""8\0\0\0@\0\0\0F\0\0\0H\0\0\0J\0\0\0J\0\0\0I\0\0\0I\0\0\0I\0\0\0I" "\4\4\4L>>>uyyy\351~~~\377~~~\377~~~\376ggg\243\17\17\17""8\0\0\0%\0\0" "\0\26\0\0\0\14\0\0\0\6\0\0\0\2\0\0\0\0~~~\3~~~<\203\203\203\300\257\257" "\257\374\334\334\334\377\265\265\265\377\204\204\204\377~~~\377~~~\376" "{{{\356eee\241&&&\\\3\3\3Q\0\0\0V\0\0\0Z\0\0\0Z\0\0\0X\0\0\0T\0\0\0P" "\0\0\0LNN\274\234\177\177\377\377\177\177\377\377\177\177\377\377\177" "\177\377\377\177\177\377\377{{\367\377YY\215\377\341\341\342\377\336" "\336\337\377\252\252\267\377\236\236\254\377\276\276\302\377\360\360" "\360\377\216\216\234\377ii\322\377\177\177\377\377kk\377\377\16\16\377" "\377\0\0\377\377\0\0\377\377\0\0\377\377\0\0\376\375\0\0y\225\0\0\0j" "\0\0\0g\0\0\0b\4\4\4`'''raaa\263{{{\361\177\177\177\377\177\177\177\377" "\177\177\177\377\177\177\177\377\177\177\177\377\177\177\177\375|||\334" "ccca\37\37\37\36\0\0\0\17\0\0\0\10\0\0\0\4\0\0\0\2\0\0\0\1\0\0\0\0\0" "\0\0\0\177\177\177\4\203\203\203r\302\302\302\373\235\235\235\377\177" "\177\177\377~~~\357dddt\26\26\26""9\0\0\0>\0\0\0I\0\0\0O\0\0\0Q\0\0\0" "Q\0\0\0P\0\0\0N\0\0\0M\0\0\0M\1\1\1M\23\23\23U@@@vnnn\302}}}\365\177" "\177\177\377\177\177\177\377\177\177\177\375{{{\325ccc^\13\13\13\27\0" "\0\0\16\0\0\0\10\0\0\0\5\0\0\0\2\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0~~~\0\177\177\177\21\211\211\211\236\276\276\276\371" "\332\332\332\377\235\235\235\377~~~\364vvv\244IIIC\2\2\2+\0\0\0""5\0" "\0\0=\0\0\0C\0\0\0F\0\0\0G\0\0\0E\0\0\0B\0\0\0\77\0\0\0<\0\0\0:\0\0\0" "8\0\0\0""9\0\0\0;\3\3\3@\\\\\\\220}}}\371~~~\377~~~\377yyy\347555\\\0" "\0\0""1\0\0\0\40\0\0\0\22\0\0\0\11\1\1\1\4kkk\11\177\177\177a\214\214" "\214\332\300\300\300\376\332\332\332\377\240\240\240\377\200\200\200" "\377~~~\377}}}\372uuu\316MMMw\11\11\11N\0\0\0R\0\0\0W\0\0\0Y\0\0\0V\0" "\0\0R\0\0\0K\0\0\0D\0\0\0=\0\0\0""8OO\306\213\177\177\377\377\177\177" "\377\377\177\177\377\377\177\177\377\377\177\177\377\377rr\346\377{{" "\225\377\353\353\353\377@@\204\377\13\13\273\37799\312\377XX\237\377" "\246\246\255\377\311\311\315\377XX\250\377\177\177\377\377ll\377\377" "\20\20\377\377\0\0\377\377\0\0\377\377\0\0\377\377\0\0\376\376\0\0\210" "\233\0\0\0h\0\0\0a\0\0\0Z\0\0\0R\0\0\0N\13\13\13SFFF\200sss\325~~~\372" "\177\177\177\377\177\177\177\377\177\177\177\377\177\177\177\377\177" "\177\177\377}}}\353nnn\212666*\0\0\0\21\0\0\0\12\0\0\0\6\0\0\0\2\0\0" "\0\1\0\0\0\0\201\201\201\36\241\241\241\327\336\336\336\377\217\217\217" "\377\177\177\177\373ooo\222\17\17\17""4\0\0\0=\0\0\0H\0\0\0O\0\0\0O\0" "\0\0M\0\0\0H\0\0\0D\0\0\0A\0\0\0@\0\0\0\77\0\0\0@\0\0\0B\0\0\0D\24\24" "\24PWWW\215xxx\340\177\177\177\376\177\177\177\377\177\177\177\377}}" "}\347eeej\23\23\23\35\0\0\0\21\0\0\0\12\0\0\0\5\0\0\0\2\0\0\0\1\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0~~~\20\206\206\206\230\311\311\311\376" "\323\323\323\377\220\220\220\377}}}\365lllu\40\40\40-\0\0\0.\0\0\0""8" "\0\0\0@\0\0\0D\0\0\0E\0\0\0C\0\0\0>\0\0\0""8\0\0\0""2\0\0\0-\0\0\0(\0" "\0\0&\0\0\0$\0\0\0%\0\0\0'\0\0\0+!!!\77yyy\335~~~\377~~~\377~~~\376[" "[[\222\1\1\1<\0\0\0,\0\0\0\33\0\0\0\17LLL\21|||\207\230\230\230\363\327" "\327\327\377\317\317\317\377\213\213\213\377~~~\377~~~\377}}}\362eee" "\233\"\"\"T\0\0\0M\0\0\0U\0\0\0X\0\0\0W\0\0\0S\0\0\0K\0\0\0B\0\0\0""9" "\0\0\0""0\0\0\0(\0\0\0#RR\324x\177\177\377\377\177\177\377\377\177\177" "\377\377\177\177\377\377\177\177\377\377oo\337\377\215\215\242\377\311" "\311\311\377\13\13\252\377\5\5\377\377SS\377\377uu\353\377ww\213\377" "\326\326\330\377XX\234\377\177\177\376\377oo\377\377\24\24\377\377\0" "\0\377\377\0\0\377\377\0\0\377\377\0\0\376\375\0\0\203\227\0\0\0e\0\0" "\0\\\0\0\0P\0\0\0D\0\0\0>\0\0\0<\0\0\0@\40\40\40Vaaa\244{{{\362\177\177" "\177\377\177\177\177\377\177\177\177\377\177\177\177\377\177\177\177" "\377~~~\372vvv\267@@@5\2\2\2\24\0\0\0\14\0\0\0\7\0\0\0\3&&&\2\206\206" "\206e\312\312\312\376\265\265\265\377\200\200\200\377|||\337+++<\0\0" "\0;\0\0\0G\0\0\0M\0\0\0L\0\0\0G\0\0\0\77\0\0\0""8\0\0\0""1\0\0\0.\0\0" "\0,\0\0\0+\0\0\0-\0\0\0""0\0\0\0""4\0\0\0""9\2\2\2>555_rrr\306\177\177" "\177\376\177\177\177\377\177\177\177\377}}}\357ccco\14\14\14\37\0\0\0" "\23\0\0\0\12\0\0\0\5\0\0\0\2\0\0\0\1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0~~~\12\211\211" "\211\223\306\306\306\374\320\320\320\377\210\210\210\377|||\341eeea\4" "\4\4(\10\10\10""5\3\3\3=\0\0\0C\0\0\0D\0\0\0B\0\0\0<\0\0\0""5\0\0\0-" "\0\0\0&\0\0\0\37\0\0\0\31\0\0\0\26\0\0\0\23\0\0\0\22\0\0\0\23\0\0\0\24" "\0\0\0\30\0\0\0\37rrr\244~~~\377~~~\377~~~\377ooo\307\15\15\15J\0\0\0" "7\0\0\0%SSS7~~~\257\255\255\255\375\341\341\341\377\261\261\261\377\202" "\202\202\377~~~\377}}}\372ttt\307BBBe\5\5\5I\0\0\0P\0\0\0V\0\0\0W\0\0" "\0T\0\0\0N\0\0\0E\0\0\0""9\0\0\0.\0\0\0$\0\0\0\34\0\0\0\26\0\0\0\22W" "W\341e\177\177\377\377\177\177\377\377\177\177\377\377\177\177\377\377" "\177\177\377\377tt\351\377ss\221\377\354\354\354\377==\200\377\17\17" "\262\377LL\271\377UU\215\377\266\266\272\377\314\314\317\377XX\245\377" "\177\177\377\377ss\377\377\32\32\377\377\0\0\377\377\0\0\377\377\0\0" "\377\377\0\0\375\374\0\0Z\205\0\0\0b\0\0\0V\0\0\0G\0\0\0""6\0\0\0,\0" "\0\0(\0\0\0+\0\0\0""3\6\6\6>:::grrr\313~~~\372\177\177\177\377\177\177" "\177\377\177\177\177\377\177\177\177\377\177\177\177\376zzz\330[[[W\17" "\17\17\32\0\0\0\17\0\0\0\11XXX\17\216\216\216\261\343\343\343\377\217" "\217\217\377\177\177\177\376ppp\241\0\0\0""6\0\0\0D\0\0\0K\0\0\0K\0\0" "\0C\0\0\0""8\0\0\0-\0\0\0$\0\0\0\36\0\0\0\32\0\0\0\30\0\0\0\30\0\0\0" "\31\0\0\0\34\0\0\0\40\0\0\0&\3\3\3-\6\6\6""6\27\27\27Clll\257~~~\370" "\177\177\177\377\177\177\177\377}}}\360cccw\4\4\4!\0\0\0\24\0\0\0\14" "\0\0\0\6\0\0\0\3\0\0\0\1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0~~~\2~~~o\257\257\257\361\326\326\326\377" "\212\212\212\377}}}\345dddb\10\10\10)\0\0\0""4\1\1\1>\6\6\6F\1\1\1D\0" "\0\0\77\0\0\0""7\0\0\0.\0\0\0%\0\0\0\34\0\0\0\26\0\0\0\20\0\0\0\14\0" "\0\0\12\0\0\0\11\0\0\0\10\0\0\0\10\0\0\0\11\0\0\0\14\0\0\0\22qqq~~~~" "\374~~~\377~~~\377uuu\334\35\35\35Y\4\4\4APPPa\207\207\207\311\275\275" "\275\374\333\333\333\377\237\237\237\377\200\200\200\377~~~\377{{{\346" "eee\223%%%Q\1\1\1I\0\0\0R\0\0\0U\0\0\0U\0\0\0Q\0\0\0I\0\0\0\77\0\0\0" "4\0\0\0'\0\0\0\35\0\0\0\25\0\0\0\17\0\0\0\12\0\0\0\11]]\353S\177\177" "\377\377\177\177\377\377\177\177\377\377\177\177\377\377\177\177\377" "\377||\371\377gg\242\377\363\363\364\377\340\340\342\377\266\266\301" "\377\266\266\276\377\324\324\326\377\362\362\362\377\213\213\232\377" "ii\322\377\177\177\377\377vv\377\377\37\37\377\377\0\0\377\377\0\0\377" "\377\0\0\377\377\0\0\374\373\0\0P\201\0\0\0a\0\0\0S\0\0\0A\0\0\0.\0\0" "\0\40\0\0\0\32\0\0\0\33\0\0\0\40\0\0\0)\1\1\1""4!!!O___\231yyy\346\177" "\177\177\376\177\177\177\377\177\177\177\377\177\177\177\377\177\177" "\177\377|||\343iiiy####\0\0\0\21```'\225\225\225\323\343\343\343\377" "\203\203\203\377\177\177\177\373aaa\202\0\0\0\77\0\0\0J\0\0\0L\0\0\0" "E\0\0\0""7\0\0\0)\0\0\0\36\0\0\0\25\0\0\0\17\0\0\0\14\0\0\0\13\0\0\0" "\13\0\0\0\14\0\0\0\16\0\0\0\21\2\2\2\26\11\11\11\36\2\2\2#\0\0\0+\36" "\36\36@jjj\241~~~\371\177\177\177\377\177\177\177\377{{{\344TTTa\0\0" "\0!\0\0\0\26\0\0\0\15\0\0\0\6\0\0\0\3\0\0\0\1\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0~~~\1~~~;~~~\352\222\222\222\377\216" "\216\216\377}}}\366jjjt\15\15\15+\0\0\0""4\0\0\0\77\0\0\0D\2\2\2D\5\5" "\5\77\0\0\0""3\0\0\0)\0\0\0\37\0\0\0\26\0\0\0\17\0\0\0\12\0\0\0\7\0\0" "\0\5\0\0\0\4\0\0\0\3\0\0\0\3\0\0\0\3\0\0\0\3\0\0\0\5\0\0\0\11uuur~~~" "\374~~~\377~~~\377www\341)))dNNN\200\216\216\216\344\316\316\316\376" "\323\323\323\377\217\217\217\377~~~\377~~~\373www\317HHHd\10\10\10D\0" "\0\0K\0\0\0R\0\0\0U\0\0\0S\0\0\0M\0\0\0D\0\0\0""9\0\0\0-\0\0\0\"\0\0" "\0\30\0\0\0\20\0\0\0\12\0\0\0\6\0\0\0\4\0\0\0\4dd\361C\177\177\377\377" "\177\177\377\377\177\177\377\377\177\177\377\377\177\177\377\377\177" "\177\377\377\177\177\353\377\314\314\332\377\324\324\327\377\362\362" "\362\377\365\365\365\377\346\346\350\377\224\224\240\377YY\237\377}}" "\374\377\177\177\377\377yy\377\377%%\377\377\0\0\377\377\0\0\377\377" "\0\0\377\377\0\0\376\375\0\0\206\227\0\0\0`\0\0\0R\0\0\0>\0\0\0)\0\0" "\0\31\0\0\0\21\0\0\0\17\0\0\0\22\0\0\0\31\0\0\0#\0\0\0.\7\7\7<@@@jqq" "q\310~~~\373\177\177\177\377\177\177\177\377\177\177\177\377\177\177" "\177\377}}}\362ppp\231((((YYY:\230\230\230\340\340\340\340\377\202\202" "\202\377~~~\371VVVy\0\0\0F\0\0\0M\0\0\0I\0\0\0=\0\0\0,\0\0\0\35\0\0\0" "\22\0\0\0\12\0\0\0\7\0\0\0\4\0\0\0\4\0\0\0\4\0\0\0\4\0\0\0\5\1\1\1\7" "\21\21\21\14\7\7\7\17\0\0\0\24\0\0\0\33\0\0\0%%%%=ppp\261\177\177\177" "\376\177\177\177\377\177\177\177\376yyy\333...@\0\0\0!\0\0\0\25\0\0\0" "\14\0\0\0\5\0\0\0\2\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0~~~\23~~~\307~~~\377~~~\377~~~\375sss\226\22\22\22,\0\0\0""4\0" "\0\0\77\0\0\0D\0\0\0C\0\0\0<\3\3\3""2\5\5\5&\0\0\0\32\0\0\0\21\0\0\0" "\13\0\0\0\6\0\0\0\4\0\0\0\2\0\0\0\1\0\0\0\1\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\1\0\0\0\4{{{\201~~~\376~~~\377~~~\377www\342ddd\253\236" "\236\236\366\341\341\341\377\274\274\274\377\204\204\204\377~~~\377|" "||\357jjj\231\36\36\36E\0\0\0D\0\0\0M\0\0\0S\0\0\0T\0\0\0O\0\0\0H\0\0" "\0>\0\0\0""2\0\0\0&\0\0\0\34\0\0\0\23\0\0\0\14\0\0\0\7\0\0\0\3\0\0\0" "\2\0\0\0\1\0\0\0\1ll\3636~~\377\377\177\177\377\377\177\177\377\377\177" "\177\377\377\177\177\377\377\177\177\377\377\205\205\377\377\260\260" "\360\377\31\31\234\377**\211\37722\210\377\30\30\216\377\23\23\305\377" "RR\373\377\177\177\377\377\177\177\377\377{{\377\377,,\377\377\0\0\377" "\377\0\0\377\377\0\0\377\377\0\0\377\377\0\0\302\275\0\0\16c\0\0\0Q\0" "\0\0=\0\0\0&\0\0\0\26\0\0\0\13\0\0\0\10\0\0\0\10\0\0\0\15\0\0\0\23\0" "\0\0\34\0\0\0'\0\0\0""2\20\20\20D^^^\227zzz\352\177\177\177\377\177\177" "\177\377\177\177\177\377\177\177\177\377\177\177\177\376vvv\272___`\223" "\223\223\336\342\342\342\377\202\202\202\377~~~\372WWW\205\0\0\0L\0\0" "\0N\0\0\0E\0\0\0""4\0\0\0!\0\0\0\23\0\0\0\12\0\0\0\4\0\0\0\2\0\0\0\1" "\0\0\0\1\0\0\0\1\0\0\0\1\0\0\0\1...\3\40\40\40\5\0\0\0\6\0\0\0\11\0\0" "\0\16\0\0\0\26\0\0\0\37'''8www\313\177\177\177\377\177\177\177\377\177" "\177\177\377nnn\257\26\26\26""6\0\0\0!\0\0\0\24\0\0\0\13\0\0\0\5\0\0" "\0\2\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0~~~\2~~~r~~~\375~~~\377~" "~~\377{{{\3250006\0\0\0""3\0\0\0\77\0\0\0E\0\0\0C\0\0\0;\0\0\0""0\0\0" "\0#\6\6\6\30\5\5\5\17\0\0\0\10\0\0\0\5\0\0\0\2\0\0\0\1\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\30\30\30\2}}}\251" "~~~\377~~~\377~~~\377\203\203\203\374\264\264\264\373\340\340\340\377" "\244\244\244\377\201\201\201\377~~~\375vvv\316NNNi\14\14\14A\0\0\0F\0" "\0\0O\0\0\0R\0\0\0Q\0\0\0K\0\0\0B\0\0\0""7\0\0\0,\0\0\0\40\0\0\0\27\0" "\0\0\17\0\0\0\11\0\0\0\5\0\0\0\3\0\0\0\1\0\0\0\0\0\0\0\0\0\0\0\0hh\364" "2}}\377\376\177\177\377\377\177\177\377\377\177\177\377\377\177\177\377" "\377\177\177\377\377\205\205\377\377\260\260\370\377\21\21\301\377\26" "\26\240\377%%\225\377,,\223\37733\221\377AA\206\377RR\232\377~~\376\377" "||\377\37722\377\377\0\0\377\377\0\0\377\377\0\0\377\377\0\0\377\377" "\0\0\343\334\0\0(j\0\0\0R\0\0\0=\0\0\0&\0\0\0\25\0\0\0\12\0\0\0\4\0\0" "\0\3\0\0\0\5\0\0\0\11\0\0\0\17\0\0\0\27\0\0\0\40\0\0\0+\7\7\7:\77\77" "\77fooo\301~~~\372\177\177\177\377\177\177\177\377\177\177\177\377\177" "\177\177\375{{{\341\214\214\214\360\344\344\344\377\207\207\207\377\177" "\177\177\375bbb\243\0\0\0O\0\0\0M\0\0\0A\0\0\0/\0\0\0\33\0\0\0\16\0\0" "\0\6\0\0\0\2\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0iii\0rrr\1\10\10" "\10\1\0\0\0\2\0\0\0\3\0\0\0\6\0\0\0\13\0\0\0\22\2\2\2\34SSSV}}}\354\177" "\177\177\377\177\177\177\377}}}\366RRRs\0\0\0.\0\0\0\37\0\0\0\22\0\0" "\0\11\0\0\0\4\0\0\0\1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0~~~\37~~~\317~~" "~\377~~~\377}}}\364eeeq\0\0\0""0\0\0\0=\0\0\0E\0\0\0E\0\0\0=\0\0\0""1" "\0\0\0#\0\0\0\27\1\1\1\15\13\13\13\10\11\11\11\4\0\0\0\2\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "uuu\25~~~\327~~~\377~~~\377~~~\377\225\225\225\377\316\316\316\377\227" "\227\227\377\177\177\177\377{{{\362jjj\257+++S\2\2\2C\0\0\0I\0\0\0O\0" "\0\0Q\0\0\0N\0\0\0G\0\0\0=\0\0\0""1\0\0\0&\0\0\0\34\0\0\0\22\0\0\0\13" "\0\0\0\7\0\0\0\4\0\0\0\2\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0``\366" "0{{\377\375\177\177\377\377\177\177\377\377\177\177\377\377\177\177\377" "\377\177\177\377\377vv\366\377bb\243\377\230\230\251\377\313\313\316" "\377\332\332\332\377\341\341\341\377\346\346\346\377\332\332\332\377" "]]\212\377~~\375\377||\377\37733\377\377\0\0\377\377\0\0\377\377\0\0" "\377\377\0\0\377\377\0\0\355\350\0\0""4n\0\0\0S\0\0\0\77\0\0\0(\0\0\0" "\26\0\0\0\12\0\0\0\4\0\0\0\1\0\0\0\2\0\0\0\4\0\0\0\7\0\0\0\14\0\0\0\23" "\0\0\0\33\0\0\0&\1\1\1""2\37\37\37J___\230zzz\351\177\177\177\376\177" "\177\177\377\177\177\177\377\177\177\177\377\203\203\203\377\255\255" "\255\377\205\205\205\377\177\177\177\377ppp\313\2\2\2T\0\0\0N\0\0\0@" "\0\0\0,\0\0\0\30\0\0\0\13\0\0\0\4\0\0\0\1\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\177\177\177\0\177\177\177\1\177\177\177\0\0\0\0\0\0\0\0\0\0\0\0" "\1\0\0\0\3\0\0\0\5\0\0\0\12\0\0\0\21\13\13\13\35qqq\227\177\177\177\374" "\177\177\177\377\177\177\177\377rrr\307\34\34\34E\0\0\0+\0\0\0\33\0\0" "\0\20\0\0\0\7\0\0\0\3\0\0\0\1\0\0\0\0\0\0\0\0\0\0\0\0~~~_~~~\372~~~\377" "~~~\377yyy\317&&&9\0\0\0:\0\0\0E\0\0\0G\0\0\0A\0\0\0""3\0\0\0%\0\0\0" "\27\0\0\0\15\0\0\0\7\3\3\3\3\15\15\15\1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0ttt\0}}}R~~~\364~~" "~\377~~~\377~~~\377\200\200\200\377\202\202\202\377~~~\377www\347NNN" "\215\13\13\13P\0\0\0J\0\0\0M\0\0\0P\0\0\0P\0\0\0K\0\0\0C\0\0\0""9\0\0" "\0-\0\0\0!\0\0\0\27\0\0\0\17\0\0\0\11\0\0\0\5\0\0\0\3\0\0\0\1\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\\\\\366.{{\377\374\177\177\377" "\377\177\177\377\377\177\177\377\377\177\177\377\377\177\177\377\377" "ee\306\377\236\236\243\377\373\373\373\377\351\351\351\377\331\331\331" "\377\313\313\313\377\277\277\277\377\247\247\247\377NNv\377}}\374\377" "zz\377\377++\377\377\0\0\377\377\0\0\377\377\0\0\377\377\0\0\377\377" "\0\0\353\345\0\0""0o\0\0\0U\0\0\0A\0\0\0*\0\0\0\30\0\0\0\13\0\0\0\4\0" "\0\0\1\0\0\0\0\0\0\0\1\0\0\0\2\0\0\0\5\0\0\0\11\0\0\0\17\0\0\0\27\0\0" "\0!\0\0\0,\3\3\3""8DDDksss\315\177\177\177\376\177\177\177\377\177\177" "\177\377\177\177\177\377\177\177\177\377\177\177\177\377\177\177\177" "\377{{{\360%%%k\0\0\0O\0\0\0@\0\0\0+\0\0\0\27\0\0\0\13\0\0\0\4\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\177\177\177\0\177\177\177\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\2\0\0\0\4\0\0\0\11\0\0\0\21" "SSS@}}}\341\177\177\177\377\177\177\177\377}}}\363JJJr\0\0\0""6\0\0\0" "&\0\0\0\27\0\0\0\14\0\0\0\5\0\0\0\1\0\0\0\0\0\0\0\0~~~\1~~~\260~~~\377" "~~~\377~~~\376eee}\0\0\0""5\0\0\0C\0\0\0H\0\0\0D\0\0\0""8\0\0\0'\0\0" "\0\31\0\0\0\16\0\0\0\6\0\0\0\2\0\0\0\1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0}}}\7~~~\270" "~~~\377~~~\377~~~\377~~~\377~~~\377}}}\373iii\307!!!p\0\0\0Z\0\0\0V\0" "\0\0S\0\0\0Q\0\0\0M\0\0\0G\0\0\0=\0\0\0""1\0\0\0&\0\0\0\33\0\0\0\22\0" "\0\0\13\0\0\0\6\0\0\0\3\0\0\0\1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0]]\366.{{\377\374\177\177\377\377\177\177\377" "\377\177\177\377\377\177\177\377\377\177\177\377\377TT\230\377\336\336" "\336\377\333\333\346\377**\234\377\20\20\236\377LL\253\377\\\\\270\377" "bb\305\377nn\335\377~~\376\377dd\377\377\22\22\377\377\0\0\377\377\0" "\0\377\377\0\0\377\377\0\0\377\377\0\0\356\351\0\0""4q\0\0\0W\0\0\0E" "\0\0\0-\0\0\0\32\0\0\0\15\0\0\0\5\0\0\0\1\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\2\0\0\0\3\0\0\0\6\0\0\0\13\0\0\0\22\0\0\0\32\0\0\0%\0\0\0""1\30\30" "\30F```\231|||\363\177\177\177\377\177\177\177\377\177\177\177\377\177" "\177\177\377\177\177\177\377~~~\375]]]\255\5\5\5T\0\0\0B\0\0\0-\0\0\0" "\31\0\0\0\14\0\0\0\4\0\0\0\1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\2\0\0" "\0\4\0\0\0\11\17\17\17\24uuu\227\177\177\177\377\177\177\177\377\177" "\177\177\377iii\261\0\0\0@\0\0\0""1\0\0\0\40\0\0\0\22\0\0\0\10\0\0\0" "\3\0\0\0\1\0\0\0\0}}}\25~~~\331~~~\377~~~\377|||\353DDDU\0\0\0=\0\0\0" "H\0\0\0G\0\0\0>\0\0\0/\0\0\0\35\0\0\0\21\0\0\0\10\0\0\0\3\0\0\0\1\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0~~~\1~~~H~~~\366~~~\377~~~\377~~~\377~~~\377|||\367^" "^^\260\22\22\22k\0\0\0b\0\0\0^\0\0\0Y\0\0\0S\0\0\0L\0\0\0C\0\0\0""9\0" "\0\0,\0\0\0!\0\0\0\27\0\0\0\17\0\0\0\11\0\0\0\5\0\0\0\2\0\0\0\1\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0``" "\366.{{\377\374\177\177\377\377\177\177\377\377\177\177\377\377\177\177" "\377\377\177\177\377\377TT\222\377\345\345\345\377\323\323\360\377HH" "\367\377bb\377\377zz\375\377tt\372\377kk\370\377[[\367\377::\377\377" "\23\23\377\377\1\1\377\377\0\0\377\377\0\0\377\377\0\0\377\377\0\0\377" "\377\0\0\361\355\0\0""7s\0\0\0Y\0\0\0G\0\0\0""0\0\0\0\34\0\0\0\16\0\0" "\0\5\0\0\0\1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\1\0\0\0\2\0\0\0\5" "\0\0\0\11\0\0\0\16\0\0\0\26\0\0\0\40\0\0\0+\14\14\14:PPPxwww\333\177" "\177\177\376\177\177\177\377\177\177\177\377\177\177\177\377\177\177" "\177\377www\347&&&j\0\0\0F\0\0\0""1\0\0\0\34\0\0\0\16\0\0\0\6\0\0\0\2" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\2\0\0\0\4\1\1\1\12gggI\212" "\212\212\367\263\263\263\377\202\202\202\377www\337\11\11\11J\0\0\0""9" "\0\0\0)\0\0\0\31\0\0\0\14\0\0\0\5\0\0\0\1\0\0\0\0~~~2~~~\351~~~\377~" "~~\377xxx\321'''H\0\0\0D\0\0\0J\0\0\0D\0\0\0""7\0\0\0%\0\0\0\25\0\0\0" "\13\0\0\0\4\0\0\0\2\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0~~~\33~~~\301~~~\377~~" "~\377~~~\377~~~\377}}}\373ccc\261\21\21\21e\0\0\0b\0\0\0a\0\0\0\\\0\0" "\0U\0\0\0K\0\0\0\77\0\0\0""4\0\0\0(\0\0\0\34\0\0\0\23\0\0\0\14\0\0\0" "\7\0\0\0\4\0\0\0\2\0\0\0\1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0ee\366/||\377\375\177\177\377\377" "\177\177\377\377\177\177\377\377\177\177\377\377\177\177\377\377WW\237" "\377\326\326\326\377\276\276\306\377WW\215\377TT\225\377JJ\221\377BB" "\215\377<<\211\377\31\31\201\377\0\0\374\377\0\0\377\377\0\0\377\377" "\0\0\377\377\0\0\377\377\0\0\377\377\0\0\377\377\0\0\364\360\0\0:u\0" "\0\0[\0\0\0I\0\0\0""2\0\0\0\36\0\0\0\17\0\0\0\5\0\0\0\2\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\2\0\0\0\4\0\0\0\6\0\0\0\14\0" "\0\0\23\0\0\0\33\0\0\0%\1\1\1""2GGGgxxx\335\177\177\177\377\177\177\177" "\377\177\177\177\377\177\177\177\377\177\177\177\376bbb\262\15\15\15" "P\0\0\0""7\0\0\0!\0\0\0\22\0\0\0\10\0\0\0\3\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\2\0\0\0\6ZZZ'\210\210\210\332\347\347\347\377" "\216\216\216\377{{{\356(((_\0\0\0A\0\0\0""1\0\0\0\40\0\0\0\20\0\0\0\7" "\0\0\0\2\0\0\0\0}}}A~~~\357~~~\377~~~\377ttt\300\21\21\21C\0\0\0H\0\0" "\0J\0\0\0\77\0\0\0/\0\0\0\36\0\0\0\17\0\0\0\7\0\0\0\2\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0~~~\7\177\177\177\212\202\202\202\374~~~\377~~~\377~~~\377" "~~~\376hhh\263\23\23\23^\0\0\0^\0\0\0a\0\0\0]\0\0\0U\0\0\0I\0\0\0<\0" "\0\0/\0\0\0#\0\0\0\30\0\0\0\17\0\0\0\11\0\0\0\5\0\0\0\2\0\0\0\1\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0qq\3672~~\377\376\177\177\377\377\177\177\377\377" "\177\177\377\377\177\177\377\377\177\177\377\377ii\317\377\226\226\234" "\377\372\372\372\377\350\350\350\377\342\342\342\377\350\350\350\377" "\357\357\357\377\357\357\357\377dd\203\377\0\0\370\377\0\0\377\377\0" "\0\377\377\0\0\377\377\0\0\377\377\0\0\367\377\0\0\366\377\0\0\365\362" "\0\0Cx\0\0\0\\\0\0\0J\0\0\0""4\0\0\0\37\0\0\0\17\0\0\0\6\0\0\0\2\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\1\0\0\0\2" "\0\0\0\5\0\0\0\11\0\0\0\17\0\0\0\26\0\0\0\40\2\2\2,IIIdzzz\346\177\177" "\177\377\177\177\177\377\177\177\177\377\177\177\177\377{{{\363JJJ\203" "\0\0\0>\0\0\0)\0\0\0\30\0\0\0\14\0\0\0\5\0\0\0\1\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\3UUU\26}}}\277\334\334\334\377\236\236" "\236\377|||\363888m\0\0\0F\0\0\0""9\0\0\0'\0\0\0\25\0\0\0\11\0\0\0\3" "\0\0\0\0|||@~~~\356~~~\377~~~\377rrr\276\13\13\13E\0\0\0J\0\0\0H\0\0" "\0:\0\0\0(\0\0\0\27\0\0\0\12\0\0\0\4\0\0\0\1\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0~~~\2" "\177\177\177s\247\247\247\362\313\313\313\377\177\177\177\377~~~\377" "~~~\374ooo\274\23\23\23U\0\0\0X\0\0\0^\0\0\0\\\0\0\0T\0\0\0G\0\0\0""9" "\0\0\0+\0\0\0\36\0\0\0\24\0\0\0\15\0\0\0\7\0\0\0\4\0\0\0\2\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0ss\371\77\177\177\377\377\177\177\377" "\377\177\177\377\377\177\177\377\377\177\177\377\377\177\177\377\377" "~~\371\377ff\254\377\210\210\235\377\301\301\303\377\307\307\307\377" "\277\277\302\377\265\265\274\377\250\250\262\377HHm\377\0\0\362\377\0" "\0\377\377\0\0\377\377\0\0\377\377\0\0\367\377\0\0\310\377\0\0\340\377" "\0\0\366\364\0\0M|\0\0\0\\\0\0\0L\0\0\0""5\0\0\0\40\0\0\0\20\0\0\0\6" "\0\0\0\2\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\1\0\0\0\3\0\0\0\6\0\0\0\13\0\0\0\22\0\0\0\34\6\6\6" "(NNNc{{{\351\177\177\177\377\177\177\177\377\177\177\177\377\177\177" "\177\377xxx\343>>>k\0\0\0""2\0\0\0\40\0\0\0\22\0\0\0\10\0\0\0\3\0\0\0" "\1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\1XXX\20}}}\264\323\323\323" "\377\246\246\246\377}}}\363:::n\0\0\0I\0\0\0>\0\0\0,\0\0\0\31\0\0\0\14" "\0\0\0\4\0\0\0\1zzz,~~~\346~~~\377~~~\377ttt\312\27\27\27N\0\0\0K\0\0" "\0F\0\0\0""6\0\0\0#\0\0\0\23\0\0\0\10\0\0\0\3\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0~~~\6" "~~~V\233\233\233\352\333\333\333\377\246\246\246\377~~~\377~~~\374rr" "r\301&&&W\0\0\0R\0\0\0Z\0\0\0Z\0\0\0S\0\0\0F\0\0\0""8\0\0\0)\0\0\0\34" "\0\0\0\22\0\0\0\12\0\0\0\6\0\0\0\3\0\0\0\1\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0pp\373S\177\177\377\377\177\177\377\377\177" "\177\377\377\177\177\377\377\177\177\377\377\177\177\377\377\215\215" "\377\377hh\370\377\10\10\313\377\23\23\262\377\26\26\257\377\21\21\265" "\377\17\17\242\377\23\23\204\377\12\12\210\377\0\0\363\377\0\0\377\377" "\0\0\377\377\0\0\377\377\0\0\343\377\0\0\270\377\0\0\336\377\0\0\367" "\366\0\0V\200\0\0\0]\0\0\0L\0\0\0""5\0\0\0!\0\0\0\20\0\0\0\6\0\0\0\2" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\1\0\0\0\2\0\0\0\5\0\0\0\11\0\0\0\17\0\0\0\30\5\5\5" "%\\\\\\t|||\350\177\177\177\377\177\177\177\377\177\177\177\377\177\177" "\177\376vvv\327...R\3\3\3+\0\0\0\32\0\0\0\16\0\0\0\6\0\0\0\2\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\1jjj\22\177\177\177\275\334\334\334" "\377\235\235\235\377|||\357000c\0\0\0J\0\0\0A\0\0\0""0\0\0\0\35\0\0\0" "\16\0\0\0\6\0\0\0\2qqq\21~~~\325~~~\377~~~\377yyy\343...`\0\0\0K\0\0" "\0D\0\0\0""3\0\0\0\40\0\0\0\20\0\0\0\6\0\0\0\2\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0~~~\7~~~c\216" "\216\216\354\334\334\334\377\266\266\266\377\200\200\200\377~~~\376v" "vv\312333X\0\0\0K\0\0\0V\0\0\0X\0\0\0S\0\0\0H\0\0\0""8\0\0\0)\0\0\0\33" "\0\0\0\20\0\0\0\11\0\0\0\5\0\0\0\2\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\22\22#\0}}\374e\177\177\377\377\177\177\377" "\377\177\177\377\377\177\177\377\377\177\177\377\377\177\177\377\377" "\235\235\377\377JJ\377\377\1\1\377\377\0\0\377\377\0\0\377\377\0\0\377" "\377\13\13\254\377\204\204\217\377aaq\377\1\1\344\377\0\0\377\377\0\0" "\377\377\0\0\377\377\0\0\315\377\0\0\265\377\0\0\337\377\0\0\371\367" "\0\0_\204\0\0\0]\0\0\0M\0\0\0""6\0\0\0!\0\0\0\21\0\0\0\6\0\0\0\2\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\2\0\0\0\4\0\0\0\7\0\0\0\15\0\0\0\26\12" "\12\12%bbb{}}}\360\177\177\177\377\177\177\177\377\177\177\177\377\177" "\177\177\377ttt\315===T\2\2\2%\0\0\0\26\0\0\0\13\0\0\0\5\0\0\0\2\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0www\36\205\205\205\330\350\350\350\377" "\217\217\217\377zzz\346\26\26\26O\0\0\0K\0\0\0C\0\0\0""3\0\0\0\37\0\0" "\0\17\0\0\0\6\0\0\0\2\0\0\0\2|||\237~~~\377~~~\377~~~\375WWW\216\1\1" "\1K\0\0\0C\0\0\0""1\0\0\0\36\0\0\0\17\0\0\0\6\0\0\0\2\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0~~~\25~~~\214" "\223\223\223\365\336\336\336\377\266\266\266\377\201\201\201\377~~~\376" "uuu\303///P\0\0\0F\0\0\0R\0\0\0V\0\0\0Q\0\0\0G\0\0\0""8\0\0\0(\0\0\0" "\32\0\0\0\20\0\0\0\10\0\0\0\4\0\0\0\2\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0vv\356\3~~\375\207\177\177\377\377" "\177\177\377\377\177\177\377\377\177\177\377\377\177\177\377\377\200" "\200\377\377\224\224\377\377((\377\377\0\0\377\377\0\0\377\377\0\0\377" "\377\0\0\376\377\16\16\262\377\272\272\302\377\223\223\234\377\2\2\335" "\377\0\0\377\377\0\0\377\377\0\0\373\377\0\0\277\377\0\0\265\377\0\0" "\342\377\0\0\372\371\0\0g\207\0\0\0^\0\0\0M\0\0\0""7\0\0\0\"\0\0\0\21" "\0\0\0\7\0\0\0\2\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\1\0\0\0\3" "\0\0\0\6\0\0\0\14\0\0\0\25\15\15\15$___u}}}\361\177\177\177\377\177\177" "\177\377\177\177\177\377\177\177\177\377yyy\336TTTg\7\7\7#\0\0\0\24\0" "\0\0\13\0\0\0\5\0\0\0\2\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0'''\0~~~N\251\251\251\373\324" "\324\324\377\204\204\204\377rrr\275\0\0\0D\0\0\0J\0\0\0D\0\0\0""4\0\0" "\0\40\0\0\0\20\0\0\0\7\0\0\0\2\0\0\0\2wwwP~~~\363~~~\377~~~\377vvv\334" "///e\0\0\0D\0\0\0""3\0\0\0\40\0\0\0\20\0\0\0\6\0\0\0\2\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0~~~\7~~~=\200\200\200\304\243" "\243\243\371\333\333\333\377\266\266\266\377\202\202\202\377~~~\372t" "tt\274+++K\1\1\1D\0\0\0N\0\0\0S\0\0\0P\0\0\0G\0\0\0""9\0\0\0)\0\0\0\33" "\0\0\0\20\0\0\0\10\0\0\0\4\0\0\0\1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0{{\367\13\177\177\376\251\177" "\177\377\377\177\177\377\377\177\177\377\377\177\177\377\377\177\177" "\377\377\201\201\377\377zz\361\377!!\231\377))\230\377//\222\37777\215" "\377@@\213\377QQ~\377\312\312\315\377\237\237\242\377\2\2\326\377\0\0" "\377\377\0\0\377\377\0\0\363\377\0\0\270\377\0\0\266\377\0\0\344\377" "\0\0\373\372\0\0o\212\0\0\0^\0\0\0N\0\0\0""7\0\0\0#\0\0\0\22\0\0\0\7" "\0\0\0\2\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\1\0\0\0\2" "\0\0\0\5\0\0\0\14\0\0\0\25\17\17\17%\\\\\\q{{{\347\177\177\177\377\177" "\177\177\377\177\177\177\377\177\177\177\376|||\353mmm\2257772\4\4\4" "\25\0\0\0\13\0\0\0\6\0\0\0\3\0\0\0\1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0~~~\25\215\215\215\266\332\332" "\332\377\243\243\243\377~~~\370\\\\\\\201\0\0\0D\0\0\0J\0\0\0D\0\0\0" "3\0\0\0\37\0\0\0\20\0\0\0\7\0\0\0\2\0\0\0\2bbb\30|||\272~~~\377~~~\377" "~~~\375ppp\311)))Z\4\4\4""7\0\0\0#\0\0\0\23\0\0\0\10\0\0\0\3\0\0\0\1" "\0\0\0\0\0\0\0\0\0\0\0\0~~~\0}}}\11~~~3\177\177\177\217\210\210\210\345" "\267\267\267\377\334\334\334\377\255\255\255\377\201\201\201\377}}}\365" "ppp\246***I\0\0\0B\0\0\0M\0\0\0Q\0\0\0P\0\0\0G\0\0\0:\0\0\0+\0\0\0\34" "\0\0\0\20\0\0\0\11\0\0\0\4\0\0\0\1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0{{\367\26\177\177\376" "\310\177\177\377\377\177\177\377\377\177\177\377\377\177\177\377\377" "\177\177\377\377\202\202\377\377mm\347\377jj\177\377\334\334\334\377" "\344\344\344\377\352\352\352\377\356\356\356\377\362\362\362\377\373" "\373\373\377\254\254\254\377\3\3\314\377\0\0\377\377\0\0\377\377\0\0" "\353\377\0\0\266\377\0\0\264\377\0\0\332\377\0\0\375\374\0\0y\220\0\0" "\0^\0\0\0O\0\0\0""8\0\0\0#\0\0\0\23\0\0\0\7\0\0\0\2\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\1\0\0\0\2\0\0\0\6\0\0\0\14\0" "\0\0\26\7\7\7%VVVlxxx\331\177\177\177\376\177\177\177\377\177\177\177" "\377\177\177\177\377~~~\373xxx\303dddb;;;$\10\10\10\15\0\0\0\7\0\0\0" "\4\0\0\0\2\0\0\0\1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\177\177\177" "\0\177\177\177\15\203\203\203\211\267\267\267\367\327\327\327\377\202" "\202\202\377yyy\322,,,L\0\0\0E\0\0\0J\0\0\0B\0\0\0""1\0\0\0\35\0\0\0" "\17\0\0\0\6\0\0\0\2\0\0\0\1\0\0\0\5pppL~~~\365~~~\377~~~\377~~~\376v" "vv\332WWW|###6\1\1\1\32\0\0\0\15\0\0\0\7\0\0\0\3\0\0\0\1HHH\1zzz\25~" "~~Q~~~\242\204\204\204\352\245\245\245\377\332\332\332\377\324\324\324" "\377\225\225\225\377~~~\377}}}\364eee\210\25\25\25\77\0\0\0B\0\0\0L\0" "\0\0P\0\0\0N\0\0\0G\0\0\0""9\0\0\0*\0\0\0\35\0\0\0\21\0\0\0\11\0\0\0" "\4\0\0\0\2\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0}}\372$\177\177\377\343\177\177\377" "\377\177\177\377\377\177\177\377\377\177\177\377\377\177\177\377\377" "\207\207\377\377YY\356\377^^|\377\312\312\312\377\300\300\300\377\264" "\264\264\377\247\247\251\377\235\235\242\377\325\325\325\377\270\270" "\270\377\3\3\300\377\0\0\377\377\0\0\376\377\0\0\336\377\0\0\264\377" "\0\0\263\377\0\0\311\377\0\0\377\377\0\0\226\237\0\0\0_\0\0\0O\0\0\0" "9\0\0\0$\0\0\0\23\0\0\0\7\0\0\0\2\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\1\0\0\0\3\0\0\0\6\0\0\0\14\0\0\0\26\1" "\1\1$@@@Sttt\307\177\177\177\377\177\177\177\377\177\177\177\377\177" "\177\177\377\177\177\177\377~~~\367yyy\302llldLLL\"\20\20\20\13\0\0\0" "\6\0\0\0\4\0\0\0\2\0\0\0\1\0\0\0\1\0\0\0\1aaa\2}}}#\177\177\177\244\250" "\250\250\371\341\341\341\377\226\226\226\377\177\177\177\373bbb|\1\1" "\1;\0\0\0G\0\0\0I\0\0\0>\0\0\0-\0\0\0\32\0\0\0\14\0\0\0\5\0\0\0\1\0\0" "\0\1\0\0\0\4...\20uuu\214~~~\374~~~\377~~~\377~~~\377}}}\373zzz\343v" "vv\264ttt\205vvvvzzzw|||\223\200\200\200\275\210\210\210\346\231\231" "\231\373\270\270\270\377\336\336\336\377\326\326\326\377\247\247\247" "\377\201\201\201\377~~~\375xxx\325PPPe\5\5\5=\0\0\0E\0\0\0L\0\0\0O\0" "\0\0L\0\0\0D\0\0\0""8\0\0\0)\0\0\0\34\0\0\0\21\0\0\0\11\0\0\0\4\0\0\0" "\2\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0}}\3737\177\177\377\360\177\177\377" "\377\177\177\377\377\177\177\377\377\177\177\377\377\177\177\377\377" "\204\204\377\377::\371\377\2\2\251\377\5\5\252\377\5\5\266\377\4\4\302" "\377\3\3\316\377\4\4\254\377\224\224\250\377\304\304\304\377\4\4\263" "\377\0\0\377\377\0\0\373\377\0\0\305\377\0\0\263\377\0\0\263\377\0\0" "\303\377\0\0\377\377\0\0\252\253\0\0\0_\0\0\0P\0\0\0:\0\0\0%\0\0\0\24" "\0\0\0\10\0\0\0\3\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\1\0\0\0\3\0\0\0\6\0\0\0\14\0\0\0\26\1\1\1#\33" "\33\33:jjj\245}}}\363\177\177\177\377\177\177\177\377\177\177\177\377" "\177\177\177\377\177\177\177\377\177\177\177\374}}}\350{{{\261xxx|vv" "v[uuuDwww>zzzK}}}j~~~\250\202\202\202\353\266\266\266\376\340\340\340" "\377\236\236\236\377\177\177\177\377uuu\263\33\33\33=\0\0\0A\0\0\0I\0" "\0\0F\0\0\0:\0\0\0(\0\0\0\26\0\0\0\12\0\0\0\4\0\0\0\1\0\0\0\0\0\0\0\2" "\0\0\0\7>>>\37www\260~~~\373~~~\377~~~\377~~~\377\213\213\213\377\304" "\304\304\377\300\300\300\376\273\273\273\373\274\274\274\374\303\303" "\303\377\317\317\317\377\331\331\331\377\330\330\330\377\306\306\306" "\377\236\236\236\377\206\206\206\377~~~\377|||\357nnn\247888T\2\2\2@" "\0\0\0H\0\0\0N\0\0\0O\0\0\0K\0\0\0C\0\0\0""7\0\0\0)\0\0\0\33\0\0\0\21" "\0\0\0\11\0\0\0\4\0\0\0\2\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0~~\375" "K\177\177\377\370\177\177\377\377\177\177\377\377\177\177\377\377\177" "\177\377\377\177\177\377\377uu\377\377\36\36\377\377\0\0\377\377\0\0" "\377\377\0\0\377\377\0\0\377\377\0\0\376\377\0\0\316\377vv\226\377\256" "\256\261\377\4\4\247\377\0\0\377\377\0\0\371\377\0\0\275\377\0\0\263" "\377\0\0\263\377\0\0\301\377\0\0\377\377\0\0\243\247\0\0\0`\0\0\0Q\0" "\0\0;\0\0\0&\0\0\0\24\0\0\0\10\0\0\0\3\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\1\0\0\0\3\0\0\0" "\7\0\0\0\15\0\0\0\26\0\0\0\"\24\24\24""7XXX|www\330\177\177\177\375\177" "\177\177\377\177\177\177\377\177\177\177\377\177\177\177\377\177\177" "\177\377\177\177\177\377\177\177\177\374\177\177\177\365~~~\356\177\177" "\177\353\177\177\177\361\177\177\177\371\177\177\177\377\205\205\205" "\377\303\303\303\377\227\227\227\377\200\200\200\376zzz\326777I\1\1\1" "<\0\0\0F\0\0\0I\0\0\0B\0\0\0""3\0\0\0!\0\0\0\21\0\0\0\10\0\0\0\3\0\0" "\0\0\0\0\0\0\0\0\0\2\0\0\0\5\0\0\0\14CCC0uuu\262}}}\372~~~\377~~~\377" "\206\206\206\377\253\253\253\377\271\271\271\377\275\275\275\377\274" "\274\274\377\265\265\265\377\247\247\247\377\231\231\231\377\210\210" "\210\377\177\177\177\377~~~\377}}}\370www\322QQQr\17\17\17D\0\0\0E\0" "\0\0K\0\0\0O\0\0\0O\0\0\0I\0\0\0@\0\0\0""4\0\0\0'\0\0\0\33\0\0\0\20\0" "\0\0\11\0\0\0\4\0\0\0\2\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0~~\375`\177\177\377\376\177\177\377\377\177\177\377\377\177\177\377" "\377\177\177\377\377\200\200\377\377mm\377\377\21\21\377\377\0\0\377" "\377\0\0\377\377\0\0\377\377\0\0\377\377\0\0\367\377\0\0\275\377\21\21" "\212\377\30\30\214\377\1\1\321\377\0\0\377\377\0\0\367\377\0\0\273\377" "\0\0\263\377\0\0\263\377\0\0\277\377\0\0\377\377\0\0\221\235\0\0\0a\0" "\0\0R\0\0\0<\0\0\0'\0\0\0\25\0\0\0\11\0\0\0\3\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\1" "\0\0\0\3\0\0\0\6\0\0\0\14\0\0\0\25\0\0\0!\3\3\3/444Tjjj\256|||\364\177" "\177\177\376\177\177\177\377\177\177\177\377\177\177\177\377\177\177" "\177\377\177\177\177\377\177\177\177\377\177\177\177\377\177\177\177" "\377\177\177\177\377\177\177\177\377\177\177\177\377\177\177\177\377" "\200\200\200\377\177\177\177\376zzz\327III[\0\0\0;\0\0\0E\0\0\0J\0\0" "\0G\0\0\0;\0\0\0+\0\0\0\32\0\0\0\15\0\0\0\5\0\0\0\2\0\0\0\0\0\0\0\0\0" "\0\0\1\0\0\0\3\0\0\0\10\0\0\0\22(((+jjj\221{{{\361~~~\377~~~\377~~~\377" "~~~\377~~~\377~~~\377~~~\377~~~\377~~~\377~~~\377}}}\372ttt\315UUU\200" "\22\22\22I\0\0\0G\0\0\0L\0\0\0P\0\0\0P\0\0\0M\0\0\0F\0\0\0=\0\0\0""0" "\0\0\0#\0\0\0\30\0\0\0\17\0\0\0\10\0\0\0\4\0\0\0\2\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0~~\375m\177\177\377\377\177\177" "\377\377\177\177\377\377\177\177\377\377\205\205\377\377\254\254\377" "\377\202\202\377\377\5\5\377\377\0\0\377\377\0\0\377\377\0\0\377\377" "\0\0\377\377\0\0\367\377\0\0\273\377\0\0\263\377\0\0\274\377\0\0\353" "\377\0\0\371\377\0\0\342\377\0\0\263\377\0\0\263\377\0\0\263\377\0\0" "\275\377\0\0\374\375\0\0z\222\0\0\0a\0\0\0S\0\0\0=\0\0\0(\0\0\0\26\0" "\0\0\11\0\0\0\3\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\1\0\0\0\3\0\0\0\6\0\0\0" "\13\0\0\0\23\0\0\0\36\0\0\0*\2\2\2""8CCCklll\270|||\362\177\177\177\377" "\177\177\177\377\177\177\177\377\177\177\177\377\177\177\177\377\177" "\177\177\377\177\177\177\377\177\177\177\377\177\177\177\377\177\177" "\177\377\177\177\177\377\177\177\177\374sss\277555U\0\0\0@\0\0\0H\0\0" "\0L\0\0\0J\0\0\0A\0\0\0""1\0\0\0!\0\0\0\23\0\0\0\11\0\0\0\3\0\0\0\1\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\2\0\0\0\4\0\0\0\13\0\0\0\26\17\17\17(EE" "E[kkk\260www\340|||\366}}}\375~~~\377~~~\376}}}\373{{{\362uuu\333iii" "\267GGGy\26\26\26T\2\2\2M\0\0\0O\0\0\0Q\0\0\0Q\0\0\0O\0\0\0J\0\0\0B\0" "\0\0""8\0\0\0,\0\0\0\40\0\0\0\26\0\0\0\15\0\0\0\7\0\0\0\3\0\0\0\2\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0yy\374j\177" "\177\377\377\177\177\377\377\177\177\377\377\201\201\377\377\251\251" "\377\377\227\227\377\377((\377\377\0\0\377\377\0\0\377\377\0\0\377\377" "\0\0\377\377\0\0\374\377\0\0\333\377\0\0\266\377\0\0\263\377\0\0\263" "\377\0\0\267\377\0\0\275\377\0\0\272\377\0\0\263\377\0\0\263\377\0\0" "\263\377\0\0\274\377\0\0\367\370\0\0`\206\0\0\0a\0\0\0S\0\0\0=\0\0\0" "(\0\0\0\26\0\0\0\11\0\0\0\3\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\1\0" "\0\0\2\0\0\0\5\0\0\0\12\0\0\0\21\0\0\0\33\0\0\0&\0\0\0""3\17\17\17D:" "::ifff\256vvv\337}}}\366\177\177\177\376\177\177\177\377\177\177\177" "\377\177\177\177\377\177\177\177\377\177\177\177\376}}}\365uuu\325WW" "W\212\27\27\27P\1\1\1I\0\0\0M\0\0\0O\0\0\0L\0\0\0D\0\0\0""6\0\0\0&\0" "\0\0\30\0\0\0\14\0\0\0\5\0\0\0\2\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\2\0\0\0\7\0\0\0\16\0\0\0\31\0\0\0'\15\15\15:...ZDDDyTTT\225" "YYY\237WWW\236PPP\222:::y\"\"\"d\10\10\10V\0\0\0S\0\0\0T\0\0\0T\0\0\0" "S\0\0\0Q\0\0\0L\0\0\0F\0\0\0=\0\0\0""2\0\0\0'\0\0\0\34\0\0\0\23\0\0\0" "\14\0\0\0\7\0\0\0\3\0\0\0\1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0nn\372S}}\377\373\177\177\377\377\177\177" "\377\377\207\207\377\377\233\233\377\377cc\377\377\13\13\377\377\0\0" "\377\377\0\0\377\377\0\0\374\377\0\0\360\377\0\0\323\377\0\0\267\377" "\0\0\263\377\0\0\263\377\0\0\263\377\0\0\264\377\0\0\264\377\0\0\264" "\377\0\0\264\377\0\0\264\377\0\0\265\377\0\0\275\377\0\0\362\364\0\0" "X\204\0\0!i\0\0\15U\0\0\0=\0\0\0(\0\0\0\26\0\0\0\11\0\0\0\3\0\0\0\1\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\2\0\0\0\5\0\0\0\11\0\0\0" "\17\0\0\0\27\0\0\0#\0\0\0.\0\0\0""8\7\7\7E(((_EEE~[[[\237hhh\274nnn\312" "ooo\315lll\303^^^\245FFF\200\40\40\40`\1\1\1P\0\0\0Q\0\0\0R\0\0\0Q\0" "\0\0M\0\0\0E\0\0\0""8\0\0\0*\0\0\0\33\0\0\0\20\0\0\0\7\0\0\0\3\0\0\0" "\1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\1\0\0\0\3\0\0\0\10\0" "\0\0\17\0\0\0\32\0\0\0'\0\0\0""4\0\0\0@\0\0\0J\0\0\0O\0\0\0S\0\0\0U\0" "\0\0V\0\0\0V\0\0\0V\0\0\0U\0\0\0S\0\0\0Q\0\0\0M\0\0\0F\0\0\0\77\0\0\0" "6\0\0\0,\0\0\0!\0\0\0\30\0\0\0\20\0\0\0\12\0\0\0\5\0\0\0\3\0\0\0\1\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\362\7HH\366\77nn\376\356ll\377\377hh\377\377rr\377\377ll\377\377" "88\377\377\2\2\377\377\0\0\376\377\0\0\371\377\0\0\346\377\0\0\325\377" "\0\0\317\377\0\0\321\377\0\0\322\377\0\0\324\377\0\0\325\377\0\0\327" "\377\0\0\330\377\0\0\331\377\0\0\334\377\0\0\337\377\0\0\341\377\0\0" "\346\377\11\11\372\373\5\5\336\330\0\0\335\321\0\0\224\207\0\0\2>\0\0" "\0)\0\0\0\27\0\0\0\12\0\0\0\4\0\0\0\1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\2\0\0\0\4\0\0\0\7\0\0\0\15\0\0\0\24\0\0\0\35\0" "\0\0'\0\0\0""2\0\0\0<\0\0\0D\0\0\0K\0\0\0P\0\0\0S\0\0\0U\0\0\0V\0\0\0" "V\0\0\0V\0\0\0V\0\0\0U\0\0\0T\0\0\0Q\0\0\0L\0\0\0C\0\0\0""8\0\0\0*\0" "\0\0\35\0\0\0\21\0\0\0\11\0\0\0\4\0\0\0\1\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\1\0\0\0\4\0\0\0\10\0\0\0\17\0\0\0" "\30\0\0\0#\0\0\0.\0\0\0""8\0\0\0@\0\0\0F\0\0\0K\0\0\0M\0\0\0M\0\0\0M" "\0\0\0K\0\0\0G\0\0\0B\0\0\0;\0\0\0""3\0\0\0+\0\0\0\"\0\0\0\31\0\0\0\22" "\0\0\0\13\0\0\0\7\0\0\0\3\0\0\0\1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\377\211\0\0" "\377\365\0\0\377\376\0\0\377\377\0\0\377\377\0\0\377\377\0\0\377\377" "\0\0\377\377\0\0\377\377\0\0\377\377\0\0\377\377\0\0\377\377\0\0\377" "\377\0\0\377\377\0\0\377\377\0\0\377\377\0\0\377\377\0\0\377\377\0\0" "\377\377\0\0\377\377\0\0\377\377\0\0\377\377\6\6\377\377SS\377\377\15" "\15\377\377bb\377\37788\377\377\0\0\377\377\0\0\322\270\0\0\11A\0\0\0" "+\0\0\0\32\0\0\0\15\0\0\0\5\0\0\0\2\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\1\0\0\0\2\0\0\0\5\0\0\0\11\0\0\0\17\0\0" "\0\26\0\0\0\37\0\0\0(\0\0\0""1\0\0\0:\0\0\0B\0\0\0H\0\0\0L\0\0\0N\0\0" "\0P\0\0\0Q\0\0\0P\0\0\0N\0\0\0J\0\0\0E\0\0\0=\0\0\0""2\0\0\0&\0\0\0\33" "\0\0\0\21\0\0\0\11\0\0\0\4\0\0\0\2\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\1\0\0\0\3\0\0\0\7\0\0\0" "\16\0\0\0\25\0\0\0\35\0\0\0&\0\0\0.\0\0\0""4\0\0\0""8\0\0\0;\0\0\0<\0" "\0\0;\0\0\0""8\0\0\0""3\0\0\0.\0\0\0(\0\0\0!\0\0\0\31\0\0\0\23\0\0\0" "\15\0\0\0\10\0\0\0\5\0\0\0\2\0\0\0\1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\377\5\0" "\0\377\313\0\0\377\377\0\0\377\377\0\0\377\377\0\0\377\377\0\0\377\377" "\0\0\377\377\0\0\377\377\0\0\377\377\0\0\377\377\0\0\377\377\0\0\377" "\377\0\0\377\377\0\0\377\377\0\0\377\377\0\0\377\377\0\0\377\377\0\0" "\377\377\0\0\377\377\0\0\377\377\0\0\377\377\0\0\377\377\11\11\377\377" "{{\377\377\24\24\377\377CC\377\377AA\377\377\0\0\376\376\0\0\306\257" "\0\0\6E\0\0\0""1\0\0\0\37\0\0\0\21\0\0\0\10\0\0\0\3\0\0\0\1\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\1\0\0\0\2\0\0\0" "\4\0\0\0\7\0\0\0\13\0\0\0\21\0\0\0\30\0\0\0\37\0\0\0'\0\0\0/\0\0\0""5" "\0\0\0:\0\0\0>\0\0\0@\0\0\0A\0\0\0@\0\0\0>\0\0\0""9\0\0\0""3\0\0\0+\0" "\0\0!\0\0\0\30\0\0\0\17\0\0\0\11\0\0\0\4\0\0\0\2\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\1\0\0\0\3\0\0\0\6\0\0\0\12\0\0\0\20\0\0\0\26\0\0\0\34\0\0\0\40" "\0\0\0$\0\0\0&\0\0\0'\0\0\0&\0\0\0$\0\0\0\40\0\0\0\34\0\0\0\27\0\0\0" "\21\0\0\0\15\0\0\0\11\0\0\0\5\0\0\0\3\0\0\0\2\0\0\0\1\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\376\13\0\0\377\327\0\0\377\377\0\0\377\377\0\0\377\377" "\0\0\377\377\0\0\377\377\0\0\377\377\0\0\377\377\0\0\377\377\0\0\377" "\377\0\0\377\377\0\0\377\377\0\0\377\377\0\0\376\377\0\0\376\377\0\0" "\376\377\0\0\376\377\0\0\376\377\0\0\375\377\0\0\374\377\0\0\374\377" "\0\0\373\377\1\1\372\377\31\31\370\377\6\6\366\377\6\6\363\377\15\15" "\356\377\0\0\333\350\0\0ey\0\0\1K\0\0\0""9\0\0\0'\0\0\0\27\0\0\0\13\0" "\0\0\5\0\0\0\2\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\1\0\0\0\3\0\0\0\5\0\0\0\10\0\0\0\14\0\0\0\21" "\0\0\0\26\0\0\0\34\0\0\0!\0\0\0&\0\0\0*\0\0\0,\0\0\0-\0\0\0,\0\0\0*\0" "\0\0%\0\0\0\40\0\0\0\31\0\0\0\23\0\0\0\14\0\0\0\7\0\0\0\4\0\0\0\2\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\1\0\0\0\2\0\0\0\4\0\0\0\7\0\0" "\0\12\0\0\0\15\0\0\0\20\0\0\0\23\0\0\0\24\0\0\0\24\0\0\0\24\0\0\0\22" "\0\0\0\20\0\0\0\15\0\0\0\12\0\0\0\7\0\0\0\5\0\0\0\3\0\0\0\2\0\0\0\1\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\305\2\0\0\370\217\0\0" "\360\367\0\0\356\377\0\0\355\377\0\0\355\377\0\0\355\377\0\0\355\377" "\0\0\354\377\0\0\352\377\0\0\350\377\0\0\347\377\0\0\345\377\0\0\344" "\377\0\0\342\377\0\0\341\377\0\0\336\377\0\0\333\377\0\0\330\377\0\0" "\325\377\0\0\323\377\0\0\320\377\0\0\315\377\0\0\313\377\0\0\311\377" "\0\0\306\377\0\0\303\377\0\0\277\376\0\0\224\305\0\0\0_\0\0\0S\0\0\0" "B\0\0\0/\0\0\0\35\0\0\0\17\0\0\0\6\0\0\0\2\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\1\0\0\0\2\0\0\0\5\0\0\0\7\0\0\0\12\0\0\0\15\0\0\0\21\0\0\0\24\0\0\0" "\27\0\0\0\30\0\0\0\31\0\0\0\30\0\0\0\27\0\0\0\24\0\0\0\20\0\0\0\14\0" "\0\0\10\0\0\0\5\0\0\0\3\0\0\0\1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\1\0\0\0\2\0\0\0\3\0\0\0\5\0\0\0\6\0\0\0" "\7\0\0\0\10\0\0\0\10\0\0\0\10\0\0\0\10\0\0\0\6\0\0\0\5\0\0\0\4\0\0\0" "\2\0\0\0\1\0\0\0\1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\1\0\0\3510\0\0\325\342\0\0\273\377\0\0\272\377\0\0\305" "\377\0\0\355\377\0\0\370\377\0\0\370\377\0\0\371\377\0\0\371\377\0\0" "\372\377\0\0\372\377\0\0\373\377\0\0\373\377\0\0\373\377\0\0\373\377" "\0\0\373\377\0\0\373\377\0\0\373\377\0\0\373\377\0\0\373\377\0\0\373" "\377\0\0\373\377\4\4\374\377\15\15\374\377\31\31\374\377\17\17\366\367" "\0\0t\221\0\0\0c\0\0\0X\0\0\0H\0\0\0""4\0\0\0!\0\0\0\21\0\0\0\7\0\0\0" "\2\0\0\0\1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\1\0\0\0\2\0\0\0\3\0\0\0" "\5\0\0\0\7\0\0\0\10\0\0\0\12\0\0\0\13\0\0\0\13\0\0\0\13\0\0\0\12\0\0" "\0\10\0\0\0\7\0\0\0\5\0\0\0\3\0\0\0\2\0\0\0\1\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\1" "\0\0\0\1\0\0\0\2\0\0\0\2\0\0\0\3\0\0\0\3\0\0\0\3\0\0\0\2\0\0\0\2\0\0" "\0\1\0\0\0\1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\1\0\0\343$\0\0\305\333\0\0\263\377" "\0\0\263\377\11\11\267\377\"\"\342\377\3\3\377\377\0\0\377\377\0\0\377" "\377\0\0\377\377\0\0\377\377\0\0\377\377\0\0\377\377\0\0\377\377\0\0" "\377\377\0\0\377\377\0\0\377\377\0\0\377\377\7\7\377\377\7\7\377\377" "\14\14\377\377\12\12\377\377\12\12\377\377\26\26\377\377\16\16\377\377" "\15\15\377\377\7\7\370\366\0\0k\214\0\0\0e\0\0\0Y\0\0\0I\0\0\0""5\0\0" "\0\40\0\0\0\20\0\0\0\7\0\0\0\2\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\1\0\0\0\1\0\0\0\2\0\0\0\3\0\0\0\3\0\0\0\4\0\0\0" "\4\0\0\0\4\0\0\0\3\0\0\0\3\0\0\0\2\0\0\0\1\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\1\0\0\340\36" "\0\0\312\326\0\0\263\377\0\0\263\377\12\12\266\37744\321\377\37\37\375" "\377\0\0\377\377\0\0\377\377\0\0\377\377\0\0\377\377\0\0\377\377\0\0" "\377\377\0\0\377\377\0\0\377\377\0\0\377\377\0\0\377\377\27\27\377\377" "~~\377\377BB\377\377GG\377\377\23\23\377\377\2\2\377\377\0\0\377\377" "\0\0\377\377\0\0\377\377\0\0\366\364\0\0e\212\0\0\0d\0\0\0X\0\0\0G\0" "\0\0""2\0\0\0\36\0\0\0\17\0\0\0\6\0\0\0\2\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\1\0\0\0\1\0\0\0\1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\1" "\0\0\341\34\0\0\342\325\0\0\265\377\0\0\263\377\0\0\263\377\1\1\266\377" "\21\21\320\377\6\6\355\377\0\0\375\377\0\0\377\377\0\0\377\377\0\0\377" "\377\0\0\377\377\0\0\377\377\0\0\377\377\2\2\377\377\34\34\377\377RR" "\377\377##\377\377\1\1\377\377\0\0\377\377\0\0\377\377\0\0\377\377\0" "\0\377\377\0\0\377\377\0\0\377\377\0\0\363\357\0\0Z\205\0\0\0c\0\0\0" "U\0\0\0B\0\0\0-\0\0\0\31\0\0\0\14\0\0\0\5\0\0\0\1\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\1\0\0\350\33\0\0\366\324\0\0\306\377\0\0\263\377\0\0\263\377\0" "\0\263\377\0\0\263\377\21\21\275\377\77\77\341\37711\373\377\10\10\377" "\377\11\11\377\377\26\26\377\377**\377\377>>\377\377tt\377\377``\377" "\377\6\6\377\377\0\0\377\377\0\0\377\377\0\0\377\377\0\0\377\377\0\0" "\377\377\0\0\377\377\0\0\377\377\0\0\377\377\0\0\356\352\0\0L\177\0\0" "\0a\0\0\0R\0\0\0>\0\0\0)\0\0\0\26\0\0\0\12\0\0\0\3\0\0\0\1\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\361$\0\0\376\333\0\0\336\377\0\0\263\377\0\0\263" "\377\0\0\263\377\0\0\263\377\0\0\263\377\31\31\273\377//\312\377\27\27" "\350\377RR\356\377\207\207\367\377\232\232\376\377{{\376\377JJ\377\377" "\15\15\377\377\0\0\377\377\0\0\377\377\0\0\377\377\0\0\377\377\0\0\377" "\377\0\0\377\377\0\0\377\377\0\0\377\377\0\0\377\377\0\0\352\345\0\0" "\0\0\0" "\377\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\377\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\377\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\377\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\377\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\377\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\377\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0""7\0\0\0\377\0\0\0\273\0\0\0""6\0\0\0\377" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\377\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\377\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\377\0\0\0\377\0\0\0\377" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\245\0\0\0T\0\0\0\232\0\0\0(\0\0\0\377" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\377\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\377\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\377\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\377" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\377\0\0\0S\0\0\0\273\0\0\0-\0\0\0:\0\0" "\0\377\0\0\0""6\0\0\0\377\0\0\0\377\0\0\0\377\0\0\0""4\0\0\0\377\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\377\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\377\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\377\0\0\0""7\0\0\0q\0\0\0<\0\0\0\35" "\0\0\0d\0\0\0\273\0\0\0\377\0\0\0E\0\0\0\377\0\0\0\273\0\0\0l\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\377\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\377" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\377\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\377\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\377\0\0\0\377\0\0\0,\0\0\0\377\0\0\0\377\0\0\0" "O\0\0\0\273\0\0\0s\0\0\0l\0\0\0\377\0\0\0\377\0\0\0\377\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\377\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\377\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0l\0\0\0\232\0\0\0c\0\0\0\377\0\0\0\77\0\0\0\211" "\0\0\0v\0\0\0\77\0\0\0""7\0\0\0\377\0\0\0T\0\0\0\377\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\377\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\377\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\377\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\377\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\377" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\377\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\377\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\377\0\0\0\377\0\0\0\377\0\0\0\377\0\0" "\0\377\0\0\0\377\0\0\0\377\0\0\0\377\0\0\0\377\0\0\0\377\0\0\0\377\0" "\0\0\377\0\0\0\377\0\0\0\377\0\0\0\377\0\0\0\377\0\0\0\377\0\0\0\377" "\0\0\0\377\0\0\0\377\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0"}; passepartout-0.7.1/src/pptout/icons/streams_24.h000066400000000000000000000174361140125232500216500ustar00rootroot00000000000000/* GdkPixbuf RGBA C-Source image dump */ static const guint8 streams_24[] = { "" /* Pixbuf magic (0x47646b50) */ "GdkP" /* length: header (24) + pixel_data (2304) */ "\0\0\11\30" /* pixdata_type (0x1010002) */ "\1\1\0\2" /* rowstride (96) */ "\0\0\0`" /* width (24) */ "\0\0\0\30" /* height (24) */ "\0\0\0\30" /* pixel_data: */ "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0J\0\0\0\377\0\0" "\0\377\0\0\0\377\0\0\0\377\0\0\0J\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\377\235\235\235\377\364" "\364\363\377\360\360\357\377\226\226\226\377\0\0\0\377\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\377\0\0\0\377\0\0\0" "\377\0\0\0\377\0\0\0\377\0\0\0\377\0\0\0\377\0\0\0\377\0\0\0\377\0\0" "\0\377\0\0\0\377\0\0\0\377\364\364\363\377\360\360\357\377\354\354\353" "\377\327\327\325\377\0\0\0\377\0\0\0\377\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\377\377\377\377\377\377\377\377\377\377\377" "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377" "\377\377\377\377\377\373\373\373\377\367\367\367\377\364\364\363\377" "\360\360\357\377\354\354\353\377\351\351\347\377\345\345\342\377\303" "\303\302\377\0\0\0\377\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\377\377\377\377\377\354\354\354\377\377\377\377\377\257\257" "\257\377\0\0\0\377\0\0\0\377\0\0\0\377\0\0\0\377\277\277\277\377\341" "\341\340\377\320\320\320\377\332\332\331\377\312\312\311\377\345\345" "\342\377\320\320\316\377\261\261\257\377\0\0\0\377\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\377\377\377\377\377\377\377\377" "\377\377\377\377\377\0\0\0\377\243\243\243\377\377\377\377\377\377\377" "\377\377\243\243\243\377\0\0\0\377\360\360\357\377\354\354\353\377\351" "\351\347\377\345\345\342\377\341\341\337\377\336\336\333\377\252\252" "\247\377\0\0\0\377\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\377\0\0\0\377" "\0\0\0\377\0\0\0\377\0\0\0\377\0\0\0\377\0\0\0\377\377\377\377\377\377" "\377\377\377\377\377\377\377\354\354\354\377\0\0\0\377\0\0\0\377\0\0" "\0\377\0\0\0\377\0\0\0\377\0\0\0\377\0\0\0\377\253\253\250\377\0\0\0" "\377\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\377\377\377\377\377\377\377" "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377" "\377\377\377\377\377\377\377\377\377\377\377\377\377\374\374\374\377" "\371\371\370\377\365\365\365\377\362\362\361\377\357\357\356\377\354" "\354\352\377\327\327\325\377\0\0\0\377\244\244\241\377\0\0\0\377\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0J\0\0\0\377\0\0\0\377\0\0\0\377\0\0\0\377\303" "\303\303\377\377\377\377\377\354\354\354\377\377\377\377\377\336\336" "\336\377\373\373\373\377\327\327\327\377\304\304\303\377\322\322\321" "\377\357\357\355\377\332\332\330\377\350\350\346\377\267\267\265\377" "\0\0\0\377\245\245\242\377\0\0\0\377\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\377" "\243\243\243\377\377\377\377\377\377\377\377\377\243\243\243\377\0\0" "\0\377\377\377\377\377\377\377\377\377\376\376\376\377\373\373\373\377" "\370\370\367\377\365\365\364\377\361\361\360\377\356\356\355\377\353" "\353\351\377\350\350\346\377\345\345\342\377\264\264\262\377\0\0\0\377" "\243\243\237\377\0\0\0\377\0\0\0\0\0\0\0\0\0\0\0\377\0\0\0\377\377\377" "\377\377\377\377\377\377\377\377\377\377\354\354\354\377\0\0\0\377\0" "\0\0\377\0\0\0\377\0\0\0\377\0\0\0\377\0\0\0\377\0\0\0\377\0\0\0\377" "\0\0\0\377\0\0\0\377\0\0\0\377\0\0\0\377\261\261\257\377\0\0\0\377\243" "\243\237\377\0\0\0\377\0\0\0\0\0\0\0\0\0\0\0\377\377\377\377\377\377" "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377" "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377" "\377\377\377\377\377\377\377\377\377\377\377\377\377\375\375\375\377" "\371\371\370\377\312\312\312\377\0\0\0\377\256\256\254\377\0\0\0\377" "\243\243\237\377\0\0\0\377\0\0\0\0\0\0\0\0\0\0\0\377\377\377\377\377" "\314\314\314\377\240\240\240\377\377\377\377\377\314\314\314\377\377" "\377\377\377\314\314\314\377\377\377\377\377\377\377\377\377\377\377" "\377\377\377\377\377\377\377\377\377\377\374\374\374\377\370\370\367" "\377\364\364\363\377\272\272\271\377\0\0\0\377\254\254\250\377\0\0\0" "\377\261\261\255\377\0\0\0\377\0\0\0\0\0\0\0\0\0\0\0\377\377\377\377" "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377" "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377" "\377\377\377\377\377\377\377\373\373\373\377\367\367\366\377\363\363" "\362\377\357\357\355\377\273\273\271\377\0\0\0\377\250\250\245\377\0" "\0\0\377\0\0\0\377\0\0\0\377\0\0\0\0\0\0\0\0\0\0\0\377\377\377\377\377" "\354\354\354\377\336\336\336\377\314\314\314\377\336\336\336\377\377" "\377\377\377\336\336\336\377\354\354\354\377\354\354\354\377\324\324" "\324\377\317\317\317\377\343\343\342\377\301\301\300\377\334\334\332" "\377\330\330\326\377\267\267\265\377\0\0\0\377\246\246\242\377\0\0\0" "\377\377\377\377\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\377\377\377\377\377" "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377" "\377\377\377\377\377\377\377\377\377\377\377\376\376\376\377\371\371" "\371\377\365\365\364\377\361\361\360\377\355\355\353\377\351\351\347" "\377\345\345\342\377\263\263\260\377\0\0\0\377\243\243\237\377\0\0\0" "\377\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\377\377\377\377\377\336\336" "\336\377\307\307\307\377\314\314\314\377\377\377\377\377\336\336\336" "\377\336\336\336\377\375\375\375\377\317\317\316\377\303\303\302\377" "\307\307\306\377\354\354\352\377\311\311\310\377\306\306\303\377\340" "\340\335\377\257\257\254\377\0\0\0\377\234\234\230\377\0\0\0\377\377" "\377\377\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\377\377\377\377\377\377\377" "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377" "\377\374\374\374\377\370\370\367\377\364\364\363\377\357\357\356\377" "\353\353\351\377\347\347\345\377\343\343\340\377\337\337\334\377\333" "\333\327\377\253\253\250\377\0\0\0\377\0\0\0\377\0\0\0\377\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\377\377\377\377\377\332\332\332\377\354" "\354\354\377\314\314\314\377\314\314\314\377\350\350\350\377\367\367" "\366\377\340\340\337\377\335\335\333\377\313\313\311\377\270\270\266" "\377\273\273\271\377\336\336\333\377\311\311\306\377\306\306\302\377" "\247\247\244\377\0\0\0\377\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\377\377\377\377\377\377\377\377\377\377\377\377\377\377" "\377\377\377\372\372\372\377\366\366\365\377\362\362\361\377\356\356" "\354\377\352\352\350\377\345\345\343\377\341\341\336\377\335\335\332" "\377\331\331\325\377\325\325\321\377\321\321\314\377\261\261\255\377" "\0\0\0\377\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\377" "\324\324\324\377\314\314\314\377\313\313\313\377\307\307\307\377\304" "\304\303\377\300\300\300\377\275\275\274\377\272\272\270\377\267\267" "\264\377\263\263\260\377\260\260\255\377\254\254\251\377\245\245\242" "\377\246\246\242\377\243\243\237\377\226\226\224\377\0\0\0\377\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\377\0\0\0\377\0\0\0" "\377\0\0\0\377\0\0\0\377\0\0\0\377\0\0\0\377\0\0\0\377\0\0\0\377\0\0" "\0\377\0\0\0\377\0\0\0\377\0\0\0\377\0\0\0\377\0\0\0\377\0\0\0\377\0" "\0\0\377\0\0\0\377\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"}; passepartout-0.7.1/src/pptout/icons/wait.xpm000066400000000000000000000010021140125232500211640ustar00rootroot00000000000000/* XPM */ static char * wait_xpm[] = { /* width height num_colors chars_per_pixel */ "16 16 5 1", /* colors */ " s None c None", ". c black", "X c brown", "o c white", "O c tan", /* pixels */ " ........... ", " .XXXXXXXXX. ", " ........... ", " .ooooooo. ", " .ooooooo. ", " .OOOOO. ", " .OOO. ", " .O. ", " .O. ", " .oOo. ", " .ooOoo. ", " .oOOOOOo. ", " .OOOOOOO. ", " ........... ", " .XXXXXXXXX. ", " ........... "}; passepartout-0.7.1/src/pptout/imagemeta.cc000066400000000000000000000044431140125232500206330ustar00rootroot00000000000000/// // Copyright (C) 2002 - 2004, Fredrik Arnerup & Rasmus Kaj, See COPYING /// #include "imagemeta.h" #include "document/imageframe.h" #include "propbase.h" #include "postscriptviewent.h" #include "widget/filesel.h" #include "widget/wmisc.h" #include Pagent* ImageMeta::load(const ElementWrap& xml, Group* parent) { return new ImageFrame(xml, parent); } Viewent::Ref ImageMeta::create_viewent(View& view, Pagent& node) { PostscriptViewent* rawresult = new PostscriptViewent(view, &dynamic_cast(node)); Viewent::Ref result(rawresult); result->reference(); // Images should be re-rastered when geometry changes, but not text frames, // so connect this signal here rather than in the result. node.geometry_changed_signal.connect (sigc::mem_fun(*rawresult, &PostscriptViewent::regenerate)); return result; } // Properties for a EPS image, as represented by ImageFrame. // Currently just displays the filename. It should be able to change the file // name and possibly display some of the header info from the EPS (title, // created by, etc). class PropImage : public GenericProp { public: PropImage() : GenericProp("_EPS"), e_fname("Associated File") { Gtk::Box *line = manage(new Gtk::HBox(false, double_space)); Gtk::Label *label = manage(new Gtk::Label("_Filename:", 0.0, 0.5, true)); label->set_mnemonic_widget(e_fname); line->pack_start(*label, Gtk::PACK_SHRINK); line->pack_start(e_fname); e_fname.entry.get_entry().signal_activate().connect (sigc::mem_fun(*this, &PropImage::on_change)); e_fname.entry.get_entry().signal_focus_out_event().connect (sigc::hide(bind_return(sigc::mem_fun(*this, &PropImage::on_change), true))); pack_start(*line, Gtk::PACK_SHRINK); set_sensitive(false); update(); } void update() { if(object) { e_fname.entry.set_text(object->get_association(), true /* save history */); } else { e_fname.entry.set_text(""); } } void on_change() { if(object) object->set_association(e_fname.entry.get_text()); } private: FileEntry e_fname; }; PropBase* ImageMeta::getProp() { return new PropImage; } passepartout-0.7.1/src/pptout/imagemeta.h000066400000000000000000000005741140125232500204760ustar00rootroot00000000000000#ifndef IMAGEMETA_H // -*- c++ -*- #define IMAGEMETA_H /// // Copyright (C) 2002 - 2004, Fredrik Arnerup & Rasmus Kaj, See COPYING /// #include "metabase.h" #include "util/xmlwrap.h" class ImageMeta : public MetaBase { public: Pagent* load(const ElementWrap& node, Group* parent); Viewent::Ref create_viewent(View& view, Pagent& node); PropBase* getProp(); }; #endif passepartout-0.7.1/src/pptout/inspiration.cc000066400000000000000000000211511140125232500212340ustar00rootroot00000000000000/// // Copyright (C) 2002 - 2004, Fredrik Arnerup & Rasmus Kaj, See COPYING /// #include "inspiration.h" #include "widget/wmisc.h" #include "util/warning.h" #include #include #include #include #include #include #include // To build as stand-alone program: // g++ -g -DSTANDALONE_INSPIRATION -Wall -o inspiration `pkg-config gtkmm-2.0 --cflags --libs` inspiration.cc #ifdef STANDALONE_INSPIRATION unsigned int border_width = 12; #endif class Game: public Gtk::DrawingArea { sigc::connection connection; Glib::RefPtr win; Glib::RefPtr visual; Glib::RefPtr gc; Glib::RefPtr image; static const int candy_size = 10; int score, grow_count; bool has_moved; struct Vect {int x, y;}; Vect candy_pos; struct Snake { static const int width = 2; Vect direction, head, tail; } snake; virtual bool on_configure_event(GdkEventConfigure*); virtual bool on_expose_event(GdkEventExpose*); bool grow(); void shrink(); bool update(); bool check_clean(int x, int y, int w, int h); void candy_found(); Gdk::Color snake_color, bg_color, candy_color; void put_pixel(Glib::RefPtr, int x, int y, Gdk::Color &color); void draw_rect(Gdk::Color &color, bool filled, int x, int y, int w, int h); public: sigc::signal score_change_signal; Game(); bool on_key_press_event(GdkEventKey*); void new_game(); void stop_game(); }; Game::Game(): Gtk::DrawingArea(), has_moved(false), snake_color("green"), bg_color("black"), candy_color("light green") { set_events(Gdk::EXPOSURE_MASK| Gdk::KEY_PRESS_MASK); } bool Game::on_configure_event(GdkEventConfigure*) { Glib::RefPtr colormap = get_colormap(); if(!(colormap->alloc_color(snake_color) && colormap->alloc_color(candy_color) && colormap->alloc_color(bg_color))) warning << "Inspiration: Failed to allocate required colors" << std::endl; win = get_window(); visual = win->get_visual(); if(!image) { gc = get_style()->get_white_gc(); image = Gdk::Image::create(Gdk::IMAGE_NORMAL, visual, get_width(), get_height()); draw_rect(bg_color, true, 1, 1, get_width()-2, get_height()-2); } return true; } bool Game::on_key_press_event(GdkEventKey *key) { if(!has_moved) // to avoid moving back into itself return false; has_moved = false; switch(key->keyval) { case 65361: if(snake.direction.x != 1) { snake.direction.x = -1; snake.direction.y = 0; } return true; break; case 65362: if(snake.direction.y != 1) { snake.direction.x = 0; snake.direction.y = -1; } return true; break; case 65363: if(snake.direction.x != -1) { snake.direction.x = 1; snake.direction.y = 0; } return true; break; case 65364: if(snake.direction.y != -1) { snake.direction.x = 0; snake.direction.y = 1; } return true; break; default: return false; break; } } bool Game::on_expose_event(GdkEventExpose *event) { gc = get_style()->get_fg_gc(get_state()); if(!image) new_game(); else win->draw_image(gc , image, event->area.x, event->area.y, event->area.x, event->area.y, event->area.width, event->area.height); return false; } void Game::put_pixel(Glib::RefPtr, int x, int y, Gdk::Color &color) { if(x >= 0 && y >= 0 && x < get_width() && y < get_height()) image->put_pixel(x, y, color.get_pixel()); } void Game::draw_rect(Gdk::Color &color, bool filled, int x, int y, int w, int h) { if(filled) { for(int i = 0; i < w; i++) for(int j = 0; j < h; j++) put_pixel(image, x + i, y + j, color); } else { for(int i = 0; i < w; i++) { put_pixel(image, x + i, y, color); put_pixel(image, x + i, y + h - 1, color); } for(int j = 0; j < h; j++) { put_pixel(image, x, y + j, color); put_pixel(image, x + w - 1, y + j, color); } } } bool Game::check_clean(int x, int y, int w, int h) { for(int i = 0; i < w; i++) for(int j = 0; j < h; j++) if(image->get_pixel(x + i, y + j) != bg_color.get_pixel()) return false; return true; } void Game::candy_found() { static const int maxcount = 100; int i = 0; grow_count = 20; if(candy_pos.x >= 0 && candy_pos.y >= 0) { draw_rect(bg_color, true, candy_pos.x, candy_pos.y, candy_size, candy_size); } score_change_signal(score += 100); do { candy_pos.x = int((get_width() - candy_size) * (double(rand()) / RAND_MAX)); candy_pos.y = int((get_height() - candy_size) * (double(rand()) / RAND_MAX)); } while(i++ < maxcount && !check_clean(candy_pos.x, candy_pos.y, candy_size, candy_size)); if(i < maxcount) { draw_rect(candy_color, true, candy_pos.x, candy_pos.y, candy_size, candy_size); } else { // ? } } void Game::new_game() { stop_game(); grow_count = 0; score = -100; image = Gdk::Image::create(Gdk::IMAGE_NORMAL, visual, get_width(), get_height()); draw_rect(bg_color, true, 0, 0, get_width(), get_height()); draw_rect(snake_color, false, 0, 0, get_width(), get_height()); candy_pos.x = -1; snake.direction.x = 1; snake.direction.y = 0; snake.head.x = get_width() / 2; snake.head.y = get_height() / 2; snake.tail = snake.head; for(int i = 0; i < 10; i++) grow(); candy_found(); connection = Glib::signal_timeout().connect (sigc::mem_fun(*this, &Game::update), 20); } void Game::stop_game() { connection.disconnect(); } bool Game::grow() { snake.head.x += snake.direction.x * snake.width; snake.head.y += snake.direction.y * snake.width; if(snake.head.x + snake.width - 1 >= candy_pos.x && snake.head.y + snake.width - 1 >= candy_pos.y && snake.head.x <= candy_pos.x + candy_size - 1 && snake.head.y <= candy_pos.y + candy_size - 1) candy_found(); bool inside = snake.head.x >= 0 && snake.head.x < get_width() && snake.head.y >= 0 && snake.head.y < get_height(); guint32 pixel; if(inside) pixel = image->get_pixel(snake.head.x, snake.head.y); draw_rect(snake_color, true, snake.head.x, snake.head.y, snake.width, snake.width); return !(!inside || pixel != bg_color.get_pixel()); } void Game::shrink() { if(grow_count > 0) { --grow_count; return; } draw_rect(bg_color, true, snake.tail.x, snake.tail.y, snake.width, snake.width); Vect tmp = snake.tail; snake.tail = tmp; snake.tail.x += snake.width; if(image->get_pixel(snake.tail.x, snake.tail.y) == snake_color.get_pixel()) return; snake.tail = tmp; snake.tail.x -= snake.width; if(image->get_pixel(snake.tail.x, snake.tail.y) == snake_color.get_pixel()) return; snake.tail = tmp; snake.tail.y += snake.width; if(image->get_pixel(snake.tail.x, snake.tail.y) == snake_color.get_pixel()) return; snake.tail = tmp; snake.tail.y -= snake.width; if(image->get_pixel(snake.tail.x, snake.tail.y) == snake_color.get_pixel()) return; } bool Game::update() { shrink(); shrink(); if(!grow() || !grow()) connection.disconnect(); queue_draw(); has_moved = true; return true; } //************************** //Inspiration //************************** Inspiration *Inspiration::_instance = 0; Inspiration &Inspiration::instance() { if(!_instance) _instance = new Inspiration(); return *_instance; } Inspiration::Inspiration() :DialogWrap("Inspiration"), score(manage(new Gtk::Label())), game(new Game()) { set_events(Gdk::KEY_PRESS_MASK); game->set_size_request(320, 240); set_border_width(border_width); set_resizable(false); get_vbox()->pack_start(*score, Gtk::PACK_EXPAND_PADDING, 0); get_vbox()->pack_start(*game, Gtk::PACK_EXPAND_PADDING, 0); add_button(Gtk::Stock::CLOSE, 0); add_button(Gtk::Stock::EXECUTE, 1); game->score_change_signal.connect (sigc::mem_fun(*this, &Inspiration::score_change)); } Inspiration::~Inspiration() {} void Inspiration::on_response(int response_id) { switch(response_id) { case 0: che_alert(); break; case 1: game->new_game(); break; default: break; } } bool Inspiration::on_key_press_event(GdkEventKey *key) { return game->on_key_press_event(key) ? false : Gtk::Window::on_key_press_event(key); } void Inspiration::che_alert() { game->stop_game(); hide(); } void Inspiration::score_change(long score_) { score->set_text("Score: " + tostr(int(score_))); } #ifdef STANDALONE_INSPIRATION int main(int argc, char **argv) { Gtk::Main kit(argc, argv); Inspiration inspiration; Gtk::Main::run(inspiration); return 0; } #endif passepartout-0.7.1/src/pptout/inspiration.h000066400000000000000000000014551140125232500211030ustar00rootroot00000000000000#ifndef INSPIRATION_H // -*- c++ -*- #define INSPIRATION_H /// // Copyright (C) 2002 - 2004, Fredrik Arnerup & Rasmus Kaj, See COPYING /// #include "widget/dialogwrap.h" #include class Game; /** * Inspiration for an empty mind. * This is a singleton. */ class Inspiration: public DialogWrap { public: static Inspiration &instance(); private: static Inspiration *_instance; Gtk::Label *score; std::auto_ptr game; Inspiration(); // no default constructors: Inspiration(const Inspiration&); void operator = (const Inspiration&); // no destructor ~Inspiration(); void on_response(int response_id); bool on_key_press_event(GdkEventKey*); void che_alert(); void score_change(long score_); bool on_delete_event(GdkEventAny*) { che_alert(); return true; } }; #endif passepartout-0.7.1/src/pptout/lengthunits.cc000066400000000000000000000011001140125232500212310ustar00rootroot00000000000000/// // Copyright (C) 2003, 2004, Fredrik Arnerup & Rasmus Kaj, See COPYING /// #include "lengthunits.h" LengthUnits length_units; AngleUnits angle_units; LengthUnits::LengthUnits() : Units("pt") // Adobe points { add_unit("mm", 72 / 25.4); // millimeters add_unit("cm", 10 * 72 / 25.4); // centimeters add_unit("in", 72); // inches add_unit("pica", 12); // picas (Adobe) } AngleUnits::AngleUnits() : Units(Glib::ustring(1, gunichar(0xb0))) // degrees { add_unit("rad", 180 / 3.14159265358979323846); // radians } passepartout-0.7.1/src/pptout/lengthunits.h000066400000000000000000000007271140125232500211110ustar00rootroot00000000000000#ifndef LENGTHUNITS_H // -*- c++ -*- #define LENGTHUNITS_H /// // Copyright (C) 2002 - 2004, Fredrik Arnerup & Rasmus Kaj, See COPYING /// #include "util/units.h" #include typedef Units FUUnits; class LengthUnits: public FUUnits { public: LengthUnits(); }; // Have to rename this file ... class AngleUnits: public FUUnits { public: AngleUnits(); }; extern LengthUnits length_units; extern AngleUnits angle_units; #endif passepartout-0.7.1/src/pptout/main.cc000066400000000000000000000060711140125232500176250ustar00rootroot00000000000000/// // Copyright (C) 2002 - 2004, Fredrik Arnerup & Rasmus Kaj, See COPYING /// #include #include "util/warning.h" #include "util/tempfile.h" #include "util/cmdline.h" #include "widget/errordialog.h" #include "defines.h" // VERSION #include "window.h" #include "config.h" #include "icons/icon_48.h" #include "stockitems.h" int main(int argc, char *argv[]) { try { init_exception_handler(); int win_count = 0; // set prefix for temp files Tempfile::set_prefix("pptout"); // initialize threads Glib::thread_init(); // initialise gtkmm Gtk::Main kit(argc, argv); // initialize GnomeCanvas Gnome::Canvas::init(); // register new stock items register_stock_items(); // application icon std::vector > icon_list; icon_list.push_back(Gdk::Pixbuf::create_from_inline(sizeof(icon_48), icon_48)); Gtk::Window::set_default_icon_list(icon_list); // parse command line CmdLine cmdline(argc, argv); const int o_version = cmdline.add_option(CmdLine::Option('v', "version", CmdLine::Option::NO_PARAM, "Show version number")); const int o_verbose = cmdline.add_option(CmdLine::Option('V', "", CmdLine::Option::NO_PARAM, "Be verbose")); const int o_debug = cmdline.add_option(CmdLine::Option('d', "", CmdLine::Option::NO_PARAM, "Show debugging messages")); const int o_help = cmdline.add_option(CmdLine::Option('h', "help", CmdLine::Option::NO_PARAM, "Show this help message")); CmdLine::ParsedOptions opts = cmdline.parse(); for(CmdLine::ParsedOptions::const_iterator arg = opts.begin(); arg != opts.end(); arg++) { int option = arg->first; if(!option) { try { /// \todo config.read()? config.read(); // after the cerr aliases are set new FrameWindow(arg->second); win_count++; } catch(const std::exception& err) { warning << "Error opening \"" << arg->second << "\": " << err.what() << std::endl; } } else if(option == o_version) { warning << "Passepartout " << std::string(VERSION) << std::endl; return 0; } else if(option == o_verbose) { verbose.active = true; } else if(option == o_debug) { verbose.active = true; debug.active = true; debug << "Debug mode active" << std::endl; // Why wait? } else if(option == o_help) { std::cout << "Usage: passepartout [options] [files...]" << std::endl; cmdline.print_usage(std::cout); return 0; } } if(!win_count) { // open empty window config.read(); // after the cerr aliases are set new FrameWindow(); win_count++; } // if no windows were opened, don't run the kit if(win_count) { gdk_rgb_init(); // Needed before rendering pixbuf to screen. Gtk::Main::run(); } return 0; } catch(const std::exception &err) { warning << err.what() << std::endl; return 1; } catch(...) { warning << "Caught an exception that wasn't a std::exception." << std::endl; return 1; } } passepartout-0.7.1/src/pptout/metabase.h000066400000000000000000000010161140125232500203160ustar00rootroot00000000000000#ifndef METABASE_H // -*- c++ -*- #define METABASE_H /// // Copyright (C) 2002 - 2004, Fredrik Arnerup & Rasmus Kaj, See COPYING /// #include "document/pagent.h" #include "propbase.h" #include "viewent.h" /** * An interface to get information about frame kinds. To invent a new kind of * frame, simply implement this interface and the objects it returns. */ class MetaBase { public: virtual Viewent::Ref create_viewent(View& view, Pagent& node) = 0; // MAY return 0. virtual PropBase* getProp() = 0; }; #endif passepartout-0.7.1/src/pptout/pagemeta.cc000066400000000000000000000007531140125232500204650ustar00rootroot00000000000000/// // Copyright (C) 2002 - 2004, Fredrik Arnerup & Rasmus Kaj, See COPYING /// #include "pagemeta.h" #include "pageviewent.h" Pagent* PageMeta::load(const xmlpp::Element& node, Group* parent){ throw std::runtime_error("pagemeta can't load yet"); } Viewent::Ref PageMeta::create_viewent(View& view, Pagent& node) { Viewent::Ref result(new PageViewent (view, &dynamic_cast(node))); result->reference(); return result; } PropBase* PageMeta::getProp() { return 0; } passepartout-0.7.1/src/pptout/pagemeta.h000066400000000000000000000005421140125232500203230ustar00rootroot00000000000000#ifndef PAGEMETA_H // -*- c++ -*- #define PAGEMETA_H /// // Copyright (C) 2002 - 2004, Fredrik Arnerup & Rasmus Kaj, See COPYING /// #include "metabase.h" class PageMeta : public MetaBase { public: Pagent* load(const xmlpp::Element& node, Group* parent); Viewent::Ref create_viewent(View& view, Pagent& node); PropBase* getProp(); }; #endif passepartout-0.7.1/src/pptout/pagesel.cc000066400000000000000000000062751140125232500203270ustar00rootroot00000000000000/// // Copyright (C) 2002 - 2004, Fredrik Arnerup & Rasmus Kaj, See COPYING /// #include "pagesel.h" #include "document/page.h" #include "document/document.h" #include namespace { void page_selected_action(DocumentView *view, const Gtk::ComboBoxText *pages) { DocRef document = view->get_document(); Page *page; if(document && (page = document->get_page(pages->get_active_text()))) view->set_current_page_num(page->get_page_num()); } void next(DocumentView *view) { view->set_current_page_num(view->get_current_page_num() + 1); } void prev(DocumentView *view) { view->set_current_page_num(view->get_current_page_num() - 1); } } void Pagesel::update() { // we don't want to act on signal_changed while we're updating struct ConnectionBlocker { sigc::connection &connection; ConnectionBlocker(sigc::connection &connection) : connection(connection) { connection.block(); } ~ConnectionBlocker() { connection.unblock(); } } blocker(changed_connection); DocRef document = document_view.get_document(); Glib::RefPtr::cast_dynamic(pages.get_model())->clear(); bool have_pages = document && document->get_num_of_pages(); set_sensitive(have_pages); if(!have_pages){ pages.append_text("-"); pages.set_active(0); return; } int i = document->get_first_page_num(); while(i < (document->get_first_page_num() + int(document->get_num_of_pages()))) { Glib::ustring tmp; // The doublesided feature is useless until we can display // two pages at once, so it is disabled if(false // document->is_doublesided() && i == document->get_first_page_num() && i % 2 != 0) tmp = "-"; else { if(document->get_page(i)) tmp = document->get_page(i)->get_name(); i++; } if(false) // document->is_doublesided()) { if(i < (document->get_first_page_num() + int(document->get_num_of_pages()))) { if(document->get_page(i)) tmp += ", " + document->get_page(i)->get_name(); i++; } else tmp += ", -"; } pages.append_text(tmp); } int index = document_view.get_current_page_num() - document->get_first_page_num(); pages.set_active(index); left.set_sensitive(index); right.set_sensitive(index < (pages.get_model()->children().size()) - 1); } Pagesel::Pagesel(DocumentView &docview) : document_view(docview) { using namespace sigc; document_view.current_page_num_changed_signal.connect (mem_fun(*this, &Pagesel::update)); document_view.document_changed_signal.connect (mem_fun(*this, &Pagesel::update)); left.add(*manage(new Gtk::Arrow(Gtk::ARROW_LEFT, Gtk::SHADOW_NONE))); right.add(*manage(new Gtk::Arrow(Gtk::ARROW_RIGHT, Gtk::SHADOW_NONE))); update(); pack_start(left, Gtk::PACK_SHRINK); pack_start(pages, Gtk::PACK_SHRINK); pack_start(right, Gtk::PACK_SHRINK); left.signal_clicked().connect(bind(sigc::ptr_fun(&prev), &document_view)); right.signal_clicked().connect(bind(sigc::ptr_fun(&next), &document_view)); changed_connection = pages.signal_changed().connect (bind(sigc::ptr_fun(&page_selected_action), &document_view, &pages)); show_all(); } passepartout-0.7.1/src/pptout/pagesel.h000066400000000000000000000010061140125232500201540ustar00rootroot00000000000000#ifndef PAGESEL_H // -*- c++ -*- #define PAGESEL_H /// // Copyright (C) 2002 - 2004, Fredrik Arnerup & Rasmus Kaj, See COPYING /// #include "docview.h" #include #include #include class Pagesel: public Gtk::HBox { public: Pagesel(DocumentView &docview); Gtk::Widget& get_menu() { return pages; } private: sigc::connection changed_connection; DocumentView &document_view; Gtk::ComboBoxText pages; Gtk::Button left, right; void update(); }; #endif passepartout-0.7.1/src/pptout/pageviewent.cc000066400000000000000000000047171140125232500212240ustar00rootroot00000000000000/// // Copyright (C) 2003, 2004, Fredrik Arnerup & Rasmus Kaj, See COPYING /// #include "pageviewent.h" #include "document/document.h" PageViewent::PageViewent(View& view, const FrameRef pageframe) : GroupViewent(view, pageframe), page(pageframe), guide_group(view.get_guide_group()) { Document::selection_changed_signal.connect (sigc::mem_fun(*this, &PageViewent::on_selection_changed)); /// \todo maybe let Page throw a size_changed_signal instead? Document::containing(*page).size_changed_signal.connect (sigc::mem_fun(*this, &PageViewent::on_size_changed)); using namespace Gnome::Canvas; paper.reset(new Rect(view.get_pagent_group())); paper->property_fill_color_gdk() = view.get_color(Color::bg); paper->lower_to_bottom(); on_size_changed(); float width = page->get_width(); float height = page->get_height(); /// \todo update guides when the page size changes const float extra = 10; // let the guides be slightly wider than the page for(Page::Guides::const_iterator i = page->guides.begin(); i != page->guides.end(); i++) { Points points; switch(i->orientation) { case Guide::HORIZONTAL: points.push_back(Gnome::Art::Point(-extra, -i->position)); points.push_back(Gnome::Art::Point(width + extra, -i->position)); break; case Guide::VERTICAL: points.push_back(Gnome::Art::Point(i->position, extra)); points.push_back(Gnome::Art::Point(i->position, -(height + extra))); break; } Line *line = manage(new Line(guide_group, points)); line->property_fill_color_gdk() = view.get_color(Color::guide); line->property_line_style() = Gdk::LINE_ON_OFF_DASH; line->property_width_pixels() = 1; } rect->hide(); // no frame please // if this is a new view, something might be selected already on_selection_changed(Document::containing(*page).self()); } PageViewent::~PageViewent() { } void PageViewent::on_size_changed() { paper->property_x1() = 0; paper->property_y1() = 0; paper->property_x2() = page->get_width(); paper->property_y2() = -page->get_height(); } void PageViewent::on_selection_changed(DocRef doc) { if(doc != Document::containing(*page).self()) return; else update_selection(doc->selected()); } #ifdef PNUM_HACK // this is duplicated from page.cc namespace { struct PNumHack { //page numbering hack static const int xpos=40; //points static const int ypos=40; //points static const int font_size=10; } pnum_hack; } #endif passepartout-0.7.1/src/pptout/pageviewent.h000066400000000000000000000013451140125232500210600ustar00rootroot00000000000000#ifndef PPT_PAGEVIEWENT_H // -*- C++ -*- #define PPT_PAGEVIEWENT_H /// // Copyright (C) 2003, 2004, Fredrik Arnerup & Rasmus Kaj, See COPYING /// #include "groupviewent.h" #include "document/page.h" #include // auto_ptr /** * {Viewent} for a {Page}. Responsible for drawing guides etc, {GroupViewent} * draws the actual content. */ class PageViewent : public GroupViewent { typedef Page* FrameRef; public: PageViewent(View& view, const FrameRef page); ~PageViewent(); protected: const Pagent* get_frame() const { return page; } private: void on_size_changed(); void on_selection_changed(DocRef doc); FrameRef page; std::auto_ptr paper; Gnome::Canvas::Group guide_group; }; #endif passepartout-0.7.1/src/pptout/postscriptviewent.cc000066400000000000000000000175111140125232500225160ustar00rootroot00000000000000/// // Copyright (C) 2003, 2004, Fredrik Arnerup & Rasmus Kaj, See COPYING /// #include "postscriptviewent.h" #include "config.h" #include "document/basicframe.h" // For Gen_Pic_Error; Todo: remove! #include "util/tempfile.h" #include "util/processman.h" #include "util/os.h" #include "util/filesys.h" #include "util/warning.h" #include "util/stringutil.h" // tostr #include "fonts/fontmanager.hh" // getFontPaths #include "widget/usererror.h" #include /// \todo Remote the following line! typedef BasicFrame::GenPicError GenPicError; namespace { enum SpecialPid { P_SHUTDOWN = -3, P_STARTUP = -2, P_IDLE = -1 }; const string& preferredDeviceName() { static string devicename; if(devicename.empty()) { verbose << "Deciding which ghostscript device to use ..." << std::endl; /// \todo Get a "required" attribute from the configuration! const std::string &psinterpreter = config.PSInterpreter.values.front(); if(psinterpreter.empty()) throw UserError("No postscript interpreter specified.", "You probably have a configuration file without the" " PSInterpreter property set."); if(ProcessManager::instance() .system(psinterpreter + " -q -dBATCH -sDEVICE=pngalpha") == 0) devicename = "pngalpha"; else devicename = "ppmraw"; verbose << "... using the " << devicename << " device." << std::endl; } return devicename; } } PostscriptViewent::PostscriptViewent(View& view, const FrameRef psframe, int _scale_factor) : Viewent(view, psframe), frame(psframe), pid(P_IDLE), tmp_file(Tempfile::find_new_name()), scale_factor(_scale_factor), redraw_requested(false) { if(preferredDeviceName() == "pngalpha") scale_factor = 1; ProcessManager::instance().process_stopped.connect (sigc::mem_fun(*this, &PostscriptViewent::process_stopped)); /// \todo Only regenerate when necessary, i.e. not when just moving ... frame->object_changed_signal.connect (sigc::mem_fun(*this, &PostscriptViewent::regenerate)); view.connect_zoom_change (sigc::hide(sigc::mem_fun(*this, &PostscriptViewent::regenerate))); canvas_pixbuf.reset(new Gnome::Canvas::Pixbuf(*content_group)); canvas_pixbuf->property_anchor() = Gtk::ANCHOR_SOUTH_WEST; canvas_pixbuf->property_x() = 0; canvas_pixbuf->property_y() = 0; canvas_pixbuf->property_width_in_pixels() = true; canvas_pixbuf->property_height_in_pixels() = true; on_properties_changed(); on_geometry_changed(); regenerate(); } PostscriptViewent::~PostscriptViewent() { redraw_requested = false; if(pid == P_STARTUP) { cerr << "PostscriptViewent terminating while in startup. Bad." << std::endl; } else if(pid > P_IDLE) { stop_process(); } try { unlink(tmp_file); } catch(std::exception& err) { warning << "Failed to delete postscript view render file." << err.what() << std::endl; } } void PostscriptViewent::set_state(State state) { Viewent::set_state(state); // make sure old images don't linger if(state == BROKEN || state == MISSING) { canvas_pixbuf->property_pixbuf() = Glib::RefPtr(); } } void PostscriptViewent::regenerate() { if(pid != P_IDLE) { //verbose << "PostscriptViewent already running gs " << pid << std::endl; redraw_requested = true; return; } else { pid = P_STARTUP; Glib::signal_timeout().connect (sigc::mem_fun(*this, &PostscriptViewent::regenerate_bg), 200, Glib::PRIORITY_DEFAULT_IDLE); } } /** This method is run as a separate thread by regenerate(). */ bool PostscriptViewent::regenerate_bg() { try { set_state(WAIT); redraw_requested = false; /// \todo Get a "required" attribute from the configuration! const std::string &psinterpreter = config.PSInterpreter.values.front(); if(psinterpreter.empty()) throw UserError("No postscript interpreter specified.", "You probably have a configuration file without the" " PSInterpreter property set."); const Matrix &m = frame->get_matrix(); const Vector framesize = frame->get_inherent_size(); // Size of frame as pixels in this view. const Gdk::Point pv(int(view.pt2scr(framesize.x * m.sc_x())), int(view.pt2scr(framesize.y * m.sc_y()))); if(pv.get_x() == 0 || pv.get_y() == 0) throw GenPicError(BasicFrame::ZEROSIZE, "Picture has zero size"); std::ostringstream tmp; tmp << psinterpreter //assuming it is ghostscript << " -q -dSAFE -dNOPAUSE -dBATCH" << " -sDEVICE=" << preferredDeviceName(); // gs doesn't use fontconfig, so give font paths as parameters using font::FontManager; const FontManager::FontPaths &fontpaths = FontManager::instance().getFontPaths(); if(!fontpaths.empty()) { tmp << " -sFONTPATH="; FontManager::FontPaths::const_iterator i; for(i = fontpaths.begin(); i != fontpaths.end(); i++) { if(i != fontpaths.begin()) tmp << ":"; // colon is path separator for unix tmp << *i; } } tmp << " -r" << view.get_scrres() * scale_factor << " -g" << scale_factor * pv.get_x() << 'x' << scale_factor * pv.get_y() << " -sOutputFile=" << tmp_file << " -"; Process proc = ProcessManager::instance().run(tmp.str()); pid = proc->get_pid(); verbose << pid << ": " << tmp.str() << std::endl; frame->generate_picture(proc->get_cin()); } catch(const GenPicError &e) { stop_process(); if(e.type == BasicFrame::NOTREADY) redraw_requested = true; // simply try again else { set_state(e.type == BasicFrame::ASSOCIATION ? MISSING : BROKEN); warning << "PostScriptviewent for " << frame->get_name() << ": GenPicError: " << e.what() << std::endl; } pid = P_IDLE; } catch(const std::exception& e) { stop_process(); warning << "PostScriptviewent for " << frame->get_name() << ": " << e.what() << std::endl; set_state(BROKEN); pid = P_IDLE; } catch(...) { stop_process(); warning << "PostScriptviewent for" << frame->get_name() << ": Unknown error" << std::endl; set_state(BROKEN); pid = P_IDLE; } // Try again if needed return (pid == P_IDLE && redraw_requested); } void PostscriptViewent::process_stopped(pid_t _pid, bool exited_normally, int exit_code) { if(_pid != pid) return; try { debug << _pid << ", exit code: " << exit_code << std::endl; if(!exited_normally) throw std::runtime_error("Process " + tostr(_pid) + " exited abnormally"); if(!exists(tmp_file)) throw std::runtime_error("\"" + tmp_file + "\" does not exist"); PixbufRef pixbuf = Gdk::Pixbuf::create_from_file(tmp_file); // Make all white pixels transparent. if(config.FakeTransparency.values.front() && pixbuf && !pixbuf->get_has_alpha()) pixbuf = pixbuf->add_alpha(true, 255, 255, 255); // had some trouble with some images becoming totally transparent // scale if(scale_factor != 1) pixbuf = pixbuf->scale_simple(pixbuf->get_width() / scale_factor, pixbuf->get_height() / scale_factor, Gdk::INTERP_BILINEAR); canvas_pixbuf->property_pixbuf() = pixbuf; on_geometry_changed(); set_state(NORMAL); } catch(const std::exception& e) { set_state(BROKEN); warning << frame->get_name() << ": " << e.what() << std::endl; } catch(const Glib::Error& e) { set_state(BROKEN); warning << frame->get_name() << ": " << e.what() << std::endl; } pid = P_IDLE; if(redraw_requested) regenerate(); } void PostscriptViewent::stop_process() { if(pid > 0) { // We don't want the process termination hook to run. pid_t stopping = pid; pid = P_SHUTDOWN; ProcessManager::instance().stop(stopping); } else { warning << frame->get_name() << ": " << " no process to stop" << std::endl; } } passepartout-0.7.1/src/pptout/postscriptviewent.h000066400000000000000000000024061140125232500223550ustar00rootroot00000000000000#ifndef PPT_POSTSCRIPTVIEWENT_H // -*- C++ -*- #define PPT_POSTSCRIPTVIEWENT_H /// // Copyright (C) 2003, 2004, Fredrik Arnerup & Rasmus Kaj, See COPYING /// #include "viewent.h" #include "document/cachedframe.h" #include // pid_t class PostscriptViewent : public Viewent { protected: typedef CachedFrame* FrameRef; typedef Glib::RefPtr PixbufRef; public: /** * Create a new TextViewent. * The _scale_factor is ignored if the used ghostscript supports the * pngalpha device. * \param cachedframe * \param view * \param _scale_factor Create bitmaps this many times bigger than * necessary and scale them down, kind of a poor mans * antialiasing. */ PostscriptViewent(View& view, const FrameRef cachedframe, int _scale_factor = 1); ~PostscriptViewent(); void set_image(const std::string& psfile); void regenerate(); protected: const Pagent* get_frame() const { return frame; } void set_state(State state); private: void process_stopped(pid_t _pid, bool exited_normally, int exit_code); bool regenerate_bg(); void stop_process(); std::auto_ptr canvas_pixbuf; FrameRef frame; pid_t pid; std::string tmp_file; int scale_factor; bool redraw_requested; }; #endif passepartout-0.7.1/src/pptout/pptcore.cc000066400000000000000000000013041140125232500203470ustar00rootroot00000000000000/// // Copyright (C) 2002 - 2004, Fredrik Arnerup & Rasmus Kaj, See COPYING /// #include "pptcore.h" #include "groupmeta.h" #include "imagemeta.h" #include "rastermeta.h" #include "textmeta.h" #include "pagemeta.h" PptCore core; PptCore::PptCore() { // Note: The core lives for as long as the program does, so there is no // need to be able to delete these objects. meta["group"] = new GroupMeta; meta["image"] = new ImageMeta; meta["raster"] = new RasterMeta; meta["text"] = new TextMeta; meta["page"] = new PageMeta; } MetaBase* PptCore::getMeta(const std::string& type) { MetaMap::const_iterator i = meta.find(type); if(i != meta.end()) return i->second; else return 0; } passepartout-0.7.1/src/pptout/pptcore.h000066400000000000000000000012031140125232500202070ustar00rootroot00000000000000#ifndef PPTCORE_H // -*- c++ -*- #define PPTCORE_H /// // Copyright (C) 2002 - 2004, Fredrik Arnerup & Rasmus Kaj, See COPYING /// #include "metabase.h" #include /** * The core of Passepartout. * The main goal of PptCore is to provide the meta classes as needed for * loading data, managing properties, etc. */ class PptCore { public: typedef std::map MetaMap; PptCore(); MetaBase* getMeta(const std::string& type); MetaMap::const_iterator m_begin() { return meta.begin(); } MetaMap::const_iterator m_end() { return meta.end(); } private: MetaMap meta; }; extern PptCore core; #endif passepartout-0.7.1/src/pptout/preferencesdialog.cc000066400000000000000000000231361140125232500223630ustar00rootroot00000000000000/// // Copyright (C) 2002 - 2004, Fredrik Arnerup & Rasmus Kaj, See COPYING /// #include "preferencesdialog.h" #include #include "config.h" #include "widget/wmisc.h" #include "widget/filesel.h" #include "widget/usererror.h" #include "widget/subpanel.h" #include "widget/spinner.h" #include "fonts/fontmanager.hh" // for reportFonts #include #include #include #include #include #include #include #include #include #include PreferencesDialog::PreferencesDialog() : DialogWrap("Preferences"), file_str("File locations"), prog_str("Program locations"), env_str("Environment"), tab1_str("Files"), tab2_str("Environment"), close_button_str("_Close"), apply_button_str("_Save & Close") { try { //Declaration of variables // const int max_res = notebook = manage(new Gtk::Notebook()); Gtk::Box *m_VBox = manage(new Gtk::VBox(false, double_space)); //Buttons Gtk::Button *cancel_button = manage(new Gtk::Button()); Gtk::Button *apply_button = manage(new Gtk::Button()); Gtk::Box *cb_HBox = manage(new Gtk::HBox(false, single_space)); Gtk::Box *ab_HBox = manage(new Gtk::HBox(false, single_space)); cb_HBox->pack_start(*manage(new Gtk::Image(Gtk::Stock::CLOSE, Gtk::ICON_SIZE_BUTTON) ), Gtk::PACK_SHRINK); Gtk::Label *close_label = manage(new Gtk::Label(close_button_str, true)); close_label->set_mnemonic_widget(*cancel_button); cb_HBox->pack_start(*close_label, Gtk::PACK_EXPAND_WIDGET); ab_HBox->pack_start(*manage(new Gtk::Image(Gtk::Stock::APPLY, Gtk::ICON_SIZE_BUTTON) ), Gtk::PACK_SHRINK); Gtk::Label *apply_label = manage(new Gtk::Label(apply_button_str, true)); apply_label->set_mnemonic_widget(*apply_button); ab_HBox->pack_start(*apply_label, Gtk::PACK_EXPAND_WIDGET); cancel_button->add(*cb_HBox); apply_button->add(*ab_HBox); //Tab 1 Gtk::Box *tab1_box = manage(new Gtk::VBox(false, triple_space)); tab1_box->set_border_width(border_width); Gtk::Table *tab1_table2 = manage(new Gtk::Table(3, 2)); tab1_table2->set_spacings(single_space); Gtk::Table *tab1_table3 = manage(new Gtk::Table(3, 2)); tab1_table3->set_spacings(single_space); //Tab 2 Gtk::Box *tab2_box = manage(new Gtk::VBox(false, triple_space)); tab2_box->set_border_width(border_width); Gtk::Table *tab2_table2 = manage(new Gtk::Table(4, 5)); tab2_table2->set_spacings(double_space); //Tab 3 Gtk::ScrolledWindow *tab3_scroller = manage(new Gtk::ScrolledWindow()); tab3_scroller->set_policy(Gtk::POLICY_AUTOMATIC, Gtk::POLICY_AUTOMATIC); Glib::RefPtr buffer = Gtk::TextBuffer::create(); { Glib::RefPtr table = buffer->get_tag_table(); Gtk::TextBuffer::iterator i = buffer->begin(); font::FontManager::FontNames fontnames = font::FontManager::instance().getAvailableFonts(); for(font::FontManager::FontNames::const_iterator f = fontnames.begin(); f != fontnames.end(); f++) { Glib::RefPtr tag = Gtk::TextTag::create(); const font::Metrics &metrics = font::FontManager::instance().getFont(*f); tag->property_font() = metrics.getName(); tag->property_size_points() = 20; table->add(tag); i = buffer->insert_with_tag(i, metrics.getName() + "\n", tag); i = buffer->insert(i, "PostScript name: " + *f + "\n"); i = buffer->insert(i, "File: " + font::FontManager::instance().getFontFile(*f) + "\n\n"); } } Gtk::TextView *text_view = manage(new Gtk::TextView(buffer)); text_view->set_editable(false); tab3_scroller->add(*text_view); //Tab 1 xslt_entry = manage(new FileEntry(config.StylesheetPath.desc, "Select default stylesheet folder", Gtk::FILE_CHOOSER_ACTION_SELECT_FOLDER)); xslt_file_entry = manage(new FileEntry(config.DefaultStylesheet.desc, "Select default stylesheet")); /// \todo filesel window titles print_entry = manage(new FileEntry(config.PrintCommand.desc, "")); gs_entry = manage(new FileEntry(config.PSInterpreter.desc, "")); SubPanel *filePanel = manage(new SubPanel(file_str)); SubPanel *progPanel = manage(new SubPanel(prog_str)); //Tab 2 SubPanel *envPanel = manage(new SubPanel(env_str)); resolution_spin = manage(new Spinner(config.DefaultResolution. values.front(), false, 0)); zoom_spin = manage(new Spinner(config.ZoomLevel.values.front(), false, 0)); //Add the main components get_vbox()->pack_start(*m_VBox, Gtk::PACK_EXPAND_WIDGET); set_resizable(true); notebook->set_border_width(10); m_VBox->pack_start(*notebook, Gtk::PACK_EXPAND_WIDGET); //Add the buttons get_action_area()->pack_end(*cancel_button, Gtk::PACK_SHRINK); get_action_area()->pack_end(*apply_button, Gtk::PACK_SHRINK); cancel_button->set_flags(Gtk::CAN_DEFAULT); cancel_button->grab_default(); cancel_button->signal_clicked(). connect(sigc::mem_fun(*this, &PreferencesDialog::dialog_cancel)); apply_button->signal_clicked(). connect(sigc::mem_fun(*this, &PreferencesDialog::dialog_apply)); signal_delete_event(). connect(sigc::mem_fun(*this, &PreferencesDialog::dialog_delete)); //Add the notebook pages //---Page 1: //-----Main tab layout tab1_box->pack_start(*filePanel, Gtk::PACK_SHRINK); tab1_box->pack_start(*progPanel, Gtk::PACK_SHRINK); //-----File location group filePanel->pack_start(*tab1_table2, Gtk::PACK_SHRINK); if(config.StylesheetPath.visible) { tab1_table2->attach (*manage(new Gtk::Label(config.StylesheetPath.desc + ": ", Gtk::JUSTIFY_LEFT, Gtk::ALIGN_BOTTOM)), 0, 1, 1, 2); tab1_table2->attach(*xslt_entry, 1, 2, 1, 2); xslt_entry->entry.set_text(config.StylesheetPath.values.front()); xslt_entry->show(); } if(config.DefaultStylesheet.visible) { tab1_table2->attach (*manage(new Gtk::Label(config.DefaultStylesheet.desc + ": ", Gtk::JUSTIFY_LEFT, Gtk::ALIGN_BOTTOM)), 0, 1, 2, 3); tab1_table2->attach(*xslt_file_entry, 1, 2, 2, 3); xslt_file_entry->entry.set_text(config.DefaultStylesheet.values.front()); xslt_file_entry->show(); } //-----Program location group progPanel->pack_start(*tab1_table3, Gtk::PACK_SHRINK); if(config.PrintCommand.visible) { tab1_table3->attach (*manage(new Gtk::Label(config.PrintCommand.desc + ": ", Gtk::JUSTIFY_LEFT, Gtk::ALIGN_BOTTOM)), 0, 1, 0, 1); tab1_table3->attach(*print_entry, 1, 2, 0, 1); print_entry->entry.set_text(config.PrintCommand.values.front()); print_entry->show(); } if(config.PSInterpreter.visible) { tab1_table3->attach (*manage(new Gtk::Label(config.PSInterpreter.desc + ": ", Gtk::JUSTIFY_LEFT, Gtk::ALIGN_BOTTOM)), 0, 1, 1, 2); tab1_table3->attach(*gs_entry, 1, 2, 1, 2); gs_entry->entry.set_text(config.PSInterpreter.values.front()); gs_entry->show(); } notebook->append_page(*tab1_box, tab1_str); //---Page 2: tab2_box->pack_start(*envPanel, Gtk::PACK_SHRINK); envPanel->pack_start(*tab2_table2, Gtk::PACK_SHRINK); if(config.DefaultResolution.visible) { tab2_table2->attach (*manage(new Gtk::Label(config.DefaultResolution.desc + ": ", Gtk::JUSTIFY_LEFT, Gtk::ALIGN_BOTTOM)), 1, 2, 1, 2); tab2_table2->attach(*resolution_spin, 2, 3, 1, 2); tab2_table2->attach(*manage(new Gtk::Label("ppi", Gtk::JUSTIFY_LEFT, Gtk::ALIGN_BOTTOM)), 3, 4, 1, 2); } if(config.ZoomLevel.visible) { tab2_table2->attach (*manage(new Gtk::Label(config.ZoomLevel.desc + ": ", Gtk::JUSTIFY_LEFT, Gtk::ALIGN_BOTTOM)), 1, 2, 2, 3); tab2_table2->attach(*zoom_spin, 2, 3, 2, 3); tab2_table2->attach(*manage(new Gtk::Label("%", Gtk::JUSTIFY_LEFT, Gtk::ALIGN_BOTTOM)), 3, 4, 2, 3); } notebook->append_page(*tab2_box, tab2_str); //---Page 3: notebook->append_page(*tab3_scroller, "Font Info"); } catch(const std::out_of_range &error) { throw UserError("Settings not found", "Can't find one or more setting values." "\nYou can still change your settings by editing the " ".pptout file in you home directory."); } show_all_children(); } void PreferencesDialog::dialog_cancel() { hide(); } void PreferencesDialog::dialog_apply() { /// \todo some kind of error check if(config.StylesheetPath.visible) config.StylesheetPath.values.front() = xslt_entry->entry.get_text(); if(config.DefaultStylesheet.visible) config.DefaultStylesheet.values.front()=xslt_file_entry->entry.get_text(); if(config.PrintCommand.visible) config.PrintCommand.values.front() = print_entry->entry.get_text(); if(config.PSInterpreter.visible) config.PSInterpreter.values.front() = gs_entry->entry.get_text(); if(config.DefaultResolution.visible) config.DefaultResolution.values.front() = resolution_spin->get(); if(config.ZoomLevel.visible) config.ZoomLevel.values.front() = zoom_spin->get(); Gtk::MessageDialog msg(*this, "Note: you need to restart the program " "for some changes to take effect"); msg.run(); dialog_cancel(); } bool PreferencesDialog::dialog_delete(GdkEventAny*) { dialog_cancel(); return true; } passepartout-0.7.1/src/pptout/preferencesdialog.h000066400000000000000000000013521140125232500222210ustar00rootroot00000000000000#ifndef PREFERENCESDIALOG_H // -*- c++ -*- #define PREFERENCESDIALOG_H /// // Copyright (C) 2002 - 2004, Fredrik Arnerup & Rasmus Kaj, See COPYING /// #include "widget/dialogwrap.h" #include "widget/filesel.h" #include "widget/spinner.h" #include #include class PreferencesDialog : public DialogWrap { public: PreferencesDialog(); protected: void dialog_cancel(); void dialog_apply(); bool dialog_delete(GdkEventAny*); private: Gtk::Notebook *notebook; Glib::ustring file_str, prog_str, env_str, tab1_str, tab2_str, close_button_str, apply_button_str;//, misc_str; FileEntry *xslt_entry, *print_entry, *gs_entry, *xslt_file_entry; Spinner *resolution_spin, *zoom_spin; }; #endif passepartout-0.7.1/src/pptout/printdialog.cc000066400000000000000000000247171140125232500212240ustar00rootroot00000000000000/// // Copyright (C) 2002 - 2004, Fredrik Arnerup & Rasmus Kaj, See COPYING /// #include "printdialog.h" #include "widget/subpanel.h" #include "widget/wmisc.h" #include "widget/usererror.h" #include #include #include #include #include #include "util/warning.h" #include "util/filesys.h" #include "util/os.h" #include "util/tempfile.h" #include "config.h" #include "docview.h" #include "document/document.h" #include "widget/errordialog.h" namespace { enum {F_PS = 0, F_EPS, F_PDF}; } PrintDialog::PrintDialog(Gtk::Window &parent, DocumentView &_document_view): DialogWrap("Print", parent), using_button("Print _using:", true), file_button("Print _to file:", true), all_button("_All", true), current_button("Cu_rrent", true), from_button("Fro_m:", true), fonts_button("_Include fonts", true), gray_button("_Grayscale", true), from_spinner(0, false), to_spinner(0, false), document_view(_document_view), file_entry("Print To File") { set_resizable(false); { Gtk::RadioButton::Group group = using_button.get_group(); file_button.set_group(group); } { Gtk::RadioButton::Group group = all_button.get_group(); current_button.set_group(group); from_button.set_group(group); } Glib::RefPtr sizegroup = Gtk::SizeGroup::create(Gtk::SIZE_GROUP_HORIZONTAL); sizegroup->add_widget(using_button); sizegroup->add_widget(file_button); Gtk::HBox *format_menu_box = manage(new Gtk::HBox(false, double_space)); Gtk::Label *format_menu_label = manage(new Gtk::Label("_Format: ", 0.0, 0.5, true)); format_menu_label->set_mnemonic_widget(format_menu); format_menu_box->pack_start(*format_menu_label, Gtk::PACK_SHRINK); format_menu.append_text("PostScript"); format_menu.append_text("Encapsulated PostScript (EPS)"); format_menu.append_text("Portable Document Format (PDF)"); format_menu.set_active(F_PS); format_menu.signal_changed().connect (sigc::mem_fun(*this, &PrintDialog::update)); format_menu_box->pack_start(format_menu, Gtk::PACK_EXPAND_WIDGET); Gtk::HBox *using_box = manage(new Gtk::HBox(false, double_space)); using_box->pack_start(using_button, Gtk::PACK_SHRINK); using_box->pack_start(using_entry, Gtk::PACK_EXPAND_WIDGET); Gtk::HBox *file_box = manage(new Gtk::HBox(false, double_space)); file_box->pack_start(file_button, Gtk::PACK_SHRINK); file_box->pack_start(file_entry, Gtk::PACK_EXPAND_WIDGET); Gtk::HBox *from_to_box = manage(new Gtk::HBox(false, double_space)); from_to_box->pack_start(from_button, Gtk::PACK_SHRINK); from_to_box->pack_start(from_spinner, Gtk::PACK_SHRINK); from_to_box->pack_start(*manage(new Gtk::Label("to:")), Gtk::PACK_SHRINK); from_to_box->pack_start(to_spinner, Gtk::PACK_SHRINK); SubPanel *pages_box = manage(new SubPanel("Pages")); this->pages_box = pages_box; pages_box->pack_start(all_button, Gtk::PACK_SHRINK); pages_box->pack_start(current_button, Gtk::PACK_SHRINK); pages_box->pack_start(*from_to_box, Gtk::PACK_SHRINK); Gtk::VBox *format_box = manage(new Gtk::VBox(false, single_space)); format_box->pack_start(fonts_button, Gtk::PACK_SHRINK); fonts_button.set_active(); // include fonts by default format_box->pack_start(gray_button, Gtk::PACK_SHRINK); Gtk::HBox *foo_box = manage(new Gtk::HBox(false, double_space)); foo_box->pack_start(*pages_box, Gtk::PACK_EXPAND_WIDGET); foo_box->pack_start(*manage(new Gtk::VSeparator())); foo_box->pack_start(*format_box, Gtk::PACK_SHRINK); Gtk::VBox *vbox = manage(new Gtk::VBox(false, double_space)); vbox->set_border_width(border_width); //set_border_width(border_width); vbox->pack_start(*format_menu_box, Gtk::PACK_SHRINK); vbox->pack_start(*using_box, Gtk::PACK_SHRINK); vbox->pack_start(*file_box, Gtk::PACK_SHRINK); vbox->pack_start(*foo_box, Gtk::PACK_SHRINK, single_space); get_vbox()->pack_start(*vbox); get_vbox()->show_all(); get_action_area()->show_all(); using_entry.set_text(config.PrintCommand.values.front()); using_button.set_active(true); using_button.signal_clicked().connect (sigc::mem_fun(*this, &PrintDialog::update)); // If there are only two buttons in a group, you only need to connect one. // If there are more, you need to connect them all. That is annoying. all_button.signal_clicked().connect (sigc::mem_fun(*this, &PrintDialog::update)); current_button.signal_clicked().connect (sigc::mem_fun(*this, &PrintDialog::update)); from_button.signal_clicked().connect (sigc::mem_fun(*this, &PrintDialog::update)); add_button(Gtk::Stock::CANCEL, 0); add_button(Gtk::Stock::PRINT, 1)->grab_default(); } void PrintDialog::show_it() { DocRef document = document_view.get_document(); if(!document) return; int first = document->get_first_page_num(); int last = first + int(document->get_num_of_pages()) - 1; save_state(); from_spinner.limits(first, last); to_spinner.limits(first, last); from_spinner.set(first); to_spinner.set(last); show(); // Gtk::Entry::set_position doesn't seem to work // unless the entry is shown first const std::string &filename = document_view.get_document_meta().get_filename(); if(filename.empty()) // the document has not been saved file_entry.entry.set_text("pptout.foo"); else file_entry.entry.set_text(filename); update(); } void PrintDialog::on_response(int response_id) { Glib::RefPtr window = get_window(); if(response_id == 0) { restore_state(); hide(); } else if(response_id == 1) { try { DocRef document = document_view.get_document(); if(document) { int first = document->get_first_page_num(); int last = first + document->get_num_of_pages() - 1; if(current_button.get_active()) { first = last = document_view.get_current_page_num(); } else if(from_button.get_active()) { first = int(from_spinner.get()); last = int(to_spinner.get()); if(last < first) throw UserError("Bad page interval", "\"From\" page number must be lower\n" "than \"To\" page number"); // We could make this error impossible to cause, // but I don't like putting leash and collar on the user. } // else all_button is active std::ofstream out; std::auto_ptr tempfile; bool print_to_file = file_button.get_active(); if(print_to_file) { out.open(file_entry.entry.get_text().c_str()); } else { tempfile.reset(new Tempfile); out.open(tempfile->get_filename().c_str()); } if(!out) throw UserError("Failed to open file for printing:\n" + file_entry.entry.get_text(), "Check if you have permission " "to write to this file"); window->set_cursor(Gdk::Cursor(Gdk::WATCH)); // make sure the cursor is updated while(Gtk::Main::events_pending()) Gtk::Main::iteration(); int format = format_menu.get_active_row_number(); if(format == F_PDF) { PDF::Document::Ptr result = PDF::Document::create(); document->print_pdf(result, first, last); result->write(out); int failed_chars = result->getNumOfFailedChars(); /// \todo show warning dialog instead if(failed_chars) ErrorDialog::instance().show_warning ("Failed to print " + tostr(failed_chars) + " characters", "This was probably caused by using characters not " "present in the MacRoman encoding together with Type1 fonts.\n" "Passepartout currently lacks full Unicode support for Type1 " "fonts when printing to PDF."); } else if(format == F_EPS) document->print(out, // only the current page document_view.get_current_page_num(), document_view.get_current_page_num(), true, fonts_button.get_active(), gray_button.get_active()); else // ps document->print(out, first, last, false, fonts_button.get_active(), gray_button.get_active()); window->set_cursor(); if(!print_to_file) { // pipe to a program std::string stdout_data, stderr_data; int status; std::string command = using_entry.get_text() + " < " + tempfile->get_filename(); command = "sh -c \"" + command + '\"'; try { debug << command << std::endl; Glib::spawn_command_line_sync(command, &stdout_data, &stderr_data, &status); debug << status << std::endl; debug << stderr_data << std::endl; } catch(const Glib::SpawnError &e) { // Glib::SpawnError is not a std::exception throw UserError("Failed to run: " + using_entry.get_text(), e.what()); } if(status != 0) throw UserError("Failed to print using: " + using_entry.get_text(), stderr_data); } hide(); } } catch(...) { window->set_cursor(); // restore normal cursor throw; } } } void PrintDialog::save_state() { saved_using_text = using_entry.get_text(); saved_file_text = file_entry.entry.get_text(); saved_file_not_using = file_button.get_active(); saved_gray = gray_button.get_active(); saved_fonts = fonts_button.get_active(); saved_format = format_menu.get_active_row_number(); } void PrintDialog::restore_state() { using_entry.set_text(saved_using_text); file_entry.entry.set_text(saved_file_text); file_button.set_active(saved_file_not_using); gray_button.set_active(saved_gray); fonts_button.set_active(saved_fonts); format_menu.set_active(saved_format); } void PrintDialog::update() { using_entry.set_sensitive(using_button.get_active()); file_entry.set_sensitive(file_button.get_active()); from_spinner.set_sensitive(from_button.get_active()); to_spinner.set_sensitive(from_button.get_active()); int format = format_menu.get_active_row_number(); // always include fonts in PDFs fonts_button.set_sensitive(format != F_PDF); // grayscale should apply to pdf too, eventually gray_button.set_sensitive(format != F_PDF); // eps format always prints the current page only pages_box->set_sensitive(format != F_EPS); std::string suffix = ".ps"; if(format == F_PDF) suffix = ".pdf"; else if(format == F_EPS) suffix = ".eps"; file_entry.entry.set_text(no_suffix(file_entry.entry.get_text()) + suffix); } passepartout-0.7.1/src/pptout/printdialog.h000066400000000000000000000023441140125232500210560ustar00rootroot00000000000000#ifndef PRINTDIALOG_H // -*- c++ -*- #define PRINTDIALOG_H /// // Copyright (C) 2002 - 2004, Fredrik Arnerup & Rasmus Kaj, See COPYING /// #include "widget/dialogwrap.h" #include "widget/filesel.h" #include "widget/spinner.h" #include #include #include #include class DocumentView; class PrintDialog : public DialogWrap { public: PrintDialog(Gtk::Window &parent, DocumentView &_document_view); void show_it(); private: Gtk::RadioButton using_button, file_button, all_button, current_button, from_button; Gtk::CheckButton fonts_button, gray_button; Gtk::Entry using_entry; Gtk::ComboBoxText format_menu; Gtk::Widget *pages_box; Spinner from_spinner, to_spinner; DocumentView &document_view; // document_view keeps record of the document FileEntry file_entry; Filesel *filesel; std::string saved_file_text, saved_using_text; int saved_format; bool saved_file_not_using, saved_eps, saved_gray, saved_fonts; void on_response(int response_id); void save_state(); // in case cancel is pressed we will restore inital state void restore_state(); void update(); // make sure everything that should be grayed out is }; #endif passepartout-0.7.1/src/pptout/propbase.cc000066400000000000000000000016451140125232500205160ustar00rootroot00000000000000/// // Copyright (C) 2002 - 2004, Fredrik Arnerup & Rasmus Kaj, See COPYING /// #include "propbase.h" #include "widget/wmisc.h" PropBase::PropBase(const string& name) : Gtk::VBox(false, double_space), label(name, 0.0, 0.5, true) { set_border_width(border_width); } namespace { void hide_widget(Gtk::Widget& widget) { widget.hide(); } }; void PropBase::set_sensitive(bool sensitive) { property_visible() = sensitive; // Hide all children, so they are not shown when we show the page // again. this is a workaround for a problem with Gtk: If a notebook // page has a Gtk::Entry and the page is hidden, then shown again, // the entry will be visible even if the page is not the active // one. I think this has to do with Gtk::Entry having its own // window. if(!sensitive) foreach(sigc::ptr_fun(hide_widget)); } void PropBase::right_justify(Gtk::Label &label) { label.set_alignment(Gtk::ALIGN_RIGHT); } passepartout-0.7.1/src/pptout/propbase.h000066400000000000000000000021651140125232500203560ustar00rootroot00000000000000#ifndef PROPBASE_H // -*- c++ -*- #define PROPBASE_H /// // Copyright (C) 2002 - 2004, Fredrik Arnerup & Rasmus Kaj, See COPYING /// #include #include #include "document/pagent.h" // Base class for the different property sets. // PropertiesDialog displays one PropBase at a time, through a Gtk Notebook. class PropBase : public Gtk::VBox { public: typedef std::string string; explicit PropBase(const string& name); Widget& getLabel() { return label; } virtual void update() = 0; // Changes from object to dialog virtual void setObject(Pagent* pagent) = 0; void set_sensitive(bool sensitive); void right_justify(Gtk::Label &label); private: Gtk::Label label; }; template class GenericProp : public PropBase { public: explicit GenericProp(const string& label) :PropBase(label), object(0) {} void setObject(Pagent* pagent) { object = dynamic_cast(pagent); set_sensitive(object); reconnectSignals(); if(is_visible()) update(); } /// Called by setObject, virtual void reconnectSignals() {} protected: FrameC* object; }; #endif passepartout-0.7.1/src/pptout/propertiesdialog.cc000066400000000000000000000272321140125232500222570ustar00rootroot00000000000000/// // Copyright (C) 2002 - 2004, Fredrik Arnerup & Rasmus Kaj, See COPYING /// #include "propertiesdialog.h" #include "propbase.h" #include "widget/subpanel.h" #include "widget/wmisc.h" #include "util/matrix.h" #include "util/stringutil.h" #include "util/warning.h" #include #include #include #include #include #include #include #include #include "pptcore.h" #include "widget/spinner.h" #include "document/basicframe.h" #include "lengthunits.h" #include "config.h" // The basic properties that apply to all Pagent's. // Currently that means some kind of name, and the position and size of the // object. class PropBasic : public PropBase { enum ChangeId { NAME, LEFT, BOTTOM, WIDTH, HEIGHT, SCALEX, SCALEY, ROTATE, SHEAR, LOCKED, FLOWAROUND, MARGIN }; public: // | name: | "name of object" | // ----------------------------------------- // | left: | "left" | width: | "width" | // | right: | "right" | height: | "height" | PropBasic(const std::string &default_unit) :PropBase("_Basic"), object(0), e_left(0, true, &length_units, default_unit), e_bottom(0, true, &length_units, default_unit), e_width(0, true, &length_units, default_unit), e_height(0, true, &length_units, default_unit), e_scalex(0, true), e_scaley(0, true), e_rotate(0, true, &angle_units), e_shear(0, true), e_margin(0, true, &length_units, default_unit), c_flow("Text avoids object", 0), c_locked("Locked", 0) { Gtk::Label *label; Gtk::Box *line = manage(new Gtk::HBox(false, double_space)); line->pack_start(*(label = manage(new Gtk::Label("Object _name:", 0.0, 0.5, true))), Gtk::PACK_SHRINK); label->set_mnemonic_widget(e_name); line->pack_start(e_name); // not sure if connecting to signal_activate adds anything e_name.signal_activate().connect (bind(sigc::mem_fun(*this, &PropBasic::on_change), NAME)); e_name.signal_focus_out_event().connect (sigc::hide (bind_return(bind(sigc::mem_fun(*this, &PropBasic::on_change), NAME), true))); pack_start(*line, Gtk::PACK_SHRINK); SubPanel *box = manage(new SubPanel("Geometry")); Glib::RefPtr sizegroup = Gtk::SizeGroup::create(Gtk::SIZE_GROUP_HORIZONTAL); line = manage(new Gtk::HBox(false, double_space)); sizegroup->add_widget(*(label = manage(new Gtk::Label("_Left:", 0.0, 0.5, true)))); line->pack_start(*label, Gtk::PACK_SHRINK); line->pack_start(e_left, Gtk::PACK_SHRINK); e_left.signal_value_changed().connect (bind(sigc::mem_fun(*this, &PropBasic::on_change), LEFT)); label->set_mnemonic_widget(e_left); sizegroup->add_widget(*(label = manage(new Gtk::Label("_Width:", 0.0, 0.5, true)))); line->pack_start(*label, Gtk::PACK_SHRINK); line->pack_start(e_width, Gtk::PACK_SHRINK); label->set_mnemonic_widget(e_width); e_width.signal_value_changed().connect (bind(sigc::mem_fun(*this, &PropBasic::on_change), WIDTH)); box->pack_start(*line, Gtk::PACK_SHRINK); line = manage(new Gtk::HBox(false, double_space)); sizegroup->add_widget(*(label = manage(new Gtk::Label("_Bottom:", 0.0, 0.5, true)))); line->pack_start(*label, Gtk::PACK_SHRINK); line->pack_start(e_bottom, Gtk::PACK_SHRINK); e_bottom.signal_value_changed().connect (bind(sigc::mem_fun(*this, &PropBasic::on_change), BOTTOM)); label->set_mnemonic_widget(e_bottom); sizegroup->add_widget(*(label = manage(new Gtk::Label("_Height:", 0.0, 0.5, true)))); line->pack_start(*label, Gtk::PACK_SHRINK); line->pack_start(e_height, Gtk::PACK_SHRINK); label->set_mnemonic_widget(e_height); e_height.signal_value_changed().connect (bind(sigc::mem_fun(*this, &PropBasic::on_change), HEIGHT)); box->pack_start(*line, Gtk::PACK_SHRINK); pack_start(*box, Gtk::PACK_SHRINK); box = manage(new SubPanel("Transform")); line = manage(new Gtk::HBox(false, double_space)); sizegroup->add_widget(*(label = manage(new Gtk::Label("Scale _X", 0.0, 0.5, true)))); line->pack_start(*label, Gtk::PACK_SHRINK); line->pack_start(e_scalex, Gtk::PACK_SHRINK); label->set_mnemonic_widget(e_scalex); e_scalex.signal_value_changed().connect (bind(sigc::mem_fun(*this, &PropBasic::on_change), SCALEX)); sizegroup->add_widget(*(label = manage(new Gtk::Label("R_otate:", 0.0, 0.5, true)))); line->pack_start(*label, Gtk::PACK_SHRINK); line->pack_start(e_rotate, Gtk::PACK_SHRINK); label->set_mnemonic_widget(e_rotate); e_rotate.signal_value_changed().connect (bind(sigc::mem_fun(*this, &PropBasic::on_change), ROTATE)); box->pack_start(*line, Gtk::PACK_SHRINK); line = manage(new Gtk::HBox(false, double_space)); sizegroup->add_widget(*(label = manage(new Gtk::Label("Scale _Y", 0.0, 0.5, true)))); line->pack_start(*label, Gtk::PACK_SHRINK); line->pack_start(e_scaley, Gtk::PACK_SHRINK); label->set_mnemonic_widget(e_scaley); e_scaley.signal_value_changed().connect (bind(sigc::mem_fun(*this, &PropBasic::on_change), SCALEY)); sizegroup->add_widget(*(label = manage(new Gtk::Label("_Shear:", 0.0, 0.5, true)))); line->pack_start(*label, Gtk::PACK_SHRINK); line->pack_start(e_shear, Gtk::PACK_SHRINK); label->set_mnemonic_widget(e_shear); e_shear.signal_value_changed().connect (bind(sigc::mem_fun(*this, &PropBasic::on_change), SHEAR)); box->pack_start(*line, Gtk::PACK_SHRINK); pack_start(*box, Gtk::PACK_SHRINK); pack_start(hsep2, Gtk::PACK_SHRINK); Gtk::HBox *flow_box = manage(new Gtk::HBox(false, double_space)); flow_box->pack_start(c_locked, Gtk::PACK_SHRINK, triple_space); c_locked.signal_toggled().connect (bind(sigc::mem_fun(*this, &PropBasic::on_change), LOCKED)); flow_box->pack_start(c_flow, Gtk::PACK_SHRINK, 0); c_flow.signal_toggled().connect (bind(sigc::mem_fun(*this, &PropBasic::on_change), FLOWAROUND)); flow_box->pack_start(e_margin, Gtk::PACK_SHRINK, 0); e_margin.signal_value_changed().connect (bind(sigc::mem_fun(*this, &PropBasic::on_change), MARGIN)); pack_start(*flow_box, Gtk::PACK_SHRINK); set_sensitive(false); } void on_geometry_changed() { update(); } void on_props_changed() { update(); } void setObject(Pagent* pagent) { geometry_changed_connection.disconnect(); props_changed_connection.disconnect(); object = pagent; if(object) { geometry_changed_connection = object->geometry_changed_signal.connect (sigc::mem_fun(*this, &PropBasic::on_geometry_changed)); props_changed_connection = object->props_changed_signal.connect (sigc::mem_fun(*this, &PropBasic::on_props_changed)); } set_sensitive(object); if(is_visible()) update(); } void update() { if(!object) { e_name.set_text(""); } else { // Todo: Use an "objecthider", so the toggle back works even if we get // an exception! Pagent* obj = object; object = 0; // Don't apply while updating e_name.set_text(obj->get_name()); c_locked.set_active(obj->get_lock()); // geometry const Matrix &m = obj->get_matrix(); const Vector size = obj->get_inherent_size(); e_left.set(m.tr_x()); e_bottom.set(m.tr_y()); e_width.set(size.x * m.sc_x()); e_height.set(size.y * m.sc_y()); // transform e_scalex.set(m.sc_x()); e_scaley.set(m.sc_y()); e_rotate.set(Matrix::rad2deg(m.rot())); e_shear.set(Matrix::rad2deg(m.sh())); const bool flowaround = obj->get_flow_around(); c_flow.set_active(flowaround); e_margin.set_sensitive(flowaround); e_margin.set(obj->get_obstacle_margin()); object = obj; } } void on_change(ChangeId what) { if(object) switch(what) { case NAME: object->set_name(e_name.get_text()); break; case LEFT: case BOTTOM: object->set_translation(Vector(e_left.get(), e_bottom.get())); break; case WIDTH: case HEIGHT: if(Pagent::Resizable* o = dynamic_cast(object)) o->set_size(e_width.get(), e_height.get()); else { const Vector size = object->get_inherent_size(); object->set_scaling(e_width.get() / size.x, e_height.get() / size.y); } break; case SCALEX: case SCALEY: object->set_scaling(e_scalex.get(), e_scaley.get()); break; case ROTATE: object->set_rotation(Matrix::deg2rad(e_rotate.get())); break; case SHEAR: object->set_shearing(Matrix::deg2rad(e_shear.get())); break; case LOCKED: object->set_lock(c_locked.get_active()); break; case FLOWAROUND: { const bool flow = c_flow.get_active(); e_margin.set_sensitive(flow); object->set_flow_around(flow); } break; case MARGIN: object->set_obstacle_margin(e_margin.get()); break; } } void set_sensitive(bool sensitive) { getLabel().set_sensitive(sensitive); Gtk::VBox::set_sensitive(sensitive); } private: Pagent* object; Gtk::HSeparator hsep1, hsep2; Gtk::Entry e_name; Spinner e_left, e_bottom, e_width, e_height, e_scalex, e_scaley, e_rotate, e_shear, e_margin; Gtk::CheckButton c_flow, c_locked; sigc::connection geometry_changed_connection, props_changed_connection; }; // - - - - back to the actual PropertiesDialog implementation - - - - PropertiesDialog *PropertiesDialog::_instance = 0; PropertiesDialog &PropertiesDialog::instance() { if(!_instance) _instance = new PropertiesDialog(); return *_instance; } PropertiesDialog::PropertiesDialog() : UtilityWindow("Object properties"), document(0) { add(book); book.signal_switch_page().connect (sigc::mem_fun(*this, &PropertiesDialog::show_page_contents)); PropBase* prop = new PropBasic(config.LengthUnit.values.front()); pages.push_back(prop); book.append_page(*prop, prop->getLabel()); for(PptCore::MetaMap::const_iterator i = core.m_begin(); i != core.m_end(); ++i) { if(PropBase* prop = i->second->getProp()) { pages.push_back(prop); book.append_page(*prop, prop->getLabel()); } } // listen to selection change signals: Document::selection_changed_signal.connect (sigc::mem_fun(*this, &PropertiesDialog::select_change)); } PropertiesDialog::~PropertiesDialog() {} void PropertiesDialog::show_raise() { show_all(); UtilityWindow::show_raise(); update(); } void PropertiesDialog::set_document(DocRef document_) { document = document_; update(); } void PropertiesDialog::update() { Document::Selection all_selected; if(document) all_selected = document->selected(); // Note: If there is more than one object selected, no properties are shown. // Maybe we should show the properties that are common // to all selected objects. Pagent* pagent = (all_selected.size()!=1 ? 0 : all_selected.front()); for(std::vector::const_iterator i = pages.begin(); i != pages.end(); ++i) (*i)->setObject(pagent); show_page_contents(0, book.get_current_page()); } void PropertiesDialog::select_change(DocRef doc) { if(document == doc) update(); } // this is part of the workaround for the problem with Gtk::Entry and // hidden tabs, see propbase.cc void PropertiesDialog::show_page_contents(GtkNotebookPage*, guint index) { dynamic_cast(book.get_nth_page(index))->show_all_children(); } passepartout-0.7.1/src/pptout/propertiesdialog.h000066400000000000000000000023201140125232500221100ustar00rootroot00000000000000#ifndef PROPERTIESDIALOG_H // -*- c++ -*- #define PROPERTIESDIALOG_H /// // Copyright (C) 2002 - 2004, Fredrik Arnerup & Rasmus Kaj, See COPYING /// #include "document/document.h" #include "widget/dialogwrap.h" #include #include #include class PropBase; /** * A dialog displaying properties of the selected object. It will listen * for selection signals, so when the user selects a new object, the existing * dialog will show properties for that object. * This is a Singleton. */ class PropertiesDialog : public UtilityWindow { public: static PropertiesDialog &instance(); void show_raise(); // Make sure this dialog is visible DocRef get_document() const { return document; } void set_document(DocRef document_); private: static PropertiesDialog *_instance; void select_change(DocRef doc); // signal listener void update(); DocRef document; PropertiesDialog(); // no default constructors: PropertiesDialog(const PropertiesDialog&); void operator = (const PropertiesDialog&); // no destructor ~PropertiesDialog(); void show_page_contents(GtkNotebookPage*, guint index); Gtk::Notebook book; std::vector pages; }; #endif passepartout-0.7.1/src/pptout/rastermeta.cc000066400000000000000000000125371140125232500210540ustar00rootroot00000000000000/// // Copyright (C) 2002 - 2004, Fredrik Arnerup & Rasmus Kaj, See COPYING /// #include "rastermeta.h" #include "document/rasterframe.h" #include "rasterviewent.h" #include "widget/spinner.h" #include "widget/filesel.h" #include "widget/subpanel.h" #include "widget/wmisc.h" #include #include #include #include Pagent* RasterMeta::load(const ElementWrap& xml, Group* parent) { return new RasterFrame(xml, parent); } Viewent::Ref RasterMeta::create_viewent(View& view, Pagent& node) { Viewent::Ref result(new RasterViewent (view, &dynamic_cast(node))); result->reference(); return result; } namespace { class PropRaster : public GenericProp { public: PropRaster(); virtual void reconnectSignals(); void update(); enum ChangeId { FILENAME, HRES, VRES, ASPECT }; void on_change(ChangeId what); private: float last_x, last_y; bool use_aspect; FileEntry e_fname; Spinner e_ppix, e_ppiy; Gtk::ToggleButton b_ppic; Gtk::HSeparator hsep; sigc::connection geometry_changed_connection, props_changed_connection; }; }; PropBase* RasterMeta::getProp() { return new PropRaster; } PropRaster::PropRaster() :GenericProp("_Raster"), use_aspect(true), e_fname("Associated File"), b_ppic("}", Gtk::JUSTIFY_RIGHT) { Gtk::Label *label; Gtk::Box *line = manage(new Gtk::HBox(false, double_space)); label = manage(new Gtk::Label("_Filename:", 0.0, 0.5, true)); label->set_mnemonic_widget(e_fname); line->pack_start(*label, Gtk::PACK_SHRINK); line->pack_start(e_fname); e_fname.entry.get_entry().signal_activate().connect (bind(sigc::mem_fun(*this, &PropRaster::on_change), FILENAME)); e_fname.entry.get_entry().signal_focus_out_event().connect (sigc::hide(bind_return(bind(sigc::mem_fun(*this, &PropRaster::on_change), FILENAME), true))); pack_start(*line, Gtk::PACK_SHRINK); Glib::RefPtr sizegroup = Gtk::SizeGroup::create(Gtk::SIZE_GROUP_HORIZONTAL); SubPanel* rezpanel = manage(new SubPanel("Raster resolution")); Gtk::Box *hbox = manage(new Gtk::HBox(false, single_space)); Gtk::Box *vbox = manage(new Gtk::VBox(false, single_space)); line = manage(new Gtk::HBox(false, double_space)); line->pack_start(*(label = manage(new Gtk::Label("_Horizontal:", 0.0, 0.5, true))), Gtk::PACK_SHRINK); sizegroup->add_widget(*label); label->set_mnemonic_widget(e_ppix); line->pack_start(e_ppix, Gtk::PACK_SHRINK); line->pack_start(*(manage(new Gtk::Label("ppi"))), Gtk::PACK_SHRINK); vbox->pack_start(*line, Gtk::PACK_SHRINK); line = manage(new Gtk::HBox(false, double_space)); line->pack_start(*(label = manage(new Gtk::Label("_Vertical:", 0.0, 0.5, true))), Gtk::PACK_SHRINK); sizegroup->add_widget(*label); label->set_mnemonic_widget(e_ppiy); line->pack_start(e_ppiy, Gtk::PACK_SHRINK); line->pack_start(*(manage(new Gtk::Label("ppi"))), Gtk::PACK_SHRINK); vbox->pack_start(*line, Gtk::PACK_SHRINK); hbox->pack_start(*vbox, Gtk::PACK_SHRINK); hbox->pack_start(b_ppic, Gtk::PACK_SHRINK); b_ppic.set_active(use_aspect); rezpanel->pack_start(*hbox, Gtk::PACK_SHRINK); pack_start(*rezpanel, Gtk::PACK_SHRINK); e_ppix.signal_value_changed().connect (bind(sigc::mem_fun(*this, &PropRaster::on_change), HRES)); e_ppiy.signal_value_changed().connect (bind(sigc::mem_fun(*this, &PropRaster::on_change), VRES)); b_ppic.signal_toggled().connect (bind(sigc::mem_fun(*this, &PropRaster::on_change), ASPECT)); set_sensitive(false); update(); } void PropRaster::reconnectSignals() { geometry_changed_connection.disconnect(); props_changed_connection.disconnect(); if(object) { // Switch raster resolution geometry_changed_connection = object->geometry_changed_signal.connect (sigc::mem_fun(*this, &PropRaster::update)); // Switched file props_changed_connection = object->props_changed_signal.connect (sigc::mem_fun(*this, &PropRaster::update)); } } void PropRaster::update() { if(object) { e_fname.entry.set_text(object->get_association(), true /* save history */); const Vector ppi = object->get_ppi(); e_ppix.set(ppi.x); e_ppiy.set(ppi.y); } else { e_fname.entry.set_text(""); } } void PropRaster::on_change(ChangeId what) { switch(what) { case FILENAME: if(object) object->set_association(e_fname.entry.get_text()); break; case HRES: { const float x(e_ppix.get()); // if(use_aspect && x != last_x) { // last_x = x; last_y = x; /// \todo * object->getAspectRatio() // e_ppiy.set(last_y); // } if(object) { Vector ppi = object->get_ppi(); ppi.x = x; object->set_ppi(ppi); } } break; case VRES: { const float y(e_ppiy.get()); // if(use_aspect && y != last_y) { // last_y = y; last_x = y; /// \todo / object->getAspectRatio() // e_ppix.set(last_x); // } if(object) { Vector ppi = object->get_ppi(); ppi.y = y; object->set_ppi(ppi); } } break; case ASPECT: use_aspect = b_ppic.get_active(); if(use_aspect) { e_ppiy.set(e_ppix.get()); /// \todo * object->getAspectRatio() } break; } } passepartout-0.7.1/src/pptout/rastermeta.h000066400000000000000000000006731140125232500207140ustar00rootroot00000000000000#ifndef RASTERMETA_H // -*- c++ -*- #define RASTERMETA_H /// // Copyright (C) 2002 - 2004, Fredrik Arnerup & Rasmus Kaj, See COPYING /// #include "metabase.h" #include "util/xmlwrap.h" /** * Meta functions for the raster image frame type. */ class RasterMeta : public MetaBase { public: Pagent* load(const ElementWrap& xml, Group* parent); Viewent::Ref create_viewent(View& view, Pagent& node); PropBase* getProp(); }; #endif passepartout-0.7.1/src/pptout/rasterviewent.cc000066400000000000000000000024421140125232500216010ustar00rootroot00000000000000/// // Copyright (C) 2003, 2004, Fredrik Arnerup & Rasmus Kaj, See COPYING /// #include "rasterviewent.h" RasterViewent::RasterViewent(View& view, const FrameRef rasterframe) : Viewent(view, rasterframe), frame(rasterframe) { frame->props_changed_signal.connect (sigc::mem_fun(*this, &RasterViewent::on_geometry_changed)); frame->object_changed_signal.connect (sigc::mem_fun(*this, &RasterViewent::on_object_changed)); canvas_pixbuf.reset(new Gnome::Canvas::Pixbuf(*content_group)); canvas_pixbuf->property_x() = 0; canvas_pixbuf->property_y() = 0; canvas_pixbuf->property_anchor() = Gtk::ANCHOR_SOUTH_WEST; on_properties_changed(); on_object_changed(); } void RasterViewent::on_object_changed() { Glib::RefPtr pixbuf = frame->get_filepixbuf(); set_state(pixbuf ? NORMAL : BROKEN); canvas_pixbuf->property_pixbuf() = pixbuf; on_geometry_changed(); } void RasterViewent::on_geometry_changed() { Viewent::on_geometry_changed(); Vector size = frame->get_inherent_size(); canvas_pixbuf->property_width() = size.x; canvas_pixbuf->property_height() = size.y; canvas_pixbuf->property_width_set() = true; canvas_pixbuf->property_height_set() = true; canvas_pixbuf->property_width_in_pixels() = false; canvas_pixbuf->property_height_in_pixels() = false; } passepartout-0.7.1/src/pptout/rasterviewent.h000066400000000000000000000010701140125232500214370ustar00rootroot00000000000000#ifndef PPT_RASTERVIEWENT_H // -*- C++ -*- #define PPT_RASTERVIEWENT_H /// // Copyright (C) 2003, 2004, Fredrik Arnerup & Rasmus Kaj, See COPYING /// #include "viewent.h" #include "document/rasterframe.h" class RasterViewent : public Viewent { typedef RasterFrame* FrameRef; public: RasterViewent(View& view, const FrameRef rasterframe); protected: const Pagent* get_frame() const { return frame; } void on_object_changed(); void on_geometry_changed(); private: FrameRef frame; std::auto_ptr canvas_pixbuf; }; #endif passepartout-0.7.1/src/pptout/stockitems.cc000066400000000000000000000023061140125232500210630ustar00rootroot00000000000000/// // Copyright (C) 2002 - 2004, Fredrik Arnerup & Rasmus Kaj, See COPYING /// #include "stockitems.h" #include #include #include #include #include #include "icons/newframe_24.h" #include "icons/streams_24.h" #include "icons/moose_24.h" #include "icons/grid_24.h" namespace { void add(Glib::RefPtr factory, const guint8 *data, int data_size, const Glib::ustring &id) { Gtk::IconSource source; source.set_pixbuf(Gdk::Pixbuf::create_from_inline(data_size, data)); source.set_size(Gtk::ICON_SIZE_SMALL_TOOLBAR); source.set_size_wildcarded(); Gtk::IconSet set; set.add_source(source); const Gtk::StockID stock_id(id); factory->add(stock_id, set); Gtk::Stock::add(Gtk::StockItem(stock_id, "")); } } void register_stock_items() { const Glib::RefPtr factory = Gtk::IconFactory::create(); add(factory, newframe_24, sizeof(newframe_24), "newframe"); add(factory, streams_24, sizeof(streams_24), "streams"); add(factory, moose_24, sizeof(moose_24), "moose"); add(factory, grid_24, sizeof(grid_24), "grid"); factory->add_default(); } passepartout-0.7.1/src/pptout/stockitems.h000066400000000000000000000003131140125232500207210ustar00rootroot00000000000000// -*- c++ -*- /// // Copyright (C) 2004, Fredrik Arnerup & Rasmus Kaj, See COPYING /// #ifndef STOCKITEMS_H #define STOCKITEMS_H /// Register icons as stock items. void register_stock_items(); #endif passepartout-0.7.1/src/pptout/streamdialog.cc000066400000000000000000000421701140125232500213540ustar00rootroot00000000000000/// // Copyright (C) 2002 - 2004, Fredrik Arnerup & Rasmus Kaj, See COPYING /// #include #include #include #include #include #include #include #include "widget/usererror.h" #include "widget/wmisc.h" #include "widget/subpanel.h" #include "util/warning.h" #include "document/textstream.h" #include "document/document.h" #include "document/page.h" #include "document/textframe.h" #include "streamdialog.h" #include "config.h" #include "docview.h" /** * File-local utility classes in an unnamed namespace */ namespace { class MainModelColumns: public Gtk::TreeModel::ColumnRecord { public: MainModelColumns() { add(name); } Gtk::TreeModelColumn name; }; MainModelColumns main_columns; class ParamModelColumns: public Gtk::TreeModel::ColumnRecord { public: ParamModelColumns() { add(name); add(value); } Gtk::TreeModelColumn name; Gtk::TreeModelColumn value; }; ParamModelColumns param_columns; namespace Response { enum ReponseType { ADD, DELETE, SETNAME, SETFILE, SETXFRM, }; } } // *** StreamDialog Methods: StreamDialog *StreamDialog::_instance = 0; StreamDialog &StreamDialog::instance() { if(!_instance) _instance = new StreamDialog(); return *_instance; } namespace { sigc::slot adapt_focus_out(sigc::slot slot, int response_id) { return sigc::hide(sigc::bind_return(sigc::bind(slot, response_id), true)); } } StreamDialog::StreamDialog() : UtilityWindow("Text Streams"), file_entry("Stream File"), xfrm_entry("Stylesheet File", config.StylesheetPath.values.front()), document(0), current_selection("") { Gtk::HBox *mainbox = manage(new Gtk::HBox(false, double_space)); mainbox->set_border_width(border_width); { Gtk::VBox *vbox = manage(new Gtk::VBox(false, single_space)); // listan should go here main_model = Gtk::ListStore::create(main_columns); stream_list.set_model(main_model); stream_list.set_headers_visible(false); stream_list.append_column("Stream", main_columns.name); /// \todo Get a more motivated size, not a hardcoded number of pixels. stream_list.property_width_request() = 100; stream_list.property_height_request() = 100; Glib::RefPtr selection = stream_list.get_selection(); selection->signal_changed().connect (sigc::mem_fun(*this, &StreamDialog::on_selection_changed)); Gtk::ScrolledWindow *scroll = manage(new Gtk::ScrolledWindow()); scroll->set_policy(Gtk::POLICY_AUTOMATIC, Gtk::POLICY_AUTOMATIC); scroll->set_shadow_type(Gtk::SHADOW_IN); scroll->add(stream_list); Gtk::Label *list_label = manage(new Gtk::Label("S_treams", 0.0, 0.5, true)); list_label->set_mnemonic_widget(stream_list); vbox->pack_start(*list_label, Gtk::PACK_SHRINK); vbox->pack_start(*scroll); vbox->pack_start(*fix_button(new Gtk::Button(Gtk::Stock::ADD), Response::ADD), Gtk::PACK_SHRINK); vbox->pack_start(*fix_button(new Gtk::Button(Gtk::Stock::DELETE), Response::DELETE), Gtk::PACK_SHRINK); mainbox->pack_start(*vbox); } { Gtk::VBox *propsbox = manage(new Gtk::VBox(false, double_space)); mainbox->pack_start(*propsbox); this->propsbox = propsbox; { SubPanel *box = manage(new SubPanel("Stream Source")); Gtk::Box *line; Glib::RefPtr sizegroup = Gtk::SizeGroup::create(Gtk::SIZE_GROUP_HORIZONTAL); line = manage(new Gtk::HBox(false, double_space)); Gtk::Label *label = manage(new Gtk::Label("_Name:", 0.0, 0.5, true)); sizegroup->add_widget(*label); label->set_mnemonic_widget(name_entry); line->pack_start(*label, Gtk::PACK_SHRINK); line->pack_start(name_entry, Gtk::PACK_EXPAND_WIDGET); box->pack_start(*line, Gtk::PACK_SHRINK); line = manage(new Gtk::HBox(false, double_space)); label = manage(new Gtk::Label("_File:", 0.0, 0.5, true)); sizegroup->add_widget(*label); label->set_mnemonic_widget(file_entry); line->pack_start(*label, Gtk::PACK_SHRINK); line->pack_start(file_entry, Gtk::PACK_EXPAND_WIDGET); box->pack_start(*line, Gtk::PACK_SHRINK); line = manage(new Gtk::HBox(false, double_space)); label = manage(new Gtk::Label("_Stylesheet:", 1.0, 0.5, true)); sizegroup->add_widget(*label); label->set_mnemonic_widget(xfrm_entry.entry.get_entry()); line->pack_start(*label, Gtk::PACK_SHRINK); line->pack_start(xfrm_entry, Gtk::PACK_EXPAND_WIDGET); box->pack_start(*line, Gtk::PACK_SHRINK); propsbox->pack_start(*box, Gtk::PACK_SHRINK); } { SubPanel* box = manage(new SubPanel("Parameters")); param_box = box; // we need this for set_sensitive later param_model = Gtk::ListStore::create(param_columns); param_list.set_model(param_model); param_list.append_column("Name", param_columns.name); param_list.append_column_editable("Value", param_columns.value); param_list.property_height_request() = 90; param_model->signal_row_changed().connect (sigc::mem_fun(*this, &StreamDialog::on_param_row_changed)); Gtk::ScrolledWindow *scroll = manage(new Gtk::ScrolledWindow()); scroll->set_policy(Gtk::POLICY_AUTOMATIC, Gtk::POLICY_AUTOMATIC); scroll->set_shadow_type(Gtk::SHADOW_IN); scroll->add(param_list); box->pack_start(*scroll); propsbox->pack_start(*box); } propsbox->set_sensitive(false); // nothing is selected to start with } add(*mainbox); show_all_children(); Document::streams_changed_signal.connect (sigc::mem_fun(*this, &StreamDialog::_update)); name_entry.signal_activate().connect (bind(sigc::mem_fun(*this, &StreamDialog::on_response), Response::SETNAME)); name_entry.signal_focus_out_event().connect (adapt_focus_out(sigc::mem_fun(*this, &StreamDialog::on_response), Response::SETNAME)); file_entry.entry.get_entry().signal_activate().connect (bind(sigc::mem_fun(*this, &StreamDialog::on_response), Response::SETFILE)); file_entry.entry.get_entry().signal_focus_out_event().connect (adapt_focus_out(sigc::mem_fun(*this, &StreamDialog::on_response), Response::SETFILE)); xfrm_entry.entry.get_entry().signal_activate().connect (bind(sigc::mem_fun(*this, &StreamDialog::on_response), Response::SETXFRM)); xfrm_entry.entry.get_entry().signal_focus_out_event().connect (adapt_focus_out(sigc::mem_fun(*this, &StreamDialog::on_response), Response::SETXFRM)); } StreamDialog::~StreamDialog() {} void StreamDialog::_update(DocRef document_) { if(document == document_) update(); } void StreamDialog::update() { main_model->clear(); if(document) { Document::StreamVec tmp = document->get_text_streams(); for(Document::StreamVec::iterator i = tmp.begin(); i != tmp.end(); ++i) { Gtk::TreeModel::Row row = *(main_model->append()); row[main_columns.name] = (*i)->get_name(); } on_selection_changed(); // Restore entry selection } set_sensitive(document); } Gtk::Button* StreamDialog::fix_button(Gtk::Button* button, int action_id) { Gtk::Button *b = manage(button); // Note: It seems that activate means "in any way except a simple click". // So we have to add callbacks for both activate and clicked. b->signal_clicked().connect (bind(sigc::mem_fun(*this, &StreamDialog::on_response), action_id)); b->signal_activate().connect (bind(sigc::mem_fun(*this, &StreamDialog::on_response), action_id)); return b; } void StreamDialog::on_response(int response_id) { const std::string no_stream = "No current stream in StreamDialog!"; switch(response_id) { case Response::ADD: debug << "StreamDialog: add\n"; current_selection = document->make_up_new_name(); { std::auto_ptr stream(new TextStream(current_selection, "", "")); document->add_text_stream(stream.release()); } break; case Response::DELETE: debug << "StreamDialog: delete\n"; if(document && current_stream) { document->remove_text_stream(current_stream->get_name()); current_selection = ""; on_selection_changed(); // Select last item in the list } break; case Response::SETNAME: if(current_stream) { Glib::ustring newname = name_entry.get_text(); Glib::ustring oldname = current_stream->get_name(); try { document->rename_text_stream(oldname, newname); current_selection = newname; if(Gtk::TreeModel::iterator i = stream_list.get_selection()->get_selected()) { (*i)[main_columns.name] = newname; } } catch(const Error::TextStreamName &e) { throw UserError("Failed to rename text stream \"" + oldname + "\" to \"" + newname + "\"", e.what()); } } else debug << no_stream << std::endl; break; case Response::SETFILE: if(current_stream) current_stream->set_association(file_entry.entry.get_text(true)); else debug << no_stream << std::endl; break; case Response::SETXFRM: if(current_stream) { current_stream->set_transform(xfrm_entry.entry.get_text(true)); update_params(current_stream); } else debug << no_stream << std::endl; break; default: // well ... break; } } void StreamDialog::update_params(TextStream *stream) { param_model->clear(); // disable param list if the stream lacks parameters param_box->set_sensitive(stream->param_begin() != stream->param_end()); for(TextStream::ParamIter i = stream->param_begin(); i != stream->param_end(); ++i) { Gtk::TreeModel::Row row = *(param_model->append()); row[param_columns.name] = i->first; row[param_columns.value] = i->second; } } void StreamDialog::on_selection_changed() { if(!document) return; typedef Gtk::TreeModel Model; // Previous stream is no longer current. current_stream = 0; Glib::RefPtr tree_selection = stream_list.get_selection(); if(Model::iterator i = tree_selection->get_selected()) { Model::Row row = *i; Glib::ustring name = row[main_columns.name]; name_entry.set_text(name); current_selection = name; TextStream *stream = document->get_text_stream(name); file_entry.entry.set_text(stream->get_association(), true /* save history */); if(stream->get_transform().empty()) { //Set default stylesheet xfrm_entry.set_default_value(config.DefaultStylesheet.values.front()); } else { xfrm_entry.entry.set_text(stream->get_transform(), true /* save history */); } update_params(stream); // Only set the stream after the updates, so we can ignore signals that // actually come from our own updates current_stream = stream; } else { //If nothing is selected (after update) Model::Children children = stream_list.get_model()->children(); Gtk::TreeModel::Row row; Model::Children::iterator iter; for(iter = children.begin(); iter != children.end(); ++iter) { //Find last known selection row = *iter; if(current_selection == row[main_columns.name]) { tree_selection->select(row); return; // Don't disable propsbox } } // No current selection => select last element (if list not empty) if(current_selection.empty() && iter != children.begin()) { tree_selection->select(row); return; // Don't disable propsbox } } propsbox->set_sensitive(current_stream); } void StreamDialog::on_param_row_changed(const Gtk::TreeModel::Path& path, const Gtk::TreeModel::iterator& iter) { if(current_stream && iter) current_stream->set_parameter(iter->get_value(param_columns.name), iter->get_value(param_columns.value)); } void StreamDialog::show_raise() { show_all(); UtilityWindow::show_raise(); } void StreamDialog::set_document(DocRef document_) { document = document_; update(); } //*** StreamMenu methods *** namespace{ static const std::string no_stream("( No Stream )"); } StreamMenu::StreamMenu() { update(); } std::string StreamMenu::get_stream() const { Glib::ustring text = get_active_text(); return text == no_stream ? "" : text; } void StreamMenu::update(DocRef document, const std::string &select_name) { Glib::RefPtr::cast_dynamic(get_model())->clear(); if(!document) { append_text("-"); set_active(0); return; } int index = 0; Document::StreamVec streams = document->get_text_streams(); for(Document::StreamVec::iterator i = streams.begin(); i != streams.end(); i++) { const std::string &name = (*i)->get_name(); append_text(name); if(name == select_name) set_active(index); index++; } append_text(no_stream); if(select_name.empty()) set_active(index); } // *** TextFrameDialog methods *** namespace { enum { RESPONSE_TOGGLE_MODE = 4711 }; } TextFrameDialog::TextFrameDialog(Gtk::Window &parent, DocumentView &_view) : DialogWrap("Create new text frame", parent), view(_view), file_entry("Stream File"), xfrm_entry("Stylesheet File", config.StylesheetPath.values.front()) { set_modal(true); Gtk::Box *main_box = manage(new Gtk::VBox(false, double_space)); main_box->set_border_width(border_width); Gtk::Box *old_box = manage(new Gtk::HBox(false, single_space)); old_button = manage(new Gtk::RadioButton("From _existing stream: ", true)); old_box->pack_start(*old_button, Gtk::PACK_SHRINK); old_box->pack_start(streams, Gtk::PACK_SHRINK); main_box->pack_start(*old_box, Gtk::PACK_SHRINK); new_button = manage(new Gtk::RadioButton("C_reate new stream:", true)); main_box->pack_start(*new_button, Gtk::PACK_SHRINK); Gtk::Box *line; Glib::RefPtr sizegroup = Gtk::SizeGroup::create(Gtk::SIZE_GROUP_HORIZONTAL); new_box = manage(new Gtk::VBox(false, single_space)); line = manage(new Gtk::HBox(false, double_space)); Gtk::Label *label = manage(new Gtk::Label("N_ame:", 0.0, 0.5, true)); sizegroup->add_widget(*label); label->set_mnemonic_widget(name_entry); name_entry.set_activates_default(); line->pack_start(*label, Gtk::PACK_SHRINK); line->pack_start(name_entry, Gtk::PACK_EXPAND_WIDGET); new_box->pack_start(*line, Gtk::PACK_SHRINK); line = manage(new Gtk::HBox(false, double_space)); label = manage(new Gtk::Label("_File:", 0.0, 0.5, true)); sizegroup->add_widget(*label); label->set_mnemonic_widget(file_entry); line->pack_start(*label, Gtk::PACK_SHRINK); line->pack_start(file_entry, Gtk::PACK_EXPAND_WIDGET); new_box->pack_start(*line, Gtk::PACK_SHRINK); line = manage(new Gtk::HBox(false, double_space)); label = manage(new Gtk::Label("_Stylesheet:", 1.0, 0.5, true)); sizegroup->add_widget(*label); label->set_mnemonic_widget(xfrm_entry.entry.get_entry()); line->pack_start(*label, Gtk::PACK_SHRINK); line->pack_start(xfrm_entry, Gtk::PACK_EXPAND_WIDGET); new_box->pack_start(*line, Gtk::PACK_SHRINK); Gtk::Box *format_box = manage(new Gtk::HBox()); format_box->pack_start(*manage(new Gtk::Label(" ")), Gtk::PACK_SHRINK); format_box->pack_start(*new_box); main_box->pack_start(*format_box, Gtk::PACK_SHRINK); add_button(Gtk::Stock::CANCEL, Gtk::RESPONSE_CANCEL); add_button(Gtk::Stock::NEW, Gtk::RESPONSE_OK)->grab_default(); get_vbox()->pack_start(*main_box); Gtk::RadioButton::Group group = old_button->get_group(); new_button->set_group(group); old_button->set_active(); fix_button(new_button, RESPONSE_TOGGLE_MODE); new_box->set_sensitive(false); show_all_children(); } void TextFrameDialog::show_raise() { DocRef document = view.get_document(); if(!document) return; name_entry.set_text(view.get_document()->make_up_new_name()); xfrm_entry.set_default_value(config.DefaultStylesheet.values.front()); streams.update(view.get_document()); show(); DialogWrap::show_raise(); } namespace { void new_text_frame(TextStream *stream, Page *page) { int w = 200, h = 300; page->addObject(new TextFrame(page, stream, w, h)); } } void TextFrameDialog::on_response(int response_id) { switch(response_id) { case Gtk::RESPONSE_OK: TextStream *stream; if(old_button->get_active()) stream = view.get_document()->get_text_stream(streams.get_stream()); else { stream = new TextStream(name_entry.get_text(), file_entry.entry.get_text(), xfrm_entry.entry.get_text()); try { view.get_document()->add_text_stream(stream); } catch(const Error::TextStreamName &e) { delete stream; throw UserError("Could not create text stream", e.what()); } } new_text_frame(stream, view.get_page()); hide(); break; case Gtk::RESPONSE_CANCEL: hide(); break; case RESPONSE_TOGGLE_MODE: { bool foo = old_button->get_active(); streams.set_sensitive(foo); new_box->set_sensitive(!foo); } break; default: break; } } passepartout-0.7.1/src/pptout/streamdialog.h000066400000000000000000000050321140125232500212120ustar00rootroot00000000000000#ifndef STREAMDIALOG_H // -*- c++ -*- #define STREAMDIALOG_H /// // Copyright (C) 2002 - 2004, Fredrik Arnerup & Rasmus Kaj, See COPYING /// #include "widget/filesel.h" #include "widget/dialogwrap.h" #include #include #include #include #include #include "document/document.h" class TextStream; /** * List of Streams and their properties. * This Dialog lets the user select what data file and which transform to * apply for a specific stream. * This is a Singleton. */ class StreamDialog: public UtilityWindow { public: static StreamDialog &instance(); void show_raise(); // Make sure this dialog is visible void set_document(DocRef document_); private: static StreamDialog *_instance; Glib::RefPtr main_model, param_model; Gtk::TreeView stream_list, param_list; Gtk::Widget *propsbox, *param_box; Gtk::Entry name_entry; FileEntry file_entry; FileEntry xfrm_entry; DocRef document; TextStream* current_stream; StreamDialog(); // no default constructors: StreamDialog(const StreamDialog&); void operator = (const StreamDialog&); // no destructor ~StreamDialog(); Glib::ustring current_selection; // Last known stream selection. /// \todo get rid of this: void _update(DocRef document_); // called when the document streams // have changed in any way void update(); Gtk::Button* fix_button(Gtk::Button* button, int action_id); void on_response(int response_id); void update_params(TextStream*); void on_selection_changed(); void on_param_row_changed(const Gtk::TreeModel::Path& path, const Gtk::TreeModel::iterator& iter); }; /** * An menu for selecting streams. */ class StreamMenu: public Gtk::ComboBoxText { public: StreamMenu(); // select_name must be an existing name in the document or an empty // string, which means no stream void update(DocRef document = Document::null(), const std::string &select_name = ""); std::string get_stream() const; }; class DocumentView; /** * Dialog for creating a text frame using a new or existing stream. */ class TextFrameDialog: public DialogWrap { public: TextFrameDialog(Gtk::Window &parent, DocumentView &_view); void show_raise(); private: DocumentView &view; StreamMenu streams; Gtk::RadioButton *old_button, *new_button; Gtk::Box *new_box; Gtk::Entry name_entry; FileEntry file_entry; FileEntry xfrm_entry; void on_response(int response_id); }; #endif passepartout-0.7.1/src/pptout/templatepagedialog.cc000066400000000000000000000076751140125232500225440ustar00rootroot00000000000000/// // Copyright (C) 2002 - 2004, Fredrik Arnerup & Rasmus Kaj, See COPYING /// #include "templatepagedialog.h" #include "document/page.h" #include "document/document.h" #include "widget/wmisc.h" #include #include #include namespace { class ModelColumns: public Gtk::TreeModel::ColumnRecord { public: ModelColumns() { add(col_name); add(col_style); } Gtk::TreeModelColumn col_name; Gtk::TreeModelColumn col_style; }; const ModelColumns columns; const Glib::ustring no_template_string("blank page"); } TemplatePageDialog::TemplatePageDialog(Gtk::Window &parent, DocumentView &document_view, int page_num): DialogWrap("Add Page", parent), document_view(document_view), page_num(page_num) { set_resizable(false); set_has_separator(false); add_button(Gtk::Stock::CANCEL, Gtk::RESPONSE_CANCEL); add_button(Gtk::Stock::ADD, Gtk::RESPONSE_OK); Gtk::ScrolledWindow *scroller = manage(new Gtk::ScrolledWindow); scroller->set_policy(Gtk::POLICY_AUTOMATIC, Gtk::POLICY_AUTOMATIC); scroller->set_shadow_type(Gtk::SHADOW_IN); scroller->add(page_list); Gtk::Label *template_label = manage(new Gtk::Label("Select template page:", 0)); Gtk::Box *vbox = manage(new Gtk::VBox(false, double_space)); vbox->set_border_width(border_width); Gtk::Box *template_label_box = manage(new Gtk::HBox()); template_label_box->pack_start(*template_label, Gtk::PACK_SHRINK); vbox->pack_start(*template_label_box, Gtk::PACK_SHRINK); vbox->pack_start(*scroller, Gtk::PACK_EXPAND_WIDGET); get_vbox()->pack_start(*vbox); Glib::RefPtr tree_model = Gtk::ListStore::create(columns); page_list.set_model(tree_model); Gtk::CellRendererText *text_renderer = manage(new Gtk::CellRendererText()); int col_count = page_list.append_column("Name", *text_renderer); Gtk::TreeViewColumn* column = page_list.get_column(col_count - 1); if(column) { column->add_attribute(text_renderer->property_text(), columns.col_name); column->add_attribute(text_renderer->property_style(), columns.col_style); } page_list.set_headers_visible(false); page_list.property_width_request() = 100; page_list.property_height_request() = 100; DocRef document = document_view.get_document(); if(document) { typedef std::list Strings; Strings tmp = document->get_template_pages(); for(Strings::iterator i = tmp.begin(); i != tmp.end(); i++) { Gtk::TreeModel::Row row = *(tree_model->append()); row[columns.col_name] = *i; row[columns.col_style] = Pango::STYLE_NORMAL; } Gtk::TreeModel::Row row = *(tree_model->append()); row[columns.col_name] = no_template_string; row[columns.col_style] = Pango::STYLE_ITALIC; } show_all(); } void TemplatePageDialog::on_response(int response_id) { DocRef document = document_view.get_document(); if(document && response_id == Gtk::RESPONSE_OK) { // assume anything else means CANCEL std::string page_name = ""; Glib::RefPtr selection = page_list.get_selection(); Gtk::TreeModel::iterator iter = selection->get_selected(); if(iter) { Gtk::TreeModel::Row row = *iter; page_name = Glib::ustring(row[columns.col_name]); } if(!page_name.empty() && page_name != no_template_string && document->get_template()) { Page *t_page = document->get_template()->get_page(page_name); if(!t_page) { // There should only be existing template pages in the list throw std::logic_error("Template page \"" + page_name + "\" not found"); } document->new_page(page_num, t_page); //problem here } else { document->new_page(page_num); } // go to the new page document_view.set_current_page_num(page_num); } hide(); delete this; } passepartout-0.7.1/src/pptout/templatepagedialog.h000066400000000000000000000010261140125232500223660ustar00rootroot00000000000000#ifndef TEMPLATEPAGEDIALOG_H // -*- c++ -*- #define TEMPLATEPAGEDIALOG_H /// // Copyright (C) 2002 - 2004, Fredrik Arnerup & Rasmus Kaj, See COPYING /// #include "docview.h" #include "widget/dialogwrap.h" #include class TemplatePageDialog: public DialogWrap { public: TemplatePageDialog(Gtk::Window &parent, DocumentView &document_view, int page_num); private: DocumentView &document_view; Gtk::TreeView page_list; int page_num; void on_response(int response_id); }; #endif passepartout-0.7.1/src/pptout/textmeta.cc000066400000000000000000000101151140125232500205260ustar00rootroot00000000000000/// // Copyright (C) 2002 - 2004, Fredrik Arnerup & Rasmus Kaj, See COPYING /// #include "textmeta.h" #include "streamdialog.h" #include "textviewent.h" #include "widget/wmisc.h" #include "widget/spinner.h" #include "widget/subpanel.h" #include "document/textframe.h" #include "document/document.h" #include #include #include Pagent* TextMeta::load(const ElementWrap& xml, Group* parent) { return new TextFrame(xml, parent); } Viewent::Ref TextMeta::create_viewent(View& view, Pagent& node) { Viewent::Ref result(new TextViewent (view, &dynamic_cast(node), 2)); result->reference(); return result; } class PropText : public GenericProp { public: PropText() : GenericProp("Te_xt"), e_columns(1, false), e_gutter(0, true, &length_units) { Glib::RefPtr sizegroup = Gtk::SizeGroup::create(Gtk::SIZE_GROUP_HORIZONTAL); Gtk::Box *line = manage(new Gtk::HBox(false, single_space)); Gtk::Label *label = manage(new Gtk::Label("_Stream:", 0.0, 0.5, true)); line->pack_start(*label, Gtk::PACK_SHRINK); label->set_mnemonic_widget(e_stream); line->pack_start(e_stream, Gtk::PACK_EXPAND_WIDGET); e_stream.signal_changed().connect (bind(sigc::mem_fun(*this, &PropText::on_change), STREAM)); Gtk::Button *b_streams = manage(new Gtk::Button("E_dit streams", true)); b_streams->signal_clicked().connect (sigc::mem_fun(StreamDialog::instance(), &StreamDialog::show_raise)); line->pack_start(*b_streams, Gtk::PACK_SHRINK); pack_start(*line, Gtk::PACK_SHRINK); SubPanel *box = manage(new SubPanel("Columns")); line = manage(new Gtk::HBox(false, double_space)); line->pack_start(*(label = manage(new Gtk::Label("Number of _columns:", 0.0, 0.5, true))), Gtk::PACK_SHRINK); sizegroup->add_widget(*label); label->set_mnemonic_widget(e_columns); e_columns.limits(1, 64); // Note: The upper limit is rather arbitrary. e_columns.signal_value_changed().connect (bind(sigc::mem_fun(*this, &PropText::on_change), COLUMNS)); line->pack_start(e_columns, Gtk::PACK_SHRINK); box->pack_start(*line); line = manage(new Gtk::HBox(false, double_space)); line->pack_start(*(label = manage(new Gtk::Label("_Gutter width:", 0.0, 0.5, true))), Gtk::PACK_SHRINK); sizegroup->add_widget(*label); label->set_mnemonic_widget(e_gutter); line->pack_start(e_gutter, Gtk::PACK_SHRINK); e_gutter.signal_value_changed().connect (bind(sigc::mem_fun(*this, &PropText::on_change), GUTTER)); box->pack_start(*line); pack_start(*box, Gtk::PACK_SHRINK); // perhaps this should go into the StreamMenu class Document::streams_changed_signal.connect (sigc::mem_fun(*this, &PropText::on_streams_changed)); set_sensitive(false); update(); } void update() { if(object) { //The text stream of a text frame may be null. //This will happen, for instance, when the stream //associated with the frame is deleted. if(object->get_stream()) e_stream.update(Document::containing(*object).self(), object->get_stream()->get_name()); else e_stream.update(Document::containing(*object).self()); e_columns.set(object->get_num_columns()); e_gutter.set(object->get_gutter()); } else { e_stream.update(Document::null()); } } void on_streams_changed(DocRef doc) { if(object && doc == Document::containing(*object).self()) update(); } enum ChangeId { STREAM, COLUMNS, GUTTER, }; void on_change(ChangeId what) { if(object) switch(what) { case STREAM: object->set_stream(Document::containing(*object) .get_text_stream(e_stream.get_stream())); break; case COLUMNS: object->set_num_columns(int(e_columns.get())); break; case GUTTER: object->set_gutter(e_gutter.get()); break; } } private: Gtk::HSeparator hsep; StreamMenu e_stream; Spinner e_columns, e_gutter; }; PropBase* TextMeta::getProp() { return new PropText; } passepartout-0.7.1/src/pptout/textmeta.h000066400000000000000000000006001140125232500203660ustar00rootroot00000000000000#ifndef TEXTMETA_H // -*- c++ -*- #define TEXTMETA_H /// // Copyright (C) 2002 - 2004, Fredrik Arnerup & Rasmus Kaj, See COPYING /// #include "metabase.h" #include "util/xmlwrap.h" class TextMeta : public MetaBase { public: Pagent* load(const ElementWrap& xml, Group* parent); Viewent::Ref create_viewent(View& view, Pagent& node); virtual PropBase* getProp(); }; #endif passepartout-0.7.1/src/pptout/textviewent.cc000066400000000000000000000027631140125232500212730ustar00rootroot00000000000000/// // Copyright (C) 2003, 2004, Fredrik Arnerup & Rasmus Kaj, See COPYING /// #include "textviewent.h" #include "document/textframe.h" #include "docview.h" #include #include #include TextViewent::TextViewent(View& view, const FrameRef cachedframe, int scale_factor) : PostscriptViewent(view, cachedframe, scale_factor), textframe(dynamic_cast(cachedframe)) { Gnome::Canvas::Polygon *tri = new Gnome::Canvas::Polygon(*group); tri->property_fill_color_gdk() = view.get_color(Color::guide); trunc_ind.reset(tri); trunc_ind->hide(); on_geometry_changed(); textframe->truncated_state_changed_signal.connect (sigc::mem_fun(*this, &TextViewent::on_truncated_state_changed)); } void TextViewent::on_truncated_state_changed(bool truncated) { if(truncated) trunc_ind->show(); else trunc_ind->hide(); } void TextViewent::on_geometry_changed() { PostscriptViewent::on_geometry_changed(); Vector size = get_frame()->get_inherent_size(); Gnome::Canvas::Polygon *tri = dynamic_cast(trunc_ind.get()); Gnome::Canvas::Points points; using namespace Gnome::Art; points.push_back(Point(size.x - 5, -15)); points.push_back(Point(size.x - 25, -15)); points.push_back(Point(size.x - 15, + 5)); tri->property_points() = points; } void TextViewent::on_properties_changed() { TextStream *stream = textframe->get_stream(); if(stream) stream->generate_ps_request(textframe); } passepartout-0.7.1/src/pptout/textviewent.h000066400000000000000000000013651140125232500211320ustar00rootroot00000000000000#ifndef PPT_TEXTVIEWENT_H // -*- C++ -*- #define PPT_TEXTVIEWENT_H /// // Copyright (C) 2003, 2004, Fredrik Arnerup & Rasmus Kaj, See COPYING /// #include "postscriptviewent.h" class TextFrame; class TextViewent : public PostscriptViewent { public: /** * Create a new TextViewent. * \param cachedframe * \param view * \param scale_factor Create bitmaps this many times bigger than * necessary and scale them down, kind of a poor mans * antialiasing. */ TextViewent(View& view, const FrameRef cachedframe, int scale_factor = 1); private: TextFrame *textframe; std::auto_ptr trunc_ind; void on_geometry_changed(); void on_properties_changed(); void on_truncated_state_changed(bool); }; #endif passepartout-0.7.1/src/pptout/view.h000066400000000000000000000016321140125232500175130ustar00rootroot00000000000000#ifndef VIEW_H // -*- c++ -*- #define VIEW_H /// // Copyright (C) 2002 - 2004, Fredrik Arnerup & Rasmus Kaj, See COPYING /// #include "util/vector.h" #include #include namespace Color { typedef enum { bg, frame, locked, guide, empty } Id; } class View { public: virtual ~View() {} virtual Gnome::Canvas::Group& get_pagent_group() = 0; virtual Gnome::Canvas::Group& get_guide_group() = 0; virtual double get_scrres() const = 0; virtual float pt2scr(float pt) const = 0; virtual Gdk::Point pt2scr(const Vector& pt) const = 0; virtual Vector scr2pt(const Gdk::Point& scr) const = 0; virtual float scr2pt(const float scr) const = 0; virtual const Gdk::Color& get_color(Color::Id color) const = 0; /** Register a callback for the signal raised on rescaling the view */ virtual sigc::connection connect_zoom_change(sigc::slot) = 0; }; #endif passepartout-0.7.1/src/pptout/viewent.cc000066400000000000000000000051041140125232500203560ustar00rootroot00000000000000/// // Copyright (C) 2003, 2004, Fredrik Arnerup & Rasmus Kaj, See COPYING /// #include "viewent.h" #include #include "icons/broken.xpm" #include "icons/missing.xpm" #include "icons/wait.xpm" namespace { ArtVpathDash dash_style; double dash_lengths[] = {3, 3}; Glib::RefPtr broken_pixbuf, missing_pixbuf, wait_pixbuf; } Viewent::Viewent(View& the_view, Pagent* pagent) : view(the_view) { pagent->props_changed_signal.connect (sigc::mem_fun(*this, &Viewent::on_properties_changed)); pagent->geometry_changed_signal.connect (sigc::mem_fun(*this, &Viewent::on_geometry_changed)); // can't create pixbuf until glib (or whatever) is initialized if(!broken_pixbuf) { using namespace Gdk; broken_pixbuf = Pixbuf::create_from_xpm_data(broken_xpm); missing_pixbuf = Pixbuf::create_from_xpm_data(missing_xpm); wait_pixbuf = Pixbuf::create_from_xpm_data(wait_xpm); } dash_style.dash = dash_lengths; dash_style.n_dash = 2; group.reset(new Gnome::Canvas::Group(view.get_pagent_group())); content_group.reset(new Gnome::Canvas::Group(*group)); rect.reset(new Gnome::Canvas::Rect(*group)); rect->property_dash() = &dash_style; rect->property_width_pixels() = 1; rect->property_x1() = 0; rect->property_y1() = 0; state_pixbuf.reset(new Gnome::Canvas::Pixbuf(*group)); state_pixbuf->property_pixbuf() = broken_pixbuf; state_pixbuf->property_width_in_pixels() = true; state_pixbuf->property_height_in_pixels() = true; state_pixbuf->property_anchor() = Gtk::ANCHOR_CENTER; set_state(NORMAL); } Viewent::~Viewent() {} void Viewent::set_selected(bool selected) { rect->property_dash() = selected ? 0 : &dash_style; } void Viewent::set_state(State state) { switch(state) { case BROKEN: state_pixbuf->property_pixbuf() = broken_pixbuf; break; case MISSING: state_pixbuf->property_pixbuf() = missing_pixbuf; break; case WAIT: state_pixbuf->property_pixbuf() = wait_pixbuf; break; default: break; } if(state == NORMAL) state_pixbuf->hide(); else state_pixbuf->show(); } void Viewent::raise_to_top() { group->raise_to_top(); } void Viewent::on_geometry_changed() { Vector size = get_frame()->get_inherent_size(); state_pixbuf->property_x() = size.x / 2; state_pixbuf->property_y() = -size.y / 2; rect->property_x2() = size.x; rect->property_y2() = -size.y; group->affine_absolute(get_frame()->get_matrix().gaTransform()); } void Viewent::on_properties_changed() { rect->property_outline_color_gdk() = view.get_color(get_frame()->get_lock() ? Color::locked : Color::frame); } passepartout-0.7.1/src/pptout/viewent.h000066400000000000000000000031551140125232500202240ustar00rootroot00000000000000#ifndef PPT_VIEWENT_H // -*- C++ -*- #define PPT_VIEWENT_H /// // Copyright (C) 2003, 2004, Fredrik Arnerup & Rasmus Kaj, See COPYING /// #include "view.h" #include "document/pagent.h" #include "util/refcount.h" #include // auto_ptr /** * Base class for View adapters for Pagent s. A Pagent can be visible * in multiple View s, then each of the View s has a Viewent for the * Pagent. When a View is rescaled etc, all its Viewent s are dropped * and new ones created. */ class Viewent : public sigc::trackable, public RefCounted { public: typedef Glib::RefPtr PixmapRef; typedef Glib::RefPtr Ref; /** Returns true if this viewent is for viewing {ent} */ bool samePagent(const Pagent* ent) { return ent == get_frame(); } virtual const Pagent* get_frame() const = 0; void set_selected(bool selected); /** Raise the canvas items of this Viewent to the top of the canvas * group of its parent view. */ void raise_to_top(); protected: Viewent(View& view, Pagent* pagent); virtual ~Viewent(); std::auto_ptr rect; /// the frame std::auto_ptr group, content_group; std::auto_ptr state_pixbuf; View& view; enum State {NORMAL, BROKEN, MISSING, WAIT}; /** Display the appropriate icon showing the state of the pagent * (or no icon if the state is NORMAL). */ virtual void set_state(State state); virtual void on_geometry_changed(); virtual void on_properties_changed(); private: // Undefined Viewent(); Viewent(const Viewent&); Viewent& operator = (const Viewent&); }; #endif passepartout-0.7.1/src/pptout/widget/000077500000000000000000000000001140125232500176515ustar00rootroot00000000000000passepartout-0.7.1/src/pptout/widget/Makefile.am000066400000000000000000000007271140125232500217130ustar00rootroot00000000000000noinst_LIBRARIES = libwidget.a dist_noinst_HEADERS = spinner.h filesel.h imagefilesel.h dialogwrap.h \ subpanel.h wmisc.h errordialog.h usererror.h programs.h \ zoomer.h libwidget_a_SOURCES = spinner.cc filesel.cc imagefilesel.cc \ dialogwrap.cc subpanel.cc wmisc.cc errordialog.cc \ usererror.cc programs.cc zoomer.cc libwidget_a_CXXFLAGS = $(GTKMM_CFLAGS) $(GNOMEVFS_CFLAGS) $(GNOME_CFLAGS) libwidget_a_CXXFLAGS += -I$(top_srcdir)/src -D'DOCDIR=$(docdir)' passepartout-0.7.1/src/pptout/widget/Makefile.in000066400000000000000000000766641140125232500217410ustar00rootroot00000000000000# Makefile.in generated by automake 1.10.1 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, # 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ VPATH = @srcdir@ pkgdatadir = $(datadir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : subdir = src/pptout/widget DIST_COMMON = $(dist_noinst_HEADERS) $(srcdir)/Makefile.am \ $(srcdir)/Makefile.in ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs CONFIG_HEADER = $(top_builddir)/src/defines.h CONFIG_CLEAN_FILES = LIBRARIES = $(noinst_LIBRARIES) AR = ar ARFLAGS = cru libwidget_a_AR = $(AR) $(ARFLAGS) libwidget_a_LIBADD = am_libwidget_a_OBJECTS = libwidget_a-spinner.$(OBJEXT) \ libwidget_a-filesel.$(OBJEXT) \ libwidget_a-imagefilesel.$(OBJEXT) \ libwidget_a-dialogwrap.$(OBJEXT) \ libwidget_a-subpanel.$(OBJEXT) libwidget_a-wmisc.$(OBJEXT) \ libwidget_a-errordialog.$(OBJEXT) \ libwidget_a-usererror.$(OBJEXT) libwidget_a-programs.$(OBJEXT) \ libwidget_a-zoomer.$(OBJEXT) libwidget_a_OBJECTS = $(am_libwidget_a_OBJECTS) DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)/src depcomp = $(SHELL) $(top_srcdir)/depcomp am__depfiles_maybe = depfiles CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) CXXLD = $(CXX) CXXLINK = $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(AM_LDFLAGS) $(LDFLAGS) \ -o $@ SOURCES = $(libwidget_a_SOURCES) DIST_SOURCES = $(libwidget_a_SOURCES) HEADERS = $(dist_noinst_HEADERS) ETAGS = etags CTAGS = ctags DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ AMTAR = @AMTAR@ APPLY_RPATH = @APPLY_RPATH@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CXX = @CXX@ CXXDEPMODE = @CXXDEPMODE@ CXXFLAGS = @CXXFLAGS@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ FREETYPE_CFLAGS = @FREETYPE_CFLAGS@ FREETYPE_LIBS = @FREETYPE_LIBS@ GNOMECANVAS_CFLAGS = @GNOMECANVAS_CFLAGS@ GNOMECANVAS_LIBS = @GNOMECANVAS_LIBS@ GNOMEVFS_CFLAGS = @GNOMEVFS_CFLAGS@ GNOMEVFS_LIBS = @GNOMEVFS_LIBS@ GNOME_CFLAGS = @GNOME_CFLAGS@ GNOME_LIBS = @GNOME_LIBS@ GREP = @GREP@ GTHREAD_CFLAGS = @GTHREAD_CFLAGS@ GTHREAD_LIBS = @GTHREAD_LIBS@ GTKMM_CFLAGS = @GTKMM_CFLAGS@ GTKMM_LIBS = @GTKMM_LIBS@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ LDFLAGS = @LDFLAGS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LTLIBOBJS = @LTLIBOBJS@ MAKEINFO = @MAKEINFO@ MKDIR_P = @MKDIR_P@ OBJEXT = @OBJEXT@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ RANLIB = @RANLIB@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ VERSION = @VERSION@ XMLPP_CFLAGS = @XMLPP_CFLAGS@ XMLPP_LIBS = @XMLPP_LIBS@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ ac_ct_CC = @ac_ct_CC@ ac_ct_CXX = @ac_ct_CXX@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build_alias = @build_alias@ builddir = @builddir@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host_alias = @host_alias@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ xmldir = @xmldir@ noinst_LIBRARIES = libwidget.a dist_noinst_HEADERS = spinner.h filesel.h imagefilesel.h dialogwrap.h \ subpanel.h wmisc.h errordialog.h usererror.h programs.h \ zoomer.h libwidget_a_SOURCES = spinner.cc filesel.cc imagefilesel.cc \ dialogwrap.cc subpanel.cc wmisc.cc errordialog.cc \ usererror.cc programs.cc zoomer.cc libwidget_a_CXXFLAGS = $(GTKMM_CFLAGS) $(GNOMEVFS_CFLAGS) \ $(GNOME_CFLAGS) -I$(top_srcdir)/src -D'DOCDIR=$(docdir)' all: all-am .SUFFIXES: .SUFFIXES: .cc .o .obj $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ && exit 0; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign src/pptout/widget/Makefile'; \ cd $(top_srcdir) && \ $(AUTOMAKE) --foreign src/pptout/widget/Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh clean-noinstLIBRARIES: -test -z "$(noinst_LIBRARIES)" || rm -f $(noinst_LIBRARIES) libwidget.a: $(libwidget_a_OBJECTS) $(libwidget_a_DEPENDENCIES) -rm -f libwidget.a $(libwidget_a_AR) libwidget.a $(libwidget_a_OBJECTS) $(libwidget_a_LIBADD) $(RANLIB) libwidget.a mostlyclean-compile: -rm -f *.$(OBJEXT) distclean-compile: -rm -f *.tab.c @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libwidget_a-dialogwrap.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libwidget_a-errordialog.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libwidget_a-filesel.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libwidget_a-imagefilesel.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libwidget_a-programs.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libwidget_a-spinner.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libwidget_a-subpanel.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libwidget_a-usererror.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libwidget_a-wmisc.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libwidget_a-zoomer.Po@am__quote@ .cc.o: @am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< @am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ $< .cc.obj: @am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` @am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'` libwidget_a-spinner.o: spinner.cc @am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libwidget_a_CXXFLAGS) $(CXXFLAGS) -MT libwidget_a-spinner.o -MD -MP -MF $(DEPDIR)/libwidget_a-spinner.Tpo -c -o libwidget_a-spinner.o `test -f 'spinner.cc' || echo '$(srcdir)/'`spinner.cc @am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/libwidget_a-spinner.Tpo $(DEPDIR)/libwidget_a-spinner.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='spinner.cc' object='libwidget_a-spinner.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libwidget_a_CXXFLAGS) $(CXXFLAGS) -c -o libwidget_a-spinner.o `test -f 'spinner.cc' || echo '$(srcdir)/'`spinner.cc libwidget_a-spinner.obj: spinner.cc @am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libwidget_a_CXXFLAGS) $(CXXFLAGS) -MT libwidget_a-spinner.obj -MD -MP -MF $(DEPDIR)/libwidget_a-spinner.Tpo -c -o libwidget_a-spinner.obj `if test -f 'spinner.cc'; then $(CYGPATH_W) 'spinner.cc'; else $(CYGPATH_W) '$(srcdir)/spinner.cc'; fi` @am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/libwidget_a-spinner.Tpo $(DEPDIR)/libwidget_a-spinner.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='spinner.cc' object='libwidget_a-spinner.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libwidget_a_CXXFLAGS) $(CXXFLAGS) -c -o libwidget_a-spinner.obj `if test -f 'spinner.cc'; then $(CYGPATH_W) 'spinner.cc'; else $(CYGPATH_W) '$(srcdir)/spinner.cc'; fi` libwidget_a-filesel.o: filesel.cc @am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libwidget_a_CXXFLAGS) $(CXXFLAGS) -MT libwidget_a-filesel.o -MD -MP -MF $(DEPDIR)/libwidget_a-filesel.Tpo -c -o libwidget_a-filesel.o `test -f 'filesel.cc' || echo '$(srcdir)/'`filesel.cc @am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/libwidget_a-filesel.Tpo $(DEPDIR)/libwidget_a-filesel.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='filesel.cc' object='libwidget_a-filesel.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libwidget_a_CXXFLAGS) $(CXXFLAGS) -c -o libwidget_a-filesel.o `test -f 'filesel.cc' || echo '$(srcdir)/'`filesel.cc libwidget_a-filesel.obj: filesel.cc @am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libwidget_a_CXXFLAGS) $(CXXFLAGS) -MT libwidget_a-filesel.obj -MD -MP -MF $(DEPDIR)/libwidget_a-filesel.Tpo -c -o libwidget_a-filesel.obj `if test -f 'filesel.cc'; then $(CYGPATH_W) 'filesel.cc'; else $(CYGPATH_W) '$(srcdir)/filesel.cc'; fi` @am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/libwidget_a-filesel.Tpo $(DEPDIR)/libwidget_a-filesel.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='filesel.cc' object='libwidget_a-filesel.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libwidget_a_CXXFLAGS) $(CXXFLAGS) -c -o libwidget_a-filesel.obj `if test -f 'filesel.cc'; then $(CYGPATH_W) 'filesel.cc'; else $(CYGPATH_W) '$(srcdir)/filesel.cc'; fi` libwidget_a-imagefilesel.o: imagefilesel.cc @am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libwidget_a_CXXFLAGS) $(CXXFLAGS) -MT libwidget_a-imagefilesel.o -MD -MP -MF $(DEPDIR)/libwidget_a-imagefilesel.Tpo -c -o libwidget_a-imagefilesel.o `test -f 'imagefilesel.cc' || echo '$(srcdir)/'`imagefilesel.cc @am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/libwidget_a-imagefilesel.Tpo $(DEPDIR)/libwidget_a-imagefilesel.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='imagefilesel.cc' object='libwidget_a-imagefilesel.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libwidget_a_CXXFLAGS) $(CXXFLAGS) -c -o libwidget_a-imagefilesel.o `test -f 'imagefilesel.cc' || echo '$(srcdir)/'`imagefilesel.cc libwidget_a-imagefilesel.obj: imagefilesel.cc @am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libwidget_a_CXXFLAGS) $(CXXFLAGS) -MT libwidget_a-imagefilesel.obj -MD -MP -MF $(DEPDIR)/libwidget_a-imagefilesel.Tpo -c -o libwidget_a-imagefilesel.obj `if test -f 'imagefilesel.cc'; then $(CYGPATH_W) 'imagefilesel.cc'; else $(CYGPATH_W) '$(srcdir)/imagefilesel.cc'; fi` @am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/libwidget_a-imagefilesel.Tpo $(DEPDIR)/libwidget_a-imagefilesel.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='imagefilesel.cc' object='libwidget_a-imagefilesel.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libwidget_a_CXXFLAGS) $(CXXFLAGS) -c -o libwidget_a-imagefilesel.obj `if test -f 'imagefilesel.cc'; then $(CYGPATH_W) 'imagefilesel.cc'; else $(CYGPATH_W) '$(srcdir)/imagefilesel.cc'; fi` libwidget_a-dialogwrap.o: dialogwrap.cc @am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libwidget_a_CXXFLAGS) $(CXXFLAGS) -MT libwidget_a-dialogwrap.o -MD -MP -MF $(DEPDIR)/libwidget_a-dialogwrap.Tpo -c -o libwidget_a-dialogwrap.o `test -f 'dialogwrap.cc' || echo '$(srcdir)/'`dialogwrap.cc @am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/libwidget_a-dialogwrap.Tpo $(DEPDIR)/libwidget_a-dialogwrap.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='dialogwrap.cc' object='libwidget_a-dialogwrap.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libwidget_a_CXXFLAGS) $(CXXFLAGS) -c -o libwidget_a-dialogwrap.o `test -f 'dialogwrap.cc' || echo '$(srcdir)/'`dialogwrap.cc libwidget_a-dialogwrap.obj: dialogwrap.cc @am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libwidget_a_CXXFLAGS) $(CXXFLAGS) -MT libwidget_a-dialogwrap.obj -MD -MP -MF $(DEPDIR)/libwidget_a-dialogwrap.Tpo -c -o libwidget_a-dialogwrap.obj `if test -f 'dialogwrap.cc'; then $(CYGPATH_W) 'dialogwrap.cc'; else $(CYGPATH_W) '$(srcdir)/dialogwrap.cc'; fi` @am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/libwidget_a-dialogwrap.Tpo $(DEPDIR)/libwidget_a-dialogwrap.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='dialogwrap.cc' object='libwidget_a-dialogwrap.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libwidget_a_CXXFLAGS) $(CXXFLAGS) -c -o libwidget_a-dialogwrap.obj `if test -f 'dialogwrap.cc'; then $(CYGPATH_W) 'dialogwrap.cc'; else $(CYGPATH_W) '$(srcdir)/dialogwrap.cc'; fi` libwidget_a-subpanel.o: subpanel.cc @am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libwidget_a_CXXFLAGS) $(CXXFLAGS) -MT libwidget_a-subpanel.o -MD -MP -MF $(DEPDIR)/libwidget_a-subpanel.Tpo -c -o libwidget_a-subpanel.o `test -f 'subpanel.cc' || echo '$(srcdir)/'`subpanel.cc @am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/libwidget_a-subpanel.Tpo $(DEPDIR)/libwidget_a-subpanel.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='subpanel.cc' object='libwidget_a-subpanel.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libwidget_a_CXXFLAGS) $(CXXFLAGS) -c -o libwidget_a-subpanel.o `test -f 'subpanel.cc' || echo '$(srcdir)/'`subpanel.cc libwidget_a-subpanel.obj: subpanel.cc @am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libwidget_a_CXXFLAGS) $(CXXFLAGS) -MT libwidget_a-subpanel.obj -MD -MP -MF $(DEPDIR)/libwidget_a-subpanel.Tpo -c -o libwidget_a-subpanel.obj `if test -f 'subpanel.cc'; then $(CYGPATH_W) 'subpanel.cc'; else $(CYGPATH_W) '$(srcdir)/subpanel.cc'; fi` @am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/libwidget_a-subpanel.Tpo $(DEPDIR)/libwidget_a-subpanel.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='subpanel.cc' object='libwidget_a-subpanel.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libwidget_a_CXXFLAGS) $(CXXFLAGS) -c -o libwidget_a-subpanel.obj `if test -f 'subpanel.cc'; then $(CYGPATH_W) 'subpanel.cc'; else $(CYGPATH_W) '$(srcdir)/subpanel.cc'; fi` libwidget_a-wmisc.o: wmisc.cc @am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libwidget_a_CXXFLAGS) $(CXXFLAGS) -MT libwidget_a-wmisc.o -MD -MP -MF $(DEPDIR)/libwidget_a-wmisc.Tpo -c -o libwidget_a-wmisc.o `test -f 'wmisc.cc' || echo '$(srcdir)/'`wmisc.cc @am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/libwidget_a-wmisc.Tpo $(DEPDIR)/libwidget_a-wmisc.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='wmisc.cc' object='libwidget_a-wmisc.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libwidget_a_CXXFLAGS) $(CXXFLAGS) -c -o libwidget_a-wmisc.o `test -f 'wmisc.cc' || echo '$(srcdir)/'`wmisc.cc libwidget_a-wmisc.obj: wmisc.cc @am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libwidget_a_CXXFLAGS) $(CXXFLAGS) -MT libwidget_a-wmisc.obj -MD -MP -MF $(DEPDIR)/libwidget_a-wmisc.Tpo -c -o libwidget_a-wmisc.obj `if test -f 'wmisc.cc'; then $(CYGPATH_W) 'wmisc.cc'; else $(CYGPATH_W) '$(srcdir)/wmisc.cc'; fi` @am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/libwidget_a-wmisc.Tpo $(DEPDIR)/libwidget_a-wmisc.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='wmisc.cc' object='libwidget_a-wmisc.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libwidget_a_CXXFLAGS) $(CXXFLAGS) -c -o libwidget_a-wmisc.obj `if test -f 'wmisc.cc'; then $(CYGPATH_W) 'wmisc.cc'; else $(CYGPATH_W) '$(srcdir)/wmisc.cc'; fi` libwidget_a-errordialog.o: errordialog.cc @am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libwidget_a_CXXFLAGS) $(CXXFLAGS) -MT libwidget_a-errordialog.o -MD -MP -MF $(DEPDIR)/libwidget_a-errordialog.Tpo -c -o libwidget_a-errordialog.o `test -f 'errordialog.cc' || echo '$(srcdir)/'`errordialog.cc @am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/libwidget_a-errordialog.Tpo $(DEPDIR)/libwidget_a-errordialog.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='errordialog.cc' object='libwidget_a-errordialog.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libwidget_a_CXXFLAGS) $(CXXFLAGS) -c -o libwidget_a-errordialog.o `test -f 'errordialog.cc' || echo '$(srcdir)/'`errordialog.cc libwidget_a-errordialog.obj: errordialog.cc @am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libwidget_a_CXXFLAGS) $(CXXFLAGS) -MT libwidget_a-errordialog.obj -MD -MP -MF $(DEPDIR)/libwidget_a-errordialog.Tpo -c -o libwidget_a-errordialog.obj `if test -f 'errordialog.cc'; then $(CYGPATH_W) 'errordialog.cc'; else $(CYGPATH_W) '$(srcdir)/errordialog.cc'; fi` @am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/libwidget_a-errordialog.Tpo $(DEPDIR)/libwidget_a-errordialog.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='errordialog.cc' object='libwidget_a-errordialog.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libwidget_a_CXXFLAGS) $(CXXFLAGS) -c -o libwidget_a-errordialog.obj `if test -f 'errordialog.cc'; then $(CYGPATH_W) 'errordialog.cc'; else $(CYGPATH_W) '$(srcdir)/errordialog.cc'; fi` libwidget_a-usererror.o: usererror.cc @am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libwidget_a_CXXFLAGS) $(CXXFLAGS) -MT libwidget_a-usererror.o -MD -MP -MF $(DEPDIR)/libwidget_a-usererror.Tpo -c -o libwidget_a-usererror.o `test -f 'usererror.cc' || echo '$(srcdir)/'`usererror.cc @am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/libwidget_a-usererror.Tpo $(DEPDIR)/libwidget_a-usererror.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='usererror.cc' object='libwidget_a-usererror.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libwidget_a_CXXFLAGS) $(CXXFLAGS) -c -o libwidget_a-usererror.o `test -f 'usererror.cc' || echo '$(srcdir)/'`usererror.cc libwidget_a-usererror.obj: usererror.cc @am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libwidget_a_CXXFLAGS) $(CXXFLAGS) -MT libwidget_a-usererror.obj -MD -MP -MF $(DEPDIR)/libwidget_a-usererror.Tpo -c -o libwidget_a-usererror.obj `if test -f 'usererror.cc'; then $(CYGPATH_W) 'usererror.cc'; else $(CYGPATH_W) '$(srcdir)/usererror.cc'; fi` @am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/libwidget_a-usererror.Tpo $(DEPDIR)/libwidget_a-usererror.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='usererror.cc' object='libwidget_a-usererror.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libwidget_a_CXXFLAGS) $(CXXFLAGS) -c -o libwidget_a-usererror.obj `if test -f 'usererror.cc'; then $(CYGPATH_W) 'usererror.cc'; else $(CYGPATH_W) '$(srcdir)/usererror.cc'; fi` libwidget_a-programs.o: programs.cc @am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libwidget_a_CXXFLAGS) $(CXXFLAGS) -MT libwidget_a-programs.o -MD -MP -MF $(DEPDIR)/libwidget_a-programs.Tpo -c -o libwidget_a-programs.o `test -f 'programs.cc' || echo '$(srcdir)/'`programs.cc @am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/libwidget_a-programs.Tpo $(DEPDIR)/libwidget_a-programs.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='programs.cc' object='libwidget_a-programs.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libwidget_a_CXXFLAGS) $(CXXFLAGS) -c -o libwidget_a-programs.o `test -f 'programs.cc' || echo '$(srcdir)/'`programs.cc libwidget_a-programs.obj: programs.cc @am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libwidget_a_CXXFLAGS) $(CXXFLAGS) -MT libwidget_a-programs.obj -MD -MP -MF $(DEPDIR)/libwidget_a-programs.Tpo -c -o libwidget_a-programs.obj `if test -f 'programs.cc'; then $(CYGPATH_W) 'programs.cc'; else $(CYGPATH_W) '$(srcdir)/programs.cc'; fi` @am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/libwidget_a-programs.Tpo $(DEPDIR)/libwidget_a-programs.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='programs.cc' object='libwidget_a-programs.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libwidget_a_CXXFLAGS) $(CXXFLAGS) -c -o libwidget_a-programs.obj `if test -f 'programs.cc'; then $(CYGPATH_W) 'programs.cc'; else $(CYGPATH_W) '$(srcdir)/programs.cc'; fi` libwidget_a-zoomer.o: zoomer.cc @am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libwidget_a_CXXFLAGS) $(CXXFLAGS) -MT libwidget_a-zoomer.o -MD -MP -MF $(DEPDIR)/libwidget_a-zoomer.Tpo -c -o libwidget_a-zoomer.o `test -f 'zoomer.cc' || echo '$(srcdir)/'`zoomer.cc @am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/libwidget_a-zoomer.Tpo $(DEPDIR)/libwidget_a-zoomer.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='zoomer.cc' object='libwidget_a-zoomer.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libwidget_a_CXXFLAGS) $(CXXFLAGS) -c -o libwidget_a-zoomer.o `test -f 'zoomer.cc' || echo '$(srcdir)/'`zoomer.cc libwidget_a-zoomer.obj: zoomer.cc @am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libwidget_a_CXXFLAGS) $(CXXFLAGS) -MT libwidget_a-zoomer.obj -MD -MP -MF $(DEPDIR)/libwidget_a-zoomer.Tpo -c -o libwidget_a-zoomer.obj `if test -f 'zoomer.cc'; then $(CYGPATH_W) 'zoomer.cc'; else $(CYGPATH_W) '$(srcdir)/zoomer.cc'; fi` @am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/libwidget_a-zoomer.Tpo $(DEPDIR)/libwidget_a-zoomer.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='zoomer.cc' object='libwidget_a-zoomer.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libwidget_a_CXXFLAGS) $(CXXFLAGS) -c -o libwidget_a-zoomer.obj `if test -f 'zoomer.cc'; then $(CYGPATH_W) 'zoomer.cc'; else $(CYGPATH_W) '$(srcdir)/zoomer.cc'; fi` ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \ END { if (nonempty) { for (i in files) print i; }; }'`; \ mkid -fID $$unique tags: TAGS TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) tags=; \ here=`pwd`; \ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in files) print i; }; }'`; \ if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ $$tags $$unique; \ fi ctags: CTAGS CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) tags=; \ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in files) print i; }; }'`; \ test -z "$(CTAGS_ARGS)$$tags$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$tags $$unique GTAGS: here=`$(am__cd) $(top_builddir) && pwd` \ && cd $(top_srcdir) \ && gtags -i $(GTAGS_ARGS) $$here distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ fi; \ cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ else \ test -f $(distdir)/$$file \ || cp -p $$d/$$file $(distdir)/$$file \ || exit 1; \ fi; \ done check-am: all-am check: check-am all-am: Makefile $(LIBRARIES) $(HEADERS) installdirs: install: install-am install-exec: install-exec-am install-data: install-data-am uninstall: uninstall-am install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-am install-strip: $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ `test -z '$(STRIP)' || \ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install mostlyclean-generic: clean-generic: distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-am clean-am: clean-generic clean-noinstLIBRARIES mostlyclean-am distclean: distclean-am -rm -rf ./$(DEPDIR) -rm -f Makefile distclean-am: clean-am distclean-compile distclean-generic \ distclean-tags dvi: dvi-am dvi-am: html: html-am info: info-am info-am: install-data-am: install-dvi: install-dvi-am install-exec-am: install-html: install-html-am install-info: install-info-am install-man: install-pdf: install-pdf-am install-ps: install-ps-am installcheck-am: maintainer-clean: maintainer-clean-am -rm -rf ./$(DEPDIR) -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am mostlyclean-am: mostlyclean-compile mostlyclean-generic pdf: pdf-am pdf-am: ps: ps-am ps-am: uninstall-am: .MAKE: install-am install-strip .PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \ clean-noinstLIBRARIES ctags distclean distclean-compile \ distclean-generic distclean-tags distdir dvi dvi-am html \ html-am info info-am install install-am install-data \ install-data-am install-dvi install-dvi-am install-exec \ install-exec-am install-html install-html-am install-info \ install-info-am install-man install-pdf install-pdf-am \ install-ps install-ps-am install-strip installcheck \ installcheck-am installdirs maintainer-clean \ maintainer-clean-generic mostlyclean mostlyclean-compile \ mostlyclean-generic pdf pdf-am ps ps-am tags uninstall \ uninstall-am # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: passepartout-0.7.1/src/pptout/widget/dialogwrap.cc000066400000000000000000000021411140125232500223070ustar00rootroot00000000000000/// // Copyright (C) 2003, 2004, Fredrik Arnerup & Rasmus Kaj, See COPYING /// #include "dialogwrap.h" DialogWrap::DialogWrap(const Glib::ustring& name) : Gtk::Dialog(name + " - Passepartout", false /* modal */, false /* separator */) {} DialogWrap::DialogWrap(const Glib::ustring& name, Gtk::Window& parent) : Gtk::Dialog(name + " - Passepartout", parent, true /* modal */, false /* separator */) {} void DialogWrap::show_raise() { present(); } Gtk::Button* DialogWrap::fix_button(Gtk::Button* button, int action_id) { Gtk::Button *b = manage(button); // Note: It seems that activate means "in any way except a simple click". // So we have to add callbacks for both activate and clicked. b->signal_clicked().connect (bind(sigc::mem_fun(*this, &DialogWrap::on_response), action_id)); b->signal_activate().connect (bind(sigc::mem_fun(*this, &DialogWrap::on_response), action_id)); return b; } UtilityWindow::UtilityWindow(const Glib::ustring& name) { set_type_hint(Gdk::WINDOW_TYPE_HINT_UTILITY); set_title(name + " - Passepartout"); } void UtilityWindow::show_raise() { present(); } passepartout-0.7.1/src/pptout/widget/dialogwrap.h000066400000000000000000000022701140125232500221540ustar00rootroot00000000000000#ifndef PPT_W_DIALOGWRAP_H // -*- c++ -*- #define PPT_W_DIALOGWRAP_H /// // Copyright (C) 2002 - 2004, Fredrik Arnerup & Rasmus Kaj, See COPYING /// #include /** A base class for creating uniform dialog windows. */ class DialogWrap : public Gtk::Dialog { protected: /** Create a non-modal dialog */ DialogWrap(const Glib::ustring& name); /** Create a modal dialog */ DialogWrap(const Glib::ustring& name, Gtk::Window& parent); /** * Show and raise the dialog, so it is surely visible. * Subclasses might override this to make sure the dialog is up to date. */ virtual void show_raise(); /** * Hook in a button in the same callback system as buttons created by * {add_button()}. */ Gtk::Button* fix_button(Gtk::Button* button, int action_id); }; /** A base class for creating uniform utility windows. The difference * between a utility window and a dialog is that a utility window * never is modal and doesn't have action buttons at the bottom. */ class UtilityWindow : public Gtk::Window { protected: UtilityWindow(const Glib::ustring& name); /** Show and raise the window, so it is surely visible. */ virtual void show_raise(); }; #endif passepartout-0.7.1/src/pptout/widget/errordialog.cc000066400000000000000000000056761140125232500225070ustar00rootroot00000000000000/// // Copyright (C) 2002 - 2004, Fredrik Arnerup & Rasmus Kaj, See COPYING /// #include "errordialog.h" #include "usererror.h" #include "util/stringutil.h" #include #include #include #include #include "wmisc.h" // double_space namespace { void exception_handler() { try { throw; // rethrow the causing exception } catch(const UserError& err) { // A UserError is any error the user should be able to handle. ErrorDialog::instance().show_error(err.get_message(), err.get_cause()); } catch(const std::exception& err) { // All other exceptions that reaches this handler are internal errors. ErrorDialog::instance().show_error("Internal error", err.what()); } catch(const Glib::Exception& err) { // Glib:.Exception is not a std::exception (why?) ErrorDialog::instance().show_error("Internal error (glib)", err.what()); } catch(...) { ErrorDialog::instance().show_error("Unknown internal error", "Sorry."); } } } void init_exception_handler() { Glib::add_exception_handler(&exception_handler); } class MsgDialog : public Gtk::Dialog { public: MsgDialog(Gtk::MessageType type) : Gtk::Dialog(std::string(type == Gtk::MESSAGE_ERROR ? "Error" :"Warning") + " - Passepartout", true /* modal */, false /* separator */) { set_resizable(false); Gtk::Box *box = manage(new Gtk::HBox(false, double_space)); box->set_border_width(border_width); get_vbox()->pack_start(*box); box->pack_start(*manage(new Gtk::Image((type == Gtk::MESSAGE_ERROR) ? Gtk::Stock::DIALOG_ERROR : Gtk::Stock::DIALOG_WARNING, Gtk::ICON_SIZE_DIALOG)), Gtk::PACK_SHRINK); label.set_selectable(); box->pack_start(label, Gtk::PACK_SHRINK); add_button(Gtk::Stock::OK, 0); } void show_message(const Glib::ustring &msg1, const Glib::ustring &msg2) { label.set_markup("" + to_xml(msg1) + "\n\n" + to_xml(msg2)); show_all(); } private: Gtk::Label label; void on_response(int /* response_id */) { hide(); } }; ErrorDialog* ErrorDialog::_instance = 0; ErrorDialog& ErrorDialog::instance() { return *(_instance = (_instance ? _instance : new ErrorDialog())); } ErrorDialog::ErrorDialog() : error_dialog(0), warning_dialog(0) {} void ErrorDialog::show_error(const Glib::ustring& msg1, const Glib::ustring& msg2) { if(!error_dialog) error_dialog = new MsgDialog(Gtk::MESSAGE_ERROR); error_dialog->show_message(msg1, msg2); } void ErrorDialog::show_warning(const Glib::ustring& msg1, const Glib::ustring& msg2) { if(!warning_dialog) warning_dialog = new MsgDialog(Gtk::MESSAGE_WARNING); warning_dialog->show_message(msg1, msg2); } passepartout-0.7.1/src/pptout/widget/errordialog.h000066400000000000000000000013721140125232500223360ustar00rootroot00000000000000#ifndef ERRORDIALOG_H // -*- c++ -*- #define ERRORDIALOG_H /// // Copyright (C) 2002 - 2004, Fredrik Arnerup & Rasmus Kaj, See COPYING /// #include /// Initializes the global handler for exceptions that propagate into gtkmm void init_exception_handler(); class MsgDialog; /// This is a singleton class ErrorDialog { public: static ErrorDialog& instance(); void show_error(const Glib::ustring& msg1, const Glib::ustring& msg2); void show_warning(const Glib::ustring& msg1, const Glib::ustring& msg2); private: static ErrorDialog* _instance; MsgDialog *error_dialog, *warning_dialog; ErrorDialog(); ErrorDialog(const ErrorDialog&); void operator = (const ErrorDialog &); void on_response(int response_id); }; #endif passepartout-0.7.1/src/pptout/widget/filesel.cc000066400000000000000000000114351140125232500216070ustar00rootroot00000000000000/// // Copyright (C) 2002 - 2004, Fredrik Arnerup & Rasmus Kaj, See COPYING /// #include "filesel.h" #include #include #include #include #include #include "usererror.h" #include "util/stringutil.h" #include "util/warning.h" #include "util/filesys.h" #include "wmisc.h" // *** EndEntry methods *** EndEntry::EndEntry(int _history_max) : history_max(_history_max) {} void EndEntry::set_text(const Glib::ustring &text, bool remember_text) { if(get_text(false) == text) return; Gtk::Entry &entry = get_entry(); entry.set_text(text); // move cursor to end so the filename is visible entry.set_position(text.length()); if(remember_text) remember(); } Glib::ustring EndEntry::get_text(bool remember_text) { if(remember_text) remember(); return get_entry().get_text(); } Gtk::Entry& EndEntry::get_entry() { return *dynamic_cast(get_child()); } void EndEntry::remember() { Glib::ustring text = get_entry().get_text(); // remove duplicates History::iterator dup; while((dup = std::find(history.begin(), history.end(), text)) != history.end()) history.erase(dup); // add new history.push_front(text); // remove old while(history.size() > history_max) history.pop_back(); // update pop-down list Glib::RefPtr::cast_dynamic(get_model())->clear(); for(History::const_iterator i = history.begin(); i != history.end(); i++) append_text(*i); } // *** FileEntry methods *** FileEntry::FileEntry(const Glib::ustring& window_title_, const Glib::ustring& default_path_, Gtk::FileChooserAction action) : window_title(window_title_), default_path(default_path_), default_value(&default_path), filesel(0), action(action) { pack_start(entry, Gtk::PACK_EXPAND_WIDGET, 0); pack_start(button, Gtk::PACK_SHRINK, 0); Gtk::Box *button_box = manage(new Gtk::HBox(false, single_space)); Gtk::Image *open_img = manage(new Gtk::Image(Gtk::Stock::OPEN, Gtk::ICON_SIZE_BUTTON)); Gtk::Label *button_label = manage(new Gtk::Label("Browse ... ")); button_box->pack_start(*open_img); button_box->pack_start(*button_label); button.add(*button_box); button.show(); entry.show(); button.set_size_request(-1, entry.get_height()); button.signal_clicked().connect (sigc::mem_fun(*this, &FileEntry::show_filesel)); } bool FileEntry::on_mnemonic_activate(bool group_cycling) { // Not much documented in gtkmm, but it seems this metod gets called when // this widget is activated (by a mnemonic e.g. from a label) so I can put // focus on the proper part of the widget. entry.get_entry().grab_focus(); return true; } void FileEntry::filesel_done() { if(!filesel->was_cancelled()) { // get_filename does not return utf8 entry.set_text(Glib::filename_to_utf8(filesel->get_filename())); entry.get_entry().activate(); // in case of instant apply } filesel.reset(); } void FileEntry::show_filesel() { Gtk::Window *toplevel = dynamic_cast(this->get_toplevel()); assert(toplevel); filesel.reset(new Filesel(*toplevel, window_title, action)); filesel->signal_hide().connect (sigc::mem_fun(*this, &FileEntry::filesel_done)); Glib::ustring filename = entry.get_text(false /* don't save */); if(filename != *default_value) // If non-default entry filesel->set_filename(filename.empty() ? default_path : filename); else // Default entry found -> browse to default_path filesel->set_filename(default_path.empty() ? filename : default_path); filesel->show(); } const Glib::ustring& FileEntry::get_default_value() { return *default_value; } void FileEntry::set_default_value(const Glib::ustring &value) { default_value = &maybe_default_value; maybe_default_value = value; entry.set_text(*default_value); } // *** Filesel methods *** Filesel::Filesel(Gtk::Window &parent, const Glib::ustring& title, Gtk::FileChooserAction action) : Gtk::FileChooserDialog(parent, title, action), cancelled(false) { set_modal(true); add_button(Gtk::Stock::CANCEL, Gtk::RESPONSE_CANCEL); add_button(Gtk::Stock::OK, Gtk::RESPONSE_OK)->grab_default(); signal_file_activated().connect (sigc::bind(sigc::mem_fun(*this, &Filesel::on_response), Gtk::RESPONSE_OK)); } void Filesel::on_response(int response_id) { switch(response_id) { case Gtk::RESPONSE_OK: cancelled = false; hide(); break; case Gtk::RESPONSE_CANCEL: case Gtk::RESPONSE_DELETE_EVENT: // Gtk::RESPONSE_DELETE_EVENT is sent when the user tries to close // the window // set_filename(""); cancelled = true; hide(); break; default: throw std::runtime_error("Impossible error (you didn't see this)" " in Filesel::on_response()"); break; } } passepartout-0.7.1/src/pptout/widget/filesel.h000066400000000000000000000040431140125232500214460ustar00rootroot00000000000000// -*- c++ -*- /// // Copyright (C) 2002 - 2004, Fredrik Arnerup & Rasmus Kaj, See COPYING /// #ifndef FILESEL_H #define FILESEL_H #include #include #include #include class Filesel; /** * A combo box that adds what you type in the entry to a history list * in the pop-down menu. Also the cursor is moved to the end when the * text is set. */ class EndEntry: public Gtk::ComboBoxEntryText { public: EndEntry(int _history_max = 5); void set_text(const Glib::ustring &text, bool remember_text = false); Glib::ustring get_text(bool remember_text = true); Gtk::Entry& get_entry(); void remember(); // add current text to history private: unsigned int history_max; typedef std::list History; History history; }; /** * A text entry with a button that shows a file selection dialog. */ class FileEntry: public Gtk::HBox { public: EndEntry entry; FileEntry(const Glib::ustring& window_title_, const Glib::ustring& default_path_ = "", Gtk::FileChooserAction action = Gtk::FILE_CHOOSER_ACTION_OPEN); const Glib::ustring& get_default_value(); //set entry text to value. default_path is still going to be used void set_default_value(const Glib::ustring &value); protected: /** Direct focus to the proper part of the Spinner. */ bool on_mnemonic_activate(bool group_cycling); private: Glib::ustring window_title, default_path, maybe_default_value; Glib::ustring *default_value; Gtk::Button button; std::auto_ptr filesel; Gtk::FileChooserAction action; void filesel_done(); void show_filesel(); }; /** * A file selection dialog with response handlers connected to the * ok/cancel buttons. */ class Filesel: public Gtk::FileChooserDialog { public: Filesel(Gtk::Window &parent, const Glib::ustring& title, Gtk::FileChooserAction action = Gtk::FILE_CHOOSER_ACTION_OPEN); bool was_cancelled() const { return cancelled; } private: void on_response(int response_id); bool cancelled; }; #endif passepartout-0.7.1/src/pptout/widget/imagefilesel.cc000066400000000000000000000102521140125232500226060ustar00rootroot00000000000000/// // Copyright (C) 2003, 2004, Fredrik Arnerup & Rasmus Kaj, See COPYING /// #include "imagefilesel.h" #include #include "wmisc.h" #include #include #include "util/stringutil.h" const int ImageFilesel::maxwidth = 100; const int ImageFilesel::maxheight = 100; namespace { typedef std::vector MimeTypes; MimeTypes get_mime_types() { MimeTypes mime_types; std::vector formats = Gdk::Pixbuf::get_formats(); for(std::vector::const_iterator format = formats.begin(); format != formats.end(); format++) { MimeTypes tmp = format->get_mime_types(); mime_types.insert(mime_types.end(), tmp.begin(), tmp.end()); } return mime_types; } void add_images_filter(Gtk::FileChooser &fc) { Gtk::FileFilter filter; filter.set_name("Image files"); MimeTypes mime_types = get_mime_types(); for(MimeTypes::const_iterator i = mime_types.begin(); i != mime_types.end(); i++) filter.add_mime_type(*i); filter.add_pattern("*.eps"); // is there no mime type for eps? fc.add_filter(filter); } } ImageFilesel::ImageFilesel(Gtk::Window &parent, const ustring& title, float default_res, const ustring& unit_name, float unit_factor) : Filesel(parent, title), res(0, true) { unit.name = unit_name; unit.factor = unit_factor; // filters add_images_filter(*this); Gtk::FileFilter afilter; afilter.set_name("All files"); afilter.add_pattern("*"); add_filter(afilter); // *** The preview image *** Gtk::Box *box = manage(new Gtk::VBox(false, double_space)); Gtk::Alignment *alignment = manage(new Gtk::Alignment()); alignment->set_size_request(maxwidth, maxheight); Gtk::Box *inner_box = manage(new Gtk::VBox()); alignment->add(*inner_box); box->pack_start(*alignment, Gtk::PACK_SHRINK); box->pack_start(info, Gtk::PACK_SHRINK); inner_box->pack_start(preview); box->show_all(); set_preview_widget(*box); set_preview_widget_active(false); // *** The image resolution res.set(default_res); box = manage(new Gtk::HBox(false, double_space)); box->pack_start(*manage(new Gtk::Label("Image resolution:")), Gtk::PACK_SHRINK); box->pack_start(res, Gtk::PACK_SHRINK); box->pack_start(*manage(new Gtk::Label("ppi")), Gtk::PACK_SHRINK); box->show_all(); set_extra_widget(*box); // the preview is loaded in a separate thread, to avoid locking up the gui signal_update_preview().connect (sigc::mem_fun(*this, &ImageFilesel::start_loader)); signal_loaded.connect (sigc::mem_fun(*this, &ImageFilesel::update_preview)); res.signal_value_changed().connect (sigc::mem_fun(*this, &ImageFilesel::update_size)); } void ImageFilesel::update_size() { int w = image_size.width; int h = image_size.height; float resolution = res.get() / 72.0; // pixels per point std::ostringstream text; text << w << " x " << h << " pixels"; text.precision(2); text.setf(std::ios_base::fixed, std::ios_base::floatfield); if(!unit.name.empty()) text << '\n' << w / resolution / unit.factor << " x " << h / resolution / unit.factor << " " << std::string(unit.name); text << std::flush; info.set_text(text.str()); } void ImageFilesel::start_loader() { info.set_text("Loading\npreview ..."); set_preview_widget_active(true); preview.hide(); Glib::Thread::create(sigc::mem_fun(*this, &ImageFilesel::loader_thread), false /* not joinable */); } void ImageFilesel::loader_thread() { try { pixbuf.clear(); pixbuf = Gdk::Pixbuf::create_from_file(get_preview_filename()); // scale to appropriate size int w = pixbuf->get_width(); int h = pixbuf->get_height(); image_size.width = w; image_size.height = h; float fw = float(maxwidth) / w; float fh = float(maxheight) / h; float f = std::min(fw, fh); w = int(f * w); h = int(f * h); pixbuf = pixbuf->scale_simple(w, h, Gdk::INTERP_NEAREST); } catch (...) {} signal_loaded(); } void ImageFilesel::update_preview() { if(pixbuf) { update_size(); preview.set(pixbuf); preview.show(); set_preview_widget_active(); } else { set_preview_widget_active(false); } } passepartout-0.7.1/src/pptout/widget/imagefilesel.h000066400000000000000000000022151140125232500224500ustar00rootroot00000000000000// -*- c++ -*- /// // Copyright (C) 2002 - 2004, Fredrik Arnerup & Rasmus Kaj, See COPYING /// #ifndef IMAGEFILESEL_H #define IMAGEFILESEL_H #include "filesel.h" #include "spinner.h" #include using Glib::ustring; class ImageFilesel: public Filesel { public: /** A file selection dialog with a preview feature, and the ability * to specify an image resolution. * \param default_res Default resolution. * \param unit_name Name of unit for giving image size in. * \param unit_factor Factor for converting to base unit. */ ImageFilesel(Gtk::Window &parent, const ustring& title, float default_res, const ustring& unit_name, float unit_factor); float get_res() const { return res.get(); } private: // maximum size of preview static const int maxwidth, maxheight; Spinner res; // resolution; struct { ustring name; float factor; } unit; Gtk::Image preview; struct { int width, height; } image_size; Gtk::Label info; Glib::RefPtr pixbuf; Glib::Dispatcher signal_loaded; void start_loader(); void loader_thread(); void update_preview(); void update_size(); }; #endif passepartout-0.7.1/src/pptout/widget/programs.cc000066400000000000000000000066741140125232500220270ustar00rootroot00000000000000/// // Copyright (C) 2004, Fredrik Arnerup & Rasmus Kaj, See COPYING /// #include "programs.h" #include "usererror.h" #include "defines.h" // VERSION, HAVE_GNOME #include "util/warning.h" #include "util/filesys.h" #ifdef HAVE_GNOME #include #include #endif namespace { const std::string browser = "gnome-moz-remote"; } const std::string homepage = "http://www.stacken.kth.se/project/pptout/"; void Programs::open_url(const std::string &url) { #ifdef HAVE_GNOME GError *error = 0; if(!gnome_url_show(url.c_str(), &error)) throw UserError("Failed to run web browser \"" + browser + '"', error->message); #else try { Glib::spawn_command_line_async(browser + " \"" + url + "\""); } catch(const Glib::SpawnError& e) { throw UserError("Failed to run web browser \"" + browser + '"', e.what()); } #endif } void Programs::open_homepage() { open_url(homepage); } void Programs::open_docs() { std::string url = DOCDIR "/users_guide.html"; if(access(url)) url = "file://" + url; else url = "http://www.stacken.kth.se/project/pptout/doc/" + std::string(VERSION) + "/users_guide.html"; open_url(url); } namespace { void run_command(const std::string cmd, const std::string filename, bool requires_terminal) { std::string full_cmd = (requires_terminal ? "xterm -e " : "") + cmd + " " + filename; verbose << "Running: " << full_cmd << std::endl; Glib::spawn_command_line_async(full_cmd); } } void Programs::populate_file_handler_menu(Gtk::Menu &menu, const std::string &filename, const std::string &mimetype) { #ifdef HAVE_GNOME using namespace Gtk; using namespace Menu_Helpers; MenuList& items = menu.items(); GList *list = gnome_vfs_mime_get_short_list_applications(mimetype.c_str()); if(!list) throw std::runtime_error("No applications handling " + mimetype); for(; list; list = list->next) { GnomeVFSMimeApplication *app = static_cast(list->data); items.push_back (MenuElem(app->name, sigc::bind(sigc::ptr_fun(&run_command), app->command, filename, app->requires_terminal))); } #else throw std::runtime_error("No Gnome support"); #endif } void Programs::open_postscript_file(const std::string &filename, bool delete_when_done) { // try to run gv (or whatever you want to use instead) std::string psviewer = ""; #ifdef HAVE_GNOME GnomeVFSMimeApplication *app = gnome_vfs_mime_get_default_application("application/postscript"); psviewer = app->command; #endif if(psviewer.empty()) const std::string psviewer = "gv -safer "; //config.PSViewer.values.front(); // Removing the file after the viewer has terminated. However, // nowadays many apps use ipc to prevent the user from starting // more than one instance of the program, so the program might // just tell the running instance to open the file and then exit // immediately. Perhaps each document should have its own tmp file // that lives as long as the document? std::string cmd = "sh -c '" + psviewer + " " + filename; if(delete_when_done) cmd += " ; rm " + filename; cmd += "'"; verbose << cmd << std::endl; Glib::spawn_command_line_async(cmd); } passepartout-0.7.1/src/pptout/widget/programs.h000066400000000000000000000016431140125232500216600ustar00rootroot00000000000000#ifndef PROGRAMS_H // -*- c++ -*- #define PROGRAMS_H /// // Copyright (C) 2004, Fredrik Arnerup & Rasmus Kaj, See COPYING /// #include #include /// Calling other programs for handling URLs and mime types extern const std::string homepage; namespace Programs { void open_url(const std::string&); void open_homepage(); void open_docs(); /// Add items for calling external programs (based on mime type) on /// a given file to an existing menu. Throws an exception if it /// fails to add any items. void populate_file_handler_menu(Gtk::Menu &menu, const std::string &filename, const std::string &mimetype); /// Open a postscript file in an external viewer. /// \param delete_when_done The file is deleted when the viewer terminates. void open_postscript_file(const std::string &filename, bool delete_when_done); } #endif passepartout-0.7.1/src/pptout/widget/spinner.cc000066400000000000000000000065311140125232500216430ustar00rootroot00000000000000/// // Copyright (C) 2002 - 2004, Fredrik Arnerup & Rasmus Kaj, See COPYING /// #include "spinner.h" #include class UnitAdjustment: public Gtk::Adjustment { public: UnitAdjustment(double value, double lower, double upper, double step_increment = 1, double page_increment = 10, double page_size = 0) : Adjustment(value, lower, upper, step_increment, page_increment, page_size), factor(1), low(lower), upp(upper) {} void set_factor(double _factor = 1) { double val = get_real_value(); factor = _factor; set_lower(low); set_upper(upp); set_value(val); } void set_value(double value) { Adjustment::set_value(value / factor); } double get_real_value() const {return get_value() * factor;} void set_lower(double lower) { low = lower; Adjustment::set_lower(lower / factor); } double get_real_lower() const {return low;} void set_upper(double upper) { upp = upper; Adjustment::set_upper(upper / factor); } double get_real_upper() const {return upp;} private: double factor, low, upp; }; Spinner::Spinner(const float _value, bool allow_float, const FUUnits *_units, const Glib::ustring &default_unit, const float _lo_value, const float _hi_value) : value(new UnitAdjustment(_value, _lo_value, _hi_value)), units(_units) { spinbutton = manage(new Gtk::SpinButton(*value, 0, allow_float ? 2 : 0)); spinbutton->set_numeric(false); spinbutton->set_activates_default(); if(!allow_float) spinbutton->set_snap_to_ticks(true); pack_start(*spinbutton); if(units) { // only add menu if we have units for it unitmenu = manage(new Gtk::ComboBoxText()); FUUnits::UnitList list = units->list_units(); Glib::ustring selected_unit = units->get_base_unit(); // use default unit, if given if(!default_unit.empty()) { try { // if the default unit is not the base unit, then the conversion // factor needs to be changed from 1 value->set_factor(units->get_factor(default_unit)); selected_unit = default_unit; // after get_factor(), in case it // throws unknown_unit_error } catch(const unknown_unit_error&) { } } int i = 0; for(FUUnits::UnitList::const_iterator unit = list.begin(); unit != list.end(); unit++, i++) { unitmenu->append_text(*unit); if(*unit == selected_unit) unitmenu->set_active(i); } unitmenu->signal_changed().connect (sigc::mem_fun(*this, &Spinner::on_unit_select)); // unitmenu->set_size_request(-1, spinbutton->get_height()); pack_start(*unitmenu); } // if(units) show_all(); } Spinner::~Spinner() {} void Spinner::limits(float low, float high) { value->set_lower(low); value->set_upper(high); } void Spinner::set(float _value) { value->set_value(_value); } float Spinner::get() const { return value->get_real_value(); } Glib::SignalProxy0 Spinner::signal_value_changed() { return value->signal_value_changed(); } bool Spinner::on_mnemonic_activate(bool group_cycling) { // Not much documented in gtkmm, but it seems this metod gets called when // this widget is activated (by a mnemonic e.g. from a label) so I can put // focus on the proper part of the widget. spinbutton->grab_focus(); return true; } void Spinner::on_unit_select() { value->set_factor(units->get_factor(unitmenu->get_active_text())); } passepartout-0.7.1/src/pptout/widget/spinner.h000066400000000000000000000022601140125232500215000ustar00rootroot00000000000000// -*- c++ -*- /// // Copyright (C) 2002 - 2004, Fredrik Arnerup & Rasmus Kaj, See COPYING /// #ifndef W_SPINNER_H #define W_SPINNER_H #include #include #include #include #include "pptout/lengthunits.h" class UnitAdjustment; /** A spinbutton with an optional unit menu. */ class Spinner : public Gtk::HBox { public: Spinner(const float _value = 0, bool allow_float = true, const FUUnits *_units = 0, const Glib::ustring &default_unit = Glib::ustring(), const float _lo_value = -8000, const float _hi_value = 8000); ~Spinner(); void limits(float low, float high); void set(float _value); float get() const; Gtk::SpinButton &get_spinbutton() const { return *spinbutton; } Glib::SignalProxy0 signal_value_changed(); protected: /** Direct focus to the proper part of the Spinner. */ bool on_mnemonic_activate(bool group_cycling); private: Gtk::SpinButton *spinbutton; Gtk::ComboBoxText *unitmenu; std::auto_ptr value; const FUUnits *units; void on_unit_select(); // Undefined Spinner(const Spinner&); Spinner& operator = (const Spinner&); }; #endif passepartout-0.7.1/src/pptout/widget/subpanel.cc000066400000000000000000000022701140125232500217720ustar00rootroot00000000000000/// // Copyright (C) 2003, 2004, Fredrik Arnerup & Rasmus Kaj, See COPYING /// #include "subpanel.h" #include extern int double_space; SubPanel::SubPanel(const Glib::ustring& title) : Gtk::VBox(false, double_space), inner_box(false, double_space) { Gtk::Label *label = manage(new Gtk::Label("" + title + "", 0.0, 0.5)); label->set_use_markup(); Box::pack_start(*label, Gtk::PACK_SHRINK); Gtk::Box *box2 = manage(new Gtk::HBox(false, double_space)); box2->pack_start(*manage(new Gtk::Label(" ")), Gtk::PACK_SHRINK, 0); box2->pack_start(inner_box); Box::pack_start(*box2); } void SubPanel::pack_start(Gtk::Widget& child, bool expand, bool fill, guint padding) { inner_box.pack_start(child, expand, fill, padding); } void SubPanel::pack_start(Gtk::Widget& child, Gtk::PackOptions options, guint padding) { inner_box.pack_start(child, options, padding); } void SubPanel::pack_end(Gtk::Widget& child, bool expand, bool fill, guint padding) { inner_box.pack_end(child, expand, fill, padding); } void SubPanel::pack_end(Gtk::Widget& child, Gtk::PackOptions options, guint padding) { inner_box.pack_end(child, options, padding); } passepartout-0.7.1/src/pptout/widget/subpanel.h000066400000000000000000000021721140125232500216350ustar00rootroot00000000000000#ifndef PPT_W_SUBPANEL_H // -*- c++ -*- #define PPT_W_SUBPANEL_H /// // Copyright (C) 2002 - 2004, Fredrik Arnerup & Rasmus Kaj, See COPYING /// #include /** * A part of a panel (mainly in dialogs) conststing of a heading label and * some indented content. Mainly so we don't have to create lots of boxes and * labels by hand when we do as suggested in the HIG. * * Note: Only some of the Box methods that probably should be overrided is * overrided, and even them are not virtual, so e.g. a Box pointer cant be * used to add subwidgets to a SubPanel. */ class SubPanel : public Gtk::VBox { public: /** Create a new SubPanel with the specified label. */ SubPanel(const Glib::ustring& name); void pack_start(Gtk::Widget& child, bool expand, bool fill, guint padding=0); void pack_start(Gtk::Widget& child, Gtk::PackOptions options=Gtk::PACK_EXPAND_WIDGET, guint padding=0); void pack_end(Gtk::Widget& child, bool expand, bool fill, guint padding=0); void pack_end(Gtk::Widget& child, Gtk::PackOptions options=Gtk::PACK_EXPAND_WIDGET, guint padding=0); private: Gtk::VBox inner_box; }; #endif passepartout-0.7.1/src/pptout/widget/usererror.cc000066400000000000000000000006731140125232500222160ustar00rootroot00000000000000/// // Copyright (C) 2002 - 2004, Fredrik Arnerup & Rasmus Kaj, See COPYING /// #include "usererror.h" #include "util/stringutil.h" #include UserError::UserError(const ustring& msg, const ustring& cause) : runtime_error("User error: " + msg), msg_(msg), cause_(cause) {} UserError::UserError(const ustring& msg, const std::exception& err) : runtime_error("User error: " + msg), msg_(msg), cause_(to_xml(err.what())) {} passepartout-0.7.1/src/pptout/widget/usererror.h000066400000000000000000000024111140125232500220500ustar00rootroot00000000000000#ifndef USERERROR_H // -*- c++ -*- #define USERERROR_H /// // Copyright (C) 2002 - 2004, Fredrik Arnerup & Rasmus Kaj, See COPYING /// #include #include /** * An error that we can present to the user without beeing ashamed. * It might be caused by the user doing something strange, or by strange * contents in a file, etc. Any exception that is not a UserError and reaches * the main exception handler is an internal error. * We should try to not only tell the user what happend, but why and / or how * to fix or avoid it. */ class UserError : public std::runtime_error { public: typedef Glib::ustring ustring; /** * Create a new UserError. The ustring parameters should accept pango * markup, while the exception parameter should protect special characters. * \param msg the main message for the exception. * \param cause might be a submessage about what caused the exception or a * helpfull message about how to avoid it. */ UserError(const ustring& msg, const ustring& cause); UserError(const ustring& msg, const std::exception& cause); ~UserError() throw() {} const ustring& get_message() const { return msg_; } const ustring& get_cause() const { return cause_; } private: ustring msg_, cause_; }; #endif passepartout-0.7.1/src/pptout/widget/wmisc.cc000066400000000000000000000004401140125232500213000ustar00rootroot00000000000000/// // Copyright (C) 2003, 2004, Fredrik Arnerup & Rasmus Kaj, See COPYING /// #include "wmisc.h" const unsigned int single_space = 6; const unsigned int double_space = 2 * single_space; const unsigned int triple_space = 3 * single_space; const unsigned int border_width = double_space; passepartout-0.7.1/src/pptout/widget/wmisc.h000066400000000000000000000006601140125232500211460ustar00rootroot00000000000000#ifndef PPT_W_MISC_H // -*- c++ -*- #define PPT_W_MISC_H /// // Copyright (C) 2002 - 2004, Fredrik Arnerup & Rasmus Kaj, See COPYING /// // Miscellaneous constats for widgets / HIG compliance extern const unsigned int single_space;// = 6; extern const unsigned int double_space;// = 2 * single_space; extern const unsigned int triple_space;// = 3 * single_space; extern const unsigned int border_width;// = double_space; #endif passepartout-0.7.1/src/pptout/widget/zoomer.cc000066400000000000000000000013771140125232500215030ustar00rootroot00000000000000/// // Copyright (C) 2004, Fredrik Arnerup & Rasmus Kaj, See COPYING /// #include "zoomer.h" #include "spinner.h" struct ZoomerRep { Spinner spinner; ZoomerRep(float factor) : spinner(100.0 * factor, false, 0, "", 5, 10000) {} }; namespace { void on_value_changed(Zoomer *zoomer) { zoomer->signal_changed(zoomer->get_factor()); } } Zoomer::Zoomer(float factor) : rep(new ZoomerRep(factor)) { rep->spinner.signal_value_changed().connect (sigc::bind(sigc::ptr_fun(&on_value_changed), this)); } Zoomer::~Zoomer() { delete rep; } void Zoomer::set_factor(float factor) { rep->spinner.set(100.0 * factor); } float Zoomer::get_factor() const { return rep->spinner.get() / 100.0; } Gtk::Widget& Zoomer::get_widget() { return rep->spinner; } passepartout-0.7.1/src/pptout/widget/zoomer.h000066400000000000000000000006611140125232500213400ustar00rootroot00000000000000// -*- c++ -*- /// // Copyright (C) 2004, Fredrik Arnerup & Rasmus Kaj, See COPYING /// #ifndef ZOOMER_H #define ZOOMER_H #include class ZoomerRep; /// Zoom widget wrapper. class Zoomer { public: sigc::signal signal_changed; Zoomer(float factor = 1.0); ~Zoomer(); void set_factor(float factor); float get_factor() const; Gtk::Widget& get_widget(); private: ZoomerRep *rep; }; #endif passepartout-0.7.1/src/pptout/window.cc000066400000000000000000000221641140125232500202110ustar00rootroot00000000000000/// // Copyright (C) 2002 - 2004, Fredrik Arnerup & Rasmus Kaj, See COPYING /// #include "window.h" #include #include #include #include #include #include #include #include "util/warning.h" #include "widget/wmisc.h" #include "widget/filesel.h" #include "widget/imagefilesel.h" #include "config.h" #include "printdialog.h" #include "propertiesdialog.h" #include "streamdialog.h" #include "pagesel.h" namespace{ typedef std::set Windows; Windows windows; // a list of all windows } FrameWindow *FrameWindow::active_window(0); FrameWindow::FrameWindow(const FrameWindow &original) : zoom_factor(original.document_view.get_zoom_factor()), document_view(original.document_view.get_document_meta(), zoom_factor.get_factor()) { constructor_common(); } // you are not supposed to call with non-empty string and non-null // document FrameWindow::FrameWindow(const Glib::ustring &filename, DocRef document) : zoom_factor(config.ZoomLevel.values.front() / 100.0), document_view(DocMeta(filename.empty() ? document : Document::create(filename, false), filename), zoom_factor.get_factor()) { constructor_common(); } void FrameWindow::constructor_common() { // key presses are forwarded to the view signal_key_press_event().connect (sigc::mem_fun(document_view, &DocumentView::on_key_press_event)); open_dialog.reset(new Filesel(*this, "Open")); save_dialog.reset(new Filesel(*this, "Save As", Gtk::FILE_CHOOSER_ACTION_SAVE)); // file filters { Gtk::FileFilter pfilter; pfilter.set_name("Passepartout Document files"); pfilter.add_pattern("*.pp"); Gtk::FileFilter afilter; afilter.set_name("All files"); afilter.add_pattern("*"); open_dialog->add_filter(pfilter); save_dialog->add_filter(pfilter); open_dialog->add_filter(afilter); save_dialog->add_filter(afilter); } print_dialog.reset(new PrintDialog(*this, document_view)); text_frame_dialog.reset(new TextFrameDialog(*this, document_view)); { // get default unit of import image dialog from config file Glib::ustring unit = config.LengthUnit.values.front(); float factor = 1; try { factor = length_units.get_factor(unit); } catch(unknown_unit_error&) { unit = Glib::ustring(); } import_dialog.reset (new ImageFilesel(*this, "Import Image", config.DefaultResolution.values.front(), unit, factor)); } pagesel = manage(new Pagesel(document_view)); // create menus and toolbar uimanager = Gtk::UIManager::create(); uimanager->insert_action_group(main_group = Gtk::ActionGroup::create()); uimanager->insert_action_group(doc_group = Gtk::ActionGroup::create()); uimanager->insert_action_group(page_group = Gtk::ActionGroup::create()); uimanager->insert_action_group(selection_group = Gtk::ActionGroup::create()); create_menus(); // defined in windowmenus.cc add_accel_group(uimanager->get_accel_group()); set_default_size(500, 700); Gtk::VBox *mainbox = manage(new Gtk::VBox()); add(*mainbox); Gtk::Toolbar *toolbar = dynamic_cast(uimanager->get_widget("/ToolBar")); toolbar->set_orientation(Gtk::ORIENTATION_VERTICAL); toolbar->set_toolbar_style(Gtk::TOOLBAR_ICONS); Gtk::HBox *hbox = manage(new Gtk::HBox(false, 0)); hbox->pack_start(*toolbar, Gtk::PACK_SHRINK, 2); Gtk::Table *table = manage(new Gtk::Table(2, 2, false)); hbox->pack_end(*table, Gtk::PACK_EXPAND_WIDGET, 0); mainbox->pack_start(*uimanager->get_widget("/MenuBar"), Gtk::PACK_SHRINK); mainbox->pack_start(*hbox); scroller = manage(new Gtk::ScrolledWindow()); table->attach(*scroller, 1, 2, 1, 2, Gtk::EXPAND | Gtk::FILL, Gtk::EXPAND | Gtk::FILL); scroller->add(document_view); scroller->set_policy(Gtk::POLICY_AUTOMATIC, Gtk::POLICY_AUTOMATIC); cafe_opera = manage(new Gtk::Statusbar()); cafe_opera->set_has_resize_grip(false); cafe_opera->property_spacing() = double_space; cafe_opera->pack_end(*pagesel, Gtk::PACK_SHRINK, 0); Gtk::Label *page_label = manage(new Gtk::Label("P_age:", true)); page_label->set_mnemonic_widget(pagesel->get_menu()); cafe_opera->pack_end(*page_label, Gtk::PACK_SHRINK, 0); cafe_opera->pack_end(zoom_factor.get_widget(), Gtk::PACK_SHRINK, 0); Gtk::Label *zoom_label = manage(new Gtk::Label("_Zoom:", true)); zoom_label->set_mnemonic_widget(zoom_factor.get_widget()); cafe_opera->pack_end(*zoom_label, Gtk::PACK_SHRINK, 0); mainbox->pack_end(*cafe_opera, Gtk::PACK_SHRINK); zoom_factor.signal_changed.connect (sigc::mem_fun(*this, &FrameWindow::zoom_factor_changed_action)); open_dialog->signal_hide().connect (sigc::mem_fun(*this, &FrameWindow::open_dialog_done)); save_dialog->signal_hide().connect (sigc::mem_fun(*this, &FrameWindow::save_dialog_done)); import_dialog->signal_hide().connect (sigc::mem_fun(*this, &FrameWindow::import_dialog_done)); document_view.document_set_signal.connect (sigc::mem_fun(*this, &FrameWindow::on_document_changed)); Document::changed_signal.connect (sigc::mem_fun(*this, &FrameWindow::on_document_updated)); // put window in global list windows.insert(this); show_all(); active_window = this; // make sure not everything is visible and that document dependent // handlers are connected on_document_changed(); } FrameWindow::~FrameWindow() { // remove window from list windows.erase(this); // set active window active_window = 0; // don't know which one it'll be if(windows.empty()) Gtk::Main::quit(); else debug << "window count = " << windows.size() << std::endl; } void FrameWindow::set_filename(const Glib::ustring &filename) { if(!filename.empty()) { set_title(basename(filename) + " - Passepartout"); } else set_title("Passepartout"); } void FrameWindow::zoom_factor_changed_action(float factor) { document_view.set_zoom_factor(factor); } void FrameWindow::on_document_updated(DocRef document_) { DocRef document = document_view.get_document(); if(document != document_) return; on_document_changed(); } void FrameWindow::on_document_filename_changed() { DocMeta document = document_view.get_document_meta(); set_filename(document ? document.get_filename() : ""); } void FrameWindow::on_document_changed() { DocRef document = document_view.get_document(); // enable/disable stuff bool on = document; bool have_pages = on && document->get_num_of_pages() > 0; doc_group->set_sensitive(on); page_group->set_sensitive(have_pages); /// \todo when we have a selection selection_group->set_sensitive(have_pages); // We may have a new DocMeta in view, so connect to the new signal DocMeta docmeta = document_view.get_document_meta(); docmeta.changed_signal().connect (sigc::mem_fun(*this, &FrameWindow::on_document_filename_changed)); set_filename(basename(docmeta.get_filename())); } void FrameWindow::open_dialog_done() { if(!open_dialog->was_cancelled()) { if(document_view.get_document()) new FrameWindow(open_dialog->get_filename()); else { document_view.set_document (DocMeta(Document::create(open_dialog->get_filename(), false), open_dialog->get_filename())); } } } void FrameWindow::import_dialog_done() { if(!import_dialog->was_cancelled()) document_view.new_image_frame (import_dialog->get_filename(), dynamic_cast(import_dialog.get())->get_res()); } void FrameWindow::save_dialog_done() { DocMeta document = document_view.get_document_meta(); if(!save_dialog->was_cancelled() && document) { const std::string filename = save_dialog->get_filename(); document.set_filename(filename); document->save(filename); } } void FrameWindow::close() { DocRef document = document_view.get_document(); if(windows.size() > 1 || !document) { windows.erase(this); delete this; } else { DocRef null = Document::null(); document_view.set_document(DocMeta(null)); PropertiesDialog::instance().set_document(null); StreamDialog::instance().set_document(null); set_filename(""); } } void FrameWindow::save() { DocRef document = document_view.get_document(); if(!document) return; const std::string filename = document_view.get_document_meta().get_filename(); if(!filename.empty()) { document->save(filename); } else save_dialog->show(); } bool FrameWindow::on_delete_event(GdkEventAny *event) { close(); return true; } bool FrameWindow::on_focus_in_event(GdkEventFocus *event) { // the nonmodal windows are updated to reflect the content in the window // that is currently in focus active_window = this; DocRef document = document_view.get_document(); PropertiesDialog::instance().set_transient_for(*this); PropertiesDialog::instance().set_document(document); StreamDialog::instance().set_transient_for(*this); StreamDialog::instance().set_document(document); return false; } void FrameWindow::quit() { // make sure all destructors are executed while(!windows.empty()) // the destructor removes the window from the set delete *windows.begin(); Gtk::Main::quit(); } passepartout-0.7.1/src/pptout/window.h000066400000000000000000000033731140125232500200540ustar00rootroot00000000000000#ifndef WINDOW_H // -*- c++ -*- #define WINDOW_H /// // Copyright (C) 2002 - 2004, Fredrik Arnerup & Rasmus Kaj, See COPYING /// #include "docview.h" #include #include // auto_ptr #include #include "widget/zoomer.h" class Pagesel; class Filesel; class PrintDialog; class TextFrameDialog; namespace Gtk { class ScrolledWindow; class OptionMenu; class Statusbar; } /** * The main window containing a view of a Document. */ class FrameWindow : public Gtk::Window { public: FrameWindow(const Glib::ustring &filename = "", DocRef document = Document::null()); /** Duplicate view */ explicit FrameWindow(const FrameWindow&); ~FrameWindow(); private: static FrameWindow *active_window; // pointer to the currently active window Gtk::Widget *toolbar; Gtk::ScrolledWindow *scroller; Gtk::Statusbar *cafe_opera; Zoomer zoom_factor; DocumentView document_view; std::auto_ptr open_dialog, save_dialog, import_dialog; std::auto_ptr print_dialog; std::auto_ptr text_frame_dialog; Pagesel *pagesel; Glib::RefPtr uimanager; Glib::RefPtr main_group, doc_group, page_group, selection_group; bool on_delete_event(GdkEventAny*); bool on_focus_in_event(GdkEventFocus*); void constructor_common(); void set_filename(const Glib::ustring&); void on_document_updated(DocRef document_); // change IN document void on_document_changed(); // change OF document void on_document_filename_changed(); static void quit(); void zoom_factor_changed_action(float factor); void create_menus(); void open_dialog_done(); void save_dialog_done(); void import_dialog_done(); void save(); void close(); }; #endif passepartout-0.7.1/src/pptout/windowmenus.cc000066400000000000000000000404271140125232500212630ustar00rootroot00000000000000/// // Copyright (C) 2002 - 2004, Fredrik Arnerup & Rasmus Kaj, See COPYING /// #include "window.h" #include #include #include "widget/filesel.h" #include "widget/programs.h" #include "widget/usererror.h" #include "config.h" #include "printdialog.h" #include "aboutdialog.h" #include "propertiesdialog.h" #include "streamdialog.h" #include "inspiration.h" #include "util/warning.h" #include "util/tempfile.h" #include "docpropsdialog.h" #include "docview.h" #include "document/page.h" #include "templatepagedialog.h" #include "clipboard.h" namespace { template P nonull(P p) { if(!p) throw std::runtime_error("A pointer was null in " __FILE__); return p; } void duplicate_view(const FrameWindow *orig) { new FrameWindow(*orig); } void new_document(DocumentView *view) { DocPropsDialog::instance().create(view); } void print_to_viewer(const DocumentView *view) { const DocRef document = nonull(view->get_document()); std::string tmp_file = Tempfile::find_new_name(); std::ofstream out(tmp_file.c_str()); if(!out) throw std::runtime_error("Could not open file for printing: " + tmp_file); // print all pages: document->print (out, document->get_first_page_num(), document->get_first_page_num() + document->get_num_of_pages() - 1, false /* not eps */, true /* include fonts */); Programs::open_postscript_file(tmp_file, true /* delete file when done */); } void show_doc_props_dialog(DocumentView *view) { DocPropsDialog::instance().modify(view); } void copi(DocumentView *view) { Clipboard::copy(nonull(view->get_document())); } void cut(DocumentView *view) { Clipboard::cut(nonull(view->get_document())); } void paste(DocumentView *view) { Clipboard::paste(nonull(view->get_document()), nonull(view->get_page())); } void delete_selected(DocumentView *view) { nonull(view->get_document())->delete_selected(); } void group_selected(DocumentView *view) { nonull(view->get_page())->group_selected(); } void ungroup_selected(DocumentView *view) { nonull(view->get_page())->ungroup_selected(); } void select_all_frames(DocumentView *view, bool select_not_unselect) { nonull(view->get_page())->select_all(select_not_unselect); } void rearrange_selected(DocumentView *view, RearrangeTarget target) { nonull(view->get_page())->rearrange_selected(target); } void insert_page(Gtk::Window *parent, DocumentView *view, bool after) { DocRef document = nonull(view->get_document()); int page_num = document->get_num_of_pages() ? (view->get_current_page_num() + (after ? 1 : 0)) : document->get_first_page_num(); if(document->get_template_pages().empty()) { document->new_page(page_num); view->set_current_page_num(page_num); } else { new TemplatePageDialog(*parent, *view, page_num); } } void toggle_grid(Glib::RefPtr action, DocumentView *view) { view->set_snap(action->get_active() ? snap::GRID : snap::NONE); } void toggle_toolbar(Glib::RefPtr uimanager) { Gtk::Widget *toolbar = nonull(uimanager->get_widget("/ToolBar")); if(toolbar->is_visible()) toolbar->hide(); else toolbar->show(); } void toggle_fullscreen(Glib::RefPtr action, Gtk::Window *window) { if(action->get_active()) window->fullscreen(); else window->unfullscreen(); } void zoom(Zoomer *zoomer, Gtk::BuiltinStockID id) { float f = zoomer->get_factor(); using namespace Gtk; if(id == Stock::ZOOM_IN) f = 2.0 * f; else if(id == Stock::ZOOM_OUT) f = 0.5 * f; else if(id == Stock::ZOOM_100) f = 1.0; // rely on Zoomer to limit the values zoomer->set_factor(f); } } void FrameWindow::create_menus() { using namespace Gtk; using namespace sigc; /// *** file menu *** main_group->add(Action::create("FileMenu", "_File")); main_group->add(Action::create("FileNew", Stock::NEW, "_New ...", "Create a new document"), bind(sigc::ptr_fun(&new_document), &document_view)); doc_group->add(Action::create("FileNewView", "New Vi_ew", "Create a new window " "for the current document"), bind(sigc::ptr_fun(&duplicate_view), this)); main_group->add(Action::create("FileOpen", Stock::OPEN, "_Open ...", "Open a document"), mem_fun(*open_dialog, &Filesel::show_all)); doc_group->add(Action::create("FileSave", Stock::SAVE, "_Save ...", "Save document"), mem_fun(*this, &FrameWindow::save)); doc_group->add(Action::create("FileSaveAs", Stock::SAVE_AS), AccelKey("S"), mem_fun(*save_dialog, &Filesel::show_all)); page_group->add(Action::create("FilePrint", Stock::PRINT, "_Print ...", "Print document"), AccelKey("P"), mem_fun(*print_dialog, &PrintDialog::show_it)); page_group->add(Action::create("FilePrintPreview", Stock::PRINT_PREVIEW, "Print Pre_view ...", "Print document to external viewer"), AccelKey("P"), bind(sigc::ptr_fun(&print_to_viewer), &document_view)); doc_group->add(Action::create("FileDocProps", "P_roperties ...", "Document properties"), bind(sigc::ptr_fun(&show_doc_props_dialog), &document_view)); main_group->add(Action::create("FileClose", Stock::CLOSE), mem_fun(*this, &FrameWindow::close)); main_group->add(Action::create("FileQuit", Stock::QUIT), ptr_fun(&FrameWindow::quit)); /// *** edit menu *** main_group->add(Action::create("EditMenu", "_Edit")); selection_group->add(Action::create("EditCopy", Stock::COPY), bind(sigc::ptr_fun(&copi), &document_view)); selection_group->add(Action::create("EditCut", Stock::CUT), bind(sigc::ptr_fun(&cut), &document_view)); page_group->add(Action::create("EditPaste", Stock::PASTE), bind(sigc::ptr_fun(&paste), &document_view)); selection_group->add(Action::create("EditDelete", Stock::DELETE), AccelKey("Delete"), bind(sigc::ptr_fun(&delete_selected), &document_view)); page_group->add(Action::create("EditSelectAll", "Select _All"), AccelKey("A"), bind(sigc::ptr_fun(&select_all_frames), &document_view, true /* select */)); page_group->add(Action::create("EditUnselectAll", "Dese_lect All"), AccelKey("A"), bind(sigc::ptr_fun(&select_all_frames), &document_view, false /* deselect */)); // *** arrange submenu *** main_group->add(Action::create("ArrangeMenu", "A_rrange")); selection_group->add(Action::create("ArrangeGroup", "_Group"), AccelKey("G"), bind(sigc::ptr_fun(group_selected), &document_view)); selection_group->add(Action::create("ArrangeUngroup", "_Ungroup"), AccelKey("U"), bind(sigc::ptr_fun(ungroup_selected), &document_view)); selection_group->add(Action::create("ArrangeTop", Stock::GOTO_TOP, "Move to _top", "Move to top"), AccelKey("Home"), bind(sigc::ptr_fun(&rearrange_selected), &document_view, TOP)); selection_group->add(Action::create("ArrangeUp", Stock::GO_UP, "Move _up", "Move up"), AccelKey("Page_Up"), bind(sigc::ptr_fun(&rearrange_selected), &document_view, UP)); selection_group->add(Action::create("ArrangeDown", Stock::GO_DOWN, "Move _down", "Move down"), AccelKey("Page_Down"), bind(sigc::ptr_fun(&rearrange_selected), &document_view, DOWN)); selection_group->add(Action::create("ArrangeBottom", Stock::GOTO_BOTTOM, "Move to _bottom", "Move to bottom"), AccelKey("End"), bind(sigc::ptr_fun(&rearrange_selected), &document_view, DOWN)); page_group->add(Action::create("EditInsertText", StockID("newframe"), "Insert Te_xt Frame ...", "Insert text frame"), mem_fun(*text_frame_dialog, &TextFrameDialog::show_raise)); page_group->add(Action::create("EditInsertImage", StockID("moose"), "Insert _Image ...", "Insert image"), mem_fun(*import_dialog, &Filesel::show_all)); main_group->add(Action::create("EditPrefs", Stock::PREFERENCES), mem_fun(config, &PFile::dialog_show)); // *** page menu *** main_group->add(Action::create("PageMenu", "_Page")); page_group->add(Action::create("PageDelete", "_Delete"), mem_fun(document_view, &DocumentView::delete_page)); doc_group->add(Action::create("PageInsertBefore", "Insert _Before ..."), bind(sigc::ptr_fun(&insert_page), this, &document_view, false /* not after */)); // we only need one of these when we don't have any pages page_group->add(Action::create("PageInsertAfter", "Insert _After ..."), bind(sigc::ptr_fun(&insert_page), this, &document_view, true /* after */)); // *** view menu *** main_group->add(Action::create("ViewMenu", "_View")); main_group->add(ToggleAction::create("ViewToolbar", "_Toolbar", "", true /* active */), bind(sigc::ptr_fun(toggle_toolbar), uimanager)); { Glib::RefPtr action = ToggleAction::create("ViewFullScreen", "_Full screen", "", false /* not active */); main_group->add(action, AccelKey("F11"), bind(sigc::ptr_fun(toggle_fullscreen), action, this)); } main_group->add(Action::create("ZoomIn", Stock::ZOOM_IN), AccelKey("plus"), bind(sigc::ptr_fun(&zoom), &zoom_factor, Stock::ZOOM_IN)); main_group->add(Action::create("ZoomOut", Stock::ZOOM_OUT), AccelKey("minus"), bind(sigc::ptr_fun(&zoom), &zoom_factor, Stock::ZOOM_OUT)); main_group->add(Action::create("Zoom100", Stock::ZOOM_100), AccelKey("0"), bind(sigc::ptr_fun(&zoom), &zoom_factor, Stock::ZOOM_100)); doc_group->add(Action::create("ViewProps", Stock::PROPERTIES, "_Properties", "Show Properties window"), mem_fun(PropertiesDialog::instance(), &PropertiesDialog::show_raise)); doc_group->add(Action::create("ViewStreams", StockID("streams"), "_Streams", "Show Streams window"), mem_fun(StreamDialog::instance(), &StreamDialog::show_raise)); { Glib::RefPtr action = ToggleAction::create("ViewSnapGrid", StockID("grid"), "Snap to _grid", "Toggle snap to grid"); doc_group->add(action, bind(sigc::ptr_fun(&toggle_grid), action, &document_view)); } // *** help menu *** main_group->add(Action::create("HelpMenu", "_Help")); main_group->add(Action::create("HelpHelp", Stock::HELP,"_User's guide"), AccelKey("F1"), ptr_fun(&Programs::open_docs)); main_group->add(Action::create("HelpAbout", "_About"), mem_fun(::AboutDialog::instance(), &::AboutDialog::show_all)); main_group->add(Action::create("HelpHomepage", Stock::HOME, "_Homepage"), ptr_fun(&Programs::open_homepage)); main_group->add(Action::create("HelpInspiration", "_Inspiration"), mem_fun(Inspiration::instance(), &Inspiration::show_all)); // Layout the actions in a menubar and toolbar: try { const Glib::ustring ui_info = "" " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " ""; uimanager->add_ui_from_string(ui_info); } catch(const Glib::Error& e) { warning << "failed to build menus: " << e.what() << std::endl; } } passepartout-0.7.1/src/ps/000077500000000000000000000000001140125232500154555ustar00rootroot00000000000000passepartout-0.7.1/src/ps/Makefile.am000066400000000000000000000016271140125232500175170ustar00rootroot00000000000000bin_PROGRAMS = examinepdf noinst_LIBRARIES = libps.a dist_noinst_HEADERS = encode.h pdf.h unicode.h pfb2pfa.h misc.h wineps.h \ pdfparser.h type42.h libps_a_SOURCES = encode.cc glyphs.cc pdf.cc unicode.cc pfb2pfa.cc misc.cc \ wineps.cc pdfparser.cc type42.cc examinepdf_SOURCES = examinepdf.cc # for Glib::ustring libps_a_CXXFLAGS = $(GTKMM_CFLAGS) $(FREETYPE_CFLAGS) libps_a_CXXFLAGS += -I$(top_srcdir)/src examinepdf_CXXFLAGS = $(libps_a_CXXFLAGS) examinepdf_LDADD = $(GTKMM_LIBS) \ -L. -lps -L../fonts -lfonts -lps -L../util -lpptutil examinepdf_DEPENDENCIES = libps.a #libps_a_LIBADD = $(GTKMM_LIBS) TESTS = runtest check_PROGRAMS = runtest runtest_SOURCES = test_glyphlist.cc runtest_CXXFLAGS = -I$(top_srcdir)/src runtest_CXXFLAGS += $(GTKMM_CFLAGS) runtest_DEPENDENCIES = ../util/libpptutil.a $(noinst_LIBRARIES) runtest_LDADD = -L../testbed -lppttest -L. -lps -L../util -lpptutil \ $(GTKMM_LIBS) passepartout-0.7.1/src/ps/Makefile.in000066400000000000000000001110621140125232500175230ustar00rootroot00000000000000# Makefile.in generated by automake 1.10.1 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, # 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ VPATH = @srcdir@ pkgdatadir = $(datadir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : bin_PROGRAMS = examinepdf$(EXEEXT) TESTS = runtest$(EXEEXT) check_PROGRAMS = runtest$(EXEEXT) subdir = src/ps DIST_COMMON = $(dist_noinst_HEADERS) $(srcdir)/Makefile.am \ $(srcdir)/Makefile.in ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs CONFIG_HEADER = $(top_builddir)/src/defines.h CONFIG_CLEAN_FILES = LIBRARIES = $(noinst_LIBRARIES) AR = ar ARFLAGS = cru libps_a_AR = $(AR) $(ARFLAGS) libps_a_LIBADD = am_libps_a_OBJECTS = libps_a-encode.$(OBJEXT) libps_a-glyphs.$(OBJEXT) \ libps_a-pdf.$(OBJEXT) libps_a-unicode.$(OBJEXT) \ libps_a-pfb2pfa.$(OBJEXT) libps_a-misc.$(OBJEXT) \ libps_a-wineps.$(OBJEXT) libps_a-pdfparser.$(OBJEXT) \ libps_a-type42.$(OBJEXT) libps_a_OBJECTS = $(am_libps_a_OBJECTS) am__installdirs = "$(DESTDIR)$(bindir)" binPROGRAMS_INSTALL = $(INSTALL_PROGRAM) PROGRAMS = $(bin_PROGRAMS) am_examinepdf_OBJECTS = examinepdf-examinepdf.$(OBJEXT) examinepdf_OBJECTS = $(am_examinepdf_OBJECTS) am__DEPENDENCIES_1 = examinepdf_LINK = $(CXXLD) $(examinepdf_CXXFLAGS) $(CXXFLAGS) \ $(AM_LDFLAGS) $(LDFLAGS) -o $@ am_runtest_OBJECTS = runtest-test_glyphlist.$(OBJEXT) runtest_OBJECTS = $(am_runtest_OBJECTS) runtest_LINK = $(CXXLD) $(runtest_CXXFLAGS) $(CXXFLAGS) $(AM_LDFLAGS) \ $(LDFLAGS) -o $@ DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)/src depcomp = $(SHELL) $(top_srcdir)/depcomp am__depfiles_maybe = depfiles CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) CXXLD = $(CXX) CXXLINK = $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(AM_LDFLAGS) $(LDFLAGS) \ -o $@ SOURCES = $(libps_a_SOURCES) $(examinepdf_SOURCES) $(runtest_SOURCES) DIST_SOURCES = $(libps_a_SOURCES) $(examinepdf_SOURCES) \ $(runtest_SOURCES) HEADERS = $(dist_noinst_HEADERS) ETAGS = etags CTAGS = ctags DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ AMTAR = @AMTAR@ APPLY_RPATH = @APPLY_RPATH@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CXX = @CXX@ CXXDEPMODE = @CXXDEPMODE@ CXXFLAGS = @CXXFLAGS@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ FREETYPE_CFLAGS = @FREETYPE_CFLAGS@ FREETYPE_LIBS = @FREETYPE_LIBS@ GNOMECANVAS_CFLAGS = @GNOMECANVAS_CFLAGS@ GNOMECANVAS_LIBS = @GNOMECANVAS_LIBS@ GNOMEVFS_CFLAGS = @GNOMEVFS_CFLAGS@ GNOMEVFS_LIBS = @GNOMEVFS_LIBS@ GNOME_CFLAGS = @GNOME_CFLAGS@ GNOME_LIBS = @GNOME_LIBS@ GREP = @GREP@ GTHREAD_CFLAGS = @GTHREAD_CFLAGS@ GTHREAD_LIBS = @GTHREAD_LIBS@ GTKMM_CFLAGS = @GTKMM_CFLAGS@ GTKMM_LIBS = @GTKMM_LIBS@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ LDFLAGS = @LDFLAGS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LTLIBOBJS = @LTLIBOBJS@ MAKEINFO = @MAKEINFO@ MKDIR_P = @MKDIR_P@ OBJEXT = @OBJEXT@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ RANLIB = @RANLIB@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ VERSION = @VERSION@ XMLPP_CFLAGS = @XMLPP_CFLAGS@ XMLPP_LIBS = @XMLPP_LIBS@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ ac_ct_CC = @ac_ct_CC@ ac_ct_CXX = @ac_ct_CXX@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build_alias = @build_alias@ builddir = @builddir@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host_alias = @host_alias@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ xmldir = @xmldir@ noinst_LIBRARIES = libps.a dist_noinst_HEADERS = encode.h pdf.h unicode.h pfb2pfa.h misc.h wineps.h \ pdfparser.h type42.h libps_a_SOURCES = encode.cc glyphs.cc pdf.cc unicode.cc pfb2pfa.cc misc.cc \ wineps.cc pdfparser.cc type42.cc examinepdf_SOURCES = examinepdf.cc # for Glib::ustring libps_a_CXXFLAGS = $(GTKMM_CFLAGS) $(FREETYPE_CFLAGS) \ -I$(top_srcdir)/src examinepdf_CXXFLAGS = $(libps_a_CXXFLAGS) examinepdf_LDADD = $(GTKMM_LIBS) \ -L. -lps -L../fonts -lfonts -lps -L../util -lpptutil examinepdf_DEPENDENCIES = libps.a runtest_SOURCES = test_glyphlist.cc runtest_CXXFLAGS = -I$(top_srcdir)/src $(GTKMM_CFLAGS) runtest_DEPENDENCIES = ../util/libpptutil.a $(noinst_LIBRARIES) runtest_LDADD = -L../testbed -lppttest -L. -lps -L../util -lpptutil \ $(GTKMM_LIBS) all: all-am .SUFFIXES: .SUFFIXES: .cc .o .obj $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ && exit 0; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign src/ps/Makefile'; \ cd $(top_srcdir) && \ $(AUTOMAKE) --foreign src/ps/Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh clean-noinstLIBRARIES: -test -z "$(noinst_LIBRARIES)" || rm -f $(noinst_LIBRARIES) libps.a: $(libps_a_OBJECTS) $(libps_a_DEPENDENCIES) -rm -f libps.a $(libps_a_AR) libps.a $(libps_a_OBJECTS) $(libps_a_LIBADD) $(RANLIB) libps.a install-binPROGRAMS: $(bin_PROGRAMS) @$(NORMAL_INSTALL) test -z "$(bindir)" || $(MKDIR_P) "$(DESTDIR)$(bindir)" @list='$(bin_PROGRAMS)'; for p in $$list; do \ p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \ if test -f $$p \ ; then \ f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \ echo " $(INSTALL_PROGRAM_ENV) $(binPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(bindir)/$$f'"; \ $(INSTALL_PROGRAM_ENV) $(binPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(bindir)/$$f" || exit 1; \ else :; fi; \ done uninstall-binPROGRAMS: @$(NORMAL_UNINSTALL) @list='$(bin_PROGRAMS)'; for p in $$list; do \ f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \ echo " rm -f '$(DESTDIR)$(bindir)/$$f'"; \ rm -f "$(DESTDIR)$(bindir)/$$f"; \ done clean-binPROGRAMS: -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS) clean-checkPROGRAMS: -test -z "$(check_PROGRAMS)" || rm -f $(check_PROGRAMS) examinepdf$(EXEEXT): $(examinepdf_OBJECTS) $(examinepdf_DEPENDENCIES) @rm -f examinepdf$(EXEEXT) $(examinepdf_LINK) $(examinepdf_OBJECTS) $(examinepdf_LDADD) $(LIBS) runtest$(EXEEXT): $(runtest_OBJECTS) $(runtest_DEPENDENCIES) @rm -f runtest$(EXEEXT) $(runtest_LINK) $(runtest_OBJECTS) $(runtest_LDADD) $(LIBS) mostlyclean-compile: -rm -f *.$(OBJEXT) distclean-compile: -rm -f *.tab.c @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/examinepdf-examinepdf.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libps_a-encode.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libps_a-glyphs.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libps_a-misc.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libps_a-pdf.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libps_a-pdfparser.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libps_a-pfb2pfa.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libps_a-type42.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libps_a-unicode.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libps_a-wineps.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/runtest-test_glyphlist.Po@am__quote@ .cc.o: @am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< @am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ $< .cc.obj: @am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` @am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'` libps_a-encode.o: encode.cc @am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libps_a_CXXFLAGS) $(CXXFLAGS) -MT libps_a-encode.o -MD -MP -MF $(DEPDIR)/libps_a-encode.Tpo -c -o libps_a-encode.o `test -f 'encode.cc' || echo '$(srcdir)/'`encode.cc @am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/libps_a-encode.Tpo $(DEPDIR)/libps_a-encode.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='encode.cc' object='libps_a-encode.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libps_a_CXXFLAGS) $(CXXFLAGS) -c -o libps_a-encode.o `test -f 'encode.cc' || echo '$(srcdir)/'`encode.cc libps_a-encode.obj: encode.cc @am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libps_a_CXXFLAGS) $(CXXFLAGS) -MT libps_a-encode.obj -MD -MP -MF $(DEPDIR)/libps_a-encode.Tpo -c -o libps_a-encode.obj `if test -f 'encode.cc'; then $(CYGPATH_W) 'encode.cc'; else $(CYGPATH_W) '$(srcdir)/encode.cc'; fi` @am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/libps_a-encode.Tpo $(DEPDIR)/libps_a-encode.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='encode.cc' object='libps_a-encode.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libps_a_CXXFLAGS) $(CXXFLAGS) -c -o libps_a-encode.obj `if test -f 'encode.cc'; then $(CYGPATH_W) 'encode.cc'; else $(CYGPATH_W) '$(srcdir)/encode.cc'; fi` libps_a-glyphs.o: glyphs.cc @am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libps_a_CXXFLAGS) $(CXXFLAGS) -MT libps_a-glyphs.o -MD -MP -MF $(DEPDIR)/libps_a-glyphs.Tpo -c -o libps_a-glyphs.o `test -f 'glyphs.cc' || echo '$(srcdir)/'`glyphs.cc @am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/libps_a-glyphs.Tpo $(DEPDIR)/libps_a-glyphs.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='glyphs.cc' object='libps_a-glyphs.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libps_a_CXXFLAGS) $(CXXFLAGS) -c -o libps_a-glyphs.o `test -f 'glyphs.cc' || echo '$(srcdir)/'`glyphs.cc libps_a-glyphs.obj: glyphs.cc @am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libps_a_CXXFLAGS) $(CXXFLAGS) -MT libps_a-glyphs.obj -MD -MP -MF $(DEPDIR)/libps_a-glyphs.Tpo -c -o libps_a-glyphs.obj `if test -f 'glyphs.cc'; then $(CYGPATH_W) 'glyphs.cc'; else $(CYGPATH_W) '$(srcdir)/glyphs.cc'; fi` @am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/libps_a-glyphs.Tpo $(DEPDIR)/libps_a-glyphs.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='glyphs.cc' object='libps_a-glyphs.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libps_a_CXXFLAGS) $(CXXFLAGS) -c -o libps_a-glyphs.obj `if test -f 'glyphs.cc'; then $(CYGPATH_W) 'glyphs.cc'; else $(CYGPATH_W) '$(srcdir)/glyphs.cc'; fi` libps_a-pdf.o: pdf.cc @am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libps_a_CXXFLAGS) $(CXXFLAGS) -MT libps_a-pdf.o -MD -MP -MF $(DEPDIR)/libps_a-pdf.Tpo -c -o libps_a-pdf.o `test -f 'pdf.cc' || echo '$(srcdir)/'`pdf.cc @am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/libps_a-pdf.Tpo $(DEPDIR)/libps_a-pdf.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='pdf.cc' object='libps_a-pdf.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libps_a_CXXFLAGS) $(CXXFLAGS) -c -o libps_a-pdf.o `test -f 'pdf.cc' || echo '$(srcdir)/'`pdf.cc libps_a-pdf.obj: pdf.cc @am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libps_a_CXXFLAGS) $(CXXFLAGS) -MT libps_a-pdf.obj -MD -MP -MF $(DEPDIR)/libps_a-pdf.Tpo -c -o libps_a-pdf.obj `if test -f 'pdf.cc'; then $(CYGPATH_W) 'pdf.cc'; else $(CYGPATH_W) '$(srcdir)/pdf.cc'; fi` @am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/libps_a-pdf.Tpo $(DEPDIR)/libps_a-pdf.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='pdf.cc' object='libps_a-pdf.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libps_a_CXXFLAGS) $(CXXFLAGS) -c -o libps_a-pdf.obj `if test -f 'pdf.cc'; then $(CYGPATH_W) 'pdf.cc'; else $(CYGPATH_W) '$(srcdir)/pdf.cc'; fi` libps_a-unicode.o: unicode.cc @am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libps_a_CXXFLAGS) $(CXXFLAGS) -MT libps_a-unicode.o -MD -MP -MF $(DEPDIR)/libps_a-unicode.Tpo -c -o libps_a-unicode.o `test -f 'unicode.cc' || echo '$(srcdir)/'`unicode.cc @am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/libps_a-unicode.Tpo $(DEPDIR)/libps_a-unicode.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='unicode.cc' object='libps_a-unicode.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libps_a_CXXFLAGS) $(CXXFLAGS) -c -o libps_a-unicode.o `test -f 'unicode.cc' || echo '$(srcdir)/'`unicode.cc libps_a-unicode.obj: unicode.cc @am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libps_a_CXXFLAGS) $(CXXFLAGS) -MT libps_a-unicode.obj -MD -MP -MF $(DEPDIR)/libps_a-unicode.Tpo -c -o libps_a-unicode.obj `if test -f 'unicode.cc'; then $(CYGPATH_W) 'unicode.cc'; else $(CYGPATH_W) '$(srcdir)/unicode.cc'; fi` @am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/libps_a-unicode.Tpo $(DEPDIR)/libps_a-unicode.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='unicode.cc' object='libps_a-unicode.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libps_a_CXXFLAGS) $(CXXFLAGS) -c -o libps_a-unicode.obj `if test -f 'unicode.cc'; then $(CYGPATH_W) 'unicode.cc'; else $(CYGPATH_W) '$(srcdir)/unicode.cc'; fi` libps_a-pfb2pfa.o: pfb2pfa.cc @am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libps_a_CXXFLAGS) $(CXXFLAGS) -MT libps_a-pfb2pfa.o -MD -MP -MF $(DEPDIR)/libps_a-pfb2pfa.Tpo -c -o libps_a-pfb2pfa.o `test -f 'pfb2pfa.cc' || echo '$(srcdir)/'`pfb2pfa.cc @am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/libps_a-pfb2pfa.Tpo $(DEPDIR)/libps_a-pfb2pfa.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='pfb2pfa.cc' object='libps_a-pfb2pfa.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libps_a_CXXFLAGS) $(CXXFLAGS) -c -o libps_a-pfb2pfa.o `test -f 'pfb2pfa.cc' || echo '$(srcdir)/'`pfb2pfa.cc libps_a-pfb2pfa.obj: pfb2pfa.cc @am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libps_a_CXXFLAGS) $(CXXFLAGS) -MT libps_a-pfb2pfa.obj -MD -MP -MF $(DEPDIR)/libps_a-pfb2pfa.Tpo -c -o libps_a-pfb2pfa.obj `if test -f 'pfb2pfa.cc'; then $(CYGPATH_W) 'pfb2pfa.cc'; else $(CYGPATH_W) '$(srcdir)/pfb2pfa.cc'; fi` @am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/libps_a-pfb2pfa.Tpo $(DEPDIR)/libps_a-pfb2pfa.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='pfb2pfa.cc' object='libps_a-pfb2pfa.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libps_a_CXXFLAGS) $(CXXFLAGS) -c -o libps_a-pfb2pfa.obj `if test -f 'pfb2pfa.cc'; then $(CYGPATH_W) 'pfb2pfa.cc'; else $(CYGPATH_W) '$(srcdir)/pfb2pfa.cc'; fi` libps_a-misc.o: misc.cc @am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libps_a_CXXFLAGS) $(CXXFLAGS) -MT libps_a-misc.o -MD -MP -MF $(DEPDIR)/libps_a-misc.Tpo -c -o libps_a-misc.o `test -f 'misc.cc' || echo '$(srcdir)/'`misc.cc @am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/libps_a-misc.Tpo $(DEPDIR)/libps_a-misc.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='misc.cc' object='libps_a-misc.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libps_a_CXXFLAGS) $(CXXFLAGS) -c -o libps_a-misc.o `test -f 'misc.cc' || echo '$(srcdir)/'`misc.cc libps_a-misc.obj: misc.cc @am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libps_a_CXXFLAGS) $(CXXFLAGS) -MT libps_a-misc.obj -MD -MP -MF $(DEPDIR)/libps_a-misc.Tpo -c -o libps_a-misc.obj `if test -f 'misc.cc'; then $(CYGPATH_W) 'misc.cc'; else $(CYGPATH_W) '$(srcdir)/misc.cc'; fi` @am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/libps_a-misc.Tpo $(DEPDIR)/libps_a-misc.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='misc.cc' object='libps_a-misc.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libps_a_CXXFLAGS) $(CXXFLAGS) -c -o libps_a-misc.obj `if test -f 'misc.cc'; then $(CYGPATH_W) 'misc.cc'; else $(CYGPATH_W) '$(srcdir)/misc.cc'; fi` libps_a-wineps.o: wineps.cc @am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libps_a_CXXFLAGS) $(CXXFLAGS) -MT libps_a-wineps.o -MD -MP -MF $(DEPDIR)/libps_a-wineps.Tpo -c -o libps_a-wineps.o `test -f 'wineps.cc' || echo '$(srcdir)/'`wineps.cc @am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/libps_a-wineps.Tpo $(DEPDIR)/libps_a-wineps.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='wineps.cc' object='libps_a-wineps.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libps_a_CXXFLAGS) $(CXXFLAGS) -c -o libps_a-wineps.o `test -f 'wineps.cc' || echo '$(srcdir)/'`wineps.cc libps_a-wineps.obj: wineps.cc @am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libps_a_CXXFLAGS) $(CXXFLAGS) -MT libps_a-wineps.obj -MD -MP -MF $(DEPDIR)/libps_a-wineps.Tpo -c -o libps_a-wineps.obj `if test -f 'wineps.cc'; then $(CYGPATH_W) 'wineps.cc'; else $(CYGPATH_W) '$(srcdir)/wineps.cc'; fi` @am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/libps_a-wineps.Tpo $(DEPDIR)/libps_a-wineps.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='wineps.cc' object='libps_a-wineps.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libps_a_CXXFLAGS) $(CXXFLAGS) -c -o libps_a-wineps.obj `if test -f 'wineps.cc'; then $(CYGPATH_W) 'wineps.cc'; else $(CYGPATH_W) '$(srcdir)/wineps.cc'; fi` libps_a-pdfparser.o: pdfparser.cc @am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libps_a_CXXFLAGS) $(CXXFLAGS) -MT libps_a-pdfparser.o -MD -MP -MF $(DEPDIR)/libps_a-pdfparser.Tpo -c -o libps_a-pdfparser.o `test -f 'pdfparser.cc' || echo '$(srcdir)/'`pdfparser.cc @am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/libps_a-pdfparser.Tpo $(DEPDIR)/libps_a-pdfparser.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='pdfparser.cc' object='libps_a-pdfparser.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libps_a_CXXFLAGS) $(CXXFLAGS) -c -o libps_a-pdfparser.o `test -f 'pdfparser.cc' || echo '$(srcdir)/'`pdfparser.cc libps_a-pdfparser.obj: pdfparser.cc @am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libps_a_CXXFLAGS) $(CXXFLAGS) -MT libps_a-pdfparser.obj -MD -MP -MF $(DEPDIR)/libps_a-pdfparser.Tpo -c -o libps_a-pdfparser.obj `if test -f 'pdfparser.cc'; then $(CYGPATH_W) 'pdfparser.cc'; else $(CYGPATH_W) '$(srcdir)/pdfparser.cc'; fi` @am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/libps_a-pdfparser.Tpo $(DEPDIR)/libps_a-pdfparser.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='pdfparser.cc' object='libps_a-pdfparser.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libps_a_CXXFLAGS) $(CXXFLAGS) -c -o libps_a-pdfparser.obj `if test -f 'pdfparser.cc'; then $(CYGPATH_W) 'pdfparser.cc'; else $(CYGPATH_W) '$(srcdir)/pdfparser.cc'; fi` libps_a-type42.o: type42.cc @am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libps_a_CXXFLAGS) $(CXXFLAGS) -MT libps_a-type42.o -MD -MP -MF $(DEPDIR)/libps_a-type42.Tpo -c -o libps_a-type42.o `test -f 'type42.cc' || echo '$(srcdir)/'`type42.cc @am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/libps_a-type42.Tpo $(DEPDIR)/libps_a-type42.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='type42.cc' object='libps_a-type42.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libps_a_CXXFLAGS) $(CXXFLAGS) -c -o libps_a-type42.o `test -f 'type42.cc' || echo '$(srcdir)/'`type42.cc libps_a-type42.obj: type42.cc @am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libps_a_CXXFLAGS) $(CXXFLAGS) -MT libps_a-type42.obj -MD -MP -MF $(DEPDIR)/libps_a-type42.Tpo -c -o libps_a-type42.obj `if test -f 'type42.cc'; then $(CYGPATH_W) 'type42.cc'; else $(CYGPATH_W) '$(srcdir)/type42.cc'; fi` @am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/libps_a-type42.Tpo $(DEPDIR)/libps_a-type42.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='type42.cc' object='libps_a-type42.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libps_a_CXXFLAGS) $(CXXFLAGS) -c -o libps_a-type42.obj `if test -f 'type42.cc'; then $(CYGPATH_W) 'type42.cc'; else $(CYGPATH_W) '$(srcdir)/type42.cc'; fi` examinepdf-examinepdf.o: examinepdf.cc @am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(examinepdf_CXXFLAGS) $(CXXFLAGS) -MT examinepdf-examinepdf.o -MD -MP -MF $(DEPDIR)/examinepdf-examinepdf.Tpo -c -o examinepdf-examinepdf.o `test -f 'examinepdf.cc' || echo '$(srcdir)/'`examinepdf.cc @am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/examinepdf-examinepdf.Tpo $(DEPDIR)/examinepdf-examinepdf.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='examinepdf.cc' object='examinepdf-examinepdf.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(examinepdf_CXXFLAGS) $(CXXFLAGS) -c -o examinepdf-examinepdf.o `test -f 'examinepdf.cc' || echo '$(srcdir)/'`examinepdf.cc examinepdf-examinepdf.obj: examinepdf.cc @am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(examinepdf_CXXFLAGS) $(CXXFLAGS) -MT examinepdf-examinepdf.obj -MD -MP -MF $(DEPDIR)/examinepdf-examinepdf.Tpo -c -o examinepdf-examinepdf.obj `if test -f 'examinepdf.cc'; then $(CYGPATH_W) 'examinepdf.cc'; else $(CYGPATH_W) '$(srcdir)/examinepdf.cc'; fi` @am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/examinepdf-examinepdf.Tpo $(DEPDIR)/examinepdf-examinepdf.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='examinepdf.cc' object='examinepdf-examinepdf.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(examinepdf_CXXFLAGS) $(CXXFLAGS) -c -o examinepdf-examinepdf.obj `if test -f 'examinepdf.cc'; then $(CYGPATH_W) 'examinepdf.cc'; else $(CYGPATH_W) '$(srcdir)/examinepdf.cc'; fi` runtest-test_glyphlist.o: test_glyphlist.cc @am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(runtest_CXXFLAGS) $(CXXFLAGS) -MT runtest-test_glyphlist.o -MD -MP -MF $(DEPDIR)/runtest-test_glyphlist.Tpo -c -o runtest-test_glyphlist.o `test -f 'test_glyphlist.cc' || echo '$(srcdir)/'`test_glyphlist.cc @am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/runtest-test_glyphlist.Tpo $(DEPDIR)/runtest-test_glyphlist.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='test_glyphlist.cc' object='runtest-test_glyphlist.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(runtest_CXXFLAGS) $(CXXFLAGS) -c -o runtest-test_glyphlist.o `test -f 'test_glyphlist.cc' || echo '$(srcdir)/'`test_glyphlist.cc runtest-test_glyphlist.obj: test_glyphlist.cc @am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(runtest_CXXFLAGS) $(CXXFLAGS) -MT runtest-test_glyphlist.obj -MD -MP -MF $(DEPDIR)/runtest-test_glyphlist.Tpo -c -o runtest-test_glyphlist.obj `if test -f 'test_glyphlist.cc'; then $(CYGPATH_W) 'test_glyphlist.cc'; else $(CYGPATH_W) '$(srcdir)/test_glyphlist.cc'; fi` @am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/runtest-test_glyphlist.Tpo $(DEPDIR)/runtest-test_glyphlist.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='test_glyphlist.cc' object='runtest-test_glyphlist.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(runtest_CXXFLAGS) $(CXXFLAGS) -c -o runtest-test_glyphlist.obj `if test -f 'test_glyphlist.cc'; then $(CYGPATH_W) 'test_glyphlist.cc'; else $(CYGPATH_W) '$(srcdir)/test_glyphlist.cc'; fi` ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \ END { if (nonempty) { for (i in files) print i; }; }'`; \ mkid -fID $$unique tags: TAGS TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) tags=; \ here=`pwd`; \ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in files) print i; }; }'`; \ if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ $$tags $$unique; \ fi ctags: CTAGS CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) tags=; \ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in files) print i; }; }'`; \ test -z "$(CTAGS_ARGS)$$tags$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$tags $$unique GTAGS: here=`$(am__cd) $(top_builddir) && pwd` \ && cd $(top_srcdir) \ && gtags -i $(GTAGS_ARGS) $$here distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags check-TESTS: $(TESTS) @failed=0; all=0; xfail=0; xpass=0; skip=0; ws='[ ]'; \ srcdir=$(srcdir); export srcdir; \ list=' $(TESTS) '; \ if test -n "$$list"; then \ for tst in $$list; do \ if test -f ./$$tst; then dir=./; \ elif test -f $$tst; then dir=; \ else dir="$(srcdir)/"; fi; \ if $(TESTS_ENVIRONMENT) $${dir}$$tst; then \ all=`expr $$all + 1`; \ case " $(XFAIL_TESTS) " in \ *$$ws$$tst$$ws*) \ xpass=`expr $$xpass + 1`; \ failed=`expr $$failed + 1`; \ echo "XPASS: $$tst"; \ ;; \ *) \ echo "PASS: $$tst"; \ ;; \ esac; \ elif test $$? -ne 77; then \ all=`expr $$all + 1`; \ case " $(XFAIL_TESTS) " in \ *$$ws$$tst$$ws*) \ xfail=`expr $$xfail + 1`; \ echo "XFAIL: $$tst"; \ ;; \ *) \ failed=`expr $$failed + 1`; \ echo "FAIL: $$tst"; \ ;; \ esac; \ else \ skip=`expr $$skip + 1`; \ echo "SKIP: $$tst"; \ fi; \ done; \ if test "$$failed" -eq 0; then \ if test "$$xfail" -eq 0; then \ banner="All $$all tests passed"; \ else \ banner="All $$all tests behaved as expected ($$xfail expected failures)"; \ fi; \ else \ if test "$$xpass" -eq 0; then \ banner="$$failed of $$all tests failed"; \ else \ banner="$$failed of $$all tests did not behave as expected ($$xpass unexpected passes)"; \ fi; \ fi; \ dashes="$$banner"; \ skipped=""; \ if test "$$skip" -ne 0; then \ skipped="($$skip tests were not run)"; \ test `echo "$$skipped" | wc -c` -le `echo "$$banner" | wc -c` || \ dashes="$$skipped"; \ fi; \ report=""; \ if test "$$failed" -ne 0 && test -n "$(PACKAGE_BUGREPORT)"; then \ report="Please report to $(PACKAGE_BUGREPORT)"; \ test `echo "$$report" | wc -c` -le `echo "$$banner" | wc -c` || \ dashes="$$report"; \ fi; \ dashes=`echo "$$dashes" | sed s/./=/g`; \ echo "$$dashes"; \ echo "$$banner"; \ test -z "$$skipped" || echo "$$skipped"; \ test -z "$$report" || echo "$$report"; \ echo "$$dashes"; \ test "$$failed" -eq 0; \ else :; fi distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ fi; \ cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ else \ test -f $(distdir)/$$file \ || cp -p $$d/$$file $(distdir)/$$file \ || exit 1; \ fi; \ done check-am: all-am $(MAKE) $(AM_MAKEFLAGS) $(check_PROGRAMS) $(MAKE) $(AM_MAKEFLAGS) check-TESTS check: check-am all-am: Makefile $(LIBRARIES) $(PROGRAMS) $(HEADERS) installdirs: for dir in "$(DESTDIR)$(bindir)"; do \ test -z "$$dir" || $(MKDIR_P) "$$dir"; \ done install: install-am install-exec: install-exec-am install-data: install-data-am uninstall: uninstall-am install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-am install-strip: $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ `test -z '$(STRIP)' || \ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install mostlyclean-generic: clean-generic: distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-am clean-am: clean-binPROGRAMS clean-checkPROGRAMS clean-generic \ clean-noinstLIBRARIES mostlyclean-am distclean: distclean-am -rm -rf ./$(DEPDIR) -rm -f Makefile distclean-am: clean-am distclean-compile distclean-generic \ distclean-tags dvi: dvi-am dvi-am: html: html-am info: info-am info-am: install-data-am: install-dvi: install-dvi-am install-exec-am: install-binPROGRAMS install-html: install-html-am install-info: install-info-am install-man: install-pdf: install-pdf-am install-ps: install-ps-am installcheck-am: maintainer-clean: maintainer-clean-am -rm -rf ./$(DEPDIR) -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am mostlyclean-am: mostlyclean-compile mostlyclean-generic pdf: pdf-am pdf-am: ps: ps-am ps-am: uninstall-am: uninstall-binPROGRAMS .MAKE: install-am install-strip .PHONY: CTAGS GTAGS all all-am check check-TESTS check-am clean \ clean-binPROGRAMS clean-checkPROGRAMS clean-generic \ clean-noinstLIBRARIES ctags distclean distclean-compile \ distclean-generic distclean-tags distdir dvi dvi-am html \ html-am info info-am install install-am install-binPROGRAMS \ install-data install-data-am install-dvi install-dvi-am \ install-exec install-exec-am install-html install-html-am \ install-info install-info-am install-man install-pdf \ install-pdf-am install-ps install-ps-am install-strip \ installcheck installcheck-am installdirs maintainer-clean \ maintainer-clean-generic mostlyclean mostlyclean-compile \ mostlyclean-generic pdf pdf-am ps ps-am tags uninstall \ uninstall-am uninstall-binPROGRAMS # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: passepartout-0.7.1/src/ps/encode.cc000066400000000000000000000162531140125232500172300ustar00rootroot00000000000000/// // Copyright (C) 2002 - 2004, Fredrik Arnerup & Rasmus Kaj, See COPYING /// #include "encode.h" #include #include namespace PS { // EncodeFilterCascade std::string EncodeFilterCascade::decode_command() const { std::string cmd = ""; for(FilterSequence::const_iterator i = sequence.begin(); i != sequence.end(); i++) cmd += (*i)->decode_command() + " "; return cmd; } void EncodeFilterCascade::begin(std::ostream *out_) { EncodeFilter::begin(out_); // Run begin only for the stream that is actually going to // write to the stream: FilterSequence::iterator i = sequence.begin(); if(sequence.size() > 0) (*i)->begin(out_); while(++i != sequence.end()) (*i)->init(); } void EncodeFilterCascade::write(const unsigned char *data, unsigned long count, bool flush) { FilterSequence::iterator i = sequence.end(), j; if(i == sequence.begin()) // no filters return; /// \todo should really write raw data to out j = --i; j--; if(i == sequence.begin()) { // only one filter (*i)->write(data, count, flush); return; } unsigned char *data1, *data2; unsigned long count1, count2; (*i)->filter(data, count, data1, count1, flush); while(j != sequence.begin()) { i--; (*i)->filter(data1, count1, data2, count2, flush); delete[] data1; data1 = data2; count1 = count2; j--; } (*j)->write(data1, count1, flush); delete[] data1; } // ASCIIHexEncodeFilter void ASCIIHexEncodeFilter::begin(std::ostream *out_) { SimpleEncodeFilter::begin(out_); (*out) << std::setw(2) << std::hex << std::setfill('0'); } void ASCIIHexEncodeFilter::write(const unsigned char *data, unsigned long count, bool flush) { for(unsigned int i = 0; i < count; i++) { (*out) << std::setw(2) << std::hex << std::setfill('0') << int(data[i]); line_width += 2; if(line_width >= max_line_width) { (*out) << '\n'; line_width = 0; } } if(flush) { // reset and write eod marker (*out) << std::setw(0) << std::dec << std::setfill(' '); if(write_eod) (*out) << ">"; (*out) << std::endl; } } void ASCIIHexEncodeFilter::filter(const unsigned char *data_in, unsigned long count_in, unsigned char *&data_out, unsigned long &count_out, bool flush) { count_out = 2 * count_in; data_out = new unsigned char[count_out]; for(unsigned int i=0; i= max_line_width) { (*out) << '\n'; line_width = 0; } return 1; } unsigned char out_chunk[5]; // Conversion from a four-digit base 256 number // to a five-digit base 85 number. // number should be at least a 32 bit number unsigned long number = 0; for(int i = 0; i < 4; i++) { number <<= 8; number |= chunk[i]; } out_chunk[0] = number / 52200625; // 85^4 number %= 52200625; out_chunk[1] = number / 614125; // 85^3 number %= 614125; out_chunk[2] = number / 7225; // 85^2 number %= 7225; out_chunk[3] = number / 85; // 85^1 out_chunk[4] = number %= 85; for(int i = 0; i < 5 && i < output_num; i++) { out->put(out_chunk[i] + 33); // 33 is the ASCII code for '!' line_width++; if(line_width >= max_line_width) { (*out) << '\n'; line_width = 0; } } return 5; } void ASCII85EncodeFilter::write(const unsigned char *data, unsigned long count, bool flush) { unsigned long offset = 0; // fill buffer if necessary if(fill > 0) { while(fill < 4 && offset < count) buffer[fill++] = data[offset++]; if(fill == 4) { write_chunk(buffer); fill = 0; } } // encode while(offset + 4 <= count) { /// \todo watch out for integer overflow write_chunk(&data[offset]); offset += 4; } // fill buffer if necessary (again) while(offset < count) buffer[fill++] = data[offset++]; // end of data? if(flush) { // pad buffer with zero if(fill > 0) { int count = 5; if(fill < 4) count = fill + 1; while(fill < 4) buffer[fill++] = 0; write_chunk(buffer, false, count); // no z special case } if(write_eod) (*out) << "~>"; // eod marker (*out) << std::endl; } } void ASCII85EncodeFilter::filter(const unsigned char *data_in, unsigned long count_in, unsigned char *&data_out, unsigned long &count_out, bool flush) { /// \todo ... data_out = new unsigned char[1]; count_out = 1; } // RunLengthEncodeFilter void RunLengthEncodeFilter::init() { SimpleEncodeFilter::init(); fill = 0; bytes.clear(); } void RunLengthEncodeFilter::write(const unsigned char *data, unsigned long count, bool flush) { unsigned long count_out; unsigned char *data_out; filter(data, count, data_out, count_out, flush); out->write(reinterpret_cast(data_out), count_out); delete[] data_out; } void RunLengthEncodeFilter::flush_buffer() { if(fill > 0) { if(fill > 1 && buffer[0] == buffer[1]) { // similar bytes.push_back(257 - fill); // the next bytes are the same bytes.push_back(buffer[0]); // as this } else { // dissimilar bytes.push_back(fill - 1); // the next bytes are different for(int i = 0; i < fill; i++) bytes.push_back(buffer[i]); } } fill = 0; } void RunLengthEncodeFilter::filter(const unsigned char *data_in, unsigned long count_in, unsigned char *&data_out, unsigned long &count_out, bool flush) { unsigned long offset = 0; while(offset < count_in) { if(fill > 1) { if(data_in[offset] == buffer[fill - 1] && data_in[offset] != buffer[fill - 2]) { // two similar bytes! fill--; // pop the last byte flush_buffer(); buffer[fill++] = data_in[offset]; // and push it again } else if(data_in[offset] != buffer[fill - 1] && buffer[fill - 2] == buffer[fill - 1]) { // a dissimilar byte! flush_buffer(); } } buffer[fill++] = data_in[offset++]; if(fill == 128) // buffer is full flush_buffer(); } if(flush) { flush_buffer(); if(write_eod) bytes.push_back(128U); // eod marker } // copy from vector to bytes count_out = bytes.size(); data_out = new unsigned char[count_out]; unsigned long j = 0; for(Bytes::iterator i = bytes.begin(); i != bytes.end(); i++) { data_out[j++] = *i; } bytes.clear(); } } passepartout-0.7.1/src/ps/encode.h000066400000000000000000000131071140125232500170650ustar00rootroot00000000000000// -*- c++ -*- /// // Copyright (C) 2002 - 2004, Fredrik Arnerup & Rasmus Kaj, See COPYING /// #ifndef ENCODE_H #define ENCODE_H #include #include #include #include // Standard PostScript encoding filters namespace PS { static const int max_line_width = 75; class EncodeFilter { public: EncodeFilter(bool _write_eod = true) : write_eod(_write_eod) {} virtual ~EncodeFilter() {} // The postscripts commands necessary to decode this filter: virtual std::string decode_command() const = 0; // Initalize: virtual void begin(std::ostream *out_) {out = out_;} // Write a chunk of data. If flush == true then it is assumed that // these are the last data. virtual void write(const unsigned char *data, unsigned long count, bool flush = false) = 0; // Finalize: virtual void end() {write(0, 0, true);} protected: bool write_eod; std::ostream *out; }; class EncodeFilterCascade; // This is actually NullEncodeFilter // It writes the input directly to the output, without change. class SimpleEncodeFilter: public EncodeFilter{ friend class EncodeFilterCascade; // so it can run filter(...) public: SimpleEncodeFilter(bool _write_eod = true) : EncodeFilter(_write_eod) {} std::string decode_command() const {return "/NullEncode filter";} // There is no NullDecode filter - it would be identical to NullEncode void begin(std::ostream *out_) {EncodeFilter::begin(out_); init();} void write(const unsigned char *data, unsigned long count, bool flush = false) {out->write(reinterpret_cast(data), count);} protected: int line_width; // filter data, data_out should be deleted when used. // If flush is set to true, the filter may assume these are the last data. virtual void filter(const unsigned char *data_in, unsigned long count_in, unsigned char *&data_out, unsigned long &count_out, bool flush = false) { count_out = count_in; data_out = new unsigned char[count_out]; memcpy(data_out, data_in, count_in); } // initialize, if begin is not to be called virtual void init() {line_width = 0;} }; typedef std::vector FilterSequence; // more than one (simple) filter after one another class EncodeFilterCascade: public EncodeFilter { public: EncodeFilterCascade(FilterSequence &filter_sequence): sequence(filter_sequence) {} std::string decode_command() const; void begin(std::ostream *out_); void write(const unsigned char *data, unsigned long count, bool flush = false); private: FilterSequence &sequence; }; // Simple binary-to-ASCII filter class ASCIIHexEncodeFilter: public SimpleEncodeFilter { public: ASCIIHexEncodeFilter(bool _write_eod = true) : SimpleEncodeFilter(_write_eod) {} std::string decode_command() const {return "/ASCIIHexDecode filter";} void begin(std::ostream *out_); void write(const unsigned char *data, unsigned long count, bool flush = false); protected: // binary output is rather pointless in an ASCII filter, but here goes ... // Beware! Untested code! void filter(const unsigned char *data_in, unsigned long count_in, unsigned char *&data_out, unsigned long &count_out, bool flush = false); }; // the ASCII85 encoding is much more efficient than ASCIIHex class ASCII85EncodeFilter: public SimpleEncodeFilter { public: ASCII85EncodeFilter(bool _write_eod = true) : SimpleEncodeFilter(_write_eod) {} std::string decode_command() const {return "/ASCII85Decode filter";} void write(const unsigned char *data, unsigned long count, bool flush=false); protected: //Note: this function does not work: void filter(const unsigned char *data_in, unsigned long count_in, unsigned char *&data_out, unsigned long &count_out, bool flush = false); void init(); private: // Encode and write the four bytes in chunk. // Returns number of characters written. // The z special case says that five zeros are encoded as 'z'. // The output_count argument is for the eod padding special case int write_chunk(const unsigned char *chunk, bool apply_z_special_case = true, int output_num = 5); // Buffer to hold remainder of data amount not divisible by 4: unsigned char buffer[4]; // Number of bytes in buffer: int fill; }; // RunLengthEncode can compress grayscale images with few gray levels // very efficiently. It doesn't work for color images, since it only // compares individual bytes, whereas color values are three bytes long. // However, it never expands data very much, so it is safe to use on any // image. class RunLengthEncodeFilter: public SimpleEncodeFilter { public: RunLengthEncodeFilter(bool _write_eod = true) : SimpleEncodeFilter(_write_eod) {} std::string decode_command() const {return "/RunLengthDecode filter";} void write(const unsigned char *data, unsigned long count, bool flush = false); protected: void filter(const unsigned char *data_in, unsigned long count_in, unsigned char *&data_out, unsigned long &count_out, bool flush = false); void init(); private: unsigned char buffer[128]; // RunLengthEncode can handle a maximum of 128 identical bytes in a row. // Number of bytes in buffer: int fill; typedef std::vector Bytes; Bytes bytes; // a place to write an unknown amount of data void flush_buffer(); // encode buffer and put it in bytes }; } #endif passepartout-0.7.1/src/ps/examinepdf.cc000066400000000000000000000025731140125232500201130ustar00rootroot00000000000000/// // Copyright (C) 2002 - 2004, Fredrik Arnerup & Rasmus Kaj, See COPYING /// #include "pdfparser.h" #include #include // Todo: other assert! #include #include void usage() {} /** * Note: this program does not yet handle "updated" PDFs (such where some * objects have a generation number other than 0). */ int main(int argc, char* argv[]) { try { if(argc < 2 || argc > 4) { usage(); exit(1); } PDFParser pdf(argv[1]); PDF::Dictionary::Ptr trailer = pdf.getTrailer(); std::cout << "Trailer:" << std::endl << trailer.operator->() << std::endl; if(PDF::Ref::Ptr ref = trailer->get_entry("Info").dyn_cast()) { std::cout << "Info:" << std::endl << pdf.getObject(ref).operator->() << std::endl; } else std::cout << "This document contains no info dictionary." << std::endl; if(PDF::Ref::Ptr ref = trailer->get_entry("Root").dyn_cast()) { std::cout << "Root:" << std::endl << pdf.getObject(ref).operator->() << std::endl; } else std::cout << "This document contains no root dictionary." << std::endl; } catch (const std::exception& err) { std::cerr << "Error: " << err.what() << std::endl; } catch (...) { std::cerr << "Error: " << "Main caught something that " << "wasn't even an exception!" << std::endl; } } passepartout-0.7.1/src/ps/glyphs.cc000066400000000000000000004034051140125232500173000ustar00rootroot00000000000000#include "unicode.h" // This file is generated by parseglyphlists.sh // edit that file instead. #define u(x) Glib::ustring(Glib::ustring::size_type(1), gunichar(x)) const PS::Unicode::Glyphs PS::Unicode::glyphlist(false), PS::Unicode::dingbats(true); PS::Unicode::Glyphs::Glyphs(bool dingbats) { static const char *const names[] = {"A", "AE", "AEacute", "AEmacron", "AEsmall", "Aacute", "Aacutesmall", "Abreve", "Abreveacute", "Abrevecyrillic", "Abrevedotbelow", "Abrevegrave", "Abrevehookabove", "Abrevetilde", "Acaron", "Acircle", "Acircumflex", "Acircumflexacute", "Acircumflexdotbelow", "Acircumflexgrave", "Acircumflexhookabove", "Acircumflexsmall", "Acircumflextilde", "Acute", "Acutesmall", "Acyrillic", "Adblgrave", "Adieresis", "Adieresiscyrillic", "Adieresismacron", "Adieresissmall", "Adotbelow", "Adotmacron", "Agrave", "Agravesmall", "Ahookabove", "Aiecyrillic", "Ainvertedbreve", "Alpha", "Alphatonos", "Amacron", "Amonospace", "Aogonek", "Aring", "Aringacute", "Aringbelow", "Aringsmall", "Asmall", "Atilde", "Atildesmall", "Aybarmenian", "B", "Bcircle", "Bdotaccent", "Bdotbelow", "Becyrillic", "Benarmenian", "Beta", "Bhook", "Blinebelow", "Bmonospace", "Brevesmall", "Bsmall", "Btopbar", "C", "Caarmenian", "Cacute", "Caron", "Caronsmall", "Ccaron", "Ccedilla", "Ccedillaacute", "Ccedillasmall", "Ccircle", "Ccircumflex", "Cdot", "Cdotaccent", "Cedillasmall", "Chaarmenian", "Cheabkhasiancyrillic", "Checyrillic", "Chedescenderabkhasiancyrillic", "Chedescendercyrillic", "Chedieresiscyrillic", "Cheharmenian", "Chekhakassiancyrillic", "Cheverticalstrokecyrillic", "Chi", "Chook", "Circumflexsmall", "Cmonospace", "Coarmenian", "Csmall", "D", "DZ", "DZcaron", "Daarmenian", "Dafrican", "Dcaron", "Dcedilla", "Dcircle", "Dcircumflexbelow", "Dcroat", "Ddotaccent", "Ddotbelow", "Decyrillic", "Deicoptic", "Delta", "Deltagreek", "Dhook", "Dieresis", "DieresisAcute", "DieresisGrave", "Dieresissmall", "Digammagreek", "Djecyrillic", "Dlinebelow", "Dmonospace", "Dotaccentsmall", "Dslash", "Dsmall", "Dtopbar", "Dz", "Dzcaron", "Dzeabkhasiancyrillic", "Dzecyrillic", "Dzhecyrillic", "E", "Eacute", "Eacutesmall", "Ebreve", "Ecaron", "Ecedillabreve", "Echarmenian", "Ecircle", "Ecircumflex", "Ecircumflexacute", "Ecircumflexbelow", "Ecircumflexdotbelow", "Ecircumflexgrave", "Ecircumflexhookabove", "Ecircumflexsmall", "Ecircumflextilde", "Ecyrillic", "Edblgrave", "Edieresis", "Edieresissmall", "Edot", "Edotaccent", "Edotbelow", "Efcyrillic", "Egrave", "Egravesmall", "Eharmenian", "Ehookabove", "Eightroman", "Einvertedbreve", "Eiotifiedcyrillic", "Elcyrillic", "Elevenroman", "Emacron", "Emacronacute", "Emacrongrave", "Emcyrillic", "Emonospace", "Encyrillic", "Endescendercyrillic", "Eng", "Enghecyrillic", "Enhookcyrillic", "Eogonek", "Eopen", "Epsilon", "Epsilontonos", "Ercyrillic", "Ereversed", "Ereversedcyrillic", "Escyrillic", "Esdescendercyrillic", "Esh", "Esmall", "Eta", "Etarmenian", "Etatonos", "Eth", "Ethsmall", "Etilde", "Etildebelow", "Euro", "Ezh", "Ezhcaron", "Ezhreversed", "F", "Fcircle", "Fdotaccent", "Feharmenian", "Feicoptic", "Fhook", "Fitacyrillic", "Fiveroman", "Fmonospace", "Fourroman", "Fsmall", "G", "GBsquare", "Gacute", "Gamma", "Gammaafrican", "Gangiacoptic", "Gbreve", "Gcaron", "Gcedilla", "Gcircle", "Gcircumflex", "Gcommaaccent", "Gdot", "Gdotaccent", "Gecyrillic", "Ghadarmenian", "Ghemiddlehookcyrillic", "Ghestrokecyrillic", "Gheupturncyrillic", "Ghook", "Gimarmenian", "Gjecyrillic", "Gmacron", "Gmonospace", "Grave", "Gravesmall", "Gsmall", "Gsmallhook", "Gstroke", "H", "H18533", "H18543", "H18551", "H22073", "HPsquare", "Haabkhasiancyrillic", "Hadescendercyrillic", "Hardsigncyrillic", "Hbar", "Hbrevebelow", "Hcedilla", "Hcircle", "Hcircumflex", "Hdieresis", "Hdotaccent", "Hdotbelow", "Hmonospace", "Hoarmenian", "Horicoptic", "Hsmall", "Hungarumlaut", "Hungarumlautsmall", "Hzsquare", "I", "IAcyrillic", "IJ", "IUcyrillic", "Iacute", "Iacutesmall", "Ibreve", "Icaron", "Icircle", "Icircumflex", "Icircumflexsmall", "Icyrillic", "Idblgrave", "Idieresis", "Idieresisacute", "Idieresiscyrillic", "Idieresissmall", "Idot", "Idotaccent", "Idotbelow", "Iebrevecyrillic", "Iecyrillic", "Ifraktur", "Igrave", "Igravesmall", "Ihookabove", "Iicyrillic", "Iinvertedbreve", "Iishortcyrillic", "Imacron", "Imacroncyrillic", "Imonospace", "Iniarmenian", "Iocyrillic", "Iogonek", "Iota", "Iotaafrican", "Iotadieresis", "Iotatonos", "Ismall", "Istroke", "Itilde", "Itildebelow", "Izhitsacyrillic", "Izhitsadblgravecyrillic", "J", "Jaarmenian", "Jcircle", "Jcircumflex", "Jecyrillic", "Jheharmenian", "Jmonospace", "Jsmall", "K", "KBsquare", "KKsquare", "Kabashkircyrillic", "Kacute", "Kacyrillic", "Kadescendercyrillic", "Kahookcyrillic", "Kappa", "Kastrokecyrillic", "Kaverticalstrokecyrillic", "Kcaron", "Kcedilla", "Kcircle", "Kcommaaccent", "Kdotbelow", "Keharmenian", "Kenarmenian", "Khacyrillic", "Kheicoptic", "Khook", "Kjecyrillic", "Klinebelow", "Kmonospace", "Koppacyrillic", "Koppagreek", "Ksicyrillic", "Ksmall", "L", "LJ", "LL", "Lacute", "Lambda", "Lcaron", "Lcedilla", "Lcircle", "Lcircumflexbelow", "Lcommaaccent", "Ldot", "Ldotaccent", "Ldotbelow", "Ldotbelowmacron", "Liwnarmenian", "Lj", "Ljecyrillic", "Llinebelow", "Lmonospace", "Lslash", "Lslashsmall", "Lsmall", "M", "MBsquare", "Macron", "Macronsmall", "Macute", "Mcircle", "Mdotaccent", "Mdotbelow", "Menarmenian", "Mmonospace", "Msmall", "Mturned", "Mu", "N", "NJ", "Nacute", "Ncaron", "Ncedilla", "Ncircle", "Ncircumflexbelow", "Ncommaaccent", "Ndotaccent", "Ndotbelow", "Nhookleft", "Nineroman", "Nj", "Njecyrillic", "Nlinebelow", "Nmonospace", "Nowarmenian", "Nsmall", "Ntilde", "Ntildesmall", "Nu", "O", "OE", "OEsmall", "Oacute", "Oacutesmall", "Obarredcyrillic", "Obarreddieresiscyrillic", "Obreve", "Ocaron", "Ocenteredtilde", "Ocircle", "Ocircumflex", "Ocircumflexacute", "Ocircumflexdotbelow", "Ocircumflexgrave", "Ocircumflexhookabove", "Ocircumflexsmall", "Ocircumflextilde", "Ocyrillic", "Odblacute", "Odblgrave", "Odieresis", "Odieresiscyrillic", "Odieresissmall", "Odotbelow", "Ogoneksmall", "Ograve", "Ogravesmall", "Oharmenian", "Ohm", "Ohookabove", "Ohorn", "Ohornacute", "Ohorndotbelow", "Ohorngrave", "Ohornhookabove", "Ohorntilde", "Ohungarumlaut", "Oi", "Oinvertedbreve", "Omacron", "Omacronacute", "Omacrongrave", "Omega", "Omegacyrillic", "Omegagreek", "Omegaroundcyrillic", "Omegatitlocyrillic", "Omegatonos", "Omicron", "Omicrontonos", "Omonospace", "Oneroman", "Oogonek", "Oogonekmacron", "Oopen", "Oslash", "Oslashacute", "Oslashsmall", "Osmall", "Ostrokeacute", "Otcyrillic", "Otilde", "Otildeacute", "Otildedieresis", "Otildesmall", "P", "Pacute", "Pcircle", "Pdotaccent", "Pecyrillic", "Peharmenian", "Pemiddlehookcyrillic", "Phi", "Phook", "Pi", "Piwrarmenian", "Pmonospace", "Psi", "Psicyrillic", "Psmall", "Q", "Qcircle", "Qmonospace", "Qsmall", "R", "Raarmenian", "Racute", "Rcaron", "Rcedilla", "Rcircle", "Rcommaaccent", "Rdblgrave", "Rdotaccent", "Rdotbelow", "Rdotbelowmacron", "Reharmenian", "Rfraktur", "Rho", "Ringsmall", "Rinvertedbreve", "Rlinebelow", "Rmonospace", "Rsmall", "Rsmallinverted", "Rsmallinvertedsuperior", "S", "SF010000", "SF020000", "SF030000", "SF040000", "SF050000", "SF060000", "SF070000", "SF080000", "SF090000", "SF100000", "SF110000", "SF190000", "SF200000", "SF210000", "SF220000", "SF230000", "SF240000", "SF250000", "SF260000", "SF270000", "SF280000", "SF360000", "SF370000", "SF380000", "SF390000", "SF400000", "SF410000", "SF420000", "SF430000", "SF440000", "SF450000", "SF460000", "SF470000", "SF480000", "SF490000", "SF500000", "SF510000", "SF520000", "SF530000", "SF540000", "Sacute", "Sacutedotaccent", "Sampigreek", "Scaron", "Scarondotaccent", "Scaronsmall", "Scedilla", "Schwa", "Schwacyrillic", "Schwadieresiscyrillic", "Scircle", "Scircumflex", "Scommaaccent", "Sdotaccent", "Sdotbelow", "Sdotbelowdotaccent", "Seharmenian", "Sevenroman", "Shaarmenian", "Shacyrillic", "Shchacyrillic", "Sheicoptic", "Shhacyrillic", "Shimacoptic", "Sigma", "Sixroman", "Smonospace", "Softsigncyrillic", "Ssmall", "Stigmagreek", "T", "Tau", "Tbar", "Tcaron", "Tcedilla", "Tcircle", "Tcircumflexbelow", "Tcommaaccent", "Tdotaccent", "Tdotbelow", "Tecyrillic", "Tedescendercyrillic", "Tenroman", "Tetsecyrillic", "Theta", "Thook", "Thorn", "Thornsmall", "Threeroman", "Tildesmall", "Tiwnarmenian", "Tlinebelow", "Tmonospace", "Toarmenian", "Tonefive", "Tonesix", "Tonetwo", "Tretroflexhook", "Tsecyrillic", "Tshecyrillic", "Tsmall", "Twelveroman", "Tworoman", "U", "Uacute", "Uacutesmall", "Ubreve", "Ucaron", "Ucircle", "Ucircumflex", "Ucircumflexbelow", "Ucircumflexsmall", "Ucyrillic", "Udblacute", "Udblgrave", "Udieresis", "Udieresisacute", "Udieresisbelow", "Udieresiscaron", "Udieresiscyrillic", "Udieresisgrave", "Udieresismacron", "Udieresissmall", "Udotbelow", "Ugrave", "Ugravesmall", "Uhookabove", "Uhorn", "Uhornacute", "Uhorndotbelow", "Uhorngrave", "Uhornhookabove", "Uhorntilde", "Uhungarumlaut", "Uhungarumlautcyrillic", "Uinvertedbreve", "Ukcyrillic", "Umacron", "Umacroncyrillic", "Umacrondieresis", "Umonospace", "Uogonek", "Upsilon", "Upsilon1", "Upsilonacutehooksymbolgreek", "Upsilonafrican", "Upsilondieresis", "Upsilondieresishooksymbolgreek", "Upsilonhooksymbol", "Upsilontonos", "Uring", "Ushortcyrillic", "Usmall", "Ustraightcyrillic", "Ustraightstrokecyrillic", "Utilde", "Utildeacute", "Utildebelow", "V", "Vcircle", "Vdotbelow", "Vecyrillic", "Vewarmenian", "Vhook", "Vmonospace", "Voarmenian", "Vsmall", "Vtilde", "W", "Wacute", "Wcircle", "Wcircumflex", "Wdieresis", "Wdotaccent", "Wdotbelow", "Wgrave", "Wmonospace", "Wsmall", "X", "Xcircle", "Xdieresis", "Xdotaccent", "Xeharmenian", "Xi", "Xmonospace", "Xsmall", "Y", "Yacute", "Yacutesmall", "Yatcyrillic", "Ycircle", "Ycircumflex", "Ydieresis", "Ydieresissmall", "Ydotaccent", "Ydotbelow", "Yericyrillic", "Yerudieresiscyrillic", "Ygrave", "Yhook", "Yhookabove", "Yiarmenian", "Yicyrillic", "Yiwnarmenian", "Ymonospace", "Ysmall", "Ytilde", "Yusbigcyrillic", "Yusbigiotifiedcyrillic", "Yuslittlecyrillic", "Yuslittleiotifiedcyrillic", "Z", "Zaarmenian", "Zacute", "Zcaron", "Zcaronsmall", "Zcircle", "Zcircumflex", "Zdot", "Zdotaccent", "Zdotbelow", "Zecyrillic", "Zedescendercyrillic", "Zedieresiscyrillic", "Zeta", "Zhearmenian", "Zhebrevecyrillic", "Zhecyrillic", "Zhedescendercyrillic", "Zhedieresiscyrillic", "Zlinebelow", "Zmonospace", "Zsmall", "Zstroke", "a", "aabengali", "aacute", "aadeva", "aagujarati", "aagurmukhi", "aamatragurmukhi", "aarusquare", "aavowelsignbengali", "aavowelsigndeva", "aavowelsigngujarati", "abbreviationmarkarmenian", "abbreviationsigndeva", "abengali", "abopomofo", "abreve", "abreveacute", "abrevecyrillic", "abrevedotbelow", "abrevegrave", "abrevehookabove", "abrevetilde", "acaron", "acircle", "acircumflex", "acircumflexacute", "acircumflexdotbelow", "acircumflexgrave", "acircumflexhookabove", "acircumflextilde", "acute", "acutebelowcmb", "acutecmb", "acutecomb", "acutedeva", "acutelowmod", "acutetonecmb", "acyrillic", "adblgrave", "addakgurmukhi", "adeva", "adieresis", "adieresiscyrillic", "adieresismacron", "adotbelow", "adotmacron", "ae", "aeacute", "aekorean", "aemacron", "afii00208", "afii08941", "afii10017", "afii10018", "afii10019", "afii10020", "afii10021", "afii10022", "afii10023", "afii10024", "afii10025", "afii10026", "afii10027", "afii10028", "afii10029", "afii10030", "afii10031", "afii10032", "afii10033", "afii10034", "afii10035", "afii10036", "afii10037", "afii10038", "afii10039", "afii10040", "afii10041", "afii10042", "afii10043", "afii10044", "afii10045", "afii10046", "afii10047", "afii10048", "afii10049", "afii10050", "afii10051", "afii10052", "afii10053", "afii10054", "afii10055", "afii10056", "afii10057", "afii10058", "afii10059", "afii10060", "afii10061", "afii10062", "afii10063", "afii10064", "afii10065", "afii10066", "afii10067", "afii10068", "afii10069", "afii10070", "afii10071", "afii10072", "afii10073", "afii10074", "afii10075", "afii10076", "afii10077", "afii10078", "afii10079", "afii10080", "afii10081", "afii10082", "afii10083", "afii10084", "afii10085", "afii10086", "afii10087", "afii10088", "afii10089", "afii10090", "afii10091", "afii10092", "afii10093", "afii10094", "afii10095", "afii10096", "afii10097", "afii10098", "afii10099", "afii10100", "afii10101", "afii10102", "afii10103", "afii10104", "afii10105", "afii10106", "afii10107", "afii10108", "afii10109", "afii10110", "afii10145", "afii10146", "afii10147", "afii10148", "afii10192", "afii10193", "afii10194", "afii10195", "afii10196", "afii10831", "afii10832", "afii10846", "afii299", "afii300", "afii301", "afii57381", "afii57388", "afii57392", "afii57393", "afii57394", "afii57395", "afii57396", "afii57397", "afii57398", "afii57399", "afii57400", "afii57401", "afii57403", "afii57407", "afii57409", "afii57410", "afii57411", "afii57412", "afii57413", "afii57414", "afii57415", "afii57416", "afii57417", "afii57418", "afii57419", "afii57420", "afii57421", "afii57422", "afii57423", "afii57424", "afii57425", "afii57426", "afii57427", "afii57428", "afii57429", "afii57430", "afii57431", "afii57432", "afii57433", "afii57434", "afii57440", "afii57441", "afii57442", "afii57443", "afii57444", "afii57445", "afii57446", "afii57448", "afii57449", "afii57450", "afii57451", "afii57452", "afii57453", "afii57454", "afii57455", "afii57456", "afii57457", "afii57458", "afii57470", "afii57505", "afii57506", "afii57507", "afii57508", "afii57509", "afii57511", "afii57512", "afii57513", "afii57514", "afii57519", "afii57534", "afii57636", "afii57645", "afii57658", "afii57664", "afii57665", "afii57666", "afii57667", "afii57668", "afii57669", "afii57670", "afii57671", "afii57672", "afii57673", "afii57674", "afii57675", "afii57676", "afii57677", "afii57678", "afii57679", "afii57680", "afii57681", "afii57682", "afii57683", "afii57684", "afii57685", "afii57686", "afii57687", "afii57688", "afii57689", "afii57690", "afii57694", "afii57695", "afii57700", "afii57705", "afii57716", "afii57717", "afii57718", "afii57723", "afii57793", "afii57794", "afii57795", "afii57796", "afii57797", "afii57798", "afii57799", "afii57800", "afii57801", "afii57802", "afii57803", "afii57804", "afii57806", "afii57807", "afii57839", "afii57841", "afii57842", "afii57929", "afii61248", "afii61289", "afii61352", "afii61573", "afii61574", "afii61575", "afii61664", "afii63167", "afii64937", "agrave", "agujarati", "agurmukhi", "ahiragana", "ahookabove", "aibengali", "aibopomofo", "aideva", "aiecyrillic", "aigujarati", "aigurmukhi", "aimatragurmukhi", "ainarabic", "ainfinalarabic", "aininitialarabic", "ainmedialarabic", "ainvertedbreve", "aivowelsignbengali", "aivowelsigndeva", "aivowelsigngujarati", "akatakana", "akatakanahalfwidth", "akorean", "alef", "alefarabic", "alefdageshhebrew", "aleffinalarabic", "alefhamzaabovearabic", "alefhamzaabovefinalarabic", "alefhamzabelowarabic", "alefhamzabelowfinalarabic", "alefhebrew", "aleflamedhebrew", "alefmaddaabovearabic", "alefmaddaabovefinalarabic", "alefmaksuraarabic", "alefmaksurafinalarabic", "alefmaksurainitialarabic", "alefmaksuramedialarabic", "alefpatahhebrew", "alefqamatshebrew", "aleph", "allequal", "alpha", "alphatonos", "amacron", "amonospace", "ampersand", "ampersandmonospace", "ampersandsmall", "amsquare", "anbopomofo", "angbopomofo", "angkhankhuthai", "angle", "anglebracketleft", "anglebracketleftvertical", "anglebracketright", "anglebracketrightvertical", "angleleft", "angleright", "angstrom", "anoteleia", "anudattadeva", "anusvarabengali", "anusvaradeva", "anusvaragujarati", "aogonek", "apaatosquare", "aparen", "apostrophearmenian", "apostrophemod", "apple", "approaches", "approxequal", "approxequalorimage", "approximatelyequal", "araeaekorean", "araeakorean", "arc", "arighthalfring", "aring", "aringacute", "aringbelow", "arrowboth", "arrowdashdown", "arrowdashleft", "arrowdashright", "arrowdashup", "arrowdblboth", "arrowdbldown", "arrowdblleft", "arrowdblright", "arrowdblup", "arrowdown", "arrowdownleft", "arrowdownright", "arrowdownwhite", "arrowheaddownmod", "arrowheadleftmod", "arrowheadrightmod", "arrowheadupmod", "arrowhorizex", "arrowleft", "arrowleftdbl", "arrowleftdblstroke", "arrowleftoverright", "arrowleftwhite", "arrowright", "arrowrightdblstroke", "arrowrightheavy", "arrowrightoverleft", "arrowrightwhite", "arrowtableft", "arrowtabright", "arrowup", "arrowupdn", "arrowupdnbse", "arrowupdownbase", "arrowupleft", "arrowupleftofdown", "arrowupright", "arrowupwhite", "arrowvertex", "asciicircum", "asciicircummonospace", "asciitilde", "asciitildemonospace", "ascript", "ascriptturned", "asmallhiragana", "asmallkatakana", "asmallkatakanahalfwidth", "asterisk", "asteriskaltonearabic", "asteriskarabic", "asteriskmath", "asteriskmonospace", "asterisksmall", "asterism", "asuperior", "asymptoticallyequal", "at", "atilde", "atmonospace", "atsmall", "aturned", "aubengali", "aubopomofo", "audeva", "augujarati", "augurmukhi", "aulengthmarkbengali", "aumatragurmukhi", "auvowelsignbengali", "auvowelsigndeva", "auvowelsigngujarati", "avagrahadeva", "aybarmenian", "ayin", "ayinaltonehebrew", "ayinhebrew", "b", "babengali", "backslash", "backslashmonospace", "badeva", "bagujarati", "bagurmukhi", "bahiragana", "bahtthai", "bakatakana", "bar", "barmonospace", "bbopomofo", "bcircle", "bdotaccent", "bdotbelow", "beamedsixteenthnotes", "because", "becyrillic", "beharabic", "behfinalarabic", "behinitialarabic", "behiragana", "behmedialarabic", "behmeeminitialarabic", "behmeemisolatedarabic", "behnoonfinalarabic", "bekatakana", "benarmenian", "bet", "beta", "betasymbolgreek", "betdagesh", "betdageshhebrew", "bethebrew", "betrafehebrew", "bhabengali", "bhadeva", "bhagujarati", "bhagurmukhi", "bhook", "bihiragana", "bikatakana", "bilabialclick", "bindigurmukhi", "birusquare", "blackcircle", "blackdiamond", "blackdownpointingtriangle", "blackleftpointingpointer", "blackleftpointingtriangle", "blacklenticularbracketleft", "blacklenticularbracketleftvertical", "blacklenticularbracketright", "blacklenticularbracketrightvertical", "blacklowerlefttriangle", "blacklowerrighttriangle", "blackrectangle", "blackrightpointingpointer", "blackrightpointingtriangle", "blacksmallsquare", "blacksmilingface", "blacksquare", "blackstar", "blackupperlefttriangle", "blackupperrighttriangle", "blackuppointingsmalltriangle", "blackuppointingtriangle", "blank", "blinebelow", "block", "bmonospace", "bobaimaithai", "bohiragana", "bokatakana", "bparen", "bqsquare", "braceex", "braceleft", "braceleftbt", "braceleftmid", "braceleftmonospace", "braceleftsmall", "bracelefttp", "braceleftvertical", "braceright", "bracerightbt", "bracerightmid", "bracerightmonospace", "bracerightsmall", "bracerighttp", "bracerightvertical", "bracketleft", "bracketleftbt", "bracketleftex", "bracketleftmonospace", "bracketlefttp", "bracketright", "bracketrightbt", "bracketrightex", "bracketrightmonospace", "bracketrighttp", "breve", "brevebelowcmb", "brevecmb", "breveinvertedbelowcmb", "breveinvertedcmb", "breveinverteddoublecmb", "bridgebelowcmb", "bridgeinvertedbelowcmb", "brokenbar", "bstroke", "bsuperior", "btopbar", "buhiragana", "bukatakana", "bullet", "bulletinverse", "bulletoperator", "bullseye", "c", "caarmenian", "cabengali", "cacute", "cadeva", "cagujarati", "cagurmukhi", "calsquare", "candrabindubengali", "candrabinducmb", "candrabindudeva", "candrabindugujarati", "capslock", "careof", "caron", "caronbelowcmb", "caroncmb", "carriagereturn", "cbopomofo", "ccaron", "ccedilla", "ccedillaacute", "ccircle", "ccircumflex", "ccurl", "cdot", "cdotaccent", "cdsquare", "cedilla", "cedillacmb", "cent", "centigrade", "centinferior", "centmonospace", "centoldstyle", "centsuperior", "chaarmenian", "chabengali", "chadeva", "chagujarati", "chagurmukhi", "chbopomofo", "cheabkhasiancyrillic", "checkmark", "checyrillic", "chedescenderabkhasiancyrillic", "chedescendercyrillic", "chedieresiscyrillic", "cheharmenian", "chekhakassiancyrillic", "cheverticalstrokecyrillic", "chi", "chieuchacirclekorean", "chieuchaparenkorean", "chieuchcirclekorean", "chieuchkorean", "chieuchparenkorean", "chochangthai", "chochanthai", "chochingthai", "chochoethai", "chook", "cieucacirclekorean", "cieucaparenkorean", "cieuccirclekorean", "cieuckorean", "cieucparenkorean", "cieucuparenkorean", "circle", "circlemultiply", "circleot", "circleplus", "circlepostalmark", "circlewithlefthalfblack", "circlewithrighthalfblack", "circumflex", "circumflexbelowcmb", "circumflexcmb", "clear", "clickalveolar", "clickdental", "clicklateral", "clickretroflex", "club", "clubsuitblack", "clubsuitwhite", "cmcubedsquare", "cmonospace", "cmsquaredsquare", "coarmenian", "colon", "colonmonetary", "colonmonospace", "colonsign", "colonsmall", "colontriangularhalfmod", "colontriangularmod", "comma", "commaabovecmb", "commaaboverightcmb", "commaaccent", "commaarabic", "commaarmenian", "commainferior", "commamonospace", "commareversedabovecmb", "commareversedmod", "commasmall", "commasuperior", "commaturnedabovecmb", "commaturnedmod", "compass", "congruent", "contourintegral", "control", "controlACK", "controlBEL", "controlBS", "controlCAN", "controlCR", "controlDC1", "controlDC2", "controlDC3", "controlDC4", "controlDEL", "controlDLE", "controlEM", "controlENQ", "controlEOT", "controlESC", "controlETB", "controlETX", "controlFF", "controlFS", "controlGS", "controlHT", "controlLF", "controlNAK", "controlRS", "controlSI", "controlSO", "controlSOT", "controlSTX", "controlSUB", "controlSYN", "controlUS", "controlVT", "copyright", "copyrightsans", "copyrightserif", "cornerbracketleft", "cornerbracketlefthalfwidth", "cornerbracketleftvertical", "cornerbracketright", "cornerbracketrighthalfwidth", "cornerbracketrightvertical", "corporationsquare", "cosquare", "coverkgsquare", "cparen", "cruzeiro", "cstretched", "curlyand", "curlyor", "currency", "cyrBreve", "cyrFlex", "cyrbreve", "cyrflex", "d", "daarmenian", "dabengali", "dadarabic", "dadeva", "dadfinalarabic", "dadinitialarabic", "dadmedialarabic", "dagesh", "dageshhebrew", "dagger", "daggerdbl", "dagujarati", "dagurmukhi", "dahiragana", "dakatakana", "dalarabic", "dalet", "daletdagesh", "daletdageshhebrew", "dalethatafpatah", "dalethatafpatahhebrew", "dalethatafsegol", "dalethatafsegolhebrew", "dalethebrew", "dalethiriq", "dalethiriqhebrew", "daletholam", "daletholamhebrew", "daletpatah", "daletpatahhebrew", "daletqamats", "daletqamatshebrew", "daletqubuts", "daletqubutshebrew", "daletsegol", "daletsegolhebrew", "daletsheva", "daletshevahebrew", "dalettsere", "dalettserehebrew", "dalfinalarabic", "dammaarabic", "dammalowarabic", "dammatanaltonearabic", "dammatanarabic", "danda", "dargahebrew", "dargalefthebrew", "dasiapneumatacyrilliccmb", "dblGrave", "dblanglebracketleft", "dblanglebracketleftvertical", "dblanglebracketright", "dblanglebracketrightvertical", "dblarchinvertedbelowcmb", "dblarrowleft", "dblarrowright", "dbldanda", "dblgrave", "dblgravecmb", "dblintegral", "dbllowline", "dbllowlinecmb", "dbloverlinecmb", "dblprimemod", "dblverticalbar", "dblverticallineabovecmb", "dbopomofo", "dbsquare", "dcaron", "dcedilla", "dcircle", "dcircumflexbelow", "dcroat", "ddabengali", "ddadeva", "ddagujarati", "ddagurmukhi", "ddalarabic", "ddalfinalarabic", "dddhadeva", "ddhabengali", "ddhadeva", "ddhagujarati", "ddhagurmukhi", "ddotaccent", "ddotbelow", "decimalseparatorarabic", "decimalseparatorpersian", "decyrillic", "degree", "dehihebrew", "dehiragana", "deicoptic", "dekatakana", "deleteleft", "deleteright", "delta", "deltaturned", "denominatorminusonenumeratorbengali", "dezh", "dhabengali", "dhadeva", "dhagujarati", "dhagurmukhi", "dhook", "dialytikatonos", "dialytikatonoscmb", "diamond", "diamondsuitwhite", "dieresis", "dieresisacute", "dieresisbelowcmb", "dieresiscmb", "dieresisgrave", "dieresistonos", "dihiragana", "dikatakana", "dittomark", "divide", "divides", "divisionslash", "djecyrillic", "dkshade", "dlinebelow", "dlsquare", "dmacron", "dmonospace", "dnblock", "dochadathai", "dodekthai", "dohiragana", "dokatakana", "dollar", "dollarinferior", "dollarmonospace", "dollaroldstyle", "dollarsmall", "dollarsuperior", "dong", "dorusquare", "dotaccent", "dotaccentcmb", "dotbelowcmb", "dotbelowcomb", "dotkatakana", "dotlessi", "dotlessj", "dotlessjstrokehook", "dotmath", "dottedcircle", "doubleyodpatah", "doubleyodpatahhebrew", "downtackbelowcmb", "downtackmod", "dparen", "dsuperior", "dtail", "dtopbar", "duhiragana", "dukatakana", "dz", "dzaltone", "dzcaron", "dzcurl", "dzeabkhasiancyrillic", "dzecyrillic", "dzhecyrillic", "e", "eacute", "earth", "ebengali", "ebopomofo", "ebreve", "ecandradeva", "ecandragujarati", "ecandravowelsigndeva", "ecandravowelsigngujarati", "ecaron", "ecedillabreve", "echarmenian", "echyiwnarmenian", "ecircle", "ecircumflex", "ecircumflexacute", "ecircumflexbelow", "ecircumflexdotbelow", "ecircumflexgrave", "ecircumflexhookabove", "ecircumflextilde", "ecyrillic", "edblgrave", "edeva", "edieresis", "edot", "edotaccent", "edotbelow", "eegurmukhi", "eematragurmukhi", "efcyrillic", "egrave", "egujarati", "eharmenian", "ehbopomofo", "ehiragana", "ehookabove", "eibopomofo", "eight", "eightarabic", "eightbengali", "eightcircle", "eightcircleinversesansserif", "eightdeva", "eighteencircle", "eighteenparen", "eighteenperiod", "eightgujarati", "eightgurmukhi", "eighthackarabic", "eighthangzhou", "eighthnotebeamed", "eightideographicparen", "eightinferior", "eightmonospace", "eightoldstyle", "eightparen", "eightperiod", "eightpersian", "eightroman", "eightsuperior", "eightthai", "einvertedbreve", "eiotifiedcyrillic", "ekatakana", "ekatakanahalfwidth", "ekonkargurmukhi", "ekorean", "elcyrillic", "element", "elevencircle", "elevenparen", "elevenperiod", "elevenroman", "ellipsis", "ellipsisvertical", "emacron", "emacronacute", "emacrongrave", "emcyrillic", "emdash", "emdashvertical", "emonospace", "emphasismarkarmenian", "emptyset", "enbopomofo", "encyrillic", "endash", "endashvertical", "endescendercyrillic", "eng", "engbopomofo", "enghecyrillic", "enhookcyrillic", "enspace", "eogonek", "eokorean", "eopen", "eopenclosed", "eopenreversed", "eopenreversedclosed", "eopenreversedhook", "eparen", "epsilon", "epsilontonos", "equal", "equalmonospace", "equalsmall", "equalsuperior", "equivalence", "erbopomofo", "ercyrillic", "ereversed", "ereversedcyrillic", "escyrillic", "esdescendercyrillic", "esh", "eshcurl", "eshortdeva", "eshortvowelsigndeva", "eshreversedloop", "eshsquatreversed", "esmallhiragana", "esmallkatakana", "esmallkatakanahalfwidth", "estimated", "esuperior", "eta", "etarmenian", "etatonos", "eth", "etilde", "etildebelow", "etnahtafoukhhebrew", "etnahtafoukhlefthebrew", "etnahtahebrew", "etnahtalefthebrew", "eturned", "eukorean", "euro", "evowelsignbengali", "evowelsigndeva", "evowelsigngujarati", "exclam", "exclamarmenian", "exclamdbl", "exclamdown", "exclamdownsmall", "exclammonospace", "exclamsmall", "existential", "ezh", "ezhcaron", "ezhcurl", "ezhreversed", "ezhtail", "f", "fadeva", "fagurmukhi", "fahrenheit", "fathaarabic", "fathalowarabic", "fathatanarabic", "fbopomofo", "fcircle", "fdotaccent", "feharabic", "feharmenian", "fehfinalarabic", "fehinitialarabic", "fehmedialarabic", "feicoptic", "female", "ff", "ffi", "ffl", "fi", "fifteencircle", "fifteenparen", "fifteenperiod", "figuredash", "filledbox", "filledrect", "finalkaf", "finalkafdagesh", "finalkafdageshhebrew", "finalkafhebrew", "finalkafqamats", "finalkafqamatshebrew", "finalkafsheva", "finalkafshevahebrew", "finalmem", "finalmemhebrew", "finalnun", "finalnunhebrew", "finalpe", "finalpehebrew", "finaltsadi", "finaltsadihebrew", "firsttonechinese", "fisheye", "fitacyrillic", "five", "fivearabic", "fivebengali", "fivecircle", "fivecircleinversesansserif", "fivedeva", "fiveeighths", "fivegujarati", "fivegurmukhi", "fivehackarabic", "fivehangzhou", "fiveideographicparen", "fiveinferior", "fivemonospace", "fiveoldstyle", "fiveparen", "fiveperiod", "fivepersian", "fiveroman", "fivesuperior", "fivethai", "fl", "florin", "fmonospace", "fmsquare", "fofanthai", "fofathai", "fongmanthai", "forall", "four", "fourarabic", "fourbengali", "fourcircle", "fourcircleinversesansserif", "fourdeva", "fourgujarati", "fourgurmukhi", "fourhackarabic", "fourhangzhou", "fourideographicparen", "fourinferior", "fourmonospace", "fournumeratorbengali", "fouroldstyle", "fourparen", "fourperiod", "fourpersian", "fourroman", "foursuperior", "fourteencircle", "fourteenparen", "fourteenperiod", "fourthai", "fourthtonechinese", "fparen", "fraction", "franc", "g", "gabengali", "gacute", "gadeva", "gafarabic", "gaffinalarabic", "gafinitialarabic", "gafmedialarabic", "gagujarati", "gagurmukhi", "gahiragana", "gakatakana", "gamma", "gammalatinsmall", "gammasuperior", "gangiacoptic", "gbopomofo", "gbreve", "gcaron", "gcedilla", "gcircle", "gcircumflex", "gcommaaccent", "gdot", "gdotaccent", "gecyrillic", "gehiragana", "gekatakana", "geometricallyequal", "gereshaccenthebrew", "gereshhebrew", "gereshmuqdamhebrew", "germandbls", "gershayimaccenthebrew", "gershayimhebrew", "getamark", "ghabengali", "ghadarmenian", "ghadeva", "ghagujarati", "ghagurmukhi", "ghainarabic", "ghainfinalarabic", "ghaininitialarabic", "ghainmedialarabic", "ghemiddlehookcyrillic", "ghestrokecyrillic", "gheupturncyrillic", "ghhadeva", "ghhagurmukhi", "ghook", "ghzsquare", "gihiragana", "gikatakana", "gimarmenian", "gimel", "gimeldagesh", "gimeldageshhebrew", "gimelhebrew", "gjecyrillic", "glottalinvertedstroke", "glottalstop", "glottalstopinverted", "glottalstopmod", "glottalstopreversed", "glottalstopreversedmod", "glottalstopreversedsuperior", "glottalstopstroke", "glottalstopstrokereversed", "gmacron", "gmonospace", "gohiragana", "gokatakana", "gparen", "gpasquare", "gradient", "grave", "gravebelowcmb", "gravecmb", "gravecomb", "gravedeva", "gravelowmod", "gravemonospace", "gravetonecmb", "greater", "greaterequal", "greaterequalorless", "greatermonospace", "greaterorequivalent", "greaterorless", "greateroverequal", "greatersmall", "gscript", "gstroke", "guhiragana", "guillemotleft", "guillemotright", "guilsinglleft", "guilsinglright", "gukatakana", "guramusquare", "gysquare", "h", "haabkhasiancyrillic", "haaltonearabic", "habengali", "hadescendercyrillic", "hadeva", "hagujarati", "hagurmukhi", "haharabic", "hahfinalarabic", "hahinitialarabic", "hahiragana", "hahmedialarabic", "haitusquare", "hakatakana", "hakatakanahalfwidth", "halantgurmukhi", "hamzaarabic", "hamzadammaarabic", "hamzadammatanarabic", "hamzafathaarabic", "hamzafathatanarabic", "hamzalowarabic", "hamzalowkasraarabic", "hamzalowkasratanarabic", "hamzasukunarabic", "hangulfiller", "hardsigncyrillic", "harpoonleftbarbup", "harpoonrightbarbup", "hasquare", "hatafpatah", "hatafpatah16", "hatafpatah23", "hatafpatah2f", "hatafpatahhebrew", "hatafpatahnarrowhebrew", "hatafpatahquarterhebrew", "hatafpatahwidehebrew", "hatafqamats", "hatafqamats1b", "hatafqamats28", "hatafqamats34", "hatafqamatshebrew", "hatafqamatsnarrowhebrew", "hatafqamatsquarterhebrew", "hatafqamatswidehebrew", "hatafsegol", "hatafsegol17", "hatafsegol24", "hatafsegol30", "hatafsegolhebrew", "hatafsegolnarrowhebrew", "hatafsegolquarterhebrew", "hatafsegolwidehebrew", "hbar", "hbopomofo", "hbrevebelow", "hcedilla", "hcircle", "hcircumflex", "hdieresis", "hdotaccent", "hdotbelow", "he", "heart", "heartsuitblack", "heartsuitwhite", "hedagesh", "hedageshhebrew", "hehaltonearabic", "heharabic", "hehebrew", "hehfinalaltonearabic", "hehfinalalttwoarabic", "hehfinalarabic", "hehhamzaabovefinalarabic", "hehhamzaaboveisolatedarabic", "hehinitialaltonearabic", "hehinitialarabic", "hehiragana", "hehmedialaltonearabic", "hehmedialarabic", "heiseierasquare", "hekatakana", "hekatakanahalfwidth", "hekutaarusquare", "henghook", "herutusquare", "het", "hethebrew", "hhook", "hhooksuperior", "hieuhacirclekorean", "hieuhaparenkorean", "hieuhcirclekorean", "hieuhkorean", "hieuhparenkorean", "hihiragana", "hikatakana", "hikatakanahalfwidth", "hiriq", "hiriq14", "hiriq21", "hiriq2d", "hiriqhebrew", "hiriqnarrowhebrew", "hiriqquarterhebrew", "hiriqwidehebrew", "hlinebelow", "hmonospace", "hoarmenian", "hohipthai", "hohiragana", "hokatakana", "hokatakanahalfwidth", "holam", "holam19", "holam26", "holam32", "holamhebrew", "holamnarrowhebrew", "holamquarterhebrew", "holamwidehebrew", "honokhukthai", "hookabovecomb", "hookcmb", "hookpalatalizedbelowcmb", "hookretroflexbelowcmb", "hoonsquare", "horicoptic", "horizontalbar", "horncmb", "hotsprings", "house", "hparen", "hsuperior", "hturned", "huhiragana", "huiitosquare", "hukatakana", "hukatakanahalfwidth", "hungarumlaut", "hungarumlautcmb", "hv", "hyphen", "hypheninferior", "hyphenmonospace", "hyphensmall", "hyphensuperior", "hyphentwo", "i", "iacute", "iacyrillic", "ibengali", "ibopomofo", "ibreve", "icaron", "icircle", "icircumflex", "icyrillic", "idblgrave", "ideographearthcircle", "ideographfirecircle", "ideographicallianceparen", "ideographiccallparen", "ideographiccentrecircle", "ideographicclose", "ideographiccomma", "ideographiccommaleft", "ideographiccongratulationparen", "ideographiccorrectcircle", "ideographicearthparen", "ideographicenterpriseparen", "ideographicexcellentcircle", "ideographicfestivalparen", "ideographicfinancialcircle", "ideographicfinancialparen", "ideographicfireparen", "ideographichaveparen", "ideographichighcircle", "ideographiciterationmark", "ideographiclaborcircle", "ideographiclaborparen", "ideographicleftcircle", "ideographiclowcircle", "ideographicmedicinecircle", "ideographicmetalparen", "ideographicmoonparen", "ideographicnameparen", "ideographicperiod", "ideographicprintcircle", "ideographicreachparen", "ideographicrepresentparen", "ideographicresourceparen", "ideographicrightcircle", "ideographicsecretcircle", "ideographicselfparen", "ideographicsocietyparen", "ideographicspace", "ideographicspecialparen", "ideographicstockparen", "ideographicstudyparen", "ideographicsunparen", "ideographicsuperviseparen", "ideographicwaterparen", "ideographicwoodparen", "ideographiczero", "ideographmetalcircle", "ideographmooncircle", "ideographnamecircle", "ideographsuncircle", "ideographwatercircle", "ideographwoodcircle", "ideva", "idieresis", "idieresisacute", "idieresiscyrillic", "idotbelow", "iebrevecyrillic", "iecyrillic", "ieungacirclekorean", "ieungaparenkorean", "ieungcirclekorean", "ieungkorean", "ieungparenkorean", "igrave", "igujarati", "igurmukhi", "ihiragana", "ihookabove", "iibengali", "iicyrillic", "iideva", "iigujarati", "iigurmukhi", "iimatragurmukhi", "iinvertedbreve", "iishortcyrillic", "iivowelsignbengali", "iivowelsigndeva", "iivowelsigngujarati", "ij", "ikatakana", "ikatakanahalfwidth", "ikorean", "ilde", "iluyhebrew", "imacron", "imacroncyrillic", "imageorapproximatelyequal", "imatragurmukhi", "imonospace", "increment", "infinity", "iniarmenian", "integral", "integralbottom", "integralbt", "integralex", "integraltop", "integraltp", "intersection", "intisquare", "invbullet", "invcircle", "invsmileface", "iocyrillic", "iogonek", "iota", "iotadieresis", "iotadieresistonos", "iotalatin", "iotatonos", "iparen", "irigurmukhi", "ismallhiragana", "ismallkatakana", "ismallkatakanahalfwidth", "issharbengali", "istroke", "isuperior", "iterationhiragana", "iterationkatakana", "itilde", "itildebelow", "iubopomofo", "iucyrillic", "ivowelsignbengali", "ivowelsigndeva", "ivowelsigngujarati", "izhitsacyrillic", "izhitsadblgravecyrillic", "j", "jaarmenian", "jabengali", "jadeva", "jagujarati", "jagurmukhi", "jbopomofo", "jcaron", "jcircle", "jcircumflex", "jcrossedtail", "jdotlessstroke", "jecyrillic", "jeemarabic", "jeemfinalarabic", "jeeminitialarabic", "jeemmedialarabic", "jeharabic", "jehfinalarabic", "jhabengali", "jhadeva", "jhagujarati", "jhagurmukhi", "jheharmenian", "jis", "jmonospace", "jparen", "jsuperior", "k", "kabashkircyrillic", "kabengali", "kacute", "kacyrillic", "kadescendercyrillic", "kadeva", "kaf", "kafarabic", "kafdagesh", "kafdageshhebrew", "kaffinalarabic", "kafhebrew", "kafinitialarabic", "kafmedialarabic", "kafrafehebrew", "kagujarati", "kagurmukhi", "kahiragana", "kahookcyrillic", "kakatakana", "kakatakanahalfwidth", "kappa", "kappasymbolgreek", "kapyeounmieumkorean", "kapyeounphieuphkorean", "kapyeounpieupkorean", "kapyeounssangpieupkorean", "karoriisquare", "kashidaautoarabic", "kashidaautonosidebearingarabic", "kasmallkatakana", "kasquare", "kasraarabic", "kasratanarabic", "kastrokecyrillic", "katahiraprolongmarkhalfwidth", "kaverticalstrokecyrillic", "kbopomofo", "kcalsquare", "kcaron", "kcedilla", "kcircle", "kcommaaccent", "kdotbelow", "keharmenian", "kehiragana", "kekatakana", "kekatakanahalfwidth", "kenarmenian", "kesmallkatakana", "kgreenlandic", "khabengali", "khacyrillic", "khadeva", "khagujarati", "khagurmukhi", "khaharabic", "khahfinalarabic", "khahinitialarabic", "khahmedialarabic", "kheicoptic", "khhadeva", "khhagurmukhi", "khieukhacirclekorean", "khieukhaparenkorean", "khieukhcirclekorean", "khieukhkorean", "khieukhparenkorean", "khokhaithai", "khokhonthai", "khokhuatthai", "khokhwaithai", "khomutthai", "khook", "khorakhangthai", "khzsquare", "kihiragana", "kikatakana", "kikatakanahalfwidth", "kiroguramusquare", "kiromeetorusquare", "kirosquare", "kiyeokacirclekorean", "kiyeokaparenkorean", "kiyeokcirclekorean", "kiyeokkorean", "kiyeokparenkorean", "kiyeoksioskorean", "kjecyrillic", "klinebelow", "klsquare", "kmcubedsquare", "kmonospace", "kmsquaredsquare", "kohiragana", "kohmsquare", "kokaithai", "kokatakana", "kokatakanahalfwidth", "kooposquare", "koppacyrillic", "koreanstandardsymbol", "koroniscmb", "kparen", "kpasquare", "ksicyrillic", "ktsquare", "kturned", "kuhiragana", "kukatakana", "kukatakanahalfwidth", "kvsquare", "kwsquare", "l", "labengali", "lacute", "ladeva", "lagujarati", "lagurmukhi", "lakkhangyaothai", "lamaleffinalarabic", "lamalefhamzaabovefinalarabic", "lamalefhamzaaboveisolatedarabic", "lamalefhamzabelowfinalarabic", "lamalefhamzabelowisolatedarabic", "lamalefisolatedarabic", "lamalefmaddaabovefinalarabic", "lamalefmaddaaboveisolatedarabic", "lamarabic", "lambda", "lambdastroke", "lamed", "lameddagesh", "lameddageshhebrew", "lamedhebrew", "lamedholam", "lamedholamdagesh", "lamedholamdageshhebrew", "lamedholamhebrew", "lamfinalarabic", "lamhahinitialarabic", "laminitialarabic", "lamjeeminitialarabic", "lamkhahinitialarabic", "lamlamhehisolatedarabic", "lammedialarabic", "lammeemhahinitialarabic", "lammeeminitialarabic", "lammeemjeeminitialarabic", "lammeemkhahinitialarabic", "largecircle", "lbar", "lbelt", "lbopomofo", "lcaron", "lcedilla", "lcircle", "lcircumflexbelow", "lcommaaccent", "ldot", "ldotaccent", "ldotbelow", "ldotbelowmacron", "leftangleabovecmb", "lefttackbelowcmb", "less", "lessequal", "lessequalorgreater", "lessmonospace", "lessorequivalent", "lessorgreater", "lessoverequal", "lesssmall", "lezh", "lfblock", "lhookretroflex", "lira", "liwnarmenian", "lj", "ljecyrillic", "ll", "lladeva", "llagujarati", "llinebelow", "llladeva", "llvocalicbengali", "llvocalicdeva", "llvocalicvowelsignbengali", "llvocalicvowelsigndeva", "lmiddletilde", "lmonospace", "lmsquare", "lochulathai", "logicaland", "logicalnot", "logicalnotreversed", "logicalor", "lolingthai", "longs", "lowlinecenterline", "lowlinecmb", "lowlinedashed", "lozenge", "lparen", "lslash", "lsquare", "lsuperior", "ltshade", "luthai", "lvocalicbengali", "lvocalicdeva", "lvocalicvowelsignbengali", "lvocalicvowelsigndeva", "lxsquare", "m", "mabengali", "macron", "macronbelowcmb", "macroncmb", "macronlowmod", "macronmonospace", "macute", "madeva", "magujarati", "magurmukhi", "mahapakhhebrew", "mahapakhlefthebrew", "mahiragana", "maichattawalowleftthai", "maichattawalowrightthai", "maichattawathai", "maichattawaupperleftthai", "maieklowleftthai", "maieklowrightthai", "maiekthai", "maiekupperleftthai", "maihanakatleftthai", "maihanakatthai", "maitaikhuleftthai", "maitaikhuthai", "maitholowleftthai", "maitholowrightthai", "maithothai", "maithoupperleftthai", "maitrilowleftthai", "maitrilowrightthai", "maitrithai", "maitriupperleftthai", "maiyamokthai", "makatakana", "makatakanahalfwidth", "male", "mansyonsquare", "maqafhebrew", "mars", "masoracirclehebrew", "masquare", "mbopomofo", "mbsquare", "mcircle", "mcubedsquare", "mdotaccent", "mdotbelow", "meemarabic", "meemfinalarabic", "meeminitialarabic", "meemmedialarabic", "meemmeeminitialarabic", "meemmeemisolatedarabic", "meetorusquare", "mehiragana", "meizierasquare", "mekatakana", "mekatakanahalfwidth", "mem", "memdagesh", "memdageshhebrew", "memhebrew", "menarmenian", "merkhahebrew", "merkhakefulahebrew", "merkhakefulalefthebrew", "merkhalefthebrew", "mhook", "mhzsquare", "middledotkatakanahalfwidth", "middot", "mieumacirclekorean", "mieumaparenkorean", "mieumcirclekorean", "mieumkorean", "mieumpansioskorean", "mieumparenkorean", "mieumpieupkorean", "mieumsioskorean", "mihiragana", "mikatakana", "mikatakanahalfwidth", "minus", "minusbelowcmb", "minuscircle", "minusmod", "minusplus", "minute", "miribaarusquare", "mirisquare", "mlonglegturned", "mlsquare", "mmcubedsquare", "mmonospace", "mmsquaredsquare", "mohiragana", "mohmsquare", "mokatakana", "mokatakanahalfwidth", "molsquare", "momathai", "moverssquare", "moverssquaredsquare", "mparen", "mpasquare", "mssquare", "msuperior", "mturned", "mu", "mu1", "muasquare", "muchgreater", "muchless", "mufsquare", "mugreek", "mugsquare", "muhiragana", "mukatakana", "mukatakanahalfwidth", "mulsquare", "multiply", "mumsquare", "munahhebrew", "munahlefthebrew", "musicalnote", "musicalnotedbl", "musicflatsign", "musicsharpsign", "mussquare", "muvsquare", "muwsquare", "mvmegasquare", "mvsquare", "mwmegasquare", "mwsquare", "n", "nabengali", "nabla", "nacute", "nadeva", "nagujarati", "nagurmukhi", "nahiragana", "nakatakana", "nakatakanahalfwidth", "napostrophe", "nasquare", "nbopomofo", "nbspace", "ncaron", "ncedilla", "ncircle", "ncircumflexbelow", "ncommaaccent", "ndotaccent", "ndotbelow", "nehiragana", "nekatakana", "nekatakanahalfwidth", "newsheqelsign", "nfsquare", "ngabengali", "ngadeva", "ngagujarati", "ngagurmukhi", "ngonguthai", "nhiragana", "nhookleft", "nhookretroflex", "nieunacirclekorean", "nieunaparenkorean", "nieuncieuckorean", "nieuncirclekorean", "nieunhieuhkorean", "nieunkorean", "nieunpansioskorean", "nieunparenkorean", "nieunsioskorean", "nieuntikeutkorean", "nihiragana", "nikatakana", "nikatakanahalfwidth", "nikhahitleftthai", "nikhahitthai", "nine", "ninearabic", "ninebengali", "ninecircle", "ninecircleinversesansserif", "ninedeva", "ninegujarati", "ninegurmukhi", "ninehackarabic", "ninehangzhou", "nineideographicparen", "nineinferior", "ninemonospace", "nineoldstyle", "nineparen", "nineperiod", "ninepersian", "nineroman", "ninesuperior", "nineteencircle", "nineteenparen", "nineteenperiod", "ninethai", "nj", "njecyrillic", "nkatakana", "nkatakanahalfwidth", "nlegrightlong", "nlinebelow", "nmonospace", "nmsquare", "nnabengali", "nnadeva", "nnagujarati", "nnagurmukhi", "nnnadeva", "nohiragana", "nokatakana", "nokatakanahalfwidth", "nonbreakingspace", "nonenthai", "nonuthai", "noonarabic", "noonfinalarabic", "noonghunnaarabic", "noonghunnafinalarabic", "noonhehinitialarabic", "nooninitialarabic", "noonjeeminitialarabic", "noonjeemisolatedarabic", "noonmedialarabic", "noonmeeminitialarabic", "noonmeemisolatedarabic", "noonnoonfinalarabic", "notcontains", "notelement", "notelementof", "notequal", "notgreater", "notgreaternorequal", "notgreaternorless", "notidentical", "notless", "notlessnorequal", "notparallel", "notprecedes", "notsubset", "notsucceeds", "notsuperset", "nowarmenian", "nparen", "nssquare", "nsuperior", "ntilde", "nu", "nuhiragana", "nukatakana", "nukatakanahalfwidth", "nuktabengali", "nuktadeva", "nuktagujarati", "nuktagurmukhi", "numbersign", "numbersignmonospace", "numbersignsmall", "numeralsigngreek", "numeralsignlowergreek", "numero", "nun", "nundagesh", "nundageshhebrew", "nunhebrew", "nvsquare", "nwsquare", "nyabengali", "nyadeva", "nyagujarati", "nyagurmukhi", "o", "oacute", "oangthai", "obarred", "obarredcyrillic", "obarreddieresiscyrillic", "obengali", "obopomofo", "obreve", "ocandradeva", "ocandragujarati", "ocandravowelsigndeva", "ocandravowelsigngujarati", "ocaron", "ocircle", "ocircumflex", "ocircumflexacute", "ocircumflexdotbelow", "ocircumflexgrave", "ocircumflexhookabove", "ocircumflextilde", "ocyrillic", "odblacute", "odblgrave", "odeva", "odieresis", "odieresiscyrillic", "odotbelow", "oe", "oekorean", "ogonek", "ogonekcmb", "ograve", "ogujarati", "oharmenian", "ohiragana", "ohookabove", "ohorn", "ohornacute", "ohorndotbelow", "ohorngrave", "ohornhookabove", "ohorntilde", "ohungarumlaut", "oi", "oinvertedbreve", "okatakana", "okatakanahalfwidth", "okorean", "olehebrew", "omacron", "omacronacute", "omacrongrave", "omdeva", "omega", "omega1", "omegacyrillic", "omegalatinclosed", "omegaroundcyrillic", "omegatitlocyrillic", "omegatonos", "omgujarati", "omicron", "omicrontonos", "omonospace", "one", "onearabic", "onebengali", "onecircle", "onecircleinversesansserif", "onedeva", "onedotenleader", "oneeighth", "onefitted", "onegujarati", "onegurmukhi", "onehackarabic", "onehalf", "onehangzhou", "oneideographicparen", "oneinferior", "onemonospace", "onenumeratorbengali", "oneoldstyle", "oneparen", "oneperiod", "onepersian", "onequarter", "oneroman", "onesuperior", "onethai", "onethird", "oogonek", "oogonekmacron", "oogurmukhi", "oomatragurmukhi", "oopen", "oparen", "openbullet", "option", "ordfeminine", "ordmasculine", "orthogonal", "oshortdeva", "oshortvowelsigndeva", "oslash", "oslashacute", "osmallhiragana", "osmallkatakana", "osmallkatakanahalfwidth", "ostrokeacute", "osuperior", "otcyrillic", "otilde", "otildeacute", "otildedieresis", "oubopomofo", "overline", "overlinecenterline", "overlinecmb", "overlinedashed", "overlinedblwavy", "overlinewavy", "overscore", "ovowelsignbengali", "ovowelsigndeva", "ovowelsigngujarati", "p", "paampssquare", "paasentosquare", "pabengali", "pacute", "padeva", "pagedown", "pageup", "pagujarati", "pagurmukhi", "pahiragana", "paiyannoithai", "pakatakana", "palatalizationcyrilliccmb", "palochkacyrillic", "pansioskorean", "paragraph", "parallel", "parenleft", "parenleftaltonearabic", "parenleftbt", "parenleftex", "parenleftinferior", "parenleftmonospace", "parenleftsmall", "parenleftsuperior", "parenlefttp", "parenleftvertical", "parenright", "parenrightaltonearabic", "parenrightbt", "parenrightex", "parenrightinferior", "parenrightmonospace", "parenrightsmall", "parenrightsuperior", "parenrighttp", "parenrightvertical", "partialdiff", "paseqhebrew", "pashtahebrew", "pasquare", "patah", "patah11", "patah1d", "patah2a", "patahhebrew", "patahnarrowhebrew", "patahquarterhebrew", "patahwidehebrew", "pazerhebrew", "pbopomofo", "pcircle", "pdotaccent", "pe", "pecyrillic", "pedagesh", "pedageshhebrew", "peezisquare", "pefinaldageshhebrew", "peharabic", "peharmenian", "pehebrew", "pehfinalarabic", "pehinitialarabic", "pehiragana", "pehmedialarabic", "pekatakana", "pemiddlehookcyrillic", "perafehebrew", "percent", "percentarabic", "percentmonospace", "percentsmall", "period", "periodarmenian", "periodcentered", "periodhalfwidth", "periodinferior", "periodmonospace", "periodsmall", "periodsuperior", "perispomenigreekcmb", "perpendicular", "perthousand", "peseta", "pfsquare", "phabengali", "phadeva", "phagujarati", "phagurmukhi", "phi", "phi1", "phieuphacirclekorean", "phieuphaparenkorean", "phieuphcirclekorean", "phieuphkorean", "phieuphparenkorean", "philatin", "phinthuthai", "phisymbolgreek", "phook", "phophanthai", "phophungthai", "phosamphaothai", "pi", "pieupacirclekorean", "pieupaparenkorean", "pieupcieuckorean", "pieupcirclekorean", "pieupkiyeokkorean", "pieupkorean", "pieupparenkorean", "pieupsioskiyeokkorean", "pieupsioskorean", "pieupsiostikeutkorean", "pieupthieuthkorean", "pieuptikeutkorean", "pihiragana", "pikatakana", "pisymbolgreek", "piwrarmenian", "plus", "plusbelowcmb", "pluscircle", "plusminus", "plusmod", "plusmonospace", "plussmall", "plussuperior", "pmonospace", "pmsquare", "pohiragana", "pointingindexdownwhite", "pointingindexleftwhite", "pointingindexrightwhite", "pointingindexupwhite", "pokatakana", "poplathai", "postalmark", "postalmarkface", "pparen", "precedes", "prescription", "primemod", "primereversed", "product", "projective", "prolongedkana", "propellor", "propersubset", "propersuperset", "proportion", "proportional", "psi", "psicyrillic", "psilipneumatacyrilliccmb", "pssquare", "puhiragana", "pukatakana", "pvsquare", "pwsquare", "q", "qadeva", "qadmahebrew", "qafarabic", "qaffinalarabic", "qafinitialarabic", "qafmedialarabic", "qamats", "qamats10", "qamats1a", "qamats1c", "qamats27", "qamats29", "qamats33", "qamatsde", "qamatshebrew", "qamatsnarrowhebrew", "qamatsqatanhebrew", "qamatsqatannarrowhebrew", "qamatsqatanquarterhebrew", "qamatsqatanwidehebrew", "qamatsquarterhebrew", "qamatswidehebrew", "qarneyparahebrew", "qbopomofo", "qcircle", "qhook", "qmonospace", "qof", "qofdagesh", "qofdageshhebrew", "qofhatafpatah", "qofhatafpatahhebrew", "qofhatafsegol", "qofhatafsegolhebrew", "qofhebrew", "qofhiriq", "qofhiriqhebrew", "qofholam", "qofholamhebrew", "qofpatah", "qofpatahhebrew", "qofqamats", "qofqamatshebrew", "qofqubuts", "qofqubutshebrew", "qofsegol", "qofsegolhebrew", "qofsheva", "qofshevahebrew", "qoftsere", "qoftserehebrew", "qparen", "quarternote", "qubuts", "qubuts18", "qubuts25", "qubuts31", "qubutshebrew", "qubutsnarrowhebrew", "qubutsquarterhebrew", "qubutswidehebrew", "question", "questionarabic", "questionarmenian", "questiondown", "questiondownsmall", "questiongreek", "questionmonospace", "questionsmall", "quotedbl", "quotedblbase", "quotedblleft", "quotedblmonospace", "quotedblprime", "quotedblprimereversed", "quotedblright", "quoteleft", "quoteleftreversed", "quotereversed", "quoteright", "quoterightn", "quotesinglbase", "quotesingle", "quotesinglemonospace", "r", "raarmenian", "rabengali", "racute", "radeva", "radical", "radicalex", "radoverssquare", "radoverssquaredsquare", "radsquare", "rafe", "rafehebrew", "ragujarati", "ragurmukhi", "rahiragana", "rakatakana", "rakatakanahalfwidth", "ralowerdiagonalbengali", "ramiddlediagonalbengali", "ramshorn", "ratio", "rbopomofo", "rcaron", "rcedilla", "rcircle", "rcommaaccent", "rdblgrave", "rdotaccent", "rdotbelow", "rdotbelowmacron", "referencemark", "reflexsubset", "reflexsuperset", "registered", "registersans", "registerserif", "reharabic", "reharmenian", "rehfinalarabic", "rehiragana", "rehyehaleflamarabic", "rekatakana", "rekatakanahalfwidth", "resh", "reshdageshhebrew", "reshhatafpatah", "reshhatafpatahhebrew", "reshhatafsegol", "reshhatafsegolhebrew", "reshhebrew", "reshhiriq", "reshhiriqhebrew", "reshholam", "reshholamhebrew", "reshpatah", "reshpatahhebrew", "reshqamats", "reshqamatshebrew", "reshqubuts", "reshqubutshebrew", "reshsegol", "reshsegolhebrew", "reshsheva", "reshshevahebrew", "reshtsere", "reshtserehebrew", "reversedtilde", "reviahebrew", "reviamugrashhebrew", "revlogicalnot", "rfishhook", "rfishhookreversed", "rhabengali", "rhadeva", "rho", "rhook", "rhookturned", "rhookturnedsuperior", "rhosymbolgreek", "rhotichookmod", "rieulacirclekorean", "rieulaparenkorean", "rieulcirclekorean", "rieulhieuhkorean", "rieulkiyeokkorean", "rieulkiyeoksioskorean", "rieulkorean", "rieulmieumkorean", "rieulpansioskorean", "rieulparenkorean", "rieulphieuphkorean", "rieulpieupkorean", "rieulpieupsioskorean", "rieulsioskorean", "rieulthieuthkorean", "rieultikeutkorean", "rieulyeorinhieuhkorean", "rightangle", "righttackbelowcmb", "righttriangle", "rihiragana", "rikatakana", "rikatakanahalfwidth", "ring", "ringbelowcmb", "ringcmb", "ringhalfleft", "ringhalfleftarmenian", "ringhalfleftbelowcmb", "ringhalfleftcentered", "ringhalfright", "ringhalfrightbelowcmb", "ringhalfrightcentered", "rinvertedbreve", "rittorusquare", "rlinebelow", "rlongleg", "rlonglegturned", "rmonospace", "rohiragana", "rokatakana", "rokatakanahalfwidth", "roruathai", "rparen", "rrabengali", "rradeva", "rragurmukhi", "rreharabic", "rrehfinalarabic", "rrvocalicbengali", "rrvocalicdeva", "rrvocalicgujarati", "rrvocalicvowelsignbengali", "rrvocalicvowelsigndeva", "rrvocalicvowelsigngujarati", "rsuperior", "rtblock", "rturned", "rturnedsuperior", "ruhiragana", "rukatakana", "rukatakanahalfwidth", "rupeemarkbengali", "rupeesignbengali", "rupiah", "ruthai", "rvocalicbengali", "rvocalicdeva", "rvocalicgujarati", "rvocalicvowelsignbengali", "rvocalicvowelsigndeva", "rvocalicvowelsigngujarati", "s", "sabengali", "sacute", "sacutedotaccent", "sadarabic", "sadeva", "sadfinalarabic", "sadinitialarabic", "sadmedialarabic", "sagujarati", "sagurmukhi", "sahiragana", "sakatakana", "sakatakanahalfwidth", "sallallahoualayhewasallamarabic", "samekh", "samekhdagesh", "samekhdageshhebrew", "samekhhebrew", "saraaathai", "saraaethai", "saraaimaimalaithai", "saraaimaimuanthai", "saraamthai", "saraathai", "saraethai", "saraiileftthai", "saraiithai", "saraileftthai", "saraithai", "saraothai", "saraueeleftthai", "saraueethai", "saraueleftthai", "sarauethai", "sarauthai", "sarauuthai", "sbopomofo", "scaron", "scarondotaccent", "scedilla", "schwa", "schwacyrillic", "schwadieresiscyrillic", "schwahook", "scircle", "scircumflex", "scommaaccent", "sdotaccent", "sdotbelow", "sdotbelowdotaccent", "seagullbelowcmb", "second", "secondtonechinese", "section", "seenarabic", "seenfinalarabic", "seeninitialarabic", "seenmedialarabic", "segol", "segol13", "segol1f", "segol2c", "segolhebrew", "segolnarrowhebrew", "segolquarterhebrew", "segoltahebrew", "segolwidehebrew", "seharmenian", "sehiragana", "sekatakana", "sekatakanahalfwidth", "semicolon", "semicolonarabic", "semicolonmonospace", "semicolonsmall", "semivoicedmarkkana", "semivoicedmarkkanahalfwidth", "sentisquare", "sentosquare", "seven", "sevenarabic", "sevenbengali", "sevencircle", "sevencircleinversesansserif", "sevendeva", "seveneighths", "sevengujarati", "sevengurmukhi", "sevenhackarabic", "sevenhangzhou", "sevenideographicparen", "seveninferior", "sevenmonospace", "sevenoldstyle", "sevenparen", "sevenperiod", "sevenpersian", "sevenroman", "sevensuperior", "seventeencircle", "seventeenparen", "seventeenperiod", "seventhai", "sfthyphen", "shaarmenian", "shabengali", "shacyrillic", "shaddaarabic", "shaddadammaarabic", "shaddadammatanarabic", "shaddafathaarabic", "shaddafathatanarabic", "shaddakasraarabic", "shaddakasratanarabic", "shade", "shadedark", "shadelight", "shademedium", "shadeva", "shagujarati", "shagurmukhi", "shalshelethebrew", "shbopomofo", "shchacyrillic", "sheenarabic", "sheenfinalarabic", "sheeninitialarabic", "sheenmedialarabic", "sheicoptic", "sheqel", "sheqelhebrew", "sheva", "sheva115", "sheva15", "sheva22", "sheva2e", "shevahebrew", "shevanarrowhebrew", "shevaquarterhebrew", "shevawidehebrew", "shhacyrillic", "shimacoptic", "shin", "shindagesh", "shindageshhebrew", "shindageshshindot", "shindageshshindothebrew", "shindageshsindot", "shindageshsindothebrew", "shindothebrew", "shinhebrew", "shinshindot", "shinshindothebrew", "shinsindot", "shinsindothebrew", "shook", "sigma", "sigma1", "sigmafinal", "sigmalunatesymbolgreek", "sihiragana", "sikatakana", "sikatakanahalfwidth", "siluqhebrew", "siluqlefthebrew", "similar", "sindothebrew", "siosacirclekorean", "siosaparenkorean", "sioscieuckorean", "sioscirclekorean", "sioskiyeokkorean", "sioskorean", "siosnieunkorean", "siosparenkorean", "siospieupkorean", "siostikeutkorean", "six", "sixarabic", "sixbengali", "sixcircle", "sixcircleinversesansserif", "sixdeva", "sixgujarati", "sixgurmukhi", "sixhackarabic", "sixhangzhou", "sixideographicparen", "sixinferior", "sixmonospace", "sixoldstyle", "sixparen", "sixperiod", "sixpersian", "sixroman", "sixsuperior", "sixteencircle", "sixteencurrencydenominatorbengali", "sixteenparen", "sixteenperiod", "sixthai", "slash", "slashmonospace", "slong", "slongdotaccent", "smileface", "smonospace", "sofpasuqhebrew", "softhyphen", "softsigncyrillic", "sohiragana", "sokatakana", "sokatakanahalfwidth", "soliduslongoverlaycmb", "solidusshortoverlaycmb", "sorusithai", "sosalathai", "sosothai", "sosuathai", "space", "spacehackarabic", "spade", "spadesuitblack", "spadesuitwhite", "sparen", "squarebelowcmb", "squarecc", "squarecm", "squarediagonalcrosshatchfill", "squarehorizontalfill", "squarekg", "squarekm", "squarekmcapital", "squareln", "squarelog", "squaremg", "squaremil", "squaremm", "squaremsquared", "squareorthogonalcrosshatchfill", "squareupperlefttolowerrightfill", "squareupperrighttolowerleftfill", "squareverticalfill", "squarewhitewithsmallblack", "srsquare", "ssabengali", "ssadeva", "ssagujarati", "ssangcieuckorean", "ssanghieuhkorean", "ssangieungkorean", "ssangkiyeokkorean", "ssangnieunkorean", "ssangpieupkorean", "ssangsioskorean", "ssangtikeutkorean", "ssuperior", "sterling", "sterlingmonospace", "strokelongoverlaycmb", "strokeshortoverlaycmb", "subset", "subsetnotequal", "subsetorequal", "succeeds", "suchthat", "suhiragana", "sukatakana", "sukatakanahalfwidth", "sukunarabic", "summation", "sun", "superset", "supersetnotequal", "supersetorequal", "svsquare", "syouwaerasquare", "t", "tabengali", "tackdown", "tackleft", "tadeva", "tagujarati", "tagurmukhi", "taharabic", "tahfinalarabic", "tahinitialarabic", "tahiragana", "tahmedialarabic", "taisyouerasquare", "takatakana", "takatakanahalfwidth", "tatweelarabic", "tau", "tav", "tavdages", "tavdagesh", "tavdageshhebrew", "tavhebrew", "tbar", "tbopomofo", "tcaron", "tccurl", "tcedilla", "tcheharabic", "tchehfinalarabic", "tchehinitialarabic", "tchehmedialarabic", "tchehmeeminitialarabic", "tcircle", "tcircumflexbelow", "tcommaaccent", "tdieresis", "tdotaccent", "tdotbelow", "tecyrillic", "tedescendercyrillic", "teharabic", "tehfinalarabic", "tehhahinitialarabic", "tehhahisolatedarabic", "tehinitialarabic", "tehiragana", "tehjeeminitialarabic", "tehjeemisolatedarabic", "tehmarbutaarabic", "tehmarbutafinalarabic", "tehmedialarabic", "tehmeeminitialarabic", "tehmeemisolatedarabic", "tehnoonfinalarabic", "tekatakana", "tekatakanahalfwidth", "telephone", "telephoneblack", "telishagedolahebrew", "telishaqetanahebrew", "tencircle", "tenideographicparen", "tenparen", "tenperiod", "tenroman", "tesh", "tet", "tetdagesh", "tetdageshhebrew", "tethebrew", "tetsecyrillic", "tevirhebrew", "tevirlefthebrew", "thabengali", "thadeva", "thagujarati", "thagurmukhi", "thalarabic", "thalfinalarabic", "thanthakhatlowleftthai", "thanthakhatlowrightthai", "thanthakhatthai", "thanthakhatupperleftthai", "theharabic", "thehfinalarabic", "thehinitialarabic", "thehmedialarabic", "thereexists", "therefore", "theta", "theta1", "thetasymbolgreek", "thieuthacirclekorean", "thieuthaparenkorean", "thieuthcirclekorean", "thieuthkorean", "thieuthparenkorean", "thirteencircle", "thirteenparen", "thirteenperiod", "thonangmonthothai", "thook", "thophuthaothai", "thorn", "thothahanthai", "thothanthai", "thothongthai", "thothungthai", "thousandcyrillic", "thousandsseparatorarabic", "thousandsseparatorpersian", "three", "threearabic", "threebengali", "threecircle", "threecircleinversesansserif", "threedeva", "threeeighths", "threegujarati", "threegurmukhi", "threehackarabic", "threehangzhou", "threeideographicparen", "threeinferior", "threemonospace", "threenumeratorbengali", "threeoldstyle", "threeparen", "threeperiod", "threepersian", "threequarters", "threequartersemdash", "threeroman", "threesuperior", "threethai", "thzsquare", "tihiragana", "tikatakana", "tikatakanahalfwidth", "tikeutacirclekorean", "tikeutaparenkorean", "tikeutcirclekorean", "tikeutkorean", "tikeutparenkorean", "tilde", "tildebelowcmb", "tildecmb", "tildecomb", "tildedoublecmb", "tildeoperator", "tildeoverlaycmb", "tildeverticalcmb", "timescircle", "tipehahebrew", "tipehalefthebrew", "tippigurmukhi", "titlocyrilliccmb", "tiwnarmenian", "tlinebelow", "tmonospace", "toarmenian", "tohiragana", "tokatakana", "tokatakanahalfwidth", "tonebarextrahighmod", "tonebarextralowmod", "tonebarhighmod", "tonebarlowmod", "tonebarmidmod", "tonefive", "tonesix", "tonetwo", "tonos", "tonsquare", "topatakthai", "tortoiseshellbracketleft", "tortoiseshellbracketleftsmall", "tortoiseshellbracketleftvertical", "tortoiseshellbracketright", "tortoiseshellbracketrightsmall", "tortoiseshellbracketrightvertical", "totaothai", "tpalatalhook", "tparen", "trademark", "trademarksans", "trademarkserif", "tretroflexhook", "triagdn", "triaglf", "triagrt", "triagup", "ts", "tsadi", "tsadidagesh", "tsadidageshhebrew", "tsadihebrew", "tsecyrillic", "tsere", "tsere12", "tsere1e", "tsere2b", "tserehebrew", "tserenarrowhebrew", "tserequarterhebrew", "tserewidehebrew", "tshecyrillic", "tsuperior", "ttabengali", "ttadeva", "ttagujarati", "ttagurmukhi", "tteharabic", "ttehfinalarabic", "ttehinitialarabic", "ttehmedialarabic", "tthabengali", "tthadeva", "tthagujarati", "tthagurmukhi", "tturned", "tuhiragana", "tukatakana", "tukatakanahalfwidth", "tusmallhiragana", "tusmallkatakana", "tusmallkatakanahalfwidth", "twelvecircle", "twelveparen", "twelveperiod", "twelveroman", "twentycircle", "twentyhangzhou", "twentyparen", "twentyperiod", "two", "twoarabic", "twobengali", "twocircle", "twocircleinversesansserif", "twodeva", "twodotenleader", "twodotleader", "twodotleadervertical", "twogujarati", "twogurmukhi", "twohackarabic", "twohangzhou", "twoideographicparen", "twoinferior", "twomonospace", "twonumeratorbengali", "twooldstyle", "twoparen", "twoperiod", "twopersian", "tworoman", "twostroke", "twosuperior", "twothai", "twothirds", "u", "uacute", "ubar", "ubengali", "ubopomofo", "ubreve", "ucaron", "ucircle", "ucircumflex", "ucircumflexbelow", "ucyrillic", "udattadeva", "udblacute", "udblgrave", "udeva", "udieresis", "udieresisacute", "udieresisbelow", "udieresiscaron", "udieresiscyrillic", "udieresisgrave", "udieresismacron", "udotbelow", "ugrave", "ugujarati", "ugurmukhi", "uhiragana", "uhookabove", "uhorn", "uhornacute", "uhorndotbelow", "uhorngrave", "uhornhookabove", "uhorntilde", "uhungarumlaut", "uhungarumlautcyrillic", "uinvertedbreve", "ukatakana", "ukatakanahalfwidth", "ukcyrillic", "ukorean", "umacron", "umacroncyrillic", "umacrondieresis", "umatragurmukhi", "umonospace", "underscore", "underscoredbl", "underscoremonospace", "underscorevertical", "underscorewavy", "union", "universal", "uogonek", "uparen", "upblock", "upperdothebrew", "upsilon", "upsilondieresis", "upsilondieresistonos", "upsilonlatin", "upsilontonos", "uptackbelowcmb", "uptackmod", "uragurmukhi", "uring", "ushortcyrillic", "usmallhiragana", "usmallkatakana", "usmallkatakanahalfwidth", "ustraightcyrillic", "ustraightstrokecyrillic", "utilde", "utildeacute", "utildebelow", "uubengali", "uudeva", "uugujarati", "uugurmukhi", "uumatragurmukhi", "uuvowelsignbengali", "uuvowelsigndeva", "uuvowelsigngujarati", "uvowelsignbengali", "uvowelsigndeva", "uvowelsigngujarati", "v", "vadeva", "vagujarati", "vagurmukhi", "vakatakana", "vav", "vavdagesh", "vavdagesh65", "vavdageshhebrew", "vavhebrew", "vavholam", "vavholamhebrew", "vavvavhebrew", "vavyodhebrew", "vcircle", "vdotbelow", "vecyrillic", "veharabic", "vehfinalarabic", "vehinitialarabic", "vehmedialarabic", "vekatakana", "venus", "verticalbar", "verticallineabovecmb", "verticallinebelowcmb", "verticallinelowmod", "verticallinemod", "vewarmenian", "vhook", "vikatakana", "viramabengali", "viramadeva", "viramagujarati", "visargabengali", "visargadeva", "visargagujarati", "vmonospace", "voarmenian", "voicediterationhiragana", "voicediterationkatakana", "voicedmarkkana", "voicedmarkkanahalfwidth", "vokatakana", "vparen", "vtilde", "vturned", "vuhiragana", "vukatakana", "w", "wacute", "waekorean", "wahiragana", "wakatakana", "wakatakanahalfwidth", "wakorean", "wasmallhiragana", "wasmallkatakana", "wattosquare", "wavedash", "wavyunderscorevertical", "wawarabic", "wawfinalarabic", "wawhamzaabovearabic", "wawhamzaabovefinalarabic", "wbsquare", "wcircle", "wcircumflex", "wdieresis", "wdotaccent", "wdotbelow", "wehiragana", "weierstrass", "wekatakana", "wekorean", "weokorean", "wgrave", "whitebullet", "whitecircle", "whitecircleinverse", "whitecornerbracketleft", "whitecornerbracketleftvertical", "whitecornerbracketright", "whitecornerbracketrightvertical", "whitediamond", "whitediamondcontainingblacksmalldiamond", "whitedownpointingsmalltriangle", "whitedownpointingtriangle", "whiteleftpointingsmalltriangle", "whiteleftpointingtriangle", "whitelenticularbracketleft", "whitelenticularbracketright", "whiterightpointingsmalltriangle", "whiterightpointingtriangle", "whitesmallsquare", "whitesmilingface", "whitesquare", "whitestar", "whitetelephone", "whitetortoiseshellbracketleft", "whitetortoiseshellbracketright", "whiteuppointingsmalltriangle", "whiteuppointingtriangle", "wihiragana", "wikatakana", "wikorean", "wmonospace", "wohiragana", "wokatakana", "wokatakanahalfwidth", "won", "wonmonospace", "wowaenthai", "wparen", "wring", "wsuperior", "wturned", "wynn", "x", "xabovecmb", "xbopomofo", "xcircle", "xdieresis", "xdotaccent", "xeharmenian", "xi", "xmonospace", "xparen", "xsuperior", "y", "yaadosquare", "yabengali", "yacute", "yadeva", "yaekorean", "yagujarati", "yagurmukhi", "yahiragana", "yakatakana", "yakatakanahalfwidth", "yakorean", "yamakkanthai", "yasmallhiragana", "yasmallkatakana", "yasmallkatakanahalfwidth", "yatcyrillic", "ycircle", "ycircumflex", "ydieresis", "ydotaccent", "ydotbelow", "yeharabic", "yehbarreearabic", "yehbarreefinalarabic", "yehfinalarabic", "yehhamzaabovearabic", "yehhamzaabovefinalarabic", "yehhamzaaboveinitialarabic", "yehhamzaabovemedialarabic", "yehinitialarabic", "yehmedialarabic", "yehmeeminitialarabic", "yehmeemisolatedarabic", "yehnoonfinalarabic", "yehthreedotsbelowarabic", "yekorean", "yen", "yenmonospace", "yeokorean", "yeorinhieuhkorean", "yerahbenyomohebrew", "yerahbenyomolefthebrew", "yericyrillic", "yerudieresiscyrillic", "yesieungkorean", "yesieungpansioskorean", "yesieungsioskorean", "yetivhebrew", "ygrave", "yhook", "yhookabove", "yiarmenian", "yicyrillic", "yikorean", "yinyang", "yiwnarmenian", "ymonospace", "yod", "yoddagesh", "yoddageshhebrew", "yodhebrew", "yodyodhebrew", "yodyodpatahhebrew", "yohiragana", "yoikorean", "yokatakana", "yokatakanahalfwidth", "yokorean", "yosmallhiragana", "yosmallkatakana", "yosmallkatakanahalfwidth", "yotgreek", "yoyaekorean", "yoyakorean", "yoyakthai", "yoyingthai", "yparen", "ypogegrammeni", "ypogegrammenigreekcmb", "yr", "yring", "ysuperior", "ytilde", "yturned", "yuhiragana", "yuikorean", "yukatakana", "yukatakanahalfwidth", "yukorean", "yusbigcyrillic", "yusbigiotifiedcyrillic", "yuslittlecyrillic", "yuslittleiotifiedcyrillic", "yusmallhiragana", "yusmallkatakana", "yusmallkatakanahalfwidth", "yuyekorean", "yuyeokorean", "yyabengali", "yyadeva", "z", "zaarmenian", "zacute", "zadeva", "zagurmukhi", "zaharabic", "zahfinalarabic", "zahinitialarabic", "zahiragana", "zahmedialarabic", "zainarabic", "zainfinalarabic", "zakatakana", "zaqefgadolhebrew", "zaqefqatanhebrew", "zarqahebrew", "zayin", "zayindagesh", "zayindageshhebrew", "zayinhebrew", "zbopomofo", "zcaron", "zcircle", "zcircumflex", "zcurl", "zdot", "zdotaccent", "zdotbelow", "zecyrillic", "zedescendercyrillic", "zedieresiscyrillic", "zehiragana", "zekatakana", "zero", "zeroarabic", "zerobengali", "zerodeva", "zerogujarati", "zerogurmukhi", "zerohackarabic", "zeroinferior", "zeromonospace", "zerooldstyle", "zeropersian", "zerosuperior", "zerothai", "zerowidthjoiner", "zerowidthnonjoiner", "zerowidthspace", "zeta", "zhbopomofo", "zhearmenian", "zhebrevecyrillic", "zhecyrillic", "zhedescendercyrillic", "zhedieresiscyrillic", "zihiragana", "zikatakana", "zinorhebrew", "zlinebelow", "zmonospace", "zohiragana", "zokatakana", "zparen", "zretroflexhook", "zstroke", "zuhiragana", "zukatakana", 0 }; static const int codes[] = {0x0041, 0, 0x00C6, 0, 0x01FC, 0, 0x01E2, 0, 0xF7E6, 0, 0x00C1, 0, 0xF7E1, 0, 0x0102, 0, 0x1EAE, 0, 0x04D0, 0, 0x1EB6, 0, 0x1EB0, 0, 0x1EB2, 0, 0x1EB4, 0, 0x01CD, 0, 0x24B6, 0, 0x00C2, 0, 0x1EA4, 0, 0x1EAC, 0, 0x1EA6, 0, 0x1EA8, 0, 0xF7E2, 0, 0x1EAA, 0, 0xF6C9, 0, 0xF7B4, 0, 0x0410, 0, 0x0200, 0, 0x00C4, 0, 0x04D2, 0, 0x01DE, 0, 0xF7E4, 0, 0x1EA0, 0, 0x01E0, 0, 0x00C0, 0, 0xF7E0, 0, 0x1EA2, 0, 0x04D4, 0, 0x0202, 0, 0x0391, 0, 0x0386, 0, 0x0100, 0, 0xFF21, 0, 0x0104, 0, 0x00C5, 0, 0x01FA, 0, 0x1E00, 0, 0xF7E5, 0, 0xF761, 0, 0x00C3, 0, 0xF7E3, 0, 0x0531, 0, 0x0042, 0, 0x24B7, 0, 0x1E02, 0, 0x1E04, 0, 0x0411, 0, 0x0532, 0, 0x0392, 0, 0x0181, 0, 0x1E06, 0, 0xFF22, 0, 0xF6F4, 0, 0xF762, 0, 0x0182, 0, 0x0043, 0, 0x053E, 0, 0x0106, 0, 0xF6CA, 0, 0xF6F5, 0, 0x010C, 0, 0x00C7, 0, 0x1E08, 0, 0xF7E7, 0, 0x24B8, 0, 0x0108, 0, 0x010A, 0, 0x010A, 0, 0xF7B8, 0, 0x0549, 0, 0x04BC, 0, 0x0427, 0, 0x04BE, 0, 0x04B6, 0, 0x04F4, 0, 0x0543, 0, 0x04CB, 0, 0x04B8, 0, 0x03A7, 0, 0x0187, 0, 0xF6F6, 0, 0xFF23, 0, 0x0551, 0, 0xF763, 0, 0x0044, 0, 0x01F1, 0, 0x01C4, 0, 0x0534, 0, 0x0189, 0, 0x010E, 0, 0x1E10, 0, 0x24B9, 0, 0x1E12, 0, 0x0110, 0, 0x1E0A, 0, 0x1E0C, 0, 0x0414, 0, 0x03EE, 0, 0x2206, 0, 0x0394, 0, 0x018A, 0, 0xF6CB, 0, 0xF6CC, 0, 0xF6CD, 0, 0xF7A8, 0, 0x03DC, 0, 0x0402, 0, 0x1E0E, 0, 0xFF24, 0, 0xF6F7, 0, 0x0110, 0, 0xF764, 0, 0x018B, 0, 0x01F2, 0, 0x01C5, 0, 0x04E0, 0, 0x0405, 0, 0x040F, 0, 0x0045, 0, 0x00C9, 0, 0xF7E9, 0, 0x0114, 0, 0x011A, 0, 0x1E1C, 0, 0x0535, 0, 0x24BA, 0, 0x00CA, 0, 0x1EBE, 0, 0x1E18, 0, 0x1EC6, 0, 0x1EC0, 0, 0x1EC2, 0, 0xF7EA, 0, 0x1EC4, 0, 0x0404, 0, 0x0204, 0, 0x00CB, 0, 0xF7EB, 0, 0x0116, 0, 0x0116, 0, 0x1EB8, 0, 0x0424, 0, 0x00C8, 0, 0xF7E8, 0, 0x0537, 0, 0x1EBA, 0, 0x2167, 0, 0x0206, 0, 0x0464, 0, 0x041B, 0, 0x216A, 0, 0x0112, 0, 0x1E16, 0, 0x1E14, 0, 0x041C, 0, 0xFF25, 0, 0x041D, 0, 0x04A2, 0, 0x014A, 0, 0x04A4, 0, 0x04C7, 0, 0x0118, 0, 0x0190, 0, 0x0395, 0, 0x0388, 0, 0x0420, 0, 0x018E, 0, 0x042D, 0, 0x0421, 0, 0x04AA, 0, 0x01A9, 0, 0xF765, 0, 0x0397, 0, 0x0538, 0, 0x0389, 0, 0x00D0, 0, 0xF7F0, 0, 0x1EBC, 0, 0x1E1A, 0, 0x20AC, 0, 0x01B7, 0, 0x01EE, 0, 0x01B8, 0, 0x0046, 0, 0x24BB, 0, 0x1E1E, 0, 0x0556, 0, 0x03E4, 0, 0x0191, 0, 0x0472, 0, 0x2164, 0, 0xFF26, 0, 0x2163, 0, 0xF766, 0, 0x0047, 0, 0x3387, 0, 0x01F4, 0, 0x0393, 0, 0x0194, 0, 0x03EA, 0, 0x011E, 0, 0x01E6, 0, 0x0122, 0, 0x24BC, 0, 0x011C, 0, 0x0122, 0, 0x0120, 0, 0x0120, 0, 0x0413, 0, 0x0542, 0, 0x0494, 0, 0x0492, 0, 0x0490, 0, 0x0193, 0, 0x0533, 0, 0x0403, 0, 0x1E20, 0, 0xFF27, 0, 0xF6CE, 0, 0xF760, 0, 0xF767, 0, 0x029B, 0, 0x01E4, 0, 0x0048, 0, 0x25CF, 0, 0x25AA, 0, 0x25AB, 0, 0x25A1, 0, 0x33CB, 0, 0x04A8, 0, 0x04B2, 0, 0x042A, 0, 0x0126, 0, 0x1E2A, 0, 0x1E28, 0, 0x24BD, 0, 0x0124, 0, 0x1E26, 0, 0x1E22, 0, 0x1E24, 0, 0xFF28, 0, 0x0540, 0, 0x03E8, 0, 0xF768, 0, 0xF6CF, 0, 0xF6F8, 0, 0x3390, 0, 0x0049, 0, 0x042F, 0, 0x0132, 0, 0x042E, 0, 0x00CD, 0, 0xF7ED, 0, 0x012C, 0, 0x01CF, 0, 0x24BE, 0, 0x00CE, 0, 0xF7EE, 0, 0x0406, 0, 0x0208, 0, 0x00CF, 0, 0x1E2E, 0, 0x04E4, 0, 0xF7EF, 0, 0x0130, 0, 0x0130, 0, 0x1ECA, 0, 0x04D6, 0, 0x0415, 0, 0x2111, 0, 0x00CC, 0, 0xF7EC, 0, 0x1EC8, 0, 0x0418, 0, 0x020A, 0, 0x0419, 0, 0x012A, 0, 0x04E2, 0, 0xFF29, 0, 0x053B, 0, 0x0401, 0, 0x012E, 0, 0x0399, 0, 0x0196, 0, 0x03AA, 0, 0x038A, 0, 0xF769, 0, 0x0197, 0, 0x0128, 0, 0x1E2C, 0, 0x0474, 0, 0x0476, 0, 0x004A, 0, 0x0541, 0, 0x24BF, 0, 0x0134, 0, 0x0408, 0, 0x054B, 0, 0xFF2A, 0, 0xF76A, 0, 0x004B, 0, 0x3385, 0, 0x33CD, 0, 0x04A0, 0, 0x1E30, 0, 0x041A, 0, 0x049A, 0, 0x04C3, 0, 0x039A, 0, 0x049E, 0, 0x049C, 0, 0x01E8, 0, 0x0136, 0, 0x24C0, 0, 0x0136, 0, 0x1E32, 0, 0x0554, 0, 0x053F, 0, 0x0425, 0, 0x03E6, 0, 0x0198, 0, 0x040C, 0, 0x1E34, 0, 0xFF2B, 0, 0x0480, 0, 0x03DE, 0, 0x046E, 0, 0xF76B, 0, 0x004C, 0, 0x01C7, 0, 0xF6BF, 0, 0x0139, 0, 0x039B, 0, 0x013D, 0, 0x013B, 0, 0x24C1, 0, 0x1E3C, 0, 0x013B, 0, 0x013F, 0, 0x013F, 0, 0x1E36, 0, 0x1E38, 0, 0x053C, 0, 0x01C8, 0, 0x0409, 0, 0x1E3A, 0, 0xFF2C, 0, 0x0141, 0, 0xF6F9, 0, 0xF76C, 0, 0x004D, 0, 0x3386, 0, 0xF6D0, 0, 0xF7AF, 0, 0x1E3E, 0, 0x24C2, 0, 0x1E40, 0, 0x1E42, 0, 0x0544, 0, 0xFF2D, 0, 0xF76D, 0, 0x019C, 0, 0x039C, 0, 0x004E, 0, 0x01CA, 0, 0x0143, 0, 0x0147, 0, 0x0145, 0, 0x24C3, 0, 0x1E4A, 0, 0x0145, 0, 0x1E44, 0, 0x1E46, 0, 0x019D, 0, 0x2168, 0, 0x01CB, 0, 0x040A, 0, 0x1E48, 0, 0xFF2E, 0, 0x0546, 0, 0xF76E, 0, 0x00D1, 0, 0xF7F1, 0, 0x039D, 0, 0x004F, 0, 0x0152, 0, 0xF6FA, 0, 0x00D3, 0, 0xF7F3, 0, 0x04E8, 0, 0x04EA, 0, 0x014E, 0, 0x01D1, 0, 0x019F, 0, 0x24C4, 0, 0x00D4, 0, 0x1ED0, 0, 0x1ED8, 0, 0x1ED2, 0, 0x1ED4, 0, 0xF7F4, 0, 0x1ED6, 0, 0x041E, 0, 0x0150, 0, 0x020C, 0, 0x00D6, 0, 0x04E6, 0, 0xF7F6, 0, 0x1ECC, 0, 0xF6FB, 0, 0x00D2, 0, 0xF7F2, 0, 0x0555, 0, 0x2126, 0, 0x1ECE, 0, 0x01A0, 0, 0x1EDA, 0, 0x1EE2, 0, 0x1EDC, 0, 0x1EDE, 0, 0x1EE0, 0, 0x0150, 0, 0x01A2, 0, 0x020E, 0, 0x014C, 0, 0x1E52, 0, 0x1E50, 0, 0x2126, 0, 0x0460, 0, 0x03A9, 0, 0x047A, 0, 0x047C, 0, 0x038F, 0, 0x039F, 0, 0x038C, 0, 0xFF2F, 0, 0x2160, 0, 0x01EA, 0, 0x01EC, 0, 0x0186, 0, 0x00D8, 0, 0x01FE, 0, 0xF7F8, 0, 0xF76F, 0, 0x01FE, 0, 0x047E, 0, 0x00D5, 0, 0x1E4C, 0, 0x1E4E, 0, 0xF7F5, 0, 0x0050, 0, 0x1E54, 0, 0x24C5, 0, 0x1E56, 0, 0x041F, 0, 0x054A, 0, 0x04A6, 0, 0x03A6, 0, 0x01A4, 0, 0x03A0, 0, 0x0553, 0, 0xFF30, 0, 0x03A8, 0, 0x0470, 0, 0xF770, 0, 0x0051, 0, 0x24C6, 0, 0xFF31, 0, 0xF771, 0, 0x0052, 0, 0x054C, 0, 0x0154, 0, 0x0158, 0, 0x0156, 0, 0x24C7, 0, 0x0156, 0, 0x0210, 0, 0x1E58, 0, 0x1E5A, 0, 0x1E5C, 0, 0x0550, 0, 0x211C, 0, 0x03A1, 0, 0xF6FC, 0, 0x0212, 0, 0x1E5E, 0, 0xFF32, 0, 0xF772, 0, 0x0281, 0, 0x02B6, 0, 0x0053, 0, 0x250C, 0, 0x2514, 0, 0x2510, 0, 0x2518, 0, 0x253C, 0, 0x252C, 0, 0x2534, 0, 0x251C, 0, 0x2524, 0, 0x2500, 0, 0x2502, 0, 0x2561, 0, 0x2562, 0, 0x2556, 0, 0x2555, 0, 0x2563, 0, 0x2551, 0, 0x2557, 0, 0x255D, 0, 0x255C, 0, 0x255B, 0, 0x255E, 0, 0x255F, 0, 0x255A, 0, 0x2554, 0, 0x2569, 0, 0x2566, 0, 0x2560, 0, 0x2550, 0, 0x256C, 0, 0x2567, 0, 0x2568, 0, 0x2564, 0, 0x2565, 0, 0x2559, 0, 0x2558, 0, 0x2552, 0, 0x2553, 0, 0x256B, 0, 0x256A, 0, 0x015A, 0, 0x1E64, 0, 0x03E0, 0, 0x0160, 0, 0x1E66, 0, 0xF6FD, 0, 0x015E, 0, 0x018F, 0, 0x04D8, 0, 0x04DA, 0, 0x24C8, 0, 0x015C, 0, 0x0218, 0, 0x1E60, 0, 0x1E62, 0, 0x1E68, 0, 0x054D, 0, 0x2166, 0, 0x0547, 0, 0x0428, 0, 0x0429, 0, 0x03E2, 0, 0x04BA, 0, 0x03EC, 0, 0x03A3, 0, 0x2165, 0, 0xFF33, 0, 0x042C, 0, 0xF773, 0, 0x03DA, 0, 0x0054, 0, 0x03A4, 0, 0x0166, 0, 0x0164, 0, 0x0162, 0, 0x24C9, 0, 0x1E70, 0, 0x0162, 0, 0x1E6A, 0, 0x1E6C, 0, 0x0422, 0, 0x04AC, 0, 0x2169, 0, 0x04B4, 0, 0x0398, 0, 0x01AC, 0, 0x00DE, 0, 0xF7FE, 0, 0x2162, 0, 0xF6FE, 0, 0x054F, 0, 0x1E6E, 0, 0xFF34, 0, 0x0539, 0, 0x01BC, 0, 0x0184, 0, 0x01A7, 0, 0x01AE, 0, 0x0426, 0, 0x040B, 0, 0xF774, 0, 0x216B, 0, 0x2161, 0, 0x0055, 0, 0x00DA, 0, 0xF7FA, 0, 0x016C, 0, 0x01D3, 0, 0x24CA, 0, 0x00DB, 0, 0x1E76, 0, 0xF7FB, 0, 0x0423, 0, 0x0170, 0, 0x0214, 0, 0x00DC, 0, 0x01D7, 0, 0x1E72, 0, 0x01D9, 0, 0x04F0, 0, 0x01DB, 0, 0x01D5, 0, 0xF7FC, 0, 0x1EE4, 0, 0x00D9, 0, 0xF7F9, 0, 0x1EE6, 0, 0x01AF, 0, 0x1EE8, 0, 0x1EF0, 0, 0x1EEA, 0, 0x1EEC, 0, 0x1EEE, 0, 0x0170, 0, 0x04F2, 0, 0x0216, 0, 0x0478, 0, 0x016A, 0, 0x04EE, 0, 0x1E7A, 0, 0xFF35, 0, 0x0172, 0, 0x03A5, 0, 0x03D2, 0, 0x03D3, 0, 0x01B1, 0, 0x03AB, 0, 0x03D4, 0, 0x03D2, 0, 0x038E, 0, 0x016E, 0, 0x040E, 0, 0xF775, 0, 0x04AE, 0, 0x04B0, 0, 0x0168, 0, 0x1E78, 0, 0x1E74, 0, 0x0056, 0, 0x24CB, 0, 0x1E7E, 0, 0x0412, 0, 0x054E, 0, 0x01B2, 0, 0xFF36, 0, 0x0548, 0, 0xF776, 0, 0x1E7C, 0, 0x0057, 0, 0x1E82, 0, 0x24CC, 0, 0x0174, 0, 0x1E84, 0, 0x1E86, 0, 0x1E88, 0, 0x1E80, 0, 0xFF37, 0, 0xF777, 0, 0x0058, 0, 0x24CD, 0, 0x1E8C, 0, 0x1E8A, 0, 0x053D, 0, 0x039E, 0, 0xFF38, 0, 0xF778, 0, 0x0059, 0, 0x00DD, 0, 0xF7FD, 0, 0x0462, 0, 0x24CE, 0, 0x0176, 0, 0x0178, 0, 0xF7FF, 0, 0x1E8E, 0, 0x1EF4, 0, 0x042B, 0, 0x04F8, 0, 0x1EF2, 0, 0x01B3, 0, 0x1EF6, 0, 0x0545, 0, 0x0407, 0, 0x0552, 0, 0xFF39, 0, 0xF779, 0, 0x1EF8, 0, 0x046A, 0, 0x046C, 0, 0x0466, 0, 0x0468, 0, 0x005A, 0, 0x0536, 0, 0x0179, 0, 0x017D, 0, 0xF6FF, 0, 0x24CF, 0, 0x1E90, 0, 0x017B, 0, 0x017B, 0, 0x1E92, 0, 0x0417, 0, 0x0498, 0, 0x04DE, 0, 0x0396, 0, 0x053A, 0, 0x04C1, 0, 0x0416, 0, 0x0496, 0, 0x04DC, 0, 0x1E94, 0, 0xFF3A, 0, 0xF77A, 0, 0x01B5, 0, 0x0061, 0, 0x0986, 0, 0x00E1, 0, 0x0906, 0, 0x0A86, 0, 0x0A06, 0, 0x0A3E, 0, 0x3303, 0, 0x09BE, 0, 0x093E, 0, 0x0ABE, 0, 0x055F, 0, 0x0970, 0, 0x0985, 0, 0x311A, 0, 0x0103, 0, 0x1EAF, 0, 0x04D1, 0, 0x1EB7, 0, 0x1EB1, 0, 0x1EB3, 0, 0x1EB5, 0, 0x01CE, 0, 0x24D0, 0, 0x00E2, 0, 0x1EA5, 0, 0x1EAD, 0, 0x1EA7, 0, 0x1EA9, 0, 0x1EAB, 0, 0x00B4, 0, 0x0317, 0, 0x0301, 0, 0x0301, 0, 0x0954, 0, 0x02CF, 0, 0x0341, 0, 0x0430, 0, 0x0201, 0, 0x0A71, 0, 0x0905, 0, 0x00E4, 0, 0x04D3, 0, 0x01DF, 0, 0x1EA1, 0, 0x01E1, 0, 0x00E6, 0, 0x01FD, 0, 0x3150, 0, 0x01E3, 0, 0x2015, 0, 0x20A4, 0, 0x0410, 0, 0x0411, 0, 0x0412, 0, 0x0413, 0, 0x0414, 0, 0x0415, 0, 0x0401, 0, 0x0416, 0, 0x0417, 0, 0x0418, 0, 0x0419, 0, 0x041A, 0, 0x041B, 0, 0x041C, 0, 0x041D, 0, 0x041E, 0, 0x041F, 0, 0x0420, 0, 0x0421, 0, 0x0422, 0, 0x0423, 0, 0x0424, 0, 0x0425, 0, 0x0426, 0, 0x0427, 0, 0x0428, 0, 0x0429, 0, 0x042A, 0, 0x042B, 0, 0x042C, 0, 0x042D, 0, 0x042E, 0, 0x042F, 0, 0x0490, 0, 0x0402, 0, 0x0403, 0, 0x0404, 0, 0x0405, 0, 0x0406, 0, 0x0407, 0, 0x0408, 0, 0x0409, 0, 0x040A, 0, 0x040B, 0, 0x040C, 0, 0x040E, 0, 0xF6C4, 0, 0xF6C5, 0, 0x0430, 0, 0x0431, 0, 0x0432, 0, 0x0433, 0, 0x0434, 0, 0x0435, 0, 0x0451, 0, 0x0436, 0, 0x0437, 0, 0x0438, 0, 0x0439, 0, 0x043A, 0, 0x043B, 0, 0x043C, 0, 0x043D, 0, 0x043E, 0, 0x043F, 0, 0x0440, 0, 0x0441, 0, 0x0442, 0, 0x0443, 0, 0x0444, 0, 0x0445, 0, 0x0446, 0, 0x0447, 0, 0x0448, 0, 0x0449, 0, 0x044A, 0, 0x044B, 0, 0x044C, 0, 0x044D, 0, 0x044E, 0, 0x044F, 0, 0x0491, 0, 0x0452, 0, 0x0453, 0, 0x0454, 0, 0x0455, 0, 0x0456, 0, 0x0457, 0, 0x0458, 0, 0x0459, 0, 0x045A, 0, 0x045B, 0, 0x045C, 0, 0x045E, 0, 0x040F, 0, 0x0462, 0, 0x0472, 0, 0x0474, 0, 0xF6C6, 0, 0x045F, 0, 0x0463, 0, 0x0473, 0, 0x0475, 0, 0xF6C7, 0, 0xF6C8, 0, 0x04D9, 0, 0x200E, 0, 0x200F, 0, 0x200D, 0, 0x066A, 0, 0x060C, 0, 0x0660, 0, 0x0661, 0, 0x0662, 0, 0x0663, 0, 0x0664, 0, 0x0665, 0, 0x0666, 0, 0x0667, 0, 0x0668, 0, 0x0669, 0, 0x061B, 0, 0x061F, 0, 0x0621, 0, 0x0622, 0, 0x0623, 0, 0x0624, 0, 0x0625, 0, 0x0626, 0, 0x0627, 0, 0x0628, 0, 0x0629, 0, 0x062A, 0, 0x062B, 0, 0x062C, 0, 0x062D, 0, 0x062E, 0, 0x062F, 0, 0x0630, 0, 0x0631, 0, 0x0632, 0, 0x0633, 0, 0x0634, 0, 0x0635, 0, 0x0636, 0, 0x0637, 0, 0x0638, 0, 0x0639, 0, 0x063A, 0, 0x0640, 0, 0x0641, 0, 0x0642, 0, 0x0643, 0, 0x0644, 0, 0x0645, 0, 0x0646, 0, 0x0648, 0, 0x0649, 0, 0x064A, 0, 0x064B, 0, 0x064C, 0, 0x064D, 0, 0x064E, 0, 0x064F, 0, 0x0650, 0, 0x0651, 0, 0x0652, 0, 0x0647, 0, 0x06A4, 0, 0x067E, 0, 0x0686, 0, 0x0698, 0, 0x06AF, 0, 0x0679, 0, 0x0688, 0, 0x0691, 0, 0x06BA, 0, 0x06D2, 0, 0x06D5, 0, 0x20AA, 0, 0x05BE, 0, 0x05C3, 0, 0x05D0, 0, 0x05D1, 0, 0x05D2, 0, 0x05D3, 0, 0x05D4, 0, 0x05D5, 0, 0x05D6, 0, 0x05D7, 0, 0x05D8, 0, 0x05D9, 0, 0x05DA, 0, 0x05DB, 0, 0x05DC, 0, 0x05DD, 0, 0x05DE, 0, 0x05DF, 0, 0x05E0, 0, 0x05E1, 0, 0x05E2, 0, 0x05E3, 0, 0x05E4, 0, 0x05E5, 0, 0x05E6, 0, 0x05E7, 0, 0x05E8, 0, 0x05E9, 0, 0x05EA, 0, 0xFB2A, 0, 0xFB2B, 0, 0xFB4B, 0, 0xFB1F, 0, 0x05F0, 0, 0x05F1, 0, 0x05F2, 0, 0xFB35, 0, 0x05B4, 0, 0x05B5, 0, 0x05B6, 0, 0x05BB, 0, 0x05B8, 0, 0x05B7, 0, 0x05B0, 0, 0x05B2, 0, 0x05B1, 0, 0x05B3, 0, 0x05C2, 0, 0x05C1, 0, 0x05B9, 0, 0x05BC, 0, 0x05BD, 0, 0x05BF, 0, 0x05C0, 0, 0x02BC, 0, 0x2105, 0, 0x2113, 0, 0x2116, 0, 0x202C, 0, 0x202D, 0, 0x202E, 0, 0x200C, 0, 0x066D, 0, 0x02BD, 0, 0x00E0, 0, 0x0A85, 0, 0x0A05, 0, 0x3042, 0, 0x1EA3, 0, 0x0990, 0, 0x311E, 0, 0x0910, 0, 0x04D5, 0, 0x0A90, 0, 0x0A10, 0, 0x0A48, 0, 0x0639, 0, 0xFECA, 0, 0xFECB, 0, 0xFECC, 0, 0x0203, 0, 0x09C8, 0, 0x0948, 0, 0x0AC8, 0, 0x30A2, 0, 0xFF71, 0, 0x314F, 0, 0x05D0, 0, 0x0627, 0, 0xFB30, 0, 0xFE8E, 0, 0x0623, 0, 0xFE84, 0, 0x0625, 0, 0xFE88, 0, 0x05D0, 0, 0xFB4F, 0, 0x0622, 0, 0xFE82, 0, 0x0649, 0, 0xFEF0, 0, 0xFEF3, 0, 0xFEF4, 0, 0xFB2E, 0, 0xFB2F, 0, 0x2135, 0, 0x224C, 0, 0x03B1, 0, 0x03AC, 0, 0x0101, 0, 0xFF41, 0, 0x0026, 0, 0xFF06, 0, 0xF726, 0, 0x33C2, 0, 0x3122, 0, 0x3124, 0, 0x0E5A, 0, 0x2220, 0, 0x3008, 0, 0xFE3F, 0, 0x3009, 0, 0xFE40, 0, 0x2329, 0, 0x232A, 0, 0x212B, 0, 0x0387, 0, 0x0952, 0, 0x0982, 0, 0x0902, 0, 0x0A82, 0, 0x0105, 0, 0x3300, 0, 0x249C, 0, 0x055A, 0, 0x02BC, 0, 0xF8FF, 0, 0x2250, 0, 0x2248, 0, 0x2252, 0, 0x2245, 0, 0x318E, 0, 0x318D, 0, 0x2312, 0, 0x1E9A, 0, 0x00E5, 0, 0x01FB, 0, 0x1E01, 0, 0x2194, 0, 0x21E3, 0, 0x21E0, 0, 0x21E2, 0, 0x21E1, 0, 0x21D4, 0, 0x21D3, 0, 0x21D0, 0, 0x21D2, 0, 0x21D1, 0, 0x2193, 0, 0x2199, 0, 0x2198, 0, 0x21E9, 0, 0x02C5, 0, 0x02C2, 0, 0x02C3, 0, 0x02C4, 0, 0xF8E7, 0, 0x2190, 0, 0x21D0, 0, 0x21CD, 0, 0x21C6, 0, 0x21E6, 0, 0x2192, 0, 0x21CF, 0, 0x279E, 0, 0x21C4, 0, 0x21E8, 0, 0x21E4, 0, 0x21E5, 0, 0x2191, 0, 0x2195, 0, 0x21A8, 0, 0x21A8, 0, 0x2196, 0, 0x21C5, 0, 0x2197, 0, 0x21E7, 0, 0xF8E6, 0, 0x005E, 0, 0xFF3E, 0, 0x007E, 0, 0xFF5E, 0, 0x0251, 0, 0x0252, 0, 0x3041, 0, 0x30A1, 0, 0xFF67, 0, 0x002A, 0, 0x066D, 0, 0x066D, 0, 0x2217, 0, 0xFF0A, 0, 0xFE61, 0, 0x2042, 0, 0xF6E9, 0, 0x2243, 0, 0x0040, 0, 0x00E3, 0, 0xFF20, 0, 0xFE6B, 0, 0x0250, 0, 0x0994, 0, 0x3120, 0, 0x0914, 0, 0x0A94, 0, 0x0A14, 0, 0x09D7, 0, 0x0A4C, 0, 0x09CC, 0, 0x094C, 0, 0x0ACC, 0, 0x093D, 0, 0x0561, 0, 0x05E2, 0, 0xFB20, 0, 0x05E2, 0, 0x0062, 0, 0x09AC, 0, 0x005C, 0, 0xFF3C, 0, 0x092C, 0, 0x0AAC, 0, 0x0A2C, 0, 0x3070, 0, 0x0E3F, 0, 0x30D0, 0, 0x007C, 0, 0xFF5C, 0, 0x3105, 0, 0x24D1, 0, 0x1E03, 0, 0x1E05, 0, 0x266C, 0, 0x2235, 0, 0x0431, 0, 0x0628, 0, 0xFE90, 0, 0xFE91, 0, 0x3079, 0, 0xFE92, 0, 0xFC9F, 0, 0xFC08, 0, 0xFC6D, 0, 0x30D9, 0, 0x0562, 0, 0x05D1, 0, 0x03B2, 0, 0x03D0, 0, 0xFB31, 0, 0xFB31, 0, 0x05D1, 0, 0xFB4C, 0, 0x09AD, 0, 0x092D, 0, 0x0AAD, 0, 0x0A2D, 0, 0x0253, 0, 0x3073, 0, 0x30D3, 0, 0x0298, 0, 0x0A02, 0, 0x3331, 0, 0x25CF, 0, 0x25C6, 0, 0x25BC, 0, 0x25C4, 0, 0x25C0, 0, 0x3010, 0, 0xFE3B, 0, 0x3011, 0, 0xFE3C, 0, 0x25E3, 0, 0x25E2, 0, 0x25AC, 0, 0x25BA, 0, 0x25B6, 0, 0x25AA, 0, 0x263B, 0, 0x25A0, 0, 0x2605, 0, 0x25E4, 0, 0x25E5, 0, 0x25B4, 0, 0x25B2, 0, 0x2423, 0, 0x1E07, 0, 0x2588, 0, 0xFF42, 0, 0x0E1A, 0, 0x307C, 0, 0x30DC, 0, 0x249D, 0, 0x33C3, 0, 0xF8F4, 0, 0x007B, 0, 0xF8F3, 0, 0xF8F2, 0, 0xFF5B, 0, 0xFE5B, 0, 0xF8F1, 0, 0xFE37, 0, 0x007D, 0, 0xF8FE, 0, 0xF8FD, 0, 0xFF5D, 0, 0xFE5C, 0, 0xF8FC, 0, 0xFE38, 0, 0x005B, 0, 0xF8F0, 0, 0xF8EF, 0, 0xFF3B, 0, 0xF8EE, 0, 0x005D, 0, 0xF8FB, 0, 0xF8FA, 0, 0xFF3D, 0, 0xF8F9, 0, 0x02D8, 0, 0x032E, 0, 0x0306, 0, 0x032F, 0, 0x0311, 0, 0x0361, 0, 0x032A, 0, 0x033A, 0, 0x00A6, 0, 0x0180, 0, 0xF6EA, 0, 0x0183, 0, 0x3076, 0, 0x30D6, 0, 0x2022, 0, 0x25D8, 0, 0x2219, 0, 0x25CE, 0, 0x0063, 0, 0x056E, 0, 0x099A, 0, 0x0107, 0, 0x091A, 0, 0x0A9A, 0, 0x0A1A, 0, 0x3388, 0, 0x0981, 0, 0x0310, 0, 0x0901, 0, 0x0A81, 0, 0x21EA, 0, 0x2105, 0, 0x02C7, 0, 0x032C, 0, 0x030C, 0, 0x21B5, 0, 0x3118, 0, 0x010D, 0, 0x00E7, 0, 0x1E09, 0, 0x24D2, 0, 0x0109, 0, 0x0255, 0, 0x010B, 0, 0x010B, 0, 0x33C5, 0, 0x00B8, 0, 0x0327, 0, 0x00A2, 0, 0x2103, 0, 0xF6DF, 0, 0xFFE0, 0, 0xF7A2, 0, 0xF6E0, 0, 0x0579, 0, 0x099B, 0, 0x091B, 0, 0x0A9B, 0, 0x0A1B, 0, 0x3114, 0, 0x04BD, 0, 0x2713, 0, 0x0447, 0, 0x04BF, 0, 0x04B7, 0, 0x04F5, 0, 0x0573, 0, 0x04CC, 0, 0x04B9, 0, 0x03C7, 0, 0x3277, 0, 0x3217, 0, 0x3269, 0, 0x314A, 0, 0x3209, 0, 0x0E0A, 0, 0x0E08, 0, 0x0E09, 0, 0x0E0C, 0, 0x0188, 0, 0x3276, 0, 0x3216, 0, 0x3268, 0, 0x3148, 0, 0x3208, 0, 0x321C, 0, 0x25CB, 0, 0x2297, 0, 0x2299, 0, 0x2295, 0, 0x3036, 0, 0x25D0, 0, 0x25D1, 0, 0x02C6, 0, 0x032D, 0, 0x0302, 0, 0x2327, 0, 0x01C2, 0, 0x01C0, 0, 0x01C1, 0, 0x01C3, 0, 0x2663, 0, 0x2663, 0, 0x2667, 0, 0x33A4, 0, 0xFF43, 0, 0x33A0, 0, 0x0581, 0, 0x003A, 0, 0x20A1, 0, 0xFF1A, 0, 0x20A1, 0, 0xFE55, 0, 0x02D1, 0, 0x02D0, 0, 0x002C, 0, 0x0313, 0, 0x0315, 0, 0xF6C3, 0, 0x060C, 0, 0x055D, 0, 0xF6E1, 0, 0xFF0C, 0, 0x0314, 0, 0x02BD, 0, 0xFE50, 0, 0xF6E2, 0, 0x0312, 0, 0x02BB, 0, 0x263C, 0, 0x2245, 0, 0x222E, 0, 0x2303, 0, 0x0006, 0, 0x0007, 0, 0x0008, 0, 0x0018, 0, 0x000D, 0, 0x0011, 0, 0x0012, 0, 0x0013, 0, 0x0014, 0, 0x007F, 0, 0x0010, 0, 0x0019, 0, 0x0005, 0, 0x0004, 0, 0x001B, 0, 0x0017, 0, 0x0003, 0, 0x000C, 0, 0x001C, 0, 0x001D, 0, 0x0009, 0, 0x000A, 0, 0x0015, 0, 0x001E, 0, 0x000F, 0, 0x000E, 0, 0x0002, 0, 0x0001, 0, 0x001A, 0, 0x0016, 0, 0x001F, 0, 0x000B, 0, 0x00A9, 0, 0xF8E9, 0, 0xF6D9, 0, 0x300C, 0, 0xFF62, 0, 0xFE41, 0, 0x300D, 0, 0xFF63, 0, 0xFE42, 0, 0x337F, 0, 0x33C7, 0, 0x33C6, 0, 0x249E, 0, 0x20A2, 0, 0x0297, 0, 0x22CF, 0, 0x22CE, 0, 0x00A4, 0, 0xF6D1, 0, 0xF6D2, 0, 0xF6D4, 0, 0xF6D5, 0, 0x0064, 0, 0x0564, 0, 0x09A6, 0, 0x0636, 0, 0x0926, 0, 0xFEBE, 0, 0xFEBF, 0, 0xFEC0, 0, 0x05BC, 0, 0x05BC, 0, 0x2020, 0, 0x2021, 0, 0x0AA6, 0, 0x0A26, 0, 0x3060, 0, 0x30C0, 0, 0x062F, 0, 0x05D3, 0, 0xFB33, 0, 0xFB33, 0, 0x05D3, 0x05B2, 0, 0x05D3, 0x05B2, 0, 0x05D3, 0x05B1, 0, 0x05D3, 0x05B1, 0, 0x05D3, 0, 0x05D3, 0x05B4, 0, 0x05D3, 0x05B4, 0, 0x05D3, 0x05B9, 0, 0x05D3, 0x05B9, 0, 0x05D3, 0x05B7, 0, 0x05D3, 0x05B7, 0, 0x05D3, 0x05B8, 0, 0x05D3, 0x05B8, 0, 0x05D3, 0x05BB, 0, 0x05D3, 0x05BB, 0, 0x05D3, 0x05B6, 0, 0x05D3, 0x05B6, 0, 0x05D3, 0x05B0, 0, 0x05D3, 0x05B0, 0, 0x05D3, 0x05B5, 0, 0x05D3, 0x05B5, 0, 0xFEAA, 0, 0x064F, 0, 0x064F, 0, 0x064C, 0, 0x064C, 0, 0x0964, 0, 0x05A7, 0, 0x05A7, 0, 0x0485, 0, 0xF6D3, 0, 0x300A, 0, 0xFE3D, 0, 0x300B, 0, 0xFE3E, 0, 0x032B, 0, 0x21D4, 0, 0x21D2, 0, 0x0965, 0, 0xF6D6, 0, 0x030F, 0, 0x222C, 0, 0x2017, 0, 0x0333, 0, 0x033F, 0, 0x02BA, 0, 0x2016, 0, 0x030E, 0, 0x3109, 0, 0x33C8, 0, 0x010F, 0, 0x1E11, 0, 0x24D3, 0, 0x1E13, 0, 0x0111, 0, 0x09A1, 0, 0x0921, 0, 0x0AA1, 0, 0x0A21, 0, 0x0688, 0, 0xFB89, 0, 0x095C, 0, 0x09A2, 0, 0x0922, 0, 0x0AA2, 0, 0x0A22, 0, 0x1E0B, 0, 0x1E0D, 0, 0x066B, 0, 0x066B, 0, 0x0434, 0, 0x00B0, 0, 0x05AD, 0, 0x3067, 0, 0x03EF, 0, 0x30C7, 0, 0x232B, 0, 0x2326, 0, 0x03B4, 0, 0x018D, 0, 0x09F8, 0, 0x02A4, 0, 0x09A7, 0, 0x0927, 0, 0x0AA7, 0, 0x0A27, 0, 0x0257, 0, 0x0385, 0, 0x0344, 0, 0x2666, 0, 0x2662, 0, 0x00A8, 0, 0xF6D7, 0, 0x0324, 0, 0x0308, 0, 0xF6D8, 0, 0x0385, 0, 0x3062, 0, 0x30C2, 0, 0x3003, 0, 0x00F7, 0, 0x2223, 0, 0x2215, 0, 0x0452, 0, 0x2593, 0, 0x1E0F, 0, 0x3397, 0, 0x0111, 0, 0xFF44, 0, 0x2584, 0, 0x0E0E, 0, 0x0E14, 0, 0x3069, 0, 0x30C9, 0, 0x0024, 0, 0xF6E3, 0, 0xFF04, 0, 0xF724, 0, 0xFE69, 0, 0xF6E4, 0, 0x20AB, 0, 0x3326, 0, 0x02D9, 0, 0x0307, 0, 0x0323, 0, 0x0323, 0, 0x30FB, 0, 0x0131, 0, 0xF6BE, 0, 0x0284, 0, 0x22C5, 0, 0x25CC, 0, 0xFB1F, 0, 0xFB1F, 0, 0x031E, 0, 0x02D5, 0, 0x249F, 0, 0xF6EB, 0, 0x0256, 0, 0x018C, 0, 0x3065, 0, 0x30C5, 0, 0x01F3, 0, 0x02A3, 0, 0x01C6, 0, 0x02A5, 0, 0x04E1, 0, 0x0455, 0, 0x045F, 0, 0x0065, 0, 0x00E9, 0, 0x2641, 0, 0x098F, 0, 0x311C, 0, 0x0115, 0, 0x090D, 0, 0x0A8D, 0, 0x0945, 0, 0x0AC5, 0, 0x011B, 0, 0x1E1D, 0, 0x0565, 0, 0x0587, 0, 0x24D4, 0, 0x00EA, 0, 0x1EBF, 0, 0x1E19, 0, 0x1EC7, 0, 0x1EC1, 0, 0x1EC3, 0, 0x1EC5, 0, 0x0454, 0, 0x0205, 0, 0x090F, 0, 0x00EB, 0, 0x0117, 0, 0x0117, 0, 0x1EB9, 0, 0x0A0F, 0, 0x0A47, 0, 0x0444, 0, 0x00E8, 0, 0x0A8F, 0, 0x0567, 0, 0x311D, 0, 0x3048, 0, 0x1EBB, 0, 0x311F, 0, 0x0038, 0, 0x0668, 0, 0x09EE, 0, 0x2467, 0, 0x2791, 0, 0x096E, 0, 0x2471, 0, 0x2485, 0, 0x2499, 0, 0x0AEE, 0, 0x0A6E, 0, 0x0668, 0, 0x3028, 0, 0x266B, 0, 0x3227, 0, 0x2088, 0, 0xFF18, 0, 0xF738, 0, 0x247B, 0, 0x248F, 0, 0x06F8, 0, 0x2177, 0, 0x2078, 0, 0x0E58, 0, 0x0207, 0, 0x0465, 0, 0x30A8, 0, 0xFF74, 0, 0x0A74, 0, 0x3154, 0, 0x043B, 0, 0x2208, 0, 0x246A, 0, 0x247E, 0, 0x2492, 0, 0x217A, 0, 0x2026, 0, 0x22EE, 0, 0x0113, 0, 0x1E17, 0, 0x1E15, 0, 0x043C, 0, 0x2014, 0, 0xFE31, 0, 0xFF45, 0, 0x055B, 0, 0x2205, 0, 0x3123, 0, 0x043D, 0, 0x2013, 0, 0xFE32, 0, 0x04A3, 0, 0x014B, 0, 0x3125, 0, 0x04A5, 0, 0x04C8, 0, 0x2002, 0, 0x0119, 0, 0x3153, 0, 0x025B, 0, 0x029A, 0, 0x025C, 0, 0x025E, 0, 0x025D, 0, 0x24A0, 0, 0x03B5, 0, 0x03AD, 0, 0x003D, 0, 0xFF1D, 0, 0xFE66, 0, 0x207C, 0, 0x2261, 0, 0x3126, 0, 0x0440, 0, 0x0258, 0, 0x044D, 0, 0x0441, 0, 0x04AB, 0, 0x0283, 0, 0x0286, 0, 0x090E, 0, 0x0946, 0, 0x01AA, 0, 0x0285, 0, 0x3047, 0, 0x30A7, 0, 0xFF6A, 0, 0x212E, 0, 0xF6EC, 0, 0x03B7, 0, 0x0568, 0, 0x03AE, 0, 0x00F0, 0, 0x1EBD, 0, 0x1E1B, 0, 0x0591, 0, 0x0591, 0, 0x0591, 0, 0x0591, 0, 0x01DD, 0, 0x3161, 0, 0x20AC, 0, 0x09C7, 0, 0x0947, 0, 0x0AC7, 0, 0x0021, 0, 0x055C, 0, 0x203C, 0, 0x00A1, 0, 0xF7A1, 0, 0xFF01, 0, 0xF721, 0, 0x2203, 0, 0x0292, 0, 0x01EF, 0, 0x0293, 0, 0x01B9, 0, 0x01BA, 0, 0x0066, 0, 0x095E, 0, 0x0A5E, 0, 0x2109, 0, 0x064E, 0, 0x064E, 0, 0x064B, 0, 0x3108, 0, 0x24D5, 0, 0x1E1F, 0, 0x0641, 0, 0x0586, 0, 0xFED2, 0, 0xFED3, 0, 0xFED4, 0, 0x03E5, 0, 0x2640, 0, 0xFB00, 0, 0xFB03, 0, 0xFB04, 0, 0xFB01, 0, 0x246E, 0, 0x2482, 0, 0x2496, 0, 0x2012, 0, 0x25A0, 0, 0x25AC, 0, 0x05DA, 0, 0xFB3A, 0, 0xFB3A, 0, 0x05DA, 0, 0x05DA, 0x05B8, 0, 0x05DA, 0x05B8, 0, 0x05DA, 0x05B0, 0, 0x05DA, 0x05B0, 0, 0x05DD, 0, 0x05DD, 0, 0x05DF, 0, 0x05DF, 0, 0x05E3, 0, 0x05E3, 0, 0x05E5, 0, 0x05E5, 0, 0x02C9, 0, 0x25C9, 0, 0x0473, 0, 0x0035, 0, 0x0665, 0, 0x09EB, 0, 0x2464, 0, 0x278E, 0, 0x096B, 0, 0x215D, 0, 0x0AEB, 0, 0x0A6B, 0, 0x0665, 0, 0x3025, 0, 0x3224, 0, 0x2085, 0, 0xFF15, 0, 0xF735, 0, 0x2478, 0, 0x248C, 0, 0x06F5, 0, 0x2174, 0, 0x2075, 0, 0x0E55, 0, 0xFB02, 0, 0x0192, 0, 0xFF46, 0, 0x3399, 0, 0x0E1F, 0, 0x0E1D, 0, 0x0E4F, 0, 0x2200, 0, 0x0034, 0, 0x0664, 0, 0x09EA, 0, 0x2463, 0, 0x278D, 0, 0x096A, 0, 0x0AEA, 0, 0x0A6A, 0, 0x0664, 0, 0x3024, 0, 0x3223, 0, 0x2084, 0, 0xFF14, 0, 0x09F7, 0, 0xF734, 0, 0x2477, 0, 0x248B, 0, 0x06F4, 0, 0x2173, 0, 0x2074, 0, 0x246D, 0, 0x2481, 0, 0x2495, 0, 0x0E54, 0, 0x02CB, 0, 0x24A1, 0, 0x2044, 0, 0x20A3, 0, 0x0067, 0, 0x0997, 0, 0x01F5, 0, 0x0917, 0, 0x06AF, 0, 0xFB93, 0, 0xFB94, 0, 0xFB95, 0, 0x0A97, 0, 0x0A17, 0, 0x304C, 0, 0x30AC, 0, 0x03B3, 0, 0x0263, 0, 0x02E0, 0, 0x03EB, 0, 0x310D, 0, 0x011F, 0, 0x01E7, 0, 0x0123, 0, 0x24D6, 0, 0x011D, 0, 0x0123, 0, 0x0121, 0, 0x0121, 0, 0x0433, 0, 0x3052, 0, 0x30B2, 0, 0x2251, 0, 0x059C, 0, 0x05F3, 0, 0x059D, 0, 0x00DF, 0, 0x059E, 0, 0x05F4, 0, 0x3013, 0, 0x0998, 0, 0x0572, 0, 0x0918, 0, 0x0A98, 0, 0x0A18, 0, 0x063A, 0, 0xFECE, 0, 0xFECF, 0, 0xFED0, 0, 0x0495, 0, 0x0493, 0, 0x0491, 0, 0x095A, 0, 0x0A5A, 0, 0x0260, 0, 0x3393, 0, 0x304E, 0, 0x30AE, 0, 0x0563, 0, 0x05D2, 0, 0xFB32, 0, 0xFB32, 0, 0x05D2, 0, 0x0453, 0, 0x01BE, 0, 0x0294, 0, 0x0296, 0, 0x02C0, 0, 0x0295, 0, 0x02C1, 0, 0x02E4, 0, 0x02A1, 0, 0x02A2, 0, 0x1E21, 0, 0xFF47, 0, 0x3054, 0, 0x30B4, 0, 0x24A2, 0, 0x33AC, 0, 0x2207, 0, 0x0060, 0, 0x0316, 0, 0x0300, 0, 0x0300, 0, 0x0953, 0, 0x02CE, 0, 0xFF40, 0, 0x0340, 0, 0x003E, 0, 0x2265, 0, 0x22DB, 0, 0xFF1E, 0, 0x2273, 0, 0x2277, 0, 0x2267, 0, 0xFE65, 0, 0x0261, 0, 0x01E5, 0, 0x3050, 0, 0x00AB, 0, 0x00BB, 0, 0x2039, 0, 0x203A, 0, 0x30B0, 0, 0x3318, 0, 0x33C9, 0, 0x0068, 0, 0x04A9, 0, 0x06C1, 0, 0x09B9, 0, 0x04B3, 0, 0x0939, 0, 0x0AB9, 0, 0x0A39, 0, 0x062D, 0, 0xFEA2, 0, 0xFEA3, 0, 0x306F, 0, 0xFEA4, 0, 0x332A, 0, 0x30CF, 0, 0xFF8A, 0, 0x0A4D, 0, 0x0621, 0, 0x0621, 0x064F, 0, 0x0621, 0x064C, 0, 0x0621, 0x064E, 0, 0x0621, 0x064B, 0, 0x0621, 0, 0x0621, 0x0650, 0, 0x0621, 0x064D, 0, 0x0621, 0x0652, 0, 0x3164, 0, 0x044A, 0, 0x21BC, 0, 0x21C0, 0, 0x33CA, 0, 0x05B2, 0, 0x05B2, 0, 0x05B2, 0, 0x05B2, 0, 0x05B2, 0, 0x05B2, 0, 0x05B2, 0, 0x05B2, 0, 0x05B3, 0, 0x05B3, 0, 0x05B3, 0, 0x05B3, 0, 0x05B3, 0, 0x05B3, 0, 0x05B3, 0, 0x05B3, 0, 0x05B1, 0, 0x05B1, 0, 0x05B1, 0, 0x05B1, 0, 0x05B1, 0, 0x05B1, 0, 0x05B1, 0, 0x05B1, 0, 0x0127, 0, 0x310F, 0, 0x1E2B, 0, 0x1E29, 0, 0x24D7, 0, 0x0125, 0, 0x1E27, 0, 0x1E23, 0, 0x1E25, 0, 0x05D4, 0, 0x2665, 0, 0x2665, 0, 0x2661, 0, 0xFB34, 0, 0xFB34, 0, 0x06C1, 0, 0x0647, 0, 0x05D4, 0, 0xFBA7, 0, 0xFEEA, 0, 0xFEEA, 0, 0xFBA5, 0, 0xFBA4, 0, 0xFBA8, 0, 0xFEEB, 0, 0x3078, 0, 0xFBA9, 0, 0xFEEC, 0, 0x337B, 0, 0x30D8, 0, 0xFF8D, 0, 0x3336, 0, 0x0267, 0, 0x3339, 0, 0x05D7, 0, 0x05D7, 0, 0x0266, 0, 0x02B1, 0, 0x327B, 0, 0x321B, 0, 0x326D, 0, 0x314E, 0, 0x320D, 0, 0x3072, 0, 0x30D2, 0, 0xFF8B, 0, 0x05B4, 0, 0x05B4, 0, 0x05B4, 0, 0x05B4, 0, 0x05B4, 0, 0x05B4, 0, 0x05B4, 0, 0x05B4, 0, 0x1E96, 0, 0xFF48, 0, 0x0570, 0, 0x0E2B, 0, 0x307B, 0, 0x30DB, 0, 0xFF8E, 0, 0x05B9, 0, 0x05B9, 0, 0x05B9, 0, 0x05B9, 0, 0x05B9, 0, 0x05B9, 0, 0x05B9, 0, 0x05B9, 0, 0x0E2E, 0, 0x0309, 0, 0x0309, 0, 0x0321, 0, 0x0322, 0, 0x3342, 0, 0x03E9, 0, 0x2015, 0, 0x031B, 0, 0x2668, 0, 0x2302, 0, 0x24A3, 0, 0x02B0, 0, 0x0265, 0, 0x3075, 0, 0x3333, 0, 0x30D5, 0, 0xFF8C, 0, 0x02DD, 0, 0x030B, 0, 0x0195, 0, 0x002D, 0, 0xF6E5, 0, 0xFF0D, 0, 0xFE63, 0, 0xF6E6, 0, 0x2010, 0, 0x0069, 0, 0x00ED, 0, 0x044F, 0, 0x0987, 0, 0x3127, 0, 0x012D, 0, 0x01D0, 0, 0x24D8, 0, 0x00EE, 0, 0x0456, 0, 0x0209, 0, 0x328F, 0, 0x328B, 0, 0x323F, 0, 0x323A, 0, 0x32A5, 0, 0x3006, 0, 0x3001, 0, 0xFF64, 0, 0x3237, 0, 0x32A3, 0, 0x322F, 0, 0x323D, 0, 0x329D, 0, 0x3240, 0, 0x3296, 0, 0x3236, 0, 0x322B, 0, 0x3232, 0, 0x32A4, 0, 0x3005, 0, 0x3298, 0, 0x3238, 0, 0x32A7, 0, 0x32A6, 0, 0x32A9, 0, 0x322E, 0, 0x322A, 0, 0x3234, 0, 0x3002, 0, 0x329E, 0, 0x3243, 0, 0x3239, 0, 0x323E, 0, 0x32A8, 0, 0x3299, 0, 0x3242, 0, 0x3233, 0, 0x3000, 0, 0x3235, 0, 0x3231, 0, 0x323B, 0, 0x3230, 0, 0x323C, 0, 0x322C, 0, 0x322D, 0, 0x3007, 0, 0x328E, 0, 0x328A, 0, 0x3294, 0, 0x3290, 0, 0x328C, 0, 0x328D, 0, 0x0907, 0, 0x00EF, 0, 0x1E2F, 0, 0x04E5, 0, 0x1ECB, 0, 0x04D7, 0, 0x0435, 0, 0x3275, 0, 0x3215, 0, 0x3267, 0, 0x3147, 0, 0x3207, 0, 0x00EC, 0, 0x0A87, 0, 0x0A07, 0, 0x3044, 0, 0x1EC9, 0, 0x0988, 0, 0x0438, 0, 0x0908, 0, 0x0A88, 0, 0x0A08, 0, 0x0A40, 0, 0x020B, 0, 0x0439, 0, 0x09C0, 0, 0x0940, 0, 0x0AC0, 0, 0x0133, 0, 0x30A4, 0, 0xFF72, 0, 0x3163, 0, 0x02DC, 0, 0x05AC, 0, 0x012B, 0, 0x04E3, 0, 0x2253, 0, 0x0A3F, 0, 0xFF49, 0, 0x2206, 0, 0x221E, 0, 0x056B, 0, 0x222B, 0, 0x2321, 0, 0x2321, 0, 0xF8F5, 0, 0x2320, 0, 0x2320, 0, 0x2229, 0, 0x3305, 0, 0x25D8, 0, 0x25D9, 0, 0x263B, 0, 0x0451, 0, 0x012F, 0, 0x03B9, 0, 0x03CA, 0, 0x0390, 0, 0x0269, 0, 0x03AF, 0, 0x24A4, 0, 0x0A72, 0, 0x3043, 0, 0x30A3, 0, 0xFF68, 0, 0x09FA, 0, 0x0268, 0, 0xF6ED, 0, 0x309D, 0, 0x30FD, 0, 0x0129, 0, 0x1E2D, 0, 0x3129, 0, 0x044E, 0, 0x09BF, 0, 0x093F, 0, 0x0ABF, 0, 0x0475, 0, 0x0477, 0, 0x006A, 0, 0x0571, 0, 0x099C, 0, 0x091C, 0, 0x0A9C, 0, 0x0A1C, 0, 0x3110, 0, 0x01F0, 0, 0x24D9, 0, 0x0135, 0, 0x029D, 0, 0x025F, 0, 0x0458, 0, 0x062C, 0, 0xFE9E, 0, 0xFE9F, 0, 0xFEA0, 0, 0x0698, 0, 0xFB8B, 0, 0x099D, 0, 0x091D, 0, 0x0A9D, 0, 0x0A1D, 0, 0x057B, 0, 0x3004, 0, 0xFF4A, 0, 0x24A5, 0, 0x02B2, 0, 0x006B, 0, 0x04A1, 0, 0x0995, 0, 0x1E31, 0, 0x043A, 0, 0x049B, 0, 0x0915, 0, 0x05DB, 0, 0x0643, 0, 0xFB3B, 0, 0xFB3B, 0, 0xFEDA, 0, 0x05DB, 0, 0xFEDB, 0, 0xFEDC, 0, 0xFB4D, 0, 0x0A95, 0, 0x0A15, 0, 0x304B, 0, 0x04C4, 0, 0x30AB, 0, 0xFF76, 0, 0x03BA, 0, 0x03F0, 0, 0x3171, 0, 0x3184, 0, 0x3178, 0, 0x3179, 0, 0x330D, 0, 0x0640, 0, 0x0640, 0, 0x30F5, 0, 0x3384, 0, 0x0650, 0, 0x064D, 0, 0x049F, 0, 0xFF70, 0, 0x049D, 0, 0x310E, 0, 0x3389, 0, 0x01E9, 0, 0x0137, 0, 0x24DA, 0, 0x0137, 0, 0x1E33, 0, 0x0584, 0, 0x3051, 0, 0x30B1, 0, 0xFF79, 0, 0x056F, 0, 0x30F6, 0, 0x0138, 0, 0x0996, 0, 0x0445, 0, 0x0916, 0, 0x0A96, 0, 0x0A16, 0, 0x062E, 0, 0xFEA6, 0, 0xFEA7, 0, 0xFEA8, 0, 0x03E7, 0, 0x0959, 0, 0x0A59, 0, 0x3278, 0, 0x3218, 0, 0x326A, 0, 0x314B, 0, 0x320A, 0, 0x0E02, 0, 0x0E05, 0, 0x0E03, 0, 0x0E04, 0, 0x0E5B, 0, 0x0199, 0, 0x0E06, 0, 0x3391, 0, 0x304D, 0, 0x30AD, 0, 0xFF77, 0, 0x3315, 0, 0x3316, 0, 0x3314, 0, 0x326E, 0, 0x320E, 0, 0x3260, 0, 0x3131, 0, 0x3200, 0, 0x3133, 0, 0x045C, 0, 0x1E35, 0, 0x3398, 0, 0x33A6, 0, 0xFF4B, 0, 0x33A2, 0, 0x3053, 0, 0x33C0, 0, 0x0E01, 0, 0x30B3, 0, 0xFF7A, 0, 0x331E, 0, 0x0481, 0, 0x327F, 0, 0x0343, 0, 0x24A6, 0, 0x33AA, 0, 0x046F, 0, 0x33CF, 0, 0x029E, 0, 0x304F, 0, 0x30AF, 0, 0xFF78, 0, 0x33B8, 0, 0x33BE, 0, 0x006C, 0, 0x09B2, 0, 0x013A, 0, 0x0932, 0, 0x0AB2, 0, 0x0A32, 0, 0x0E45, 0, 0xFEFC, 0, 0xFEF8, 0, 0xFEF7, 0, 0xFEFA, 0, 0xFEF9, 0, 0xFEFB, 0, 0xFEF6, 0, 0xFEF5, 0, 0x0644, 0, 0x03BB, 0, 0x019B, 0, 0x05DC, 0, 0xFB3C, 0, 0xFB3C, 0, 0x05DC, 0, 0x05DC, 0x05B9, 0, 0x05DC, 0x05B9, 0x05BC, 0, 0x05DC, 0x05B9, 0x05BC, 0, 0x05DC, 0x05B9, 0, 0xFEDE, 0, 0xFCCA, 0, 0xFEDF, 0, 0xFCC9, 0, 0xFCCB, 0, 0xFDF2, 0, 0xFEE0, 0, 0xFD88, 0, 0xFCCC, 0, 0xFEDF, 0xFEE4, 0xFEA0, 0, 0xFEDF, 0xFEE4, 0xFEA8, 0, 0x25EF, 0, 0x019A, 0, 0x026C, 0, 0x310C, 0, 0x013E, 0, 0x013C, 0, 0x24DB, 0, 0x1E3D, 0, 0x013C, 0, 0x0140, 0, 0x0140, 0, 0x1E37, 0, 0x1E39, 0, 0x031A, 0, 0x0318, 0, 0x003C, 0, 0x2264, 0, 0x22DA, 0, 0xFF1C, 0, 0x2272, 0, 0x2276, 0, 0x2266, 0, 0xFE64, 0, 0x026E, 0, 0x258C, 0, 0x026D, 0, 0x20A4, 0, 0x056C, 0, 0x01C9, 0, 0x0459, 0, 0xF6C0, 0, 0x0933, 0, 0x0AB3, 0, 0x1E3B, 0, 0x0934, 0, 0x09E1, 0, 0x0961, 0, 0x09E3, 0, 0x0963, 0, 0x026B, 0, 0xFF4C, 0, 0x33D0, 0, 0x0E2C, 0, 0x2227, 0, 0x00AC, 0, 0x2310, 0, 0x2228, 0, 0x0E25, 0, 0x017F, 0, 0xFE4E, 0, 0x0332, 0, 0xFE4D, 0, 0x25CA, 0, 0x24A7, 0, 0x0142, 0, 0x2113, 0, 0xF6EE, 0, 0x2591, 0, 0x0E26, 0, 0x098C, 0, 0x090C, 0, 0x09E2, 0, 0x0962, 0, 0x33D3, 0, 0x006D, 0, 0x09AE, 0, 0x00AF, 0, 0x0331, 0, 0x0304, 0, 0x02CD, 0, 0xFFE3, 0, 0x1E3F, 0, 0x092E, 0, 0x0AAE, 0, 0x0A2E, 0, 0x05A4, 0, 0x05A4, 0, 0x307E, 0, 0xF895, 0, 0xF894, 0, 0x0E4B, 0, 0xF893, 0, 0xF88C, 0, 0xF88B, 0, 0x0E48, 0, 0xF88A, 0, 0xF884, 0, 0x0E31, 0, 0xF889, 0, 0x0E47, 0, 0xF88F, 0, 0xF88E, 0, 0x0E49, 0, 0xF88D, 0, 0xF892, 0, 0xF891, 0, 0x0E4A, 0, 0xF890, 0, 0x0E46, 0, 0x30DE, 0, 0xFF8F, 0, 0x2642, 0, 0x3347, 0, 0x05BE, 0, 0x2642, 0, 0x05AF, 0, 0x3383, 0, 0x3107, 0, 0x33D4, 0, 0x24DC, 0, 0x33A5, 0, 0x1E41, 0, 0x1E43, 0, 0x0645, 0, 0xFEE2, 0, 0xFEE3, 0, 0xFEE4, 0, 0xFCD1, 0, 0xFC48, 0, 0x334D, 0, 0x3081, 0, 0x337E, 0, 0x30E1, 0, 0xFF92, 0, 0x05DE, 0, 0xFB3E, 0, 0xFB3E, 0, 0x05DE, 0, 0x0574, 0, 0x05A5, 0, 0x05A6, 0, 0x05A6, 0, 0x05A5, 0, 0x0271, 0, 0x3392, 0, 0xFF65, 0, 0x00B7, 0, 0x3272, 0, 0x3212, 0, 0x3264, 0, 0x3141, 0, 0x3170, 0, 0x3204, 0, 0x316E, 0, 0x316F, 0, 0x307F, 0, 0x30DF, 0, 0xFF90, 0, 0x2212, 0, 0x0320, 0, 0x2296, 0, 0x02D7, 0, 0x2213, 0, 0x2032, 0, 0x334A, 0, 0x3349, 0, 0x0270, 0, 0x3396, 0, 0x33A3, 0, 0xFF4D, 0, 0x339F, 0, 0x3082, 0, 0x33C1, 0, 0x30E2, 0, 0xFF93, 0, 0x33D6, 0, 0x0E21, 0, 0x33A7, 0, 0x33A8, 0, 0x24A8, 0, 0x33AB, 0, 0x33B3, 0, 0xF6EF, 0, 0x026F, 0, 0x00B5, 0, 0x00B5, 0, 0x3382, 0, 0x226B, 0, 0x226A, 0, 0x338C, 0, 0x03BC, 0, 0x338D, 0, 0x3080, 0, 0x30E0, 0, 0xFF91, 0, 0x3395, 0, 0x00D7, 0, 0x339B, 0, 0x05A3, 0, 0x05A3, 0, 0x266A, 0, 0x266B, 0, 0x266D, 0, 0x266F, 0, 0x33B2, 0, 0x33B6, 0, 0x33BC, 0, 0x33B9, 0, 0x33B7, 0, 0x33BF, 0, 0x33BD, 0, 0x006E, 0, 0x09A8, 0, 0x2207, 0, 0x0144, 0, 0x0928, 0, 0x0AA8, 0, 0x0A28, 0, 0x306A, 0, 0x30CA, 0, 0xFF85, 0, 0x0149, 0, 0x3381, 0, 0x310B, 0, 0x00A0, 0, 0x0148, 0, 0x0146, 0, 0x24DD, 0, 0x1E4B, 0, 0x0146, 0, 0x1E45, 0, 0x1E47, 0, 0x306D, 0, 0x30CD, 0, 0xFF88, 0, 0x20AA, 0, 0x338B, 0, 0x0999, 0, 0x0919, 0, 0x0A99, 0, 0x0A19, 0, 0x0E07, 0, 0x3093, 0, 0x0272, 0, 0x0273, 0, 0x326F, 0, 0x320F, 0, 0x3135, 0, 0x3261, 0, 0x3136, 0, 0x3134, 0, 0x3168, 0, 0x3201, 0, 0x3167, 0, 0x3166, 0, 0x306B, 0, 0x30CB, 0, 0xFF86, 0, 0xF899, 0, 0x0E4D, 0, 0x0039, 0, 0x0669, 0, 0x09EF, 0, 0x2468, 0, 0x2792, 0, 0x096F, 0, 0x0AEF, 0, 0x0A6F, 0, 0x0669, 0, 0x3029, 0, 0x3228, 0, 0x2089, 0, 0xFF19, 0, 0xF739, 0, 0x247C, 0, 0x2490, 0, 0x06F9, 0, 0x2178, 0, 0x2079, 0, 0x2472, 0, 0x2486, 0, 0x249A, 0, 0x0E59, 0, 0x01CC, 0, 0x045A, 0, 0x30F3, 0, 0xFF9D, 0, 0x019E, 0, 0x1E49, 0, 0xFF4E, 0, 0x339A, 0, 0x09A3, 0, 0x0923, 0, 0x0AA3, 0, 0x0A23, 0, 0x0929, 0, 0x306E, 0, 0x30CE, 0, 0xFF89, 0, 0x00A0, 0, 0x0E13, 0, 0x0E19, 0, 0x0646, 0, 0xFEE6, 0, 0x06BA, 0, 0xFB9F, 0, 0xFEE7, 0xFEEC, 0, 0xFEE7, 0, 0xFCD2, 0, 0xFC4B, 0, 0xFEE8, 0, 0xFCD5, 0, 0xFC4E, 0, 0xFC8D, 0, 0x220C, 0, 0x2209, 0, 0x2209, 0, 0x2260, 0, 0x226F, 0, 0x2271, 0, 0x2279, 0, 0x2262, 0, 0x226E, 0, 0x2270, 0, 0x2226, 0, 0x2280, 0, 0x2284, 0, 0x2281, 0, 0x2285, 0, 0x0576, 0, 0x24A9, 0, 0x33B1, 0, 0x207F, 0, 0x00F1, 0, 0x03BD, 0, 0x306C, 0, 0x30CC, 0, 0xFF87, 0, 0x09BC, 0, 0x093C, 0, 0x0ABC, 0, 0x0A3C, 0, 0x0023, 0, 0xFF03, 0, 0xFE5F, 0, 0x0374, 0, 0x0375, 0, 0x2116, 0, 0x05E0, 0, 0xFB40, 0, 0xFB40, 0, 0x05E0, 0, 0x33B5, 0, 0x33BB, 0, 0x099E, 0, 0x091E, 0, 0x0A9E, 0, 0x0A1E, 0, 0x006F, 0, 0x00F3, 0, 0x0E2D, 0, 0x0275, 0, 0x04E9, 0, 0x04EB, 0, 0x0993, 0, 0x311B, 0, 0x014F, 0, 0x0911, 0, 0x0A91, 0, 0x0949, 0, 0x0AC9, 0, 0x01D2, 0, 0x24DE, 0, 0x00F4, 0, 0x1ED1, 0, 0x1ED9, 0, 0x1ED3, 0, 0x1ED5, 0, 0x1ED7, 0, 0x043E, 0, 0x0151, 0, 0x020D, 0, 0x0913, 0, 0x00F6, 0, 0x04E7, 0, 0x1ECD, 0, 0x0153, 0, 0x315A, 0, 0x02DB, 0, 0x0328, 0, 0x00F2, 0, 0x0A93, 0, 0x0585, 0, 0x304A, 0, 0x1ECF, 0, 0x01A1, 0, 0x1EDB, 0, 0x1EE3, 0, 0x1EDD, 0, 0x1EDF, 0, 0x1EE1, 0, 0x0151, 0, 0x01A3, 0, 0x020F, 0, 0x30AA, 0, 0xFF75, 0, 0x3157, 0, 0x05AB, 0, 0x014D, 0, 0x1E53, 0, 0x1E51, 0, 0x0950, 0, 0x03C9, 0, 0x03D6, 0, 0x0461, 0, 0x0277, 0, 0x047B, 0, 0x047D, 0, 0x03CE, 0, 0x0AD0, 0, 0x03BF, 0, 0x03CC, 0, 0xFF4F, 0, 0x0031, 0, 0x0661, 0, 0x09E7, 0, 0x2460, 0, 0x278A, 0, 0x0967, 0, 0x2024, 0, 0x215B, 0, 0xF6DC, 0, 0x0AE7, 0, 0x0A67, 0, 0x0661, 0, 0x00BD, 0, 0x3021, 0, 0x3220, 0, 0x2081, 0, 0xFF11, 0, 0x09F4, 0, 0xF731, 0, 0x2474, 0, 0x2488, 0, 0x06F1, 0, 0x00BC, 0, 0x2170, 0, 0x00B9, 0, 0x0E51, 0, 0x2153, 0, 0x01EB, 0, 0x01ED, 0, 0x0A13, 0, 0x0A4B, 0, 0x0254, 0, 0x24AA, 0, 0x25E6, 0, 0x2325, 0, 0x00AA, 0, 0x00BA, 0, 0x221F, 0, 0x0912, 0, 0x094A, 0, 0x00F8, 0, 0x01FF, 0, 0x3049, 0, 0x30A9, 0, 0xFF6B, 0, 0x01FF, 0, 0xF6F0, 0, 0x047F, 0, 0x00F5, 0, 0x1E4D, 0, 0x1E4F, 0, 0x3121, 0, 0x203E, 0, 0xFE4A, 0, 0x0305, 0, 0xFE49, 0, 0xFE4C, 0, 0xFE4B, 0, 0x00AF, 0, 0x09CB, 0, 0x094B, 0, 0x0ACB, 0, 0x0070, 0, 0x3380, 0, 0x332B, 0, 0x09AA, 0, 0x1E55, 0, 0x092A, 0, 0x21DF, 0, 0x21DE, 0, 0x0AAA, 0, 0x0A2A, 0, 0x3071, 0, 0x0E2F, 0, 0x30D1, 0, 0x0484, 0, 0x04C0, 0, 0x317F, 0, 0x00B6, 0, 0x2225, 0, 0x0028, 0, 0xFD3E, 0, 0xF8ED, 0, 0xF8EC, 0, 0x208D, 0, 0xFF08, 0, 0xFE59, 0, 0x207D, 0, 0xF8EB, 0, 0xFE35, 0, 0x0029, 0, 0xFD3F, 0, 0xF8F8, 0, 0xF8F7, 0, 0x208E, 0, 0xFF09, 0, 0xFE5A, 0, 0x207E, 0, 0xF8F6, 0, 0xFE36, 0, 0x2202, 0, 0x05C0, 0, 0x0599, 0, 0x33A9, 0, 0x05B7, 0, 0x05B7, 0, 0x05B7, 0, 0x05B7, 0, 0x05B7, 0, 0x05B7, 0, 0x05B7, 0, 0x05B7, 0, 0x05A1, 0, 0x3106, 0, 0x24DF, 0, 0x1E57, 0, 0x05E4, 0, 0x043F, 0, 0xFB44, 0, 0xFB44, 0, 0x333B, 0, 0xFB43, 0, 0x067E, 0, 0x057A, 0, 0x05E4, 0, 0xFB57, 0, 0xFB58, 0, 0x307A, 0, 0xFB59, 0, 0x30DA, 0, 0x04A7, 0, 0xFB4E, 0, 0x0025, 0, 0x066A, 0, 0xFF05, 0, 0xFE6A, 0, 0x002E, 0, 0x0589, 0, 0x00B7, 0, 0xFF61, 0, 0xF6E7, 0, 0xFF0E, 0, 0xFE52, 0, 0xF6E8, 0, 0x0342, 0, 0x22A5, 0, 0x2030, 0, 0x20A7, 0, 0x338A, 0, 0x09AB, 0, 0x092B, 0, 0x0AAB, 0, 0x0A2B, 0, 0x03C6, 0, 0x03D5, 0, 0x327A, 0, 0x321A, 0, 0x326C, 0, 0x314D, 0, 0x320C, 0, 0x0278, 0, 0x0E3A, 0, 0x03D5, 0, 0x01A5, 0, 0x0E1E, 0, 0x0E1C, 0, 0x0E20, 0, 0x03C0, 0, 0x3273, 0, 0x3213, 0, 0x3176, 0, 0x3265, 0, 0x3172, 0, 0x3142, 0, 0x3205, 0, 0x3174, 0, 0x3144, 0, 0x3175, 0, 0x3177, 0, 0x3173, 0, 0x3074, 0, 0x30D4, 0, 0x03D6, 0, 0x0583, 0, 0x002B, 0, 0x031F, 0, 0x2295, 0, 0x00B1, 0, 0x02D6, 0, 0xFF0B, 0, 0xFE62, 0, 0x207A, 0, 0xFF50, 0, 0x33D8, 0, 0x307D, 0, 0x261F, 0, 0x261C, 0, 0x261E, 0, 0x261D, 0, 0x30DD, 0, 0x0E1B, 0, 0x3012, 0, 0x3020, 0, 0x24AB, 0, 0x227A, 0, 0x211E, 0, 0x02B9, 0, 0x2035, 0, 0x220F, 0, 0x2305, 0, 0x30FC, 0, 0x2318, 0, 0x2282, 0, 0x2283, 0, 0x2237, 0, 0x221D, 0, 0x03C8, 0, 0x0471, 0, 0x0486, 0, 0x33B0, 0, 0x3077, 0, 0x30D7, 0, 0x33B4, 0, 0x33BA, 0, 0x0071, 0, 0x0958, 0, 0x05A8, 0, 0x0642, 0, 0xFED6, 0, 0xFED7, 0, 0xFED8, 0, 0x05B8, 0, 0x05B8, 0, 0x05B8, 0, 0x05B8, 0, 0x05B8, 0, 0x05B8, 0, 0x05B8, 0, 0x05B8, 0, 0x05B8, 0, 0x05B8, 0, 0x05B8, 0, 0x05B8, 0, 0x05B8, 0, 0x05B8, 0, 0x05B8, 0, 0x05B8, 0, 0x059F, 0, 0x3111, 0, 0x24E0, 0, 0x02A0, 0, 0xFF51, 0, 0x05E7, 0, 0xFB47, 0, 0xFB47, 0, 0x05E7, 0x05B2, 0, 0x05E7, 0x05B2, 0, 0x05E7, 0x05B1, 0, 0x05E7, 0x05B1, 0, 0x05E7, 0, 0x05E7, 0x05B4, 0, 0x05E7, 0x05B4, 0, 0x05E7, 0x05B9, 0, 0x05E7, 0x05B9, 0, 0x05E7, 0x05B7, 0, 0x05E7, 0x05B7, 0, 0x05E7, 0x05B8, 0, 0x05E7, 0x05B8, 0, 0x05E7, 0x05BB, 0, 0x05E7, 0x05BB, 0, 0x05E7, 0x05B6, 0, 0x05E7, 0x05B6, 0, 0x05E7, 0x05B0, 0, 0x05E7, 0x05B0, 0, 0x05E7, 0x05B5, 0, 0x05E7, 0x05B5, 0, 0x24AC, 0, 0x2669, 0, 0x05BB, 0, 0x05BB, 0, 0x05BB, 0, 0x05BB, 0, 0x05BB, 0, 0x05BB, 0, 0x05BB, 0, 0x05BB, 0, 0x003F, 0, 0x061F, 0, 0x055E, 0, 0x00BF, 0, 0xF7BF, 0, 0x037E, 0, 0xFF1F, 0, 0xF73F, 0, 0x0022, 0, 0x201E, 0, 0x201C, 0, 0xFF02, 0, 0x301E, 0, 0x301D, 0, 0x201D, 0, 0x2018, 0, 0x201B, 0, 0x201B, 0, 0x2019, 0, 0x0149, 0, 0x201A, 0, 0x0027, 0, 0xFF07, 0, 0x0072, 0, 0x057C, 0, 0x09B0, 0, 0x0155, 0, 0x0930, 0, 0x221A, 0, 0xF8E5, 0, 0x33AE, 0, 0x33AF, 0, 0x33AD, 0, 0x05BF, 0, 0x05BF, 0, 0x0AB0, 0, 0x0A30, 0, 0x3089, 0, 0x30E9, 0, 0xFF97, 0, 0x09F1, 0, 0x09F0, 0, 0x0264, 0, 0x2236, 0, 0x3116, 0, 0x0159, 0, 0x0157, 0, 0x24E1, 0, 0x0157, 0, 0x0211, 0, 0x1E59, 0, 0x1E5B, 0, 0x1E5D, 0, 0x203B, 0, 0x2286, 0, 0x2287, 0, 0x00AE, 0, 0xF8E8, 0, 0xF6DA, 0, 0x0631, 0, 0x0580, 0, 0xFEAE, 0, 0x308C, 0, 0x0631, 0xFEF3, 0xFE8E, 0x0644, 0, 0x30EC, 0, 0xFF9A, 0, 0x05E8, 0, 0xFB48, 0, 0x05E8, 0x05B2, 0, 0x05E8, 0x05B2, 0, 0x05E8, 0x05B1, 0, 0x05E8, 0x05B1, 0, 0x05E8, 0, 0x05E8, 0x05B4, 0, 0x05E8, 0x05B4, 0, 0x05E8, 0x05B9, 0, 0x05E8, 0x05B9, 0, 0x05E8, 0x05B7, 0, 0x05E8, 0x05B7, 0, 0x05E8, 0x05B8, 0, 0x05E8, 0x05B8, 0, 0x05E8, 0x05BB, 0, 0x05E8, 0x05BB, 0, 0x05E8, 0x05B6, 0, 0x05E8, 0x05B6, 0, 0x05E8, 0x05B0, 0, 0x05E8, 0x05B0, 0, 0x05E8, 0x05B5, 0, 0x05E8, 0x05B5, 0, 0x223D, 0, 0x0597, 0, 0x0597, 0, 0x2310, 0, 0x027E, 0, 0x027F, 0, 0x09DD, 0, 0x095D, 0, 0x03C1, 0, 0x027D, 0, 0x027B, 0, 0x02B5, 0, 0x03F1, 0, 0x02DE, 0, 0x3271, 0, 0x3211, 0, 0x3263, 0, 0x3140, 0, 0x313A, 0, 0x3169, 0, 0x3139, 0, 0x313B, 0, 0x316C, 0, 0x3203, 0, 0x313F, 0, 0x313C, 0, 0x316B, 0, 0x313D, 0, 0x313E, 0, 0x316A, 0, 0x316D, 0, 0x221F, 0, 0x0319, 0, 0x22BF, 0, 0x308A, 0, 0x30EA, 0, 0xFF98, 0, 0x02DA, 0, 0x0325, 0, 0x030A, 0, 0x02BF, 0, 0x0559, 0, 0x031C, 0, 0x02D3, 0, 0x02BE, 0, 0x0339, 0, 0x02D2, 0, 0x0213, 0, 0x3351, 0, 0x1E5F, 0, 0x027C, 0, 0x027A, 0, 0xFF52, 0, 0x308D, 0, 0x30ED, 0, 0xFF9B, 0, 0x0E23, 0, 0x24AD, 0, 0x09DC, 0, 0x0931, 0, 0x0A5C, 0, 0x0691, 0, 0xFB8D, 0, 0x09E0, 0, 0x0960, 0, 0x0AE0, 0, 0x09C4, 0, 0x0944, 0, 0x0AC4, 0, 0xF6F1, 0, 0x2590, 0, 0x0279, 0, 0x02B4, 0, 0x308B, 0, 0x30EB, 0, 0xFF99, 0, 0x09F2, 0, 0x09F3, 0, 0xF6DD, 0, 0x0E24, 0, 0x098B, 0, 0x090B, 0, 0x0A8B, 0, 0x09C3, 0, 0x0943, 0, 0x0AC3, 0, 0x0073, 0, 0x09B8, 0, 0x015B, 0, 0x1E65, 0, 0x0635, 0, 0x0938, 0, 0xFEBA, 0, 0xFEBB, 0, 0xFEBC, 0, 0x0AB8, 0, 0x0A38, 0, 0x3055, 0, 0x30B5, 0, 0xFF7B, 0, 0xFDFA, 0, 0x05E1, 0, 0xFB41, 0, 0xFB41, 0, 0x05E1, 0, 0x0E32, 0, 0x0E41, 0, 0x0E44, 0, 0x0E43, 0, 0x0E33, 0, 0x0E30, 0, 0x0E40, 0, 0xF886, 0, 0x0E35, 0, 0xF885, 0, 0x0E34, 0, 0x0E42, 0, 0xF888, 0, 0x0E37, 0, 0xF887, 0, 0x0E36, 0, 0x0E38, 0, 0x0E39, 0, 0x3119, 0, 0x0161, 0, 0x1E67, 0, 0x015F, 0, 0x0259, 0, 0x04D9, 0, 0x04DB, 0, 0x025A, 0, 0x24E2, 0, 0x015D, 0, 0x0219, 0, 0x1E61, 0, 0x1E63, 0, 0x1E69, 0, 0x033C, 0, 0x2033, 0, 0x02CA, 0, 0x00A7, 0, 0x0633, 0, 0xFEB2, 0, 0xFEB3, 0, 0xFEB4, 0, 0x05B6, 0, 0x05B6, 0, 0x05B6, 0, 0x05B6, 0, 0x05B6, 0, 0x05B6, 0, 0x05B6, 0, 0x0592, 0, 0x05B6, 0, 0x057D, 0, 0x305B, 0, 0x30BB, 0, 0xFF7E, 0, 0x003B, 0, 0x061B, 0, 0xFF1B, 0, 0xFE54, 0, 0x309C, 0, 0xFF9F, 0, 0x3322, 0, 0x3323, 0, 0x0037, 0, 0x0667, 0, 0x09ED, 0, 0x2466, 0, 0x2790, 0, 0x096D, 0, 0x215E, 0, 0x0AED, 0, 0x0A6D, 0, 0x0667, 0, 0x3027, 0, 0x3226, 0, 0x2087, 0, 0xFF17, 0, 0xF737, 0, 0x247A, 0, 0x248E, 0, 0x06F7, 0, 0x2176, 0, 0x2077, 0, 0x2470, 0, 0x2484, 0, 0x2498, 0, 0x0E57, 0, 0x00AD, 0, 0x0577, 0, 0x09B6, 0, 0x0448, 0, 0x0651, 0, 0xFC61, 0, 0xFC5E, 0, 0xFC60, 0, 0x0651, 0x064B, 0, 0xFC62, 0, 0xFC5F, 0, 0x2592, 0, 0x2593, 0, 0x2591, 0, 0x2592, 0, 0x0936, 0, 0x0AB6, 0, 0x0A36, 0, 0x0593, 0, 0x3115, 0, 0x0449, 0, 0x0634, 0, 0xFEB6, 0, 0xFEB7, 0, 0xFEB8, 0, 0x03E3, 0, 0x20AA, 0, 0x20AA, 0, 0x05B0, 0, 0x05B0, 0, 0x05B0, 0, 0x05B0, 0, 0x05B0, 0, 0x05B0, 0, 0x05B0, 0, 0x05B0, 0, 0x05B0, 0, 0x04BB, 0, 0x03ED, 0, 0x05E9, 0, 0xFB49, 0, 0xFB49, 0, 0xFB2C, 0, 0xFB2C, 0, 0xFB2D, 0, 0xFB2D, 0, 0x05C1, 0, 0x05E9, 0, 0xFB2A, 0, 0xFB2A, 0, 0xFB2B, 0, 0xFB2B, 0, 0x0282, 0, 0x03C3, 0, 0x03C2, 0, 0x03C2, 0, 0x03F2, 0, 0x3057, 0, 0x30B7, 0, 0xFF7C, 0, 0x05BD, 0, 0x05BD, 0, 0x223C, 0, 0x05C2, 0, 0x3274, 0, 0x3214, 0, 0x317E, 0, 0x3266, 0, 0x317A, 0, 0x3145, 0, 0x317B, 0, 0x3206, 0, 0x317D, 0, 0x317C, 0, 0x0036, 0, 0x0666, 0, 0x09EC, 0, 0x2465, 0, 0x278F, 0, 0x096C, 0, 0x0AEC, 0, 0x0A6C, 0, 0x0666, 0, 0x3026, 0, 0x3225, 0, 0x2086, 0, 0xFF16, 0, 0xF736, 0, 0x2479, 0, 0x248D, 0, 0x06F6, 0, 0x2175, 0, 0x2076, 0, 0x246F, 0, 0x09F9, 0, 0x2483, 0, 0x2497, 0, 0x0E56, 0, 0x002F, 0, 0xFF0F, 0, 0x017F, 0, 0x1E9B, 0, 0x263A, 0, 0xFF53, 0, 0x05C3, 0, 0x00AD, 0, 0x044C, 0, 0x305D, 0, 0x30BD, 0, 0xFF7F, 0, 0x0338, 0, 0x0337, 0, 0x0E29, 0, 0x0E28, 0, 0x0E0B, 0, 0x0E2A, 0, 0x0020, 0, 0x0020, 0, 0x2660, 0, 0x2660, 0, 0x2664, 0, 0x24AE, 0, 0x033B, 0, 0x33C4, 0, 0x339D, 0, 0x25A9, 0, 0x25A4, 0, 0x338F, 0, 0x339E, 0, 0x33CE, 0, 0x33D1, 0, 0x33D2, 0, 0x338E, 0, 0x33D5, 0, 0x339C, 0, 0x33A1, 0, 0x25A6, 0, 0x25A7, 0, 0x25A8, 0, 0x25A5, 0, 0x25A3, 0, 0x33DB, 0, 0x09B7, 0, 0x0937, 0, 0x0AB7, 0, 0x3149, 0, 0x3185, 0, 0x3180, 0, 0x3132, 0, 0x3165, 0, 0x3143, 0, 0x3146, 0, 0x3138, 0, 0xF6F2, 0, 0x00A3, 0, 0xFFE1, 0, 0x0336, 0, 0x0335, 0, 0x2282, 0, 0x228A, 0, 0x2286, 0, 0x227B, 0, 0x220B, 0, 0x3059, 0, 0x30B9, 0, 0xFF7D, 0, 0x0652, 0, 0x2211, 0, 0x263C, 0, 0x2283, 0, 0x228B, 0, 0x2287, 0, 0x33DC, 0, 0x337C, 0, 0x0074, 0, 0x09A4, 0, 0x22A4, 0, 0x22A3, 0, 0x0924, 0, 0x0AA4, 0, 0x0A24, 0, 0x0637, 0, 0xFEC2, 0, 0xFEC3, 0, 0x305F, 0, 0xFEC4, 0, 0x337D, 0, 0x30BF, 0, 0xFF80, 0, 0x0640, 0, 0x03C4, 0, 0x05EA, 0, 0xFB4A, 0, 0xFB4A, 0, 0xFB4A, 0, 0x05EA, 0, 0x0167, 0, 0x310A, 0, 0x0165, 0, 0x02A8, 0, 0x0163, 0, 0x0686, 0, 0xFB7B, 0, 0xFB7C, 0, 0xFB7D, 0, 0xFB7C, 0xFEE4, 0, 0x24E3, 0, 0x1E71, 0, 0x0163, 0, 0x1E97, 0, 0x1E6B, 0, 0x1E6D, 0, 0x0442, 0, 0x04AD, 0, 0x062A, 0, 0xFE96, 0, 0xFCA2, 0, 0xFC0C, 0, 0xFE97, 0, 0x3066, 0, 0xFCA1, 0, 0xFC0B, 0, 0x0629, 0, 0xFE94, 0, 0xFE98, 0, 0xFCA4, 0, 0xFC0E, 0, 0xFC73, 0, 0x30C6, 0, 0xFF83, 0, 0x2121, 0, 0x260E, 0, 0x05A0, 0, 0x05A9, 0, 0x2469, 0, 0x3229, 0, 0x247D, 0, 0x2491, 0, 0x2179, 0, 0x02A7, 0, 0x05D8, 0, 0xFB38, 0, 0xFB38, 0, 0x05D8, 0, 0x04B5, 0, 0x059B, 0, 0x059B, 0, 0x09A5, 0, 0x0925, 0, 0x0AA5, 0, 0x0A25, 0, 0x0630, 0, 0xFEAC, 0, 0xF898, 0, 0xF897, 0, 0x0E4C, 0, 0xF896, 0, 0x062B, 0, 0xFE9A, 0, 0xFE9B, 0, 0xFE9C, 0, 0x2203, 0, 0x2234, 0, 0x03B8, 0, 0x03D1, 0, 0x03D1, 0, 0x3279, 0, 0x3219, 0, 0x326B, 0, 0x314C, 0, 0x320B, 0, 0x246C, 0, 0x2480, 0, 0x2494, 0, 0x0E11, 0, 0x01AD, 0, 0x0E12, 0, 0x00FE, 0, 0x0E17, 0, 0x0E10, 0, 0x0E18, 0, 0x0E16, 0, 0x0482, 0, 0x066C, 0, 0x066C, 0, 0x0033, 0, 0x0663, 0, 0x09E9, 0, 0x2462, 0, 0x278C, 0, 0x0969, 0, 0x215C, 0, 0x0AE9, 0, 0x0A69, 0, 0x0663, 0, 0x3023, 0, 0x3222, 0, 0x2083, 0, 0xFF13, 0, 0x09F6, 0, 0xF733, 0, 0x2476, 0, 0x248A, 0, 0x06F3, 0, 0x00BE, 0, 0xF6DE, 0, 0x2172, 0, 0x00B3, 0, 0x0E53, 0, 0x3394, 0, 0x3061, 0, 0x30C1, 0, 0xFF81, 0, 0x3270, 0, 0x3210, 0, 0x3262, 0, 0x3137, 0, 0x3202, 0, 0x02DC, 0, 0x0330, 0, 0x0303, 0, 0x0303, 0, 0x0360, 0, 0x223C, 0, 0x0334, 0, 0x033E, 0, 0x2297, 0, 0x0596, 0, 0x0596, 0, 0x0A70, 0, 0x0483, 0, 0x057F, 0, 0x1E6F, 0, 0xFF54, 0, 0x0569, 0, 0x3068, 0, 0x30C8, 0, 0xFF84, 0, 0x02E5, 0, 0x02E9, 0, 0x02E6, 0, 0x02E8, 0, 0x02E7, 0, 0x01BD, 0, 0x0185, 0, 0x01A8, 0, 0x0384, 0, 0x3327, 0, 0x0E0F, 0, 0x3014, 0, 0xFE5D, 0, 0xFE39, 0, 0x3015, 0, 0xFE5E, 0, 0xFE3A, 0, 0x0E15, 0, 0x01AB, 0, 0x24AF, 0, 0x2122, 0, 0xF8EA, 0, 0xF6DB, 0, 0x0288, 0, 0x25BC, 0, 0x25C4, 0, 0x25BA, 0, 0x25B2, 0, 0x02A6, 0, 0x05E6, 0, 0xFB46, 0, 0xFB46, 0, 0x05E6, 0, 0x0446, 0, 0x05B5, 0, 0x05B5, 0, 0x05B5, 0, 0x05B5, 0, 0x05B5, 0, 0x05B5, 0, 0x05B5, 0, 0x05B5, 0, 0x045B, 0, 0xF6F3, 0, 0x099F, 0, 0x091F, 0, 0x0A9F, 0, 0x0A1F, 0, 0x0679, 0, 0xFB67, 0, 0xFB68, 0, 0xFB69, 0, 0x09A0, 0, 0x0920, 0, 0x0AA0, 0, 0x0A20, 0, 0x0287, 0, 0x3064, 0, 0x30C4, 0, 0xFF82, 0, 0x3063, 0, 0x30C3, 0, 0xFF6F, 0, 0x246B, 0, 0x247F, 0, 0x2493, 0, 0x217B, 0, 0x2473, 0, 0x5344, 0, 0x2487, 0, 0x249B, 0, 0x0032, 0, 0x0662, 0, 0x09E8, 0, 0x2461, 0, 0x278B, 0, 0x0968, 0, 0x2025, 0, 0x2025, 0, 0xFE30, 0, 0x0AE8, 0, 0x0A68, 0, 0x0662, 0, 0x3022, 0, 0x3221, 0, 0x2082, 0, 0xFF12, 0, 0x09F5, 0, 0xF732, 0, 0x2475, 0, 0x2489, 0, 0x06F2, 0, 0x2171, 0, 0x01BB, 0, 0x00B2, 0, 0x0E52, 0, 0x2154, 0, 0x0075, 0, 0x00FA, 0, 0x0289, 0, 0x0989, 0, 0x3128, 0, 0x016D, 0, 0x01D4, 0, 0x24E4, 0, 0x00FB, 0, 0x1E77, 0, 0x0443, 0, 0x0951, 0, 0x0171, 0, 0x0215, 0, 0x0909, 0, 0x00FC, 0, 0x01D8, 0, 0x1E73, 0, 0x01DA, 0, 0x04F1, 0, 0x01DC, 0, 0x01D6, 0, 0x1EE5, 0, 0x00F9, 0, 0x0A89, 0, 0x0A09, 0, 0x3046, 0, 0x1EE7, 0, 0x01B0, 0, 0x1EE9, 0, 0x1EF1, 0, 0x1EEB, 0, 0x1EED, 0, 0x1EEF, 0, 0x0171, 0, 0x04F3, 0, 0x0217, 0, 0x30A6, 0, 0xFF73, 0, 0x0479, 0, 0x315C, 0, 0x016B, 0, 0x04EF, 0, 0x1E7B, 0, 0x0A41, 0, 0xFF55, 0, 0x005F, 0, 0x2017, 0, 0xFF3F, 0, 0xFE33, 0, 0xFE4F, 0, 0x222A, 0, 0x2200, 0, 0x0173, 0, 0x24B0, 0, 0x2580, 0, 0x05C4, 0, 0x03C5, 0, 0x03CB, 0, 0x03B0, 0, 0x028A, 0, 0x03CD, 0, 0x031D, 0, 0x02D4, 0, 0x0A73, 0, 0x016F, 0, 0x045E, 0, 0x3045, 0, 0x30A5, 0, 0xFF69, 0, 0x04AF, 0, 0x04B1, 0, 0x0169, 0, 0x1E79, 0, 0x1E75, 0, 0x098A, 0, 0x090A, 0, 0x0A8A, 0, 0x0A0A, 0, 0x0A42, 0, 0x09C2, 0, 0x0942, 0, 0x0AC2, 0, 0x09C1, 0, 0x0941, 0, 0x0AC1, 0, 0x0076, 0, 0x0935, 0, 0x0AB5, 0, 0x0A35, 0, 0x30F7, 0, 0x05D5, 0, 0xFB35, 0, 0xFB35, 0, 0xFB35, 0, 0x05D5, 0, 0xFB4B, 0, 0xFB4B, 0, 0x05F0, 0, 0x05F1, 0, 0x24E5, 0, 0x1E7F, 0, 0x0432, 0, 0x06A4, 0, 0xFB6B, 0, 0xFB6C, 0, 0xFB6D, 0, 0x30F9, 0, 0x2640, 0, 0x007C, 0, 0x030D, 0, 0x0329, 0, 0x02CC, 0, 0x02C8, 0, 0x057E, 0, 0x028B, 0, 0x30F8, 0, 0x09CD, 0, 0x094D, 0, 0x0ACD, 0, 0x0983, 0, 0x0903, 0, 0x0A83, 0, 0xFF56, 0, 0x0578, 0, 0x309E, 0, 0x30FE, 0, 0x309B, 0, 0xFF9E, 0, 0x30FA, 0, 0x24B1, 0, 0x1E7D, 0, 0x028C, 0, 0x3094, 0, 0x30F4, 0, 0x0077, 0, 0x1E83, 0, 0x3159, 0, 0x308F, 0, 0x30EF, 0, 0xFF9C, 0, 0x3158, 0, 0x308E, 0, 0x30EE, 0, 0x3357, 0, 0x301C, 0, 0xFE34, 0, 0x0648, 0, 0xFEEE, 0, 0x0624, 0, 0xFE86, 0, 0x33DD, 0, 0x24E6, 0, 0x0175, 0, 0x1E85, 0, 0x1E87, 0, 0x1E89, 0, 0x3091, 0, 0x2118, 0, 0x30F1, 0, 0x315E, 0, 0x315D, 0, 0x1E81, 0, 0x25E6, 0, 0x25CB, 0, 0x25D9, 0, 0x300E, 0, 0xFE43, 0, 0x300F, 0, 0xFE44, 0, 0x25C7, 0, 0x25C8, 0, 0x25BF, 0, 0x25BD, 0, 0x25C3, 0, 0x25C1, 0, 0x3016, 0, 0x3017, 0, 0x25B9, 0, 0x25B7, 0, 0x25AB, 0, 0x263A, 0, 0x25A1, 0, 0x2606, 0, 0x260F, 0, 0x3018, 0, 0x3019, 0, 0x25B5, 0, 0x25B3, 0, 0x3090, 0, 0x30F0, 0, 0x315F, 0, 0xFF57, 0, 0x3092, 0, 0x30F2, 0, 0xFF66, 0, 0x20A9, 0, 0xFFE6, 0, 0x0E27, 0, 0x24B2, 0, 0x1E98, 0, 0x02B7, 0, 0x028D, 0, 0x01BF, 0, 0x0078, 0, 0x033D, 0, 0x3112, 0, 0x24E7, 0, 0x1E8D, 0, 0x1E8B, 0, 0x056D, 0, 0x03BE, 0, 0xFF58, 0, 0x24B3, 0, 0x02E3, 0, 0x0079, 0, 0x334E, 0, 0x09AF, 0, 0x00FD, 0, 0x092F, 0, 0x3152, 0, 0x0AAF, 0, 0x0A2F, 0, 0x3084, 0, 0x30E4, 0, 0xFF94, 0, 0x3151, 0, 0x0E4E, 0, 0x3083, 0, 0x30E3, 0, 0xFF6C, 0, 0x0463, 0, 0x24E8, 0, 0x0177, 0, 0x00FF, 0, 0x1E8F, 0, 0x1EF5, 0, 0x064A, 0, 0x06D2, 0, 0xFBAF, 0, 0xFEF2, 0, 0x0626, 0, 0xFE8A, 0, 0xFE8B, 0, 0xFE8C, 0, 0xFEF3, 0, 0xFEF4, 0, 0xFCDD, 0, 0xFC58, 0, 0xFC94, 0, 0x06D1, 0, 0x3156, 0, 0x00A5, 0, 0xFFE5, 0, 0x3155, 0, 0x3186, 0, 0x05AA, 0, 0x05AA, 0, 0x044B, 0, 0x04F9, 0, 0x3181, 0, 0x3183, 0, 0x3182, 0, 0x059A, 0, 0x1EF3, 0, 0x01B4, 0, 0x1EF7, 0, 0x0575, 0, 0x0457, 0, 0x3162, 0, 0x262F, 0, 0x0582, 0, 0xFF59, 0, 0x05D9, 0, 0xFB39, 0, 0xFB39, 0, 0x05D9, 0, 0x05F2, 0, 0xFB1F, 0, 0x3088, 0, 0x3189, 0, 0x30E8, 0, 0xFF96, 0, 0x315B, 0, 0x3087, 0, 0x30E7, 0, 0xFF6E, 0, 0x03F3, 0, 0x3188, 0, 0x3187, 0, 0x0E22, 0, 0x0E0D, 0, 0x24B4, 0, 0x037A, 0, 0x0345, 0, 0x01A6, 0, 0x1E99, 0, 0x02B8, 0, 0x1EF9, 0, 0x028E, 0, 0x3086, 0, 0x318C, 0, 0x30E6, 0, 0xFF95, 0, 0x3160, 0, 0x046B, 0, 0x046D, 0, 0x0467, 0, 0x0469, 0, 0x3085, 0, 0x30E5, 0, 0xFF6D, 0, 0x318B, 0, 0x318A, 0, 0x09DF, 0, 0x095F, 0, 0x007A, 0, 0x0566, 0, 0x017A, 0, 0x095B, 0, 0x0A5B, 0, 0x0638, 0, 0xFEC6, 0, 0xFEC7, 0, 0x3056, 0, 0xFEC8, 0, 0x0632, 0, 0xFEB0, 0, 0x30B6, 0, 0x0595, 0, 0x0594, 0, 0x0598, 0, 0x05D6, 0, 0xFB36, 0, 0xFB36, 0, 0x05D6, 0, 0x3117, 0, 0x017E, 0, 0x24E9, 0, 0x1E91, 0, 0x0291, 0, 0x017C, 0, 0x017C, 0, 0x1E93, 0, 0x0437, 0, 0x0499, 0, 0x04DF, 0, 0x305C, 0, 0x30BC, 0, 0x0030, 0, 0x0660, 0, 0x09E6, 0, 0x0966, 0, 0x0AE6, 0, 0x0A66, 0, 0x0660, 0, 0x2080, 0, 0xFF10, 0, 0xF730, 0, 0x06F0, 0, 0x2070, 0, 0x0E50, 0, 0xFEFF, 0, 0x200C, 0, 0x200B, 0, 0x03B6, 0, 0x3113, 0, 0x056A, 0, 0x04C2, 0, 0x0436, 0, 0x0497, 0, 0x04DD, 0, 0x3058, 0, 0x30B8, 0, 0x05AE, 0, 0x1E95, 0, 0xFF5A, 0, 0x305E, 0, 0x30BE, 0, 0x24B5, 0, 0x0290, 0, 0x01B6, 0, 0x305A, 0, 0x30BA, 0, 0 }; static const char* const dingnames[] = {"a100", "a101", "a102", "a103", "a104", "a105", "a106", "a107", "a108", "a109", "a10", "a110", "a111", "a112", "a117", "a118", "a119", "a11", "a120", "a121", "a122", "a123", "a124", "a125", "a126", "a127", "a128", "a129", "a12", "a130", "a131", "a132", "a133", "a134", "a135", "a136", "a137", "a138", "a139", "a13", "a140", "a141", "a142", "a143", "a144", "a145", "a146", "a147", "a148", "a149", "a14", "a150", "a151", "a152", "a153", "a154", "a155", "a156", "a157", "a158", "a159", "a15", "a160", "a161", "a162", "a163", "a164", "a165", "a166", "a167", "a168", "a169", "a16", "a170", "a171", "a172", "a173", "a174", "a175", "a176", "a177", "a178", "a179", "a17", "a180", "a181", "a182", "a183", "a184", "a185", "a186", "a187", "a188", "a189", "a18", "a190", "a191", "a192", "a193", "a194", "a195", "a196", "a197", "a198", "a199", "a19", "a1", "a200", "a201", "a202", "a203", "a204", "a205", "a206", "a20", "a21", "a22", "a23", "a24", "a25", "a26", "a27", "a28", "a29", "a2", "a30", "a31", "a32", "a33", "a34", "a35", "a36", "a37", "a38", "a39", "a3", "a40", "a41", "a42", "a43", "a44", "a45", "a46", "a47", "a48", "a49", "a4", "a50", "a51", "a52", "a53", "a54", "a55", "a56", "a57", "a58", "a59", "a5", "a60", "a61", "a62", "a63", "a64", "a65", "a66", "a67", "a68", "a69", "a6", "a70", "a71", "a72", "a73", "a74", "a75", "a76", "a77", "a78", "a79", "a7", "a81", "a82", "a83", "a84", "a85", "a86", "a87", "a88", "a89", "a8", "a90", "a91", "a92", "a93", "a94", "a95", "a96", "a97", "a98", "a99", "a9", 0 }; static const int dingcodes[] = {0x275E, 0, 0x2761, 0, 0x2762, 0, 0x2763, 0, 0x2764, 0, 0x2710, 0, 0x2765, 0, 0x2766, 0, 0x2767, 0, 0x2660, 0, 0x2721, 0, 0x2665, 0, 0x2666, 0, 0x2663, 0, 0x2709, 0, 0x2708, 0, 0x2707, 0, 0x261B, 0, 0x2460, 0, 0x2461, 0, 0x2462, 0, 0x2463, 0, 0x2464, 0, 0x2465, 0, 0x2466, 0, 0x2467, 0, 0x2468, 0, 0x2469, 0, 0x261E, 0, 0x2776, 0, 0x2777, 0, 0x2778, 0, 0x2779, 0, 0x277A, 0, 0x277B, 0, 0x277C, 0, 0x277D, 0, 0x277E, 0, 0x277F, 0, 0x270C, 0, 0x2780, 0, 0x2781, 0, 0x2782, 0, 0x2783, 0, 0x2784, 0, 0x2785, 0, 0x2786, 0, 0x2787, 0, 0x2788, 0, 0x2789, 0, 0x270D, 0, 0x278A, 0, 0x278B, 0, 0x278C, 0, 0x278D, 0, 0x278E, 0, 0x278F, 0, 0x2790, 0, 0x2791, 0, 0x2792, 0, 0x2793, 0, 0x270E, 0, 0x2794, 0, 0x2192, 0, 0x27A3, 0, 0x2194, 0, 0x2195, 0, 0x2799, 0, 0x279B, 0, 0x279C, 0, 0x279D, 0, 0x279E, 0, 0x270F, 0, 0x279F, 0, 0x27A0, 0, 0x27A1, 0, 0x27A2, 0, 0x27A4, 0, 0x27A5, 0, 0x27A6, 0, 0x27A7, 0, 0x27A8, 0, 0x27A9, 0, 0x2711, 0, 0x27AB, 0, 0x27AD, 0, 0x27AF, 0, 0x27B2, 0, 0x27B3, 0, 0x27B5, 0, 0x27B8, 0, 0x27BA, 0, 0x27BB, 0, 0x27BC, 0, 0x2712, 0, 0x27BD, 0, 0x27BE, 0, 0x279A, 0, 0x27AA, 0, 0x27B6, 0, 0x27B9, 0, 0x2798, 0, 0x27B4, 0, 0x27B7, 0, 0x27AC, 0, 0x2713, 0, 0x2701, 0, 0x27AE, 0, 0x27B1, 0, 0x2703, 0, 0x2750, 0, 0x2752, 0, 0x276E, 0, 0x2770, 0, 0x2714, 0, 0x2715, 0, 0x2716, 0, 0x2717, 0, 0x2718, 0, 0x2719, 0, 0x271A, 0, 0x271B, 0, 0x271C, 0, 0x2722, 0, 0x2702, 0, 0x2723, 0, 0x2724, 0, 0x2725, 0, 0x2726, 0, 0x2727, 0, 0x2605, 0, 0x2729, 0, 0x272A, 0, 0x272B, 0, 0x272C, 0, 0x2704, 0, 0x272D, 0, 0x272E, 0, 0x272F, 0, 0x2730, 0, 0x2731, 0, 0x2732, 0, 0x2733, 0, 0x2734, 0, 0x2735, 0, 0x2736, 0, 0x260E, 0, 0x2737, 0, 0x2738, 0, 0x2739, 0, 0x273A, 0, 0x273B, 0, 0x273C, 0, 0x273D, 0, 0x273E, 0, 0x273F, 0, 0x2740, 0, 0x2706, 0, 0x2741, 0, 0x2742, 0, 0x2743, 0, 0x2744, 0, 0x2745, 0, 0x2746, 0, 0x2747, 0, 0x2748, 0, 0x2749, 0, 0x274A, 0, 0x271D, 0, 0x274B, 0, 0x25CF, 0, 0x274D, 0, 0x25A0, 0, 0x274F, 0, 0x2751, 0, 0x25B2, 0, 0x25BC, 0, 0x25C6, 0, 0x2756, 0, 0x271E, 0, 0x25D7, 0, 0x2758, 0, 0x2759, 0, 0x275A, 0, 0x276F, 0, 0x2771, 0, 0x2772, 0, 0x2773, 0, 0x2768, 0, 0x271F, 0, 0x2769, 0, 0x276C, 0, 0x276D, 0, 0x276A, 0, 0x276B, 0, 0x2774, 0, 0x2775, 0, 0x275B, 0, 0x275C, 0, 0x275D, 0, 0x2720, 0, 0 }; const char * const *n = dingbats ? dingnames : names; const int *c = dingbats ? dingcodes : codes; while(*n) { Glib::ustring tmp; while(*c) tmp += u(*c++); c++; namemap[*n] = 0; CodeMap::const_iterator i = codemap.insert(std::make_pair(tmp, &(namemap.find(*n)->first))); namemap[*n] = &(i->first); n++; } } passepartout-0.7.1/src/ps/misc.cc000066400000000000000000000003551140125232500167220ustar00rootroot00000000000000/// // Copyright (C) 2003, 2004, Fredrik Arnerup & Rasmus Kaj, See COPYING /// #include "misc.h" namespace PS { std::ostream& operator << (std::ostream& out, const Concat& c) { return out << '[' << c.matrix << "] concat\n"; } } passepartout-0.7.1/src/ps/misc.h000066400000000000000000000007451140125232500165670ustar00rootroot00000000000000#ifndef PS_MISC_H // -*- c++ -*- #define PS_MISC_H /// // Copyright (C) 2002 - 2004, Fredrik Arnerup & Rasmus Kaj, See COPYING /// #include #include namespace PS { /** * Utility class to concat a transformation matrix to PostScript. */ class Concat { public: explicit Concat(const Matrix& m) : matrix(m) {} friend std::ostream& operator << (std::ostream& out, const Concat& c); private: const Matrix& matrix; }; } #endif passepartout-0.7.1/src/ps/pdf.cc000066400000000000000000000652351140125232500165500ustar00rootroot00000000000000/// // Copyright (C) 2002 - 2004, Fredrik Arnerup & Rasmus Kaj, See COPYING /// #include "pdf.h" #include "pfb2pfa.h" #include "fonts/fontmetrics.hh" #include "fonts/fontmanager.hh" #include "fonts/freetype.hh" /// \todo remove #include "util/filesys.h" #include "util/stringutil.h" #include "util/warning.h" #include #include #include #include #include #include #include namespace { const char* standard_fonts[] = { "Times-Roman", "Times-Bold", "Times-Italic", "Times-BoldItalic", "Helvetica", "Helvetica-BoldOblique", "Helvetica-Oblique", "Helvetica-Bold", "Courier", "Courier-Bold", "Courier-Oblique", "Courier-BoldOblique", "Symbol", "ZapfDingbats", 0 }; /// \todo move into FontInfo or something enum FontType { TYPE1, TRUETYPE }; } /// \todo move this into FontInfo itself FontType getFontType(const font::FontInfo &fontinfo) { // find out the font type try { dynamic_cast(fontinfo.getMetrics()); return TRUETYPE; } catch(const std::bad_cast&) { } return TYPE1; // the type is type1 unless it is truetype } namespace PDF { std::ostream& operator << (std::ostream& out, Object& obj) { return obj.write(out); } ReferencedObject::ReferencedObject(Ref::Ptr ref, Object::Ptr object) :obj_(object), ref_(ref) {} Ref::Ptr ReferencedObject::get_ref() const { if(!ref_) throw std::runtime_error("get_ref for object with no ref yet"); return ref_; } std::ostream& ReferencedObject::write(std::ostream& out) { out << ref_->get_num() << ' ' << ref_->get_generation() << " obj\n" << obj_ << "endobj\n"; return out; } XRefs::Ptr XRefs::create() { return Ptr(new XRefs); } XRefs::XRefs() {} Ref::Ptr XRefs::add_object(Object::Ptr object) { ReferencedObject::Ptr ro = ReferencedObject::create(Ref::create(objects.size() + 1, 0u), object); objects.push_back(ro); return ro->get_ref(); } std::streampos XRefs::get_xref_offset() { return xref_offset; } Ref::Num XRefs::get_num_of_refs() const { return objects.size(); } Name::Name(const std::string& name_) : name(name_) {} bool Name::operator < (const Name& x) const { return this->name < x.name; } const std::string& Name::get_name() const { return name; } std::ostream& Name::write(std::ostream& out) { out << '/' << name; return out; } template<> std::ostream& String::write(std::ostream& out) { out << '('; out << value_; // Todo: Handle special chars! out << ')'; return out; } Object::Ptr Array::push_back(Object::Ptr object) { items.push_back(object); return object; } std::ostream& Array::write(std::ostream& out) { out << '['; for(Items::const_iterator i = items.begin(); i != items.end(); ++i) out << *i << ' '; out << ']'; return out; } Array::Ptr rectangle(int llx, int lly, int urx, int ury) { Array::Ptr result = Array::create(); result->push_back(Integer::create(llx)); result->push_back(Integer::create(lly)); result->push_back(Integer::create(urx)); result->push_back(Integer::create(ury)); return result; } Dictionary::Dictionary() {} Object::Ptr Dictionary::set_entry(const std::string& name, Object::Ptr object) { entries[name] = object; return object; } Object::Ptr Dictionary::set_entry_name(const std::string& name, const std::string& value){ return set_entry(name, Name::create(value)); } Object::Ptr Dictionary::set_entry_int(const std::string& name, int value) { return set_entry(name, Integer::create(value)); } const Object::Ptr Dictionary::get_entry(const std::string& name) const { Entries::const_iterator i = entries.find(name); if(i != entries.end()) return i->second; else return Object::Ptr(); } Object::Ptr Dictionary::get_entry(const std::string& name) { Entries::iterator i = entries.find(name); if(i != entries.end()) return i->second; else return Object::Ptr(); } std::ostream& Dictionary::write(std::ostream& out) { out << "<<\n"; for(Entries::const_iterator i = entries.begin(); i != entries.end(); i++) { out << '/' << i->first << ' ' << i->second << '\n'; } out << ">>\n"; return out; } class Resources : public Dictionary { public: typedef RefCountPtr Ptr; enum Id { FONTS, XOBJS, N }; static Ptr create() { return Ptr(new Resources); } Dictionary::Ptr get(Id id, const std::string& name) { if(!resource[id]) { resource[id] = Dictionary::create(); set_entry(name, resource[id]); } return resource[id]; } std::string registerXObj(Ref::Ptr object) { Dictionary::Ptr res = get(XOBJS, "XObject"); const std::string name = "X" + tostr(res->size()); res->set_entry(name, object); return name; } const std::string& registerFont(PDF::Document::FontWithName fwn) { Dictionary::Ptr res = get(Resources::FONTS, "Font"); res->set_entry(fwn.second, fwn.first); return fwn.second; } protected: Resources() { resource[FONTS] = Dictionary::Ptr(); resource[XOBJS] = Dictionary::Ptr(); } private: Dictionary::Ptr resource[N]; }; Stream::Stream() { // Scientific notation is not allowed in PDF. /// \note Here I set fixed, but I actually don't want that. Trailing zero /// decimals should be truncated ... data_.setf(std::ios_base::fixed, std::ios_base::floatfield); } std::ostream& Stream::write(std::ostream& out) { const std::string streamdata = data_.str(); set_entry_int("Length", streamdata.length()); Dictionary::write(out); out << "stream\n" << streamdata << "\nendstream\n"; return out; } std::string Stream::rawdata() const { return data_.str(); } class Page: public Dictionary { public: typedef RefCountPtr Ptr; static Ptr create(int width, int height, Ref::Ptr parent, Document::Ptr document); Content::Ptr get_content(); /** * Make sure a font is loaded in the document, return the font resource * name for this page. */ std::string getFont(const font::FontInfo& font); /** * Register an object for use as an XObject. The object is * given a name in the resource dictionary for XObjects. * \param object the object * \return the XObject name of the object */ std::string registerXObj(Object::Ptr object); void set_parent(Ref::Ptr ref); Document::Ptr document() { return document_; } Resources::Ptr resources() { return resources_; } protected: Page(int width, int height, Ref::Ptr parent, Document::Ptr document); private: Document::Ptr document_; Content::Ptr content; Resources::Ptr resources_; int num_reffed_fonts; }; Content::Ptr Content::create(RefCountPtr page) { return Ptr(new Content(page->document(), page->resources())); } Content::Ptr Content::create(DocumentPtr document, int width, int height) { ResourcesPtr resources = Resources::create(); Ptr result(new Content(document, resources)); result->set_entry_name("Type", "XObject"); result->set_entry_name("Subtype", "Form"); //set_entry_int("FormType", 1); /// \note the 20 point margin is rather arbitrary - it's enough /// for the inital in Emissionen :-) result->set_entry("BBox", rectangle(-20, -20, width + 20, height + 20)); result->set_entry("Resources", resources); return result; } Content::Content(Document::Ptr doc, Resources::Ptr res) : document_(doc), resources(res), last_xpos(0), last_ypos(0), cur_charspace(0), cur_wordspace(0), cur_size(1) {} std::ostream& Content::write(std::ostream& out) { return Stream::write(out); } std::string Content::registerXObj(Object::Ptr object) { return resources->registerXObj(document_->get_xrefs()->add_object(object)); } void Content::beginText() { data() << "BT\n"; } void Content::endText() { commitText(); data() << "ET\n"; } void Content::selectfont(const font::FontInfo& font) { commitText(); cur_size = font.getSize(); data() << '/' << resources->registerFont(document_->getFontObject(font)) << ' ' << cur_size << " Tf\n"; // Make sure show() and friends know whether the current font is // multi-byte or not simple_font = getFontType(font) != TRUETYPE; } void Content::setgray(float gray) { commitText(); data() << gray << " g\n"; } void Content::moveto(float xpos, float ypos) { commitText(); data() << (xpos-last_xpos) << ' ' << (ypos-last_ypos) << " Td\n"; last_xpos=xpos; last_ypos=ypos; } void Content::textRise(float rise) { commitText(); data() << rise << " Ts\n"; } void Content::setWordSpace(const float& w) { if(w != cur_wordspace) { commitText(); cur_wordspace = w; if(simple_font) // Tw seems to want the space scaled by font size data() << w * cur_size << " Tw\n"; } } void Content::setCharSpace(const float& w) { if(w != cur_charspace) { commitText(); cur_charspace = w; // Tc seems to want the space scaled by font size data() << w * cur_size << " Tc\n"; } } void Content::show(const Glib::ustring& s) { // double byte chars for CID if(!simple_font) { using namespace std; textbuf << " <"; for(Glib::ustring::const_iterator i = s.begin(); i != s.end(); i++) textbuf << hex << setw(4) << setfill('0') << int(*i); textbuf << dec << '>'; return; } std::ostringstream encoded; // MacRoman seems to go by different names in different // installations ... /// \todo ugly hack bool macromanexists = true; try { Glib::IConv("MacRoman", "UTF-8"); } catch(...) { macromanexists = false; } Glib::IConv macroman(macromanexists ? "MacRoman" : "Mac", "UTF-8"); // In PDF, backslashes and parentheses need to be escaped for(Glib::ustring::const_iterator i = s.begin(); i != s.end(); ++i) { switch(*i) { case '\\': encoded << "\\\\"; break; case '(': encoded << "\\("; break; case ')': encoded << "\\)"; break; default: try { Glib::ustring t(1, *i); encoded << macroman.convert(t.raw()); } catch(const Glib::ConvertError &e) { document_->convert_failures++; verbose << e.what() << std::endl; // PDF doesn't seem to have anything like glyphshow in postscript. encoded << '?'; } break; } } textbuf << " (" << encoded.str() << ')'; } void Content::whitespace() { // we expect the charspace to be added around the space as well if(simple_font) { textbuf << " ( )"; if(cur_charspace) textbuf << ' ' << -1000 * (2 * cur_charspace); } else { // Tw doesn't work for multibyte fonts textbuf << " <0020>"; if(cur_wordspace) textbuf << ' ' << -1000 * (cur_wordspace + 2 * cur_charspace); } } void Content::whitespace(float width) { textbuf << ' ' << -1000 * width; } DocumentPtr Content::getDocument() { return document_; } void Content::commitText() { if(!textbuf.str().empty()) { data() << '[' << textbuf.str() << "] TJ\n"; textbuf.str(""); } } Page::Ptr Page::create(int width, int height, Ref::Ptr parent, Document::Ptr document) { return Ptr(new Page(width, height, parent, document)); } Page::Page(int width, int height, Ref::Ptr parent, Document::Ptr document) : document_(document), content(0), resources_(Resources::create()), num_reffed_fonts(0) { set_entry_name("Type", "Page"); set_entry("Parent", parent); set_entry("Resources", resources_); set_entry("MediaBox", rectangle(0, 0, width, height)); } Content::Ptr Page::get_content() { if(!content) { content = Content::create(Page::Ptr(this)); set_entry("Contents", document_->get_xrefs()->add_object(content)); } return content; } std::string Page::getFont(const font::FontInfo& font) { return resources_->registerFont(document_->getFontObject(font)); } std::string Page::registerXObj(Object::Ptr object) { return resources_->registerXObj(document_->get_xrefs()->add_object(object)); } void Page::set_parent(Ref::Ptr ref) { set_entry("Parent", ref); } Document::Document() : xrefs(XRefs::create()), page_tree_root(Dictionary::create()), page_tree_root_ref(xrefs->add_object(page_tree_root)), convert_failures(0) {} std::ostream& XRefs::write(std::ostream& out) { typedef std::vector PVec; PVec pos; for(Objects::iterator i = objects.begin(); i != objects.end(); i++) { pos.push_back(out.tellp()); out << *i; } objects.clear(); xref_offset = out.tellp(); out << "xref \n0 " << (pos.size()+1) << " \n" << std::setw(10) << std::setfill('0') << 0 << ' ' << std::setw(0) << std::setfill(' ') << "65535 f \n"; for(PVec::const_iterator i = pos.begin(); i != pos.end(); i++) out << std::setw(10) << std::setfill('0') << *i << ' ' << std::setw(0) << std::setfill(' ') << "00000 n \n"; return out; } Content::Ptr Document::add_page(int width, int height) { ///\todo There might be a page tree, its not always just a simple array. Page::Ptr page = Page::create(width, height, page_tree_root_ref, Document::Ptr(this)); pages.push_back(xrefs->add_object(page)); return page->get_content(); } std::ostream& Document::write(std::ostream& out) { out.setf(std::ios_base::boolalpha); { // 1.5 was the latest version as of sep 2004, but my acroread was older // than that :-) const int version_maj = 1, version_min = 4; out << "%PDF-" << version_maj << '.' << version_min << "\n" // Binary (>127) junk comment to make sure that e.g. ftp programs // treat the file as binary data: << "%\xff\xff\xff\xff\n"; } Dictionary::Ptr catalog = Dictionary::create(); Ref::Ptr rcatalog = xrefs->add_object(catalog); catalog->set_entry_name("Type", "Catalog"); catalog->set_entry("Pages", page_tree_root_ref); page_tree_root->set_entry_name("Type", "Pages"); page_tree_root->set_entry_int("Count", pages.size()); Array::Ptr kids = Array::create(); for(Pages::iterator i = pages.begin(); i != pages.end(); i++) kids->push_back(*i); page_tree_root->set_entry("Kids", kids); xrefs->write(out); Dictionary::Ptr trailer = Dictionary::create(); trailer->set_entry_int("Size", xrefs->get_num_of_refs()); trailer->set_entry("Root", rcatalog); out << "trailer\n" << trailer << "startxref \n" << xrefs->get_xref_offset() << " \n%%EOF\n"; return out; } }; // The PDF Reference counts bits as LSB=1. inline int PdfBit(int pos) { return 1 << (pos - 1); } PDF::Stream::Ptr makeFontStream(std::istream& in, const std::string fontfilename) { PDF::Stream::Ptr fontstream = PDF::Stream::create(); // Ignore anything before %! in the font file. char ch; while(in.get(ch) && !((ch == '%') && in.get(ch) && (ch == '!'))); if(!in) throw std::runtime_error("No PS startmark in " + fontfilename); fontstream->data() << "%!"; const std::ifstream::pos_type pos0 = in.tellg() - std::ifstream::off_type(2); debug << "pfa: pos0 = " << pos0 << "\n"; // Copy the entire "cleartext part" const std::string target = "currentfile eexec\n"; unsigned int found = 0; while(found < target.size() && in.get(ch)) { fontstream->data().put(ch); if(ch == target[found]) ++found; else found = 0; } if(!in) throw std::runtime_error("No eexec in " + fontfilename); const std::ifstream::pos_type pos1 = in.tellg(); debug << "pfa: pos1 = " << pos0 << "\n"; fontstream->set_entry_int("Length1", pos1 - pos0); // Copy the rest, which is the eexec part and the trailing zeroes. fontstream->data() << in.rdbuf(); const std::ifstream::pos_type pos3 = in.tellg(); // Here I assume that the trailing zeroes part is allways 513 chars long. // That is probably bad. fontstream->set_entry_int("Length2", pos3 - pos1 - 531); fontstream->set_entry_int("Length3", 531); return fontstream; } PDF::Dictionary::Ptr createCIDSystemInfoDict() { PDF::Dictionary::Ptr dict = PDF::Dictionary::create(); /// \todo I have no idea what these are supposed to be dict->set_entry("Registry", PDF::String::create("Adobe")); dict->set_entry("Ordering", PDF::String::create("Identity")); dict->set_entry("Supplement", PDF::Integer::create(0)); return dict; } PDF::Dictionary::Ptr createFontDescriptorDict(const std::string &fontname, const font::Metrics &metrics, PDF::XRefs::Ptr xrefs) { // And then the FontDescriptor PDF::Dictionary::Ptr descriptor = PDF::Dictionary::create(); descriptor->set_entry_name("Type", "FontDescriptor"); descriptor->set_entry_name("FontName", fontname); float italicangle = metrics.getItalicAngle(); /// \todo get these flags right descriptor->set_entry_int("Flags", PdfBit(1) * 0 /* Todo: fixed pitch */ + PdfBit(2) * 1 /* Todo: Serif */ + PdfBit(3) * 0 /* Todo: Symbolic */ + PdfBit(4) * 0 /* Todo: Script */ + PdfBit(6) * 1 /* !Symbolic */ + PdfBit(7) * (italicangle < -3) /* arbitrary */ + PdfBit(17) * 0 /* AllCap */ + PdfBit(18) * 0 /* SmallCap */ + PdfBit(19) * 0 /* don't force bold */); descriptor->set_entry("FontBBox", PDF::rectangle(metrics.getBBox(0), metrics.getBBox(1), metrics.getBBox(2), metrics.getBBox(3))); descriptor->set_entry("ItalicAngle", PDF::Real::create(italicangle)); descriptor->set_entry_int("Ascent", int(1000 * metrics.getAscender())); descriptor->set_entry_int("Descent", int(1000 * metrics.getDescender())); descriptor->set_entry_int("CapHeight", int(1000 * metrics.getCapHeight())); descriptor->set_entry_int("XHeight", int(1000 * metrics.getExHeight())); descriptor->set_entry_int("StemV", 0); /// \todo StemV // Include font file const std::string &fontfilename = font::FontManager::instance().getFontFile(fontname); const std::string suff = suffix(fontfilename); if(suff == "pfa") { std::ifstream pfa(fontfilename.c_str()); descriptor->set_entry("FontFile", makeFontStream(pfa, fontfilename)); } else if(suff == "pfb") { PDF::Stream::Ptr fontstream = PDF::Stream::create(); std::vector lengths; std::ifstream pfb(fontfilename.c_str()); PS::pfb2pfa(pfb, fontstream->data(), &lengths); switch(lengths.size()) { case 3: /// \todo set Length3 to 0 if not present? fontstream->set_entry_int("Length3", lengths[2]); // no break case 2: fontstream->set_entry_int("Length2", lengths[1]); fontstream->set_entry_int("Length1", lengths[0]); break; default: throw std::runtime_error("Bad number of blocks, " + tostr(lengths.size()) + ", in pfb " + fontfilename); } descriptor->set_entry("FontFile", xrefs->add_object(fontstream)); } else if(suff == "ttf") { // we only support truetype PDF::Stream::Ptr fontstream = PDF::Stream::create(); std::ifstream ttf(fontfilename.c_str()); fontstream->data() << ttf.rdbuf(); // Length1 is the length of the file after it has been decoded by // the the filter specified in Filter, but we are not using a // filter, so Length1 should be the same as Length fontstream->set_entry_int("Length1", fontstream->rawdata().length()); // Type 1 uses the "FontFile" entry, while TrueType uses the // "FontFile2" entry. descriptor->set_entry("FontFile2", xrefs->add_object(fontstream)); } else { throw std::runtime_error("Unknown suffix for font file: " + fontfilename); } return descriptor; } PDF::Dictionary::Ptr createCIDFontDict(const font::FontInfo& fontinfo, PDF::XRefs::Ptr xrefs) { PDF::Dictionary::Ptr dict = PDF::Dictionary::create(); dict->set_entry_name("Type", "Font"); // different subtypes depending on whether it2 contains Type1 or TrueType dict->set_entry_name("Subtype", getFontType(fontinfo) == TYPE1 ? "CIDFontType0" : "CIDFontType2"); dict->set_entry_name("BaseFont", fontinfo.getName()); dict->set_entry("CIDSystemInfo", createCIDSystemInfoDict()); PDF::Dictionary::Ptr descriptor = createFontDescriptorDict(fontinfo.getName(), fontinfo.getMetrics(), xrefs); dict->set_entry("FontDescriptor", xrefs->add_object(descriptor)); // assume TrueType const font::FTMetrics &metrics = dynamic_cast(fontinfo.getMetrics()); if(true) { // map CIDs to glyph indices in the TrueType font PDF::Stream::Ptr stream = PDF::Stream::create(); metrics.write_CIDToGIDMap(stream->data()); dict->set_entry("CIDToGIDMap", xrefs->add_object(stream)); } // character widths // The /W array is a list of pairs where the first element is a // start CID and the second is an array of widths for the start CID // and the following CIDs for which glyphs have been defined. PDF::Array::Ptr widths = PDF::Array::create(); gunichar c = 0; while(c < 0xffff) { // glyphs with index 0 are .notdef, so skip them if(!metrics.get_glyph_index(c)) { c++; continue; } // start CID widths->push_back(PDF::Integer::create(c)); // an array of widths for consecutive defined glyphs PDF::Array::Ptr iwidths = PDF::Array::create(); while(c < 0xffff && metrics.get_glyph_index(c)) { float w = metrics.getWidth(Glib::ustring(1, c)); iwidths->push_back(PDF::Integer::create(int(1000 * w))); c++; } widths->push_back(iwidths); } dict->set_entry("W", xrefs->add_object(widths)); return dict; } PDF::Stream::Ptr createCMapStream(const font::FontInfo& fontinfo) { PDF::Stream::Ptr stream = PDF::Stream::create(); stream->set_entry_name("Type", "CMap"); /// \todo The name of the cmap is foo?!? stream->set_entry_name("CMapName", "foo"); stream->set_entry("CIDSystemInfo", createCIDSystemInfoDict()); /// \todo we only support truetype so far // dynamic_cast(fontinfo.getMetrics()) // .get_mapping_table().write_CMap(stream->data()); return stream; } PDF::Dictionary::Ptr createFont0Dict(const font::FontInfo &fontinfo, PDF::Ref::Ptr cidfontdict, PDF::Ref::Ptr cmap) { const std::string& fontname = fontinfo.getName(); PDF::Dictionary::Ptr dict = PDF::Dictionary::create(); dict->set_entry_name("Type", "Font"); dict->set_entry_name("Subtype", "Type0"); dict->set_entry_name("BaseFont", fontname); // Use a cmap if we are given one if(cmap) dict->set_entry("Encoding", cmap); else dict->set_entry("Encoding", PDF::Name::create("Identity-H")); PDF::Array::Ptr dfonts = PDF::Array::create(); dfonts->push_back(cidfontdict); dict->set_entry("DescendantFonts", dfonts); return dict; } PDF::Dictionary::Ptr createFontDict(const font::FontInfo& fontinfo, PDF::XRefs::Ptr xrefs) { const std::string& fontname = fontinfo.getName(); // check if the fontname is in the list of standard fonts bool is_standard_font = false; for(const char **sf = &standard_fonts[0]; *sf; sf++) if(fontname == *sf) { is_standard_font = true; break; } FontType font_type = getFontType(fontinfo); // First the basics, needed for all fonts. PDF::Dictionary::Ptr dict = PDF::Dictionary::create(); dict->set_entry_name("Type", "Font"); dict->set_entry_name("Subtype", font_type == TYPE1 ? "Type1" : "TrueType"); dict->set_entry_name("BaseFont", fontname); dict->set_entry_name("Encoding", "MacRomanEncoding"); // If it's one of the 14 standard fonts, we don't have to do more. if(is_standard_font) return dict; // glyph metrics PDF::Array::Ptr widths = PDF::Array::create(); const font::Metrics& metrics(fontinfo.getMetrics()); // MacRoman seems to go by different names in different // installations ... /// \todo ugly hack and duplicated from Content::show bool macromanexists = true; try { Glib::IConv("MacRoman", "UTF-8"); } catch(...) { macromanexists = false; } Glib::IConv frommacroman("UTF-8", macromanexists ? "MacRoman" : "Mac"); for(unsigned char c = 32; c <= 254; ++c) { try { Glib::ustring converted = frommacroman.convert(std::string(1, c)); float w = metrics.getWidth(converted); widths->push_back(PDF::Integer::create(int(1000 * w))); } catch(const Glib::ConvertError &e) { warning << "Failed to convert char #" << int(c) << " from MacRoman" << std::endl; // PDF doesn't seem to have anything like glyphshow in postscript. widths->push_back(PDF::Integer::create(0)); } } dict->set_entry_int("FirstChar", 32); dict->set_entry_int("LastChar", 254); dict->set_entry("Widths", widths); PDF::Dictionary::Ptr descriptor(createFontDescriptorDict(fontname, metrics, xrefs)); dict->set_entry("FontDescriptor", descriptor); // Optional: ToUnicode return dict; } PDF::Document::FontWithName PDF::Document::getFontObject(const font::FontInfo& font) { Fonts::const_iterator i = used_font.find(font.getName()); if(i != used_font.end()) return i->second; Dictionary::Ptr fdict; // we only support CIDs for TrueType for now if(getFontType(font) == TRUETYPE) { Ref::Ptr cmap; //xrefs.add_object(createCMapStream(font)); Ref::Ptr cidfontdict(xrefs->add_object(createCIDFontDict(font, xrefs))); fdict = createFont0Dict(font, cidfontdict, cmap); } else { // Type1 as simple font fdict = createFontDict(font, xrefs); } FontWithName fwn(xrefs->add_object(fdict), "F" + tostr(used_font.size()+1)); used_font.insert(std::pair(font.getName(), fwn)); return used_font[font.getName()]; } #ifdef STAND_ALONE int main(int argc, char *argv[]) { PDF::Document document; document.add_page(200, 300); document.selectfont(20); document.moveto(20, 20); document.show("Hello, World!"); std::cerr << document.write(&std::cout) << " bytes written" << std::endl; } #endif passepartout-0.7.1/src/ps/pdf.h000066400000000000000000000241571140125232500164100ustar00rootroot00000000000000#ifndef PDF_H // -*- c++ -*- #define PDF_H /// // Copyright (C) 2002 - 2004, Fredrik Arnerup & Rasmus Kaj, See COPYING /// #include "fonts/fontinfo.hh" #include #include #include #include #include namespace PDF { /** * A simple base for a referece counted object to work with RefCountPtr. */ class RefCounted { protected: RefCounted() : count_(0) {} virtual ~RefCounted() {} public: /** * Increse the reference count for this object. */ void inc_refcount() const { ++count_; } /** * Decrease the reference count for this object. If the reference count * reaches zero, the object is deleted. */ void dec_refcount() const { if(--count_ == 0) delete this; } private: mutable unsigned int count_; /** undefined */ RefCounted(const RefCounted&); /** undefined */ RefCounted operator = (const RefCounted&); }; template class RefCountPtr { public: /// Create a RefCountPtr from a "raw" pointer. RefCountPtr(Obj* o) : ptr(o) { if(ptr) ptr->inc_refcount(); } /// Copy a RefCountPtr RefCountPtr(const RefCountPtr& src) : ptr(src.ptr) { if(ptr) ptr->inc_refcount(); } /// Create a null RefCountPtr RefCountPtr() : ptr(0) {} ~RefCountPtr() { if(ptr) ptr->dec_refcount(); } RefCountPtr operator = (const RefCountPtr& src) { RefCountPtr copy(src); std::swap(this->ptr, copy.ptr); return *this; } template operator RefCountPtr () { Dst* t = ptr; return RefCountPtr(t); } template RefCountPtr dyn_cast() { return RefCountPtr(dynamic_cast(ptr)); } /// Dereference. const Obj* operator -> () const { if(ptr) return ptr; else throw std::runtime_error("Tried to dreference null RefCountPtr"); } /// Dereference. Obj* operator -> () { if(ptr) return ptr; else throw std::runtime_error("Tried to dreference null RefCountPtr"); } /// Check for beeing non-null. operator bool () const { return ptr; } private: Obj* ptr; }; template std::ostream& operator << (std::ostream& out, RefCountPtr obj) { if(obj) return out << *obj.operator->(); else return out << "null"; } class Object : public RefCounted { public: typedef RefCountPtr Ptr; virtual std::ostream& write(std::ostream& out) = 0; protected: Object() {} private: Object(Object&); void operator = (Object&); }; std::ostream& operator << (std::ostream& out, Object& obj); class Name: public Object { public: typedef RefCountPtr Ptr; static Ptr create(const std::string& name) { return Ptr(new Name(name)); } bool operator < (const Name& x) const; const std::string &get_name() const; std::ostream& write(std::ostream& out); protected: explicit Name(const std::string& name_); private: std::string name; }; template class BasicObject : public Object { public: typedef RefCountPtr< BasicObject > Ptr; static Ptr create(const C& value) { return Ptr(new BasicObject(value)); } std::ostream& write(std::ostream& out) { return out << value_; } const C& get_value() const { return value_; } protected: explicit BasicObject(const C& value) : value_(value) {} private: C value_; }; typedef BasicObject Integer; typedef BasicObject Real; typedef BasicObject Boolean; typedef BasicObject String; template<> std::ostream& String::write(std::ostream& out); class Ref : public Object { public: typedef RefCountPtr Ptr; typedef unsigned Num; typedef unsigned Generation; static Ptr create(Num num, Generation generation) { return Ptr(new Ref(num, generation)); } Num get_num() const { return num_; } Generation get_generation() const { return generation_; } std::ostream& write(std::ostream& out) { return out << num_ << ' ' << generation_ << " R"; } protected: Ref(Num num, Generation generation) : num_(num), generation_(generation) {} private: Num num_; Generation generation_; }; class ReferencedObject : public Object { public: typedef RefCountPtr Ptr; static Ptr create(Ref::Ptr ref, Object::Ptr obj) { return Ptr(new ReferencedObject(ref, obj)); } Ref::Ptr get_ref() const; Object::Ptr get_obj() const { return obj_; } std::ostream& write(std::ostream& out); protected: ReferencedObject(Ref::Ptr ref, Object::Ptr obj); private: Object::Ptr obj_; Ref::Ptr ref_; }; class Array: public Object { public: typedef RefCountPtr Ptr; static Ptr create() { return Ptr(new Array()); } Object::Ptr push_back(Object::Ptr object); std::ostream& write(std::ostream& out); const Object::Ptr at(int i) const { return items.at(i); } Object::Ptr at(int i) { return items.at(i); } protected: Array() {} private: typedef std::vector Items; Items items; }; class Dictionary: public Object { typedef std::map Entries; public: typedef RefCountPtr Ptr; typedef Entries::iterator iterator; typedef Entries::const_iterator const_iterator; typedef Entries::size_type size_type; static Ptr create() { return Ptr(new Dictionary); } Object::Ptr set_entry(const std::string& name, Object::Ptr object); Object::Ptr set_entry_name(const std::string& name, const std::string& value); Object::Ptr set_entry_int(const std::string& name, int value); const Object::Ptr get_entry(const std::string& name) const; Object::Ptr get_entry(const std::string& name); iterator begin() { return entries.begin(); } const_iterator begin() const { return entries.begin(); } iterator end() { return entries.end(); } const_iterator end() const { return entries.end(); } /// Return the number of entries in this Dictionary size_type size() const { return entries.size(); } std::ostream& write(std::ostream& out); protected: Dictionary(); private: Entries entries; }; class Stream : public Dictionary { public: typedef RefCountPtr Ptr; static Ptr create() { return Ptr(new Stream); } std::ostream& data() { return data_; } std::ostream& write(std::ostream& out); std::string rawdata() const; protected: Stream(); private: std::ostringstream data_; }; class Page; class Document; typedef RefCountPtr DocumentPtr; class Resources; typedef RefCountPtr ResourcesPtr; /** * A Content Stream is where the main action is in a PDF document. Most * methods in this class corresponds to PDF operators. Note that some * operators change the state of the PDF stream, and some operators are only * legal in some states. This class does not (yet) enforce such * restrictions. */ class Content: public Stream{ // only text so far public: typedef RefCountPtr Ptr; /// Create a new Content bound to a specific page. static Ptr create(RefCountPtr page); /// Create a new Content that is a Form XObject. static Ptr create(DocumentPtr document, int width, int height); std::ostream& write(std::ostream& out); /** * Register an object for use as an XObject. The object is * given a name in the resource dictionary for XObjects. * \param object the object * \return the XObject name of the object */ std::string registerXObj(Object::Ptr object); /// Enter Text State. void beginText(); /// Leave Text State. void endText(); void selectfont(const font::FontInfo& font); void setgray(float gray); void moveto(float xpos, float ypos); void textRise(float rise); void setWordSpace(const float& w); void setCharSpace(const float& w); void show(const Glib::ustring& s); void whitespace(); void whitespace(float width); DocumentPtr getDocument(); protected: Content(DocumentPtr doc, ResourcesPtr res); private: void commitText(); bool simple_font; DocumentPtr document_; ResourcesPtr resources; float last_xpos, last_ypos, cur_charspace, cur_wordspace, cur_size; std::ostringstream textbuf; }; class XRefs: public RefCounted { friend class Ref; public: typedef RefCountPtr Ptr; static Ptr create(); Ref::Ptr add_object(Object::Ptr object); std::streampos get_xref_offset(); std::ostream& write(std::ostream& out); Ref::Num get_num_of_refs() const; protected: XRefs(); private: std::streampos xref_offset; typedef std::vector Objects; Objects objects; }; class Document: public RefCounted { public: typedef RefCountPtr Ptr; /// A font object with an associated resource name typedef std::pair FontWithName; static Ptr create() { return Ptr(new Document); } Content::Ptr add_page(int width, int height); std::ostream& write(std::ostream& out); XRefs::Ptr get_xrefs() {return xrefs;} FontWithName getFontObject(const font::FontInfo& fontname); /// returns number of characters that failed to print correctly int getNumOfFailedChars() const { return convert_failures; } protected: Document(); private: friend class Content; // access to convert_failures typedef std::vector Pages; XRefs::Ptr xrefs; Pages pages; Dictionary::Ptr page_tree_root; Ref::Ptr page_tree_root_ref; typedef std::map Fonts; Fonts used_font; int convert_failures; }; }; #endif passepartout-0.7.1/src/ps/pdfparser.cc000066400000000000000000000213731140125232500177600ustar00rootroot00000000000000#include "pdfparser.h" #include "util/stringutil.h" #include #define assert(expr) if(!bool(expr)) throw std::runtime_error("PDF reading error in " __FILE__ " on line " + tostr(__LINE__)); using namespace std; PDFParser::PDFParser(const std::string& filename) : source(filename.c_str()) { // Note; this might be bogus for multi-xref documents: it seems I should // only look for startxref at the end, the trailer should follow that xref // section. ParsePDF::findTrailer(source); std::string token; assert(source >> token >> std::ws && token == "trailer"); trailer = ParsePDF::readDictionary(source); assert(source >> token && token == "startxref"); int startxref; assert(source >> startxref); assert(source >> token && token == "%%EOF"); int numxref = int(trailer->get_entry("Size").dyn_cast() ->get_value()); source.seekg(startxref); xrefs = new int[numxref]; int idx, num; assert(source >> token && token == "xref" && source >> idx >> num); for(int i = 0; i < num; ++i, ++idx) { int offset, generation; char status; assert(source >> offset >> generation >> status); if(status == 'n') assert(generation == 0); xrefs[idx] = offset; } } PDFParser::~PDFParser() { delete[] xrefs; } PDF::Object::Ptr PDFParser::getObject(PDF::Object::Ptr refobj) { PDF::Ref::Ptr ref = refobj.dyn_cast(); if(!ref) return refobj; const int num = ref->get_num(); assert(xrefs[num] != 0); source.seekg(xrefs[num]); int i, j; std::string token; assert(source >> i >> j >> token >> std::ws && i == num && j == 0 && token == "obj"); PDF::Object::Ptr result = ParsePDF::readObject(source); assert(source >> token >> ws); if(token == "endobj") return result; if(token == "stream") { PDF::Dictionary::Ptr dict = result.dyn_cast(); assert(dict /* a stream must be a dictionary */); PDF::Stream::Ptr stream = PDF::Stream::create(); // Copy the dictionary for(PDF::Dictionary::const_iterator i = dict->begin(); i!=dict->end(); ++i) stream->set_entry(i->first, i->second); // Copy Length bytes from the input PDF::Object::Ptr len_obj = stream->get_entry("Length"); int len = 0; if(PDF::Ref::Ptr r = len_obj.dyn_cast()) { iostream::pos_type p = source.tellg(); len_obj = getObject(r); source.seekg(p); } if(PDF::Real::Ptr r = len_obj.dyn_cast()) len = int(r->get_value()); else throw std::runtime_error("Failed to get stream length"); // Todo: This should be a lot more efficient! for(int i = 0; i < len; ++i) { char ch; source.get(ch); stream->data() << ch; } return stream; } throw std::runtime_error("Unexpected token: " + token); } namespace { PDF::String::Ptr readString(istream& in) { assert(in.get() == '('); int parenlevel = 0; string result; while(1) switch(const char ch = in.get()) { case '(': ++parenlevel; result += ch; break; case ')': if(--parenlevel < 0) { return PDF::String::create(result); } result += ch; break; // Todo: other special characters! default: result += ch; } } PDF::String::Ptr readHexString(istream& in) { assert(in.get() == '<'); char ch; bool even = true; std::string result; while(in.get(ch)) { even = !even; if(ch == '>') return PDF::String::create(result); if(ch > 'a') ch -= 'a'; else if(ch > 'A') ch -= 'A'; else if(ch > '0') ch -= '0'; if(!even) result += char(ch * 16); else result[result.length()-1] += ch; } throw std::runtime_error("Read failed while reading hex string from PDF"); } istream& getstring(istream& in, string& token) { const string irregular = "\t\n\f\r ()[]{}<>/%#"; // Todo: null should also be irregular! token.clear(); char ch; while(in.get(ch)) { if(irregular.find(ch) == std::string::npos) token += ch; else { in.putback(ch); return in; } } return in; } PDF::Name::Ptr readName(istream& in) { assert(in.get() == '/'); const string irregular = "\t\n\f\r ()[]{}<>/%#"; // Todo: null should also be irregular! string name; char ch; while(in.get(ch)) { if(irregular.find(ch) == std::string::npos) name += ch; else if(ch == '#') { char h1 = in.get(), h2 = in.get(); if(h1 > 'a') h1 -= 'a'; else if(h1 > 'A') h1 -= 'A'; else if(h1 > '0') h1 -= '0'; if(h2 > 'a') h1 -= 'a'; else if(h2 > 'A') h1 -= 'A'; else if(h2 > '0') h1 -= '0'; name += char(h1*16 + h2); } else { in.putback(ch); return PDF::Name::create(name); } } throw std::runtime_error("Failed to read in pdf name"); } PDF::Array::Ptr readArray(istream& in) { assert(in.get() == '['); std::vector result; while(1) { in >> ws; switch(in.peek()) { case ']': in.get(); { PDF::Array::Ptr array = PDF::Array::create(); for(std::vector::const_iterator i = result.begin(); i != result.end(); ++i) array->push_back(*i); return array; } case 'R': assert(in.get() == 'R'); { int gen = int(result.back().dyn_cast()->get_value()); result.pop_back(); int num = int(result.back().dyn_cast()->get_value()); result.pop_back(); result.push_back(PDF::Ref::create(num, gen)); } break; default: result.push_back(ParsePDF::readObject(in)); } } } PDF::Real::Ptr readNumber(istream& in) { // Todo: create a PDF::Integer if the number is an integer float num; in >> num; return PDF::Real::create(num); } }; void ParsePDF::findTrailer(istream& in) { std::streamoff offset = -128; // Start searching last 128 bytes while(in.seekg(offset, ios_base::end)) { const string target = "trailer"; string::size_type pos = 0; char ch; while(in.get(ch)) { if(ch == target[pos]) { if(++pos >= target.size()) { // Negative seeks from cur stopped working (in 3.4?) //in.seekg(-target.length(), std::ios_base::cur); in.seekg(in.tellg() - std::streampos(target.length())); return; } } else pos = 0; } in.clear(); offset *= 2; // Nothing found, search wider } // seek failed, so we have probably searched the entire file throw std::runtime_error("Failed to find PDF trailer"); } PDF::Object::Ptr ParsePDF::readObject(istream& in) { switch(in.peek()) { case '%': in.ignore('\n'); return readObject(in); // the next object after the comment case '(': return readString(in); case '/': return readName(in); case '0' ... '9': case '+': case '-': // What about references? return readNumber(in); case '<': { in.get(); // peek one more char ahead char ch2 = in.peek(); in.putback('<'); if(ch2 == '<') return readDictionary(in); else return readHexString(in); } case '[': return readArray(in); case 'n': { string st; if(getstring(in, st) && st == "null") return PDF::Object::Ptr(); else throw std::runtime_error ("Illegal token \"" + st + "\" at pos " + tostr(in.tellg() - std::streamoff(st.length())) + " in pdf"); } case 't': case 'f': { string st; assert(getstring(in, st)); if(st == "true") return PDF::Boolean::create(true); if(st == "false") return PDF::Boolean::create(false); throw std::runtime_error ("Illegal token \"" + st + "\" at pos " + tostr(in.tellg() - std::streamoff(st.length())) + " in pdf"); } default: throw std::runtime_error (std::string("Illegal token \"") + std::string(in.get(), 1) + "\" at pos " + tostr(in.tellg() - std::streamoff(1)) + " in pdf"); } } PDF::Dictionary::Ptr ParsePDF::readDictionary(istream& in) { assert(in.get() == '<' && in.get() == '<'); typedef std::vector RVec; RVec result; while(1) { in >> ws; switch(in.peek()) { case '>': assert(in.get() == '>' && in.get() == '>'); { // End of the dictionary; return it PDF::Dictionary::Ptr dict = PDF::Dictionary::create(); for(RVec::iterator i = result.begin(); i!=result.end(); ++i) { if(PDF::Name::Ptr name = i->dyn_cast()) dict->set_entry(name->get_name(), *(++i)); else throw std::runtime_error ("Malformed dictionary: keys must be names"); } return dict; } case 'R': assert(in.get() == 'R'); { int gen = int(result.back().dyn_cast()->get_value()); result.pop_back(); int num = int(result.back().dyn_cast()->get_value()); result.pop_back(); result.push_back(PDF::Ref::create(num, gen)); } break; default: result.push_back(ParsePDF::readObject(in)); } } } passepartout-0.7.1/src/ps/pdfparser.h000066400000000000000000000013561140125232500176210ustar00rootroot00000000000000#ifndef PDFPARSER_H // -*- c++ -*- #define PDFPARSER_H /// // Copyright (C) 2004, Fredrik Arnerup & Rasmus Kaj, See COPYING /// #include "pdf.h" #include class PDFParser { public: explicit PDFParser(const std::string& filename); ~PDFParser(); PDF::Dictionary::Ptr getTrailer() { return trailer; } /** * If ref is a reference, load the referenced object. Otherwise, just * return ref as is. */ PDF::Object::Ptr getObject(PDF::Object::Ptr ref); private: std::ifstream source; PDF::Dictionary::Ptr trailer; int* xrefs; }; namespace ParsePDF { void findTrailer(std::istream& in); PDF::Object::Ptr readObject(std::istream& in); PDF::Dictionary::Ptr readDictionary(std::istream& in); }; #endif passepartout-0.7.1/src/ps/pfb2pfa.cc000066400000000000000000000035151140125232500173100ustar00rootroot00000000000000/// // Copyright (C) 2003, 2004, Fredrik Arnerup & Rasmus Kaj, See COPYING /// #include "pfb2pfa.h" #include #include #include "encode.h" #include "util/warning.h" void PS::pfb2pfa(std::istream &in, std::ostream &out, std::vector *lengths) { in.exceptions(std::ios_base::eofbit); // throw exception on eof try { while(in) { // parse header if (in.peek() != 128) throw std::runtime_error("bad magic number for segment"); in.get(); int type = in.get(); switch(type) { case 1: case 2: break; case 3: return; break; // eof signal default: throw std::runtime_error("bad segment type"); break; } long length = 0; for(int i = 0; i < 4; i++) length |= in.get() << (i << 3); std::ostream::pos_type blockstart = out.tellp(); if(blockstart == std::ostream::pos_type(-1)) blockstart = 0; if(type == 1) { // ascii unsigned char c; for(long i = 0; i < length; i++) { c = in.get(); if(c == '\r') c = '\n'; // linefeed instead of carriage return out.put(c); } if(c != '\n') out.put('\n'); // end with linefeed } else { // type == 2 - binary ASCIIHexEncodeFilter filter(false); // don't write eod marker filter.begin(&out); for(long i = 0; i < length; i++) { unsigned char c = in.get(); filter.write(&c, 1); } filter.end(); } if(lengths) lengths->push_back(out.tellp() - blockstart); debug << "Blockstart: " << blockstart << ", end: " << out.tellp() << "\n"; } } catch (std::ios_base::failure) { throw std::runtime_error("unexpected end of file"); } } #ifdef PFB2PFA_STANDALONE int main(int argc, char **argv) { try { PS::pfb2pfa(std::cin, std::cout); } catch(std::runtime_error e) { std::cerr << e.what() << std::endl; return 1; } return 0; } #endif passepartout-0.7.1/src/ps/pfb2pfa.h000066400000000000000000000010461140125232500171470ustar00rootroot00000000000000// -*- c++ -*- /// // Copyright (C) 2002 - 2004, Fredrik Arnerup & Rasmus Kaj, See COPYING /// #ifndef PFB2PFA_H #define PFB2PFA_H #include #include namespace PS { /** * convert type 1 pfb font files to pfa format. Optionally, keep track of * the lengths of the parts. * \param in stream to read pfb from. * \param out stream to write pfa to. * \param lengths place to store the block lengths, or 0. */ void pfb2pfa(std::istream &in, std::ostream &out, std::vector *lengths = 0); }; #endif passepartout-0.7.1/src/ps/test_glyphlist.cc000066400000000000000000000033421140125232500210440ustar00rootroot00000000000000#include "testbed/testbed.hh" #include "ps/unicode.h" #include "util/warning.h" #include class TestUnicodeOfGlyph : public TestCase { public: TestUnicodeOfGlyph(const std::string& glyph_name, Glib::ustring chars) : TestCase("Unicode of glyph " + glyph_name), glyph_name_(glyph_name), chars_(chars) {} void test() { const Glib::ustring result = PS::Unicode::chars_of_glyph(glyph_name_); const std::string reverse = PS::Unicode::glyph_name_of_chars(chars_); ASSERT(result.size() > 0); verbose << "got \"" << std::string(result) << "\", expecting \"" << std::string(chars_) << "\", reverser \"" << reverse << "\". "; ASSERT(result == chars_); // And the other way std::istringstream rev(reverse); std::string one_reverse; while(rev >> one_reverse) if(one_reverse == glyph_name_) return; const bool failed_to_find_a_correct_value_in_reverse = false; ASSERT(failed_to_find_a_correct_value_in_reverse); } private: const std::string glyph_name_; const Glib::ustring chars_; }; namespace { // First some simple ASCII TestUnicodeOfGlyph t1("A", "A"); TestUnicodeOfGlyph t2("a", "a"); TestUnicodeOfGlyph t3("one", "1"); TestUnicodeOfGlyph t5("dollar", "$"); TestUnicodeOfGlyph t6("equal", "="); // Then on to some chars that are multibyte in utf8 TestUnicodeOfGlyph ut1("aring", Glib::ustring(1, gunichar(0xe5))); // or: TestUnicodeOfGlyph ut2("aring", "\xc3\xa5"); // Python comes in handy when converting to UTF-8 escape sequences // Start python and type "u'foobar'.encode('UTF-8')" // or use unicode escapes: "u'\u05d3'.encode('UTF-8')" // Then some multi-character glyphs TestUnicodeOfGlyph mut1("daletsheva", "\xd7\x93\xd6\xb0"); } passepartout-0.7.1/src/ps/type42.cc000066400000000000000000000076561140125232500171310ustar00rootroot00000000000000/// // Copyright (C) 2004, Fredrik Arnerup & Rasmus Kaj, See COPYING /// #include "type42.h" #include #include "fonts/freetype.hh" #include "encode.h" #include //g++ -DTYPE42_STANDALONE -Wall -g -o type42 -I.. $(pkg-config --libs --cflags glibmm-2.4) type42.cc ../fonts/truetype.cc ../util/warning.cc encode.cc namespace { // starts from 32, goes to 126 char *ascii_encoding[] = { "space", "exclam", "quotedbl", "numbersign", "dollar", "percent", "ampersand", "quoteright", "parenleft", "parenright", "asterisk", "plus", "comma", "hyphen", "period", "slash", "zero", "one", "two", "three", "four", "five", "six", "seven", "eight", "nine", "colon", "semicolon", "less", "equal", "greater", "question", "at", "A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z", "bracketleft", "backslash", "bracketright", "asciicircum", "underscore", "quoteleft", "a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", "braceleft", "bar", "braceright", "asciitilde" }; } void PS::truetype2type42(const std::string &infile, std::ostream &out) { std::ifstream in(infile.c_str()); font::FTMetrics metrics(infile); /// \todo get version numbers from truetype file out << "%!PS-TrueTypeFont\n" // the dict should be initialized to a suitable size, although it // isn't critical in level 2 or later << "17 dict begin\n" << "/FontName /" << metrics.getPostscriptName() << " def\n" << "/PaintType 0 def\n" << "/FontMatrix [1 0 0 1 0 0] def\n" << "/FontType 42 def\n"; out << "/FontBBox ["; for(int i = 0; i < 4; i++) out << metrics.getBBox(i) << " "; out << "] def\n"; //define encoding out << "/Encoding 256 array\n" << "0 1 255 {1 index exch /.notdef put} for\n"; for(int i = 32; i <= 126; i++) // only ascii out << "dup " << i << " /" << ascii_encoding[i - 32] << " put\n"; out << "readonly def\n"; // glyph name -> glyph index mapping using font::FTMetrics; out << "/CharStrings " << metrics.numOfGlyphs() << " dict dup begin\n"; for(unsigned int i = 0; i < metrics.numOfGlyphs(); i++) out << " /" << metrics.nameOfGlyph(i) << " " << i << " def\n"; out << "end readonly def\n"; // include the actual truetype data /// \todo this needs to be modified if we want to be backwards /// compatible with old PostScript interpreters in.seekg(0); // not really necessary if FTMetrics gets a filename // instead of a stream // no exception on eof in.exceptions(std::ios_base::badbit); out << "/sfnts [<\n"; ASCIIHexEncodeFilter filter(false); filter.begin(&out); const int buffer_size = 1024; // rather arbitrary char buffer[buffer_size]; long length = 0; while(in) { in.read(buffer, buffer_size); long count = in.gcount(); filter.write(reinterpret_cast(buffer), count); length += count; if(length > 64000) { // PostScript strings have a maximum length of 65535 length = 0; filter.write(reinterpret_cast(buffer), 0, true); // flush out << ">\n<"; // start new string } filter.end(); } out << ">] def\n"; // end the dictionary and define the font out << "FontName currentdict end definefont pop" << std::endl; } #ifdef TYPE42_STANDALONE int main(int argc, char **argv) { try { if(argc != 2) throw std::runtime_error("Usage: type42 "); std::ifstream file(argv[1]); PS::truetype2type42(file, std::cout); } catch(const std::exception &e) { std::cerr << e.what() << std::endl; } } #endif passepartout-0.7.1/src/ps/type42.h000066400000000000000000000004361140125232500167600ustar00rootroot00000000000000// -*- c++ -*- /// // Copyright (C) 2004, Fredrik Arnerup & Rasmus Kaj, See COPYING /// #ifndef TYPE42_H #define TYPE42_H #include namespace PS { /// Convert a TrueType font to a Type42 font void truetype2type42(const std::string &infile, std::ostream &out); }; #endif passepartout-0.7.1/src/ps/unicode.cc000066400000000000000000000105571140125232500174220ustar00rootroot00000000000000/// // Copyright (C) 2003, 2004, Fredrik Arnerup & Rasmus Kaj, See COPYING /// // to build as stand-alone program: // g++ -Wall -DUNICODE_STANDALONE -o unicode $(pkg-config --cflags --libs glibmm-2.0) glyphs.cc unicode.cc #include "unicode.h" #include #include #ifdef UNICODE_STANDALONE #include #endif // look up glyph in ZapfDingbats list bool PS::Unicode::get_dingbat(const std::string &glyph, Glib::ustring &answer){ if(dingbats.namemap.find(glyph) == dingbats.namemap.end()) return false; answer = *(dingbats.namemap.find(glyph)->second); return true; } // look up glyph in Adobe Glyph list bool PS::Unicode::get_adobe(const std::string &glyph, Glib::ustring &answer){ if(glyphlist.namemap.find(glyph) == glyphlist.namemap.end()) return false; answer = *(glyphlist.namemap.find(glyph)->second); return true; } namespace { bool uppercase_hex(const std::string s) { for(std::string::const_iterator i = s.begin(); i != s.end(); i++) if(!((*i >= 'A' && *i <= 'F') || (*i >= '0' && *i <= '9'))) return false; return true; } }; // try to parse glyph as "uni" + hex bool PS::Unicode::get_uniform(const std::string &glyph, Glib::ustring &answer){ unsigned int l = glyph.length(); if(glyph.substr(0, 3) != "uni") return false; if(l < 7 || ((l - 3) % 4) != 0) // must be groups of four hex digits return false; if(!uppercase_hex(glyph.substr(3))) // must be hex return false; // We're in business! answer = ""; unsigned int i = 3; while(i < l) { std::stringstream s(glyph.substr(i, 4)); s.setf(std::ios::hex, std::ios::basefield); gunichar c; s >> c; answer += c; i += 4; } return true; } // try to parse glyph as "u" + hex bool PS::Unicode::get_uform(const std::string &glyph, Glib::ustring &answer){ unsigned int l = glyph.length(); if(glyph[0] != 'u') return false; if(l != 5 && l != 7) // must have 4 or six digits return false; if(!uppercase_hex(glyph.substr(1))) // must be hex return false; // We're in business! std::stringstream s(glyph.substr(1)); s.setf(std::ios::hex, std::ios::basefield); gunichar c; s >> c; answer = c; return true; } Glib::ustring PS::Unicode::chars_of_glyph(const std::string &glyph_name, bool dingbats) { // According to the Unicode and Glyph Names specification // (http://partners.adobe.com/asn/developer/type/unicodegn.html) Glib::ustring result; // strip everything after '.' std::string g = glyph_name.substr(0, glyph_name.find_first_of('.')); unsigned int length = g.length(); // split string into components, separated by '_' // and process them individually unsigned int i = 0, m; do { m = g.find_first_of('_', i); std::string comp = g.substr(i, m); Glib::ustring part; if((dingbats && get_dingbat(comp, part)) || get_adobe(comp, part) || get_uniform(comp, part) || get_uform(comp, part)) result += part; // else add the empty string to result, i.e. do nothing i = m + 1; } while(i < length && m < length); return result; // Note: Most fonts dont have glyph names with '.' or '_' in them. // Also, most fonts encountered by the developers does not use the // unicode form, so the code above has not been thoroughly tested. } std::string PS::Unicode::glyph_name_of_chars(Glib::ustring chars) { std::string tmp; typedef Glyphs::CodeMap::const_iterator I; std::pair range = glyphlist.codemap.equal_range(chars); for(I i = range.first; i != range.second; i++) tmp += " " + *(i->second); range = dingbats.codemap.equal_range(chars); for(I i = range.first; i != range.second; i++) tmp += " " + *(i->second); if(tmp.length() > 1) return tmp.substr(1); return ""; } #ifdef UNICODE_STANDALONE int main(int argc, char **argv) { using namespace std; unsigned char foo; while(cin >> foo) { cout << "\"" << PS::Unicode::glyph_name_of_chars(Glib::ustring(Glib::ustring::size_type(1), gunichar(foo))) << "\"" << endl; } // using namespace std; // string foo; // while(cin >> foo) { // const Glib::ustring bar = PS::Unicode::chars_of_glyph(foo, true); // cerr << "\"" << bar.raw() << "\"" << endl; // if(bar.empty()) // cerr << "No match: " << foo << endl; // for(Glib::ustring::const_iterator i = bar.begin(); i != bar.end(); i++) // cout << *i << " "; // cout << endl; // } return 0; } #endif passepartout-0.7.1/src/ps/unicode.h000066400000000000000000000042201140125232500172520ustar00rootroot00000000000000// -*- c++ -*- /// // Copyright (C) 2002 - 2004, Fredrik Arnerup & Rasmus Kaj, See COPYING /// #ifndef PSUNICODE #define PSUNICODE #include #include #include // Mapping PostScript glyph names to unicode and vice versa. // I have tried to follow the specs at // http://partners.adobe.com/asn/developer/type/unicodegn.html // to the letter. namespace PS { class Unicode { public: // Get unicode string associated with glyph. Set dingbats to true // if the font is Zapf Dingbats, or a clone thereof. // Returns empty string if the glyph name is undefined. static Glib::ustring chars_of_glyph(const std::string &glyph_name, bool dingbats = false); // Get space-separated list of PostScript glyph names mapping to // unicode character string (usually just one character, but // PostScript allows for the mapping of one glyph to a sequence of // characters). // NOTE: this returns an empty string if the chars are not defined // in the Adobe glyph list or in the dingbats list. It does not // construct "uni" or "u" forms // NOTE ALSO: Glib::ustring's "==" operator is a bit too smart - // it considers e.g. "a" and "acircle" or "v" and "fiveroman" to // be the same character static std::string glyph_name_of_chars(Glib::ustring chars); private: static bool get_dingbat(const std::string &glyph, Glib::ustring &answer); static bool get_adobe(const std::string &glyph, Glib::ustring &answer); static bool get_uniform(const std::string &glyph, Glib::ustring &answer); static bool get_uform(const std::string &glyph, Glib::ustring &answer); // This is my solution to the problem of having a symmetric map // where values also can be used as keys for values of the // keys. There are probably better solutions, but this one is // mine. class Glyphs { public: Glyphs(bool dingbats); typedef std::map NameMap; typedef std::multimap CodeMap; NameMap namemap; CodeMap codemap; }; static const Glyphs glyphlist, dingbats; }; }; #endif passepartout-0.7.1/src/ps/wineps.cc000066400000000000000000000036601140125232500172760ustar00rootroot00000000000000/// // Copyright (C) 2003, 2004, Fredrik Arnerup & Rasmus Kaj, See COPYING /// #include "wineps.h" #include "util/stringutil.h" // safe_getline() #ifdef WINEPS_STANDALONE #include // debug #endif PS::WinEPSFilter &getline(PS::WinEPSFilter &in, std::string &line) { return in.getline(line); } namespace PS { bool check_windows_magic(const char *magic) { unsigned long tmp = 0; for(int i = 0; i < 4; i++) { tmp <<= 8; tmp |= static_cast(magic[i]); } return tmp == 0xC5D0D3C6; // magic number for "windows" eps } WinEPSFilter::WinEPSFilter(const std::string &filename) : ok(true), in(filename.c_str()) { if(in) { win = (in.peek() == 0xC5); // first byte of windows eps if(win) { char tmp; // skip magic number for(int i = 0; i < 4; i++) in.get(tmp); // read start pos of ps section start = 0; for(int i = 0; i < 4; i++) { in.get(tmp); start |= static_cast(tmp) << (i * 8); } // read length of ps section length = 0; for(int i = 0; i < 4; i++) { in.get(tmp); length |= static_cast(tmp) << (i * 8); } #ifdef WINEPS_STANDALONE std::cerr << "start: " << start << ", length: " << length << std::endl; #endif // go to start in.seekg(start); } } } WinEPSFilter &WinEPSFilter::getline(std::string &line) { unsigned long before = in.tellg(); unsigned long max = start + length - 1; // safe_getline handles different kinds of line breaks: if(safe_getline(in, line)) { if(win && before + line.length() > max) { line = line.substr(0, max + 1 - before); ok = false; } } return *this; } } #ifdef WINEPS_STANDALONE int main(int argc, char **argv) { if(argc != 2) { std::cerr << "you must supply a filename" << std::endl; return 1; } PS::WinEPSFilter in(argv[1]); std::string tmp; while(getline(in, tmp)) std::cout << tmp << std::endl; return 0; } #endif passepartout-0.7.1/src/ps/wineps.h000066400000000000000000000017441140125232500171410ustar00rootroot00000000000000// -*- c++ -*- /// // Copyright (C) 2002 - 2004, Fredrik Arnerup & Rasmus Kaj, See COPYING /// #ifndef WINEPS_H #define WINEPS_H #include #include namespace PS { /** * Returns true if the bytes in magic match the magic number for * "Windows" EPS files. * \param magic Must be at least four bytes. */ bool check_windows_magic(const char *magic); /** * A filter that extracts the ps code from all the junk in a * "Windows" EPS. Works on ordinary EPS files as well. */ class WinEPSFilter { // Perhaps this should be a subclass of ifstream, but // I don't know how to do that. public: WinEPSFilter(const std::string &filename); WinEPSFilter &getline(std::string &line); operator bool() const {return in && ok;} private: bool ok, win; unsigned long start, length; std::ifstream in; }; } /** * Similar to getline for istream. */ PS::WinEPSFilter &getline(PS::WinEPSFilter &in, std::string &line); #endif passepartout-0.7.1/src/testbed/000077500000000000000000000000001140125232500164655ustar00rootroot00000000000000passepartout-0.7.1/src/testbed/Makefile.am000066400000000000000000000004661140125232500205270ustar00rootroot00000000000000noinst_LIBRARIES = libppttest.a dist_noinst_HEADERS = testbed.hh libppttest_a_SOURCES = testbed.cc libppttest_a_CXXFLAGS = -I$(top_srcdir)/src # Just because Glib::Exception is stupid and doesn't inherit the standard # exception the testbed has to know about glib! libppttest_a_CXXFLAGS += $(GTKMM_CFLAGS) passepartout-0.7.1/src/testbed/Makefile.in000066400000000000000000000342301140125232500205340ustar00rootroot00000000000000# Makefile.in generated by automake 1.10.1 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, # 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ VPATH = @srcdir@ pkgdatadir = $(datadir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : subdir = src/testbed DIST_COMMON = $(dist_noinst_HEADERS) $(srcdir)/Makefile.am \ $(srcdir)/Makefile.in ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs CONFIG_HEADER = $(top_builddir)/src/defines.h CONFIG_CLEAN_FILES = LIBRARIES = $(noinst_LIBRARIES) AR = ar ARFLAGS = cru libppttest_a_AR = $(AR) $(ARFLAGS) libppttest_a_LIBADD = am_libppttest_a_OBJECTS = libppttest_a-testbed.$(OBJEXT) libppttest_a_OBJECTS = $(am_libppttest_a_OBJECTS) DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)/src depcomp = $(SHELL) $(top_srcdir)/depcomp am__depfiles_maybe = depfiles CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) CXXLD = $(CXX) CXXLINK = $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(AM_LDFLAGS) $(LDFLAGS) \ -o $@ SOURCES = $(libppttest_a_SOURCES) DIST_SOURCES = $(libppttest_a_SOURCES) HEADERS = $(dist_noinst_HEADERS) ETAGS = etags CTAGS = ctags DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ AMTAR = @AMTAR@ APPLY_RPATH = @APPLY_RPATH@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CXX = @CXX@ CXXDEPMODE = @CXXDEPMODE@ CXXFLAGS = @CXXFLAGS@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ FREETYPE_CFLAGS = @FREETYPE_CFLAGS@ FREETYPE_LIBS = @FREETYPE_LIBS@ GNOMECANVAS_CFLAGS = @GNOMECANVAS_CFLAGS@ GNOMECANVAS_LIBS = @GNOMECANVAS_LIBS@ GNOMEVFS_CFLAGS = @GNOMEVFS_CFLAGS@ GNOMEVFS_LIBS = @GNOMEVFS_LIBS@ GNOME_CFLAGS = @GNOME_CFLAGS@ GNOME_LIBS = @GNOME_LIBS@ GREP = @GREP@ GTHREAD_CFLAGS = @GTHREAD_CFLAGS@ GTHREAD_LIBS = @GTHREAD_LIBS@ GTKMM_CFLAGS = @GTKMM_CFLAGS@ GTKMM_LIBS = @GTKMM_LIBS@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ LDFLAGS = @LDFLAGS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LTLIBOBJS = @LTLIBOBJS@ MAKEINFO = @MAKEINFO@ MKDIR_P = @MKDIR_P@ OBJEXT = @OBJEXT@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ RANLIB = @RANLIB@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ VERSION = @VERSION@ XMLPP_CFLAGS = @XMLPP_CFLAGS@ XMLPP_LIBS = @XMLPP_LIBS@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ ac_ct_CC = @ac_ct_CC@ ac_ct_CXX = @ac_ct_CXX@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build_alias = @build_alias@ builddir = @builddir@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host_alias = @host_alias@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ xmldir = @xmldir@ noinst_LIBRARIES = libppttest.a dist_noinst_HEADERS = testbed.hh libppttest_a_SOURCES = testbed.cc # Just because Glib::Exception is stupid and doesn't inherit the standard # exception the testbed has to know about glib! libppttest_a_CXXFLAGS = -I$(top_srcdir)/src $(GTKMM_CFLAGS) all: all-am .SUFFIXES: .SUFFIXES: .cc .o .obj $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ && exit 0; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign src/testbed/Makefile'; \ cd $(top_srcdir) && \ $(AUTOMAKE) --foreign src/testbed/Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh clean-noinstLIBRARIES: -test -z "$(noinst_LIBRARIES)" || rm -f $(noinst_LIBRARIES) libppttest.a: $(libppttest_a_OBJECTS) $(libppttest_a_DEPENDENCIES) -rm -f libppttest.a $(libppttest_a_AR) libppttest.a $(libppttest_a_OBJECTS) $(libppttest_a_LIBADD) $(RANLIB) libppttest.a mostlyclean-compile: -rm -f *.$(OBJEXT) distclean-compile: -rm -f *.tab.c @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libppttest_a-testbed.Po@am__quote@ .cc.o: @am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< @am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ $< .cc.obj: @am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` @am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'` libppttest_a-testbed.o: testbed.cc @am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libppttest_a_CXXFLAGS) $(CXXFLAGS) -MT libppttest_a-testbed.o -MD -MP -MF $(DEPDIR)/libppttest_a-testbed.Tpo -c -o libppttest_a-testbed.o `test -f 'testbed.cc' || echo '$(srcdir)/'`testbed.cc @am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/libppttest_a-testbed.Tpo $(DEPDIR)/libppttest_a-testbed.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='testbed.cc' object='libppttest_a-testbed.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libppttest_a_CXXFLAGS) $(CXXFLAGS) -c -o libppttest_a-testbed.o `test -f 'testbed.cc' || echo '$(srcdir)/'`testbed.cc libppttest_a-testbed.obj: testbed.cc @am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libppttest_a_CXXFLAGS) $(CXXFLAGS) -MT libppttest_a-testbed.obj -MD -MP -MF $(DEPDIR)/libppttest_a-testbed.Tpo -c -o libppttest_a-testbed.obj `if test -f 'testbed.cc'; then $(CYGPATH_W) 'testbed.cc'; else $(CYGPATH_W) '$(srcdir)/testbed.cc'; fi` @am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/libppttest_a-testbed.Tpo $(DEPDIR)/libppttest_a-testbed.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='testbed.cc' object='libppttest_a-testbed.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libppttest_a_CXXFLAGS) $(CXXFLAGS) -c -o libppttest_a-testbed.obj `if test -f 'testbed.cc'; then $(CYGPATH_W) 'testbed.cc'; else $(CYGPATH_W) '$(srcdir)/testbed.cc'; fi` ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \ END { if (nonempty) { for (i in files) print i; }; }'`; \ mkid -fID $$unique tags: TAGS TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) tags=; \ here=`pwd`; \ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in files) print i; }; }'`; \ if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ $$tags $$unique; \ fi ctags: CTAGS CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) tags=; \ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in files) print i; }; }'`; \ test -z "$(CTAGS_ARGS)$$tags$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$tags $$unique GTAGS: here=`$(am__cd) $(top_builddir) && pwd` \ && cd $(top_srcdir) \ && gtags -i $(GTAGS_ARGS) $$here distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ fi; \ cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ else \ test -f $(distdir)/$$file \ || cp -p $$d/$$file $(distdir)/$$file \ || exit 1; \ fi; \ done check-am: all-am check: check-am all-am: Makefile $(LIBRARIES) $(HEADERS) installdirs: install: install-am install-exec: install-exec-am install-data: install-data-am uninstall: uninstall-am install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-am install-strip: $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ `test -z '$(STRIP)' || \ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install mostlyclean-generic: clean-generic: distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-am clean-am: clean-generic clean-noinstLIBRARIES mostlyclean-am distclean: distclean-am -rm -rf ./$(DEPDIR) -rm -f Makefile distclean-am: clean-am distclean-compile distclean-generic \ distclean-tags dvi: dvi-am dvi-am: html: html-am info: info-am info-am: install-data-am: install-dvi: install-dvi-am install-exec-am: install-html: install-html-am install-info: install-info-am install-man: install-pdf: install-pdf-am install-ps: install-ps-am installcheck-am: maintainer-clean: maintainer-clean-am -rm -rf ./$(DEPDIR) -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am mostlyclean-am: mostlyclean-compile mostlyclean-generic pdf: pdf-am pdf-am: ps: ps-am ps-am: uninstall-am: .MAKE: install-am install-strip .PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \ clean-noinstLIBRARIES ctags distclean distclean-compile \ distclean-generic distclean-tags distdir dvi dvi-am html \ html-am info info-am install install-am install-data \ install-data-am install-dvi install-dvi-am install-exec \ install-exec-am install-html install-html-am install-info \ install-info-am install-man install-pdf install-pdf-am \ install-ps install-ps-am install-strip installcheck \ installcheck-am installdirs maintainer-clean \ maintainer-clean-generic mostlyclean mostlyclean-compile \ mostlyclean-generic pdf pdf-am ps ps-am tags uninstall \ uninstall-am # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: passepartout-0.7.1/src/testbed/testbed.cc000066400000000000000000000035241140125232500204320ustar00rootroot00000000000000#include "testbed.hh" #include "util/warning.h" #include // Stupid glib! #include #include /// // Copyright (C) 2003, 2004, Fredrik Arnerup & Rasmus Kaj, See COPYING /// TestCase::CaseSet TestCase::cases; int TestCase::successes = 0; int TestCase::failures = 0; TestCase::TestCase(const std::string& name) : name_(name) { cases.insert(this); } TestCase::~TestCase() { cases.erase(this); } bool TestCase::run() { try { verbose << "Running test " << name_ << " ... "; test(); verbose << "done." << std::endl; ++successes; return true; } catch(const std::exception& err) { warning << "\nTest \"" << name_ << "\" failed: " << err.what() << '.' << std::endl; ++failures; return false; } catch(const Glib::Exception& err) { // Glib::Exception doesn't inherit std::exception. Bad Glib! warning << "\nTest \"" << name_ << "\" failed: " << err.what() << '.' << std::endl; ++failures; return false; } } void do_assert(bool condition, const char* msg) { if(!condition) throw std::logic_error(msg); }; int main(int argc, char* argv[]) { try { verbose.active = true; verbose << "Starting test run. " << TestCase::cases.size() << " case(s) to try." << std::endl; std::for_each(TestCase::cases.begin(), TestCase::cases.end(), std::mem_fun(&TestCase::run)); verbose << "Done running " << TestCase::cases.size() << " test case(s). " << TestCase::successes << " succeded, " << TestCase::failures << " failed." << std::endl; return TestCase::failures == 0? 0: 1; } catch(const std::exception& err) { warning << "\nERROR: Exception reached main: " << err.what() << std::endl; return 1; } catch(...) { warning << "\nERROR: Caugth non-exception. How rude!" << std::endl; return 1; } } passepartout-0.7.1/src/testbed/testbed.hh000066400000000000000000000025501140125232500204420ustar00rootroot00000000000000#ifndef PPT_TESTBED_H #define PPT_TESTBED_H /// // Copyright (C) 2003, 2004, Fredrik Arnerup & Rasmus Kaj, See COPYING /// #include #include /** * Base class for test case classes. Test classes are self-regiestering in a * container, so each instantiaded test case will be run from testmain. */ class TestCase { public: TestCase(const std::string& name); virtual ~TestCase(); virtual void test() = 0; private: bool run(); std::string name_; typedef std::set CaseSet; static CaseSet cases; static int successes, failures; friend int main(int argc, char* argv[]); // undefined TestCase(); TestCase(const TestCase&); TestCase& operator = (const TestCase&); }; /** * A TestCase where the actual testing is done by a simple function. */ template class AnyTestFunction : public TestCase { public: AnyTestFunction(const std::string& name, Function function) : TestCase(name), function_(function) {} void test() { function_(); } private: Function function_; }; typedef void (*SimpleFunction)(); typedef AnyTestFunction TestFunction; /** Utility function: extended assertion, throws logic_error on failure */ void do_assert(bool condition, const char* msg); /** The actual assertion */ #define ASSERT(cond) do_assert(cond, "Assertion failed: " #cond); #endif passepartout-0.7.1/src/util/000077500000000000000000000000001140125232500160105ustar00rootroot00000000000000passepartout-0.7.1/src/util/Makefile.am000066400000000000000000000017471140125232500200550ustar00rootroot00000000000000noinst_LIBRARIES = libpptutil.a dist_noinst_HEADERS = stringutil.h filesys.h warning.h os.h configfile.h \ valueunit.h units.h refcount.h matrix.h boundary.h \ rectboundary.h typeinfo.h barrier.h processman.h tempfile.h \ filewatcher.h vector.h filedescriptors.h cmdline.h xmlwrap.h libpptutil_a_SOURCES = stringutil.cc filesys.cc warning.cc os.cc \ configfile.cc \ matrix.cc boundary.cc rectboundary.cc typeinfo.cc barrier.cc \ processman.cc tempfile.cc filewatcher.cc filedescriptors.cc \ cmdline.cc xmlwrap.cc # gtkmm and gnomecanvas flags is needed just to get RefPtr and AffineTrans. CXXFLAGS = $(XMLPP_CFLAGS) $(GTKMM_CFLAGS) $(GNOMECANVAS_CFLAGS) TESTS = runtest check_PROGRAMS = runtest runtest_SOURCES = test_stringutil.cc test_valuunit.cc test_matrix.cc \ test_boundary.cc test_procio.cc test_cmdline.cc runtest_CXXFLAGS = -I$(top_srcdir)/src runtest_DEPENDENCIES = $(noinst_LIBRARIES) runtest_LDADD = -L../testbed -lppttest -L. -lpptutil $(GTKMM_LIBS) $(GNOMECANVAS_LIBS) passepartout-0.7.1/src/util/Makefile.in000066400000000000000000000713731140125232500200700ustar00rootroot00000000000000# Makefile.in generated by automake 1.10.1 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, # 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ VPATH = @srcdir@ pkgdatadir = $(datadir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : TESTS = runtest$(EXEEXT) check_PROGRAMS = runtest$(EXEEXT) subdir = src/util DIST_COMMON = $(dist_noinst_HEADERS) $(srcdir)/Makefile.am \ $(srcdir)/Makefile.in ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs CONFIG_HEADER = $(top_builddir)/src/defines.h CONFIG_CLEAN_FILES = LIBRARIES = $(noinst_LIBRARIES) AR = ar ARFLAGS = cru libpptutil_a_AR = $(AR) $(ARFLAGS) libpptutil_a_LIBADD = am_libpptutil_a_OBJECTS = stringutil.$(OBJEXT) filesys.$(OBJEXT) \ warning.$(OBJEXT) os.$(OBJEXT) configfile.$(OBJEXT) \ matrix.$(OBJEXT) boundary.$(OBJEXT) rectboundary.$(OBJEXT) \ typeinfo.$(OBJEXT) barrier.$(OBJEXT) processman.$(OBJEXT) \ tempfile.$(OBJEXT) filewatcher.$(OBJEXT) \ filedescriptors.$(OBJEXT) cmdline.$(OBJEXT) xmlwrap.$(OBJEXT) libpptutil_a_OBJECTS = $(am_libpptutil_a_OBJECTS) am_runtest_OBJECTS = runtest-test_stringutil.$(OBJEXT) \ runtest-test_valuunit.$(OBJEXT) runtest-test_matrix.$(OBJEXT) \ runtest-test_boundary.$(OBJEXT) runtest-test_procio.$(OBJEXT) \ runtest-test_cmdline.$(OBJEXT) runtest_OBJECTS = $(am_runtest_OBJECTS) am__DEPENDENCIES_1 = runtest_LINK = $(CXXLD) $(runtest_CXXFLAGS) $(CXXFLAGS) $(AM_LDFLAGS) \ $(LDFLAGS) -o $@ DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)/src depcomp = $(SHELL) $(top_srcdir)/depcomp am__depfiles_maybe = depfiles CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) CXXLD = $(CXX) CXXLINK = $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(AM_LDFLAGS) $(LDFLAGS) \ -o $@ SOURCES = $(libpptutil_a_SOURCES) $(runtest_SOURCES) DIST_SOURCES = $(libpptutil_a_SOURCES) $(runtest_SOURCES) HEADERS = $(dist_noinst_HEADERS) ETAGS = etags CTAGS = ctags DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ AMTAR = @AMTAR@ APPLY_RPATH = @APPLY_RPATH@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CXX = @CXX@ CXXDEPMODE = @CXXDEPMODE@ # gtkmm and gnomecanvas flags is needed just to get RefPtr and AffineTrans. CXXFLAGS = $(XMLPP_CFLAGS) $(GTKMM_CFLAGS) $(GNOMECANVAS_CFLAGS) CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ FREETYPE_CFLAGS = @FREETYPE_CFLAGS@ FREETYPE_LIBS = @FREETYPE_LIBS@ GNOMECANVAS_CFLAGS = @GNOMECANVAS_CFLAGS@ GNOMECANVAS_LIBS = @GNOMECANVAS_LIBS@ GNOMEVFS_CFLAGS = @GNOMEVFS_CFLAGS@ GNOMEVFS_LIBS = @GNOMEVFS_LIBS@ GNOME_CFLAGS = @GNOME_CFLAGS@ GNOME_LIBS = @GNOME_LIBS@ GREP = @GREP@ GTHREAD_CFLAGS = @GTHREAD_CFLAGS@ GTHREAD_LIBS = @GTHREAD_LIBS@ GTKMM_CFLAGS = @GTKMM_CFLAGS@ GTKMM_LIBS = @GTKMM_LIBS@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ LDFLAGS = @LDFLAGS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LTLIBOBJS = @LTLIBOBJS@ MAKEINFO = @MAKEINFO@ MKDIR_P = @MKDIR_P@ OBJEXT = @OBJEXT@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ RANLIB = @RANLIB@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ VERSION = @VERSION@ XMLPP_CFLAGS = @XMLPP_CFLAGS@ XMLPP_LIBS = @XMLPP_LIBS@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ ac_ct_CC = @ac_ct_CC@ ac_ct_CXX = @ac_ct_CXX@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build_alias = @build_alias@ builddir = @builddir@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host_alias = @host_alias@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ xmldir = @xmldir@ noinst_LIBRARIES = libpptutil.a dist_noinst_HEADERS = stringutil.h filesys.h warning.h os.h configfile.h \ valueunit.h units.h refcount.h matrix.h boundary.h \ rectboundary.h typeinfo.h barrier.h processman.h tempfile.h \ filewatcher.h vector.h filedescriptors.h cmdline.h xmlwrap.h libpptutil_a_SOURCES = stringutil.cc filesys.cc warning.cc os.cc \ configfile.cc \ matrix.cc boundary.cc rectboundary.cc typeinfo.cc barrier.cc \ processman.cc tempfile.cc filewatcher.cc filedescriptors.cc \ cmdline.cc xmlwrap.cc runtest_SOURCES = test_stringutil.cc test_valuunit.cc test_matrix.cc \ test_boundary.cc test_procio.cc test_cmdline.cc runtest_CXXFLAGS = -I$(top_srcdir)/src runtest_DEPENDENCIES = $(noinst_LIBRARIES) runtest_LDADD = -L../testbed -lppttest -L. -lpptutil $(GTKMM_LIBS) $(GNOMECANVAS_LIBS) all: all-am .SUFFIXES: .SUFFIXES: .cc .o .obj $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ && exit 0; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign src/util/Makefile'; \ cd $(top_srcdir) && \ $(AUTOMAKE) --foreign src/util/Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh clean-noinstLIBRARIES: -test -z "$(noinst_LIBRARIES)" || rm -f $(noinst_LIBRARIES) libpptutil.a: $(libpptutil_a_OBJECTS) $(libpptutil_a_DEPENDENCIES) -rm -f libpptutil.a $(libpptutil_a_AR) libpptutil.a $(libpptutil_a_OBJECTS) $(libpptutil_a_LIBADD) $(RANLIB) libpptutil.a clean-checkPROGRAMS: -test -z "$(check_PROGRAMS)" || rm -f $(check_PROGRAMS) runtest$(EXEEXT): $(runtest_OBJECTS) $(runtest_DEPENDENCIES) @rm -f runtest$(EXEEXT) $(runtest_LINK) $(runtest_OBJECTS) $(runtest_LDADD) $(LIBS) mostlyclean-compile: -rm -f *.$(OBJEXT) distclean-compile: -rm -f *.tab.c @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/barrier.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/boundary.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cmdline.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/configfile.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/filedescriptors.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/filesys.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/filewatcher.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/matrix.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/os.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/processman.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/rectboundary.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/runtest-test_boundary.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/runtest-test_cmdline.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/runtest-test_matrix.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/runtest-test_procio.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/runtest-test_stringutil.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/runtest-test_valuunit.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/stringutil.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/tempfile.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/typeinfo.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/warning.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xmlwrap.Po@am__quote@ .cc.o: @am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< @am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ $< .cc.obj: @am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` @am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'` runtest-test_stringutil.o: test_stringutil.cc @am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(runtest_CXXFLAGS) $(CXXFLAGS) -MT runtest-test_stringutil.o -MD -MP -MF $(DEPDIR)/runtest-test_stringutil.Tpo -c -o runtest-test_stringutil.o `test -f 'test_stringutil.cc' || echo '$(srcdir)/'`test_stringutil.cc @am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/runtest-test_stringutil.Tpo $(DEPDIR)/runtest-test_stringutil.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='test_stringutil.cc' object='runtest-test_stringutil.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(runtest_CXXFLAGS) $(CXXFLAGS) -c -o runtest-test_stringutil.o `test -f 'test_stringutil.cc' || echo '$(srcdir)/'`test_stringutil.cc runtest-test_stringutil.obj: test_stringutil.cc @am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(runtest_CXXFLAGS) $(CXXFLAGS) -MT runtest-test_stringutil.obj -MD -MP -MF $(DEPDIR)/runtest-test_stringutil.Tpo -c -o runtest-test_stringutil.obj `if test -f 'test_stringutil.cc'; then $(CYGPATH_W) 'test_stringutil.cc'; else $(CYGPATH_W) '$(srcdir)/test_stringutil.cc'; fi` @am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/runtest-test_stringutil.Tpo $(DEPDIR)/runtest-test_stringutil.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='test_stringutil.cc' object='runtest-test_stringutil.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(runtest_CXXFLAGS) $(CXXFLAGS) -c -o runtest-test_stringutil.obj `if test -f 'test_stringutil.cc'; then $(CYGPATH_W) 'test_stringutil.cc'; else $(CYGPATH_W) '$(srcdir)/test_stringutil.cc'; fi` runtest-test_valuunit.o: test_valuunit.cc @am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(runtest_CXXFLAGS) $(CXXFLAGS) -MT runtest-test_valuunit.o -MD -MP -MF $(DEPDIR)/runtest-test_valuunit.Tpo -c -o runtest-test_valuunit.o `test -f 'test_valuunit.cc' || echo '$(srcdir)/'`test_valuunit.cc @am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/runtest-test_valuunit.Tpo $(DEPDIR)/runtest-test_valuunit.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='test_valuunit.cc' object='runtest-test_valuunit.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(runtest_CXXFLAGS) $(CXXFLAGS) -c -o runtest-test_valuunit.o `test -f 'test_valuunit.cc' || echo '$(srcdir)/'`test_valuunit.cc runtest-test_valuunit.obj: test_valuunit.cc @am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(runtest_CXXFLAGS) $(CXXFLAGS) -MT runtest-test_valuunit.obj -MD -MP -MF $(DEPDIR)/runtest-test_valuunit.Tpo -c -o runtest-test_valuunit.obj `if test -f 'test_valuunit.cc'; then $(CYGPATH_W) 'test_valuunit.cc'; else $(CYGPATH_W) '$(srcdir)/test_valuunit.cc'; fi` @am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/runtest-test_valuunit.Tpo $(DEPDIR)/runtest-test_valuunit.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='test_valuunit.cc' object='runtest-test_valuunit.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(runtest_CXXFLAGS) $(CXXFLAGS) -c -o runtest-test_valuunit.obj `if test -f 'test_valuunit.cc'; then $(CYGPATH_W) 'test_valuunit.cc'; else $(CYGPATH_W) '$(srcdir)/test_valuunit.cc'; fi` runtest-test_matrix.o: test_matrix.cc @am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(runtest_CXXFLAGS) $(CXXFLAGS) -MT runtest-test_matrix.o -MD -MP -MF $(DEPDIR)/runtest-test_matrix.Tpo -c -o runtest-test_matrix.o `test -f 'test_matrix.cc' || echo '$(srcdir)/'`test_matrix.cc @am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/runtest-test_matrix.Tpo $(DEPDIR)/runtest-test_matrix.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='test_matrix.cc' object='runtest-test_matrix.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(runtest_CXXFLAGS) $(CXXFLAGS) -c -o runtest-test_matrix.o `test -f 'test_matrix.cc' || echo '$(srcdir)/'`test_matrix.cc runtest-test_matrix.obj: test_matrix.cc @am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(runtest_CXXFLAGS) $(CXXFLAGS) -MT runtest-test_matrix.obj -MD -MP -MF $(DEPDIR)/runtest-test_matrix.Tpo -c -o runtest-test_matrix.obj `if test -f 'test_matrix.cc'; then $(CYGPATH_W) 'test_matrix.cc'; else $(CYGPATH_W) '$(srcdir)/test_matrix.cc'; fi` @am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/runtest-test_matrix.Tpo $(DEPDIR)/runtest-test_matrix.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='test_matrix.cc' object='runtest-test_matrix.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(runtest_CXXFLAGS) $(CXXFLAGS) -c -o runtest-test_matrix.obj `if test -f 'test_matrix.cc'; then $(CYGPATH_W) 'test_matrix.cc'; else $(CYGPATH_W) '$(srcdir)/test_matrix.cc'; fi` runtest-test_boundary.o: test_boundary.cc @am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(runtest_CXXFLAGS) $(CXXFLAGS) -MT runtest-test_boundary.o -MD -MP -MF $(DEPDIR)/runtest-test_boundary.Tpo -c -o runtest-test_boundary.o `test -f 'test_boundary.cc' || echo '$(srcdir)/'`test_boundary.cc @am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/runtest-test_boundary.Tpo $(DEPDIR)/runtest-test_boundary.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='test_boundary.cc' object='runtest-test_boundary.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(runtest_CXXFLAGS) $(CXXFLAGS) -c -o runtest-test_boundary.o `test -f 'test_boundary.cc' || echo '$(srcdir)/'`test_boundary.cc runtest-test_boundary.obj: test_boundary.cc @am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(runtest_CXXFLAGS) $(CXXFLAGS) -MT runtest-test_boundary.obj -MD -MP -MF $(DEPDIR)/runtest-test_boundary.Tpo -c -o runtest-test_boundary.obj `if test -f 'test_boundary.cc'; then $(CYGPATH_W) 'test_boundary.cc'; else $(CYGPATH_W) '$(srcdir)/test_boundary.cc'; fi` @am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/runtest-test_boundary.Tpo $(DEPDIR)/runtest-test_boundary.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='test_boundary.cc' object='runtest-test_boundary.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(runtest_CXXFLAGS) $(CXXFLAGS) -c -o runtest-test_boundary.obj `if test -f 'test_boundary.cc'; then $(CYGPATH_W) 'test_boundary.cc'; else $(CYGPATH_W) '$(srcdir)/test_boundary.cc'; fi` runtest-test_procio.o: test_procio.cc @am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(runtest_CXXFLAGS) $(CXXFLAGS) -MT runtest-test_procio.o -MD -MP -MF $(DEPDIR)/runtest-test_procio.Tpo -c -o runtest-test_procio.o `test -f 'test_procio.cc' || echo '$(srcdir)/'`test_procio.cc @am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/runtest-test_procio.Tpo $(DEPDIR)/runtest-test_procio.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='test_procio.cc' object='runtest-test_procio.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(runtest_CXXFLAGS) $(CXXFLAGS) -c -o runtest-test_procio.o `test -f 'test_procio.cc' || echo '$(srcdir)/'`test_procio.cc runtest-test_procio.obj: test_procio.cc @am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(runtest_CXXFLAGS) $(CXXFLAGS) -MT runtest-test_procio.obj -MD -MP -MF $(DEPDIR)/runtest-test_procio.Tpo -c -o runtest-test_procio.obj `if test -f 'test_procio.cc'; then $(CYGPATH_W) 'test_procio.cc'; else $(CYGPATH_W) '$(srcdir)/test_procio.cc'; fi` @am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/runtest-test_procio.Tpo $(DEPDIR)/runtest-test_procio.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='test_procio.cc' object='runtest-test_procio.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(runtest_CXXFLAGS) $(CXXFLAGS) -c -o runtest-test_procio.obj `if test -f 'test_procio.cc'; then $(CYGPATH_W) 'test_procio.cc'; else $(CYGPATH_W) '$(srcdir)/test_procio.cc'; fi` runtest-test_cmdline.o: test_cmdline.cc @am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(runtest_CXXFLAGS) $(CXXFLAGS) -MT runtest-test_cmdline.o -MD -MP -MF $(DEPDIR)/runtest-test_cmdline.Tpo -c -o runtest-test_cmdline.o `test -f 'test_cmdline.cc' || echo '$(srcdir)/'`test_cmdline.cc @am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/runtest-test_cmdline.Tpo $(DEPDIR)/runtest-test_cmdline.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='test_cmdline.cc' object='runtest-test_cmdline.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(runtest_CXXFLAGS) $(CXXFLAGS) -c -o runtest-test_cmdline.o `test -f 'test_cmdline.cc' || echo '$(srcdir)/'`test_cmdline.cc runtest-test_cmdline.obj: test_cmdline.cc @am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(runtest_CXXFLAGS) $(CXXFLAGS) -MT runtest-test_cmdline.obj -MD -MP -MF $(DEPDIR)/runtest-test_cmdline.Tpo -c -o runtest-test_cmdline.obj `if test -f 'test_cmdline.cc'; then $(CYGPATH_W) 'test_cmdline.cc'; else $(CYGPATH_W) '$(srcdir)/test_cmdline.cc'; fi` @am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/runtest-test_cmdline.Tpo $(DEPDIR)/runtest-test_cmdline.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='test_cmdline.cc' object='runtest-test_cmdline.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(runtest_CXXFLAGS) $(CXXFLAGS) -c -o runtest-test_cmdline.obj `if test -f 'test_cmdline.cc'; then $(CYGPATH_W) 'test_cmdline.cc'; else $(CYGPATH_W) '$(srcdir)/test_cmdline.cc'; fi` ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \ END { if (nonempty) { for (i in files) print i; }; }'`; \ mkid -fID $$unique tags: TAGS TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) tags=; \ here=`pwd`; \ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in files) print i; }; }'`; \ if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ $$tags $$unique; \ fi ctags: CTAGS CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) tags=; \ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in files) print i; }; }'`; \ test -z "$(CTAGS_ARGS)$$tags$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$tags $$unique GTAGS: here=`$(am__cd) $(top_builddir) && pwd` \ && cd $(top_srcdir) \ && gtags -i $(GTAGS_ARGS) $$here distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags check-TESTS: $(TESTS) @failed=0; all=0; xfail=0; xpass=0; skip=0; ws='[ ]'; \ srcdir=$(srcdir); export srcdir; \ list=' $(TESTS) '; \ if test -n "$$list"; then \ for tst in $$list; do \ if test -f ./$$tst; then dir=./; \ elif test -f $$tst; then dir=; \ else dir="$(srcdir)/"; fi; \ if $(TESTS_ENVIRONMENT) $${dir}$$tst; then \ all=`expr $$all + 1`; \ case " $(XFAIL_TESTS) " in \ *$$ws$$tst$$ws*) \ xpass=`expr $$xpass + 1`; \ failed=`expr $$failed + 1`; \ echo "XPASS: $$tst"; \ ;; \ *) \ echo "PASS: $$tst"; \ ;; \ esac; \ elif test $$? -ne 77; then \ all=`expr $$all + 1`; \ case " $(XFAIL_TESTS) " in \ *$$ws$$tst$$ws*) \ xfail=`expr $$xfail + 1`; \ echo "XFAIL: $$tst"; \ ;; \ *) \ failed=`expr $$failed + 1`; \ echo "FAIL: $$tst"; \ ;; \ esac; \ else \ skip=`expr $$skip + 1`; \ echo "SKIP: $$tst"; \ fi; \ done; \ if test "$$failed" -eq 0; then \ if test "$$xfail" -eq 0; then \ banner="All $$all tests passed"; \ else \ banner="All $$all tests behaved as expected ($$xfail expected failures)"; \ fi; \ else \ if test "$$xpass" -eq 0; then \ banner="$$failed of $$all tests failed"; \ else \ banner="$$failed of $$all tests did not behave as expected ($$xpass unexpected passes)"; \ fi; \ fi; \ dashes="$$banner"; \ skipped=""; \ if test "$$skip" -ne 0; then \ skipped="($$skip tests were not run)"; \ test `echo "$$skipped" | wc -c` -le `echo "$$banner" | wc -c` || \ dashes="$$skipped"; \ fi; \ report=""; \ if test "$$failed" -ne 0 && test -n "$(PACKAGE_BUGREPORT)"; then \ report="Please report to $(PACKAGE_BUGREPORT)"; \ test `echo "$$report" | wc -c` -le `echo "$$banner" | wc -c` || \ dashes="$$report"; \ fi; \ dashes=`echo "$$dashes" | sed s/./=/g`; \ echo "$$dashes"; \ echo "$$banner"; \ test -z "$$skipped" || echo "$$skipped"; \ test -z "$$report" || echo "$$report"; \ echo "$$dashes"; \ test "$$failed" -eq 0; \ else :; fi distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ fi; \ cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ else \ test -f $(distdir)/$$file \ || cp -p $$d/$$file $(distdir)/$$file \ || exit 1; \ fi; \ done check-am: all-am $(MAKE) $(AM_MAKEFLAGS) $(check_PROGRAMS) $(MAKE) $(AM_MAKEFLAGS) check-TESTS check: check-am all-am: Makefile $(LIBRARIES) $(HEADERS) installdirs: install: install-am install-exec: install-exec-am install-data: install-data-am uninstall: uninstall-am install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-am install-strip: $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ `test -z '$(STRIP)' || \ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install mostlyclean-generic: clean-generic: distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-am clean-am: clean-checkPROGRAMS clean-generic clean-noinstLIBRARIES \ mostlyclean-am distclean: distclean-am -rm -rf ./$(DEPDIR) -rm -f Makefile distclean-am: clean-am distclean-compile distclean-generic \ distclean-tags dvi: dvi-am dvi-am: html: html-am info: info-am info-am: install-data-am: install-dvi: install-dvi-am install-exec-am: install-html: install-html-am install-info: install-info-am install-man: install-pdf: install-pdf-am install-ps: install-ps-am installcheck-am: maintainer-clean: maintainer-clean-am -rm -rf ./$(DEPDIR) -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am mostlyclean-am: mostlyclean-compile mostlyclean-generic pdf: pdf-am pdf-am: ps: ps-am ps-am: uninstall-am: .MAKE: install-am install-strip .PHONY: CTAGS GTAGS all all-am check check-TESTS check-am clean \ clean-checkPROGRAMS clean-generic clean-noinstLIBRARIES ctags \ distclean distclean-compile distclean-generic distclean-tags \ distdir dvi dvi-am html html-am info info-am install \ install-am install-data install-data-am install-dvi \ install-dvi-am install-exec install-exec-am install-html \ install-html-am install-info install-info-am install-man \ install-pdf install-pdf-am install-ps install-ps-am \ install-strip installcheck installcheck-am installdirs \ maintainer-clean maintainer-clean-generic mostlyclean \ mostlyclean-compile mostlyclean-generic pdf pdf-am ps ps-am \ tags uninstall uninstall-am # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: passepartout-0.7.1/src/util/barrier.cc000066400000000000000000000007261140125232500177520ustar00rootroot00000000000000/// // Copyright (C) 2002 - 2004, Fredrik Arnerup & Rasmus Kaj, See COPYING /// #include "barrier.h" Barrier::Barrier() : is_open(false) {} Barrier::~Barrier() {} void Barrier::wait() { Glib::Mutex::Lock lock(mutex); while (!is_open) cond.wait(mutex); } void Barrier::open() { Glib::Mutex::Lock lock(mutex); if(!is_open) { is_open = true; cond.broadcast(); } } void Barrier::reclose() { Glib::Mutex::Lock lock(mutex); is_open = false; } passepartout-0.7.1/src/util/barrier.h000066400000000000000000000023641140125232500176140ustar00rootroot00000000000000#ifndef PUTIL_BARRIER_H // -*- c++ -*- #define PUTIL_BARRIER_H /// // Copyright (C) 2002 - 2004, Fredrik Arnerup & Rasmus Kaj, See COPYING /// #include /** * A simple Barrier impelemented with a condition variable. The Barrier is * initially closed, any number of threads can {wait} for it, and when the * barrier is {open}ed all waiting threads are free to continue. * Calling {wait} on a Barrier that is allready {open} returns imediatley. */ class Barrier { public: Barrier(); ~Barrier(); /** Wait for the barrier to become open. */ void wait(); /** * Open the barrier, all current and future {wait}s are * returned. Opening a Barrier that is already open is a no-op. */ void open(); /** Get current state of the {Barrier}. This method is non-blocking. */ bool get_open() { return is_open; } /** * Close the barrier so it can be used again. * Caution: If a barrier is {open}ed and then {reclose}d, it can't be * garanteed that all {wait}ing threads is continued before the {reclose}. */ void reclose(); private: Glib::Mutex mutex; Glib::Cond cond; volatile bool is_open; // Undefined - forbidden Barrier(const Barrier&); Barrier& operator = (const Barrier&); }; #endif passepartout-0.7.1/src/util/boundary.cc000066400000000000000000000015451140125232500201470ustar00rootroot00000000000000/// // Copyright (C) 2002 - 2004, Fredrik Arnerup & Rasmus Kaj, See COPYING /// #include "boundary.h" #include "rectboundary.h" // The input operator creates specifiks #include "typeinfo.h" #include template<> std::string TypeInfo::name() { return "boundary"; } std::istream& operator >> (std::istream& in, Boundary& b) { float w, h, left, bottom; char x; if((in >> w >> x) && (x == 'x') && (in >> h >> left >> bottom)) b = RectBoundary::create(Matrix::translation(left, bottom), w, h); return in; } Boundary operator * (const Matrix& m, const Boundary& b) { if(!b) return Boundary(); Boundary result = b->clone(); result->transformLeft(m); return result; } Boundary operator * (const Boundary& b, const Matrix& m) { if(!b) return Boundary(); Boundary result = b->clone(); result->transform(m); return result; } passepartout-0.7.1/src/util/boundary.h000066400000000000000000000071131140125232500200060ustar00rootroot00000000000000#ifndef BOUNDARY_H // -*- c++ -*- #define BOUNDARY_H /// // Copyright (C) 2002 - 2004, Fredrik Arnerup & Rasmus Kaj, See COPYING /// #include "refcount.h" #include "matrix.h" #include #include /** * A Polygon is a c++ vector of geometric points, described by Vector's. */ typedef std::vector Polygon; namespace Corner { enum Id { LL, LR, UL, UR, }; } class Boundary; // defined below /** * A boundary is a limited area, rectangular or something else. It might be * used as an obstacle or as a 1clipping path, etc. Borders might be drawn * along a boundary (but not /by/ it). */ class BoundaryBase : public RefCounted { public: /** Create a distinct Boundary identical to this one. */ virtual Boundary clone() const = 0; /** Just for the outuput operator */ virtual std::ostream& print(std::ostream&) const = 0; /** * Get the coordinates for a basic corner of this boundary. */ virtual Vector getCorner(Corner::Id corner) const = 0; /** * Check if v is inside or within distance dist from this boundary. */ virtual bool isInsideOrClose(const Vector& v, const float& dist = 0) = 0; /** * Grow this boundrary {amount} units in all directions. * \return this Boundary. */ virtual void grow(const float& amount) = 0; /** * Get the polygon limiting this boundary. The polygon should allways go * clock-wise around the bounary. The polygon is implicitly closed (i.e, a * line from the last point to the first is assumed. In case of "smooth" * boundaries, an approximation is returned. */ virtual Polygon get_polygon() = 0; friend Boundary operator * (const Matrix&, const Boundary&); friend Boundary operator * (const Boundary&, const Matrix&); friend bool operator == (const Boundary&, const Boundary&); friend bool operator != (const Boundary&, const Boundary&); virtual float get_width() const = 0; virtual float get_height() const = 0; protected: // Methods only for use by the Boundary operators. virtual void transform(const Matrix& m) = 0; virtual void transformLeft(const Matrix& m) = 0; virtual bool equals(const BoundaryBase* m) const = 0; }; /** * Boundary is a true by-name object. There is no need to create a pointer * to a Boundary, since Boundary is by itself a pointer. * Note: This not just a typedef, sine I define some operators below which * should take precedence over those given by RefPtr. */ class Boundary : public Glib::RefPtr { public: Boundary() {} Boundary(BoundaryBase* ptr) : Glib::RefPtr(ptr) {} }; /** * Output a boundaray to a stream. BoundaryBase::print is used to * "virtualize" the opeartor. */ inline std::ostream& operator << (std::ostream& out, const Boundary& b) { return b->print(out); } /** * Read a boundary from an input stream (use with stringutils to create a * boundary from a string, "Boundary foo = to(stringdata)"). */ std::istream& operator >> (std::istream& in, Boundary& b); /** Multiply a boundary by a matrix. Note that this is non-commutative. */ Boundary operator * (const Matrix& m, const Boundary& b); /** Multiply a boundary by a matrix. Note that this is non-commutative. */ Boundary operator * (const Boundary& b, const Matrix& m); /** Check if two boundaries are equal */ inline bool operator == (const Boundary& a, const Boundary& b) { return ((!a && !b) || (a && a->equals(b.operator->()))); } /** Check if two boundaries are not equal */ inline bool operator != (const Boundary& a, const Boundary& b) { return !(a == b); } typedef std::vector BoundaryVect; #endif passepartout-0.7.1/src/util/cmdline.cc000066400000000000000000000132511140125232500177340ustar00rootroot00000000000000/// // Copyright (C) 2003, 2004, Fredrik Arnerup & Rasmus Kaj, See COPYING /// #include "cmdline.h" #include CmdLine::CmdLine(int argc, char **argv) : seen_double_dash(false) { for(int i = 1; i < argc; i++) arguments.push_back(argv[i]); argi = arguments.begin(); } int CmdLine::add_option(Option option) { int i = options.size() + 1; option.id = i; options.push_back(option); return i; } namespace { struct match { match(char sname) : c(sname), l("-") {} match(const std::string& lname) : c(1) /* 1 is not printable */, l(lname) {} bool operator() (const CmdLine::Option &option) { return option.short_opt == c || option.long_opt == l; } char c; const std::string l; }; } CmdLine::ParsedOptions CmdLine::parse() { ParsedOptions tmp; while(true) { Arg arg = parse_next(); if(!arg.first && arg.second.empty()) return tmp; tmp.push_back(arg); } } void CmdLine::print_usage(std::ostream &out) { // const int term_width = 80; /// \todo Wrap lines if they exceed the term_width using namespace std; vector name_col; for(Options::const_iterator opt = options.begin(); opt != options.end(); opt++) { std::string name = " "; if(opt->short_opt) { name += "-"; name += opt->short_opt; if(opt->param_mode == Option::REQ_PARAM) name += " " + opt->param_name; } if(!opt->long_opt.empty()) { if(opt->short_opt) name += ", "; name += "--" + opt->long_opt; if(opt->param_mode == Option::OPT_PARAM) name += "[=" + opt->param_name + "]"; else if(opt->param_mode == Option::REQ_PARAM && !opt->short_opt) name + "=" + opt->param_name; } name_col.push_back(name); } int name_col_width = 0; for(vector::const_iterator name = name_col.begin(); name != name_col.end(); name++) { if(name->length() > name_col_width) name_col_width = name->length(); } vector::const_iterator name = name_col.begin(); for(Options::const_iterator opt = options.begin(); opt != options.end(); opt++, name++) { out << *name; int padding = 4 + name_col_width - name->length(); for(int i = 0; i < padding; i++) out << " "; out << opt->desc << endl; } } CmdLine::Arg CmdLine::parse_next() { // anything in the queue? if(!arg_queue.empty()) { Arg tmp = arg_queue.front(); arg_queue.pop(); return tmp; } int null_option = 0; // end of arguments if(argi == arguments.end()) return std::make_pair(null_option, ""); // not an option if(argi->at(0) != '-' || seen_double_dash || *argi == "-") return std::make_pair(null_option, *argi++); // -- if(!seen_double_dash && *argi == "--") { seen_double_dash = true; argi++; return parse_next(); } // long? if(argi->at(1) == '-') { std::string tmp = argi->substr(2); unsigned int eq = tmp.find('='); // if(eq == argi->npos) // eq = argi->length(); std::string lname = tmp.substr(0, eq); bool has_value = false; std::string value; if(eq != tmp.npos) { value = tmp.substr(eq + 1); has_value = true; } argi++; Options::const_iterator option = std::find_if(options.begin(), options.end(), match(lname)); if(option == options.end()) throw UnknownOptionError("--" + lname); // check for argument errors switch(option->param_mode) { case Option::REQ_PARAM: if(!has_value) throw ArgumentError("--" + lname); break; case Option::NO_PARAM: if(has_value) throw ArgumentError("--" + lname, true); break; default: break; } return std::make_pair(option->id, value); } // short? for(unsigned int i = 1; i < argi->length(); i++) { char c = argi->at(i); Options::const_iterator option = std::find_if(options.begin(), options.end(), match(c)); if(option == options.end()) throw UnknownOptionError(std::string("-") + c); // push options on a queue, so we can parse this arg in one go if(option->param_mode == Option::REQ_PARAM) { // no optional parameters for short options if(i == argi->length() - 1) { argi++; if(argi == arguments.end()) throw ArgumentError(std::string("-") + c); arg_queue.push(std::make_pair(option->id, *argi)); break; } else { arg_queue.push(std::make_pair(option->id, argi->substr(i + 1))); break; } } else { // not REQ_PARAM arg_queue.push(std::make_pair(option->id, "")); } } argi++; return parse_next(); } // g++ -Wall -g -o cmdline -DCMDLINE_STANDALONE cmdline.cc #ifdef CMDLINE_STANDALONE int main(int argc, char **argv) { CmdLine cmdline(argc, argv); const int p = cmdline.add_option(CmdLine::Option('p', "", CmdLine::Option::NO_PARAM, "Frobnicate it.")); const int f = cmdline.add_option(CmdLine::Option('f', "foo", CmdLine::Option::REQ_PARAM, "Set foo", "FOO")); const int b = cmdline.add_option(CmdLine::Option('b', "bar", CmdLine::Option::OPT_PARAM, "Maybe set bar", "BAR")); const int n = cmdline.add_option(CmdLine::Option('n', "nisse", CmdLine::Option::NO_PARAM, "Don't set Nisse")); const int lisa = cmdline.add_option(CmdLine::Option(0, "lisa", CmdLine::Option::NO_PARAM, "Don't set Lisa")); using namespace std; try { CmdLine::ParsedOptions opts = cmdline.parse(); for(CmdLine::ParsedOptions::const_iterator arg = opts.begin(); arg != opts.end(); arg++) { if(!arg->first) cout << arg->second << endl; else cout << arg->first << ": " << arg->second << endl; } } catch(const CmdLine::Error& e) { cerr << e.what() << endl; cmdline.print_usage(cerr); } } #endif passepartout-0.7.1/src/util/cmdline.h000066400000000000000000000053001140125232500175720ustar00rootroot00000000000000#ifndef CMDLINE_H // -*- c++ -*- #define CMDLINE_H /// // Copyright (C) 2003, 2004, Fredrik Arnerup & Rasmus Kaj, See COPYING /// #include #include #include #include #include /** A general-purpose command line option parser. */ class CmdLine { public: struct Error: public std::runtime_error { Error(const std::string &msg) : runtime_error(msg) {} ~Error() throw() {} }; struct UnknownOptionError: public Error { UnknownOptionError(const std::string &option) : Error("Unknown option: \"" + option + "\""), opt(option) {} ~UnknownOptionError() throw() {} const std::string opt; }; struct ArgumentError: public Error { ArgumentError(const std::string &option, bool not_allowed = false) : Error("Argument " + (not_allowed ? std::string("not allowed") : std::string("missing")) + " for : \"" + option + "\""), opt(option) {} ~ArgumentError() throw() {} const std::string opt; }; //** Defines a possible option. */ struct Option { enum ParameterMode { NO_PARAM, REQ_PARAM, OPT_PARAM }; Option(char short_option, const std::string long_option = "", ParameterMode parameter_mode = NO_PARAM, const std::string &description = "", const std::string &p_name = "") : short_opt(short_option), long_opt(long_option), desc(description), param_name(p_name), param_mode(parameter_mode) {} /// Short option. Set to 0 to disable. char short_opt; /// Long option. std::string long_opt; /// Description. Used by print_usage(). std::string desc; /// Name of parameter, if any. Used by print_usage(). std::string param_name; /** Describes whether the option takes a parameter or not. * Only long options accept optional parameters. */ ParameterMode param_mode; /** A unique identifier. * This is set by add_option.() */ int id; }; /// Initialize with command line arguments. CmdLine(int argc, char **argv); /** Register a possible option. * Returns a unique number (> 0) to identiy the option. */ int add_option(Option option); typedef std::pair Arg; typedef std::vector ParsedOptions; /** Return a vector of option id/param pairs. * The id is zero for arguments that are not options. */ ParsedOptions parse(); /// Display help. void print_usage(std::ostream &out); private: bool seen_double_dash; /// "--" turns off parsing typedef std::vector