[MacPorts] #34874: okular @4.8.3 - failing to open Document Archive

MacPorts noreply at macports.org
Tue Jun 26 01:32:34 PDT 2012


#34874: okular @4.8.3 - failing to open Document Archive
-------------------------------+--------------------------------------------
 Reporter:  jan.deluxe@…       |       Owner:  nicos@…           
     Type:  enhancement        |      Status:  new               
 Priority:  Normal             |   Milestone:                    
Component:  ports              |     Version:  2.1.1             
 Keywords:                     |        Port:  okular            
-------------------------------+--------------------------------------------

Comment(by jan.deluxe@…):

 I finally got it working! Here is what I did:

 Building the application with the debug flag and starting it from command
 line revealed that it was looking for mime information in
 /opt/local/share/mime. First I had the same behavior as always (e.g. it
 didn't work). Then I issued the following commands

 {{{
 # make sure to have a clean environment
 $ rm -r ~/Library/Preferences/KDE
 $ rm -r /var/tmp/kdecache-username
 # update the mime databse cache, ignore errors
 $ sudo update-mime-database /opt/local/share/mime/
 # rebuild the system configuration cache
 $ kbuildsycoca4 --noincremental
 }}}

 I got the hint for looking at the update-mime-db command from here
 [http://standards.freedesktop.org/shared-mime-info-spec/shared-mime-info-
 spec-latest.html#s2_layout] after googleing for mime types and kde.

 I can confirm now that okular works as expected with only the +quartz +qt4
 -x11 variants set.
 Maybe the kde-builds should issue the update-mime-db-command after
 install?

 Special thanks to nicos for staying tuned and providing many useful hints!

-- 
Ticket URL: <https://trac.macports.org/ticket/34874#comment:9>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list