Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 110566 - Request upgrade of knoda and hk_classes to 0.8.1_alpha3
Summary: Request upgrade of knoda and hk_classes to 0.8.1_alpha3
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-26 12:27 UTC by Peter Ruskin
Modified: 2006-03-29 10:37 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
hk_classes-0.8.ebuild (hk_classes-0.8.ebuild,1.38 KB, text/plain)
2005-10-26 12:28 UTC, Peter Ruskin
Details
knoda-0.8.ebuild (knoda-0.8.ebuild,480 bytes, text/plain)
2005-10-26 12:29 UTC, Peter Ruskin
Details
hk_classes-0.8.ebuild (hk_classes-0.8.ebuild,1.54 KB, text/plain)
2005-11-05 18:54 UTC, Peter Ruskin
Details
hk_classes/hk_classes-0.8.1_alpha1.ebuild (hk_classes-0.8.1_alpha1.ebuild,1.70 KB, text/plain)
2006-01-29 09:05 UTC, Peter Ruskin
Details
knoda-0.8.1_alpha1.ebuild (knoda-0.8.1_alpha1.ebuild,480 bytes, text/plain)
2006-01-29 09:06 UTC, Peter Ruskin
Details
hk_classes-0.8.1_alpha1.ebuild (hk_classes-0.8.1_alpha1.ebuild,1.78 KB, text/plain)
2006-02-20 08:37 UTC, Peter Ruskin
Details
hk_classes-0.8.1_alpha2.ebuild (hk_classes-0.8.1_alpha2.ebuild,1.77 KB, text/plain)
2006-03-07 16:50 UTC, Peter Ruskin
Details
knoda-0.8.1_alpha2.ebuild (knoda-0.8.1_alpha2.ebuild,479 bytes, text/plain)
2006-03-07 16:51 UTC, Peter Ruskin
Details
hk_classes-0.8.1_alpha3.ebuild (hk_classes-0.8.1_alpha3.ebuild,1.76 KB, text/plain)
2006-03-24 05:04 UTC, Peter Ruskin
Details
knoda-0.8.1_alpha3.ebuild (knoda-0.8.1_alpha3.ebuild,479 bytes, text/plain)
2006-03-24 05:05 UTC, Peter Ruskin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Ruskin 2005-10-26 12:27:37 UTC
New stable versions of hk_classes and knoda.

Main new features:
============
* Referential integrity (foreign keys) support added (Postgres and Firebird)
* buttons in forms have a toggle mode
* View support for Mysql added (Mysql 5.x only)
* CSV import filter improved (better fieldtype detection including 
datetime,date,time and auto_inc)
* the export and import dialogs improved a lot, 
* datasources will ask before updating data
* the charset can be set for databases (xbase and sqlite) , 
* error and warning messages improved a lot, 
* New command line tool 'hk_dbcopy' allows to copy whole databases between 
different database backends 
* the documentation is updated 

Also many bugs are fixed.

The documentation has been updated, so pressing F1 will hopefully help you in 
many cases.
Comment 1 Peter Ruskin 2005-10-26 12:28:46 UTC
Created attachment 71525 [details]
hk_classes-0.8.ebuild
Comment 2 Peter Ruskin 2005-10-26 12:29:17 UTC
Created attachment 71526 [details]
knoda-0.8.ebuild
Comment 3 Peter Ruskin 2005-11-05 18:54:51 UTC
Created attachment 72259 [details]
hk_classes-0.8.ebuild

SRC_URI and src_install() rewritten to correctly install documention.
Comment 4 Peter Ruskin 2006-01-29 09:03:42 UTC
Why is nothing happening on this bug?

This is another new version.  The main feature is an improved report generator. Report fields can automatically resize depending on the size of the displayed text (set the "dynamic height" property to use this in combination with the "line break" property). Fonts can be  embedded now (in the preferences dialog), so differences between the preview window and the printed result should be 
history. There is also no need any more to select a local charset.

hk_classes depends now on 2 more libraries, fontconfig (http://www.fontconfig.org) and freetype2 (http://www.freetype.org). Both 
libraries should be part of your distribution already, so compilation should 
be no problem.

Also many bugs are fixed. The Mysql driver handles sockets correctly now and 
the Sqlite drivers handle different encodings in a better way.

The documentation has been updated, so pressing F1 will hopefully help you in 
many cases.
Comment 5 Peter Ruskin 2006-01-29 09:05:45 UTC
Created attachment 78437 [details]
hk_classes/hk_classes-0.8.1_alpha1.ebuild
Comment 6 Peter Ruskin 2006-01-29 09:06:52 UTC
Created attachment 78438 [details]
knoda-0.8.1_alpha1.ebuild
Comment 7 Caleb Tennis (RETIRED) gentoo-dev 2006-01-29 09:10:29 UTC
me thinks you need to become a gentoo developer so you can keep track of this package :)
Comment 8 Max 2006-02-06 04:16:57 UTC
I'ld love to try this program, but I get the following error with both the provided ebuilds (0.8 and 0.8.1_alpha1):

* Running elibtoolize in: knoda-0.8.1-test1/admin
 *   Applying portage-1.4.1.patch ...
 *   Applying max_cmd_len-1.5.0.patch ...
 *   Applying sed-1.4.3.patch ...
 * Could not get VERSION for ltconfig!

!!! ERROR: dev-db/knoda-0.8.1_alpha1 failed.
Call stack:
  ebuild.sh, line 1894:   Called dyn_compile
  ebuild.sh, line 941:   Called src_compile
  ebuild.sh, line 1609:   Called kde_src_compile
  kde.eclass, line 104:   Called kde_src_compile 'compile'
  kde.eclass, line 217:   Called kde_src_compile 'all' 'myconf' 'configure'
  kde.eclass, line 198:   Called elibtoolize
  libtool.eclass, line 260:   Called ELT_walk_patches 'make' '/var/tmp/portage/knoda-0.8.1_alpha1/work/knoda-0.8.1-test1/admin/ltconfig'

My emerge --info:

Portage 2.1_pre4-r1 (default-linux/amd64/2005.1, gcc-4.0.2, glibc-2.3.6-r2, 2.6.15-gentoo-r1 x86_64)
=================================================================
System uname: 2.6.15-gentoo-r1 x86_64 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.12.0_pre15
ccache version 2.4 [disabled]
dev-lang/python:     2.3.5-r2, 2.4.2-r1
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-r1
sys-devel/binutils:  2.16.1-r1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O2 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib64/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-march=k8 -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LINGUAS="nl en"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="amd64 X a52 aac acpi aim alsa asf avi bash-completion berkdb bitmap-fonts bluetooth bootsplash bzip2 cairo ccache cdda cddb cdinstall cdparanoia cdr cdrom cgi crypt css cups daap dba dbus directfb dts dvd dvdr dvdread dvi emboss emul-linux-x86 encode epiphany esd fastbuild fastcgi fat fbcon ffmpeg firefox flac foomaticdb force-cgi-redirect fortran freetype ftp fuse gcj geoip gif gimp glibc-omitfp glitz glx gmail gmailtimestamps gnome gnutls gpgme gphoto2 gpm gstreamer gtk gtk2 gzip hal hddtemp hpn icq id3 image imagemagick imlib innodb insecure-savers irmc jabber javascript jikes jpeg jpeg2k kde kdeenablefinal kqemu lame lcms lighttpd live lm_sensors lzw lzw-tiff mad maildir memcache mime moznocompose moznoirc moznomail mozsvg mp3 mpeg mpeg4 mplayer msession msn multislot music musicbrainz mysqli nautilus ncurses nls nntp no_wxgtk1 nocd nonfsv4 nptl nptlonly nsplugin offensive ogg oggvorbis on-the-fly-crypt openal openexr opengl openssh oscar pam pam_timestamp pdf pdflib perl pic plugin png ppds python qt quicktime readline real rhythmbox rrdtool rtc samba scanner sdl session sharedmem smime sockets softmmu source sox spell sqlite3 ssl startup-notification svg symlink sysfs tagwriting tcpd theora threads tiff timidity truetype truetype-fonts type1 type1-fonts usb userlocales utf8 vcd vfat videos visualization vorbis webdav wifi wordperfect wv xattr xine xml2 xmlrpc xosd xpm xrandr xscreensaver xv xvid zlib elibc_glibc kernel_linux linguas_nl linguas_en userland_GNU"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LANG, LC_ALL, LDFLAGS

Probably an easy to fix problem, but a new one to me. Maybe one of you guys knows how to fix this. If it compiles here, you might as well tag it ~amd64 :)

Comment 9 Peter Ruskin 2006-02-06 04:41:19 UTC
I don't have access to an amd64 so can't test this, but I've sent Comment #8 to hk-classes-discuss@lists.sourceforge.net, hoping to get an answer from Horst Knorr.  Perhaps one of our amd64 devs could comment?
Comment 10 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-02-06 04:47:22 UTC
That sounds like the admin dir is foobar'd.
elibtoolize should be called (and it is by kde eclass) to ensure that faulty libtools are not being used.
Comment 11 Peter Ruskin 2006-02-06 05:17:37 UTC
Diego seems to be pointing to the right area.  /var/tmp/portage/knoda-0.8.1_alpha1/work/knoda-0.8.1-test1/admin/ltconfig says:

