Commit Graph

273 Commits

Author SHA1 Message Date
Vincent Sanders
a838fa3ee9 Improve split message generation
Changes the way message files are generated to be driven by make as
rules rather than from explicit macro calls causing their regeneration
every build.

A secondary benefit is that errors in message generation actually stop
the build instead of being ignored

Each frontend will require its filter settings updated to avoid
getting the default message filter of "any". Initially gtk has been
adapted as proof of concept.
2015-04-07 00:44:35 +01:00
Vincent Sanders
05c742df09 Improve the make target validation 2015-04-06 00:16:39 +01:00
Vincent Sanders
d3c4eb7363 Move some beos specific make rules into its MAkefile.target 2015-04-05 14:53:59 +01:00
Vincent Sanders
2f2a73beea Move some RISc OS specific Makefile rules into its Makefile.target 2015-04-05 14:52:45 +01:00
Vincent Sanders
9d6ab0475f allow the strip command to be overridden from the comamndline
Closes #2208
2015-03-22 17:39:11 +00:00
Vincent Sanders
8e60d32831 remove some warnings from freebsd build 2014-12-21 02:01:45 +00:00
Vincent Sanders
79d5b1bf3b stop using gettimeofday and use the monotonic time interface fron nsutils 2014-11-26 21:29:13 +00:00
Vincent Sanders
099cb80175 add pkg-config to beos build 2014-11-14 22:30:30 +00:00
Vincent Sanders
97759f62af USe the externally built conveniance utf8proc library 2014-11-14 13:46:08 +00:00
Vincent Sanders
d204d6d555 Clean up saving as PDF
This removes the global PDF_Password interface that had completely
bitrotted and moves it into the standard misc operation table with a
sensible defualt implementation.

This also cleans up and fixes the gtk frontend implementation of the
pdf password callback so it compiles.

Finally this moves the implementation to a sensible place alongside
the other exporters reducing target makefile complexity futher.
2014-10-26 23:53:14 +00:00
Vincent Sanders
9cc610c5ee fix copyright year for beos build 2014-09-07 00:28:19 +01:00
Vincent Sanders
4f530a3f8f Pull warning flags out into variables that can be overriden seperately for C and C++ 2014-09-05 16:01:44 +01:00
Vincent Sanders
58c2ca0624 OpenBSD system headers are not compatible with redundant declaration warning so remove on that OS 2014-09-03 18:24:44 +01:00
Vincent Sanders
56b42943d0 improve iconv library handling 2014-04-30 11:56:57 +01:00
Vincent Sanders
b7b3496a78 move testament output to object directory instead of modifying source 2014-04-08 11:41:58 +01:00
Vincent Sanders
f7916866e3 remove all references to using libMNG 2014-01-04 17:07:11 +00:00
Vincent Sanders
d34f03e69e add framebuffer cross compiling support 2013-05-12 20:41:50 +01:00
Vincent Sanders
d2d04824cf add transifex message file integration 2013-05-07 22:52:30 +01:00
Vincent Sanders
98369b74e2 fixup message splitting with updated tool 2013-05-02 09:24:18 +01:00
Vivek Dasmohapatra
820767e417 Improve the message split script to allow alternate output formats 2013-05-01 11:45:09 +01:00
Vincent Sanders
1dd8601e3f Ensure split messages are cleaned up 2013-04-28 22:09:03 +01:00
Daniel Silverstone (parasomnia chroot)
78149141f9 all-program now splits fatmessages for generic in-tree execution 2013-04-10 23:24:49 +01:00
François Revol
15cb6886f2 beos: update copyright years in the version info 2013-03-21 22:55:08 +01:00
Vincent Sanders
95e726c7cc split sources lists out to their subdirectories as first step towards using core buildsystem 2013-03-11 17:53:52 +00:00
Vincent Sanders
484fa8b110 move common include path setup to core Makefile 2012-12-20 15:27:07 +00:00
Vincent Sanders
8685336e2d remove redundant compiler version override 2012-12-14 11:43:23 +00:00
Vincent Sanders
6582b4e075 fix change to CC_MAJOR for beos 2012-12-14 11:30:14 +00:00
Vincent Sanders
7c5f9ed8cd make the Make rules for compiler versioning be more portable with fewer shell calls 2012-12-14 10:53:43 +00:00
Vincent Sanders
4448722425 allow flags to be selected based on compiler version 2012-12-13 19:27:16 +00:00
Vincent Sanders
fa6e1379d0 move the cut n pasted -Wuninitialized from Makefile.config alongside
all the other warning flags in the standard location
2012-12-13 17:49:27 +00:00
Vincent Sanders
16d67095a6 add pkg-config macro for libraries which are not controled by configuration 2012-12-13 17:23:47 +00:00
Vincent Sanders
45906b9dc2 make macro name more correct 2012-12-13 16:31:05 +00:00
Vincent Sanders
5a5451a0c5 make monkey target take notice of GCCSDK_INSTALL_ENV and
GCCSDK_INSTALL_CROSSBIN environment values
2012-12-13 15:35:01 +00:00
Vincent Sanders
8698245ad2 use g++ to link on riscos 2012-12-10 11:38:52 +00:00
Adrien Destugues - PulkoMandy
eb28188661 Update the BeOS/Haiku port
* Toolbar use HVIF icons on Haiku
* Download window
* Some tweaks to the event loop to let network traffic happen

