Skip to contentSkip to conversation

arch: remove support for sh64

PATCH New Gustavo Zacarias 2 participants 9 messages Sep 8, 2016 – Sep 9, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/6 arch: remove support for sh64

It's been deprecated for quite some time now.

---
 .defconfig                              |  1 -
 arch/Config.in                          | 12 +-----------
 arch/Config.in.sh                       |  3 +--
 linux/Config.in                         |  6 +++---
 package/fdk-aac/Config.in               |  4 ++--
 package/gauche/Config.in                |  2 +-
 package/gdb/Config.in                   |  4 ++--
 package/libunwind/Config.in             |  2 +-
 package/ruby/ruby.mk                    |  2 +-
 toolchain/toolchain-buildroot/Config.in |  4 ++--
 10 files changed, 14 insertions(+), 26 deletions(-)
.defconfig +0 -1
index 037647e..7ab0c3f 100644
@@ -15,7 +15,6 @@ BR2_i386=y
 # BR2_nios2 is not set
 # BR2_powerpc is not set
 # BR2_sh is not set
-# BR2_sh64 is not set
 # BR2_sparc is not set
 # BR2_sparc64 is not set
 # BR2_x86_64 is not set
arch/Config.in +1 -11
index 3caca15..df4db0b 100644
@@ -197,16 +197,6 @@ config BR2_sh
 	  http://www.hitachi.com/
 	  http://en.wikipedia.org/wiki/SuperH
 
-config BR2_sh64
-	bool "SuperH64"
-	depends on BR2_DEPRECATED_SINCE_2015_05
-	select BR2_ARCH_HAS_MMU_MANDATORY
-	help
-	  SuperH64 (or SH) is a 64-bit reduced instruction set computer (RISC)
-	  instruction set architecture (ISA) developed by Hitachi.
-	  http://www.hitachi.com/
-	  http://en.wikipedia.org/wiki/SuperH
-
 config BR2_sparc
 	bool "SPARC"
 	select BR2_ARCH_HAS_MMU_MANDATORY
@@ -396,7 +386,7 @@ if BR2_powerpc || BR2_powerpc64 || BR2_powerpc64le
 source "arch/Config.in.powerpc"
 endif
 
-if BR2_sh || BR2_sh64
+if BR2_sh
 source "arch/Config.in.sh"
 endif
 
arch/Config.in.sh +1 -2
index 1bdea37..4705212 100644
@@ -23,8 +23,7 @@ config BR2_ARCH
 	default "sh4eb"		if BR2_sh4eb
 	default "sh4a"		if BR2_sh4a
 	default "sh4aeb"	if BR2_sh4aeb
-	default "sh64"		if BR2_sh64
 
 config BR2_ENDIAN
-	default "LITTLE"	if BR2_sh4 || BR2_sh4a || BR2_sh64
+	default "LITTLE"	if BR2_sh4 || BR2_sh4a
 	default "BIG"		if BR2_sh2a || BR2_sh4eb || BR2_sh4aeb
linux/Config.in +3 -3
index 4b701a4..fd6b4b3 100644
@@ -179,7 +179,7 @@ config BR2_LINUX_KERNEL_UIMAGE
 	bool "uImage"
 	depends on BR2_arc || BR2_arm || BR2_armeb || BR2_bfin || \
 		   BR2_powerpc || BR2_powerpc64 || BR2_powerpc64le || \
-		   BR2_sh || BR2_sh64 || BR2_mips || BR2_mipsel || \
+		   BR2_sh || BR2_mips || BR2_mipsel || \
 		   BR2_mips64 || BR2_mips64el
 	select BR2_LINUX_KERNEL_UBOOT_IMAGE
 
@@ -198,7 +198,7 @@ config BR2_LINUX_KERNEL_ZIMAGE
 	bool "zImage"
 	depends on BR2_arm || BR2_armeb || BR2_powerpc || \
 		   BR2_powerpc64 || BR2_powerpc64le || BR2_sparc || \
