diff options
author | Michael Weber <xmw@gentoo.org> | 2015-03-21 23:44:39 +0000 |
---|---|---|
committer | Michael Weber <xmw@gentoo.org> | 2015-03-21 23:44:39 +0000 |
commit | 1733defc66bb6259c61e486c29c3f71850ba3d72 (patch) | |
tree | 199c8b6171864340183d3e64addcb34cc3f2ba7b /dev-libs/libcss | |
parent | Version bump. Fix bug 525342. (diff) | |
download | gentoo-2-1733defc66bb6259c61e486c29c3f71850ba3d72.tar.gz gentoo-2-1733defc66bb6259c61e486c29c3f71850ba3d72.tar.bz2 gentoo-2-1733defc66bb6259c61e486c29c3f71850ba3d72.zip |
Version bump (bug 543846).
(Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key 62EEF090)
Diffstat (limited to 'dev-libs/libcss')
-rw-r--r-- | dev-libs/libcss/ChangeLog | 12 | ||||
-rw-r--r-- | dev-libs/libcss/files/libcss-0.1.2-enum-compare.patch | 145 | ||||
-rw-r--r-- | dev-libs/libcss/files/libcss-0.5.0-glibc2.20.patch | 17 | ||||
-rw-r--r-- | dev-libs/libcss/libcss-0.1.2.ebuild | 73 | ||||
-rw-r--r-- | dev-libs/libcss/libcss-0.2.0.ebuild | 20 | ||||
-rw-r--r-- | dev-libs/libcss/libcss-0.5.0.ebuild | 24 |
6 files changed, 51 insertions, 240 deletions
diff --git a/dev-libs/libcss/ChangeLog b/dev-libs/libcss/ChangeLog index 7382623f3c11..77354077c6ea 100644 --- a/dev-libs/libcss/ChangeLog +++ b/dev-libs/libcss/ChangeLog @@ -1,6 +1,14 @@ # ChangeLog for dev-libs/libcss -# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/libcss/ChangeLog,v 1.13 2014/11/15 12:45:44 xmw Exp $ +# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/libcss/ChangeLog,v 1.14 2015/03/21 23:44:39 xmw Exp $ + +*libcss-0.5.0 (21 Mar 2015) + + 21 Mar 2015; Michael Weber <xmw@gentoo.org> + +files/libcss-0.5.0-glibc2.20.patch, +libcss-0.5.0.ebuild, + -files/libcss-0.1.2-enum-compare.patch, -libcss-0.1.2.ebuild, + -libcss-0.2.0.ebuild: + Version bump (bug 543846). 15 Nov 2014; Michael Weber <xmw@gentoo.org> libcss-0.4.0.ebuild: tighten dependencies diff --git a/dev-libs/libcss/files/libcss-0.1.2-enum-compare.patch b/dev-libs/libcss/files/libcss-0.1.2-enum-compare.patch deleted file mode 100644 index 9a3ede78ce44..000000000000 --- a/dev-libs/libcss/files/libcss-0.1.2-enum-compare.patch +++ /dev/null @@ -1,145 +0,0 @@ ---- libcss-0.1.2/src/select/properties/helpers.c -+++ libcss-0.1.2/src/select/properties/helpers.c -@@ -52,10 +52,12 @@ - uint16_t value = CSS_BACKGROUND_COLOR_INHERIT; - css_color color = 0; - -- assert(CSS_BACKGROUND_COLOR_INHERIT == CSS_BORDER_COLOR_INHERIT); -- assert(CSS_BACKGROUND_COLOR_COLOR == CSS_BORDER_COLOR_COLOR); -+ assert(CSS_BACKGROUND_COLOR_INHERIT == -+ (enum css_background_color_e)CSS_BORDER_COLOR_INHERIT); -+ assert(CSS_BACKGROUND_COLOR_COLOR == -+ (enum css_background_color_e)CSS_BORDER_COLOR_COLOR); - assert(CSS_BACKGROUND_COLOR_CURRENT_COLOR == -- CSS_BORDER_COLOR_CURRENT_COLOR); -+ (enum css_background_color_e)CSS_BORDER_COLOR_CURRENT_COLOR); - - if (isInherit(opv) == false) { - switch (getValue(opv)) { ---- libcss-0.1.2/src/parse/important.c -+++ libcss-0.1.2/src/parse/important.c -@@ -101,9 +101,9 @@ - case CSS_PROP_BACKGROUND_COLOR: - case CSS_PROP_COLUMN_RULE_COLOR: - assert(BACKGROUND_COLOR_SET == -- BORDER_COLOR_SET); -+ (enum op_background_color)BORDER_COLOR_SET); - assert(BACKGROUND_COLOR_SET == -- COLUMN_RULE_COLOR_SET); -+ (enum op_background_color)COLUMN_RULE_COLOR_SET); - - if (value == BACKGROUND_COLOR_SET) - offset++; /* colour */ -@@ -113,10 +113,12 @@ - case CSS_PROP_CUE_AFTER: - case CSS_PROP_CUE_BEFORE: - case CSS_PROP_LIST_STYLE_IMAGE: -- assert(BACKGROUND_IMAGE_URI == CUE_AFTER_URI); -- assert(BACKGROUND_IMAGE_URI == CUE_BEFORE_URI); -+ assert(BACKGROUND_IMAGE_URI == -+ (enum op_background_image)CUE_AFTER_URI); -+ assert(BACKGROUND_IMAGE_URI == -+ (enum op_background_image)CUE_BEFORE_URI); - assert(BACKGROUND_IMAGE_URI == -- LIST_STYLE_IMAGE_URI); -+ (enum op_background_image)LIST_STYLE_IMAGE_URI); - - if (value == BACKGROUND_IMAGE_URI) - offset++; /* string table entry */ -@@ -141,9 +143,10 @@ - case CSS_PROP_BORDER_LEFT_WIDTH: - case CSS_PROP_OUTLINE_WIDTH: - case CSS_PROP_COLUMN_RULE_WIDTH: -- assert(BORDER_WIDTH_SET == OUTLINE_WIDTH_SET); -+ assert(BORDER_WIDTH_SET == -+ (enum op_border_width)OUTLINE_WIDTH_SET); - assert(BORDER_WIDTH_SET == -- COLUMN_RULE_WIDTH_SET); -+ (enum op_border_width)COLUMN_RULE_WIDTH_SET); - - if (value == BORDER_WIDTH_SET) - offset += 2; /* length + units */ -@@ -161,14 +164,14 @@ - case CSS_PROP_WIDTH: - case CSS_PROP_COLUMN_WIDTH: - case CSS_PROP_COLUMN_GAP: -- assert(BOTTOM_SET == LEFT_SET); -- assert(BOTTOM_SET == RIGHT_SET); -- assert(BOTTOM_SET == TOP_SET); -- assert(BOTTOM_SET == HEIGHT_SET); -- assert(BOTTOM_SET == MARGIN_SET); -- assert(BOTTOM_SET == WIDTH_SET); -- assert(BOTTOM_SET == COLUMN_WIDTH_SET); -- assert(BOTTOM_SET == COLUMN_GAP_SET); -+ assert(BOTTOM_SET == (enum op_bottom)LEFT_SET); -+ assert(BOTTOM_SET == (enum op_bottom)RIGHT_SET); -+ assert(BOTTOM_SET == (enum op_bottom)TOP_SET); -+ assert(BOTTOM_SET == (enum op_bottom)HEIGHT_SET); -+ assert(BOTTOM_SET == (enum op_bottom)MARGIN_SET); -+ assert(BOTTOM_SET == (enum op_bottom)WIDTH_SET); -+ assert(BOTTOM_SET == (enum op_bottom)COLUMN_WIDTH_SET); -+ assert(BOTTOM_SET == (enum op_bottom)COLUMN_GAP_SET); - - if (value == BOTTOM_SET) - offset += 2; /* length + units */ -@@ -231,7 +234,7 @@ - case CSS_PROP_COUNTER_INCREMENT: - case CSS_PROP_COUNTER_RESET: - assert(COUNTER_INCREMENT_NONE == -- COUNTER_RESET_NONE); -+ (enum op_counter_increment)COUNTER_RESET_NONE); - - while (value != COUNTER_INCREMENT_NONE) { - offset+=2; /* string + integer */ -@@ -276,7 +279,8 @@ - - case CSS_PROP_LETTER_SPACING: - case CSS_PROP_WORD_SPACING: -- assert(LETTER_SPACING_SET == WORD_SPACING_SET); -+ assert(LETTER_SPACING_SET == -+ (enum op_letter_spacing)WORD_SPACING_SET); - - if (value == LETTER_SPACING_SET) - offset += 2; /* length + units */ -@@ -296,7 +300,8 @@ - - case CSS_PROP_MAX_HEIGHT: - case CSS_PROP_MAX_WIDTH: -- assert(MAX_HEIGHT_SET == MAX_WIDTH_SET); -+ assert(MAX_HEIGHT_SET == -+ (enum op_max_height)MAX_WIDTH_SET); - - if (value == MAX_HEIGHT_SET) - offset += 2; /* length + units */ -@@ -311,11 +316,11 @@ - case CSS_PROP_PAUSE_AFTER: - case CSS_PROP_PAUSE_BEFORE: - case CSS_PROP_TEXT_INDENT: -- assert(MIN_HEIGHT_SET == MIN_WIDTH_SET); -- assert(MIN_HEIGHT_SET == PADDING_SET); -- assert(MIN_HEIGHT_SET == PAUSE_AFTER_SET); -- assert(MIN_HEIGHT_SET == PAUSE_BEFORE_SET); -- assert(MIN_HEIGHT_SET == TEXT_INDENT_SET); -+ assert(MIN_HEIGHT_SET == (enum op_min_height)MIN_WIDTH_SET); -+ assert(MIN_HEIGHT_SET == (enum op_min_height)PADDING_SET); -+ assert(MIN_HEIGHT_SET == (enum op_min_height)PAUSE_AFTER_SET); -+ assert(MIN_HEIGHT_SET == (enum op_min_height)PAUSE_BEFORE_SET); -+ assert(MIN_HEIGHT_SET == (enum op_min_height)TEXT_INDENT_SET); - - if (value == MIN_HEIGHT_SET) - offset += 2; /* length + units */ -@@ -331,10 +336,10 @@ - case CSS_PROP_RICHNESS: - case CSS_PROP_STRESS: - case CSS_PROP_WIDOWS: -- assert(ORPHANS_SET == PITCH_RANGE_SET); -- assert(ORPHANS_SET == RICHNESS_SET); -- assert(ORPHANS_SET == STRESS_SET); -- assert(ORPHANS_SET == WIDOWS_SET); -+ assert(ORPHANS_SET == (enum op_orphans)PITCH_RANGE_SET); -+ assert(ORPHANS_SET == (enum op_orphans)RICHNESS_SET); -+ assert(ORPHANS_SET == (enum op_orphans)STRESS_SET); -+ assert(ORPHANS_SET == (enum op_orphans)WIDOWS_SET); - - if (value == ORPHANS_SET) - offset++; /* value */ diff --git a/dev-libs/libcss/files/libcss-0.5.0-glibc2.20.patch b/dev-libs/libcss/files/libcss-0.5.0-glibc2.20.patch new file mode 100644 index 000000000000..e8c1e7decf21 --- /dev/null +++ b/dev-libs/libcss/files/libcss-0.5.0-glibc2.20.patch @@ -0,0 +1,17 @@ +--- libcss-0.5.0/Makefile ++++ libcss-0.5.0/Makefile +@@ -15,13 +15,7 @@ + WARNFLAGS := -Wall -W -Wundef -Wpointer-arith -Wcast-align \ + -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes \ + -Wmissing-declarations -Wnested-externs +-# BeOS/Haiku/AmigaOS4 standard library headers create warnings +-ifneq ($(HOST),i586-pc-haiku) +- ifneq ($(findstring amigaos,$(HOST)),amigaos) +- WARNFLAGS := $(WARNFLAGS) -Werror +- endif +-endif +-CFLAGS := -D_BSD_SOURCE -I$(CURDIR)/include/ \ ++CFLAGS := -D_DEFAULT_SOURCE -I$(CURDIR)/include/ \ + -I$(CURDIR)/src $(WARNFLAGS) $(CFLAGS) + ifneq ($(GCCVER),2) + CFLAGS := $(CFLAGS) -std=c99 diff --git a/dev-libs/libcss/libcss-0.1.2.ebuild b/dev-libs/libcss/libcss-0.1.2.ebuild deleted file mode 100644 index a3a2422b4ca1..000000000000 --- a/dev-libs/libcss/libcss-0.1.2.ebuild +++ /dev/null @@ -1,73 +0,0 @@ -# Copyright 1999-2013 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/libcss/libcss-0.1.2.ebuild,v 1.9 2013/06/17 17:10:34 xmw Exp $ - -EAPI=5 - -inherit eutils multilib toolchain-funcs - -DESCRIPTION="CSS parser and selection engine, written in C" -HOMEPAGE="http://www.netsurf-browser.org/projects/libcss/" -SRC_URI="http://download.netsurf-browser.org/libs/releases/${P}-src.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~arm" -IUSE="debug static-libs test" - -RDEPEND="dev-libs/libparserutils - dev-libs/libwapcaplet" -DEPEND="${RDEPEND} - virtual/pkgconfig - test? ( dev-lang/perl )" - -pkg_setup(){ - netsurf_src_prepare() { - sed -e "/^CCOPT :=/s:=.*:=:" \ - -e "/^CCNOOPT :=/s:=.*:=:" \ - -e "/^CCDBG :=/s:=.*:=:" \ - -i build/makefiles/Makefile.{gcc,clang} || die - sed -e "/^INSTALL_ITEMS/s: /lib: /$(get_libdir):g" \ - -i Makefile || die - sed -e "/^libdir/s:/lib:/$(get_libdir):g" \ - -i ${PN}.pc.in || die - } - netsurf_src_configure() { - echo "Q := " >> Makefile.config - echo "CC := $(tc-getCC)" >> Makefile.config - echo "AR := $(tc-getAR)" >> Makefile.config - } - - netsurf_make() { - emake COMPONENT_TYPE=lib-shared BUILD=$(usex debug debug release) "$@" - use static-libs && \ - emake COMPONENT_TYPE=lib-static BUILD=$(usex debug debug release) "$@" - } -} - -src_prepare() { - netsurf_src_prepare - - sed -e 's/x86_64-pc-linux-gnu-gcc/$(CC)/' \ - -i src/parse/properties/Makefile || die - - epatch "${FILESDIR}"/${P}-enum-compare.patch -} - -src_configure() { - netsurf_src_configure -} - -src_compile() { - netsurf_make -} - -src_test() { - netsurf_make test -} - -src_install() { - netsurf_make DESTDIR="${D}" PREFIX=/usr install - - dodoc README -} diff --git a/dev-libs/libcss/libcss-0.2.0.ebuild b/dev-libs/libcss/libcss-0.2.0.ebuild deleted file mode 100644 index e313b8961af3..000000000000 --- a/dev-libs/libcss/libcss-0.2.0.ebuild +++ /dev/null @@ -1,20 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/libcss/libcss-0.2.0.ebuild,v 1.3 2014/01/05 19:15:58 grobian Exp $ - -EAPI=5 - -inherit netsurf - -DESCRIPTION="CSS parser and selection engine, written in C" -HOMEPAGE="http://www.netsurf-browser.org/projects/libcss/" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~arm ~m68k-mint" -IUSE="test" - -RDEPEND=">=dev-libs/libparserutils-0.1.2[static-libs?,${MULTILIB_USEDEP}] - >=dev-libs/libwapcaplet-0.2.0[static-libs?,${MULTILIB_USEDEP}]" -DEPEND="${RDEPEND} - test? ( dev-lang/perl )" diff --git a/dev-libs/libcss/libcss-0.5.0.ebuild b/dev-libs/libcss/libcss-0.5.0.ebuild new file mode 100644 index 000000000000..023e94ddda7e --- /dev/null +++ b/dev-libs/libcss/libcss-0.5.0.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/libcss/libcss-0.5.0.ebuild,v 1.1 2015/03/21 23:44:39 xmw Exp $ + +EAPI=5 + +NETSURF_BUILDSYSTEM=buildsystem-1.3 +inherit netsurf + +DESCRIPTION="CSS parser and selection engine, written in C" +HOMEPAGE="http://www.netsurf-browser.org/projects/libcss/" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~m68k-mint" +IUSE="test" + +RDEPEND=">=dev-libs/libparserutils-0.2.1[static-libs?,${MULTILIB_USEDEP}] + >=dev-libs/libwapcaplet-0.2.2[static-libs?,${MULTILIB_USEDEP}]" +DEPEND="${RDEPEND} + virtual/pkgconfig + test? ( dev-lang/perl )" + +PATCHES=( "${FILESDIR}"/${P}-glibc2.20.patch ) |