Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 87469 - app-office/gnucash-1.99.0 ebuild (gnucash2 cvs ebuild)
Summary: app-office/gnucash-1.99.0 ebuild (gnucash2 cvs ebuild)
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High enhancement (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL: http://forums.gentoo.org/viewtopic-p-...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-31 14:19 UTC by Sébastien Champigny
Modified: 2005-11-18 19:54 UTC (History)
1 user (show)

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


Attachments
Patch configure.in for correct db-1.85 compatibility check (gnucash-1.99.0-db185.patch,1.14 KB, patch)
2005-03-31 14:21 UTC, Sébastien Champigny
Details | Diff
app-office/gnucash-1.99.0 ebuild (Gnucash2 cvs ebuild) (gnucash-1.99.0.ebuild,2.71 KB, text/plain)
2005-03-31 14:24 UTC, Sébastien Champigny
Details
Patch correcting some typos in *m4 files (gnucash-1.99.0-m4fixes.patch,6.04 KB, patch)
2005-04-04 03:05 UTC, Sébastien Champigny
Details | Diff
Working app-office/gnucash-1.99.0 ebuild (gnucash-1.99.0.ebuild,2.71 KB, text/plain)
2005-04-04 04:42 UTC, Sébastien Champigny
Details
Updated ebuild using cvs eclass (gnucash-1.99.0-r1.ebuild,6.62 KB, text/plain)
2005-07-12 13:33 UTC, Sébastien Champigny
Details
Updated gnucash ebuild to install in /opt/gnc-g2-unstable/ (gnucash-1.99.0-r3.ebuild,7.35 KB, text/plain)
2005-10-01 11:51 UTC, Sébastien Champigny
Details
gnucash-1.99.0-r4.ebuild (gnucash-1.99.0-r4.ebuild,2.48 KB, text/plain)
2005-10-04 13:37 UTC, Sébastien Champigny
Details
diff gnome2.eclass gnome2-modified.eclass (modify-gnome2-eclass.diff,343 bytes, text/plain)
2005-10-04 13:54 UTC, Sébastien Champigny
Details
UPDATE diff gnome2.eclass gnome2-modified.eclass (modify-gnome2-eclass.diff,2.77 KB, text/plain)
2005-10-04 14:14 UTC, Sébastien Champigny
Details
UPDATE gnucash-1.99.0-r4.ebuild (gnucash-1.99.0-r4.ebuild,2.50 KB, text/plain)
2005-10-04 14:17 UTC, Sébastien Champigny
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sébastien Champigny 2005-03-31 14:19:20 UTC
This is a first try for a cvs ebuild of the gnucash-gnome2-dev branch.
I am using a snapshot from 31.03.2005:

cvs -d :pserver:cvs@cvs.gnucash.org:/home/cvs/cvsroot login (password is guest)
cvs -d :pserver:cvs@cvs.gnucash.org:/home/cvs/cvsroot checkout -r gnucash-gnome2-dev gnucash

Then compress the snapshot in a file named gnucash2-20050331.tar.gz in your distfiles directory.

Reproducible: Always
Steps to Reproduce:
1. cvs -d :pserver:cvs@cvs.gnucash.org:/home/cvs/cvsroot login (password is guest)
2. cvs -d :pserver:cvs@cvs.gnucash.org:/home/cvs/cvsroot checkout -r gnucash-gnome2-dev gnucash
3. Compress the snapshot in a file named gnucash2-20050331.tar.gz in your distfiles directory
4. mv gnucash-1.99.0.ebuild ${PORTDIR_OVERLAY}/app-office/gnucash/
5. mv gnucash-1.99.0-db185.patch ${PORTDIR_OVERLAY}/app-office/gnucash/files/
6. ebuild ${PORTDIR_OVELAY}/app-office/gnucash/gnucash-1.99.0 digest
7. emerge =app-office/gnucash-1.99.0
Actual Results:  
1. A sandbox violation just before installing:
open_wr:   /etc/gconf/gconf.xml.defaults/.testing.writeability
unlink:    /etc/gconf/gconf.xml.defaults/.testing.writeability

2. With FEATURES="-sandbox", it emerges fine but gnucash doesn't start:
user@server ~ $ gnucash
ERROR: In procedure dynamic-link:
ERROR: file: "libgw-gnc", message: "libgw-gnc.so: cannot open shared object
file: No such file or directory"
user@server ~ $ /usr/bin/slocate libgw-gnc.so
user@server ~ $

I could have something like g-wrap to recompile though. Any help is appreciated.

Expected Results:  
Emerge AND runs fine.

Portage 2.0.51.19 (default-linux/x86/2004.3, gcc-3.3.5, glibc-2.3.4.20041102-r1,
2.6.11-gentoo-r4 i686)
=================================================================
System uname: 2.6.11-gentoo-r4 i686 Pentium III (Coppermine)
Gentoo Base System version 1.6.10
Python:              dev-lang/python-2.3.4-r1 [2.3.4 (#1, Mar 29 2005, 02:03:05)]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.4-r1
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.6.3, 1.9.4, 1.5, 1.8.5-r3, 1.7.9-r1, 1.4_p6
sys-devel/binutils:  2.15.92.0.2-r1
sys-devel/libtool:   1.5.10-r4
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium3 -O3 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-march=pentium3 -O3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks fixpackages sandbox sfperms"
GENTOO_MIRRORS="http://ftp.uni-erlangen.de/pub/mirrors/gentoo
ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo
ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo"
LANG="en_GB.utf8"
LC_ALL="en_GB.utf8"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/o/my /usr/local/o/bmg"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X acpi acpi4linux aim alsa atm audiofile avi bcmath berkdb bitmap-fonts
bzip2 bzlib caps cdparanoia cdr clamav crypt cups curl curlwrappers dba dillo
dio divx4linux dv dvb dvd eds encode evo exif faac faad fam flac flash
font-server freetype gd gif gimp gimpprint gnome gnuplot gnutls gphoto2 gs
gstreamer gtk gtk2 gtkhtml hal howl icq ieee1394 imap imlib ipv6 irda ithreads
jabber javascript jp2 jpeg jpeg2k kerberos krb4 latex lcms ldap lesstif libcaca
live lzo lzw mad maildir matroska mbox memlimit ming mmap mmx mng mozilla
moznocompose moznoirc moznomail mozsvg mp3 mpeg mpeg4 mplayer msn ncurses
network nls no-old-linux nocd nowin nptl nptlonly nvidia offensive ofx oggvorbis
openal opengl oscar pam pcmcia pda pdflib perl png pnp posix ppds quicktime
quotes readline real rtc samba sasl skey slang slp smartcard smime sndfile spell
sse ssl svg tetex theora threads tidy tiff truetype truetype-fonts trusted
type1-fonts unicode usb userlocales v4l2 vim-with-x vorbis wmf xanim xface
xinerama xml2 xprint xrandr xv xvid xvmc yahoo zlib video_cards_nvidia"
Unset:  ASFLAGS, CBUILD, CTARGET, LDFLAGS
Comment 1 Sébastien Champigny 2005-03-31 14:21:11 UTC
Created attachment 54972 [details, diff]
Patch configure.in for correct db-1.85 compatibility check
Comment 2 Sébastien Champigny 2005-03-31 14:24:23 UTC
Created attachment 54973 [details]
app-office/gnucash-1.99.0 ebuild (Gnucash2 cvs ebuild)
Comment 3 Sébastien Champigny 2005-03-31 23:24:18 UTC
It seems the sandbox error is actually gone with my last revision of the ebuild before posting it here. Someone on the forum said he has a fix for the next error message.
Comment 4 Sébastien Champigny 2005-04-04 03:05:46 UTC
Created attachment 55262 [details, diff]
Patch correcting some typos in *m4 files
Comment 5 Sébastien Champigny 2005-04-04 04:42:35 UTC
Created attachment 55267 [details]
Working app-office/gnucash-1.99.0 ebuild

I updated the ebuild using gnome2 eclass. It's now working. Well, this doesn't
mean that the program is running without a problem, but at least you can now
easily experiment gnucash2 with portage ;-). I would consider masking this
ebuild in /usr/portage/profiles/package.mask until an official development
version is released. 
Enjoy!

Regards,
S
Comment 6 Sébastien Champigny 2005-04-04 04:42:35 UTC
Created attachment 55267 [details]
Working app-office/gnucash-1.99.0 ebuild

I updated the ebuild using gnome2 eclass. It's now working. Well, this doesn't
mean that the program is running without a problem, but at least you can now
easily experiment gnucash2 with portage ;-). I would consider masking this
ebuild in /usr/portage/profiles/package.mask until an official development
version is released. 
Enjoy!

Regards,
Sébastien.
Comment 7 Sébastien Champigny 2005-04-04 04:44:41 UTC
Waiting for comments, resolution could be changed to "TEST-REQUEST"
Comment 8 Sébastien Champigny 2005-04-04 04:48:38 UTC
I forgot to precise: along with this ebuild, you will need a cvs snapshot named gnucash2-20050402.tar.gz, containing a directory called "gnucash-1.99.0", in which the cvs code is located.
Comment 9 Fabio Coatti 2005-04-21 04:56:03 UTC
I'm seeing the same problem, and I've followed directions that I've found here.

The error is this:

hobbes ~ # gnucash
ERROR: In procedure dynamic-link:
ERROR: file: "libgw-gnc", message: "libgw-gnc.so: cannot open shared object file: No such file or directory"


any hint?

Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.4.3-20050110, glibc-2.3.4.20050125-r1, 2.6.12-rc2-mm3 i686)
=================================================================
System uname: 2.6.12-rc2-mm3 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz
Gentoo Base System version 1.6.10
Python:              dev-lang/python-2.3.4,dev-lang/python-2.4-r3 [2.4 (#1, Mar 21 2005, 01:03:17)]
dev-lang/python:     2.3.4, 2.4-r3
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r8
sys-devel/libtool:   1.5.14
virtual/os-headers:  2.6.11
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=pentium4 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=pentium4 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://mirror.switch.ch/ftp/mirror/gentoo http://gentoo.osuosl.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="it_IT.utf8"
LC_ALL="it_IT.utf8"
LINGUAS="it en"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/overlay"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X a52 aac aalib acpi aim alsa apache2 apm arts audiofile avi bash-completion berkdb bitmap-fonts bluetooth bonobo cdparanoia cdr cjk crypt cups curl dba divx4linux dvb dvd dvdr emboss encode esd ethereal exif faad fam fbcon ffmpeg fftw flac foomaticdb fortran ftp gd gdbm gif gmp gnome gpm gstreamer gtk gtk2 guile hal iconv icq imagemagick imap imlib innodb ipv6 ithreads jabber jack java javascript jpeg kde lcms ldap libcaca libg++ libwww live lm_sensors lzo mad maildir mhash mikmod mime mmap mmx mng motif mozilla mp3 mpeg msn mysql nas ncurses network nfsv4 nls nptl offensive ofx ogg oggvorbis openal opengl oscar oss pam pcre pdflib perl php plotutils png python qt quicktime readline rtc samba sasl sdl slang slp sndfile snmp sox spell sse ssl svg symlink tcpd theora threads tiff truetype truetype-fonts type1-fonts unicode usb v4l v4l2 vcd videos vorbis wmf wxwindows xface xft xine xml xml2 xmms xosd xpm xsl xv xvid yahoo zlib zpm linguas_it linguas_en"
Unset:  ASFLAGS, CBUILD, CTARGET, LDFLAGS

Comment 10 Sébastien Champigny 2005-04-21 13:27:52 UTC
Hmm .. on that particular error, I cannot help you right now cause I'm on trip. Anyway, I'm planning to make a new revision of the ebuild, inheriting "cvs" eclass, so that it would be easier to install. Would be worth investigating this error too. During week-end or so.
Comment 11 Fabio Coatti 2005-04-22 01:55:25 UTC
Ok, just let me know if you need some test, no problems at all.
Comment 12 Sébastien Champigny 2005-07-12 13:33:09 UTC
Created attachment 63266 [details]
Updated ebuild using cvs eclass

Sorry for the longue absence, I didn't have internet at home during two
monthes. Here you can find the last revision of the gnucash-cvs ebuild. Works
well for me. Please test and report
-Sebastien
Comment 13 Josh Sled 2005-08-04 20:57:17 UTC
NOTE !!!

This ebuild will clobber your existing 1.8.x install.

Change the `myconf = "--prefix "` bit to be something other than /usr, or it
will overwrite the version of gnucash that's currently *in* /usr.

Most dev's run autogen.sh with -prefix being /opt/gnc-g2-unstable/ or some-such
location; considering the g2 branch isn't even *beta* right now, this might be a
reasonable thing.
Comment 14 Fabio Coatti 2005-08-08 09:15:21 UTC
I've tried, but I get this: what I'm doing wrong?


>>> Completed installing gnucash-1.99.0-r1 into
/var/tmp/portage/gnucash-1.99.0-r1/image/

--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE = "/var/log/sandbox/sandbox-app-office_-_gnucash-1.99.0-r1-30658.log"

mkdir:     /opt/gnc-g2-unstable
mkdir:     /opt/gnc-g2-unstable
mkdir:     /opt/gnc-g2-unstable
--------------------------------------------------------------------------------


Portage 2.0.51.22-r2 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r1,
2.6.13-rc5-mm1 i686)
=================================================================
System uname: 2.6.13-rc5-mm1 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz
Gentoo Base System version 1.6.13
dev-lang/python:     2.4.1-r1
sys-apps/sandbox:    1.2.12
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
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -march=pentium4 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4                                         
             /shutdown /usr/kde/3/share/config /usr/lib/X11/xkb
/usr/lib/mozilla/defaults/pref /usr/share/config                               
                        /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-O3 -march=pentium4 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://mirror.switch.ch/ftp/mirror/gentoo
http://gentoo.osuosl.org http://www.ibibli                                     
                 o.org/pub/Linux/distributions/gentoo"
LANG="it_IT.utf8"
LC_ALL="it_IT.utf8"
LINGUAS="it en"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/overlay"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X a52 aac aalib acpi aim alsa apache2 apm arts audiofile avi
bash-completion berkdb bitmap-                                                 
     fonts bluetooth bonobo cdparanoia cdr cjk crypt cups curl dba directfb
divx4linux dvb dvd dvdr eds e                                                  
    mboss encode esd ethereal exif faad fam fbcon ffmpeg fftw flac foomaticdb
fortran ftp gd gdbm gif gm                                                     
 p gnome gphoto2 gpm gstreamer gtk gtk2 guile hal iconv icq imagemagick imap
imlib innodb ipv6 ithrea                                                      
ds jabber jack java javascript jpeg kde lcms ldap libcaca libg++ libwww live
lm_sensors lzo mad mail                                                      
dir mhash mikmod mime mmap mmx mng motif mozilla mp3 mpeg msn mysql nas ncurses
network nfsv4 nls np                                                       tl
offensive ofx ogg oggvorbis openal opengl oscar oss pam pcre pdflib perl php
plotutils png python                                                        qt
quicktime readline rtc ruby samba sasl scanner sdl slang slp sndfile snmp sox
speex spell sse ss                                                       l svg
symlink tcltk tcpd tetex theora threads tiff truetype truetype-fonts type1-fonts
unicode usb v                                                       4l v4l2 vcd
videos vorbis wmf wxwindows xface xft xine xml xml2 xmms xosd xpm xsl xv xvid
yahoo zlib                                                        zpm linguas_it
linguas_en userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LDFLAGS, MAKEOPTS
Comment 15 Jonathan Wright 2005-08-24 09:03:05 UTC
I've just tried building the latest version (from cvs) and I get the following
error:


ERROR: In procedure dynamic-link:
ERROR: file: "libgw-core-utils", message: "libgw-core-utils.so: cannot open
shared object file: No such file or directory"

If I emerge guile-gtk and re-build gnucash-1.99.0-r1 it clears that message. I'm
not getting the error message:

ERROR: In procedure dynamic-link:
ERROR: file: "libgw-gnc", message: "libgw-gnc.so: cannot open shared object
file: No such file or directory"

I'll look into what the problem is now....
Comment 16 Jonathan Wright 2005-08-24 12:27:32 UTC
I've recomplied g-wrap, and while it now installed the libgw-gnc libraries, I
now get the following error:

root on jonathan [ gnucash ] --> gnucash
ERROR: no code for module (g-wrapped gw-gnc)
Comment 17 Sébastien Champigny 2005-10-01 11:51:04 UTC
Created attachment 69651 [details]
Updated gnucash ebuild to install in /opt/gnc-g2-unstable/

emerge with FEATURES="-sandbox" or correct the sandbox error (mkdir
/opt/gnc-g2-unstable) :-) Works well here.
Have fun
Comment 18 Sébastien Champigny 2005-10-04 13:37:10 UTC
Created attachment 69875 [details]
gnucash-1.99.0-r4.ebuild