-		   BR2_sh || BR2_sh64 || BR2_xtensa
+		   BR2_sh || BR2_xtensa
 
 config BR2_LINUX_KERNEL_ZIMAGE_EPAPR
 	bool "zImage.epapr"
@@ -235,7 +235,7 @@ config BR2_LINUX_KERNEL_LINUX_BIN
 
 config BR2_LINUX_KERNEL_VMLINUX_BIN
 	bool "vmlinux.bin"
-	depends on BR2_mips || BR2_mipsel || BR2_sh || BR2_sh64
+	depends on BR2_mips || BR2_mipsel || BR2_sh
 
 config BR2_LINUX_KERNEL_VMLINUX
 	bool "vmlinux"
package/fdk-aac/Config.in +2 -2
index 1ec59e1..9e18d22 100644
@@ -4,7 +4,7 @@ config BR2_PACKAGE_FDK_AAC
 	# These are the architectures supported by FDK AAC
 	depends on BR2_i386 || BR2_x86_64 || BR2_arm || BR2_armeb || \
 		   BR2_mips || BR2_mipsel || BR2_mips64 || BR2_mips64el || \
-		   BR2_powerpc || BR2_sh || BR2_sh64
+		   BR2_powerpc || BR2_sh
 
 	help
 	  The Fraunhofer FDK AAC Codec Library for Android ("FDK AAC Codec")
@@ -17,4 +17,4 @@ comment "fdk-aac needs a toolchain w/ C++"
 	depends on !BR2_INSTALL_LIBSTDCPP
 	depends on BR2_i386 || BR2_x86_64 || BR2_arm || BR2_armeb || \
 		   BR2_mips || BR2_mipsel || BR2_mips64 || BR2_mips64el || \
-		   BR2_powerpc || BR2_sh || BR2_sh64
+		   BR2_powerpc || BR2_sh
package/gauche/Config.in +1 -1
index 3ca012d..c5f2a51 100644
@@ -4,7 +4,7 @@ config BR2_PACKAGE_GAUCHE_ARCH_SUPPORTS
 	default y if BR2_arm || BR2_armeb || BR2_i386 || BR2_m68k || \
 		BR2_mips || BR2_mipsel || BR2_mips64 || \
 		BR2_mips64el || BR2_powerpc || BR2_powerpc64 || \
-		BR2_powerpc64le || BR2_sh || BR2_sh64 || BR2_x86_64
+		BR2_powerpc64le || BR2_sh || BR2_x86_64
 
 config BR2_PACKAGE_GAUCHE
 	bool "gauche"
package/gdb/Config.in +2 -2
index feab01d..809e02d 100644
@@ -40,10 +40,10 @@ config BR2_PACKAGE_GDB_DEBUGGER
 	bool "full debugger"
 	select BR2_PACKAGE_NCURSES
 	depends on BR2_USE_WCHAR
-	depends on !BR2_sh && !BR2_sh64 && !BR2_microblaze
+	depends on !BR2_sh && !BR2_microblaze
 
 comment "full gdb on target needs a toolchain w/ wchar"
-	depends on !BR2_sh && !BR2_sh64 && !BR2_microblaze
+	depends on !BR2_sh && !BR2_microblaze
 	depends on !BR2_USE_WCHAR
 
 if BR2_PACKAGE_GDB_DEBUGGER
