Re: [Slackbuilds-users] Scribus-1.4.6: build fails not finding freetype.h

2017-08-07 Thread Rich Shepard

On Mon, 7 Aug 2017, Andreas Guldstrand wrote:


The line before the line you added needs to end in a \ as well


  Fixed that. Now, back to the previous error:

In file included from
/tmp/SBo/scribus-1.4.6/scribus/desaxe/saxiohelper.cpp:10:0:
/tmp/SBo/scribus-1.4.6/scribus/scfonts.h:19:23: fatal error: freetype.h: No
such file or directory
 #include FT_FREETYPE_H
   ^
compilation terminated.
make[2]: ***
[scribus/desaxe/CMakeFiles/scribus_desaxe_lib.dir/saxiohelper.cpp.o] Error 1
make[2]: Leaving directory /tmp/SBo/scribus-1.4.6'
make[1]: *** [scribus/desaxe/CMakeFiles/scribus_desaxe_lib.dir/all] Error 2
make[1]: Leaving directory /tmp/SBo/scribus-1.4.6'
make: *** [all] Error 2

  For some reason not worth pursuing any longer (since scribus builds and
works with freetype-2.6.3), it just won't build with freetype-2.5.5 on this
host.

Rich
___
SlackBuilds-users mailing list
SlackBuilds-users@slackbuilds.org
https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
Archives - https://lists.slackbuilds.org/pipermail/slackbuilds-users/
FAQ - https://slackbuilds.org/faq/



Re: [Slackbuilds-users] Scribus-1.4.6: build fails not finding freetype.h

2017-08-07 Thread Rich Shepard

On Mon, 7 Aug 2017, Andreas Guldstrand wrote:


The line before the line you added needs to end in a \ as well


  Aw, foo! Mea culpa; I should have seen that.

Rich
___
SlackBuilds-users mailing list
SlackBuilds-users@slackbuilds.org
https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
Archives - https://lists.slackbuilds.org/pipermail/slackbuilds-users/
FAQ - https://slackbuilds.org/faq/



Re: [Slackbuilds-users] Scribus-1.4.6: build fails not finding freetype.h

2017-08-07 Thread Andreas Guldstrand
On 7 August 2017 at 19:22, Rich Shepard  wrote:
> cmake \
>   -DCMAKE_C_FLAGS="$SLKCFLAGS" \
>   -DCMAKE_CXX_FLAGS="$SLKCFLAGS" \
>   -DCMAKE_INSTALL_PREFIX:PATH=/usr \
>   -DLIB_SUFFIX=${LIBDIRSUFFIX} \
>   -DRENDER_LIB=CAIRO
>   -D FREETYPE_INCLUDE_DIRS:PATH="/usr/include/freetype2" \
>   ./CMakeLists.txt

The line before the line you added needs to end in a \ as well
___
SlackBuilds-users mailing list
SlackBuilds-users@slackbuilds.org
https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
Archives - https://lists.slackbuilds.org/pipermail/slackbuilds-users/
FAQ - https://slackbuilds.org/faq/



Re: [Slackbuilds-users] Scribus-1.4.6: build fails not finding freetype.h

2017-08-07 Thread Rich Shepard

On Mon, 7 Aug 2017, Sebastien BALLET wrote:


It complains because you forgot to add "./CMakeLists.txt" after "-D
=". Here is what you need to add after "-DRENDER_LIB=CAIRO \".

8<--
 *-D FREETYPE_INCLUDE_DIRS:PATH="/u*

*sr/include/freetype2" \  ./CMakeLists.txt *8<
--


Sebastien,

  Actually, I copied this:


 -D FREETYPE_INCLUDE_DIRS:PATH="/usr/include/freetype2" \
 ./CMakeLists.txt


from your message into scribus.SlackBuild.

  With freetype-2.5.5-i486-2_slack14.1.txz installed, and the cmake portion
of the build script containing:

cmake \
  -DCMAKE_C_FLAGS="$SLKCFLAGS" \
  -DCMAKE_CXX_FLAGS="$SLKCFLAGS" \
  -DCMAKE_INSTALL_PREFIX:PATH=/usr \
  -DLIB_SUFFIX=${LIBDIRSUFFIX} \
  -DRENDER_LIB=CAIRO
  -D FREETYPE_INCLUDE_DIRS:PATH="/usr/include/freetype2" \
  ./CMakeLists.txt

  I run the script:

# VERBOSE=1 ./scribus.SlackBuild

and see this:

-- Configuring done
-- Generating done
-- Build files have been written to: /tmp/SBo/scribus-1.4.6
./scribus.SlackBuild: line 82: -D: command not found

Rich

___
SlackBuilds-users mailing list
SlackBuilds-users@slackbuilds.org
https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
Archives - https://lists.slackbuilds.org/pipermail/slackbuilds-users/
FAQ - https://slackbuilds.org/faq/



Re: [Slackbuilds-users] Scribus-1.4.6: build fails not finding freetype.h

2017-08-07 Thread Sebastien BALLET
Hello,

It complains because you forgot to add "./CMakeLists.txt" after "-D
=". Here is what you need to add after "-DRENDER_LIB=CAIRO \".

8<--
  *-D FREETYPE_INCLUDE_DIRS:PATH="/u*

*sr/include/freetype2" \  ./CMakeLists.txt *8<
--

--
SeB

2017-08-07 18:49 GMT+02:00 Rich Shepard :

> On Mon, 7 Aug 2017, Sebastien BALLET wrote:
>
> You shouldn't have removed that space. It is required. The option -D allows
>> to create a cmake cache entry :
>>
>
> Sebastien,
>
>   When I left it in, the build complained it could not find a '-D '; that's
> why I removed the space.
>
> Rich
> ___
> SlackBuilds-users mailing list
> SlackBuilds-users@slackbuilds.org
> https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
> Archives - https://lists.slackbuilds.org/pipermail/slackbuilds-users/
> FAQ - https://slackbuilds.org/faq/
>
>
___
SlackBuilds-users mailing list
SlackBuilds-users@slackbuilds.org
https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
Archives - https://lists.slackbuilds.org/pipermail/slackbuilds-users/
FAQ - https://slackbuilds.org/faq/



Re: [Slackbuilds-users] Scribus-1.4.6: build fails not finding freetype.h

2017-08-07 Thread Rich Shepard

On Mon, 7 Aug 2017, Sebastien BALLET wrote:


You shouldn't have removed that space. It is required. The option -D allows
to create a cmake cache entry :


Sebastien,

  When I left it in, the build complained it could not find a '-D '; that's
why I removed the space.

Rich
___
SlackBuilds-users mailing list
SlackBuilds-users@slackbuilds.org
https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
Archives - https://lists.slackbuilds.org/pipermail/slackbuilds-users/
FAQ - https://slackbuilds.org/faq/



Re: [Slackbuilds-users] Scribus-1.4.6: build fails not finding freetype.h

2017-08-07 Thread Sebastien BALLET
Hello,

You shouldn't have removed that space. It is required. The option -D allows
to create a cmake cache entry :

$ man cmake
...
 -D :=, -D =
  Create a cmake cache entry.

  When cmake is first run in an empty build tree, it  creates
a  CMakeCache.txt
  file and populates it with customizable settings for the
project.  This option
  may be used to specify a  setting  that  takes  priority
over  the  project's
  default  value.   The  option  may  be  repeated  for as many
cache entries as
  desired.

-- 
SeB


2017-08-07 17:59 GMT+02:00 Rich Shepard :