Sorry for the convenience, last ebuild was not functionnal. This one should
work out of the box, if you emerge it with FEATURES="-sandbox" ... and it is 

Changes since the last ebuild:
- removed the ugly copies of gnome2 eclass functions
- call a "gnome2-modified.eclass", which is identical to gnome2.eclass except
that it doesn't inherit "gnome.org.eclass" (necessary for CVS pull)
- removed unnecessary comments, white spaces and blank lines
- set SLOT to 1, as gnucash-1.8* is on slot 0
- enabled efence USE flag
Comment 19 Sébastien Champigny 2005-10-04 13:54:13 UTC
Created attachment 69876 [details]
diff gnome2.eclass gnome2-modified.eclass
Comment 20 Sébastien Champigny 2005-10-04 14:08:46 UTC
Comment on attachment 69876 [details]
diff gnome2.eclass gnome2-modified.eclass

--- /usr/portage/eclass/gnome2.eclass	2005-09-08 19:35:41.000000000 +0200
+++ /usr/local/o/my/eclass/gnome2-modified.eclass	2005-10-04
23:01:14.573437416 +0200
@@ -1,12 +1,12 @@
-# Copyright 1999-2004 Gentoo Foundation
+# Copyright 1999-2005 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/gnome2.eclass,v 1.62 2005/09/08
17:19:22 leonardop Exp $
+# $Header: $
 #
 # Authors:
 # Bruce A. Locke <blocke@shivan.org>
 # Spidler <spider@gentoo.org>

