Solved abiword displaying all black instead of text

I have no idea on why this is happening. Everything else is working fine. Sometimes when I scroll the page is displayed correctly but quickly turns to black again. This happens on both WMs I tested, openbox and wmaker, with and without a compositor running.
 

Attachments

  • Screenshot_2019-04-02_02-44-58.png
    Screenshot_2019-04-02_02-44-58.png
    22.4 KB · Views: 334
I tried the patch talsamon suggested but it doesn't compile. After after fixing various files manually because some of the patches did not apply cleanly, it's throwing me errors at pd_DocumentRDF.cpp:

Code:
pd_DocumentRDF.cpp:1089:26: warning: 'const' qualifier on reference type
      'PD_RDFModelFromStartEndPos::StatementIterator::self_reference' (aka
      'PD_RDFModelFromStartEndPos::StatementIterator &') has no effect
      [-Wignored-qualifiers]
        bool operator==( const self_reference other )
                         ^~~~~~
pd_DocumentRDF.cpp:1102:26: warning: 'const' qualifier on reference type
      'PD_RDFModelFromStartEndPos::StatementIterator::self_reference' (aka
      'PD_RDFModelFromStartEndPos::StatementIterator &') has no effect
      [-Wignored-qualifiers]
        bool operator!=( const self_reference other )
                         ^~~~~~
pd_DocumentRDF.cpp:2272:43: error: use of undeclared identifier 'icaltime_from_timet'
        icalcomponent_set_dtstart( c,     icaltime_from_timet( m_dtstart, 0 ) );
                                          ^
pd_DocumentRDF.cpp:2273:43: error: use of undeclared identifier 'icaltime_from_timet'
        icalcomponent_set_dtend( c,       icaltime_from_timet( m_dtend, 0 ) );
                                          ^
2 warnings and 2 errors generated.

EDIT: Nevermind, just read the comment about the deprecated ical functions and made the relevant changes. Compiling now, we'll see how well it works.
 
The patch is, as you have seen, some time ago. I guessed some changes in the portstree will throw new error messages. Please can you attach your set of patches to the PR.
 
It's still doing that? LOL. I wish there was a standalone Rich Text word processor so I didn't have to build LibreOffice.
 
It's been doing that for years, both on Linux and FreeBSD. I wished for the same thing: I have no need to install an entire suite of tools to do one task.
 
I compiled a very basic build with no options checked besides debug, I'll have to try to compile the full thing before sending in the patches. In the mean time, I can post a MEGA link to an amd64 package, but I'm not sure if it's okay to do so.
 
I have a problem with svn so I cannot change it. E.g. the second line in the port Makefile is:
# $FreeBSD: head/editors/abiword/Makefile 488056 2018-12-22 03:09:08Z linimon $
svn tells me
# $FreeBSD$
there is any revision mismatch, that is the reason the patch does not apply (and it does not removes patch-c++11).
I don't know how to solve this.
 
I compiled a very basic build with no options checked besides debug, I'll have to try to compile the full thing before sending in the patches. In the mean time, I can post a MEGA link to an amd64 package, but I'm not sure if it's okay to do so.
You can zip the whole port and attach it to the PR.
Or better you try make a svn-diff.
change in a temp or test directory.
run
svnlite co https://svn0.us-east.freebsd.org/ports/head/editors/abiword
change in the new abiword directory
svn del --force files/* (this is specific for this case, also the next command, in other cases it may different).
copy the changed files in this new directory.
svn add files/*
and
svn diff|tee -a svn-diff-abiword-3.0.2

maybe, you have no problems with svn.
(/svn0.us-east.freebsd.org - you can use any other FreeBSD mirror).
 
I actually meant posting here on the thread when I talked about the link to the binary pkg, not on bugzilla, since Sevendogsbsd seemed to need it, it could also be useful for more people I guess.

About the PR, I'll try to do a svn-diff like you said, but first I need to fix the collab support patches, among others.
 
I attached my patches to PR 220975. I fucked up on the first try and forgot to set the other guy's patches as obsolete, but oh well.

EDIT: Here's a 12-RELEASE amd64 binary package built with the default options:

 
If you're applying it to a local copy of the ports tree you need to delete the files manually before running make.

The files to be deleted are:
Code:
files/patch-c++11
files/patch-plugins_collab_backends_service_xp_tls_tunnel.cpp
files/patch-plugins_collab_backends_sipsimple_xp_SIPSimpleBuddy.h
files/patch-src_af_util_xp_ut_iconv.cpp
files/patch-src_text_ptbl_xp_pd__DocumentRDF.h

svn patch on a svn tree should delete them automatically:
Code:
% svnlite patch ~/svn-diff-abiword-3.0.2             
U         Makefile                                                            
U         distinfo                                                            
U         files/patch-abiword.desktop                                         
D         files/patch-c++11
U         files/patch-configure                                               
A         files/patch-flickering                                              
D         files/patch-plugins_collab_backends_service_xp_tls_tunnel.cpp       
D         files/patch-plugins_collab_backends_sipsimple_xp_SIPSimpleBuddy.h   
D         files/patch-src_af_util_xp_ut_iconv.cpp                             
A         files/patch-src_af_xap_xp_xap__Dialog.cpp                           
U         files/patch-src_text_ptbl_xp_pd__DocumentRDF.cpp                    
D         files/patch-src_text_ptbl_xp_pd__DocumentRDF.h                      
A         files/patch-src_wp_ap_gtk_ap__UnixApp.cpp
 
Back
Top