Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 677072 - app-office/abiword-3.0.2-r1 with dev-libs/libical-3.0.4 - pd_DocumentRDF.cpp: In member function ‘virtual void PD_RDFEvent::exportToFile(const string&) const’: pd_DocumentRDF.cpp:2272:43: error: ‘icaltime_from_timet’ was not declared in this scope
Summary: app-office/abiword-3.0.2-r1 with dev-libs/libical-3.0.4 - pd_DocumentRDF.cpp:...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-02-01 20:42 UTC by piotr5
Modified: 2019-02-23 11:55 UTC (History)
1 user (show)

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


Attachments
works-for-me fix to make abiword compile (ical3.patch,925 bytes, patch)
2019-02-01 20:42 UTC, piotr5
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description piotr5 2019-02-01 20:42:20 UTC
Created attachment 563458 [details, diff]
works-for-me fix to make abiword compile

directory '/var/tmp/portage/app-office/abiword-3.0.2-r1/work/abiword-3.0.2/src/text/ptbl/xp' gives me

pd_DocumentRDF.cpp: In member function ‘virtual void PD_RDFEvent::exportToFile(const string&) const’:
pd_DocumentRDF.cpp:2272:43: error: ‘icaltime_from_timet’ was not declared in this scope

grep then told me there's only icaltime_from_timet_with_zone in the new dev-libs/libical-3.0.4 and so I wrote a patch for including the timezone created by icaltime_today() (which hopefully will use the local timezone?), but I suppose NULL will work as a timezone as well. strange that the lib intentionally broke backwards-compability without including a wrapper to a similar effect...

btw, if you want to make it run with enchant2 I found (in googling for this libical problem):
http://lists.linuxfromscratch.org/pipermail/blfs-support/2017-October/079566.html
saying:

sed \
 -e "s#enchant_dict_free_suggestions#enchant_dict_free_string_list#g" \
       -e "s#enchant_dict_add_to_personal#enchant_dict_add#g" \
 -e "s#enchant_dict_is_in_session#enchant_dict_is_added#g" \
 -i src/af/xap/xp/enchant-checker.cpp
Comment 1 Larry the Git Cow gentoo-dev 2019-02-23 11:55:15 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b4c1b039f810bfabee5f6c55e4d93ecf76bf4918

commit b4c1b039f810bfabee5f6c55e4d93ecf76bf4918
Author:     Pacho Ramos <pacho@gentoo.org>
AuthorDate: 2019-02-23 11:33:38 +0000
Commit:     Pacho Ramos <pacho@gentoo.org>
CommitDate: 2019-02-23 11:54:38 +0000

    app-office/abiword: Multiple bug fixes
    
    - Fix flickering with recent GTK+ versions (#601300)
    - cairo[X] looks to not be needed, don't rdepend on it (as other
      distributions do too) (#618756)
    - Fix compilation issues (#656026)
    - Fix libical3 compatibility (#677072)
    - Don't force smooth scrolling (from Debian, upstreamed)
    
    Closes: https://bugs.gentoo.org/601300
    Closes: https://bugs.gentoo.org/618756
    Closes: https://bugs.gentoo.org/656026
    Closes: https://bugs.gentoo.org/677072
    Package-Manager: Portage-2.3.62, Repoman-2.3.12
    Signed-off-by: Pacho Ramos <pacho@gentoo.org>

 app-office/abiword/Manifest                |   1 +
 app-office/abiword/abiword-3.0.2-r2.ebuild | 164 +++++++++++++++++++++++++++++
 2 files changed, 165 insertions(+)