Rapid Database Application Development
|
||
Development |
"Microsoft Access for Linux"
|
|
Hints For Making Kexi Packages
This page is for the old 1.x Kexi series only. Click to read how to package Kexi 2.x (Calligra 2.x)
Dear Packager, please consider following notes. Thank you for patience!
1. Recommended way of splitting Kexi into packagesSplitting packages gives users a better choice what components they have installed. ^ tocCommon mistakesPeople sometimes make mistakes packaging Kexi, because it's requirements have changed a lot during it's development. Please note:
Existing packaging filesPackaging files for previous Kexi beta versions are available. You might want to consult the following links in addition to the documentation below, although please remember that they may not match our packaging suggestions below:
The following sections provide suggested package contents. ^ toc1.1. kexiThis package contains all files installed by Kexi that are not part of the packages listed below. Note: currently, kexi package contains files for kexidb with SQLite (ver. 2 and 3) drivers as well. ^ toc1.2. kexidb-devThis package is necessary for developing new KexiDB drivers or KexiDB migration drivers. It will be needed for compiling drivers that are not part of the Kexi distribution (e.g. keximdb for importing MS Access files) include/kexidb/ lib/libkexidb.la lib/libkexidbparser.la Note that include/kexidb might have to be installed in /usr/include/kde on your distro. In future, we may recommend distributing kexidb separately from Kexi (but it's probably not worth it yet, so for now we're keeping kexidb.so and kexidbparser.so within kexi package). Build time dependencies: kexi Run time dependencies: kexi ^ toc1.3. kexi-postgresql-driverThe PostgreSQL driver for KexiDB databases, and the PostgreSQL migration driver for converting arbitrary PostgreSQL databases into KexiDB databases. lib/kde3/kexidb_pqxxsqldriver.so lib/kde3/kexidb_pqxxsqldriver.la lib/kde3/keximigrate_pqxx.so lib/kde3/keximigrate_pqxx.la share/services/kexidb_pqxxsqldriver.desktop share/services/keximigrate_pqxx.desktop Note: .la file(s) provided here are used at runtime because this driver is provided as KDE module, not just a shared library. Build time dependencies: libpqxx-dev, libpq-dev, kexidb-dev Run time dependencies: libpqxx and libpq. ^ toc1.4. kexi-mysql-driverThe MySQL driver for KexiDB databases, and the MySQL migration driver for converting arbitrary MySQL databases into KexiDB databases. lib/kde3/kexidb_mysqldriver.so lib/kde3/kexidb_mysqldriver.la lib/kde3/keximigrate_mysql.so lib/kde3/keximigrate_mysql.la share/services/kexidb_mysqldriver.desktop share/services/keximigrate_mysql.desktop If your distribution provides both the GPL client libraries and the older LGPL client libraries (up to libmysqlclient10?), then you may choose which library to build against. (Kexi should work with both versions) Note: .la file(s) provided here are used at runtime because this driver is provided as KDE module, not just a shared library. Build time dependencies: libmysqlclient-dev, kexidb-dev Run time dependencies: libmysqlclient ^ toc2. Other packages you might want to build^ toc2.1. kexi-mdb-driverThe migration driver for converting MS Access databases (.mdb files) into Kexi databases. lib/kde3/keximigrate_mdb.la lib/kde3/keximigrate_mdb.so share/services/keximigrate_mdb.desktop There are instructions for building this on the MDBDriver page. The source for this driver is not in the Kexi source tree, but can be found in kdenonbeta/keximdb in Subversion. Note: .la file(s) provided here are used at runtime because this driver is provided as KDE module, not just a shared library. Build time dependencies: kexidb-dev, glib-2.0, pkg-config Run time dependencies: kexi, glib-2.0 ^ toc3. Package informationExamples of LSM files (please alter version information, package maintainer, filename, date and size): ftp://ftp.kde.org/pub/kde/stable/apps/KDE3.x/database/kexi-0.9.lsm ftp://ftp.kde.org/pub/kde/stable/apps/KDE3.x/database/keximdb-0.9.lsm^ toc 4. Where to upload packages?If (and only if) you have no place to upload your packages, to make our live easier and increase possible user base of your great contribution, recommended place is to upload them to: ftp://upload.kde.org/incoming/stable/KDE3.x/ (everybody have write access there) Then, send a mail to ftpadmin (at) kde.org, asking him to move the packages to following directory: /kde/stable/apps/KDE3.x/database/contrib/{your-distro-name}/ Your packages will be mirrored on other servers in a few hours! Note1: Don't forget to create .lsm files (see 3.), one for each .rpm and upload these as well. Note2: Don't make a mistake as while uploading because you won't be able to overwrite a file. ^ toc5. TranslationsRecommended way for adding translation files to your distribution is to create separate kexi-i18n-<language> package for every <language>. This is better especially if you're preparing a Kexi package independent of KOffice package. Every language package has to contain two message files: kexi.po kformdesigner.po Note (30 may 2005): give up with preparing i18n packages for now. This can change but KDE SVN is not yet prepared for Kexi 0.9's i18n.
6. Notes ^ toc6.1. KFormDesignerKFormDesigner application (http://kde-apps.org/content/show.php?content=14796) isn't installed with Kexi packages (formeditor/test/ subdirectory is excluded from compilation and installation). KDevelop plugin using KFormDesigner is neither installed. Currently, KFormDesigner should be considered as a test application for Kexi Forms framework. See FormDesignerFAQ for information on KFormDesigner. ^ toc6.2. Web pages for specific distributions
6.3. Distributors' patches(for various KDE modules, including KOffice) |
|||||
|