Re: gpgme-config patch [was: Failed to build CVS]
- From: Ildar Mulyukov <ildar users sourceforge net>
- To: balsa-list gnome org
- Subject: Re: gpgme-config patch [was: Failed to build CVS]
- Date: Tue, 27 Jun 2006 16:40:08 +0600
On 27.03.2006 14:24:51, Albrecht DreЯ wrote:
> This problem now hit me as well :(
> Have you already assembled a workaround? I don't want to mess up
> the configure.in if there is a working and nice solution...
Balsa's current cvs detects this condition and ejects from configure
with a proper warning message.
To compile balsa with this gpgme version, please see
http://bugzilla.gnome.org/show_bug.cgi?id=334704#c1 for possible
workarounds. As the problem in gpgme is a temporary one (i.e. it's
already fixed in cvs), we don't provide an own workaround for it.
Hello!
In ALTLinux this problem persists and when packaging balsa, I made a
patch for that. As well I attach an ALTLinux spec, if someone is
interested.
Regards, Ildar
PS the Makefile.{in,am} staff in the patch is there, because when
building, the missing aclocal fails due to the absence of macros dir
--
Ildar Mulyukov,
free SW designer/programmer
================================================
email: ildar users sourceforge net
projects: http://os-development.sourceforge.net/
home: http://tuganger.narod.ru/
ALT Linux Sisyphus
================================================
--- balsa-2.3.13/configure.in.orig 2006-06-17 03:42:56 +0600
+++ balsa-2.3.13/configure.in 2006-06-27 15:47:50 +0600
@@ -321,7 +321,16 @@
if test x"$use_threads" = xyes; then
BALSA_LIBS="$BALSA_LIBS `$gpgmecfg --thread=pthread --libs`"
if test x"$?" != x0 ; then
+# This is workaround for bug explained at
+# http://lists.gnupg.org/pipermail/gnupg-devel/2006-March/022707.html
+# workaround works only for LFS-compartible distros
+# (i.e. asserting lib is at /usr/lib)
+ if test `$gpgmecfg --version` = 1.1.2 -a \
+ -s /usr/lib/libgpgme-pthread.so.11 ; then
+ BALSA_LIBS="$BALSA_LIBS -lgpgme-pthread -lgpg-error"
+ else
AC_MSG_ERROR([*** You enabled gpgme and pthread support, but your gpgme installation does not support threads.])
+ fi
fi
else
BALSA_LIBS="$BALSA_LIBS `$gpgmecfg --libs`"
--- balsa-2.3.13/Makefile.am.ORIG 2005-04-03 05:54:33 +0600
+++ balsa-2.3.13/Makefile.am 2006-06-22 17:50:18 +0600
@@ -68,5 +68,3 @@
-chmod -R a+r $(distdir)
$(AMTAR) chojf $(distdir).tar.bz2 $(distdir)
-rm -rf $(distdir)
-
-ACLOCAL_AMFLAGS = -I macros
--- balsa-2.3.13/Makefile.in.ORIG 2006-03-04 05:28:25 +0600
+++ balsa-2.3.13/Makefile.in 2006-06-22 17:50:53 +0600
@@ -296,7 +296,6 @@
serverdir = $(libdir)/bonobo/servers
server_in_files = GNOME_Balsa.server
server_DATA = $(server_in_files:.server.in=.server)
-ACLOCAL_AMFLAGS = -I macros
all: config.h
$(MAKE) $(AM_MAKEFLAGS) all-recursive
Name: balsa
Version: 2.3.13
Release: alt1
Summary: Balsa Mail Client
License: GPL
Group: Networking/Mail
Url: http://balsa.gnome.org/
Source0: http://balsa.gnome.org/%name-%version.tar.bz2
Source1: %name.menu
Source2: balsa_icons.tar.bz2
Patch0: %name-2.3.12-alt-configure.patch
#BuildPreReq: rpm-utils less
# Automatically added by buildreq on Thu Jun 22 2006
BuildRequires: esound gcc-c++ gnome-vfs-devel gnupg libSM-devel libX11-devel libaspell-devel libavahi-glib libcompface-devel libesmtp-devel libgmime-devel libgnomeprint-devel libgnomeprintui-devel libgnomeui-devel libgpg-error-devel libgpgme-devel libgtkhtml3-devel libgtksourceview-devel libgtkspell-devel libldap-devel libpcre-devel libssl-devel perl-XML-Parser scrollkeeper sqlite-devel
PreReq: icon-theme-hicolor
%description
Balsa is an e-mail reader. This client is part of the GNOME
desktop environment. It supports local mailboxes, POP3 and
IMAP.
%prep
%setup -q
%patch0 -p1
tar jxf %SOURCE2
%build
autoconf
CFLAGS="$RPM_OPT_FLAGS"
%configure --enable-threads --disable-more-warnings --with-ssl --enable-smime --with-gpgme --enable-pcre --with-ldap --with-gtksourceview --with-gtkspell --with-sqlite --with-compface
%make_build
%install
%make_install DESTDIR=%buildroot install
%__install -pD -m644 %SOURCE1 %buildroot%_menudir/%name
install -d %buildroot%_miconsdir
install -d %buildroot%_liconsdir
install -d %buildroot%_iconsdir
install -m644 balsa_16.xpm %buildroot%_miconsdir/%name.xpm
install -m644 balsa_32.xpm %buildroot%_iconsdir/%name.xpm
install -m644 balsa_48.xpm %buildroot%_liconsdir/%name.xpm
%find_lang %name
%post
%update_menus
%postun
%clean_menus
%files -f %name.lang
%doc README COPYING ChangeLog NEWS TODO AUTHORS HACKING docs/mh-mail-HOWTO
%doc docs/vconvert.awk docs/pine2vcard
%_bindir/*
%_datadir/applications/%name.desktop
%_datadir/icons/hicolor/48x48/mimetypes/*
%_datadir/pixmaps/gnome-balsa2.png
%_datadir/gnome/help/%name
%_datadir/omf/%name
%_datadir/%name
%_datadir/idl
%_datadir/sounds/%name
%_libdir/bonobo/servers/*
%_man1dir/%name.1*
%_menudir/%name
%_iconsdir/%name.xpm
%_liconsdir/%name.xpm
%_miconsdir/%name.xpm
#%_localstatedir/*
%config %_sysconfdir/sound/events/*
%changelog
* Thu Jun 22 2006 Ildar Mulyukov <ildar altlinux ru> 2.3.13-alt1
- 2.3.13
* Sun Nov 21 2004 Andrey Semenov <mitrofan altlinux ru> 2.2.6-alt1
- 2.2.6
* Mon Oct 04 2004 Andrey Semenov <mitrofan altlinux ru> 2.2.5-alt1
- new version
* Mon Aug 30 2004 Andrey Semenov <mitrofan altlinux ru> 2.2.4-alt1
- new version
- periodic expunge configurable
- cleanup IMAP password quering code
- GPE address book support - http://gpe.handhelds.org/projects/GPE-address.shtml
- new configuration druid
* Sat Aug 21 2004 Andrey Semenov <mitrofan altlinux ru> 2.2.3-alt1
- new version
- periodic expunge code crash fixed
- fixed recovery from broken IMAP connections
- startup speedup
- some memory leaks fixed
* Tue Aug 10 2004 Andrey Semenov <mitrofan altlinux ru> 2.2.2-alt1
- new version
- configurable hiding of deleted messages
- keyboard navigation fixes
- message counting in some edge cases fixed
- GPG fixes
* Tue Aug 03 2004 Andrey Semenov <mitrofan altlinux ru> 2.2.1-alt1
- new version
- IMAP mailboxes could be incorrectly marked as read-only
- message selection behaves more sanely
- 64-bit fixes
- memory leaks fixed
- handle better imap servers without server-side threading and limits
on number of concurent connections
- quick "Sender or Subject" message index filtering
- various UI improvements
* Mon Jul 12 2004 Andrey Semenov <mitrofan altlinux ru> 2.2.0-alt1
- new version
- fix 143322, 143263, 145701
- GPGME updates
- GSSAPI IMAP authentication
- more build fixes
* Tue Mar 30 2004 Andrey Semenov <mitrofan altlinux ru> 2.0.17-alt1
- build on GNOME-2.6
- fix some GPGME interaction problems
- yet another set of minor fixes
* Mon Jan 19 2004 Andrey Semenov <mitrofan altlinux ru> 2.0.16-alt1
- update GPGME support: 124905
- libgtkhtml3 support added
- use bonobo to avoid running of multiple balsa instances
- fix bugs: 103639, 124550, 127422, 129316 and number of others
* Mon Jan 5 2004 Andrey Semenov <mitrofan altlinux ru> 2.0.15-alt3
- rebuild with gcc-3.3
* Sun Oct 26 2003 Andrey Semenov <mitrofan altlinux ru> 2.0.15-alt2
- Rebuild with libaspell
* Mon Sep 29 2003 Andrey Semenov <mitrofan altlinux ru> 2.0.15-alt1
- 2.0.15
- imap folder scanning speedup.
- fix bugs: 121181, 121637, 121867 and others.
- help updates.
* Thu Sep 25 2003 Andrey Semenov <mitrofan altlinux ru> 2.0.14-alt2
- Cleanup spec
* Mon Jul 28 2003 Andrey Semenov <mitrofan altlinux ru> 2.0.14-alt1
- 2.0.14
- message wrapping improvements, RFC 2646 support.
- experimental LDAP write support (feedback and patches appreciated).
- number of bugs fixed.
* Mon Jul 28 2003 Andrey Semenov <mitrofan altlinux ru> 2.0.13-alt1
- 2.0.13
* Mon Jul 7 2003 Andrey Semenov <mitrofan altlinux ru> 2.0.12-alt1
- 2.0.12
- Added Undo and Redo in the message composer.
- Occasional mangling of text attachments fixed
- More information about attached messages is shown.
* Sun May 18 2003 Andrey Semenov <mitrofan altlinux ru> 2.0.11-alt2
- Cleanup spec
* Mon May 12 2003 Andrey Semenov <mitrofan altlinux ru> 2.0.11-alt1
- 2.0.11
- text wrapping improvements.
- charset encoding validation and conversion improvements.
- several message signing and encryption improvelemts.
- minor LDAP fixes (large directories, non-US-ASCII characters).
* Wed Mar 26 2003 Andrey Semenov <mitrofan altlinux ru> 2.0.10-alt1
- 2.0.10
- GPG support.
- translation fixes and enhancements.
- large set of UI fixes.
- wrapping cleanups.
- autocommit improvements.
- (lib)mutt buffer overflow fix.
- ...and lots of other bugs fixed.
* Sun Mar 23 2003 Andrey Semenov <mitrofan altlinux ru> 2.0.9-alt1
- First version of RPM package.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]