> On Mon, 7 Aug 2017, Sebastien BALLET wrote:
>
> That's really weird. It would be better to find why cmake finds freetype
>> /in usr/local/include instead of /usr/include, but, you can try this hack:
>> Edit scribus.SlackBuild, then, modify the cmake block (starting at line
>> #76) as below (changes are in bold) :
>>
>> 8<--
>> cmake \
>>  -DCMAKE_C_FLAGS="$SLKCFLAGS" \
>>  -DCMAKE_CXX_FLAGS="$SLKCFLAGS" \
>>  -DCMAKE_INSTALL_PREFIX:PATH=/usr \
>>  -DLIB_SUFFIX=${LIBDIRSUFFIX} \
>>  -DRENDER_LIB=CAIRO \
>>  -D FREETYPE_INCLUDE_DIRS:PATH="/usr/include/freetype2" \
>>  ./CMakeLists.txt
>> 8<--
>>
>
> Sebastian,
>
>   Yes, it would be nice to learn why cmake finds freetype in
> /usr/local/include/ when it's actually in /usr/include/.
>
>   I deleted the space between -D and FREETYPE... above and with
> freetype-2.5.5 installed this error is produced:
>
> -- Configuring done
> -- Generating done
> -- Build files have been written to: /tmp/SBo/scribus-1.4.6
> ./scribus.SlackBuild: line 83:
> -DFREETYPE_INCLUDE_DIRS:PATH=/usr/include/freetype2: No such file or
> directory
>
>   /usr/include/ has freetype2/ with all the expected files, and freetype/
> with this softlink:
> lrwxrwxrwx 1 root root 9 Aug  7 08:45 /usr/include/freetype -> freetype2/
> which was apparently generated when I tried the above build.
>
>   For completeness, using freetype--2.6.3-i586-1, scribus-1.4.6 builds.
>
>   Summary: On my system, scribus-1.4.6 builds with freetype-2.5.0 and
> -2.6.3, but not 2.5.5. Figuring out why is well beyond my experience.
>
> Thanks again,
>
> Rich
>
> ___
> SlackBuilds-users mailing list
> SlackBuilds-users@slackbuilds.org
> https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
> Archives - https://lists.slackbuilds.org/pipermail/slackbuilds-users/
> FAQ - https://slackbuilds.org/faq/
>
>
___
SlackBuilds-users mailing list
SlackBuilds-users@slackbuilds.org
https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
Archives - https://lists.slackbuilds.org/pipermail/slackbuilds-users/
FAQ - https://slackbuilds.org/faq/



Re: [Slackbuilds-users] Scribus-1.4.6: build fails not finding freetype.h

2017-08-07 Thread Rich Shepard

On Mon, 7 Aug 2017, Sebastien BALLET wrote:


That's really weird. It would be better to find why cmake finds freetype
/in usr/local/include instead of /usr/include, but, you can try this hack:
Edit scribus.SlackBuild, then, modify the cmake block (starting at line
#76) as below (changes are in bold) :

8<--
cmake \
 -DCMAKE_C_FLAGS="$SLKCFLAGS" \
 -DCMAKE_CXX_FLAGS="$SLKCFLAGS" \
 -DCMAKE_INSTALL_PREFIX:PATH=/usr \
 -DLIB_SUFFIX=${LIBDIRSUFFIX} \
 -DRENDER_LIB=CAIRO \
 -D FREETYPE_INCLUDE_DIRS:PATH="/usr/include/freetype2" \
 ./CMakeLists.txt
8<--


Sebastian,

  Yes, it would be nice to learn why cmake finds freetype in
/usr/local/include/ when it's actually in /usr/include/.

  I deleted the space between -D and FREETYPE... above and with
freetype-2.5.5 installed this error is produced:

-- Configuring done
-- Generating done
-- Build files have been written to: /tmp/SBo/scribus-1.4.6
./scribus.SlackBuild: line 83:
-DFREETYPE_INCLUDE_DIRS:PATH=/usr/include/freetype2: No such file or
directory

  /usr/include/ has freetype2/ with all the expected files, and freetype/
with this softlink:
lrwxrwxrwx 1 root root 9 Aug  7 08:45 /usr/include/freetype -> freetype2/
which was apparently generated when I tried the above build.

  For completeness, using freetype--2.6.3-i586-1, scribus-1.4.6 builds.

  Summary: On my system, scribus-1.4.6 builds with freetype-2.5.0 and
-2.6.3, but not 2.5.5. Figuring out why is well beyond my experience.

Thanks again,

Rich

___
SlackBuilds-users mailing list
SlackBuilds-users@slackbuilds.org
https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
Archives - https://lists.slackbuilds.org/pipermail/slackbuilds-users/
FAQ - https://slackbuilds.org/faq/



Re: [Slackbuilds-users] Scribus-1.4.6: build fails not finding freetype.h [SOLVED]

2017-08-07 Thread Sebastien BALLET
Hello,

Nice that you found a solution for this weird issue Rich.

-- 
SeB

2017-08-07 16:35 GMT+02:00 Rich Shepard :

> On Fri, 4 Aug 2017, Rich Shepard wrote:
>
>  I'm trying to upgrade scribus from 1.4.4. to 1.4.6, but the build fails
>> here:
>> /tmp/SBo/scribus-1.4.6/scribus/scfonts.h:19:23: fatal error: freetype.h:
>> No
>> / such file or directory
>>
>
> Didier/Sebastien:
>
>   I found the problem and a solution to it. For some reason, the patched
> freetype-2.5.5 fails, but the original freetype-2.5.0 works. Now, why that
> should be the case here and not on Sebastian's virtual 14.1/x86_i586 I've
> no
> idea.
>
>   I downloaded the SlackBuilds source for freetype-4.6.3 from the 14.2
> repoaistory at osuosl.org. I'll build that and see how scribus reacts.
>
> Thanks again,
>
> Rich
> ___
> SlackBuilds-users mailing list
> SlackBuilds-users@slackbuilds.org
> https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
> Archives - https://lists.slackbuilds.org/pipermail/slackbuilds-users/
> FAQ - https://slackbuilds.org/faq/
>
>
___
SlackBuilds-users mailing list
SlackBuilds-users@slackbuilds.org
https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
Archives - https://lists.slackbuilds.org/pipermail/slackbuilds-users/
FAQ - https://slackbuilds.org/faq/



Re: [Slackbuilds-users] Scribus-1.4.6: build fails not finding freetype.h

2017-08-07 Thread Sebastien BALLET
Hello,

That's really weird. It would be better to find why cmake find freetype in
/usr/local/include instead of /usr/include, but, you can try this hack:
Edit scribus.SlackBuild, then, modify the cmake block (starting at line
#76) as below (changes are in bold) :

8<--
cmake \
  -DCMAKE_C_FLAGS="$SLKCFLAGS" \
  -DCMAKE_CXX_FLAGS="$SLKCFLAGS" \
  -DCMAKE_INSTALL_PREFIX:PATH=/usr \
  -DLIB_SUFFIX=${LIBDIRSUFFIX} \
  -DRENDER_LIB=CAIRO \
  -D FREETYPE_INCLUDE_DIRS:PATH="/usr/include/freetype2" \
  ./CMakeLists.txt
8<--

Then, try to build scribus as below and post the output (unless it not
fails).

$ VERBOSE=1 ./scribus.SlackBuild

-- 
SeB

2017-08-07 15:32 GMT+02:00 Rich Shepard :

> On Mon, 7 Aug 2017, Sebastien BALLET wrote:
>
> In one of my previous post, I ask you to create the file
>> /tmp/cmake-test/CMakeLists.txt
>> with the content below :
>>
>
> Sebastien,
>
> If you have deleted it, recreate it. Otherwise, run the commands below :
>> $ cd /tmp/cmake-test
>> $ rm CMakeCache.txt
>>
>
>   Done.
>
> Remove freetype package :
>> $ removepkg freetype
>>
>
>   Done
>
> In /tmp/cmake-test, run the command below :
>> $ cmake .
>>
>> You should get this :
>>
>> 8<--
>> $ cmake .
>>
>> -- Could NOT find Freetype (missing FREETYPE_LIBRARY
>> FREETYPE_INCLUDE_DIRS)
>> freetype_include_dirs:
>> -- Configuring done
>> -- Generating done
>> -- Build files have been written to: /tmp/cmake-test
>> 8<--
>>
>
> If freetype_include_dirs is not *empty* (which I doubt), check the returned
>> directories content.
>>
>
>   I see the same results and assume the freetype_include_dirs is empty.
>
> Now, install freetype, with slackpkg or any other tools...
>> Then, in /tmp/cmake-test, run the commands below :
>> $ rm CMakeCache.txt
>> $ cmake .
>> You should get this :
>> 8<--
>> -- Found Freetype: /usr/lib/libfreetype.so (found version "2.5.5")
>> freetype_include_dirs: /usr/include/freetype2;/usr/include
>> -- Configuring done
>> -- Generating done
>> -- Build files have been written to: /tmp/cmake-test
>> 8<--
>>
>
>   Yes.
>
> ​If you get the output above, you can (re)try to build scribus. Otherwise
>> ... I don't know.
>>
>
>   Sigh. Same error. Later today I'll try the original freetype-2.5.5 rather
> than this past March's patch.
>
> Thanks, Sebastien, I'm as puzzled and frustrated as you are,
>
> Rich
> ___
> SlackBuilds-users mailing list
> SlackBuilds-users@slackbuilds.org
> https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
> Archives - https://lists.slackbuilds.org/pipermail/slackbuilds-users/
> FAQ - https://slackbuilds.org/faq/
>
>
___
SlackBuilds-users mailing list
SlackBuilds-users@slackbuilds.org
https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
Archives - https://lists.slackbuilds.org/pipermail/slackbuilds-users/
FAQ - https://slackbuilds.org/faq/



Re: [Slackbuilds-users] Scribus-1.4.6: build fails not finding freetype.h [SOLVED]

2017-08-07 Thread Rich Shepard

On Fri, 4 Aug 2017, Rich Shepard wrote:


 I'm trying to upgrade scribus from 1.4.4. to 1.4.6, but the build fails
here:
/tmp/SBo/scribus-1.4.6/scribus/scfonts.h:19:23: fatal error: freetype.h: No
/ such file or directory


Didier/Sebastien:

  I found the problem and a solution to it. For some reason, the patched
freetype-2.5.5 fails, but the original freetype-2.5.0 works. Now, why that
should be the case here and not on Sebastian's virtual 14.1/x86_i586 I've no
idea.

  I downloaded the SlackBuilds source for freetype-4.6.3 from the 14.2
repoaistory at osuosl.org. I'll build that and see how scribus reacts.

Thanks again,

Rich
___
SlackBuilds-users mailing list
SlackBuilds-users@slackbuilds.org
https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
Archives - https://lists.slackbuilds.org/pipermail/slackbuilds-users/
FAQ - https://slackbuilds.org/faq/



Re: [Slackbuilds-users] Scribus-1.4.6: build fails not finding freetype.h

2017-08-07 Thread Rich Shepard

On Mon, 7 Aug 2017, Sebastien BALLET wrote:


In one of my previous post, I ask you to create the file
/tmp/cmake-test/CMakeLists.txt
with the content below :


Sebastien,


If you have deleted it, recreate it. Otherwise, run the commands below :
$ cd /tmp/cmake-test
$ rm CMakeCache.txt


  Done.


Remove freetype package :
$ removepkg freetype


  Done


In /tmp/cmake-test, run the command below :
$ cmake .

You should get this :

8<--
$ cmake .

-- Could NOT find Freetype (missing FREETYPE_LIBRARY FREETYPE_INCLUDE_DIRS)
freetype_include_dirs:
-- Configuring done
-- Generating done
-- Build files have been written to: /tmp/cmake-test
8<--



If freetype_include_dirs is not *empty* (which I doubt), check the returned
directories content.


  I see the same results and assume the freetype_include_dirs is empty.


Now, install freetype, with slackpkg or any other tools...
Then, in /tmp/cmake-test, run the commands below :
$ rm CMakeCache.txt
$ cmake .
You should get this :
8<--
-- Found Freetype: /usr/lib/libfreetype.so (found version "2.5.5")
freetype_include_dirs: /usr/include/freetype2;/usr/include
-- Configuring done
-- Generating done
-- Build files have been written to: /tmp/cmake-test
8<--


  Yes.


​If you get the output above, you can (re)try to build scribus. Otherwise
... I don't know.


  Sigh. Same error. Later today I'll try the original freetype-2.5.5 rather
than this past March's patch.

Thanks, Sebastien, I'm as puzzled and frustrated as you are,

Rich
___
SlackBuilds-users mailing list
SlackBuilds-users@slackbuilds.org
https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
Archives - https://lists.slackbuilds.org/pipermail/slackbuilds-users/
FAQ - https://slackbuilds.org/faq/



Re: [Slackbuilds-users] Scribus-1.4.6: build fails not finding freetype.h

2017-08-07 Thread Sebastien BALLET
​​
​Hello,

In one of my previous post, I ask you to create the file
/tmp/cmake-test/CMakeLists.txt
with the content below :

8<---/tmp/cmake-test/CMakeLists.txt --
cmake_minimum_required(VERSION 2.8)
find_package(Freetype)
if (FREETYPE_FOUND)
  include_directories(${FREETYPE_INCLUDE_DIRS})
endif (FREETYPE_FOUND)

MESSAGE("freetype_include_dirs: ${FREETYPE_INCLUDE_DIRS}")
8<--

If you have deleted it, recreate it. Otherwise, run the commands below :

$ cd /tmp/cmake-test
$ rm CMakeCache.txt

Remove freetype package :

$ removepkg freetype

In /tmp/cmake-test, run the command below :

$ cmake .

You should get this :

8<--
$ cmake .

-- Could NOT find Freetype (missing FREETYPE_LIBRARY FREETYPE_INCLUDE_DIRS)
freetype_include_dirs:
-- Configuring done
-- Generating done
-- Build files have been written to: /tmp/cmake-test
8<--

If freetype_include_dirs is not *empty* (which I doubt), check the returned
directories content.

Now, install freetype, with slackpkg or any other tools...

$ slackpkg install freetype

Then, in /tmp/cmake-test, run the commands below :

$ rm CMakeCache.txt
$ cmake .

You should get this :

8<--
-- Found Freetype: /usr/lib/libfreetype.so (found version "2.5.5")
freetype_include_dirs: /usr/include/freetype2;/usr/include
-- Configuring done
-- Generating done
-- Build files have been written to: /tmp/cmake-test
8<--

​If you get the output above, you can (re)try to build scribus. Otherwise
... I don't know.

-- 
SeB​


2017-08-06 18:22 GMT+02:00 Rich Shepard :

> On Sun, 6 Aug 2017, Sebastien BALLET wrote:
>
> can you post the output of commands below :
>>
>> $ find /usr/include -iname "ft2build.h"
>>
>
> /usr/include/freetype2/ft2build.h
>
> $ cat /usr/lib/pkgconfig/freetype2.pc | grep "includedir"
>>
>
> includedir=/usr/include/freetype2
> Cflags: -I${includedir}
>
> $ ls -l /var/log/packages/freetype*
>>
>
> -rw-r--r-- 1 root root 3544 May 16 17:20
> - /var/log/packages/freetype-2.5.5-i486-2_slack14.1
>
> $ cat /var/log/packages/freetype-* | grep -E "ft2build.h|freetype.h"
>>
>
> usr/include/freetype2/ft2build.h
> usr/include/freetype2/freetype.h
>
>   Wonder where the /usr/local/include came from.
>
> Rich
> ___
> SlackBuilds-users mailing list
> SlackBuilds-users@slackbuilds.org
> https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
> Archives - https://lists.slackbuilds.org/pipermail/slackbuilds-users/
> FAQ - https://slackbuilds.org/faq/
>
>
___
SlackBuilds-users mailing list
SlackBuilds-users@slackbuilds.org
https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
Archives - https://lists.slackbuilds.org/pipermail/slackbuilds-users/
FAQ - https://slackbuilds.org/faq/



Re: [Slackbuilds-users] Scribus-1.4.6: build fails not finding freetype.h

2017-08-06 Thread Rich Shepard

On Sun, 6 Aug 2017, Sebastien BALLET wrote:


can you post the output of commands below :

$ find /usr/include -iname "ft2build.h"


/usr/include/freetype2/ft2build.h


$ cat /usr/lib/pkgconfig/freetype2.pc | grep "includedir"


includedir=/usr/include/freetype2
Cflags: -I${includedir}


$ ls -l /var/log/packages/freetype*


-rw-r--r-- 1 root root 3544 May 16 17:20
- /var/log/packages/freetype-2.5.5-i486-2_slack14.1


$ cat /var/log/packages/freetype-* | grep -E "ft2build.h|freetype.h"


usr/include/freetype2/ft2build.h
usr/include/freetype2/freetype.h

  Wonder where the /usr/local/include came from.

Rich
___
SlackBuilds-users mailing list
SlackBuilds-users@slackbuilds.org
https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
Archives - https://lists.slackbuilds.org/pipermail/slackbuilds-users/
FAQ - https://slackbuilds.org/faq/



Re: [Slackbuilds-users] Scribus-1.4.6: build fails not finding freetype.h

2017-08-06 Thread Sebastien BALLET
Hello,

can you post the output of commands below :

$ find /usr/include -iname "ft2build.h"

$ cat /usr/lib/pkgconfig/freetype2.pc | grep "includedir"

$ ls -l /var/log/packages/freetype*

$ cat /var/log/packages/freetype-* | grep -E "ft2build.h|freetype.h"

-- 
SeB


2017-08-06 15:39 GMT+02:00 Rich Shepard :

> On Sun, 6 Aug 2017, Sebastien BALLET wrote:
>
> can you post the output of :
>> 8<--
>> $ find /usr/include -iname "freetype.h"
>>
>
> /usr/include/freetype2/freetype.h
>
> $ find /usr/local/include -iname "freetype.h"
>>
>
> 
>
> $ freetype-config --cflags
>>
>
>   Aha!
> -I/usr/local/include/freetype2 -I/usr/local/include
>
> Now, run the command below :
>>
>
> $ find $(freetype-config --cflags | cut -f2- -d"I") -iname "freetype.h"
>>
>
>   OK. Somehow, freetype ended up in /usr/local rather than /usr:
>
> [root@salmo ~]# find $(freetype-config --cflags | cut -f2- -d"I") -iname
> "freetype.h"
> find: unknown predicate -I/usr/local/include'
>
>   The freetype-2.5.5 package was installed by the 14.1 distribution DVD.
>
> In /tmp, create a directory cmake-test, then, in that directory create the
>> file CMakeLists.txt with the content below :
>>
>
> $ cmake .
>>
>
> Here is what you should get :
>> freetype_include_dirs: /usr/include/freetype2;/usr/include
>>
>
>   Somehow, /usr/local/include was added:
>
> [root@salmo /tmp/cmake-test]# cmake .
> -- The C compiler identification is GNU 4.8.2
> -- The CXX compiler identification is GNU 4.8.2
> -- 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
> -- 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
> -- Found Freetype: /usr/lib/libfreetype.so (found version "2.5.5")
> freetype_include_dirs: /usr/local/include;/usr/include
> -- Configuring done
> -- Generating done
> -- Build files have been written to: /tmp/cmake-test
>
>   How should I clean this up by removing inclusion of /usr/local/ for
> freetype?
>
> Thanks very much, Sebastien,
>
> Rich
> ___
> SlackBuilds-users mailing list
> SlackBuilds-users@slackbuilds.org
> https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
> Archives - https://lists.slackbuilds.org/pipermail/slackbuilds-users/
> FAQ - https://slackbuilds.org/faq/
>
>
___
SlackBuilds-users mailing list
SlackBuilds-users@slackbuilds.org
https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
Archives - https://lists.slackbuilds.org/pipermail/slackbuilds-users/
FAQ - https://slackbuilds.org/faq/



Re: [Slackbuilds-users] Scribus-1.4.6: build fails not finding freetype.h

2017-08-06 Thread Rich Shepard

On Sun, 6 Aug 2017, Sebastien BALLET wrote:


can you post the output of :
8<--
$ find /usr/include -iname "freetype.h"


/usr/include/freetype2/freetype.h


$ find /usr/local/include -iname "freetype.h"





$ freetype-config --cflags


  Aha!
-I/usr/local/include/freetype2 -I/usr/local/include


Now, run the command below :



$ find $(freetype-config --cflags | cut -f2- -d"I") -iname "freetype.h"


  OK. Somehow, freetype ended up in /usr/local rather than /usr:

[root@salmo ~]# find $(freetype-config --cflags | cut -f2- -d"I") -iname
"freetype.h"
find: unknown predicate -I/usr/local/include'

  The freetype-2.5.5 package was installed by the 14.1 distribution DVD.


In /tmp, create a directory cmake-test, then, in that directory create the
file CMakeLists.txt with the content below :



$ cmake .



Here is what you should get :
freetype_include_dirs: /usr/include/freetype2;/usr/include


  Somehow, /usr/local/include was added:

[root@salmo /tmp/cmake-test]# cmake .
-- The C compiler identification is GNU 4.8.2
-- The CXX compiler identification is GNU 4.8.2
-- 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
-- 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
-- Found Freetype: /usr/lib/libfreetype.so (found version "2.5.5") 
freetype_include_dirs: /usr/local/include;/usr/include

-- Configuring done
-- Generating done
-- Build files have been written to: /tmp/cmake-test

  How should I clean this up by removing inclusion of /usr/local/ for
freetype?

Thanks very much, Sebastien,

Rich
___
SlackBuilds-users mailing list
SlackBuilds-users@slackbuilds.org
https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
Archives - https://lists.slackbuilds.org/pipermail/slackbuilds-users/
FAQ - https://slackbuilds.org/faq/



Re: [Slackbuilds-users] Scribus-1.4.6: build fails not finding freetype.h

2017-08-05 Thread Rich Shepard

On Sat, 5 Aug 2017, Sebastien BALLET wrote:


The differences between the line I sent in my previous post and the
corresponding line from your last build is as below :



--I/usr/include/freetype2
+-I/usr/local/include



I'm wondering why /usr/include/freetype2 is not found on your side. It
seems (but I can be wrong) that /usr/local/include is used instead of
/usr/include/freetype2. Maybe you have something in /usr/local/include
which cause your issue.


Sebastien,

  Two years ago, for reasons long forgotten, I made a soft link in
/usr/local/include/freetype2 to /usr/include/freetype2. I just removed that
link.

  But, that does not fix the problem:

Scanning dependencies of target scribus_desaxe_lib
[  0%] Building CXX object
scribus/desaxe/CMakeFiles/scribus_desaxe_lib.dir/saxXML.cpp.o
[  0%] Building CXX object
scribus/desaxe/CMakeFiles/scribus_desaxe_lib.dir/saxiohelper.cpp.o
In file included from
/tmp/SBo/scribus-1.4.6/scribus/desaxe/saxiohelper.cpp:10:0:
/tmp/SBo/scribus-1.4.6/scribus/scfonts.h:19:23: fatal error: freetype.h: No
/ such file or directory
 #include FT_FREETYPE_H
   ^
compilation terminated.
make[2]: ***
[scribus/desaxe/CMakeFiles/scribus_desaxe_lib.dir/saxiohelper.cpp.o] Error 1
make[1]: *** [scribus/desaxe/CMakeFiles/scribus_desaxe_lib.dir/all] Error 2
make: *** [all] Error 2

  This might help:

Invoking alternate editor...

Friday, I can meet you somewhere closer to you. Otherwise it'll pretty

IW   /tmp/pico.60854 (Modified)(mail)
Row 41   Col 11:47  Ctrl-K H for help

The differences between the line I sent in my previous post and the
corresponding line from your last build is as below :



--I/usr/include/freetype2
+-I/usr/local/include



I'm wondering why  /usr/include/freetype2 is not found on your side. It
seems (but I can be wrong) that /usr/local/include is used instead of 
/usr/include/freetype2. Maybe you have something in /usr/local/include 
which cause your issue.


Sebastien,

  Two years ago, for reasons long forgotten, I made a soft link in
/usr/local/include/freetype2 to /usr/include/freetype2. I just removed that
link.

  But, that does not fix the problem:

Scanning dependencies of target scribus_desaxe_lib
[  0%] Building CXX object
scribus/desaxe/CMakeFiles/scribus_desaxe_lib.dir/saxXML.cpp.o
[  0%] Building CXX object
scribus/desaxe/CMakeFiles/scribus_desaxe_lib.dir/saxiohelper.cpp.o
In file included from
/tmp/SBo/scribus-1.4.6/scribus/desaxe/saxiohelper.cpp:10:0:
/tmp/SBo/scribus-1.4.6/scribus/scfonts.h:19:23: fatal error: freetype.h: No
/ such file or directory
 #include FT_FREETYPE_H
   ^
compilation terminated. 
make[2]: ***

[scribus/desaxe/CMakeFiles/scribus_desaxe_lib.dir/saxiohelper.cpp.o] Error 1
make[1]: *** [scribus/desaxe/CMakeFiles/scribus_desaxe_lib.dir/all] Error 2 
make: *** [all] Error 2


  This might help:

Invoking alternate editor...

Friday, I can meet you somewhere closer to you. Otherwise it'll pretty

IW   /tmp/pico.60854 (Modified)(mail)
Row 41   Col 11:47  Ctrl-K H for help

The differences between the line I sent in my previous post and the
corresponding line from your last build is as below :



--I/usr/include/freetype2
+-I/usr/local/include



I'm wondering why  /usr/include/freetype2 is not found on your side. It
seems (but I can be wrong) that /usr/local/include is used instead of 
/usr/include/freetype2. Maybe you have something in /usr/local/include 
which cause your issue.


Sebastien,

  Two years ago, for reasons long forgotten, I made a soft link in
/usr/local/include/freetype2 to /usr/include/freetype2. I just removed that
link.

  But, that does not fix the problem:

Scanning dependencies of target scribus_desaxe_lib
[  0%] Building CXX object
scribus/desaxe/CMakeFiles/scribus_desaxe_lib.dir/saxXML.cpp.o
[  0%] Building CXX object
scribus/desaxe/CMakeFiles/scribus_desaxe_lib.dir/saxiohelper.cpp.o
In file included from
/tmp/SBo/scribus-1.4.6/scribus/desaxe/saxiohelper.cpp:10:0:
/tmp/SBo/scribus-1.4.6/scribus/scfonts.h:19:23: fatal error: freetype.h: No
/ such file or directory
 #include FT_FREETYPE_H
   ^
compilation terminated. 
make[2]: ***

[scribus/desaxe/CMakeFiles/scribus_desaxe_lib.dir/saxiohelper.cpp.o] Error 1
make[1]: *** [scribus/desaxe/CMakeFiles/scribus_desaxe_lib.dir/all] Error 2 
make: *** [all] Error 2


  This might help:

Invoking alternate editor...

Friday, I can meet you somewhere closer to you. Otherwise it'll pretty

IW   /tmp/pico.60854 (Modified)(mail)
Row 41   Col 11:47  Ctrl-K H for help

The differences between the line I sent in my previous post and the
corresponding line from your last build is as below :



--I/usr/include/freetype2
+-I/usr/local/include



I'm wondering why  /usr/include/freetype2 is not found on your side. It
seems (but I can be wrong) that /usr/local/include is used instead of 
/usr/include/freetype2. Maybe you have something in /usr/local/include 
which cause your issue.


Sebastien,


Re: [Slackbuilds-users] Scribus-1.4.6: build fails not finding freetype.h

2017-08-05 Thread Sebastien BALLET
Hello,

The differences between the line I sent in my previous post and the
corresponding line from your last build is as below :

--- /tmp/working_scribus_words.txt  2017-08-05 19:51:25.288007196 +0200
+++ /tmp/non_working_scribus_words.txt  2017-08-05 19:53:34.080012943 +0200
@@ -45,7 +45,7 @@
 -I/usr/lib/qt/mkspecs/default
 -I/usr/include/libxml2
 -I/usr/include/python2.7
--I/usr/include/freetype2
+-I/usr/local/include
 -DSHAREDIR=\"/usr/share/scribus/\"
 -DDOCDIR=\"/usr/share/doc/scribus/\"
 -DICONDIR=\"/usr/share/scribus/icons/\"

I'm wondering why  /usr/include/freetype2 is not found on your side. It
seems (but I can be wrong) that  /usr/local/include is used instead of
/usr/include/freetype2. Maybe you have something in /usr/local/include
which cause your issue.

-- 
SeB

2017-08-05 18:27 GMT+02:00 Rich Shepard :

> On Sat, 5 Aug 2017, Sebastien BALLET wrote:
>
> I just built scribus 1.4.6 on a 14.1 vm without any issue.
>>
>
> Sebastien,
>
>   Then it must be something here that I don't recognize.
>
> Can you try to build it again in verbose mode and post the output. To do
>> that, you must pass "VERBOSE=1" to make, or run scribus.SlackBuild as
>> below :
>> $ VERBOSE=1 ./scribus.SlackBuild
>>
>
>   It still fails with the same error.
>
>   What I notice in the output (scribus-build.txt.gz attached) is during
> configuration scribus is not going to build with qt3, and that's noted as
> being good. But, on line 49001 of the output file I see that the qt3
> library
> is to be included. Makes no sense to me; I've qt4 and qt5 installed, but
> not
> qt3. And what these have to do with freetype.h may be irrelevant.
>
> Thanks,
>
> Rich
> ___
> SlackBuilds-users mailing list
> SlackBuilds-users@slackbuilds.org
> https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
> Archives - https://lists.slackbuilds.org/pipermail/slackbuilds-users/
> FAQ - https://slackbuilds.org/faq/
>
>
>
___
SlackBuilds-users mailing list
SlackBuilds-users@slackbuilds.org
https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
Archives - https://lists.slackbuilds.org/pipermail/slackbuilds-users/
FAQ - https://slackbuilds.org/faq/



Re: [Slackbuilds-users] Scribus-1.4.6: build fails not finding freetype.h

2017-08-05 Thread Rich Shepard

On Sat, 5 Aug 2017, Sebastien BALLET wrote:


I just built scribus 1.4.6 on a 14.1 vm without any issue.


Sebastien,

  Then it must be something here that I don't recognize.


Can you try to build it again in verbose mode and post the output. To do
that, you must pass "VERBOSE=1" to make, or run scribus.SlackBuild as
below :
$ VERBOSE=1 ./scribus.SlackBuild


  It still fails with the same error.

  What I notice in the output (scribus-build.txt.gz attached) is during
configuration scribus is not going to build with qt3, and that's noted as
being good. But, on line 49001 of the output file I see that the qt3 library
is to be included. Makes no sense to me; I've qt4 and qt5 installed, but not
qt3. And what these have to do with freetype.h may be irrelevant.

Thanks,

Rich

scribus-build.txt.gz
Description: GNU Zip compressed data
___
SlackBuilds-users mailing list
SlackBuilds-users@slackbuilds.org
https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
Archives - https://lists.slackbuilds.org/pipermail/slackbuilds-users/
FAQ - https://slackbuilds.org/faq/



Re: [Slackbuilds-users] Scribus-1.4.6: build fails not finding freetype.h

2017-08-05 Thread Sebastien BALLET
Hello,

I just built scribus 1.4.6 on a 14.1 vm without any issue.

Can you try to build it again in verbose mode and post the output. To do
that, you must pass "VERBOSE=1" to make, or run scribus.SlackBuild as below
:

$ VERBOSE=1 ./scribus.SlackBuild

As reference, the line at which your build fails is as below on my side :

[  0%] Building CXX object
scribus/desaxe/CMakeFiles/scribus_desaxe_lib.dir/saxiohelper.cpp.o
cd /tmp/SBo/scribus-1.4.6/scribus/desaxe && /usr/bin/c++   -DHAVE_CONFIG_H
-DHAVE_DLFCN_H -DHAVE_UNISTD_H -DNDEBUG -DQT_CORE_LIB -DQT_GUI_LIB
-DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_THREAD_LIB -DQT_XML_LIB -O2 -march=i486
-mtune=i686 -O2 -Wall -fPIC -I/tmp/SBo/scribus-1.4.6/scribus/desaxe
-isystem /usr/lib/qt/include -isystem /usr/lib/qt/include/QtGui -isystem
/usr/lib/qt/include/QtXml -isystem /usr/lib/qt/include/QtNetwork -isystem
/usr/lib/qt/include/QtCore -I/tmp/SBo/scribus-1.4.6
-I/tmp/SBo/scribus-1.4.6/scribus -I/usr/lib/qt/include/QtDesigner
-I/usr/lib/qt/include/QtDeclarative -I/usr/lib/qt/include/QtScriptTools
-I/usr/lib/qt/include/QtDBus -I/usr/lib/qt/include/QtSql
-I/usr/lib/qt/include/QtOpenGL -I/usr/lib/qt/include/QtMultimedia
-I/usr/lib/qt/include/QtXmlPatterns -I/usr/lib/qt/include/QtWebKit
-I/usr/lib/qt/include/QtHelp -I/usr/lib/qt/include/QtUiTools
-I/usr/lib/qt/include/QtTest -I/usr/lib/qt/include/QtScript
-I/usr/lib/qt/include/QtSvg -I/usr/lib/qt/include/Qt3Support
-I/usr/lib/qt/mkspecs/default -I/usr/include/libxml2
-I/usr/include/python2.7 -I/usr/include/freetype2
-DSHAREDIR=\"/usr/share/scribus/\" -DDOCDIR=\"/usr/share/doc/scribus/\"
-DICONDIR=\"/usr/share/scribus/icons/\"
-DSAMPLESDIR=\"/usr/share/scribus/samples/\"
-DSCRIPTSDIR=\"/usr/share/scribus/scripts/\"
-DTEMPLATEDIR=\"/usr/share/scribus/templates/\"
-DDESKTOPDIR=\"/usr/share/applications/\" -DLIBDIR=\"/usr/lib/scribus/\"
-DPLUGINDIR=\"/usr/lib/scribus/plugins/\" -DCOMPILE_SCRIBUS_MAIN_APP -o
CMakeFiles/scribus_desaxe_lib.dir/saxiohelper.cpp.o -c
/tmp/SBo/scribus-1.4.6/scribus/desaxe/saxiohelper.cpp
/usr/bin/cmake -E cmake_progress_report /tmp/SBo/scribus-1.4.6/CMakeFiles


-- 
SeB





-- 
SeB

2017-08-04 21:23 GMT+02:00 Rich Shepard :

> On Fri, 4 Aug 2017, Sebastien BALLET wrote:
>
> in addition to what didier suggest, It would be useful to post full output
>> of the build process, and, the content of /tmp/SBo/scribus-1.4.6/config.h
>> file.
>>
>
> Sebastien,
>
>   Both attached.
>
> Rich
> ___
> SlackBuilds-users mailing list
> SlackBuilds-users@slackbuilds.org
> https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
> Archives - https://lists.slackbuilds.org/pipermail/slackbuilds-users/
> FAQ - https://slackbuilds.org/faq/
>
>
>
___
SlackBuilds-users mailing list
SlackBuilds-users@slackbuilds.org
https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
Archives - https://lists.slackbuilds.org/pipermail/slackbuilds-users/
FAQ - https://slackbuilds.org/faq/



Re: [Slackbuilds-users] Scribus-1.4.6: build fails not finding freetype.h

2017-08-04 Thread Didier Spaier
Le 04/08/2017 à 21:16, Rich Shepard a écrit :
> On Fri, 4 Aug 2017, Didier Spaier wrote:
> 
>> You can try Simon's suggestion.
> 
> Didier,
> 
>   I've not seen that; a pointer to it would allow me to try it.

Simon (Latin alphabet) is also  Симонъ (Cyrillic).

so see on top of his email.

Anyway it seems that yu are buildng on Slackware version 14.1
according to some packages' versions.

But SBo provides a SlackBuild for Scribus-1.4.6 for
Slackware version 14.2 onlyand I didn't try it
on that version.

FWIW I attach an unified diff from your vs mine build logs.

Didier


--- Rich	2017-08-04 21:35:19.490862696 +0200
+++ Didier	2017-08-04 21:36:22.452141369 +0200
@@ -1,18 +1,22 @@
 ./scribus-1.4.6/PACKAGING
--- The C compiler identification is GNU 4.8.2
--- The CXX compiler identification is GNU 4.8.2
+-- The C compiler identification is GNU 5.3.0
+-- The CXX compiler identification is GNU 5.3.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.4.6 will be built to install into /usr
--- Machine: i486-slackware-linux, void pointer size: 4
--- Found target X86
--- Building for target i486-slackware-linux
+-- Machine: x86_64-slackware-linux, void pointer size: 8
+-- Found target X86_64
+-- Building for target x86_64-slackware-linux
 -- Using standard ApplicationDataDir. You can change it with -DAPPLICATION_DATA_DIR
 -- Looking for Q_WS_X11
 -- Looking for Q_WS_X11 - found
@@ -24,24 +28,24 @@
 -- Looking for Q_WS_MAC - not found
 -- Found Qt4: /usr/bin/qmake (found suitable version "4.8.7", minimum required is "4.6.0") 
 -- Building without Qt3 Support (GOOD)
--- Found ZLIB: /usr/lib/libz.so  
--- Found PNG: /usr/lib/libpng.so  
--- Found JPEG: /usr/lib/libjpeg.so  
--- Found TIFF: /usr/lib/libtiff.so  
--- Found PythonLibs: /usr/lib/libpython2.7.so (found suitable version "2.7.13", minimum required is "2") 
--- Found Freetype: /usr/lib/libfreetype.so (found version "2.5.5") 
+-- Found ZLIB: /usr/lib64/libz.so  
+-- Found PNG: /usr/lib64/libpng.so  
+-- Found JPEG: /usr/lib64/libjpeg.so  
+-- Found TIFF: /usr/lib64/libtiff.so  
+-- Found PythonLibs: /usr/lib64/libpython2.7.so (found suitable version "2.7.13", minimum required is "2") 
+-- Found Freetype: /usr/lib64/libfreetype.so (found version "2.6.3") 
 -- FreeType2 Library Found OK
--- Looking for FT_Get_First_Char in /usr/lib/libfreetype.so
--- Looking for FT_Get_First_Char in /usr/lib/libfreetype.so - found
--- Looking for FT_Get_Next_Char in /usr/lib/libfreetype.so
--- Looking for FT_Get_Next_Char in /usr/lib/libfreetype.so - found
+-- Looking for FT_Get_First_Char in /usr/lib64/libfreetype.so
+-- Looking for FT_Get_First_Char in /usr/lib64/libfreetype.so - found
+-- Looking for FT_Get_Next_Char in /usr/lib64/libfreetype.so
+-- Looking for FT_Get_Next_Char in /usr/lib64/libfreetype.so - found
 -- Previously selected rendering system: CAIRO
--- Found PkgConfig: /usr/bin/pkg-config (found version "0.25") 
--- checking for one of the modules 'libcairo>=1.2.0;cairo>=1.2.0'
--- Found Cups: /usr/lib/libcups.so (found version "1.5.4") 
--- Found LibXml2: /usr/lib/libxml2.so (found version "2.9.4") 
--- checking for one of the modules 'fontconfig'
--- Could NOT find HYPHEN (missing:  HYPHEN_LIBRARY HYPHEN_INCLUDE_DIR) 
+-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.2") 
+-- Checking for one of the modules 'libcairo>=1.2.0;cairo>=1.2.0'
+-- Found Cups: /usr/lib64/libcups.so (found version "2.1.4") 
+-- Found LibXml2: /usr/lib64/libxml2.so (found version "2.9.4") 
+-- Checking for one of the modules 'fontconfig'
+-- Found HYPHEN: /usr/lib64/libhyphen.so  
 -- Check if the system is big endian
 -- Searching 16 bit integer
 -- Looking for sys/types.h
@@ -64,14 +68,14 @@
 -- Looking for include file endian.h - found
 -- Looking for include file fcntl.h
 -- Looking for include file fcntl.h - found
--- Boost version: 1.54.0
+-- Boost version: 1.63.0
 -- Boost: FOUND, building 2geomtools
 -- Source header files will be installed
--- /tmp/SBo/scribus-1.4.6/resources/translations/po
+-- /home/didier/Slint/repo/x86_64/slint-testing/source/scribus/scribus-1.4.6/resources/translations/po
 -- The following GUI languages will be installed: 
 -- Configuring done
 -- Generating done
--- Build files have been written to: /tmp/SBo/scribus-1.4.6
+-- Build files have been written to: /home/didier/Slint/repo/x86_64/slint-testing/source/scribus/scribus-1.4.6
 Scanning dependencies of target scribus_desaxe_lib
 [  0%] Building CXX object scribus/desaxe/CMakeFiles/scribus_desaxe_lib.dir/saxXML.cpp.o
 [  

Re: [Slackbuilds-users] Scribus-1.4.6: build fails not finding freetype.h

2017-08-04 Thread Rich Shepard

On Fri, 4 Aug 2017, Sebastien BALLET wrote:


in addition to what didier suggest, It would be useful to post full output
of the build process, and, the content of /tmp/SBo/scribus-1.4.6/config.h
file.


Sebastien,

  Both attached.

Rich

scribus-build.txt.gz
Description: GNU Zip compressed data


/*
 * Prevent code from including config.h directly. You should include
 * scconfig.h instead. This lets us handle win-config.h correctly, and
 * may do more later.
 */
#ifndef _SCCONFIG_H
#error "Include  rather than using  directly"
#endif

#define VERSION "1.4.6"

/* #undef BUILD_WINDOWS_VERSION */
/* #undef SC_USE_GDI */
/* #undef SC_USE_GDIPLUS */
/* #undef DLL_USE_NATIVE_API */
/* #undef BUILD_MAC_BUNDLE */
#define HAVE_CMS 1
#define HAVE_LCMS21
#define HAVE_XML 1
#define CMS_INC "lcms2.h"
#define HAVE_CAIRO 1
#define HAVE_CUPS 1
#define HAVE_TIFF 1
#define HAVE_LIBZ 1
#define HAVE_FONTCONFIG 1
/* #undef HAVE_PODOFO */
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
/* #undef FT_FREETYPE_H */
#define COMPILE_PYTHON 1
/* #undef WORDS_BIGENDIAN */
___
SlackBuilds-users mailing list
SlackBuilds-users@slackbuilds.org
https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
Archives - https://lists.slackbuilds.org/pipermail/slackbuilds-users/
FAQ - https://slackbuilds.org/faq/



Re: [Slackbuilds-users] Scribus-1.4.6: build fails not finding freetype.h

2017-08-04 Thread Rich Shepard

On Fri, 4 Aug 2017, Didier Spaier wrote:


You can try Simon's suggestion.


Didier,

  I've not seen that; a pointer to it would allow me to try it.


However, what puzzles me is that the error occurs at the very beginning of
the building process. I am not familiar with cmake but: did you modify the
SlackBuild from SBo in any way?


  No.


To be sure, please attach the scribus.Slackuild you used to your next
post.


  Downloaded and untarred this morning from SBo. It's attached.

Rich#!/bin/sh

# Slackware build script for scribus

# Copyright 2006 Martin Lefebvre 
# Copyright 2008-2014 Heinz Wiesinger, Amsterdam, The Netherlands
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
# permitted provided that the following conditions are met:
#
# 1. Redistributions of this script must retain the above copyright
#notice, this list of conditions and the following disclaimer.
#
# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ''AS IS'' AND ANY EXPRESS OR IMPLIED
# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

# Modified by the SlackBuilds.org project
# Including input by Yalla-One and some code cleanup by rworkman

PRGNAM=scribus
VERSION=${VERSION:-1.4.6}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}

if [ -z "$ARCH" ]; then
  case "$( uname -m )" in
i?86) ARCH=i486 ;;
arm*) ARCH=arm ;;
   *) ARCH=$( uname -m ) ;;
  esac