package/libunwind/Config.in +1 -1
index 04ab5a5..5527a2b 100644
@@ -12,7 +12,7 @@ config BR2_PACKAGE_LIBUNWIND_ARCH_SUPPORTS
 	default y if BR2_TOOLCHAIN_USES_GLIBC && \
 		(((BR2_arm || BR2_armeb) && BR2_ARM_CPU_HAS_ARM) || \
 		 BR2_mips || BR2_mipsel || BR2_mips64 || \
-		 BR2_mips64el || BR2_powerpc || BR2_sh || BR2_sh64 || BR2_i386 || BR2_x86_64)
+		 BR2_mips64el || BR2_powerpc || BR2_sh || BR2_i386 || BR2_x86_64)
 	default y if BR2_TOOLCHAIN_USES_UCLIBC && \
 		(((BR2_arm || BR2_armeb) && BR2_ARM_CPU_HAS_ARM) || \
 		 BR2_i386 || BR2_mips || BR2_mipsel || \
package/ruby/ruby.mk +1 -1
index 3b8310c..f3f8047 100644
@@ -24,7 +24,7 @@ RUBY_CFLAGS = $(TARGET_CFLAGS)
 # With some SuperH toolchains (like Sourcery CodeBench 2012.09), ruby fails to
 # build with 'pcrel too far'. This seems to be caused by the -Os option we pass
 # by default. To fix the problem, use standard -O2 optimization instead.
-ifeq ($(BR2_sh)$(BR2_sh64),y)
+ifeq ($(BR2_sh),y)
 RUBY_CFLAGS += -O2
 endif
 RUBY_CONF_ENV = CFLAGS="$(RUBY_CFLAGS)"
toolchain/toolchain-buildroot/Config.in +2 -2
index 9fdfb42..8e275c2 100644
@@ -48,8 +48,8 @@ config BR2_TOOLCHAIN_BUILDROOT_GLIBC
 		   BR2_aarch64_be  || BR2_i386       || BR2_mips    || \
 		   BR2_mipsel      || BR2_mips64     || BR2_mips64el|| \
 		   BR2_powerpc     || BR2_powerpc64  || BR2_powerpc64le || \
-		   BR2_sh          || BR2_sh64       || BR2_sparc64 || \
-		   BR2_x86_64      || BR2_microblaze || BR2_nios2
+		   BR2_sh          || BR2_sparc64    || BR2_x86_64 || \
+		   BR2_microblaze || BR2_nios2
 	depends on BR2_USE_MMU
 	depends on !BR2_STATIC_LIBS
 	depends on !BR2_powerpc_SPE
Signature · 1 line
2.7.3
#1 lore raw

PATCH 2/6 Config.in: remove BR2_DEPRECATED_SINCE_2015_05

It's now unused.

---
 Config.in | 4 ----
 1 file changed, 4 deletions(-)
Config.in +0 -4
index e1c16c0..bea3323 100644
@@ -369,10 +369,6 @@ config BR2_DEPRECATED
 
 if BR2_DEPRECATED
 
-config BR2_DEPRECATED_SINCE_2015_05
-	bool
-	default y
-
 config BR2_DEPRECATED_SINCE_2015_08
 	bool
 	default y
Signature · 1 line
2.7.3
#2 lore raw

PATCH 3/6 webkit: remove deprecated package

In reply to Gustavo Zacarias

It's been deprecated for quite a while and it's now replaced by the more modern and up to date webkitgtk package.

---
 package/Config.in                                  |    1 -
 .../0001-build-fix-for-32-bit-autotools.patch      |   34 -
 .../webkit/0002-build-fix-for-gtklauncher.patch    |   51 -
 package/webkit/0003-detect-harfbuzz-icu.patch      |   28 -
 package/webkit/0004-disable-docrebase.patch        |   27 -
 package/webkit/0005-disable-tests.patch            |   80 --
 package/webkit/0006-execinfo_h.patch               |   20 -
 package/webkit/0007-mips-dfg.patch                 | 1490 --------------------
 package/webkit/0008-support-bison-3.0.patch        |   22 -
 package/webkit/Config.in                           |   53 -
 package/webkit/webkit.hash                         |    2 -
 package/webkit/webkit.mk                           |   72 -
 12 files changed, 1880 deletions(-)
 delete mode 100644 package/webkit/0001-build-fix-for-32-bit-autotools.patch
 delete mode 100644 package/webkit/0002-build-fix-for-gtklauncher.patch
 delete mode 100644 package/webkit/0003-detect-harfbuzz-icu.patch
 delete mode 100644 package/webkit/0004-disable-docrebase.patch
 delete mode 100644 package/webkit/0005-disable-tests.patch
 delete mode 100644 package/webkit/0006-execinfo_h.patch
 delete mode 100644 package/webkit/0007-mips-dfg.patch
 delete mode 100644 package/webkit/0008-support-bison-3.0.patch
 delete mode 100644 package/webkit/Config.in
 delete mode 100644 package/webkit/webkit.hash
 delete mode 100644 package/webkit/webkit.mk
package/Config.in +0 -1
index d4b3fe1..a14cd2e 100644
@@ -994,7 +994,6 @@ menu "Graphics"
 	source "package/tiff/Config.in"
 	source "package/wayland/Config.in"
 	source "package/wayland-protocols/Config.in"
-	source "package/webkit/Config.in"
 	source "package/webkitgtk/Config.in"
 	source "package/webkitgtk24/Config.in"
 	source "package/webp/Config.in"
package/webkit/0001-build-fix-for-32-bit-autotools.patch deleted +0 -34
deleted file mode 100644
index d7765ea..0000000
@@ -1,34 +0,0 @@
-Add missing symbol for WebCore::TextIterator::getLocationAndLengthFromRange
-
-Signed-off-by: Markos Chandras <[email protected]>
-
-From f5bb58f9096061f00c948e668335811d364ba360 Mon Sep 17 00:00:00 2001
-From: "kov at webkit.org" <[email protected]@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
-Date: Thu, 7 Feb 2013 13:48:46 +0000
-Subject: [PATCH] Unreviewed build fix after r141196 for 32 bits autotools.
-
-* Source/autotools/symbols.filter: restore 32 bits version of the
-WebCore::TextIterator::getLocationAndLengthFromRange(WebCore::Node*,
-WebCore::Range const*, unsigned int&, unsigned int&) symbol.
-
-git-svn-id: http://svn.webkit.org/repository/webkit/trunk at 142105 268f45cc-cd09-0410-ab3c-d52691b4dbfc
----
- ChangeLog                       | 8 ++++++++
- Source/autotools/symbols.filter | 1 +
- 2 files changed, 9 insertions(+)
-
-diff --git a/Source/autotools/symbols.filter b/Source/autotools/symbols.filter
-index 9d730b3..2edefaf 100644
---- a/Source/autotools/symbols.filter
-+++ b/Source/autotools/symbols.filter
-@@ -57,6 +57,7 @@ _ZN7WebCore11HistoryItem16setDocumentStateERKN3WTF6VectorINS1_6StringELj0EEE;
- _ZN7WebCore11HistoryItem16setDocumentStateERKN3WTF6VectorINS1_6StringELm0EEE;
- _ZN7WebCore11MemoryCache14resourceForURLERKNS_4KURLE;
- _ZN7WebCore12TextIterator26rangeFromLocationAndLengthEPNS_13ContainerNodeEiib;
-+_ZN7WebCore12TextIterator29getLocationAndLengthFromRangeEPNS_4NodeEPKNS_5RangeERjS6_;
- _ZN7WebCore12TextIterator29getLocationAndLengthFromRangeEPNS_4NodeEPKNS_5RangeERmS6_;
- _ZN7WebCore12PrintContext20pageNumberForElementEPNS_7ElementERKNS_9FloatSizeE;
- _ZN7WebCore13createWrapperEPN3JSC9ExecStateEPNS_17JSDOMGlobalObjectEPNS_4NodeE;
--- 
-1.8.3.2
-
package/webkit/0002-build-fix-for-gtklauncher.patch deleted +0 -51

51 lines not on this page · raw message

package/webkit/0003-detect-harfbuzz-icu.patch deleted +0 -28
deleted file mode 100644
index dc93c67..0000000
@@ -1,28 +0,0 @@
-harfbuzz-icu detections based on the following upstream commits
-
-- 5f3ae29ffb29c499c1825578ba7f3ffcbf1aa8b9
-- ad2a23ec44b692bde43a13b658990770caa8dfc5
-- 22b4786377142424bfb6562ff029997acd0846d1
-
-Signed-off-by: Markos Chandras <[email protected]>
-
-Index: webkit-1.11.5/configure.ac
-===================================================================
---- webkit-1.11.5.orig/configure.ac
-+++ webkit-1.11.5/configure.ac
-@@ -938,6 +938,15 @@ PKG_CHECK_MODULES([FREETYPE],
-                   freetype2 >= $FREETYPE2_REQUIRED_VERSION
-                   harfbuzz])
- fi
-+# HarfBuzz 0.9.18 splits harbuzz-icu into a separate library.
-+# Since we support earlier HarfBuzz versions we keep this conditional for now.
-+m4_define([harfbuzz_required_version], [0.9.7])
-+if $PKG_CONFIG --atleast-version 0.9.18 harfbuzz; then
-+	PKG_CHECK_MODULES([HARFBUZZ_ICU], [harfbuzz-icu >= $harfbuzz_required_version])
-+	FREETYPE_CFLAGS+=" $HARFBUZZ_ICU_CFLAGS"
-+	FREETYPE_LIBS+=" $HARFBUZZ_ICU_LIBS"
-+fi
-+
- AC_SUBST([FREETYPE_CFLAGS])
- AC_SUBST([FREETYPE_LIBS])
- 
package/webkit/0004-disable-docrebase.patch deleted +0 -27
deleted file mode 100644
index 2692d61..0000000
@@ -1,27 +0,0 @@
-This patch prevents documentation from being rebased or installed. This
-prevents an error when gtk-doc --rebase is called.
-
-Signed-off-by: Spenser Gilliland <[email protected]>
-Signed-off-by: Markos Chandras <[email protected]>
-
-Index: webkit-1.11.5/Tools/GNUmakefile.am
-===================================================================
---- webkit-1.11.5.orig/Tools/GNUmakefile.am
-+++ webkit-1.11.5/Tools/GNUmakefile.am
-@@ -308,6 +308,8 @@ EXTRA_DIST += \
- 	Tools/Scripts/webkit-build-directory \
- 	Tools/Scripts/webkitdirs.pm
- 
-+if ENABLE_GTK_DOC
-+
- docs: docs-build.stamp
- .PHONY : docs
- DISTCLEANFILES += docs-build.stamp
-@@ -412,7 +414,6 @@ if ENABLE_WEBKIT2
- 	rm -rf $${installdir}
- endif
- 
--if ENABLE_GTK_DOC
- all: docs-build.stamp
- endif
- 
package/webkit/0005-disable-tests.patch deleted +0 -80

