Recent Posts

Pages: 1 2 3 4 5 6 [7] 8 9 10
61
Linux / Re: Unable to start Scribus after an update
« Last post by Archibaldix on September 18, 2020, 01:42:38 pm »
Why I compile scribus ; I don't know myself, i followed the message from Dragonfly saying i need to go to this link :
https://wiki.scribus.net/canvas/Building_SVN_versions_with_CMake#Version_1.5.x

My goal is simply to use Linux as before updating my system, which version is used does not matter to me.
As stated at the beginning (and I just tried again & same result): when I install Scribus from the software manager ; the installation is successful, but then ; unable to launch the application. I click on the icon and there is nothing going on.

A.
62
Linux / Re: Unable to start Scribus after an update
« Last post by a.l.e on September 18, 2020, 01:13:36 pm »
just a short question that could speed up everything:

why are you compiling scribus?

ciao
a.l.e
63
Linux / Re: Unable to start Scribus after an update
« Last post by Archibaldix on September 18, 2020, 11:53:56 am »
(...)
I could find here a way to do something with the CMAKE_PREFIX_PATH :
https://askubuntu.com/questions/633826/default-installation-prefix-qt5-qt5-widgets-ubuntu

I follow the process by doing the explaining detail here
$ CMAKE_PREFIX_PATH="{Path of gcc_64 under recently installed qt folder, example: $HOME/qt5/5.7/gcc_64}"

Between the {} i try first to point the gcc_64 folder as described,
I started the cmake code again but same error like before.
Then Between the {} I try to point the /usr/lib/x86_64-linux-gnu/cmake/Qt5Core/ folder as described in the error
Code: [Select]
gvp@gvp-MacBookPro:~/scribus15/build$ cmake -DCMAKE_INSTALL_PREFIX:PATH=~/bin/scribus -DWANT_DEBUG=1 ..
-- CMake Version: 3.13.4
-- Shared Library Flags:
-- The C compiler identification is GNU 7.5.0
-- The CXX compiler identification is GNU 7.5.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Scribus 1.5.6.svn will be built and installed into /home/gvp/bin/scribus
-- Machine: x86_64-linux-gnu, void pointer size: 8
-- Found target X86_64
-- Building for target x86_64-linux-gnu
-- Using standard ApplicationDataDir. You can change it with -DAPPLICATION_DATA_DIR
-- Using standard ApplicationConfigDir. You can change it with -DAPPLICATION_CONFIG_DIR
-- Enabling C++11 compiler features
CMake Error at CMakeLists_Dependencies.cmake:8 (find_package):
  Could not find a configuration file for package "Qt5Core" that is
  compatible with requested version "5.11.0".

  The following configuration files were considered but not accepted:

    /usr/lib/x86_64-linux-gnu/cmake/Qt5Core/Qt5CoreConfig.cmake, version: 5.9.5

Call Stack (most recent call first):
  CMakeLists.txt:380 (include)

-- Configuring incomplete, errors occurred!

I also noticed that the error report a bug considering the version (5.9.5), only after installing this package ; sudo apt install qtbase5-dev
If i purge this package than the error is speaking about a file that is no founded (this one : qt5core-config.cmake)

Code: [Select]
gvp@gvp-MacBookPro:~/scribus15/build$ cmake -DCMAKE_INSTALL_PREFIX:PATH=~/bin/scribus -DWANT_DEBUG=1 ..
-- CMake Version: 3.13.4
-- Shared Library Flags:
-- Scribus 1.5.6.svn will be built and installed into /home/gvp/bin/scribus
-- Machine: x86_64-linux-gnu, void pointer size: 8
-- Found target X86_64
-- Building for target x86_64-linux-gnu
-- Using standard ApplicationDataDir. You can change it with -DAPPLICATION_DATA_DIR
-- Using standard ApplicationConfigDir. You can change it with -DAPPLICATION_CONFIG_DIR
-- Enabling C++11 compiler features
CMake Error at CMakeLists_Dependencies.cmake:8 (find_package):
  By not providing "FindQt5Core.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "Qt5Core", but
  CMake did not find one.

  Could not find a package configuration file provided by "Qt5Core"
  (requested version 5.11.0) with any of the following names:

    Qt5CoreConfig.cmake
    qt5core-config.cmake

  Add the installation prefix of "Qt5Core" to CMAKE_PREFIX_PATH or set
  "Qt5Core_DIR" to a directory containing one of the above files.  If
  "Qt5Core" provides a separate development package or SDK, be sure it has
  been installed.