fi

CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}

if [ "$ARCH" = "i486" ]; then
  SLKCFLAGS="-O2 -march=i486 -mtune=i686"
  LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
  SLKCFLAGS="-O2 -march=i686 -mtune=i686"
  LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
  SLKCFLAGS="-O2 -fPIC"
  LIBDIRSUFFIX="64"
else
  SLKCFLAGS="-O2"
  LIBDIRSUFFIX=""
fi

set -e

rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.?z*
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
 \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
  -o -perm 511 \) -exec chmod 755 {} \; -o \
 \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
  -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;

cmake \
  -DCMAKE_C_FLAGS="$SLKCFLAGS" \
  -DCMAKE_CXX_FLAGS="$SLKCFLAGS" \
  -DCMAKE_INSTALL_PREFIX:PATH=/usr \
  -DLIB_SUFFIX=${LIBDIRSUFFIX} \
  -DRENDER_LIB=CAIRO

make
make install DESTDIR=$PKG

mkdir -p $PKG/usr/share/{applications,pixmaps}
cat scribus.desktop > $PKG/usr/share/applications/scribus.desktop

cd $PKG/usr/share/pixmaps
  ln -s ../scribus/icons/scribus.png .
cd -

find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | 
grep ELF \
  | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true

mv $PKG/usr/share/man $PKG/usr
find $PKG/usr/man -type f -exec gzip -9 {} \;

mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
mv $PKG/usr/share/doc/scribus/* $PKG/usr/doc/$PRGNAM-$VERSION/
rm -rf $PKG/usr/share/doc
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild

mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh

cd $PKG
/sbin/makepkg -p -l y -c n 
$OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
___
SlackBuilds-users mailing list
SlackBuilds-users@slackbuilds.org
https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
Archives - https://lists.slackbuilds.org/pipermail/slackbuilds-users/
FAQ - https://slackbuilds.org/faq/



Re: [Slackbuilds-users] Scribus-1.4.6: build fails not finding freetype.h

2017-08-04 Thread Sebastien BALLET
Hello,

in addition to what didier suggest, It would be useful to post full output
of the build process, and, the content of /tmp/SBo/scribus-1.4.6/config.h
file.

-- 
SeB


2017-08-04 20:58 GMT+02:00 Didier Spaier :

>
> Le 04/08/2017 à 20:36, Rich Shepard a écrit :
> > On Fri, 4 Aug 2017, Didier Spaier wrote:
> >
> >> No issue here with the header in /usr/include/freetype2/too.
> >
> > Didier,
> >
> >   Interesting. I've not before hit this error when upgrading scribus.
> Have
> > you any idea where I should look for the reason?
> You can try Simon's suggestion.
>
> However, what puzzles me is that the error occurs at the very beginning
> of the building process. I am not familiar with cmake but:
> did you modify the SlackBuild from SBo in any way?
>
> To be sure, please attach the scribus.Slackuild
> you used to your next post.
>
> OT: Симонъ I take this occasion to remind you that the Bulgarian
> translations of  Slint need a few more work to be completed ;)
> https://www.transifex.com/didier_spaier/slint/language/bg_BG/
> Especially the big sint-14.2 file
>
> Cheers,
> Didier
> ___
> SlackBuilds-users mailing list
> SlackBuilds-users@slackbuilds.org
> https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
> Archives - https://lists.slackbuilds.org/pipermail/slackbuilds-users/
> FAQ - https://slackbuilds.org/faq/
>
>
___
SlackBuilds-users mailing list
SlackBuilds-users@slackbuilds.org
https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
Archives - https://lists.slackbuilds.org/pipermail/slackbuilds-users/
FAQ - https://slackbuilds.org/faq/



Re: [Slackbuilds-users] Scribus-1.4.6: build fails not finding freetype.h

2017-08-04 Thread Didier Spaier

Le 04/08/2017 à 20:36, Rich Shepard a écrit :
> On Fri, 4 Aug 2017, Didier Spaier wrote:
> 
>> No issue here with the header in /usr/include/freetype2/too.
> 
> Didier,
> 
>   Interesting. I've not before hit this error when upgrading scribus. Have
> you any idea where I should look for the reason?
You can try Simon's suggestion.

However, what puzzles me is that the error occurs at the very beginning
of the building process. I am not familiar with cmake but:
did you modify the SlackBuild from SBo in any way?

To be sure, please attach the scribus.Slackuild
you used to your next post.

OT: Симонъ I take this occasion to remind you that the Bulgarian
translations of  Slint need a few more work to be completed ;)
https://www.transifex.com/didier_spaier/slint/language/bg_BG/
Especially the big sint-14.2 file

Cheers,
Didier
___
SlackBuilds-users mailing list
SlackBuilds-users@slackbuilds.org
https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
Archives - https://lists.slackbuilds.org/pipermail/slackbuilds-users/
FAQ - https://slackbuilds.org/faq/



Re: [Slackbuilds-users] Scribus-1.4.6: build fails not finding freetype.h

2017-08-04 Thread Rich Shepard

On Fri, 4 Aug 2017, Didier Spaier wrote:


No issue here with the header in /usr/include/freetype2/too.


Didier,

  Interesting. I've not before hit this error when upgrading scribus. Have
you any idea where I should look for the reason?

Thanks,

Rich
___
SlackBuilds-users mailing list
SlackBuilds-users@slackbuilds.org
https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
Archives - https://lists.slackbuilds.org/pipermail/slackbuilds-users/
FAQ - https://slackbuilds.org/faq/



Re: [Slackbuilds-users] Scribus-1.4.6: build fails not finding freetype.h

2017-08-04 Thread Симонъ Болокановъ
It builds here fine too.
According to BUILDING you can add paths with:
-DCMAKE_INCLUDE_PATH=/path/to/libfoo/include


-- Симонъ С. Болокановъ









 > Оригинално писмо 

 >От: Rich Shepard rshep...@appl-ecosys.com

 >Относно: [Slackbuilds-users] Scribus-1.4.6: build fails not finding
 freetype.h

 >До: slackbuilds-users@slackbuilds.org

 >Изпратено на: 04.08.2017 18:31


   I'm trying to upgrade scribus from 1.4.4. to 1.4.6, but the build fails

here:



[  0%] Building CXX object

scribus/desaxe/CMakeFiles/scribus_desaxe_lib.dir/saxXML.cpp.o

[  0%] Building CXX object

scribus/desaxe/CMakeFiles/scribus_desaxe_lib.dir/saxiohelper.cpp.o

In file included from

/tmp/SBo/scribus-1.4.6/scribus/desaxe/saxiohelper.cpp:10:0:

/tmp/SBo/scribus-1.4.6/scribus/scfonts.h:19:23: fatal error: freetype.h: No

/ such file or directory

  #include FT_FREETYPE_H

^

compilation terminated.

make[2]: ***

[scribus/desaxe/CMakeFiles/scribus_desaxe_lib.dir/saxiohelper.cpp.o] Error 1

make[1]: *** [scribus/desaxe/CMakeFiles/scribus_desaxe_lib.dir/all] Error 2

make: *** [all] Error 2



   However, that header file is on the system

(/usr/include/freetype2/freetype.h) and, I assume, the build script is

looking for it in /usr/include/freetype/. I created a softlink so

/usr/include/freetype points to /usr/include/freetype2, but that's not

working. I see nothing in the build script where I can point to the

directory containing freetype.h.



   Please advise me how to remedy this situation.



TIA,



Rich

___

SlackBuilds-users mailing list

 SlackBuilds-users@slackbuilds.org 

 https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users 

Archives -  https://lists.slackbuilds.org/pipermail/slackbuilds-users/ 

FAQ -  https://slackbuilds.org/faq/ 



___
SlackBuilds-users mailing list
SlackBuilds-users@slackbuilds.org
https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
Archives - https://lists.slackbuilds.org/pipermail/slackbuilds-users/
FAQ - https://slackbuilds.org/faq/



Re: [Slackbuilds-users] Scribus-1.4.6: build fails not finding freetype.h

2017-08-04 Thread Didier Spaier
Hello,

Le 04/08/2017 à 17:31, Rich Shepard a écrit :
>   I'm trying to upgrade scribus from 1.4.4. to 1.4.6, but the build fails
> here:
> 
> [  0%] Building CXX object
> scribus/desaxe/CMakeFiles/scribus_desaxe_lib.dir/saxXML.cpp.o
> [  0%] Building CXX object
> scribus/desaxe/CMakeFiles/scribus_desaxe_lib.dir/saxiohelper.cpp.o
> In file included from
> /tmp/SBo/scribus-1.4.6/scribus/desaxe/saxiohelper.cpp:10:0:
> /tmp/SBo/scribus-1.4.6/scribus/scfonts.h:19:23: fatal error: freetype.h: No
> / such file or directory
>  #include FT_FREETYPE_H
>^
> compilation terminated.
> make[2]: ***
> [scribus/desaxe/CMakeFiles/scribus_desaxe_lib.dir/saxiohelper.cpp.o] Error 1
> make[1]: *** [scribus/desaxe/CMakeFiles/scribus_desaxe_lib.dir/all] Error 2
> make: *** [all] Error 2
> 
>   However, that header file is on the system
> (/usr/include/freetype2/freetype.h) and, I assume, the build script is
> looking for it in /usr/include/freetype/. I created a softlink so
> /usr/include/freetype points to /usr/include/freetype2, but that's not
> working. I see nothing in the build script where I can point to the
> directory containing freetype.h.
> 
>   Please advise me how to remedy this situation.
> 
> TIA,

No issue here with the header in /usr/include/freetype2/too.


The relevant part of the build log is attached.

I build all packages with fakeroot, but I
fail to see how that could make a difference.

Didier
-- Found Freetype: /usr/lib64/libfreetype.so (found version "2.6.3") 
-- FreeType2 Library Found OK
-- Looking for FT_Get_First_Char in /usr/lib64/libfreetype.so
-- Looking for FT_Get_First_Char in /usr/lib64/libfreetype.so - found
-- Looking for FT_Get_Next_Char in /usr/lib64/libfreetype.so
-- Looking for FT_Get_Next_Char in /usr/lib64/libfreetype.so - found
-- Previously selected rendering system: CAIRO
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.2") 
-- Checking for one of the modules 'libcairo>=1.2.0;cairo>=1.2.0'
-- Found Cups: /usr/lib64/libcups.so (found version "2.1.4") 
-- Found LibXml2: /usr/lib64/libxml2.so (found version "2.9.4") 
-- Checking for one of the modules 'fontconfig'
-- Found HYPHEN: /usr/lib64/libhyphen.so  
-- Check if the system is big endian
-- Searching 16 bit integer
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of unsigned short
-- Check size of unsigned short - done
-- Using unsigned short
-- Check if the system is big endian - little endian
-- Looking for dlfcn.h
-- Looking for dlfcn.h - found
-- Looking for unistd.h
-- Looking for unistd.h - found
-- Looking for sys/stat.h
-- Looking for sys/stat.h - found
-- Looking for include file endian.h
-- Looking for include file endian.h - found
-- Looking for include file fcntl.h
-- Looking for include file fcntl.h - found
-- Boost version: 1.63.0
-- Boost: FOUND, building 2geomtools
-- Source header files will be installed
-- 
/home/didier/Slint/repo/x86_64/slint-testing/source/scribus/scribus-1.4.6/resources/translations/po
-- The following GUI languages will be installed: 
-- Configuring done
-- Generating done
-- Build files have been written to: 
/home/didier/Slint/repo/x86_64/slint-testing/source/scribus/scribus-1.4.6
Scanning dependencies of target scribus_desaxe_lib
[  0%] Building CXX object 
scribus/desaxe/CMakeFiles/scribus_desaxe_lib.dir/saxXML.cpp.o
[  0%] Building CXX object 
scribus/desaxe/CMakeFiles/scribus_desaxe_lib.dir/saxiohelper.cpp.o
[  0%] Building CXX object 
scribus/desaxe/CMakeFiles/scribus_desaxe_lib.dir/saxfilter.cpp.o
___
SlackBuilds-users mailing list
SlackBuilds-users@slackbuilds.org
https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
Archives - https://lists.slackbuilds.org/pipermail/slackbuilds-users/
FAQ - https://slackbuilds.org/faq/



[Slackbuilds-users] Scribus-1.4.6: build fails not finding freetype.h

2017-08-04 Thread Rich Shepard

  I'm trying to upgrade scribus from 1.4.4. to 1.4.6, but the build fails
here:

[  0%] Building CXX object
scribus/desaxe/CMakeFiles/scribus_desaxe_lib.dir/saxXML.cpp.o
[  0%] Building CXX object
scribus/desaxe/CMakeFiles/scribus_desaxe_lib.dir/saxiohelper.cpp.o
In file included from
/tmp/SBo/scribus-1.4.6/scribus/desaxe/saxiohelper.cpp:10:0:
/tmp/SBo/scribus-1.4.6/scribus/scfonts.h:19:23: fatal error: freetype.h: No
/ such file or directory
 #include FT_FREETYPE_H
   ^
compilation terminated.
make[2]: ***
[scribus/desaxe/CMakeFiles/scribus_desaxe_lib.dir/saxiohelper.cpp.o] Error 1
make[1]: *** [scribus/desaxe/CMakeFiles/scribus_desaxe_lib.dir/all] Error 2
make: *** [all] Error 2

  However, that header file is on the system
(/usr/include/freetype2/freetype.h) and, I assume, the build script is
looking for it in /usr/include/freetype/. I created a softlink so
/usr/include/freetype points to /usr/include/freetype2, but that's not
working. I see nothing in the build script where I can point to the
directory containing freetype.h.

  Please advise me how to remedy this situation.

TIA,

Rich
___
SlackBuilds-users mailing list
SlackBuilds-users@slackbuilds.org
https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
Archives - https://lists.slackbuilds.org/pipermail/slackbuilds-users/
FAQ - https://slackbuilds.org/faq/