Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/3] exfat: bump to version 1.2.1
@ 2015-10-19 21:38 Gustavo Zacarias
  2015-10-19 21:38 ` [Buildroot] [PATCH 2/3] exfat-utils: " Gustavo Zacarias
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Gustavo Zacarias @ 2015-10-19 21:38 UTC (permalink / raw)
  To: buildroot

Switch to github homepage and site.
Package is now autotools-based.
musl tweak no longer required.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
---
 package/exfat/Config.in  |  2 +-
 package/exfat/exfat.hash |  4 ++--
 package/exfat/exfat.mk   | 27 ++++-----------------------
 3 files changed, 7 insertions(+), 26 deletions(-)

diff --git a/package/exfat/Config.in b/package/exfat/Config.in
index 575f389..c0b4eab 100644
--- a/package/exfat/Config.in
+++ b/package/exfat/Config.in
@@ -9,7 +9,7 @@ config BR2_PACKAGE_EXFAT
 	  A full-featured exFAT file system implementation for GNU/Linux
 	  and other Unix-like systems as a FUSE module.
 
-	  http://code.google.com/p/exfat/
+	  https://github.com/relan/exfat
 
 comment "exfat needs a toolchain w/ wchar, threads, dynamic library"
 	depends on BR2_USE_MMU
diff --git a/package/exfat/exfat.hash b/package/exfat/exfat.hash
index bfaca6e..af67785 100644
--- a/package/exfat/exfat.hash
+++ b/package/exfat/exfat.hash
@@ -1,2 +1,2 @@
-# From https://code.google.com/p/exfat/wiki/Downloads?tm=2
-sha1	060560f74dbce4dc947c7e658e75fdf339bc10ff	fuse-exfat-1.1.0.tar.gz
+# Locally calculated
+sha256	f444cd2849295b8de7fc61022fbf02f5bb1a84790c43f0c75ba3bf96f4619dd4	fuse-exfat-1.2.1.tar.gz
diff --git a/package/exfat/exfat.mk b/package/exfat/exfat.mk
index 5508ec3..cc474a7 100644
--- a/package/exfat/exfat.mk
+++ b/package/exfat/exfat.mk
@@ -4,31 +4,12 @@
 #
 ################################################################################
 
-EXFAT_VERSION = 1.1.0
-EXFAT_SITE = http://distfiles.gentoo.org/distfiles
+EXFAT_VERSION = 1.2.1
+EXFAT_SITE = https://github.com/relan/exfat/releases/download/v$(EXFAT_VERSION)
 EXFAT_SOURCE = fuse-exfat-$(EXFAT_VERSION).tar.gz
-EXFAT_DEPENDENCIES = host-scons libfuse
+EXFAT_DEPENDENCIES = libfuse host-pkgconf
 EXFAT_LICENSE = GPLv3+
 EXFAT_LICENSE_FILES = COPYING
 EXFAT_CFLAGS = $(TARGET_CFLAGS) -std=c99
 
-# The endianness handling functions in platform.h are protected behind
-# ifdef __GLIBC__ which musl doesn't define even though it does
-# provide the endianness handling interface. Work around it by
-# ensuring __GLIBC__ is defined.
-ifeq ($(BR2_TOOLCHAIN_USES_MUSL),y)
-EXFAT_CFLAGS += -D__GLIBC__
-endif
-
-define EXFAT_BUILD_CMDS
-	(cd $(@D); \
-		$(TARGET_CONFIGURE_OPTS) CCFLAGS="$(EXFAT_CFLAGS)" $(SCONS))
-endef
-
-define EXFAT_INSTALL_TARGET_CMDS
-	(cd $(@D); \
-		$(TARGET_CONFIGURE_OPTS) CCFLAGS="$(EXFAT_CFLAGS)" $(SCONS) \
-		DESTDIR=$(TARGET_DIR)/usr/sbin install)
-endef
-
-$(eval $(generic-package))
+$(eval $(autotools-package))
-- 
2.4.10

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [Buildroot] [PATCH 2/3] exfat-utils: bump to version 1.2.1
  2015-10-19 21:38 [Buildroot] [PATCH 1/3] exfat: bump to version 1.2.1 Gustavo Zacarias
@ 2015-10-19 21:38 ` Gustavo Zacarias
  2015-10-19 21:38 ` [Buildroot] [PATCH 3/3] unionfs: bump to version 1.0 Gustavo Zacarias
  2015-10-20  8:02 ` [Buildroot] [PATCH 1/3] exfat: bump to version 1.2.1 Thomas Petazzoni
  2 siblings, 0 replies; 4+ messages in thread
