Re: [fpc-pascal] Using Cairo lib on Linux without X

2015-04-08 Thread Juha Manninen
On Thu, Apr 9, 2015 at 1:26 AM, fredvs wrote: > Hum, from previous mail ;) => > > You may download src from => > => http://cairographics.org/releases/cairo-1.14.2.tar.xz > => unzip it. > => $ cd cairo-1.14.2 > => $ ./configure --disable-libX11 (or --disable-X11 ?) (or --enable-X11=no > ?) > => $ m

Re: [fpc-pascal] Using Cairo lib on Linux without X

2015-04-08 Thread fredvs
> Where is it? Hum, from previous mail ;) => You may download src from => => http://cairographics.org/releases/cairo-1.14.2.tar.xz => unzip it. => $ cd cairo-1.14.2 => $ ./configure --disable-libX11 (or --disable-X11 ?) (or --enable-X11=no ?) => $ make => $ sudo make install Fre;D - Ma

Re: [fpc-pascal] Using Cairo lib on Linux without X

2015-04-08 Thread waldo kitty
On 4/8/2015 1:40 PM, Juha Manninen wrote: On Wed, Apr 8, 2015 at 4:36 PM, fredvs wrote: Yep, usually i use sudo apt-get build-dep xxx but it does not work any more... I also have XUbuntu where I could run that command. It downloaded and installed many packages but I don't find the cairo sourc

Re: [fpc-pascal] Using Cairo lib on Linux without X

2015-04-08 Thread Juha Manninen
On Wed, Apr 8, 2015 at 4:36 PM, fredvs wrote: > Yep, usually i use sudo apt-get build-dep xxx but it does not work any > more... I also have XUbuntu where I could run that command. It downloaded and installed many packages but I don't find the cairo source directory. Where is it? Juha __

Re: [fpc-pascal] Using Cairo lib on Linux without X

2015-04-08 Thread Graeme Geldenhuys
On 2015-04-08 14:36, fredvs wrote: > Yep, usually i use sudo apt-get build-dep xxx but it does not work any > more... You guys should switch to FreeBSD (or PC-BSD for that matter). ;-) # cd /usr/ports/graphics/cairo # make config (to configure the features you want) # make

Re: [fpc-pascal] Using Cairo lib on Linux without X

2015-04-08 Thread fredvs
> $ sudo apt-get build-dep cairo > Interesting. That works in Ubuntu but not in Mint. > They are more and more distinct. Ooops, indeed, just try on my Mint 17 => E: Impossible to find source for cairo package... > I guess I must download the Cairo sources from somewhere before doing "cd > cairo

Re: [fpc-pascal] Using Cairo lib on Linux without X

2015-04-08 Thread Graeme Geldenhuys
On 2015-04-08 09:59, Juha Manninen wrote: > different API that I could not yet join it into our code which > currently uses PowerPDF. No worries. Maybe somebody will one day contribute an adapter class for a PowerPDF-to-fpGUI_PDF api. ;-) > I checked carefully the recent FPC trunk history using

Re: [fpc-pascal] Using Cairo lib on Linux without X

2015-04-08 Thread Juha Manninen
On Wed, Apr 8, 2015 at 1:21 AM, fredvs wrote: >> If you build the library from source, you can select >> various output streams during the configure script. > > => > > $ sudo apt-get build-dep cairo Interesting. That works in Ubuntu but not in Mint. They are more and more distinct. > $ cd cairo

Re: [fpc-pascal] Using Cairo lib on Linux without X

2015-04-08 Thread Juha Manninen
Thanks for answers everybody. On Tue, Apr 7, 2015 at 11:17 PM, Graeme Geldenhuys wrote: > Alternative for PDF generation, as I mentioned before to you I believe, > fpGUI includes a very good PDF report engine which could easily work > without depending on fpGUI or any GUI. Don't worry Graeme, I