PDA

View Full Version : (Another) Homebank Request



Boricua
18th November 2009, 12:13 PM
Hi All:

By means of a previous request,

http://forums.fedoraforum.org/showthread.php?t=230913
leigh123linux was kind enough to provide a scratch 64bit rpm of Homebank's 4.1 beta, which worked very nice. Since then, I moved to Fedora 12 64 bit but the latest Homebank version remained to be 4.0. I did not preserve a copy of leigh's rpm and the same is no longer available at Koji. In fact, the latest update of Homebank for Fedora was done last July:

http://koji.fedoraproject.org/koji/packageinfo?packageID=5010
According to Homebank's website:

http://homebank.free.fr/
Version 4.1 is now final since October 31.
I am just wondering when this new version would be available, because I am experiencing several crashes with Homebank 4.0, probably due to the fact that my data file was somehow modified by version 4.1 beta.
Thanks in advance for any hint :).

bob
18th November 2009, 12:33 PM
First, you really should have updated your previous post instead of starting a new thread. It's a continuation of the topic and if someone was searching for info, they'd now have two threads involved.

Second, the Devs are the ones who can answer this sort of question, not the poor abused members who populate this Forum. :D (users helping users here). So, I'd use Bugzilla for the question or join one of the mails over at FedoraProject by using the FedoraProject Jump at the top of the Page and selecting Communicate.

Boricua
18th November 2009, 01:22 PM
First, you really should have updated your previous post instead of starting a new thread. It's a continuation of the topic and if someone was searching for info, they'd now have two threads involved.

Second, the Devs are the ones who can answer this sort of question, not the poor abused members who populate this Forum. :D (users helping users here). So, I'd use Bugzilla for the question or join one of the mails over at FedoraProject by using the FedoraProject Jump at the top of the Page and selecting Communicate.

Hmmm, guess you are right in general, but I tend to disagree somewhat.
First, regarding updating the previous thread. They are certainly about the same program (Homebank) but their focus and purpose are not the same. The first one (which I quoted in order to provide some reference to the reader) inquired whether someone had made an rpm besides the "official" Fedora rpm packages. This new thread refers to the official Fedora rpms current stage. I understood updating the first thread could be regarded as bumping and/or a deviation from the thread's original purpose: which are behaviours that - as I understand - are not particularly well received by this community.
Second, I was just asking for any forecast regarding when Homebank would be updated, given the well deserved "bleeding-edge" reputation Fedora enjoys. I was not, as I understood my own words, asking for special delivery or updates, just any idea (if there was one) as to when the update would take place.

bob
18th November 2009, 01:33 PM
The devs are the ones who know such things and they don't normally monitor these threads. That's why I directed you to their chosen methods of communication for an answer. Sure, someone might actually know, but it's from discussions over there.

And, if I'd wanted to combine the threads, I simply would have.

Boricua
18th November 2009, 02:01 PM
The devs are the ones who know such things and they don't normally monitor these threads. That's why I directed you to their chosen methods of communication for an answer. Sure, someone might actually know, but it's from discussions over there.

And, if I'd wanted to combine the threads, I simply would have.

I am well aware of the "ask the devs" mantra.
However, I suggest the "General Support" forum's description ("Ask questions here that do not belong in any other forum.") should be somewhat clarified to reflect when general support's ends and "ask the devs" starts :cool:. Its broad language suggests that "general" means "everything else" and, from what I have learned today, that's not really the case;).

bob
18th November 2009, 02:22 PM
You can ask. We might not know. Just trying to tell you where the answer might easily be found.

Well, we've bumped this thread about all that it can be. :D Let's see if someone pops in with info. to shut us up.

Boricua
18th November 2009, 02:28 PM
You can ask. We might not know. Just trying to tell you where the answer might easily be found.

Well, we've bumped this thread about all that it can be. :D Let's see if someone pops in with info. to shut us up.

Agreed :D.

Dies
18th November 2009, 05:53 PM
Thanks in advance for any hint :).

Here's a hint. Build it yourself. :p


No, but seriously give it a shot. ;)



su -c "yum install rpmdevtools -y"
rpmdev-setuptree
yumdownloader --source homebank
su -c "yum-builddep homebank*.rpm -y"
rpm -ivh homebank*.rpm

Now grab the 4.1 source from the Homebank website and drop it in ~/rpmbuild/SOURCES, then open ~/rpmbuild/SPECS/homebank.spec and replace the contents with this


Name: homebank
Version: 4.1
Release: 1%{?dist}
Summary: Free easy personal accounting for all

Group: Applications/Productivity
License: GPLv2+
URL: http://homebank.free.fr
Source0: http://homebank.free.fr/public/%{name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildRequires: gtk2-devel
BuildRequires: desktop-file-utils
BuildRequires: perl(XML::Parser)
BuildRequires: gettext
BuildRequires: libofx-devel
BuildRequires: cairo-devel
BuildRequires: atk-devel
BuildRequires: intltool

