LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 12-08-2020, 11:24 AM   #3151
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,098

Original Poster
Rep: Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175

Quote:
Originally Posted by MDKDIO View Post
MasterPDFEditor no longer build on -current due to no QT4

Change:
MasterPDFEditor.info Line: 6 -> https://code-industry.net/public/mas....x86_64.tar.gz (replace qt4 with qt5)

MasterPDFEditor.SlackBuild Line: 56 -> SOURCEARCH="-qt4.x86_64" (replace qt4 with qt5)

Tested ok
well, it actually builds (it's a binary repackaging) but it won't run
also updating the 64bit version to qt5 this will actually still be a problem for the prebuilt 32bit version because that one still links to qt-4.x only.

BTW, I just saw this https://git.slackbuilds.org/slackbui...it/?id=77fb9fc (most probably will be in the next merge)

I'm thinking about pushing a qt4 SlackBuild to cover stuff depending on qt-4.x.
I modified the version just removed from current but this new SlackBuild doesn't build the webkit component: this is actually a good thing, because that version of webkit is very old an it's not safe at all to use, but it also means that whatever needs a qt4-based webkit won't work anymore...

if you feel like trying it (it's still in a testing phase, any suggestion/improvement is welcome), I uploaded the script and a package (for whoever doesn't feel like building it)

http://ponce.cc/slackware/testing/qt4/ (tar of the build directory)
package

note that you will need to logout and relogin after having installed the resulting package, to initialize the QT4DIR and update the CPLUS_INCLUDE_PATH variables

Last edited by ponce; 12-08-2020 at 12:32 PM.
 
1 members found this post helpful.
Old 12-08-2020, 12:49 PM   #3152
MDKDIO
Member
 
Registered: Mar 2004
Location: Sweden
Distribution: Slackware 15
Posts: 521

Rep: Reputation: 187Reputation: 187
Quote:
Originally Posted by ponce View Post
well, it actually builds (it's a binary repackaging) but it won't run
Ok, I didn't even try that. I had removal of qt4 fresh in mind, so I went that route directly

Quote:
BTW, I just saw this https://git.slackbuilds.org/slackbui...it/?id=77fb9fc (most probably will be in the next merge)
I keep forgetting to check that git

Quote:
I'm thinking about pushing a qt4 SlackBuild to cover stuff depending on qt-4.x.
I modified the version just removed from current but this new SlackBuild doesn't build the webkit component: this is actually a good thing, because that version of webkit is very old an it's not safe at all to use, but it also means that whatever needs a qt4-based webkit won't work anymore...

if you feel like trying it (it's still in a testing phase, any suggestion/improvement is welcome), I uploaded the script and a package (for whoever doesn't feel like building it)

http://ponce.cc/slackware/testing/qt4/ (tar of the build directory)
package

note that you will need to logout and relogin after having installed the resulting package, to initialize the QT4DIR and update the CPLUS_INCLUDE_PATH variables
Thanks!
I might try that later on this evening. Hockey game to watch first
 
Old 12-08-2020, 01:43 PM   #3153
gauchao
Member
 
Registered: Dec 2009
Location: Veneto
Distribution: Slackware64
Posts: 366

Rep: Reputation: 143Reputation: 143
Ciao Ponce.

Scribus 1.4.8 x86_64 (from sbopkg) not working after Plasma5 upgrade on current-64

Quote:
bash-5.1$ scribus
scribus: error while loading shared libraries: libQtGui.so.4: cannot open shared object file: No such file or directory
 
Old 12-08-2020, 01:52 PM   #3154
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,098

Original Poster
Rep: Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175
Quote:
Originally Posted by gauchao View Post
Ciao Ponce.

Scribus 1.4.8 x86_64 (from sbopkg) not working after Plasma5 upgrade on current-64
I have already pushed an update to 1.5.6.1 (that uses qt5), it will go in at the next merge.

http://cgit.ponce.cc/slackbuilds/commit/?h=scribus

note that, if I remember correctly, the document format of 1.5.x is not backward compatible with 1.4.x: if you open and modify a document with the newer version you won't be able to modify it again with the old one.

an alternative is to use the new qt4 package I linked above (and that will be most probably added to this repository) or the old qt package just removed from current (still available, for example, here).

Last edited by ponce; 12-08-2020 at 01:55 PM.
 
1 members found this post helpful.
Old 12-08-2020, 03:22 PM   #3155
MDKDIO
Member
 
Registered: Mar 2004
Location: Sweden
Distribution: Slackware 15
Posts: 521

Rep: Reputation: 187Reputation: 187
Quote:
Originally Posted by ponce View Post

if you feel like trying it (it's still in a testing phase, any suggestion/improvement is welcome), I uploaded the script and a package (for whoever doesn't feel like building it)

http://ponce.cc/slackware/testing/qt4/ (tar of the build directory)
package
I did build it (on a very slow laptop), and I ran into quite a few errors:

List of errors:
Code:
helpviewer_qwv.cpp:161:1: error: expected class-name before '{' token
  161 | {
      | ^
helpviewer_qwv.cpp:166:13: error: 'QWebPage' does not name a type
  166 |     virtual QWebPage *createWindow(QWebPage::WebWindowType);
      |             ^~~~~~~~
helpviewer_qwv.cpp:167:32: error: 'WebAction' has not been declared
  167 |     virtual void triggerAction(WebAction action, bool checked = false);
      |                                ^~~~~~~~~
helpviewer_qwv.cpp:169:42: error: 'QWebFrame' has not been declared
  169 |     virtual bool acceptNavigationRequest(QWebFrame *frame,
      |                                          ^~~~~~~~~
helpviewer_qwv.cpp:170:41: error: 'NavigationType' has not been declared
  170 |         const QNetworkRequest &request, NavigationType type);
      |                                         ^~~~~~~~~~~~~~
helpviewer_qwv.cpp: In constructor 'HelpPage::HelpPage(QObject*)':
helpviewer_qwv.cpp:182:7: error: class 'HelpPage' does not have any field named 'QWebPage'
  182 |     : QWebPage(parent)
      |       ^~~~~~~~
helpviewer_qwv.cpp: At global scope:
helpviewer_qwv.cpp:190:1: error: 'QWebPage' does not name a type
  190 | QWebPage *HelpPage::createWindow(QWebPage::WebWindowType)
      | ^~~~~~~~
helpviewer_qwv.cpp:200:6: error: variable or field 'triggerAction' declared void
  200 | void HelpPage::triggerAction(WebAction action, bool checked)
      |      ^~~~~~~~
helpviewer_qwv.cpp:200:30: error: 'WebAction' was not declared in this scope; did you mean 'QAction'?
  200 | void HelpPage::triggerAction(WebAction action, bool checked)
      |                              ^~~~~~~~~
      |                              QAction
helpviewer_qwv.cpp:200:48: error: expected primary-expression before 'bool'
  200 | void HelpPage::triggerAction(WebAction action, bool checked)
      |                                                ^~~~
helpviewer_qwv.cpp:212:6: error: 'bool HelpPage::acceptNavigationRequest' is not a static data member of 'class HelpPage'
  212 | bool HelpPage::acceptNavigationRequest(QWebFrame *,
      |      ^~~~~~~~
helpviewer_qwv.cpp:212:40: error: 'QWebFrame' was not declared in this scope; did you mean 'QTextFrame'?
  212 | bool HelpPage::acceptNavigationRequest(QWebFrame *,
      |                                        ^~~~~~~~~
      |                                        QTextFrame
helpviewer_qwv.cpp:212:51: error: expected primary-expression before ',' token
  212 | bool HelpPage::acceptNavigationRequest(QWebFrame *,
      |                                                   ^
helpviewer_qwv.cpp:213:5: error: expected primary-expression before 'const'
  213 |     const QNetworkRequest &request, QWebPage::NavigationType type)
      |     ^~~~~
helpviewer_qwv.cpp:213:37: error: 'QWebPage' has not been declared
  213 |     const QNetworkRequest &request, QWebPage::NavigationType type)
      |                                     ^~~~~~~~
helpviewer_qwv.cpp:213:66: warning: expression list treated as compound expression in initializer [-fpermissive]
  213 |     const QNetworkRequest &request, QWebPage::NavigationType type)
      |                                                                  ^
helpviewer_qwv.cpp: In constructor 'HelpViewer::HelpViewer(qreal, QWidget*)':
helpviewer_qwv.cpp:245:7: error: class 'HelpViewer' does not have any field named 'QWebView'
  245 |     : QWebView(parent)
      |       ^~~~~~~~
helpviewer_qwv.cpp:246:13: error: no matching function for call to 'HelpViewer::HelpViewerPrivate::HelpViewerPrivate()'
  246 |     , d(new HelpViewerPrivate)
      |             ^~~~~~~~~~~~~~~~~
In file included from helpviewer_qwv.cpp:43:
helpviewer_p.h:62:5: note: candidate: 'HelpViewer::HelpViewerPrivate::HelpViewerPrivate(int)'
   62 |     HelpViewerPrivate(int zoom)
      |     ^~~~~~~~~~~~~~~~~
helpviewer_p.h:62:5: note:   candidate expects 1 argument, 0 provided
helpviewer_p.h:56:19: note: candidate: 'HelpViewer::HelpViewerPrivate::HelpViewerPrivate(const HelpViewer::HelpViewerPrivate&)'
   56 | class HelpViewer::HelpViewerPrivate : public QObject
      |                   ^~~~~~~~~~~~~~~~~
helpviewer_p.h:56:19: note:   candidate expects 1 argument, 0 provided
helpviewer_qwv.cpp:250:5: error: 'settings' was not declared in this scope; did you mean 'setns'?
  250 |     settings()->setAttribute(QWebSettings::JavaEnabled, false);
      |     ^~~~~~~~
      |     setns
helpviewer_qwv.cpp:250:30: error: 'QWebSettings' has not been declared
  250 |     settings()->setAttribute(QWebSettings::JavaEnabled, false);
      |                              ^~~~~~~~~~~~
helpviewer_qwv.cpp:251:30: error: 'QWebSettings' has not been declared
  251 |     settings()->setAttribute(QWebSettings::PluginsEnabled, false);
      |                              ^~~~~~~~~~~~
helpviewer_qwv.cpp:253:5: error: 'setPage' was not declared in this scope
  253 |     setPage(new HelpPage(this));
      |     ^~~~~~~
helpviewer_qwv.cpp:254:5: error: 'page' was not declared in this scope
  254 |     page()->setNetworkAccessManager(new HelpNetworkAccessManager(this));
      |     ^~~~
helpviewer_qwv.cpp:256:34: error: 'QWebPage' has not been declared
  256 |     QAction* action = pageAction(QWebPage::OpenLinkInNewWindow);
      |                                  ^~~~~~~~
helpviewer_qwv.cpp:256:23: error: 'pageAction' was not declared in this scope; did you mean 'addAction'?
  256 |     QAction* action = pageAction(QWebPage::OpenLinkInNewWindow);
      |                       ^~~~~~~~~~
      |                       addAction
helpviewer_qwv.cpp:259:16: error: 'QWebPage' has not been declared
  259 |     pageAction(QWebPage::DownloadLinkToDisk)->setVisible(false);
      |                ^~~~~~~~
helpviewer_qwv.cpp:260:16: error: 'QWebPage' has not been declared
  260 |     pageAction(QWebPage::DownloadImageToDisk)->setVisible(false);
      |                ^~~~~~~~
helpviewer_qwv.cpp:261:16: error: 'QWebPage' has not been declared
  261 |     pageAction(QWebPage::OpenImageInNewWindow)->setVisible(false);
      |                ^~~~~~~~
helpviewer_qwv.cpp:263:24: error: 'QWebPage' has not been declared
  263 |     connect(pageAction(QWebPage::Copy), SIGNAL(changed()), this,
      |                        ^~~~~~~~
helpviewer_qwv.cpp:265:24: error: 'QWebPage' has not been declared
  265 |     connect(pageAction(QWebPage::Back), SIGNAL(changed()), this,
      |                        ^~~~~~~~
helpviewer_qwv.cpp:267:24: error: 'QWebPage' has not been declared
  267 |     connect(pageAction(QWebPage::Forward), SIGNAL(changed()), this,
      |                        ^~~~~~~~
helpviewer_qwv.cpp:278:5: error: 'setTextSizeMultiplier' was not declared in this scope
  278 |     setTextSizeMultiplier(zoom == 0.0 ? 1.0 : zoom);
      |     ^~~~~~~~~~~~~~~~~~~~~
helpviewer_qwv.cpp: In member function 'QFont HelpViewer::viewerFont() const':
helpviewer_qwv.cpp:287:5: error: 'QWebSettings' was not declared in this scope
  287 |     QWebSettings *webSettings = QWebSettings::globalSettings();
      |     ^~~~~~~~~~~~
helpviewer_qwv.cpp:287:19: error: 'webSettings' was not declared in this scope
  287 |     QWebSettings *webSettings = QWebSettings::globalSettings();
      |                   ^~~~~~~~~~~
helpviewer_qwv.cpp:287:33: error: 'QWebSettings' is not a class or namespace
  287 |     QWebSettings *webSettings = QWebSettings::globalSettings();
      |                                 ^~~~~~~~~~~~
helpviewer_qwv.cpp:288:17: error: expected primary-expression before '(' token
  288 |     return QFont(webSettings->fontFamily(QWebSettings::StandardFont),
      |                 ^
helpviewer_qwv.cpp:288:42: error: 'QWebSettings' is not a class or namespace
  288 |     return QFont(webSettings->fontFamily(QWebSettings::StandardFont),
      |                                          ^~~~~~~~~~~~
helpviewer_qwv.cpp:289:31: error: 'QWebSettings' is not a class or namespace
  289 |         webSettings->fontSize(QWebSettings::DefaultFontSize));
      |                               ^~~~~~~~~~~~
helpviewer_qwv.cpp: In member function 'void HelpViewer::setViewerFont(const QFont&)':
helpviewer_qwv.cpp:295:5: error: 'QWebSettings' was not declared in this scope
  295 |     QWebSettings *webSettings = settings();
      |     ^~~~~~~~~~~~
helpviewer_qwv.cpp:295:19: error: 'webSettings' was not declared in this scope
  295 |     QWebSettings *webSettings = settings();
      |                   ^~~~~~~~~~~
helpviewer_qwv.cpp:295:33: error: 'settings' was not declared in this scope; did you mean 'setns'?
  295 |     QWebSettings *webSettings = settings();
      |                                 ^~~~~~~~
      |                                 setns
helpviewer_qwv.cpp:296:32: error: 'QWebSettings' is not a class or namespace
  296 |     webSettings->setFontFamily(QWebSettings::StandardFont, font.family());
      |                                ^~~~~~~~~~~~
helpviewer_qwv.cpp:297:30: error: 'QWebSettings' is not a class or namespace
  297 |     webSettings->setFontSize(QWebSettings::DefaultFontSize, font.pointSize());
      |                              ^~~~~~~~~~~~
helpviewer_qwv.cpp: In member function 'void HelpViewer::scaleUp()':
helpviewer_qwv.cpp:303:27: error: 'textSizeMultiplier' was not declared in this scope
  303 |     setTextSizeMultiplier(textSizeMultiplier() + 0.1);
      |                           ^~~~~~~~~~~~~~~~~~
helpviewer_qwv.cpp:303:5: error: 'setTextSizeMultiplier' was not declared in this scope
  303 |     setTextSizeMultiplier(textSizeMultiplier() + 0.1);
      |     ^~~~~~~~~~~~~~~~~~~~~
helpviewer_qwv.cpp: In member function 'void HelpViewer::scaleDown()':
helpviewer_qwv.cpp:309:37: error: 'textSizeMultiplier' was not declared in this scope
  309 |     setTextSizeMultiplier(qMax(0.0, textSizeMultiplier() - 0.1));
      |                                     ^~~~~~~~~~~~~~~~~~
helpviewer_qwv.cpp:309:5: error: 'setTextSizeMultiplier' was not declared in this scope
  309 |     setTextSizeMultiplier(qMax(0.0, textSizeMultiplier() - 0.1));
      |     ^~~~~~~~~~~~~~~~~~~~~
helpviewer_qwv.cpp: In member function 'void HelpViewer::resetScale()':
helpviewer_qwv.cpp:315:5: error: 'setTextSizeMultiplier' was not declared in this scope
  315 |     setTextSizeMultiplier(1.0);
      |     ^~~~~~~~~~~~~~~~~~~~~
helpviewer_qwv.cpp: In member function 'qreal HelpViewer::scale() const':
helpviewer_qwv.cpp:321:12: error: 'textSizeMultiplier' was not declared in this scope
  321 |     return textSizeMultiplier();
      |            ^~~~~~~~~~~~~~~~~~
helpviewer_qwv.cpp: In member function 'QString HelpViewer::title() const':
helpviewer_qwv.cpp:327:12: error: 'QWebView' has not been declared
  327 |     return QWebView::title();
      |            ^~~~~~~~
helpviewer_qwv.cpp: In member function 'QUrl HelpViewer::source() const':
helpviewer_qwv.cpp:339:53: error: 'page' was not declared in this scope
  339 |     HelpPage *currentPage = static_cast<HelpPage*> (page());
      |                                                     ^~~~
helpviewer_qwv.cpp:344:12: error: 'url' was not declared in this scope
  344 |     return url();
      |            ^~~
helpviewer_qwv.cpp: In member function 'virtual void HelpViewer::setSource(const QUrl&)':
helpviewer_qwv.cpp:350:5: error: 'load' was not declared in this scope; did you mean 'reload'?
  350 |     load(url.toString() == QLatin1String("help") ? LocalHelpFile : url);
      |     ^~~~
      |     reload
helpviewer_qwv.cpp: In member function 'QString HelpViewer::selectedText() const':
helpviewer_qwv.cpp:356:12: error: 'QWebView' has not been declared
  356 |     return QWebView::selectedText();
      |            ^~~~~~~~
helpviewer_qwv.cpp: In member function 'bool HelpViewer::isForwardAvailable() const':
helpviewer_qwv.cpp:362:23: error: 'QWebPage' has not been declared
  362 |     return pageAction(QWebPage::Forward)->isEnabled();
      |                       ^~~~~~~~
helpviewer_qwv.cpp:362:12: error: 'pageAction' was not declared in this scope; did you mean 'addAction'?
  362 |     return pageAction(QWebPage::Forward)->isEnabled();
      |            ^~~~~~~~~~
      |            addAction
helpviewer_qwv.cpp: In member function 'bool HelpViewer::isBackwardAvailable() const':
helpviewer_qwv.cpp:368:23: error: 'QWebPage' has not been declared
  368 |     return pageAction(QWebPage::Back)->isEnabled();
      |                       ^~~~~~~~
helpviewer_qwv.cpp:368:12: error: 'pageAction' was not declared in this scope; did you mean 'addAction'?
  368 |     return pageAction(QWebPage::Back)->isEnabled();
      |            ^~~~~~~~~~
      |            addAction
helpviewer_qwv.cpp: In member function 'bool HelpViewer::findText(const QString&, HelpViewer::FindFlags, bool, bool)':
helpviewer_qwv.cpp:376:5: error: 'QWebPage' has not been declared
  376 |     QWebPage::FindFlags options = QWebPage::FindWrapsAroundDocument;
      |     ^~~~~~~~
helpviewer_qwv.cpp:378:9: error: 'options' was not declared in this scope; did you mean 'actions'?
  378 |         options |= QWebPage::FindBackward;
      |         ^~~~~~~
      |         actions
helpviewer_qwv.cpp:378:20: error: 'QWebPage' has not been declared
  378 |         options |= QWebPage::FindBackward;
      |                    ^~~~~~~~
helpviewer_qwv.cpp:380:9: error: 'options' was not declared in this scope; did you mean 'actions'?
  380 |         options |= QWebPage::FindCaseSensitively;
      |         ^~~~~~~
      |         actions
helpviewer_qwv.cpp:380:20: error: 'QWebPage' has not been declared
  380 |         options |= QWebPage::FindCaseSensitively;
      |                    ^~~~~~~~
helpviewer_qwv.cpp:382:18: error: 'QWebView' has not been declared
  382 |     bool found = QWebView::findText(text, options);
      |                  ^~~~~~~~
helpviewer_qwv.cpp:382:43: error: 'options' was not declared in this scope; did you mean 'actions'?
  382 |     bool found = QWebView::findText(text, options);
      |                                           ^~~~~~~
      |                                           actions
helpviewer_qwv.cpp:383:15: error: 'QWebPage' has not been declared
  383 |     options = QWebPage::HighlightAllOccurrences;
      |               ^~~~~~~~
helpviewer_qwv.cpp:384:5: error: 'QWebView' has not been declared
  384 |     QWebView::findText(QLatin1String(""), options); // clear first
      |     ^~~~~~~~
helpviewer_qwv.cpp:385:5: error: 'QWebView' has not been declared
  385 |     QWebView::findText(text, options); // force highlighting of all other matches
      |     ^~~~~~~~
helpviewer_qwv.cpp: In member function 'void HelpViewer::copy()':
helpviewer_qwv.cpp:394:23: error: 'QWebPage' has not been declared
  394 |     triggerPageAction(QWebPage::Copy);
      |                       ^~~~~~~~
helpviewer_qwv.cpp:394:5: error: 'triggerPageAction' was not declared in this scope
  394 |     triggerPageAction(QWebPage::Copy);
      |     ^~~~~~~~~~~~~~~~~
helpviewer_qwv.cpp: In member function 'virtual void HelpViewer::forward()':
helpviewer_qwv.cpp:400:5: error: 'QWebView' has not been declared
  400 |     QWebView::forward();
      |     ^~~~~~~~
helpviewer_qwv.cpp: In member function 'virtual void HelpViewer::backward()':
helpviewer_qwv.cpp:406:5: error: 'back' was not declared in this scope; did you mean 'obstack'?
  406 |     back();
      |     ^~~~
      |     obstack
helpviewer_qwv.cpp: In member function 'virtual void HelpViewer::keyPressEvent(QKeyEvent*)':
helpviewer_qwv.cpp:419:5: error: 'QWebView' has not been declared
  419 |     QWebView::keyPressEvent(e);
      |     ^~~~~~~~
helpviewer_qwv.cpp: In member function 'virtual void HelpViewer::wheelEvent(QWheelEvent*)':
helpviewer_qwv.cpp:429:9: error: 'QWebView' has not been declared
  429 |         QWebView::wheelEvent(event);
      |         ^~~~~~~~
helpviewer_qwv.cpp: In member function 'virtual void HelpViewer::mousePressEvent(QMouseEvent*)':
helpviewer_qwv.cpp:441:57: error: 'page' was not declared in this scope
  441 |     if (HelpPage *currentPage = static_cast<HelpPage*> (page())) {
      |                                                         ^~~~
helpviewer_qwv.cpp:446:5: error: 'QWebView' has not been declared
  446 |     QWebView::mousePressEvent(event);
      |     ^~~~~~~~
helpviewer_qwv.cpp: In member function 'virtual void HelpViewer::mouseReleaseEvent(QMouseEvent*)':
helpviewer_qwv.cpp:457:5: error: 'QWebView' has not been declared
  457 |     QWebView::mouseReleaseEvent(event);
      |     ^~~~~~~~
helpviewer_qwv.cpp: In member function 'void HelpViewer::actionChanged()':
helpviewer_qwv.cpp:466:25: error: 'QWebPage' has not been declared
  466 |     if (a == pageAction(QWebPage::Copy))
      |                         ^~~~~~~~
helpviewer_qwv.cpp:466:14: error: 'pageAction' was not declared in this scope; did you mean 'addAction'?
  466 |     if (a == pageAction(QWebPage::Copy))
      |              ^~~~~~~~~~
      |              addAction
helpviewer_qwv.cpp:468:30: error: 'QWebPage' has not been declared
  468 |     else if (a == pageAction(QWebPage::Back))
      |                              ^~~~~~~~
helpviewer_qwv.cpp:470:30: error: 'QWebPage' has not been declared
  470 |     else if (a == pageAction(QWebPage::Forward))
      |                              ^~~~~~~~
helpviewer_qwv.cpp: In member function 'virtual bool HelpViewer::eventFilter(QObject*, QEvent*)':
helpviewer_qwv.cpp:479:12: error: 'QWebView' has not been declared
  479 |     return QWebView::eventFilter(obj, event);
      |            ^~~~~~~~
helpviewer_qwv.cpp: In member function 'virtual void HelpViewer::contextMenuEvent(QContextMenuEvent*)':
helpviewer_qwv.cpp:485:5: error: 'QWebView' has not been declared
  485 |     QWebView::contextMenuEvent(event);
      |     ^~~~~~~~
make[4]: *** [Makefile:14264: .obj/release-shared/helpviewer_qwv.o] Error 1
make[4]: Leaving directory '/tmp/SBo/qt-everywhere-opensource-src-4.8.7/tools/assistant/tools/assistant'
make[3]: *** [Makefile:42: sub-assistant-make_default-ordered] Error 2
make[3]: Leaving directory '/tmp/SBo/qt-everywhere-opensource-src-4.8.7/tools/assistant/tools'
make[2]: *** [Makefile:113: sub-tools-make_default-ordered] Error 2
make[2]: Leaving directory '/tmp/SBo/qt-everywhere-opensource-src-4.8.7/tools/assistant'
make[1]: *** [Makefile:50: sub-assistant-make_default-ordered] Error 2
make[1]: Leaving directory '/tmp/SBo/qt-everywhere-opensource-src-4.8.7/tools'
make: *** [Makefile:854: sub-tools-make_default-ordered] Error 2
Edit: Using your qt4 package, compiling MasterPDFEditor went well.

Last edited by MDKDIO; 12-08-2020 at 03:44 PM. Reason: added the errors...
 
Old 12-08-2020, 03:28 PM   #3156
gauchao
Member
 
Registered: Dec 2009
Location: Veneto
Distribution: Slackware64
Posts: 366

Rep: Reputation: 143Reputation: 143
Thank you Ponce!
 
Old 12-08-2020, 06:00 PM   #3157
mlangdn
Senior Member
 
Registered: Mar 2005
Location: Kentucky
Distribution: Slackware64-current
Posts: 1,845

Rep: Reputation: 452Reputation: 452Reputation: 452Reputation: 452Reputation: 452
I lost two games to removing qt4 - pokerth and supertux2. I put qt4 back, but pokerth then failed on (sic)libicuxxx something. I should have copied that down for a more accurate report. Then I tried to build pokerth, but it failed on line 78 - qmake not found. Easy enough to change that line to qmake-qt5, plus another reference to qmake down further. That failed, and I didn't write down the error, so I gave that up and removed the qt4 package. I'll wait. I don't want to pollute the system too much yet. Its still pretty clean.

Last edited by mlangdn; 12-08-2020 at 06:07 PM.
 
Old 12-08-2020, 09:53 PM   #3158
jostber
Member
 
Registered: Jul 2001
Location: Skien, Norway
Distribution: Slackware Current 64-bit
Posts: 543

Rep: Reputation: 178Reputation: 178
ncmpcpp now errors out with:

Code:
./mpdpp.h: In constructor ‘MPD::Item::Item(mpd_entity*)’:
./mpdpp.h:231:16: error: ‘runtime_error’ is not a member of ‘std’
  231 |     throw std::runtime_error("unknown mpd_entity type");
      |                ^~~~~~~~~~~~~
./mpdpp.h: In member function ‘ObjectT& MPD::Iterator<ObjectT>::operator*() const’:
./mpdpp.h:421:15: error: ‘runtime_error’ is not a member of ‘std’
  421 |    throw std::runtime_error("no object associated with the iterator");
      |               ^~~~~~~~~~~~~
make[2]: *** [Makefile:702: type_conversions.o] Error 1
make[2]: Leaving directory '/tmp/SBo/ncmpcpp-0.7.7/src'
make[1]: *** [Makefile:468: all-recursive] Error 1
make[1]: Leaving directory '/tmp/SBo/ncmpcpp-0.7.7'
make: *** [Makefile:379: all] Error 2

Running ncmpcpp errors out with reference to libicuuc can't be found.
 
Old 12-09-2020, 12:11 AM   #3159
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,098

Original Poster
Rep: Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175
Quote:
Originally Posted by jostber View Post
ncmpcpp now errors out with:

Code:
./mpdpp.h: In constructor ‘MPD::Item::Item(mpd_entity*)’:
./mpdpp.h:231:16: error: ‘runtime_error’ is not a member of ‘std’
  231 |     throw std::runtime_error("unknown mpd_entity type");
      |                ^~~~~~~~~~~~~
./mpdpp.h: In member function ‘ObjectT& MPD::Iterator<ObjectT>::operator*() const’:
./mpdpp.h:421:15: error: ‘runtime_error’ is not a member of ‘std’
  421 |    throw std::runtime_error("no object associated with the iterator");
      |               ^~~~~~~~~~~~~
make[2]: *** [Makefile:702: type_conversions.o] Error 1
make[2]: Leaving directory '/tmp/SBo/ncmpcpp-0.7.7/src'
make[1]: *** [Makefile:468: all-recursive] Error 1
make[1]: Leaving directory '/tmp/SBo/ncmpcpp-0.7.7'
make: *** [Makefile:379: all] Error 2

Running ncmpcpp errors out with reference to libicuuc can't be found.
you have to apply this patch just before the sed in the SlackBuild like
Code:
patch -p1 < $CWD/gcc10.patch
 
Old 12-09-2020, 01:03 AM   #3160
Daedra
Senior Member
 
Registered: Dec 2005
Location: Springfield, MO
Distribution: Slackware64-15.0
Posts: 2,683

Rep: Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375
Not sure if this has been reported, but rEFInd needs a patch for GCC10.
https://sourceforge.net/p/refind/cod...45840bc82d892/
 
1 members found this post helpful.
Old 12-09-2020, 04:00 AM   #3161
Richard Cranium
Senior Member
 
Registered: Apr 2009
Location: McKinney, Texas
Distribution: Slackware64 15.0
Posts: 3,858

Rep: Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225
I've had failures attempting to recompile device-tree-compiler and gzdoom.

I'm up to date with changes as of 0400CDT 09 Dec, 2020.
 
1 members found this post helpful.
Old 12-09-2020, 10:03 AM   #3162
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,098

Original Poster
Rep: Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175
Quote:
Originally Posted by Richard Cranium View Post
I've had failures attempting to recompile device-tree-compiler and gzdoom.

I'm up to date with changes as of 0400CDT 09 Dec, 2020.
are you sure you got the latest version? I'm asking because device-tree-compiler builds fine here (I patched to fix building it with gcc three days ago)...
to check which version of the repository you got just issue these commands
Code:
cd /var/lib/sbopkg/SBo-git
git log
gzdoom is actually broken on current, yes: you have to change a line
Code:
  /opt/cmake-202x/bin/cmake
with just
Code:
  cmake
thanks for reporting it!
 
Old 12-09-2020, 10:03 AM   #3163
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,098

Original Poster
Rep: Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175
Quote:
Originally Posted by Daedra View Post
Not sure if this has been reported, but rEFInd needs a patch for GCC10.
https://sourceforge.net/p/refind/cod...45840bc82d892/
thanks a lot, pushed!
 
Old 12-09-2020, 11:33 AM   #3164
ArTourter
Member
 
Registered: Oct 2010
Location: Frome, UK
Distribution: Slackware, CentOS, Rocky
Posts: 66

Rep: Reputation: 29
my pdfpc package needs an update now for -current (and it cannot be on -stable).

Code:
diff -Naur pdfpc-old/pdfpc.SlackBuild pdfpc/pdfpc.SlackBuild
--- pdfpc-old/pdfpc.SlackBuild 2020-06-01 00:24:10.009085193 +0100
+++ pdfpc/pdfpc.SlackBuild 2020-12-09 17:15:24.944469354 +0000
@@ -24,7 +24,7 @@
 
 
 PRGNAM=pdfpc
-VERSION=${VERSION:-4.1.2}
+VERSION=${VERSION:-4.4.1}
 BUILD=${BUILD:-1}
 TAG=${TAG:-_SBo}
 
@@ -76,8 +76,8 @@
   cmake \
     -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
     -DCMAKE_INSTALL_PREFIX=/usr \
-    -DSYSCONFDIR=/etc \
-    -DMANDIR=/usr/man \
+    -DCMAKE_INSTALL_SYSCONFDIR=/etc \
+    -DCMAKE_INSTALL_MANDIR=/usr/man \
     -DCMAKE_BUILD_TYPE=Release \
     ..
   make
diff -Naur pdfpc-old/pdfpc.info pdfpc/pdfpc.info
--- pdfpc-old/pdfpc.info  2020-06-01 00:24:10.009085193 +0100
+++ pdfpc/pdfpc.info 2020-12-09 17:15:24.945469368 +0000
@@ -1,8 +1,8 @@
 PRGNAM="pdfpc"
-VERSION="4.1.2"
+VERSION="4.4.1"
 HOMEPAGE="https://pdfpc.github.io/"
-DOWNLOAD="https://github.com/pdfpc/pdfpc/archive/v4.1.2/pdfpc-4.1.2.tar.gz"
-MD5SUM="5b5fd7e78966ae604081631f38c6b1a1"
+DOWNLOAD="https://github.com/pdfpc/pdfpc/archive/v4.4.1/pdfpc-4.4.1.tar.gz"
+MD5SUM="76f0b9f1000ae77ca301011daa25ab4f"
 DOWNLOAD_x86_64=""
 MD5SUM_x86_64=""
 REQUIRES="libgee"
I am slowly going through all of my scripts to see if the latest updates on -current require me to push updates. The other one that will require an update will be kbibtex but I have not been able to make the latest version work (it compiles just fine but segfaults) and I haven't had the time to dig into it.

Last edited by ArTourter; 12-09-2020 at 11:34 AM. Reason: typo
 
Old 12-09-2020, 11:52 AM   #3165
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,098

Original Poster
Rep: Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175
thanks a lot, pushed!
 
  


Reply

Tags
current, sbo, sbopkg, slackrepo



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Error building gst1-plugins-good 1.4.1 from SBO l0rddarkf0rce Slackware 4 10-06-2014 05:58 PM
[SOLVED] Failure building nvidia-kernel Slackbuild from SBo sysfce2 Slackware 7 07-02-2011 01:10 AM
problems building fontforge from SBo gtludwig Slackware 7 05-12-2010 01:52 PM
Pls help me take my 1st step! verysoon Fedora - Installation 2 12-12-2005 07:49 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 02:05 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration