git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kbarcode@1090667 283d02a7-25f6-0310-bc7c-ecb5cbfe19dav3.5.13-sru
commit
8805e6b17b
@ -0,0 +1,2 @@
|
||||
Dominik Seichter <domseichter@web.de>
|
||||
http://www.krename.net
|
@ -0,0 +1,32 @@
|
||||
The file kbarcode/barcode.ps which is included in this
|
||||
distribution is licensed under the following conditions:
|
||||
========================================================
|
||||
|
||||
Barcode Writer in Pure PostScript
|
||||
http://www.terryburton.co.uk/barcodewriter/
|
||||
|
||||
Copyright (c) 2005 Terry Burton - tez@terryburton.co.uk
|
||||
|
||||
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 AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
|
||||
DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
|
||||
CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
||||
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
||||
IN THE SOFTWARE.
|
@ -0,0 +1,431 @@
|
||||
Changelog since Version 1.3.2:
|
||||
==============================
|
||||
|
||||
Version 2.0.6
|
||||
Dag Nygren contributed a patch which fixes printing from a CSV file
|
||||
Check if files passed for batchprinting from the commandline do exist
|
||||
Patch from Chris <chris@ac-drexler.de> fixing problems with SQLite
|
||||
Patch from Váradi Zsolt Gyula to fix the long standing issue with
|
||||
disappearing objects
|
||||
|
||||
Version 2.0.5
|
||||
Fixed TBarcode2 detection in system check
|
||||
Fixed checksum for TBarcode2
|
||||
Improved CSV file import (works now with any table and fixed field
|
||||
files)
|
||||
Added new version of barcode writer in pure postscript
|
||||
Supported barcodes are now parsed from barcode writer in pure postscript file
|
||||
Fixed address printing
|
||||
|
||||
Version 2.0.4
|
||||
Fixed compilation on KDE < 3.5
|
||||
Fixed a database access bug
|
||||
Raphael Pinson updated the french translation
|
||||
Fixed text alignment in label editor
|
||||
|
||||
Version 2.0.3
|
||||
Fixed adding articles from the SQL table
|
||||
Fixed barcode support when only barcode writer in pure postscript is
|
||||
available
|
||||
Added an action map
|
||||
Added the possibility to keep the batch printing window open after printing
|
||||
|
||||
Version 2.0.2
|
||||
Fixed translations in the barcode combo
|
||||
Fixed [field0] - [field9]
|
||||
Fixed case sensitive barcode encoding in SQL database
|
||||
|
||||
Version 2.0.1
|
||||
Fixed compilation on slackware amd64
|
||||
Fixed spec file RHFC4
|
||||
Added turkish translation by Furkan Duman
|
||||
Barcode properties are used immediately in the barcode dialog
|
||||
Added TBarcode2 support
|
||||
Fixed database settings
|
||||
Barcodes values are validated before generating a new barcode for
|
||||
barcode writer in pure postscript. Requires PCRE.
|
||||
Fixed database barcode modes
|
||||
|
||||
Version 2.0.0
|
||||
Increased version number
|
||||
|
||||
Version 2.0.0rc2
|
||||
Fixed saving barcodes to images (correct fileformat is now detected)
|
||||
Fixed the --print commandline option with --batch
|
||||
Updated german translation
|
||||
Patch by Simon Munton fixes a crash
|
||||
Fixed printing bug: Printing started on the second label
|
||||
Updated Barcode Writer in Pure Postscript version
|
||||
Fixed importing articles
|
||||
Removed the build time dependency on GNU Barcode
|
||||
|
||||
Version 2.0.0rc1
|
||||
Added missing #include <stdlib.h> to fix compilation
|
||||
Fixed desktop files
|
||||
Updated admin/ directory to KDE 3.5
|
||||
Comitted a patch by Jan Zuchhold to support Codabar without checksum
|
||||
Added default value for [serial] field
|
||||
Improved commandline options, --prints now immediately and exits
|
||||
KBarcode after printing.
|
||||
Fixed 3 small memory leaks (one in the SQL code and one during XML parsing)
|
||||
Selection is not removed after changing properties of a text element
|
||||
Formattings in the text editor are kept for new paragraphs now
|
||||
|
||||
Version 1.9.10
|
||||
Show name of used barkode engine for encoding
|
||||
Added support for Terry Burtons Barcode Writer in Pure Postscript as
|
||||
new Barcode backend with many new suported barcode formats.
|
||||
|
||||
Version 1.9.9
|
||||
The encoding of input csv data can be specified
|
||||
KDE addressbook integration. The addressbook can now be used as
|
||||
datasource for batchprinting
|
||||
Fixed CSV to SQL import
|
||||
Fixed CSV import when the separator is part in a quoted region
|
||||
Fixed a few memory leaks found by valgrind
|
||||
|
||||
Version 1.9.8
|
||||
Added [col] and [row] tokens
|
||||
Text fields have now a line distance of 1 instead of 1.5
|
||||
Fixed center horizontally and vertically
|
||||
Fixed barcode without text
|
||||
Removed Undo Limit option from preferences (makes the dialog easier)
|
||||
Fixed compilation on RH9, Mandrake 10
|
||||
Fixed empty user defined fields
|
||||
Added a busy cursor while creating databases
|
||||
Uses references instead of pointers and fix a memory leak
|
||||
|
||||
Version 1.9.7
|
||||
Fixed --label commandline option
|
||||
Added text rotation support
|
||||
Fixed printing out of the label. Positions on screen are now also
|
||||
positions on the printer!
|
||||
Fixed barcode resizing
|
||||
Undo/Redo for raise/lower is now possible
|
||||
Implemented a confortable wizard for inserting tokens
|
||||
|
||||
Version 1.9.6
|
||||
Fixed y-scaling issues during printing
|
||||
Faster barcode generation through the usage of pipes
|
||||
Fixed image printing (images were not scaled on the printer)
|
||||
Improved the layout of the visibility script dialog
|
||||
Fixed clipping issues during printing
|
||||
Fixed TBarcode Support
|
||||
Fixed CSV Import
|
||||
|
||||
Version 1.9.5
|
||||
Fixed next button in batchwizard for data import
|
||||
Moved image creation settings from preferences to batchwizard
|
||||
BatchWizard opens image creation directory after creating images
|
||||
automatically
|
||||
Added new commandline options and DCOP methods to allow for easier
|
||||
scripting of KBarcode
|
||||
Fixed file open from label editor (do not show new label dialog when
|
||||
opening files)
|
||||
Fixed enable/disable of KLineEdit in TokenDialog
|
||||
Added JavaScript support
|
||||
Removed LabelPrinter class (replaced by BatchWizard)
|
||||
Made the new label dialog smaller in size and therefore more useable
|
||||
Fixed an image scaling bug
|
||||
Greatly improved image support, image path can now also be an
|
||||
expression
|
||||
Fixed crashes in the label editor with undo/redo by making TCanvasItem
|
||||
objects referencecounted
|
||||
|
||||
Version 1.9.4
|
||||
Fixed barcode sequence start values and stepping
|
||||
All legacy barcode should now load succesfully
|
||||
Readded TBarcode and PDF417 support
|
||||
Fixed PDF417 support
|
||||
Fixed dancing objects in the labeleditor when resizing
|
||||
Fixed undo delete
|
||||
Make default grid size smaller
|
||||
Added the sqlquery statement
|
||||
Fixed drawing of invalid barcodes from the PixmapBarcode engine
|
||||
Fixed resizing og items to a negative value (which is not allowed
|
||||
anmore)
|
||||
Improved the grid in the labeleditor a bit, still not perfect
|
||||
Fixed compilation warnings
|
||||
Added border support for TextLineItems
|
||||
Added support for user defined variables
|
||||
Added a completely new full featured and fantastic batch printing
|
||||
wizard
|
||||
Fixed CTRL+P short cut being used twice in labeleditor
|
||||
Added CSVFile abstraction class to parse CSVFiles
|
||||
Fixed memory leaks when printing to images
|
||||
|
||||
Version 1.9.3
|
||||
Fixed positions of printed textitems
|
||||
Improved printing speed
|
||||
Fixed characters being dropped while printing
|
||||
Added keyboard accessors to the barcode widget
|
||||
Merged Barkode - the new barcode engine for KBarcode
|
||||
Fixed file extension being added twice when saving a barcode
|
||||
Reenabled copy and paste of single barcodes
|
||||
Added a protect position and size feature to the labeleditor
|
||||
|
||||
Version 1.9.2
|
||||
Generate button is now default in the barcode dialog
|
||||
Size and position can be specified in inch now
|
||||
Barcode are resized correctly in the label editor
|
||||
Added a select/deselect all option to the label editor
|
||||
Fixed barcode printing (they are printed in the correct size now)
|
||||
Laurent Montel fixed a memory leak in NewLabel dialog
|
||||
Faster compilation thanks to Laurent's include moc patch
|
||||
Fixed a memory leak in NewItem commands
|
||||
Fixed copy and paste of text objects
|
||||
Fixed a memory leak when changing the size of an existing label
|
||||
Fixed lot's of printing bugs (text, barcode printing!)
|
||||
Improved layout of BarcodeDialog and preview of large barcodes
|
||||
Fixed a crash with PreviewDialog
|
||||
Improved layout ot the TokenDialog (and size is stored now in the config)
|
||||
Fixed edit properties menu action
|
||||
|
||||
Version 1.9.1
|
||||
Merged EPCL Printer support from Brian Glass
|
||||
Improved token selection
|
||||
Refactored barcode printer codes
|
||||
Faster image loading as PNG is now used internally (i.e smaller filesizes too)
|
||||
More image options (scale, zoom,rotation readded,mirroring)
|
||||
Fixed scrollbars in the LabelEditor for big labels
|
||||
Merged TEC Printer support from Nyssa
|
||||
Improved copy and paste support (select more than one item)
|
||||
Fixed textprinting for all Qt versions
|
||||
Added a dialog for easier printing to barcode printers
|
||||
Lot's of bug fixes and improvements
|
||||
|
||||
Version 1.9.0
|
||||
--- Only anounced on the Mailinglist ---
|
||||
|
||||
Version 1.8.2
|
||||
Printing works on all kde versions again
|
||||
|
||||
Version 1.8.1
|
||||
Display a progress dialog when loading label definitions
|
||||
Converted label definitions to UTF-8
|
||||
Fix text printing with Qt 3.3.x
|
||||
Fixed a bug which caused definitions to be loaded twice
|
||||
Fixed compilation errors due to missing time.h include
|
||||
|
||||
Version 1.8.0
|
||||
Minor changes
|
||||
|
||||
Version 1.7.5
|
||||
Added the option to change properties from the menus
|
||||
Delete option gets disabled properly
|
||||
|
||||
Version 1.7.4
|
||||
Fixed CSV import in to batch printing mode
|
||||
Updated automake
|
||||
Replaced convert by ghostscript -> less dependencies and more speed!
|
||||
|
||||
Version 1.7.3
|
||||
Fixed compilation with --enable-final (added necessary ifdef's around headers)
|
||||
Fixed compilation (don't declare default args in the implementation)
|
||||
Fixed an UPC-A generation bug
|
||||
Added a Polnish translation by Benedykt P. Barszcz
|
||||
Fixed CSV import when the line does not end with the separator
|
||||
Fixed barcode size being different on screen and printer
|
||||
Fixed warnings about returnign reference to temporaries
|
||||
Added --print option also for the label editor
|
||||
|
||||
Version 1.7.2
|
||||
Major code refactoring to make everything cleaner and simpler
|
||||
Faster because of using less tempfiles
|
||||
Improved UI of Batch Printing dialog
|
||||
Fixed bug in group completion support
|
||||
Fixed CSV file import into PostgreSQL
|
||||
KBarcode File Plugin is now part of the KBarcode Source distribution
|
||||
|
||||
Version 1.7.1
|
||||
Fixed grid not beeing updated
|
||||
Speed improvements in token provider
|
||||
Fixed printing
|
||||
Improved DCOP interface
|
||||
Fixed moving items on grid has been greatly improved
|
||||
Serial indexing support
|
||||
|
||||
Version 1.7.0
|
||||
The default page size is read from KDE
|
||||
Increased speed when loading label definitions from file
|
||||
Support for inch and millimeter
|
||||
Added a powerful DCOP interface
|
||||
|
||||
Version 1.6.2
|
||||
Fixed an UPC-A generation bug
|
||||
Added greek translation
|
||||
|
||||
Version 1.6.0
|
||||
KDE 3.0.x compilation fixes
|
||||
Fixed wrong barcode positions
|
||||
|
||||
Version 1.6.0rc-2
|
||||
Fixed the rect icon in the labeleditor
|
||||
Fixed compilation with Qt 3.0.x
|
||||
Fixed a crash for paragraphs with one character only
|
||||
Improved printing of large pictures
|
||||
Fixed a bug with text lines drawn twice
|
||||
|
||||
Version 1.6.0rc-1
|
||||
Build System fixes
|
||||
Fixed a segmentation fault
|
||||
Removed debug messages
|
||||
Fixed focus of multi line edit dialog
|
||||
|
||||
Version 1.5.5
|
||||
Fixed compilation with Qt 3.1.x
|
||||
Fixed some IPL issues
|
||||
Fixed rich text rendering bug with empty paragraph
|
||||
Fixed display of "field0-9" fields
|
||||
Fixed spacing of the first line of each paragraph
|
||||
Spellchecked German translation
|
||||
Switched to KDevelop 3.0.0beta1
|
||||
|
||||
Version 1.5.4
|
||||
Further dynamic datafields fixes in the labeleditor
|
||||
Using own rich text engine (-> anti aliased fonts in printout)
|
||||
Removed screen resolution printing mode as 300dpi has better results
|
||||
Simplified configuration wizard
|
||||
greatly improved API documentation
|
||||
Added system check utility
|
||||
Updated German translation
|
||||
Added experimental IPL support
|
||||
|
||||
Version 1.5.3
|
||||
Fixed display of dynamic datafields in the label editor
|
||||
Fixed a crash in the preview of the label editor
|
||||
Fixed sequences with more barcodes on a label
|
||||
Added ZPL export
|
||||
Removed "USE" statement in DB code
|
||||
Started work on an own rich text rendering implementation
|
||||
|
||||
Version 1.5.2
|
||||
Added TBarcode auto correction feature
|
||||
Fixed copy and paste in the labeleditor
|
||||
Lot's of database creation fixes
|
||||
Added a progress dialog to the CSV import
|
||||
Fixed a memory leak, when the definition where read from a file
|
||||
Speed improvements when no database is used (because of caching)
|
||||
|
||||
Version 1.5.1
|
||||
Added Advanced button for barcode settings
|
||||
Added [resolution], [index], [page] keywords (datafields)
|
||||
Added text above barcodes for tbarcode backend
|
||||
Added escape sequence support for tbarcode backend
|
||||
Added support to select more than one element in the label editor (press CTRL)
|
||||
Added 1200dpi printing mode
|
||||
Added PostgreSQL and SQLite support (ODBC should work, too)
|
||||
Added API Documentation
|
||||
Added support for barcode sequences
|
||||
Added support for checkdigits with TBarcode
|
||||
Enabling crop marks (borders) is now much easier
|
||||
Cut/scale is now reset to 100/1000 if disabled
|
||||
Fixed and improved the barcode cache
|
||||
Fixed CSVImportDlg, which allowed to insert data in not existant table fields
|
||||
Fixed placement of new items
|
||||
Fixed preview in the label editor
|
||||
Removed 72dpi printing mode completely
|
||||
Removed convert -quality commandline option
|
||||
Datafields are now even shown in the label editor
|
||||
Changed double SQL datatypes to NUMERIC (and smallint to int)
|
||||
Made some varchars in the SQL code larger (to varchar(255))
|
||||
The index of the label can be specified in the label editor preview
|
||||
|
||||
Version 1.5.0
|
||||
Added TBarcode support (lot's of new barcode formats!)
|
||||
Added harddisk barcode cache
|
||||
Added CSV file import dialog
|
||||
Added support to configure the preview page size
|
||||
Added configuration of PDF417 err correction level and size
|
||||
Update SQL Tables so that 2D barcodes will work
|
||||
Fixed bug with barcode value not shown in the label editor
|
||||
Fixed fonts with Qt 3.2
|
||||
Removed some warning messages
|
||||
Removed useless functions: copyBarcode and printBarcode
|
||||
Removed grayscale option
|
||||
Removed bg and fg colors, because they are not supported
|
||||
Refactored SQL code to make it much easier (introduced SQL widget )
|
||||
Changed default: labeleditor asks for new label on startup
|
||||
|
||||
Version 1.4.1
|
||||
Fixed compilation error with compound literals
|
||||
|
||||
Version 1.4.0
|
||||
Fixed image positions when printing
|
||||
|
||||
Version 1.4.0-rc1
|
||||
Fixed bugs with image rotation
|
||||
Fixed printing of barcodes
|
||||
Fixed recent files menu
|
||||
Fixed automatic text resizing
|
||||
Fixed bug with getting max length barcode values from the database
|
||||
|
||||
Version 1.3.6
|
||||
Don't use private KPrinter API
|
||||
Fixed sql table creation
|
||||
Fixed drawing of lines
|
||||
Removed not working spellchecker
|
||||
KBarcode defaults to printing at 300dpi
|
||||
Updated Hungarian, Italian and Spanish translation
|
||||
Added own grid icon
|
||||
Updated documentation download URL
|
||||
|
||||
Version 1.3.5
|
||||
Fixed free space around label in the label editor
|
||||
Improved label preview dialog a lot
|
||||
Align to grid can be undone now
|
||||
Improved printing speed. Labels are read only once from harddisk.
|
||||
Fixed database problems with batch printing
|
||||
Cancelling of creating images works now
|
||||
Pages are calculated correctly again
|
||||
Improved layout of barcode dialog
|
||||
Fixed saving of barcodes
|
||||
|
||||
Version 1.3.4
|
||||
Added a button to insert all values from barcode_basic to batchprinting
|
||||
Improved the configuration wizard
|
||||
Improved batch printer GUI with import menu item
|
||||
Fixed SQL connection bug in batch printer
|
||||
Remove X, Y Correction stuff
|
||||
Refactore printer setup code
|
||||
Removed antialiased stuff, with Qt 3.2 we'll have pretty fonts anyway
|
||||
Fixed a memory leak in the image generation code
|
||||
Stopped maintaining two different printer codes, LabelEditor prints from the XML file now, too
|
||||
Fixed printing for all resolutions
|
||||
Improved the layout of the barcode dialog
|
||||
Fixed closing of main window
|
||||
Greatly enhanced PDF417 support
|
||||
Restructered preferences dialog
|
||||
Fixed textprinting bug
|
||||
Removed useless functions scalePainter() & renderPix()
|
||||
|
||||
Version 1.3.3
|
||||
Fixed Qt 3.0.x compilation
|
||||
Fixed a segfault at startup
|
||||
|
||||
Version 1.3.2
|
||||
Resizing with shift pressed keeps ratio now
|
||||
Fixed image rotation
|
||||
Fixed keyboard shortcuts
|
||||
Refactor lot's of code in command.cpp
|
||||
Fixed caption of Label Editor after using the preview
|
||||
72dpi can only be selected in the preferences if it is better than screenresolution
|
||||
Refactored some resolution calculations
|
||||
Fixed a memory leak in MyCanvasView
|
||||
Removed not working label scaling stuff
|
||||
Added more free fields to the "barcode_basic" table to improve handling of labels without barcodes (e.g. address labels)
|
||||
Improved and refactored printing code
|
||||
Fixed resizing of the label editor window
|
||||
Fixed grid and changed default gridsize to 20 pixels
|
||||
Moved drawing toolbar to the left side of the window
|
||||
Disable cut, copy and paste actions when no document is loaded
|
||||
Ported lot's of dialogs to KDialogBase
|
||||
Fixed move by value
|
||||
Databases are updated automatically on connection
|
||||
Fixed (one) undo/redo crash
|
||||
Fixed badly broken batchprinting with database values
|
||||
Fixed undo/redo crash
|
||||
Improved printing speed a little bit
|
||||
Fixed a crash with enabled grid
|
||||
|
||||
|
@ -0,0 +1,246 @@
|
||||
# Doxyfile 1.3.4-KDevelop
|
||||
|
||||
#---------------------------------------------------------------------------
|
||||
# Project related configuration options
|
||||
#---------------------------------------------------------------------------
|
||||
PROJECT_NAME = kbarcode.kdevelop
|
||||
PROJECT_NUMBER = 1.5.9
|
||||
OUTPUT_DIRECTORY =
|
||||
OUTPUT_LANGUAGE = English
|
||||
USE_WINDOWS_ENCODING = NO
|
||||
BRIEF_MEMBER_DESC = YES
|
||||
REPEAT_BRIEF = YES
|
||||
ABBREVIATE_BRIEF = "The $name class" \
|
||||
"The $name widget" \
|
||||
"The $name file" \
|
||||
is \
|
||||
provides \
|
||||
specifies \
|
||||
contains \
|
||||
represents \
|
||||
a \
|
||||
an \
|
||||
the
|
||||
ALWAYS_DETAILED_SEC = NO
|
||||
INLINE_INHERITED_MEMB = NO
|
||||
FULL_PATH_NAMES = NO
|
||||
STRIP_FROM_PATH =
|
||||
SHORT_NAMES = NO
|
||||
JAVADOC_AUTOBRIEF = NO
|
||||
MULTILINE_CPP_IS_BRIEF = NO
|
||||
DETAILS_AT_TOP = NO
|
||||
INHERIT_DOCS = YES
|
||||
DISTRIBUTE_GROUP_DOC = NO
|
||||
TAB_SIZE = 8
|
||||
ALIASES =
|
||||
OPTIMIZE_OUTPUT_FOR_C = NO
|
||||
OPTIMIZE_OUTPUT_JAVA = NO
|
||||
SUBGROUPING = YES
|
||||
#---------------------------------------------------------------------------
|
||||
# Build related configuration options
|
||||
#---------------------------------------------------------------------------
|
||||
EXTRACT_ALL = NO
|
||||
EXTRACT_PRIVATE = NO
|
||||
EXTRACT_STATIC = NO
|
||||
EXTRACT_LOCAL_CLASSES = YES
|
||||
HIDE_UNDOC_MEMBERS = NO
|
||||
HIDE_UNDOC_CLASSES = NO
|
||||
HIDE_FRIEND_COMPOUNDS = NO
|
||||
HIDE_IN_BODY_DOCS = NO
|
||||
INTERNAL_DOCS = NO
|
||||
CASE_SENSE_NAMES = YES
|
||||
HIDE_SCOPE_NAMES = NO
|
||||
SHOW_INCLUDE_FILES = YES
|
||||
INLINE_INFO = YES
|
||||
SORT_MEMBER_DOCS = YES
|
||||
GENERATE_TODOLIST = YES
|
||||
GENERATE_TESTLIST = YES
|
||||
GENERATE_BUGLIST = YES
|
||||
GENERATE_DEPRECATEDLIST= YES
|
||||
ENABLED_SECTIONS =
|
||||
MAX_INITIALIZER_LINES = 30
|
||||
SHOW_USED_FILES = YES
|
||||
#---------------------------------------------------------------------------
|
||||
# configuration options related to warning and progress messages
|
||||
#---------------------------------------------------------------------------
|
||||
QUIET = NO
|
||||
WARNINGS = YES
|
||||
WARN_IF_UNDOCUMENTED = YES
|
||||
WARN_IF_DOC_ERROR = YES
|
||||
WARN_FORMAT = "$file:$line: $text"
|
||||
WARN_LOGFILE =
|
||||
#---------------------------------------------------------------------------
|
||||
# configuration options related to the input files
|
||||
#---------------------------------------------------------------------------
|
||||
INPUT = /home/dominik/Desktop/Programming/kbarcode
|
||||
FILE_PATTERNS = *.c \
|
||||
*.cc \
|
||||
*.cxx \
|
||||
*.cpp \
|
||||
*.c++ \
|
||||
*.java \
|
||||
*.ii \
|
||||
*.ixx \
|
||||
*.ipp \
|
||||
*.i++ \
|
||||
*.inl \
|
||||
*.h \
|
||||
*.hh \
|
||||
*.hxx \
|
||||
*.hpp \
|
||||
*.h++ \
|
||||
*.idl \
|
||||
*.odl \
|
||||
*.cs \
|
||||
*.php \
|
||||
*.php3 \
|
||||
*.inc \
|
||||
*.C \
|
||||
*.H \
|
||||
*.tlh \
|
||||
*.diff \
|
||||
*.patch \
|
||||
*.moc \
|
||||
*.xpm \
|
||||
*.dox
|
||||
RECURSIVE = yes
|
||||
EXCLUDE =
|
||||
EXCLUDE_SYMLINKS = NO
|
||||
EXCLUDE_PATTERNS =
|
||||
EXAMPLE_PATH =
|
||||
EXAMPLE_PATTERNS = *
|
||||
EXAMPLE_RECURSIVE = NO
|
||||
IMAGE_PATH =
|
||||
INPUT_FILTER =
|
||||
FILTER_SOURCE_FILES = NO
|
||||
#---------------------------------------------------------------------------
|
||||
# configuration options related to source browsing
|
||||
#---------------------------------------------------------------------------
|
||||
SOURCE_BROWSER = NO
|
||||
INLINE_SOURCES = NO
|
||||
STRIP_CODE_COMMENTS = YES
|
||||
REFERENCED_BY_RELATION = YES
|
||||
REFERENCES_RELATION = YES
|
||||
VERBATIM_HEADERS = YES
|
||||
#---------------------------------------------------------------------------
|
||||
# configuration options related to the alphabetical class index
|
||||
#---------------------------------------------------------------------------
|
||||
ALPHABETICAL_INDEX = NO
|
||||
COLS_IN_ALPHA_INDEX = 5
|
||||
IGNORE_PREFIX =
|
||||
#---------------------------------------------------------------------------
|
||||
# configuration options related to the HTML output
|
||||
#---------------------------------------------------------------------------
|
||||
GENERATE_HTML = YES
|
||||
HTML_OUTPUT = html
|
||||
HTML_FILE_EXTENSION = .html
|
||||
HTML_HEADER =
|
||||
HTML_FOOTER =
|
||||
HTML_STYLESHEET =
|
||||
HTML_ALIGN_MEMBERS = YES
|
||||
GENERATE_HTMLHELP = NO
|
||||
CHM_FILE =
|
||||
HHC_LOCATION =
|
||||
GENERATE_CHI = NO
|
||||
BINARY_TOC = NO
|
||||
TOC_EXPAND = NO
|
||||
DISABLE_INDEX = NO
|
||||
ENUM_VALUES_PER_LINE = 4
|
||||
GENERATE_TREEVIEW = NO
|
||||
TREEVIEW_WIDTH = 250
|
||||
#---------------------------------------------------------------------------
|
||||
# configuration options related to the LaTeX output
|
||||
#---------------------------------------------------------------------------
|
||||
GENERATE_LATEX = YES
|
||||
LATEX_OUTPUT = latex
|
||||
LATEX_CMD_NAME = latex
|
||||
MAKEINDEX_CMD_NAME = makeindex
|
||||
COMPACT_LATEX = NO
|
||||
PAPER_TYPE = a4wide
|
||||
EXTRA_PACKAGES =
|
||||
LATEX_HEADER =
|
||||
PDF_HYPERLINKS = NO
|
||||
USE_PDFLATEX = NO
|
||||
LATEX_BATCHMODE = NO
|
||||
LATEX_HIDE_INDICES = NO
|
||||
#---------------------------------------------------------------------------
|
||||
# configuration options related to the RTF output
|
||||
#---------------------------------------------------------------------------
|
||||
GENERATE_RTF = NO
|
||||
RTF_OUTPUT = rtf
|
||||
COMPACT_RTF = NO
|
||||
RTF_HYPERLINKS = NO
|
||||
RTF_STYLESHEET_FILE =
|
||||
RTF_EXTENSIONS_FILE =
|
||||
#---------------------------------------------------------------------------
|
||||
# configuration options related to the man page output
|
||||
#---------------------------------------------------------------------------
|
||||
GENERATE_MAN = NO
|
||||
MAN_OUTPUT = man
|
||||
MAN_EXTENSION = .3
|
||||
MAN_LINKS = NO
|
||||
#---------------------------------------------------------------------------
|
||||
# configuration options related to the XML output
|
||||
#---------------------------------------------------------------------------
|
||||
GENERATE_XML = yes
|
||||
XML_OUTPUT = xml
|
||||
XML_SCHEMA =
|
||||
XML_DTD =
|
||||
XML_PROGRAMLISTING = YES
|
||||
#---------------------------------------------------------------------------
|
||||
# configuration options for the AutoGen Definitions output
|
||||
#---------------------------------------------------------------------------
|
||||
GENERATE_AUTOGEN_DEF = NO
|
||||
#---------------------------------------------------------------------------
|
||||
# configuration options related to the Perl module output
|
||||
#---------------------------------------------------------------------------
|
||||
GENERATE_PERLMOD = NO
|
||||
PERLMOD_LATEX = NO
|
||||
PERLMOD_PRETTY = YES
|
||||
PERLMOD_MAKEVAR_PREFIX =
|
||||
#---------------------------------------------------------------------------
|
||||
# Configuration options related to the preprocessor
|
||||
#---------------------------------------------------------------------------
|
||||
ENABLE_PREPROCESSING = YES
|
||||
MACRO_EXPANSION = NO
|
||||
EXPAND_ONLY_PREDEF = NO
|
||||
SEARCH_INCLUDES = YES
|
||||
INCLUDE_PATH =
|
||||
INCLUDE_FILE_PATTERNS =
|
||||
PREDEFINED =
|
||||
EXPAND_AS_DEFINED =
|
||||
SKIP_FUNCTION_MACROS = YES
|
||||
#---------------------------------------------------------------------------
|
||||
# Configuration::addtions related to external references
|
||||
#---------------------------------------------------------------------------
|
||||
TAGFILES =
|
||||
GENERATE_TAGFILE =
|
||||
ALLEXTERNALS = NO
|
||||
EXTERNAL_GROUPS = YES
|
||||
PERL_PATH = /usr/bin/perl
|
||||
#---------------------------------------------------------------------------
|
||||
# Configuration options related to the dot tool
|
||||
#---------------------------------------------------------------------------
|
||||
CLASS_DIAGRAMS = YES
|
||||
HIDE_UNDOC_RELATIONS = YES
|
||||
HAVE_DOT = NO
|
||||
CLASS_GRAPH = YES
|
||||
COLLABORATION_GRAPH = YES
|
||||
UML_LOOK = NO
|
||||
TEMPLATE_RELATIONS = NO
|
||||
INCLUDE_GRAPH = YES
|
||||
INCLUDED_BY_GRAPH = YES
|
||||
CALL_GRAPH = NO
|
||||
GRAPHICAL_HIERARCHY = YES
|
||||
DOT_IMAGE_FORMAT = png
|
||||
DOT_PATH =
|
||||
DOTFILE_DIRS =
|
||||
MAX_DOT_GRAPH_WIDTH = 1024
|
||||
MAX_DOT_GRAPH_HEIGHT = 1024
|
||||
MAX_DOT_GRAPH_DEPTH = 1000
|
||||
GENERATE_LEGEND = YES
|
||||
DOT_CLEANUP = YES
|
||||
#---------------------------------------------------------------------------
|
||||
# Configuration::addtions related to the search engine
|
||||
#---------------------------------------------------------------------------
|
||||
SEARCHENGINE = NO
|
@ -0,0 +1,167 @@
|
||||
Basic Installation
|
||||
==================
|
||||
|
||||
These are generic installation instructions.
|
||||
|
||||
The `configure' shell script attempts to guess correct values for
|
||||
various system-dependent variables used during compilation. It uses
|
||||
those values to create a `Makefile' in each directory of the package.
|
||||
It may also create one or more `.h' files containing system-dependent
|
||||
definitions. Finally, it creates a shell script `config.status' that
|
||||
you can run in the future to recreate the current configuration, a file
|
||||
`config.cache' that saves the results of its tests to speed up
|
||||
reconfiguring, and a file `config.log' containing compiler output
|
||||
(useful mainly for debugging `configure').
|
||||
|
||||
If you need to do unusual things to compile the package, please try
|
||||
to figure out how `configure' could check whether to do them, and mail
|
||||
diffs or instructions to the address given in the `README' so they can
|
||||
be considered for the next release. If at some point `config.cache'
|
||||
contains results you don't want to keep, you may remove or edit it.
|
||||
|
||||
The file `configure.in' is used to create `configure' by a program
|
||||
called `autoconf'. You only need `configure.in' if you want to change
|
||||
it or regenerate `configure' using a newer version of `autoconf'.
|
||||
|
||||
The simplest way to compile this package is:
|
||||
|
||||
1. `cd' to the directory containing the package's source code and type
|
||||
`./configure' to configure the package for your system. If you're
|
||||
using `csh' on an old version of System V, you might need to type
|
||||
`sh ./configure' instead to prevent `csh' from trying to execute
|
||||
`configure' itself.
|
||||
|
||||
Running `configure' takes a while. While running, it prints some
|
||||
messages telling which features it is checking for.
|
||||
|
||||
2. Type `make' to compile the package.
|
||||
|
||||
3. Type `make install' to install the programs and any data files and
|
||||
documentation.
|
||||
|
||||
4. You can remove the program binaries and object files from the
|
||||
source code directory by typing `make clean'.
|
||||
|
||||
Compilers and Options
|
||||
=====================
|
||||
|
||||
Some systems require unusual options for compilation or linking that
|
||||
the `configure' script does not know about. You can give `configure'
|
||||
initial values for variables by setting them in the environment. Using
|
||||
a Bourne-compatible shell, you can do that on the command line like
|
||||
this:
|
||||
CC=c89 CFLAGS=-O2 LIBS=-lposix ./configure
|
||||
|
||||
Or on systems that have the `env' program, you can do it like this:
|
||||
env CPPFLAGS=-I/usr/local/include LDFLAGS=-s ./configure
|
||||
|
||||
Compiling For Multiple Architectures
|
||||
====================================
|
||||
|
||||
You can compile the package for more than one kind of computer at the
|
||||
same time, by placing the object files for each architecture in their
|
||||
own directory. To do this, you must use a version of `make' that
|
||||
supports the `VPATH' variable, such as GNU `make'. `cd' to the
|
||||
directory where you want the object files and executables to go and run
|
||||
the `configure' script. `configure' automatically checks for the
|
||||
source code in the directory that `configure' is in and in `..'.
|
||||
|
||||
If you have to use a `make' that does not supports the `VPATH'
|
||||
variable, you have to compile the package for one architecture at a time
|
||||
in the source code directory. After you have installed the package for
|
||||
one architecture, use `make distclean' before reconfiguring for another
|
||||
architecture.
|
||||
|
||||
Installation Names
|
||||
==================
|
||||
|
||||
By default, `make install' will install the package's files in
|
||||
`/usr/local/bin', `/usr/local/man', etc. You can specify an
|
||||
installation prefix other than `/usr/local' by giving `configure' the
|
||||
option `--prefix=PATH'.
|
||||
|
||||
You can specify separate installation prefixes for
|
||||
architecture-specific files and architecture-independent files. If you
|
||||
give `configure' the option `--exec-prefix=PATH', the package will use
|
||||
PATH as the prefix for installing programs and libraries.
|
||||
Documentation and other data files will still use the regular prefix.
|
||||
|
||||
If the package supports it, you can cause programs to be installed
|
||||
with an extra prefix or suffix on their names by giving `configure' the
|
||||
option `--program-prefix=PREFIX' or `--program-suffix=SUFFIX'.
|
||||
|
||||
Optional Features
|
||||
=================
|
||||
|
||||
Some packages pay attention to `--enable-FEATURE' options to
|
||||
`configure', where FEATURE indicates an optional part of the package.
|
||||
They may also pay attention to `--with-PACKAGE' options, where PACKAGE
|
||||
is something like `gnu-as' or `x' (for the X Window System). The
|
||||
`README' should mention any `--enable-' and `--with-' options that the
|
||||
package recognizes.
|
||||
|
||||
For packages that use the X Window System, `configure' can usually
|
||||
find the X include and library files automatically, but if it doesn't,
|
||||
you can use the `configure' options `--x-includes=DIR' and
|
||||
`--x-libraries=DIR' to specify their locations.
|
||||
|
||||
Specifying the System Type
|
||||
==========================
|
||||
|
||||
There may be some features `configure' can not figure out
|
||||
automatically, but needs to determine by the type of host the package
|
||||
will run on. Usually `configure' can figure that out, but if it prints
|
||||
a message saying it can not guess the host type, give it the
|
||||
`--host=TYPE' option. TYPE can either be a short name for the system
|
||||
type, such as `sun4', or a canonical name with three fields:
|
||||
CPU-COMPANY-SYSTEM
|
||||
|
||||
See the file `config.sub' for the possible values of each field. If
|
||||
`config.sub' isn't included in this package, then this package doesn't
|
||||
need to know the host type.
|
||||
|
||||
If you are building compiler tools for cross-compiling, you can also
|
||||
use the `--target=TYPE' option to select the type of system they will
|
||||
produce code for and the `--build=TYPE' option to select the type of
|
||||
system on which you are compiling the package.
|
||||
|
||||
Sharing Defaults
|
||||
================
|
||||
|
||||
If you want to set default values for `configure' scripts to share,
|
||||
you can create a site shell script called `config.site' that gives
|
||||
default values for variables like `CC', `cache_file', and `prefix'.
|
||||
`configure' looks for `PREFIX/share/config.site' if it exists, then
|
||||
`PREFIX/etc/config.site' if it exists. Or, you can set the
|
||||
`CONFIG_SITE' environment variable to the location of the site script.
|
||||
A warning: not all `configure' scripts look for a site script.
|
||||
|
||||
Operation Controls
|
||||
==================
|
||||
|
||||
`configure' recognizes the following options to control how it
|
||||
operates.
|
||||
|
||||
`--cache-file=FILE'
|
||||
Use and save the results of the tests in FILE instead of
|
||||
`./config.cache'. Set FILE to `/dev/null' to disable caching, for
|
||||
debugging `configure'.
|
||||
|
||||
`--help'
|
||||
Print a summary of the options to `configure', and exit.
|
||||
|
||||
`--quiet'
|
||||
`--silent'
|
||||
`-q'
|
||||
Do not print messages saying which checks are being made.
|
||||
|
||||
`--srcdir=DIR'
|
||||
Look for the package's source code in directory DIR. Usually
|
||||
`configure' can determine that directory automatically.
|
||||
|
||||
`--version'
|
||||
Print the version of Autoconf used to generate the `configure'
|
||||
script, and exit.
|
||||
|
||||
`configure' also accepts some other, not widely useful, options.
|
||||
|
@ -0,0 +1,26 @@
|
||||
SUBDIRS = kbarcode fileplugin po
|
||||
|
||||
$(top_srcdir)/configure.in: configure.in.in $(top_srcdir)/subdirs
|
||||
cd $(top_srcdir) && $(MAKE) -f admin/Makefile.common configure.in ;
|
||||
|
||||
$(top_srcdir)/subdirs:
|
||||
cd $(top_srcdir) && $(MAKE) -f admin/Makefile.common subdirs
|
||||
|
||||
$(top_srcdir)/acinclude.m4: $(top_srcdir)/admin/acinclude.m4.in $(top_srcdir)/admin/libtool.m4.in
|
||||
@cd $(top_srcdir) && cat admin/acinclude.m4.in admin/libtool.m4.in > acinclude.m4
|
||||
|
||||
MAINTAINERCLEANFILES = subdirs configure.in acinclude.m4 configure.files
|
||||
|
||||
package-messages:
|
||||
$(MAKE) -f admin/Makefile.common package-messages
|
||||
$(MAKE) -C po merge
|
||||
|
||||
EXTRA_DIST = admin COPYING configure.in.in
|
||||
|
||||
dist-hook:
|
||||
cd $(top_distdir) && perl admin/am_edit -padmin
|
||||
cd $(top_distdir) && $(MAKE) -f admin/Makefile.common subdirs
|
||||
noinst_DATA = kbarcode.spec acinclude.m4 aclocal.m4 AUTHORS ChangeLog \
|
||||
config.h.in configure configure.in configure.in.in COPYING Doxyfile INSTALL \
|
||||
libtool Makefile.am Makefile.cvs Makefile.in NEWS README stamp-h.in \
|
||||
subdirs
|
@ -0,0 +1,10 @@
|
||||
all:
|
||||
@echo "This Makefile is only for the CVS repository"
|
||||
@echo "This will be deleted before making the distribution"
|
||||
@echo ""
|
||||
$(MAKE) -f admin/Makefile.common cvs
|
||||
|
||||
dist:
|
||||
$(MAKE) -f admin/Makefile.common dist
|
||||
|
||||
.SILENT:
|
@ -0,0 +1,59 @@
|
||||
kBarcode
|
||||
|
||||
General Information:
|
||||
Project Webpage: http://www.kbarcode.net
|
||||
Core Members: Stonki <support@stonki.de>
|
||||
Dom <domseichter@web.de>
|
||||
Mailinglist: kbarcode-users@lists.sourceforge.net
|
||||
IRC Channel: irc.openprojects.net #kbarcode
|
||||
|
||||
|
||||
Project Description:
|
||||
====================
|
||||
KBarcode is a barcode and label printing application for Linux and KDE 3. It can
|
||||
be used to print every thing from simple business cards up to complex
|
||||
labels with several barcodes (e.g. article descriptions). KBarcode
|
||||
comes with an easy to use WYSIWYG label designer, a setup wizard,
|
||||
batch import of labels (directly from the delivery note), thousands
|
||||
of predefined labels, database managment tools and translations
|
||||
in many languages. Even printing more than 10.000 labels in one go is
|
||||
no problem for KBarcode. Additionally it is a simply xbarcode
|
||||
replacement for the creation of barcodes. All major types of barcodes
|
||||
like EAN, UPC, CODE39, DataMatrix and ISBN are supported.
|
||||
|
||||
It works of course on any platform supported by KDE and not only Linux!
|
||||
|
||||
Languages:
|
||||
* English
|
||||
* German
|
||||
* Hungarian
|
||||
* Italian
|
||||
* Finish
|
||||
* French
|
||||
* Spanish
|
||||
* Swedish
|
||||
|
||||
Requirements:
|
||||
* KDE 3.x
|
||||
* GnuBarcode (RunTime)
|
||||
* TBarcode(RunTime)
|
||||
* ImageMackick (RunTime)
|
||||
* Qt SQL Tools (optional)
|
||||
|
||||
Germany, 05. June 2002
|
||||
(updated 31.10.2002)
|
||||
(updated 02.02.2003)
|
||||
(updated 22.10.2003)
|
||||
|
||||
Compiling KBarcode from CVS:
|
||||
============================
|
||||
|
||||
To compile KBarcode from CVS you have to use the following commands:
|
||||
|
||||
make -f admin/Makefile.common
|
||||
./configure
|
||||
make
|
||||
su
|
||||
make install
|
||||
|
||||
Be sure to use the first step which will create the configure script for you.
|
@ -0,0 +1,60 @@
|
||||
Hi Andrew,
|
||||
|
||||
Saving as PNG or JPEG works for me, if you select PNG or JPEG in the filter combo box at the bottom of the save dialog.
|
||||
The problem is that the default seems to be PBM if no other file format is selected and saving to PBM does not work for some reason (maybe the barcode is grayscale which is not support by PBM).
|
||||
Anyways, this is a useabillity problem in KBarcode which has to be addressed and will be addressed for the 2.0 release.
|
||||
|
||||
Thanks for reporting and I hope the workaround with selecting the destination file format by hand will work for you.
|
||||
|
||||
best regards,
|
||||
Dom
|
||||
|
||||
Am Tuesday, 7. February 2006 16:14 schrieb Andrew Lord:
|
||||
> Hi,
|
||||
>
|
||||
> The subject line says it all, really. When I creat barcode images under
|
||||
> kbarcode, click 'Save' and enter a file name to save as (*.png or *.jpg), I
|
||||
> get an alert message saying "An error occurred during saving the image".
|
||||
> The file fails to save.
|
||||
> Has anyone else experienced this difficulty or is there perhaps some
|
||||
> further information that I could send to help diagnose the cause of this
|
||||
> problem (such as the shell output, after booting and running from shell).
|
||||
>
|
||||
> Cheers,
|
||||
>
|
||||
> Andrew Lord
|
||||
>
|
||||
>
|
||||
> -------------------------------------------------------
|
||||
> This SF.net email is sponsored by: Splunk Inc. Do you grep through log
|
||||
> files for problems? Stop! Download the new AJAX search engine that makes
|
||||
> searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
|
||||
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
|
||||
> _______________________________________________
|
||||
> Kbarcode-users mailing list
|
||||
> Kbarcode-users@lists.sourceforge.net
|
||||
> https://lists.sourceforge.net/lists/listinfo/kbarcode-users
|
||||
|
||||
--
|
||||
**********************************************************************
|
||||
Dominik Seichter - domseichter@web.de
|
||||
KRename - http://www.krename.net - Powerful batch renamer for KDE
|
||||
KBarcode - http://www.kbarcode.net - Barcode and label printing
|
||||
SchafKopf - http://schafkopf.berlios.de - Schafkopf, a card game, for KDE
|
||||
Alan - http://alan.sf.net - A Turing Machine in Java
|
||||
**********************************************************************
|
||||
================
|
||||
|
||||
TBarcode support: See forum:
|
||||
|
||||
Ok, so here is an demonstration of what I want and how it is done with Tbarcode 2:
|
||||
|
||||
/usr/bin/tbarcode -f PS -x 30 -y 30 -w 80 -h 30 -b 48 -d 64206119701234567 --text=below --font="Helvetica" --fontsize=14 -o footest.ps
|
||||
|
||||
================
|
||||
|
||||
Dominik:
|
||||
-Change Label should start with current label
|
||||
-KMyMoney integration
|
||||
- --batch should work again!
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,863 @@
|
||||
# generated automatically by aclocal 1.9.6 -*- Autoconf -*-
|
||||
|
||||
# Copyright (C) 1996, 1997, 1998, 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.
|
||||
|
||||
# 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.
|
||||
|
||||
# Copyright (C) 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.
|
||||
|
||||
# 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.
|
||||
AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version="1.9"])
|
||||
|
||||
# AM_SET_CURRENT_AUTOMAKE_VERSION
|
||||
# -------------------------------
|
||||
# Call AM_AUTOMAKE_VERSION so it can be traced.
|
||||
# This function is AC_REQUIREd by AC_INIT_AUTOMAKE.
|
||||
AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
|
||||
[AM_AUTOMAKE_VERSION([1.9.6])])
|
||||
|
||||
# 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
|
||||
# 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 7
|
||||
|
||||
# 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])
|
||||
AC_SUBST([$1_FALSE])
|
||||
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
|
||||
# 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
|
||||
|
||||
# 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], 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/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])
|
||||
])
|
||||
|
||||
# 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.
|
||||
# So let's grep whole file.
|
||||
if grep '^#.*generated by automake' $mf > /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,
|
||||