From: Gustavo Zacarias @ 2015-10-19 21:38 UTC (permalink / raw)
  To: buildroot

Switch to github homepage and site.
Package is now autotools-based.
libc patch no longer required.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
---
 .../0001-fix-compiling-with-non-glibc-libcs.patch  | 26 ----------------------
 package/exfat-utils/Config.in                      |  2 +-
 package/exfat-utils/exfat-utils.hash               |  4 ++--
 package/exfat-utils/exfat-utils.mk                 | 18 +++------------
 4 files changed, 6 insertions(+), 44 deletions(-)
 delete mode 100644 package/exfat-utils/0001-fix-compiling-with-non-glibc-libcs.patch

diff --git a/package/exfat-utils/0001-fix-compiling-with-non-glibc-libcs.patch b/package/exfat-utils/0001-fix-compiling-with-non-glibc-libcs.patch
deleted file mode 100644
index d280040..0000000
--- a/package/exfat-utils/0001-fix-compiling-with-non-glibc-libcs.patch
+++ /dev/null
@@ -1,26 +0,0 @@
-[PATCH] fix compilation when libc does not define __GLIBC__
-
-libexfat would only compile on Linux with __GLIBC__ defined. Changed
-to use __linux__ which likely better fits the original intent.
-
-Upstream status: applied.
-See https://groups.google.com/forum/#!topic/exfat/8g3yumqrf1A.
-
-Signed-off-by: Brendan Heading <brendanheading@gmail.com>
----
- platform.h |    2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-Index: libexfat/libexfat/platform.h
-===================================================================
---- libexfat/libexfat/platform.h	(revision 422)
-+++ libexfat/libexfat/platform.h	(working copy)
-@@ -24,7 +24,7 @@
- #ifndef PLATFORM_H_INCLUDED
- #define PLATFORM_H_INCLUDED
- 
--#if defined(__GLIBC__)
-+#if defined(__linux__)
- 
- #include <endian.h>
- #include <byteswap.h>
diff --git a/package/exfat-utils/Config.in b/package/exfat-utils/Config.in
index aedff5f..9dfbbfc 100644
--- a/package/exfat-utils/Config.in
+++ b/package/exfat-utils/Config.in
@@ -4,7 +4,7 @@ config BR2_PACKAGE_EXFAT_UTILS
 	help
 	  exFAT filesystem utilities.
 
-	  http://code.google.com/p/exfat/
+	  https://github.com/relan/exfat
 
 comment "exfat-utils needs a toolchain w/ wchar"
 	depends on !BR2_USE_WCHAR
diff --git a/package/exfat-utils/exfat-utils.hash b/package/exfat-utils/exfat-utils.hash
index 79ccf42..ebf5638 100644
--- a/package/exfat-utils/exfat-utils.hash
+++ b/package/exfat-utils/exfat-utils.hash
@@ -1,2 +1,2 @@
-# From https://code.google.com/p/exfat/wiki/Downloads?tm=2
-sha1	ddf0819c27aeb3eaae5aae0423d4dafc54d477da	exfat-utils-1.1.1.tar.gz
+# Locally calculated
+sha256	a91bd60c1a05e5421da46a1f7cdca19d6db85f2de0afedf8f0f5ff77f8edbcb4	exfat-utils-1.2.1.tar.gz
diff --git a/package/exfat-utils/exfat-utils.mk b/package/exfat-utils/exfat-utils.mk
index 4f43233..60eb60f 100644
--- a/package/exfat-utils/exfat-utils.mk
+++ b/package/exfat-utils/exfat-utils.mk
@@ -4,21 +4,9 @@
 #
 ################################################################################
 