%description
HomeBank is the free software you have always wanted to manage your personal
accounts at home. The main concept is to be light, simple and very easy to use.
It brings you many features that allows you to analyze your finances in a
detailed way instantly and dynamically with powerful report tools based on
filtering and graphical charts.

%package doc
Summary: Documentation files for homebank
Group: Applications/Productivity
Requires: %{name} = %{version}-%{release}
%description doc
Documentation files for homebank


%prep
%setup -q
chmod -x NEWS
chmod -x ChangeLog
chmod -x README
chmod -x AUTHORS
chmod -x COPYING
chmod -x doc/TODO
chmod -x src/*.*

%build
%configure
make %{?_smp_mflags}


%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT INSTALL='install -p'
mkdir -p $RPM_BUILD_ROOT%{_datadir}/pixmaps
mkdir -p $RPM_BUILD_ROOT%{_datadir}/applications
desktop-file-install \
--delete-original \
--vendor="fedora" \
--dir $RPM_BUILD_ROOT%{_datadir}/applications \
--mode 0644 \
$RPM_BUILD_ROOT%{_datadir}/applications/%{name}.desktop
%find_lang %{name}


%clean
rm -rf $RPM_BUILD_ROOT


%post
touch --no-create %{_datadir}/icons/hicolor
if [ -x %{_bindir}/gtk-update-icon-cache ]; then
%{_bindir}/gtk-update-icon-cache -q %{_datadir}/icons/hicolor;
fi
update-mime-database %{_datadir}/mime &> /dev/null || :
update-desktop-database &> /dev/null || :

%postun
touch --no-create %{_datadir}/icons/hicolor
if [ -x %{_bindir}/gtk-update-icon-cache ]; then
%{_bindir}/gtk-update-icon-cache -q %{_datadir}/icons/hicolor;
fi
update-mime-database %{_datadir}/mime &> /dev/null || :
update-desktop-database &> /dev/null || :


%files -f %{name}.lang
%defattr(-,root,root,-)
%doc AUTHORS ChangeLog COPYING NEWS README
%{_bindir}/%{name}
%dir %{_datadir}/%{name}/
%{_datadir}/%{name}/images
%{_datadir}/applications/*%{name}.desktop
%{_datadir}/%{name}/icons/hicolor/??x??/*/*.png
%{_datadir}/icons/hicolor/??x??/apps/*.png
%{_datadir}/icons/hicolor/scalable/apps/*.svg
%{_datadir}/mime-info/%{name}.*
%{_datadir}/mime/packages/%{name}.xml
%{_datadir}/application-registry/%{name}.applications

%files doc
%defattr(-,root,root,-)
%doc doc/TODO
%{_datadir}/%{name}/help

%changelog
* Wed Nov 18 2009 Me <me@me.com> 4.1
- Update to latest version

Now build it with


rpmbuild -bb ~/rpmbuild/SPECS/homebank.spec

you can then cd to ~/rpmbuild/RPMS/<arch> and install it with something like 'yum localinstall --nogpgcheck homebank*'

Boricua
19th November 2009, 01:24 AM
Here's a hint. Build it yourself. :p


No, but seriously give it a shot. ;)

Hmmm... why not?:rolleyes: A hint is a hint. I will try and let you know. Thanks, Dies :).

Edit:

Edit:

Edit:

Edit: Everything went well, except for the build stage. Here's what I got:

[Francisco@Hogar ~]$ rpmbuild -bb ~/rpmbuild/SPECS/homebank.spec
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.vs8UCi
+ umask 022
+ cd /home/Francisco/rpmbuild/BUILD
+ cd /home/Francisco/rpmbuild/BUILD
+ rm -rf homebank-4.1
+ /bin/tar -xf -
+ /usr/bin/gzip -dc /home/Francisco/rpmbuild/SOURCES/homebank-4.1.tar.gz
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd homebank-4.1
+ /bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ chmod -x NEWS
+ chmod -x ChangeLog
+ chmod -x README
+ chmod -x AUTHORS
+ chmod -x COPYING
+ chmod -x doc/TODO
+ chmod -x src/da_account.c src/da_account.h src/da_assign.c src/da_assign.h src/da_category.c src/da_category.h src/da_encoding.c src/da_encoding.h src/da_other.c src/da_other.h src/da_payee.c src/da_payee.h src/da_tag.c src/da_tag.h src/da_transaction.c src/da_transaction.h src/def_archive.c src/def_archive.h src/def_budget.c src/def_budget.h src/def_filter.c src/def_filter.h src/def_operation.c src/def_operation.h src/def_pref.c src/def_pref.h src/def_wallet.c src/def_wallet.h src/dsp_account.c src/dsp_account.h src/dsp_wallet.c src/dsp_wallet.h src/enums.h src/gtkchart.c src/gtkchart.h src/gtkdateentry.c src/gtkdateentry.h src/hb_account.c src/hb_account.h src/hb_category.c src/hb_category.h src/hb_payee.c src/hb_payee.h src/hb_transaction.c src/hb_transaction.h src/homebank.c src/homebank.h src/imp_amiga.c src/imp_amiga.h src/import.c src/import.h src/imp_qif.c src/imp_qif.h src/list_account.c src/list_account.h src/list_operation.c src/list_operation.h src/list_upcoming.c src/list_upcoming.h src/Makefile.am src/Makefile.in src/misc.c src/misc.h src/preferences.c src/preferences.h src/rep_budget.c src/rep_budget.h src/rep_car.c src/rep_car.h src/rep_over.c src/rep_over.h src/rep_stats.c src/rep_stats.h src/ui_account.c src/ui_account.h src/ui_assign.c src/ui_assign.h src/ui_category.c src/ui_category.h src/ui_payee.c src/ui_payee.h src/widgets.c src/widgets.h src/xml.c src/xml.h
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.mcSZ6I
+ umask 022
+ cd /home/Francisco/rpmbuild/BUILD
+ cd homebank-4.1
+ CFLAGS='-O2 -g'
+ export CFLAGS
+ CXXFLAGS='-O2 -g'
+ export CXXFLAGS
+ FFLAGS='-O2 -g'
+ export FFLAGS
+ ./configure --host=x86_64-unknown-linux-gnu --build=x86_64-unknown-linux-gnu --target=x86_64-redhat-linux --program-prefix= --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
/home/Francisco/rpmbuild/BUILD/homebank-4.1/missing: Unknown `--run' option
Try `/home/Francisco/rpmbuild/BUILD/homebank-4.1/missing --help' for more information
configure: WARNING: `missing' script is too old or missing
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for x86_64-unknown-linux-gnu-gcc... no
checking for gcc... no
checking for x86_64-unknown-linux-gnu-cc... no
checking for cc... no
checking for x86_64-unknown-linux-gnu-cl.exe... no
checking for cl.exe... no
configure: error: in `/home/Francisco/rpmbuild/BUILD/homebank-4.1':
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details.
error: Bad exit status from /var/tmp/rpm-tmp.mcSZ6I (%build)


RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.mcSZ6I (%build)

leigh123linux
19th November 2009, 01:47 AM
Hi All:

By means of a previous request,

http://forums.fedoraforum.org/showthread.php?t=230913leigh123linux was kind enough to provide a scratch 64bit rpm of Homebank's 4.1 beta, which worked very nice. Since then, I moved to Fedora 12 64 bit but the latest Homebank version remained to be 4.0. I did not preserve a copy of leigh's rpm and the same is no longer available at Koji. In fact, the latest update of Homebank for Fedora was done last July:

http://koji.fedoraproject.org/koji/packageinfo?packageID=5010According to Homebank's website:

http://homebank.free.fr/Version 4.1 is now final since October 31.
I am just wondering when this new version would be available, because I am experiencing several crashes with Homebank 4.0, probably due to the fact that my data file was somehow modified by version 4.1 beta.
Thanks in advance for any hint :).


File a bugreport against homebank 4.0 !



You will need to wait till it completes building

http://koji.fedoraproject.org/koji/taskinfo?taskID=1815561

Dies
19th November 2009, 01:50 AM
haha you have no compiler. Weird, that's apparently not a build dep...

Your best bet is to do a

yum groupinstall "Development Tools" -y

that will pull down everything you need.

leigh123linux
19th November 2009, 01:57 AM
haha you have no compiler. Weird, that's apparently not a build dep...

Your best bet is to do a

yum groupinstall "Development Tools" -y

that will pull down everything you need.

You don't need to specify gcc in the spec file any more as it's a default package for Koji and mock buildsystems.

Boricua
19th November 2009, 01:58 AM
File a bugreport against homebank 4.0 !



You will need to wait till it completes building

http://koji.fedoraproject.org/koji/taskinfo?taskID=1815561

Ok, thanks again leigh.

leigh123linux
19th November 2009, 02:00 AM
Ok, thanks again leigh.

Don't forget to file that bugreport :cool:

Boricua
19th November 2009, 02:04 AM
haha you have no compiler. Weird, that's apparently not a build dep...

Your best bet is to do a

yum groupinstall "Development Tools" -y

that will pull down everything you need.

Ahhh, oh well, I guess I'm not in such a hurry for a Homebank update after all...:rolleyes:
Now seriously, I want to thank you again Dies for your time. It seems Homebank is finally coming out :).

Edit:
Don't forget to file that bugreport :cool:

Done :cool::

https://bugzilla.redhat.com/show_bug.cgi?id=538768