Signed-off-by: François Revol <revol@free.fr>
2012-11-24 21:39:40 +01:00
Rob Kendrick (humdrum)
b736ea73d4 Create directories before compiling templates. I do not understand why this isn't a problem for Jenkins. 2012-11-06 14:56:30 +00:00
Daniel Silverstone
25f0bcbaee Fix it so that the JSAPI bindings are rebuilt if sources are touched 2012-11-04 16:57:41 +00:00
Rob Kendrick (fatigue)
df088a4ba9 Try to compress the messages files 2012-11-04 11:20:08 +00:00
Rob Kendrick (fatigue)
ef5c8c21a6 Allow suffix on language split macro destination 2012-11-03 14:31:54 +00:00
Rob Kendrick (fatigue)
cf8b05fe0f Have FatMessages macro mkdir -p the destination directory, and have Amiga front end use macro 2012-11-03 14:03:34 +00:00
Rob Kendrick (monotony)
118b03a786 Add a macro to split and install messages files, and have gtk front end use it. 2012-11-03 11:16:33 +00:00
Chris Young
6be1ba6097 auto-detect cairo 2012-10-13 20:45:51 +01:00
Michael Drake
2c05bc55c5 Set SQUEEZE variable. 2012-10-07 20:40:01 +01:00
Vincent Sanders
e237ebac8f Split install and package targets.
Install target is for installing on the local machine and package generates a package
2012-08-23 11:46:31 +01:00
Vincent Sanders
d9799299f8 make ccache detection more portable 2012-08-20 18:46:47 +01:00
Vincent Sanders
2b9a8d13c8 enable ccache where available 2012-08-20 18:09:16 +01:00
Vincent Sanders
3faaff91ac change to use netsurf toolchain build 2012-07-23 21:12:19 +01:00
John-Mark Bell
ae7d114101 Plumbing for Atari cross-compilation 2012-07-20 16:30:12 +01:00
Rob Kendrick (monotony)
44f448b7c0 Remove file-by-file gzipping of GTK UI files, always copy all of them.
Everybody always forgets to update this anyway, so just copy them all.
This also means we're no longer gzipping them, so they're quite fat
on disk (515kB or so).  Also also, we're copying both GTK2 and GTK3
UI files when only one set will ever be used, but I can't think of
a nice way of the Makefile deciding which set to copy at the moment.
2012-07-01 08:03:32 +01:00
Vincent Sanders
bc664042c4 remove junk blank page resource
svn path=/trunk/netsurf/; revision=13959
2012-06-10 14:51:40 +00:00
Daniel Silverstone
0437f81c55 Testament generation now supports git
svn path=/trunk/netsurf/; revision=13946
2012-06-04 15:48:21 +00:00
François Revel
839c4aef8a Fix errors when installing multiple times due to cp failing on .svn directories.
svn path=/trunk/netsurf/; revision=13859
2012-04-12 18:38:10 +00:00
Vincent Sanders
561d6613dd set default pkg-config path on Mac OS X to make default build work
svn path=/trunk/netsurf/; revision=12907
2011-09-28 16:01:06 +00:00
Vincent Sanders
cd554e6f1e make image content handlers build conditional from teh makefile
svn path=/trunk/netsurf/; revision=12673
2011-08-28 14:29:15 +00:00
François Revel
d5e27b2850 Remove debug output.
svn path=/trunk/netsurf/; revision=12308
2011-05-08 01:18:43 +00:00
François Revel
4ebb145a7d Automatically build an rdef file importing the resources listed as dependencies for BeOS.
svn path=/trunk/netsurf/; revision=12306
2011-05-08 01:03:44 +00:00
Vincent Sanders
dc0cbe8dcd fix pkgconf error when called for clean target
svn path=/trunk/netsurf/; revision=12218
2011-04-22 10:17:00 +00:00
John Mark Bell
a729299ab5 Rudimentary sanitisation of uname -s
svn path=/trunk/netsurf/; revision=12217
2011-04-22 09:00:24 +00:00
Daniel Silverstone
15760b0960 Try encouraging the auto-build of testament a little harder
svn path=/trunk/netsurf/; revision=12122
2011-03-22 12:04:02 +00:00
Michael Drake
603de48f10 Install new resources too.
svn path=/trunk/netsurf/; revision=12087
2011-03-17 10:30:42 +00:00
Michael Drake
9c71edb961 Update gtk install target.
svn path=/trunk/netsurf/; revision=12086
2011-03-17 10:26:59 +00:00
Chris Young
c615507e15 Set version using testament.h instead of old ARexx script
svn path=/trunk/netsurf/; revision=12028
2011-03-13 17:32:00 +00:00
John Mark Bell
37f17e4d73 Use $(CURDIR) instead of $(shell pwd)
svn path=/trunk/netsurf/; revision=12021
2011-03-13 12:07:24 +00:00
Daniel Silverstone
cc18b5f21e Initial testament functionality
svn path=/trunk/netsurf/; revision=12020
2011-03-13 11:59:20 +00:00
Daniel Silverstone
8bca12a29e Ensure we rm the object before attempting compile. Prevents make -j from falsely attempting a link
svn path=/trunk/netsurf/; revision=11971
2011-03-12 17:13:42 +00:00
Daniel Silverstone
7e85d15cb6 Add a deaf monkey frontend. TODO: Make it listen
svn path=/trunk/netsurf/; revision=11968
2011-03-12 15:08:07 +00:00
John Mark Bell
3711c125f5 Hackery for amiga/version.c in cross-compiled builds.
It's not clear how the cleanup stuff for this ever worked

svn path=/trunk/netsurf/; revision=11958
2011-03-09 22:40:09 +00:00
John Mark Bell
ac1ecacb1b Buildsystem hackery to support cross compiling for AmigaOS4
svn path=/trunk/netsurf/; revision=11952
2011-03-09 21:32:54 +00:00
John Mark Bell
45f29cba26 Fix install-gtk some more
svn path=/trunk/netsurf/; revision=11884
2011-03-02 13:49:07 +00:00
John Mark Bell
91562e8158 Fix install-gtk
svn path=/trunk/netsurf/; revision=11883
2011-03-02 13:27:02 +00:00
John Mark Bell
c873d789dc Tool defaults for windows host
svn path=/trunk/netsurf/; revision=11458
2011-01-23 00:32:57 +00:00
John Mark Bell
9ccb9227c8 Rudimentary msys support
svn path=/trunk/netsurf/; revision=11457
2011-01-23 00:20:20 +00:00
François Revel
6d1169e92d Add the required makefile stuff to build NetSurf for OSX using 'make cocoa' in trunk/. Crashes for now though. Requires some libs installed with macports to /opt/local.
svn path=/trunk/netsurf/; revision=11380
2011-01-19 01:36:21 +00:00
John Mark Bell
124e4cd788 Atari frontend (credit: Ole Loots)
svn path=/trunk/netsurf/; revision=11218
2011-01-05 21:02:22 +00:00
John Mark Bell
26a8af2cbc Look for toolchain in /opt/netsurf/arm-unknown-riscos/cross/bin in preference to /home/riscos/cross/bin
svn path=/trunk/netsurf/; revision=11189
2011-01-03 21:10:15 +00:00
John Mark Bell
ba89b95888 Flag a todo
svn path=/trunk/netsurf/; revision=11162
2010-12-30 01:55:20 +00:00
John Mark Bell
79997efe4b Default toolchain location is /opt/netsurf/...
svn path=/trunk/netsurf/; revision=11160
2010-12-30 01:47:27 +00:00
John Mark Bell
2d7144103c First cut at cross compilation support for the Amiga frontend
svn path=/trunk/netsurf/; revision=11149
2010-12-29 21:26:45 +00:00
Rob Kendrick
5285df8c33 Remove last remnants of Aliases
svn path=/trunk/netsurf/; revision=11003
2010-12-05 15:08:52 +00:00
Vincent Sanders
802f58f10d Futher simplification of the makefile
Use target makefiles to set build sources

svn path=/trunk/netsurf/; revision=10916
2010-10-29 00:54:27 +00:00
Vincent Sanders
72cf3adc78 Beginning of NetSurf build infrastructure cleanup
Provide makefile fragment for each target, isolates the target makefile changes into one place simplifying the top level makefile

svn path=/trunk/netsurf/; revision=10910
2010-10-27 18:39:24 +00:00
Chris Young
b0da0e5067 Fix WebP images for little-endian processors, and enable for gtk build.
Direct links work, images embedded in web pages are not showing up -
test page at http://www.unsatisfactorysoftware.co.uk/netsurf/webptest/

svn path=/trunk/netsurf/; revision=10886
2010-10-16 13:50:35 +00:00
Vincent Sanders
83e6c1ba57 fix bitmap plotting
svn path=/trunk/netsurf/; revision=10882
2010-10-13 20:29:30 +00:00
Vincent Sanders
84a0a62988 Clean up framebuffer compile time font selection
Make framebuffer font documentation match reality
Expose glyph cache size as a configuration option

svn path=/trunk/netsurf/; revision=10871
2010-10-07 23:56:36 +00:00
Chris Young
c0b63c111b WebP image support, needs libwebp (from trunk/libwebp) and libvpx.
Only enabled for Amiga build currently, may have colour issues on little-endian CPUs

svn path=/trunk/netsurf/; revision=10860
2010-10-03 20:41:31 +00:00
Chris Young
40a530e99e Fix OS4 static (non-Cairo) build
svn path=/trunk/netsurf/; revision=10808
2010-09-21 17:58:30 +00:00
John Mark Bell
fe750bd008 Fix GTK install target (note: .svn directories end up in the installed tree. This needs fixing)
svn path=/trunk/netsurf/; revision=10716
2010-08-26 19:05:24 +00:00
John Mark Bell
7cda4fa7bc Amiga host support for framebuffer target (credit: Ole Loots)
svn path=/trunk/netsurf/; revision=10578
2010-06-21 07:26:06 +00:00
John Mark Bell
cd3f5bbf4b Fix compilation on OpenBSD (credit: Anthony Bentley)
svn path=/trunk/netsurf/; revision=10572
2010-06-13 10:58:13 +00:00
Chris Young
915cc68201 Fix OS4 non-Cairo build
svn path=/trunk/netsurf/; revision=10565
2010-06-06 13:52:35 +00:00
Chris Young
048249f71d Build libparserutils (and NetSurf) against libiconv instead of newlib's iconv.
This fixes the bug with lpu's iconv filter causing freezing on OS4 NetSurf.  With an
appropriate font (eg. Bitstream Cyberbit) Japanese characters will now display.
Test websites work, but proper Japanese websites cause an assert which may be caused
by amiga/font.c incorrect text size calculations.

svn path=/trunk/netsurf/; revision=10546
2010-05-03 17:58:17 +00:00
Chris Young
8f9677dfa8 Allow building of AmigaOS4 Cairo and non-Cairo versions of NetSurf in same source tree
svn path=/trunk/netsurf/; revision=10544
2010-05-03 17:12:32 +00:00
Chris Young
6e0f8d9a48 Ensure we are using the libpng 1.2 includes, as OS4 Cairo is using a deprecated
function which does not exist in libpng 1.4.

svn path=/trunk/netsurf/; revision=10543
2010-05-03 15:12:06 +00:00
Chris Young
5112f058c6 Tweak for OS4.1 Update 2
svn path=/trunk/netsurf/; revision=10532
2010-04-30 18:47:25 +00:00
John Mark Bell
c9a05dc4c4 Install missing GTK resources
svn path=/trunk/netsurf/; revision=10437
2010-04-19 20:54:29 +00:00
John Mark Bell
a364888ed2 Fix preprocessor definition for svgtiny
svn path=/trunk/netsurf/; revision=10358
2010-04-11 15:11:32 +00:00
Michael Drake
eae4845015 Format build config output into columns. Only tested native RISC OS build and native GTK and framebuffer builds on Linux.
svn path=/trunk/netsurf/; revision=10255
2010-04-06 18:53:13 +00:00
James Bursa
fde385fbf3 Attempt to make the config messages clearer. Add auto-detection of libsvgtiny option to gtk build.
svn path=/trunk/netsurf/; revision=10253
2010-04-06 16:25:51 +00:00
Michael Drake
79a37090a2 More GTK install resources.
svn path=/trunk/netsurf/; revision=10043
2010-02-13 20:46:37 +00:00
Rob Kendrick
b23ca72421 Don't gzip SearchEngines on installation
svn path=/trunk/netsurf/; revision=10040
2010-02-13 19:06:32 +00:00