Scribusoid

Author Topic: Build Scribus without CUPS  (Read 2794 times)

Giova84

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
  • Scribus User
Build Scribus without CUPS
« on: February 20, 2013, 01:49:01 pm »
Hi, i'm a new user!

I have a question: i attempt to build Scribus on Haiku, since someone has built Scribus succesfully on Haiku: http://qt-haiku.ru/images/rsgallery/original/Scribus1.5.0svn_02.png

I've downloaded the full source of 1.5.0 SVN, and inside the BUILD file i have read that CUPS is listed as recommended and not as requirements. when i do cmake alert me about this:
Could NOT find Cups (missing: CUPS_LIBRARIES CUPS_INCLUDE_DIR) because on Haiku CUPS ain't available (but i have all other dependencies correctly installed) so: there is a way to disable CUPS support? For printing is not a problem, because Haiku has his own printing system.

Regards.

a.l.e

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1880
  • Karma: 26
    • the graphics lab
Re: Build Scribus without CUPS
« Reply #1 on: February 20, 2013, 08:16:01 pm »
hi giova,

cups can't be mandatory, since it's not used in windows.

the best is to ask the other guy, how he did succeed :-)

in any case, try to look, how it's done for windows (or eventually also OS X) and you should be able to guess how to do it for haiku... and don't forget to post in here how you did and add a screenshot :-)

ciao
a.l.e

Giova84

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
  • Scribus User
Re: Build Scribus without CUPS
« Reply #2 on: February 23, 2013, 01:44:35 pm »
and don't forget to post in here how you did and add a screenshot :-)

As you suggest to me in the mailing list, i've removed references to CUPS inside Cmakelist files, and in util_printer.cpp i've removed function from line 61. To adjust plugins path i've tweaked the file scpath.cpp according to Haiku paths. And i have defined Haiku "(Q_OS_HAIKU)" inside the fils scclocale.cpp, to fix a compiling issue

The screenshot:


 

palmate