remove lcms dependancy as NetSurf does not directaly use it.

The dependancy probbaly comes from our historical use of libmng,
even then the libmng pkg-config should bring it in.
This commit is contained in:
Vincent Sanders 2013-12-22 14:10:55 +00:00
parent c239a98dd9
commit 5a408069c9
4 changed files with 4 additions and 5 deletions

View File

@ -67,7 +67,7 @@
Debian-like OS:
$ apt-get install libgtk2.0-dev libcurl3-dev libmng-dev
$ apt-get install librsvg2-dev liblcms1-dev libjpeg-dev
$ apt-get install librsvg2-dev libjpeg-dev
If you want to build with gtk 3 replace libgtk2.0-dev with libgtk-3-dev
@ -85,7 +85,7 @@
Fedora:
$ yum install curl-devel libmng-devel
$ yum install librsvg2-devel lcms-devel expat-devel
$ yum install librsvg2-devel expat-devel
Other:

View File

@ -53,7 +53,7 @@ NS_BROWSER="netsurf"
# deb packages
NS_DEV_DEB="build-essential pkg-config git gperf"
NS_TOOL_DEB="flex bison"
NS_GTK_DEB="libgtk2.0-dev libcurl3-dev libmng-dev librsvg2-dev liblcms1-dev libjpeg-dev libmozjs-dev"
NS_GTK_DEB="libgtk2.0-dev libcurl3-dev libmng-dev librsvg2-dev libjpeg-dev libmozjs-dev"
#add target specific libraries
if [ "x${TARGET_ABI}" = "xriscos" ]; then

View File

@ -62,7 +62,6 @@ $(eval $(call pkg_config_find_and_add,libcurl,Curl ))
$(eval $(call pkg_config_find_and_add,gtk+-$(NETSURF_GTK_MAJOR).0,GTK-$(NETSURF_GTK_MAJOR)))
$(eval $(call pkg_config_find_and_add,gthread-2.0,GThread2))
$(eval $(call pkg_config_find_and_add,gmodule-2.0,GModule2))
$(eval $(call pkg_config_find_and_add,lcms,lcms))
CFLAGS += $(GTKCFLAGS)

View File

@ -47,7 +47,7 @@ MONKEYCFLAGS := -std=c99 -Dmonkey -Dnsmonkey \
$(shell $(PKG_CONFIG) --cflags openssl) \
$(shell xml2-config --cflags)
MONKEYLDFLAGS := -lm $(shell $(PKG_CONFIG) --cflags --libs glib-2.0 lcms)
MONKEYLDFLAGS := -lm
CFLAGS += $(MONKEYCFLAGS)