-EXFAT_UTILS_VERSION = 1.1.1
-EXFAT_UTILS_SITE = http://distfiles.gentoo.org/distfiles
-EXFAT_UTILS_DEPENDENCIES = host-scons
+EXFAT_UTILS_VERSION = 1.2.1
+EXFAT_UTILS_SITE = https://github.com/relan/exfat/releases/download/v$(EXFAT_UTILS_VERSION)
 EXFAT_UTILS_LICENSE = GPLv3+
 EXFAT_UTILS_LICENSE_FILES = COPYING
 
-define EXFAT_UTILS_BUILD_CMDS
-	(cd $(@D); \
-		$(TARGET_CONFIGURE_OPTS) CCFLAGS="$(TARGET_CFLAGS) -std=c99" $(SCONS))
-endef
-
-define EXFAT_UTILS_INSTALL_TARGET_CMDS
-	(cd $(@D); \
-		$(TARGET_CONFIGURE_OPTS) CCFLAGS="$(TARGET_CFLAGS) -std=c99" $(SCONS) \
-		DESTDIR=$(TARGET_DIR)/usr/bin install)
-endef
-
-$(eval $(generic-package))
+$(eval $(autotools-package))
-- 
2.4.10

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [Buildroot] [PATCH 3/3] unionfs: bump to version 1.0
  2015-10-19 21:38 [Buildroot] [PATCH 1/3] exfat: bump to version 1.2.1 Gustavo Zacarias
  2015-10-19 21:38 ` [Buildroot] [PATCH 2/3] exfat-utils: " Gustavo Zacarias
@ 2015-10-19 21:38 ` Gustavo Zacarias
  2015-10-20  8:02 ` [Buildroot] [PATCH 1/3] exfat: bump to version 1.2.1 Thomas Petazzoni
  2 siblings, 0 replies; 4+ messages in thread
From: Gustavo Zacarias @ 2015-10-19 21:38 UTC (permalink / raw)
  To: buildroot

Switch to github homepage and site.
Drop patch, it's not required any more.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
---
 package/unionfs/0001-fuse-no-cxx-needed.patch | 19 -------------------
 package/unionfs/Config.in                     |  2 +-
 package/unionfs/unionfs.hash                  |  4 ++--
 package/unionfs/unionfs.mk                    |  5 ++---
 4 files changed, 5 insertions(+), 25 deletions(-)
 delete mode 100644 package/unionfs/0001-fuse-no-cxx-needed.patch

diff --git a/package/unionfs/0001-fuse-no-cxx-needed.patch b/package/unionfs/0001-fuse-no-cxx-needed.patch
deleted file mode 100644
index 56f7e24..0000000
--- a/package/unionfs/0001-fuse-no-cxx-needed.patch
+++ /dev/null
@@ -1,19 +0,0 @@
-By default, CMake assumes a project uses the C and C++ languages, so
-it checks for both the C and the C++ compiler to exist.
-
-However, unionfs-fuse is written purely in C, so checking for a C++
-compiler is useless, and even prevents unionfs-fuse from building
-properly on targets for which no C++ compiler is available.
-
-Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-
-Index: b/CMakeLists.txt
-===================================================================
---- a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -1,4 +1,4 @@
--project(unionfs-fuse)
-+project(unionfs-fuse C)
- 
- cmake_minimum_required(VERSION 2.0)
- INCLUDE (CheckIncludeFiles)
diff --git a/package/unionfs/Config.in b/package/unionfs/Config.in
index b623960..ece83a5 100644
--- a/package/unionfs/Config.in
+++ b/package/unionfs/Config.in
@@ -7,7 +7,7 @@ config BR2_PACKAGE_UNIONFS
 	help
 	  A userspace unionfs implementation.
 
-	  http://podgorny.cz/moin/UnionFsFuse
+	  https://github.com/rpodgorny/unionfs-fuse
 
 comment "unionfs needs a toolchain w/ threads, dynamic library"
 	depends on BR2_USE_MMU
diff --git a/package/unionfs/unionfs.hash b/package/unionfs/unionfs.hash
index 2cadf0f..fce98e0 100644
--- a/package/unionfs/unionfs.hash
+++ b/package/unionfs/unionfs.hash
@@ -1,2 +1,2 @@
-# locally computed hash
-sha256 8d5c9dcb51ecb9a9b03890e16d17e37d602b0c1f23ed6a9ddec2b0f719c9f662 unionfs-fuse-0.26.tar.xz
+# Locally computed
+sha256	2ee80bd0634a61adb2159212e155d607a0a82ad659214ae6edb3530396cccc09	unionfs-1.0.tar.gz
diff --git a/package/unionfs/unionfs.mk b/package/unionfs/unionfs.mk
index e5c5993..cba52be 100644
--- a/package/unionfs/unionfs.mk
+++ b/package/unionfs/unionfs.mk
@@ -4,9 +4,8 @@
 #
 ################################################################################
 
-UNIONFS_VERSION = 0.26
-UNIONFS_SITE = http://podgorny.cz/unionfs-fuse/releases
-UNIONFS_SOURCE = unionfs-fuse-$(UNIONFS_VERSION).tar.xz
+UNIONFS_VERSION = 1.0
+UNIONFS_SITE = $(call github,rpodgorny,unionfs-fuse,v$(UNIONFS_VERSION))
 UNIONFS_DEPENDENCIES = libfuse host-pkgconf
 UNIONFS_LICENSE = BSD-3c
 UNIONFS_LICENSE_FILES = LICENSE
-- 
2.4.10

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [Buildroot] [PATCH 1/3] exfat: bump to version 1.2.1
  2015-10-19 21:38 [Buildroot] [PATCH 1/3] exfat: bump to version 1.2.1 Gustavo Zacarias
  2015-10-19 21:38 ` [Buildroot] [PATCH 2/3] exfat-utils: " Gustavo Zacarias
  2015-10-19 21:38 ` [Buildroot] [PATCH 3/3] unionfs: bump to version 1.0 Gustavo Zacarias
@ 2015-10-20  8:02 ` Thomas Petazzoni
  2 siblings, 0 replies; 4+ messages in thread
From: Thomas Petazzoni @ 2015-10-20  8:02 UTC (permalink / raw)
  To: buildroot

Dear Gustavo Zacarias,

On Mon, 19 Oct 2015 18:38:33 -0300, Gustavo Zacarias wrote:
> Switch to github homepage and site.
> Package is now autotools-based.
> musl tweak no longer required.
> 
> Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
> ---
>  package/exfat/Config.in  |  2 +-
>  package/exfat/exfat.hash |  4 ++--
>  package/exfat/exfat.mk   | 27 ++++-----------------------
>  3 files changed, 7 insertions(+), 26 deletions(-)

All three patches applied, thanks.

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-10-20  8:02 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-10-19 21:38 [Buildroot] [PATCH 1/3] exfat: bump to version 1.2.1 Gustavo Zacarias
2015-10-19 21:38 ` [Buildroot] [PATCH 2/3] exfat-utils: " Gustavo Zacarias
2015-10-19 21:38 ` [Buildroot] [PATCH 3/3] unionfs: bump to version 1.0 Gustavo Zacarias
2015-10-20  8:02 ` [Buildroot] [PATCH 1/3] exfat: bump to version 1.2.1 Thomas Petazzoni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox