Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 261177 - app-text/highlight-2.7 version bump
Summary: app-text/highlight-2.7 version bump
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo SGML project
URL: http://www.andre-simon.de/
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-04 16:10 UTC by John Keeping
Modified: 2009-05-04 20:15 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description John Keeping 2009-03-04 16:10:09 UTC
Version 2.7 of app-text/highlight was released on 12 Jan 2009. Simply renaming the existing ebuild works for me.

Reproducible: Always

Steps to Reproduce:
Comment 1 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2009-03-04 19:10:38 UTC
Reassigning to sgml herd, CCing tex herd.
Comment 2 Patrick Lauer gentoo-dev 2009-03-07 17:44:19 UTC
./gui/gui_wx29.cpp: In member function 'void HighlightFrame::OnClickButtonSource(wxCommandEvent&)':  
./gui/gui_wx29.cpp:688: error: 'wxFD_MULTIPLE' was not declared in this scope                        
./gui/gui_wx29.cpp:688: error: 'wxFD_FILE_MUST_EXIST' was not declared in this scope                 
/usr/include/wx-2.6/wx/fontdlg.h: In member function 'void HighlightFrame::OnClickButtonFontDlg(wxCommandEvent&)':
/usr/include/wx-2.6/wx/fontdlg.h:105: error: too many arguments to function 'wxFont wxGetFontFromUser(wxWindow*, const wxFont&)'
./gui/gui_wx29.cpp:732: error: at this point in file                                                                            
./gui/gui_wx29.cpp:733: error: 'class wxFont' has no member named 'IsOk'                                                        
./gui/gui_wx29.cpp: In member function 'void HighlightFrame::OnClickButtonOpenStyleFile(wxCommandEvent&)':                      
./gui/gui_wx29.cpp:781: error: 'wxFD_FILE_MUST_EXIST' was not declared in this scope                                            
./gui/gui_wx29.cpp: In member function 'void HighlightFrame::OnClickButtonOpenTagsFile(wxCommandEvent&)':                       
./gui/gui_wx29.cpp:795: error: 'wxFD_FILE_MUST_EXIST' was not declared in this scope                                            
./gui/gui_wx29.cpp: In member function 'void HighlightFrame::OnClickSaveProject(wxCommandEvent&)':                              
./gui/gui_wx29.cpp:809: error: 'wxFD_SAVE' was not declared in this scope                                                       
./gui/gui_wx29.cpp:809: error: 'wxFD_OVERWRITE_PROMPT' was not declared in this scope                                           
./gui/gui_wx29.cpp: In member function 'void HighlightFrame::OnClickOpenProject(wxCommandEvent&)':                              
./gui/gui_wx29.cpp:826: error: 'wxFD_FILE_MUST_EXIST' was not declared in this scope                                            
./gui/gui_wx29.cpp: In member function 'void HighlightFrame::applyCtrlValues(highlight::CodeGenerator*, bool)':                 
./gui/gui_wx29.cpp:1189: error: no matching function for call to 'highlight::CodeGenerator::setStyleInputPath(wxString)'        
./core/codegenerator.h:340: note: candidates are: void highlight::CodeGenerator::setStyleInputPath(const std::string&)          
./gui/gui_wx29.cpp:1190: error: no matching function for call to 'highlight::CodeGenerator::setStyleOutputPath(wxString)'       
./core/codegenerator.h:345: note: candidates are: void highlight::CodeGenerator::setStyleOutputPath(const std::string&)         
./gui/gui_wx29.cpp:1202: error: no matching function for call to 'highlight::CodeGenerator::setRTFPageSize(wxString)'           
./core/codegenerator.h:304: note: candidates are: virtual void highlight::CodeGenerator::setRTFPageSize(const std::string&)     
./gui/gui_wx29.cpp:1205: error: no matching function for call to 'highlight::CodeGenerator::setSVGSize(wxString, wxString)'     
./core/codegenerator.h:312: note: candidates are: virtual void highlight::CodeGenerator::setSVGSize(const std::string&, const std::string&)
./gui/gui_wx29.cpp:1213: error: no matching function for call to 'highlight::CodeGenerator::initTheme(wxString&)'                          
./core/codegenerator.h:150: note: candidates are: virtual bool highlight::CodeGenerator::initTheme(const std::string&)                     
./gui/gui_wx29.cpp:1221: error: no matching function for call to 'highlight::CodeGenerator::setEncoding(wxString)'                         
./core/codegenerator.h:350: note: candidates are: void highlight::CodeGenerator::setEncoding(const std::string&)                           
./gui/gui_wx29.cpp:1236: error: no matching function for call to 'highlight::CodeGenerator::setBaseFont(wxString)'                         
./core/codegenerator.h:223: note: candidates are: void highlight::CodeGenerator::setBaseFont(const std::string&)                           
./gui/gui_wx29.cpp:1237: error: no matching function for call to 'highlight::CodeGenerator::setBaseFontSize(wxString)'                     
./core/codegenerator.h:231: note: candidates are: void highlight::CodeGenerator::setBaseFontSize(const std::string&)                       
./gui/gui_wx29.cpp:1245: error: no matching function for call to 'highlight::CodeGenerator::initIndentationScheme(wxString&)'              
./core/codegenerator.h:331: note: candidates are: bool highlight::CodeGenerator::initIndentationScheme(const std::string&)                 
./gui/gui_wx29.cpp: In member function 'void HighlightFrame::OnClickButtonClipboard(wxCommandEvent&)':                                     
./gui/gui_wx29.cpp:1265: error: no matching function for call to 'highlight::CodeGenerator::initTagInformation(wxString)'                  
./core/codegenerator.h:171: note: candidates are: bool highlight::CodeGenerator::initTagInformation(const std::string&)                    
./gui/gui_wx29.cpp:1273: error: no matching function for call to 'HighlightFrame::getFileSuffix(wxString&)'                                
./gui/gui.h:149: note: candidates are: std::string HighlightFrame::getFileSuffix(const std::string&)                                       
./gui/gui_wx29.cpp:1279: error: no matching function for call to 'highlight::CodeGenerator::setHTMLAnchorPrefix(wxString&)'                
./core/codegenerator.h:288: note: candidates are: virtual void highlight::CodeGenerator::setHTMLAnchorPrefix(const std::string&)           
./gui/gui_wx29.cpp:1281: error: no matching function for call to 'highlight::CodeGenerator::setTitle(wxString&)'                           
./core/codegenerator.h:359: note: candidates are: void highlight::CodeGenerator::setTitle(const std::string&)                              
./gui/gui_wx29.cpp:1285: error: no matching function for call to 'highlight::CodeGenerator::generateStringFromFile(wxString&)'             
./core/codegenerator.h:136: note: candidates are: std::string highlight::CodeGenerator::generateStringFromFile(const std::string&)         
./gui/gui_wx29.cpp: In member function 'void HighlightFrame::OnClickButtonStart(wxCommandEvent&)':                                         
./gui/gui_wx29.cpp:1357: error: no matching function for call to 'highlight::CodeGenerator::initTagInformation(wxString)'                  
./core/codegenerator.h:171: note: candidates are: bool highlight::CodeGenerator::initTagInformation(const std::string&)                    
./gui/gui_wx29.cpp:1388: error: no matching function for call to 'HighlightFrame::getFileSuffix(wxString&)'                                
./gui/gui.h:149: note: candidates are: std::string HighlightFrame::getFileSuffix(const std::string&)                                       
./gui/gui_wx29.cpp:1418: error: no matching function for call to 'highlight::CodeGenerator::setHTMLAnchorPrefix(wxString&)'                
./core/codegenerator.h:288: note: candidates are: virtual void highlight::CodeGenerator::setHTMLAnchorPrefix(const std::string&)           
./gui/gui_wx29.cpp:1420: error: no matching function for call to 'highlight::CodeGenerator::setTitle(wxString&)'                           
./core/codegenerator.h:359: note: candidates are: void highlight::CodeGenerator::setTitle(const std::string&)                              
./gui/gui_wx29.cpp:1423: error: no matching function for call to 'highlight::CodeGenerator::generateFile(wxString&, std::string&)'         
./core/codegenerator.h:122: note: candidates are: highlight::ParseError highlight::CodeGenerator::generateFile(const std::string&, const std::string&)
./gui/gui_wx29.cpp:1441: error: conversion from 'wxString' to non-scalar type 'std::string' requested                                                 
./gui/gui_wx29.cpp: In member function 'void HighlightFrame::updatePreview()':                                                                        
./gui/gui_wx29.cpp:1571: error: no matching function for call to 'highlight::Html32Generator::setBaseFont(wxString)'
./core/codegenerator.h:223: note: candidates are: void highlight::CodeGenerator::setBaseFont(const std::string&)
./gui/gui_wx29.cpp:1572: error: no matching function for call to 'highlight::Html32Generator::setBaseFontSize(wxString)'
./core/codegenerator.h:231: note: candidates are: void highlight::CodeGenerator::setBaseFontSize(const std::string&)
./gui/gui_wx29.cpp:1576: error: no matching function for call to 'HighlightFrame::getFileSuffix(wxString&)'
./gui/gui_wx29.cpp:1518: note: candidates are: std::string HighlightFrame::getFileSuffix(const std::string&)
./gui/gui_wx29.cpp:1579: error: no matching function for call to 'highlight::Html32Generator::generateStringFromFile(wxString&)'
./core/codegenerator.h:136: note: candidates are: std::string highlight::CodeGenerator::generateStringFromFile(const std::string&)
make[1]: *** [gui_wx29.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory `/var/tmp/portage/app-text/highlight-2.7/work/highlight-2.7/src'
make: *** [all-gui] Error 2
 *
 * ERROR: app-text/highlight-2.7 failed.

the wxwindows part does a booboo, with that useflag disabled it at least compiles.
Comment 3 John Keeping 2009-03-07 19:34:41 UTC
I hadn't tried with the wxwindows use flag enabled, turning that on here means it fails to compile. The INSTALL file in the tarball says it uses wxWidgets 2.9, which presumably means it needs features which are currently only available in wxGTK nightly snapshots.

The command line version seems to work fine though, built without wxwindows I've tested with a few different input source files and outputting to several of the output formats.
Comment 4 Samuli Suominen (RETIRED) gentoo-dev 2009-05-04 20:15:09 UTC
highlight 2.9 in tree, it uses qt4 instead of wxwidgets