Revision: 6681
http://ipcop.svn.sourceforge.net/ipcop/?rev=6681&view=rev
Author: gespinasse
Date: 2012-07-03 06:12:23 +0000 (Tue, 03 Jul 2012)
Log Message:
-----------
Upgrade freetype to 2.4.10
Remove every configuration option not required, this mostly half reduce the
size.
Modified Paths:
--------------
ipcop/trunk/config/rootfiles/common/freetype
ipcop/trunk/lfs/freetype
ipcop/trunk/updates/2.1.0/ROOTFILES.i486-2.1.0
ipcop/trunk/updates/2.1.0/information.xml
ipcop/trunk/updates/2.1.0/setup
Modified: ipcop/trunk/config/rootfiles/common/freetype
===================================================================
--- ipcop/trunk/config/rootfiles/common/freetype 2012-07-01 08:02:22 UTC
(rev 6680)
+++ ipcop/trunk/config/rootfiles/common/freetype 2012-07-03 06:12:23 UTC
(rev 6681)
@@ -1,5 +1,3 @@
-## freetype-2.4.8
-##
#usr/bin/freetype-config
#usr/include/freetype2
#usr/include/freetype2/freetype
@@ -55,6 +53,6 @@
#usr/lib/libfreetype.la
#usr/lib/libfreetype.so
usr/lib/libfreetype.so.6
-usr/lib/libfreetype.so.6.8.0
+usr/lib/libfreetype.so.6.9.0
#usr/lib/pkgconfig/freetype2.pc
#usr/share/aclocal/freetype2.m4
Modified: ipcop/trunk/lfs/freetype
===================================================================
--- ipcop/trunk/lfs/freetype 2012-07-01 08:02:22 UTC (rev 6680)
+++ ipcop/trunk/lfs/freetype 2012-07-03 06:12:23 UTC (rev 6681)
@@ -33,7 +33,7 @@
include Config
PKG_NAME = freetype
-VER = 2.4.8
+VER = 2.4.10
HOST_ARCH = all
OTHER_SRC = yes
@@ -51,7 +51,7 @@
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
-$(DL_FILE)_MD5 = dbf2caca1d3afd410a29217a9809d397
+$(DL_FILE)_MD5 = 13286702e9390a91661f980608adaff1
install : $(TARGET)
@@ -82,11 +82,47 @@
@$(PREBUILD)
@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar jxf $(DIR_DL)/$(DL_FILE)
- cd $(DIR_APP) && sed -i -r 's:.*(#.*BYTE.*) .*:\1:'
include/freetype/config/ftoption.h
- cd $(DIR_APP) && ./configure --prefix=/usr \
- --disable-static
+ # configuration may have three stages
+ # 1 select modules in modules.cfg (look to have priority to next
ftoption.h)
+ # 2 select some option in include/freetype/config/ftoption.h
+ # (no more used as BYTECODE_INTERPRETER is now enabled by default since
that patent expired)
+ # subpixel rending patents still expire in 2019 according to wikipedia
+ # 3 ./configure
+
+ # Disabling modules reduce space, memory usage, reduce attack surface,
...
+ # Mostly remove other fonts support than truetype, but rrdtool is not
very modular with regard to cairo ps, svg, pdf options
+ # compressed font (gzip, lzw, bzip2) support is only for pcf fonts
+ # rddtool need ps support
+ # -e 's:FONT_MODULES.*type1:# &:'
+ # -e 's:HINTING_MODULES.*pshinter:# &:'
+ # -e 's:AUX_MODULES.*psaux:# &:'
+ # -e 's:AUX_MODULES.*psnames:# &:'
+ # pango want more ps
+ # -e 's:BASE_EXTENSIONS.*fttype1.c:# &:'
+
+ cd $(DIR_APP) && sed -i \
+ -e 's:FONT_MODULES.*cff:# &:' \
+ -e 's:FONT_MODULES.*cid:# &:' \
+ -e 's:FONT_MODULES.*pfr:# &:' \
+ -e 's:FONT_MODULES.*type42:# &:' \
+ -e 's:FONT_MODULES.*winfonts:# &:' \
+ -e 's:FONT_MODULES.*pcf:# &:' \
+ -e 's:FONT_MODULES.*bdf:# &:' \
+ -e 's:AUX_MODULES.*gzip:# &:' \
+ -e 's:AUX_MODULES.*lzw:# &:' \
+ -e 's:AUX_MODULES.*bzip2:# &:' \
+ -e 's: BASE_EXTENSIONS.*ftbdf.c:# &:' \
+ -e 's:BASE_EXTENSIONS.*ftcid.c:# &:' \
+ -e 's:BASE_EXTENSIONS.*ftfstype.c:# &:' \
+ -e 's:BASE_EXTENSIONS.*ftwinfnt.c:# &:' \
+ -e 's:BASE_EXTENSIONS.*ftxf86.c:# &:'
modules.cfg
+
+ # Disable compression as only pcf font use that.
+ # As a side effect, this correct 'gcc static flag -static works' test
on 2.4.10 and before. This test is fixed after 2.4.10
+ cd $(DIR_APP) && ./configure --prefix=/usr --disable-static
--without-bzip2 --without-zlib
cd $(DIR_APP) && make -j $(PARALLELISM)
cd $(DIR_APP) && make install
+ rm -f $(DIR_INFO)/$(STAGE_ORDER)_$(STAGE)/{libgd-*,fontconfig-*,cairo-*}
@rm -rf $(DIR_APP)
@$(POSTBUILD)
Modified: ipcop/trunk/updates/2.1.0/ROOTFILES.i486-2.1.0
===================================================================
--- ipcop/trunk/updates/2.1.0/ROOTFILES.i486-2.1.0 2012-07-01 08:02:22 UTC
(rev 6680)
+++ ipcop/trunk/updates/2.1.0/ROOTFILES.i486-2.1.0 2012-07-03 06:12:23 UTC
(rev 6681)
@@ -212,6 +212,10 @@
/usr/lib/libfontconfig.so.1
/usr/lib/libfontconfig.so.1.5.0
##
+## freetype-2.4.10
+/usr/lib/libfreetype.so.6
+/usr/lib/libfreetype.so.6.9.0
+##
## gawk-4.0.1
/usr/bin/awk
/usr/bin/gawk
Modified: ipcop/trunk/updates/2.1.0/information.xml
===================================================================
--- ipcop/trunk/updates/2.1.0/information.xml 2012-07-01 08:02:22 UTC (rev
6680)
+++ ipcop/trunk/updates/2.1.0/information.xml 2012-07-03 06:12:23 UTC (rev
6681)
@@ -9,7 +9,7 @@
Language updates.<br />
Upgrade acpid to 2.0.16, arping to 2.11, bash to 4.2.29, bind to
9.8.3-P1, conntrack-tools to 1.2.1, coreutils to 8.17,
dhcpcd to 5.5.6, dnsmasq to 2.62,
- e2fsprogs to 1.42.4, ethtool to 3.2, fontconfig to 2.9, gawk to
4.0.1, glib to 2.30.3,
+ e2fsprogs to 1.42.4, ethtool to 3.2, freetype to 2.4.10,
fontconfig to 2.9, gawk to 4.0.1, glib to 2.30.3,
gmp to 5.0.5, gnupg to 1.4.12, grep to 2.12, gzip to 1.5,
iproute2 to 3.4.0, iptables to 1.4.14, iw to 3.4 hdparm to 9.39,
kernel to 3.0.36, krb5 to 1.9.4,
libffi to 3.0.10, libgd to 2.0.36~rc1, libgcrypt to 1.5.0,
libnetfiltercontrack to 1.0.1, libnl to 3.2.11, libpng to 1.5.10,
Modified: ipcop/trunk/updates/2.1.0/setup
===================================================================
--- ipcop/trunk/updates/2.1.0/setup 2012-07-01 08:02:22 UTC (rev 6680)
+++ ipcop/trunk/updates/2.1.0/setup 2012-07-03 06:12:23 UTC (rev 6681)
@@ -121,6 +121,7 @@
/bin/rm -f /lib/libz.so.1.2.6
/bin/rm -f /usr/bin/gdlib-config
/bin/rm -f /usr/lib/libfontconfig.so.1.4.4
+/bin/rm -f /usr/lib/libfreetype.so.6.8.0
/bin/rm -f /usr/lib/libglib-2.0.so.0.2600.1
/bin/rm -f /usr/lib/libgmodule-2.0.so.0.2600.1
/bin/rm -f /usr/lib/libgobject-2.0.so.0.2600.1
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Ipcop-svn mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ipcop-svn