-inherit libtool gnome.org debug fdo-mime
+inherit libtool debug fdo-mime

 # Gnome 2 ECLASS

@@ -28,7 +28,7 @@

 DEPEND=">=sys-apps/sed-4"

-gnome2_src_configure() {
+gnome2-modified_src_configure() {

	# [ -n "${ELTCONF}" ] && elibtoolize ${ELTCONF}
	elibtoolize ${ELTCONF}
@@ -42,14 +42,14 @@

 }

-gnome2_src_compile() {
+gnome2-modified_src_compile() {

-	gnome2_src_configure "$@"
+	gnome2-modified_src_configure "$@"
	emake || die "compile failure"

 }

-gnome2_src_install() {
+gnome2-modified_src_install() {

	# if this is not present, scrollkeeper-update may segfault and
	# create bogus directories in /var/lib/
@@ -87,7 +87,7 @@
 }


-gnome2_gconf_install() {
+gnome2-modified_gconf_install() {

	if [ -x ${ROOT}/usr/bin/gconftool-2 ]
	then
@@ -104,7 +104,7 @@

 }

-gnome2_gconf_uninstall() {
+gnome2-modified_gconf_uninstall() {

	if [ -x ${ROOT}/usr/bin/gconftool-2 ]
	then
@@ -119,7 +119,7 @@

 }

-gnome2_icon_cache_update() {
+gnome2-modified_icon_cache_update() {
	local updater=`which gtk-update-icon-cache`
	if ! grep -q "obj /usr/share/icons" ${ROOT}/var/db/pkg/*/${PF}/CONTENTS
\
	|| [ ! -x "$updater" ]; then
@@ -140,7 +140,7 @@
	eend $retval
 }

-gnome2_omf_fix() {
+gnome2-modified_omf_fix() {

	# workaround/patch against omf.make or omf-install/Makefile.in
	# in order to remove redundant scrollkeeper-updates.
@@ -169,7 +169,7 @@

 }

-gnome2_scrollkeeper_update() {
+gnome2-modified_scrollkeeper_update() {

	if [ -x ${ROOT}/usr/bin/scrollkeeper-update ] && [
"${SCROLLKEEPER_UPDATE}" = "1" ]
	then
@@ -179,28 +179,28 @@

 }

-gnome2_pkg_postinst() {
+gnome2-modified_pkg_postinst() {

-	gnome2_gconf_install
-	gnome2_scrollkeeper_update
+	gnome2-modified_gconf_install
+	gnome2-modified_scrollkeeper_update
	fdo-mime_desktop_database_update
	fdo-mime_mime_database_update
-	gnome2_icon_cache_update
+	gnome2-modified_icon_cache_update

 }

-#gnome2_pkg_prerm() {
+#gnome2-modified_pkg_prerm() {

-#	gnome2_gconf_uninstall
+#	gnome2-modified_gconf_uninstall

 #}

-gnome2_pkg_postrm() {
+gnome2-modified_pkg_postrm() {

-	gnome2_scrollkeeper_update
+	gnome2-modified_scrollkeeper_update
	fdo-mime_desktop_database_update
	fdo-mime_mime_database_update
-	gnome2_icon_cache_update
+	gnome2-modified_icon_cache_update

 }
Comment 21 Sébastien Champigny 2005-10-04 14:14:50 UTC
Created attachment 69878 [details]
UPDATE diff gnome2.eclass gnome2-modified.eclass

Hmm, struggling with bugzilla late at night is not reasonable ;-)
Forgot to replace "gnome2_" with "gnome2-modified_" in the eclass ...
Comment 22 Sébastien Champigny 2005-10-04 14:17:54 UTC
Created attachment 69879 [details]
UPDATE gnucash-1.99.0-r4.ebuild

 ... also forgot it in the ebuild.
Comment 23 Jens Ansorg 2005-10-05 12:42:06 UTC
the hbci dependency needs to get changed, see #105898

the package is now net-libs/aqbanking

(unfortunately this does not compile on my system)
Comment 24 Jens Ansorg 2005-10-05 13:07:16 UTC
ok, the aqbanking build issue gets fixed by

change the "emake || die" to "emake -j1 || die"

see http://bugs.gentoo.org/show_bug.cgi?id=107465#c4



Comment 25 Torsten Krah 2005-11-18 19:54:17 UTC
 gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../lib/libc -I../../src/core-utils
-I../../src -I../../src/gnc-module -I../../src/business/business-core/
-I../../src/engine -DGNUCASH -pthread -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -I /usr/include/g-wrap -O2 -mcpu=i686
-fomit-frame-pointer -pipe -I/usr/include/postgresql -Wall -Wunused
-Wmissing-prototypes -Wmissing-declarations -MT messages.lo -MD -MP -MF
.deps/messages.Tpo -c messages.c  -fPIC -DPIC -o .libs/messages.o
if /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.
-I../..    -I../../lib/libc -I../../src/core-utils -I../../src
-I../../src/gnc-module -I../../src/business/business-core/ -I../../src/engine
-DGNUCASH -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -I
/usr/include/g-wrap  -O2 -mcpu=i686 -fomit-frame-pointer -pipe
-I/usr/include/postgresql -Wall -Wunused -Wmissing-prototypes
-Wmissing-declarations   -MT policy.lo -MD -MP -MF ".deps/policy.Tpo" -c -o
policy.lo policy.c; \
then mv -f ".deps/policy.Tpo" ".deps/policy.Plo"; else rm -f ".deps/policy.Tpo";
exit 1; fi
/bin/sh ../../libtool --tag=CC --mode=link gcc -I../../lib/libc
-I../../src/core-utils -I../../src -I../../src/gnc-module
-I../../src/business/business-core/ -I../../src/engine -DGNUCASH -pthread
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -I /usr/include/g-wrap 
-O2 -mcpu=i686 -fomit-frame-pointer -pipe -I/usr/include/postgresql -Wall
-Wunused -Wmissing-prototypes -Wmissing-declarations     -o libqof.la -rpath
/opt/gnc-g2-unstable/lib -version-info 1:1:0  gnc-date.lo gnc-engine-util.lo
gnc-numeric.lo gnc-event.lo gnc-trace.lo guid.lo kvp_frame.lo kvp-util.lo md5.lo
qofbackend.lo qofclass.lo qofchoice.lo qofid.lo qofinstance.lo qofquery.lo
qofbook.lo qofobject.lo qofquerycore.lo qofsession.lo qof_book_merge.lo  -lpopt
-lm  -lm
 gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../lib/libc -I../../src/core-utils
-I../../src -I../../src/gnc-module -I../../src/business/business-core/
-I../../src/engine -DGNUCASH -pthread -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -I /usr/include/g-wrap -O2 -mcpu=i686
-fomit-frame-pointer -pipe -I/usr/include/postgresql -Wall -Wunused
-Wmissing-prototypes -Wmissing-declarations -MT policy.lo -MD -MP -MF
.deps/policy.Tpo -c policy.c  -fPIC -DPIC -o .libs/policy.o
/bin/sh ../../libtool --tag=CC --mode=link gcc -I../../lib/libc
-I../../src/core-utils -I../../src -I../../src/gnc-module
-I../../src/business/business-core/ -I../../src/engine -DGNUCASH -pthread
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -I /usr/include/g-wrap 
-O2 -mcpu=i686 -fomit-frame-pointer -pipe -I/usr/include/postgresql -Wall
-Wunused -Wmissing-prototypes -Wmissing-declarations     -o libgw-engine.la
-rpath /opt/gnc-g2-unstable/lib/gnucash -L/usr/lib -lgwrap-wct -lgwrap-glib
../../src/engine/libqof.la gw-engine.lo engine-helpers.lo glib-helpers.lo 
-lpopt -lm  -lm
gcc -shared  .libs/gnc-date.o .libs/gnc-engine-util.o .libs/gnc-numeric.o
.libs/gnc-event.o .libs/gnc-trace.o .libs/guid.o .libs/kvp_frame.o
.libs/kvp-util.o .libs/md5.o .libs/qofbackend.o .libs/qofclass.o
.libs/qofchoice.o .libs/qofid.o .libs/qofinstance.o .libs/qofquery.o
.libs/qofbook.o .libs/qofobject.o .libs/qofquerycore.o .libs/qofsession.o
.libs/qof_book_merge.o  /usr/lib/libpopt.so -lm  -pthread -mcpu=i686 -Wl,-soname
-Wl,libqof.so.1 -o .libs/libqof.so.1.0.1
libtool: link: cannot find the library `../../src/engine/libqof.la'
make[5]: *** [libgw-engine.la] Error 1
make[5]: *** Waiting for unfinished jobs.

Ebuild doesnt work - hints how to solve?

kind regards