#! /bin/sh
# Written by <matz@kde.org> and placed into the public domain ;-)
echo "This file shouldn't be called.  It exists solely for the purpose"
echo "to make automake 1.4 cope with newer libtools."

My suggestion would be to delete /usr/portage/distfiles/knoda-0.8.1-test1.tar.bz2 and try again.
Comment 12 Max 2006-02-07 08:29:16 UTC
Sorry people, I didn't have access to my box in the meantime, hence my late response.

I tried removing the file and emerging knoda again, but to no avail. Same error.
Comment 13 Peter Ruskin 2006-02-09 04:48:13 UTC
Well, I'm perplexed.  The only reply I got from hk-classes-discuss@lists.sourceforge.net (Horst Knorr) was this:

"Am Montag, 6. Februar 2006 13:37 schrieb Peter Ruskin:
> I'd be grateful for any suggestions.  The bug reference is
> http://bugs.gentoo.org/show_bug.cgi?id=110566
As amd64 sounds to be very new, and the KDE configuration framework used in 
knoda is about half a year old, this might be a version problem. But this 
would mean that it was impossible to compile older KDE versions on amd64. 
I'll update the framework and perhaps the next version of the knoda package 
will work again.."

I really don't think this is an amd64 problem and would like amd64 people to test this.
Comment 14 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-02-09 05:09:47 UTC
It has nothing to do with amd64.
elibtoolize is used for safety and to fix problems with not-mainstream setups like uclibc or gentoo/freebsd systems.
Comment 15 Lorinc Czegledi 2006-02-10 05:43:57 UTC
just remove ltconfig from the admin dir, and it compiles fine
Comment 16 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-02-10 05:56:34 UTC
FWIW the new kde eclass (committed yesterday) handles that transparently: if ltconfig is that dummy one, it's removed and then elibtoolize is called.
Comment 17 Peter Ruskin 2006-02-20 08:37:23 UTC
Created attachment 80287 [details]
hk_classes-0.8.1_alpha1.ebuild

Modified to include xbase support.  Knoda does currently have a bug when using this, but it has already been fixed in CVS.
Comment 18 Peter Ruskin 2006-03-07 16:49:06 UTC
This is a new test versions of hk_classes and knoda.  It is mainly a bugfix release. The report generator should work much faster and all characters in the page and report footers will be displayed correctly. The configure script is improved for a better detection of Python.

For programmers the API has been updated. It is possible to load subforms via 
script (example is in the knoda scripting tutorial) and report sections can 
be invisible during printing (see hk_reportsection::set_print_section()). 

The documentation has been updated, so pressing F1 will hopefully help you in 
many cases.
Comment 19 Peter Ruskin 2006-03-07 16:50:27 UTC
Created attachment 81655 [details]
hk_classes-0.8.1_alpha2.ebuild
Comment 20 Peter Ruskin 2006-03-07 16:51:22 UTC
Created attachment 81656 [details]
knoda-0.8.1_alpha2.ebuild
Comment 21 Peter Ruskin 2006-03-24 05:02:35 UTC
This is a new test versions of hk_classes and knoda. The main new feature is the improved query editor. It handles outer and inner joins (as far as the sql server supports it). Table primary key fields are highlighted and a lot of bugs are fixed.
The drivers SQLITE3,SQLITE2 and MDB (MS Access) can compile now without the 
need to install extra packages, so they are generally available.

This works fine on x86 and it's high time the tree was updated.
Comment 22 Peter Ruskin 2006-03-24 05:04:33 UTC
Created attachment 83000 [details]
hk_classes-0.8.1_alpha3.ebuild
Comment 23 Peter Ruskin 2006-03-24 05:05:29 UTC
Created attachment 83001 [details]
knoda-0.8.1_alpha3.ebuild
Comment 24 Caleb Tennis (RETIRED) gentoo-dev 2006-03-25 04:34:13 UTC
both are now in portage.
Comment 25 Maxim Loginov 2006-03-29 10:37:13 UTC
(In reply to comment #16)
> FWIW the new kde eclass (committed yesterday) handles that transparently: if
> ltconfig is that dummy one, it's removed and then elibtoolize is called.
> 

hmm... I've got the sameltconfig problem on ~amd64 when installed knoda-0.8.1_alpha3
removing admin/ltconfig after unpacking halped as mentioned