Hello! Please find attached apq-2.1 ebuild and patch. Apq is Ada95 binding to the PostgreSQL and/or MySQL database Kris Here is emerge --info output: Portage 2.1.1 (default-linux/x86/2006.0, gcc-4.1.1, glibc-2.4-r3, 2.6.15-gentoo-r1 i686) ================================================================= System uname: 2.6.15-gentoo-r1 i686 Intel(R) Celeron(R) CPU 2.00GHz Gentoo Base System version 1.12.4 Last Sync: Tue, 26 Sep 2006 06:00:07 +0000 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.3 [disabled] app-admin/eselect-compiler: [Not Present] dev-java/java-config: 1.3.6, 2.0.28 dev-lang/python: 2.3.5, 2.4.3-r1 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: 2.3 dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2 sys-devel/binutils: 2.16.1-r3 sys-devel/gcc-config: 1.3.13-r3 sys-devel/libtool: 1.4.3-r3, 1.5.22 virtual/os-headers: 2.6.11-r5 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -mtune=i686 -march=i686 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /opt/openjms/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-O2 -mtune=i686 -march=i686 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig buildpkg distlocks metadata-transfer parallel-fetch sandbox sfperms strict" GENTOO_MIRRORS="http://gd.tuwien.ac.at/opsys/linux/gentoo/ ftp://gentoo.blueyonder.co.uk/mirrors/gentoo" LINGUAS="en pl" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages/workstations" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X aalib acpi alsa apache2 apm bash-completion berkdb bitmap-fonts cli crypt cscope cups curl dlloader dri eds elibc_glibc emboss encode fastcgi foomaticdb fortran gdbm gif gnome gpm gstreamer gtk gtk2 imap imlib informix innodb input_devices_evdev input_devices_keyboard input_devices_mouse ipv6 isdnlog java jikes jpeg kde kernel_linux ldap libg++ libwww linguas_en linguas_pl mad maildir mikmod mmx motif mp3 mpeg ncurses nls nptl nptlonly nsplugin objc odbc ogg opengl oss pam pcre perl png pppd python qt qt3 qt4 quicktime readline reflection ruby samba sasl sdk sdl session spell spl sse ssl tcpd truetype truetype-fonts type1-fonts udev unicode usb userland_GNU userlocales video_cards_mga vorbis xml xml2 xmms xorg xv zlib" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Created attachment 98195 [details] apq-2.1 (New package)
Created attachment 98196 [details, diff] apq-2.1 (New package)
Created attachment 98197 [details, diff] apq-2.1 (New package)
Created attachment 98198 [details, diff] apq-2.1 (New package)
Created attachment 98199 [details, diff] apq-2.1 (New package)
Hi Krzysztof Thanks for submitting the binding! However please update it to use the gnat.eclass, following e.g. the last booch_components or gtk/xmlada ebuilds, so that it plays well with the new gnat system in portage. You can take a look at bug #111340 for some discussion, however be warned - it is large. It may make sense to search backwards for the gnat.eclass to find the relevant comments. (also, the gnat.eclass itself has a short explanation and "howto" in it). Another thing. All these patches you have posted: please mark them appropriately when you do so in the future, right now they have all the same "title" in the comment. This is very confusing. Also, I think you should be able to replace all these patches with a few sed commands in the scr_unpack section of the ebuild, as all the changes are rather trivial and "inline". Please try to do so. Thanks again for the submission! George
Well, this is not entirely appropriate to the subject, but it is too small for a separate bug. There is another DB binding: http://www.msobczak.com/prog/bin/pgAda.tar.gz "It is a very simple binding for Ada/PgSQL. The package contains a test program, which can be also used as a simple "documentation" for how to use the library." (by Maciej Sobczak) Then: "QtAda has bindings for the QtSql module. QtSql module may work with different database servers, including PostgreSQL, MySQL, SQLite, Oracle, MS SQL, and so on. It allows to build both Windows service and GUI applications. If your application requires GUI then QtAda may be interesting for you as portable GUI library." (Vadim Godunko) And then there was GNADE mentioned as well. George