Call Stack (most recent call first):
  CMakeLists.txt:380 (include)


-- Configuring incomplete, errors occurred!

I'm lost...
Not easy not easy.
A.
64
Linux / Re: Unable to start Scribus after an update
« Last post by Archibaldix on September 18, 2020, 10:56:06 am »
(...) I remove all the version of QT, then reinstall QT 15.4.0.
The code result is this one (a bit different than previous):
Code: [Select]
gvp@gvp-MacBookPro:~/scribus15/build$ cmake -DCMAKE_INSTALL_PREFIX:PATH=~/bin/scribus -DWANT_DEBUG=1 ..
-- CMake Version: 3.13.4
-- Shared Library Flags:
-- Scribus 1.5.6.svn will be built and installed into /home/gvp/bin/scribus
-- Machine: x86_64-linux-gnu, void pointer size: 8
-- Found target X86_64
-- Building for target x86_64-linux-gnu
-- Using standard ApplicationDataDir. You can change it with -DAPPLICATION_DATA_DIR
-- Using standard ApplicationConfigDir. You can change it with -DAPPLICATION_CONFIG_DIR
-- Enabling C++11 compiler features
CMake Error at CMakeLists_Dependencies.cmake:8 (find_package):
  By not providing "FindQt5Core.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "Qt5Core", but
  CMake did not find one.

  Could not find a package configuration file provided by "Qt5Core"
  (requested version 5.11.0) with any of the following names:

    Qt5CoreConfig.cmake
    qt5core-config.cmake

  Add the installation prefix of "Qt5Core" to CMAKE_PREFIX_PATH or set
  "Qt5Core_DIR" to a directory containing one of the above files.  If
  "Qt5Core" provides a separate development package or SDK, be sure it has
  been installed.
Call Stack (most recent call first):
  CMakeLists.txt:380 (include)


-- Configuring incomplete, errors occurred!
Means as you said, that i need indeed to add something to CMAKE_PREFIX_PATH
This is where it gets complicated for me. I just figured out how to change this for a few hours, reading tons of pages (but probably not the good one). I can't do it.
CMAKE_PREFIX_PATH >> Is this a text file to edit? Do i have to edit something? Where can i find it & what should be the command lines ?

Great Gratitude in advance for any help,
A.
65
Scripts and Plugins / Re: Change the height of the document
« Last post by a.l.e on September 18, 2020, 09:54:13 am »
what's the use case?

you can create new documents with a specific page size and new pages with a specific size.

i wonder in which use case you would want to change the size of an existing document in order to use them for future pages.
(ok, when you get lot of user created script that you need to fix... is anybody doing that?)
66
Showcase / Re: Layers, Elements & Levels - can there be too many?
« Last post by a.l.e on September 18, 2020, 09:51:16 am »
you seem to be doing vector graphics in scribus...

scribus is mainly a GUI tool for creating layouts and while it can manage vector graphics, it's not the best tool for that goal.

of course, scribus does not have a hard limit on the maximal number of layers or items on a page but, indeed, it's not optimized for a scenario with a huge number of them.

but it's hard to say much more without having more details about your project.
67
Linux / Re: Unable to start Scribus after an update
« Last post by a.l.e on September 17, 2020, 10:48:33 pm »
scribus does not use qmake but cmake...

if you cannot remove the other version of Qt, you need to get cmake to find your version of Qt.
from what i've found online, you should add the path to Qt to  CMAKE_PREFIX_PATH
68
Scripts and Plugins / Re: Ability to have own menu with scripts?
« Last post by a.l.e on September 17, 2020, 10:27:46 pm »
one and a half years ago i've made a patch to achieve exactly this:

https://bugs.scribus.net/view.php?id=15579

it sleeps in the bug tracker and waits for being reviewed and possibly accepted...

ciao
a.l.e
69
Scripts and Plugins / Ability to have own menu with scripts?
« Last post by digirew on September 17, 2020, 09:07:10 pm »
Anyone know if its possible to create a new menu in Scribus and have our own custom scripts placed in the drop down menu?
70
Scripts and Plugins / Re: API - select all and copy all objects
« Last post by digirew on September 17, 2020, 07:23:21 pm »
thanks a.l.e,

the second approach what you mentioned is what I have been doing, but was hoping for a more elegant way. Will need to do more testing but it does seem to do the job so far!


Pages: 1 2 3 4 5 6 [7] 8 9 10