80 lines not on this page · raw message

package/webkit/0006-execinfo_h.patch deleted +0 -20
deleted file mode 100644
index f5508a1..0000000
@@ -1,20 +0,0 @@
-Fixes uclibc build as uclibc does not include backtrace functionality
-
-Signed-of-by: Spenser Gilliland <[email protected]>
-Signed-of-by: Markos Chandras <[email protected]>
-
-Index: webkit-1.11.5/Source/WTF/wtf/Assertions.cpp
-===================================================================
---- webkit-1.11.5.orig/Source/WTF/wtf/Assertions.cpp
-+++ webkit-1.11.5/Source/WTF/wtf/Assertions.cpp
-@@ -61,8 +61,10 @@
- #if (OS(DARWIN) || (OS(LINUX) && !defined(__UCLIBC__))) && !OS(ANDROID)
- #include <cxxabi.h>
- #include <dlfcn.h>
-+#if !defined(__UCLIBC__)
- #include <execinfo.h>
- #endif
-+#endif
- 
- #if OS(ANDROID)
- #include "android/log.h"
package/webkit/0007-mips-dfg.patch deleted +0 -1490

1,490 lines not on this page · raw message

package/webkit/0008-support-bison-3.0.patch deleted +0 -22
deleted file mode 100644
index c081b20..0000000
@@ -1,22 +0,0 @@
-ANGLE doesn't build with bison 3.0
-
-Author: allan.jensen at digia.com
-?https://bugs.webkit.org/show_bug.cgi?id=119798
-Reviewed by Antti Koivisto.
-Make glslang.y compatible with bison 3.0, by using %lex-param
-to set YYLEX_PARAM and getting rid of useless YYID macro.
-
-From upstream: http://trac.webkit.org/changeset/154109
-[Arnout: adapted to our older webkit version]
-Signed-off-by: Arnout Vandecaeppelle (Essensium/Mind) <[email protected]>
----
-Index: trunk/Source/ThirdParty/ANGLE/src/compiler/glslang.y
-===================================================================
---- trunk/Source/ThirdParty/ANGLE/src/compiler/glslang.y	(revision 154108)
-+++ trunk/Source/ThirdParty/ANGLE/src/compiler/glslang.y	(revision 154109)
-@@ -48,4 +48,5 @@
- %pure-parser
- %parse-param {TParseContext* context}
-+%lex-param {YYLEX_PARAM}
- 
- %union {
package/webkit/Config.in deleted +0 -53

53 lines not on this page · raw message

package/webkit/webkit.hash deleted +0 -2
deleted file mode 100644
index 59a974d..0000000
@@ -1,2 +0,0 @@
-# locally computed
-sha256  51f808c96f52729dde6fb2b58752a6f623aeea74ff1ac6d4a1658720c6206fbe  webkitgtk-1.11.5.tar.xz
package/webkit/webkit.mk deleted +0 -72

72 lines not on this page · raw message

Signature · 1 line
2.7.3
#3 lore raw

PATCH 4/6 libgail: remove deprecated package

In reply to Gustavo Zacarias

It's unused and has been deprecated for some time now.

---
 package/Config.in                                 |  1 -
 package/libgail/0001-Relax-X11-dependencies.patch | 42 -----------------------
 package/libgail/Config.in                         | 31 -----------------
 package/libgail/libgail.hash                      |  2 --
 package/libgail/libgail.mk                        | 22 ------------
 5 files changed, 98 deletions(-)
 delete mode 100644 package/libgail/0001-Relax-X11-dependencies.patch
 delete mode 100644 package/libgail/Config.in
 delete mode 100644 package/libgail/libgail.hash
 delete mode 100644 package/libgail/libgail.mk
package/Config.in +0 -1
index a14cd2e..c965257 100644
@@ -959,7 +959,6 @@ menu "Graphics"
 	source "package/libfm-extra/Config.in"
 	source "package/libfreeglut/Config.in"
 	source "package/libfreeimage/Config.in"
-	source "package/libgail/Config.in"
 	source "package/libgdiplus/Config.in"
 	source "package/libgeotiff/Config.in"
 	source "package/libglade/Config.in"
package/libgail/0001-Relax-X11-dependencies.patch deleted +0 -42

42 lines not on this page · raw message

package/libgail/Config.in deleted +0 -31
deleted file mode 100644
index 821a922..0000000
@@ -1,31 +0,0 @@
-config BR2_PACKAGE_LIBGAIL
-	bool "libgail"
-	depends on BR2_USE_WCHAR # pango -> libglib2
-	depends on BR2_TOOLCHAIN_HAS_THREADS # pango -> libglib2
-	depends on BR2_USE_MMU # pango -> libglib2
-	depends on BR2_INSTALL_LIBSTDCPP # pango -> freetype
-	depends on BR2_TOOLCHAIN_HAS_SYNC_4 # pango -> harfbuzz
-	depends on BR2_PACKAGE_LIBGTK2
-	depends on BR2_DEPRECATED_SINCE_2015_08
-	select BR2_PACKAGE_PANGO
-	help
-	  GAIL provides accessibility support for gtk+ and
-	  libgnomecanvas by implementing AtkObjects for widgets in
-	  gtk+ and libgnomecanvas.
-
-	  The GAIL library is a GTK+ module. For example, if the
-	  module is loaded in a program which calls
-	  gtk_widget_get_accessible() for a GtkEntry an instance of
-	  GailEntry is returned. This module is normally used with the
-	  atk-bridge GTK+ module from at-spi to allow an assistive
-	  technology, e.g a screenreader, to query or drive the
-	  program.
-
-	  http://developer.gnome.org/projects/gap
-
-comment "libgail needs a toolchain w/ C++, wchar, threads"
-	depends on BR2_PACKAGE_LIBGTK2
-	depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS
-	depends on BR2_USE_MMU
-	depends on BR2_TOOLCHAIN_HAS_SYNC_4
-	depends on BR2_DEPRECATED_SINCE_2015_08
package/libgail/libgail.hash deleted +0 -2
deleted file mode 100644
index 5cfd752..0000000
@@ -1,2 +0,0 @@
-# From http://ftp.gnome.org/pub/gnome/sources/gail/1.22/gail-1.22.3.sha256sum
-sha256	03f03029277eb4f0e2c15a825fe716245d8647ede0435645475110289b059ae8	gail-1.22.3.tar.bz2
package/libgail/libgail.mk deleted +0 -22
deleted file mode 100644
index 4c5c868..0000000
@@ -1,22 +0,0 @@
-################################################################################
-#
-# libgail
-#
-################################################################################
-
-LIBGAIL_VERSION_MAJOR = 1.22
-LIBGAIL_VERSION = $(LIBGAIL_VERSION_MAJOR).3
-LIBGAIL_SOURCE = gail-$(LIBGAIL_VERSION).tar.bz2
-LIBGAIL_SITE = http://ftp.gnome.org/pub/gnome/sources/gail/$(LIBGAIL_VERSION_MAJOR)
-LIBGAIL_AUTORECONF = YES
-LIBGAIL_INSTALL_STAGING = YES
-LIBGAIL_LICENSE = LGPLv2+
-LIBGAIL_LICENSE_FILES = COPYING
-
-ifneq ($(BR2_PACKAGE_XLIB_LIBX11),y)
-LIBGAIL_CONF_OPTS += --disable-x
-endif
-
-LIBGAIL_DEPENDENCIES = host-pkgconf libgtk2 pango
-
-$(eval $(autotools-package))
Signature · 1 line
2.7.3
#4 lore raw

PATCH 5/6 linux-headers: remove deprecated versions

In reply to Gustavo Zacarias

Linux headers 3.19.x and 4.0.x have been deprecated for a while now, so it's time to remove them.

---
 Config.in.legacy                     | 20 ++++++++++++++++++++
 package/linux-headers/Config.in.host | 10 ----------
 2 files changed, 20 insertions(+), 10 deletions(-)
Config.in.legacy +20 -0
index 60d414b..b796904 100644
@@ -145,6 +145,26 @@ endif
 ###############################################################################
 comment "Legacy options removed in 2016.11"
 
+config BR2_KERNEL_HEADERS_4_0
+	bool "kernel headers version 4.0.x are no longer supported"
+	select BR2_KERNEL_HEADERS_4_1
+	select BR2_LEGACY
+	help
+	  Version 4.0.x of the Linux kernel headers have been deprecated
+	  for more than four buildroot releases and are now removed.
+	  As an alternative, version 4.1.x of the headers have been
+	  automatically selected in your configuration.
+
+config BR2_KERNEL_HEADERS_3_19
+	bool "kernel headers version 3.19.x are no longer supported"
+	select BR2_KERNEL_HEADERS_4_1
+	select BR2_LEGACY
+	help
+	  Version 3.19.x of the Linux kernel headers have been deprecated
+	  for more than four buildroot releases and are now removed.
+	  As an alternative, version 4.1.x of the headers have been
+	  automatically selected in your configuration.
+
 config BR2_PACKAGE_LIBEVAS_GENERIC_LOADERS
 	bool "libevas-generic-loaders package removed"
 	select BR2_LEGACY
package/linux-headers/Config.in.host +0 -10
index 9d8f030..7fea748 100644
@@ -56,16 +56,6 @@ choice
 		depends on !BR2_nios2
 		select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_18
 
-	config BR2_KERNEL_HEADERS_3_19
-		bool "Linux 3.19.x kernel headers"
-		depends on BR2_DEPRECATED_SINCE_2015_08
-		select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_19
-
-	config BR2_KERNEL_HEADERS_4_0
-		bool "Linux 4.0.x kernel headers"
-		depends on BR2_DEPRECATED_SINCE_2015_08
-		select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_0
-
 	config BR2_KERNEL_HEADERS_4_1
 		bool "Linux 4.1.x kernel headers"
 		select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_1
Signature · 1 line
2.7.3
#5 lore raw

PATCH 5/6 linux-headers: remove deprecated versions

Hello,

Quoted 14 lines · Gustavo Zacarias

Linux headers 3.19.x and 4.0.x have been deprecated for a while now, so it's time to remove them.

---
 Config.in.legacy                     | 20 ++++++++++++++++++++
 package/linux-headers/Config.in.host | 10 ----------
 2 files changed, 20 insertions(+), 10 deletions(-)
Config.in.legacy +0 -0
index 60d414b..b796904 100644

Config.in.legacy endif · line 150

Quoted 6 lines
Config.in.legacy +3 -0
@@ -145,6 +145,26 @@ endif
 ###############################################################################
 comment "Legacy options removed in 2016.11"
 
+config BR2_KERNEL_HEADERS_4_0
+	bool "kernel headers version 4.0.x are no longer supported"
+	select BR2_KERNEL_HEADERS_4_1

Wouldn't it be safer to select in this case the immediately older kernel header version that's still available?

Imagine the user is running a 4.0 kernel, and therefore has chosen 4.0 kernel headers. With your change, the toolchain will now be rebuilt with 4.1 kernel headers... while the user is running a 4.0 kernel. Not good.

Default to an older version seems safer to me.

What do you think?

Thanks,

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
#6 lore raw

PATCH 5/6 linux-headers: remove deprecated versions

Quoted 12 lines · Thomas Petazzoni

Config.in.legacy endif · line 150

Quoted 3 lines
Config.in.legacy +3 -0
+config BR2_KERNEL_HEADERS_4_0
+	bool "kernel headers version 4.0.x are no longer supported"
+	select BR2_KERNEL_HEADERS_4_1

Wouldn't it be safer to select in this case the immediately older kernel header version that's still available?

Imagine the user is running a 4.0 kernel, and therefore has chosen 4.0 kernel headers. With your change, the toolchain will now be rebuilt with 4.1 kernel headers... while the user is running a 4.0 kernel. Not good.

Quoted 7 lines

Default to an older version seems safer to me.

What do you think?

Thanks,

Thomas

Hi.
Indded, however it's been like this for ages and i was continuing the (likely wrong) tradition.
I can respin and send a follow-up patch that addresses the older retirements as well.
Regards.

#7 lore raw

PATCH 6/6 Config.in: remove BR2_DEPRECATED_SINCE_2015_08

In reply to Gustavo Zacarias

It's now unused.

---
 Config.in | 4 ----
 1 file changed, 4 deletions(-)
Config.in +0 -4
index bea3323..e614c8f 100644
@@ -369,10 +369,6 @@ config BR2_DEPRECATED
 
 if BR2_DEPRECATED
 
-config BR2_DEPRECATED_SINCE_2015_08
-	bool
-	default y
-
 config BR2_DEPRECATED_SINCE_2015_11
 	bool
 	default y
Signature · 1 line
2.7.3
#8 lore raw

PATCH 1/6 arch: remove support for sh64

In reply to Gustavo Zacarias

Hello,

Quoted 15 lines · Gustavo Zacarias

It's been deprecated for quite some time now.

---
 .defconfig                              |  1 -
 arch/Config.in                          | 12 +-----------
 arch/Config.in.sh                       |  3 +--
 linux/Config.in                         |  6 +++---
 package/fdk-aac/Config.in               |  4 ++--
 package/gauche/Config.in                |  2 +-
 package/gdb/Config.in                   |  4 ++--
 package/libunwind/Config.in             |  2 +-
 package/ruby/ruby.mk                    |  2 +-
 toolchain/toolchain-buildroot/Config.in |  4 ++--
 10 files changed, 14 insertions(+), 26 deletions(-)

I've applied patches 1, 2, 3, 4 and 6. I've left PATCH 5/6 on the side for now, I'll reply to it to explain why.

Thanks!

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com