Skip to contentSkip to conversation

alsa-lib : bump to 1.0.24.1

PATCH In review Chih-Min Chao 4 participants 21 messages Mar 11, 2011 – Apr 26, 2011

lore
Share & tools
lore
#0 lore raw

PATCH 1/9 alsa-lib : bump to 1.0.24.1

---
 package/multimedia/alsa-lib/alsa-lib.mk |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
package/multimedia/alsa-lib/alsa-lib.mk +1 -1
index 2085a97..317e78f 100644
@@ -3,7 +3,7 @@
 # alsa-lib
 #
 #############################################################
-ALSA_LIB_VERSION = 1.0.23
+ALSA_LIB_VERSION = 1.0.24.1
 ALSA_LIB_SOURCE = alsa-lib-$(ALSA_LIB_VERSION).tar.bz2
 ALSA_LIB_SITE = ftp://ftp.alsa-project.org/pub/lib
 ALSA_LIB_INSTALL_STAGING = YES
Signature · 1 line
1.7.0.4
#1 lore raw

PATCH 2/9 alsa-utils : bump to 1.0.24.2

---
 package/multimedia/alsa-utils/alsa-utils.mk |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
package/multimedia/alsa-utils/alsa-utils.mk +1 -1
index 4ab49d3..26c270b 100644
@@ -3,7 +3,7 @@
 # alsa-utils
 #
 #############################################################
-ALSA_UTILS_VERSION = 1.0.23
+ALSA_UTILS_VERSION = 1.0.24.2
 ALSA_UTILS_SOURCE = alsa-utils-$(ALSA_UTILS_VERSION).tar.bz2
 ALSA_UTILS_SITE = ftp://ftp.alsa-project.org/pub/utils
 ALSA_UTILS_INSTALL_STAGING = YES
Signature · 1 line
1.7.0.4
#2 lore raw

PATCH 2/9 alsa-utils : bump to 1.0.24.2

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Chih-Min" == Chih-Min Chao <[email protected]> writes:

Chih-Min> Signed-off-by: Chih-Min Chao <[email protected]> Chih-Min> ---

 Chih-Min>  package/multimedia/alsa-utils/alsa-utils.mk |    2 +-

Chih-Min> 1 files changed, 1 insertions(+), 1 deletions(-)

Chih-Min> diff --git a/package/multimedia/alsa-utils/alsa-utils.mk b/package/multimedia/alsa-utils/alsa-utils.mk Chih-Min> index 4ab49d3..26c270b 100644
Chih-Min> --- a/package/multimedia/alsa-utils/alsa-utils.mk
Chih-Min> +++ b/package/multimedia/alsa-utils/alsa-utils.mk
Chih-Min> @@ -3,7 +3,7 @@

 Chih-Min>  # alsa-utils
 Chih-Min>  #
 Chih-Min>  #############################################################

Chih-Min> -ALSA_UTILS_VERSION = 1.0.23
Chih-Min> +ALSA_UTILS_VERSION = 1.0.24.2

This breaks on uClibc where we don't have the exp10 glibc extension:

volume_mapping.o: In function `get_normalized_volume':
volume_mapping.c:(.text+0x160): undefined reference to exp10' volume_mapping.c:(.text+0x19c): undefined reference to exp10' volume_mapping.o: In function `set_normalized_volume':
volume_mapping.c:(.text+0x298): undefined reference to `exp10'
collect2: ld returned 1 exit status
make[3]: *** [alsamixer] Error 1

I guess we'll need to come up with an emulation for it.

Signature · 1 line
Bye, Peter Korsgaard
#3 lore raw

PATCH 2/9 alsa-utils : bump to 1.0.24.2

Quoted 28 lines · Peter Korsgaard
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Chih-Min" == Chih-Min Chao <[email protected]> writes:

?Chih-Min> Signed-off-by: Chih-Min Chao <[email protected]> ?Chih-Min> ---
?Chih-Min> ?package/multimedia/alsa-utils/alsa-utils.mk | ? ?2 +- ?Chih-Min> ?1 files changed, 1 insertions(+), 1 deletions(-)

?Chih-Min> diff --git a/package/multimedia/alsa-utils/alsa-utils.mk b/package/multimedia/alsa-utils/alsa-utils.mk ?Chih-Min> index 4ab49d3..26c270b 100644
?Chih-Min> --- a/package/multimedia/alsa-utils/alsa-utils.mk
?Chih-Min> +++ b/package/multimedia/alsa-utils/alsa-utils.mk
?Chih-Min> @@ -3,7 +3,7 @@
?Chih-Min> ?# alsa-utils
?Chih-Min> ?#
?Chih-Min> ?#############################################################
?Chih-Min> -ALSA_UTILS_VERSION = 1.0.23
?Chih-Min> +ALSA_UTILS_VERSION = 1.0.24.2

This breaks on uClibc where we don't have the exp10 glibc extension:

volume_mapping.o: In function `get_normalized_volume':
volume_mapping.c:(.text+0x160): undefined reference to exp10' volume_mapping.c:(.text+0x19c): undefined reference to exp10' volume_mapping.o: In function `set_normalized_volume':
volume_mapping.c:(.text+0x298): undefined reference to `exp10'
collect2: ld returned 1 exit status
make[3]: *** [alsamixer] Error 1

Quoted 5 lines

I guess we'll need to come up with an emulation for it.

--
Bye, Peter Korsgaard

replace exp10(x) with exp(x * ln 10)

10^x = 10 ^(ln e^x) = (e^x)^ln10 = e ^ (x * ln 10)

#4 lore raw

PATCH 2/9 alsa-utils : bump to 1.0.24.2

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Chih-Min" == Chih-Min Chao <[email protected]> writes:

Hi,

Quoted 1 line
Quoted 1 line

I guess we'll need to come up with an emulation for it.

Chih-Min> replace exp10(x) with exp(x * ln 10)

Chih-Min> 10^x = 10 ^(ln e^x) = (e^x)^ln10 = e ^ (x * ln 10)

Ahh yes, thanks. Committed and patch sent upstream.

Signature · 1 line
Bye, Peter Korsgaard
#5 lore raw

PATCH 3/9 pixman : bump to 0.20.2

In reply to Chih-Min Chao
---
 package/pixman/pixman-0.10.0-no-tests.patch |   11 -----------
 package/pixman/pixman.mk                    |    3 ++-
 2 files changed, 2 insertions(+), 12 deletions(-)
 delete mode 100644 package/pixman/pixman-0.10.0-no-tests.patch
package/pixman/pixman-0.10.0-no-tests.patch deleted +0 -11
deleted file mode 100644
index fbd0d26..0000000
@@ -1,11 +0,0 @@
---- a/Makefile.in.orig	2008-05-23 14:04:37.000000000 +0000
-+++ b/Makefile.in	2008-05-23 14:04:50.000000000 +0000
-@@ -198,7 +198,7 @@ sysconfdir = @sysconfdir@
- target_alias = @target_alias@
- top_builddir = @top_builddir@
- top_srcdir = @top_srcdir@
--SUBDIRS = pixman test
-+SUBDIRS = pixman
- pkgconfigdir = $(libdir)/pkgconfig
- pkgconfig_DATA = pixman-1.pc
- USERNAME = $$USER
package/pixman/pixman.mk +2 -1
index 8c7a233..261b85a 100644
@@ -3,7 +3,8 @@
 # pixman
 #
 ################################################################################
-PIXMAN_VERSION = 0.17.6
+# "even, 0,2,4,6,8" major is stable version
+PIXMAN_VERSION = 0.20.2
 PIXMAN_SOURCE = pixman-$(PIXMAN_VERSION).tar.gz
 PIXMAN_SITE = http://cairographics.org/releases/
 PIXMAN_AUTORECONF = NO
Signature · 1 line
1.7.0.4
#6 lore raw

PATCH 3/9 pixman : bump to 0.20.2

Quoted 7 lines · Chih-Min Chao

---
?package/pixman/pixman-0.10.0-no-tests.patch | ? 11 ----------- ?package/pixman/pixman.mk ? ? ? ? ? ? ? ? ? ?| ? ?3 ++- ?2 files changed, 2 insertions(+), 12 deletions(-) ?delete mode 100644 package/pixman/pixman-0.10.0-no-tests.patch

Has the "no tests" patch been applied upstream or is it fixed in some other way?

It would be good to note how this issue was resolved in the commit message.

#7 lore raw

PATCH 3/9 pixman : bump to 0.20.2

Quoted 9 lines · Will Newton
Quoted 7 lines · Chih-Min Chao

---
?package/pixman/pixman-0.10.0-no-tests.patch | ? 11 ----------- ?package/pixman/pixman.mk ? ? ? ? ? ? ? ? ? ?| ? ?3 ++- ?2 files changed, 2 insertions(+), 12 deletions(-) ?delete mode 100644 package/pixman/pixman-0.10.0-no-tests.patch

Quoted 4 lines

Has the "no tests" patch been applied upstream or is it fixed in some other way?

It would be good to note how this issue was resolved in the commit message.

Thanks for your review
I will check this and resend the patch

#8 lore raw

PATCH 4/9 cairo : bump to 1.10.2

In reply to Chih-Min Chao
---
 package/cairo/cairo-1.8.10-directfb.patch |   39 -----------------------------
 package/cairo/cairo.mk                    |   28 +--------------------
 2 files changed, 1 insertions(+), 66 deletions(-)
 delete mode 100644 package/cairo/cairo-1.8.10-directfb.patch
package/cairo/cairo-1.8.10-directfb.patch deleted +0 -39
deleted file mode 100644
index 12a51ec..0000000
@@ -1,39 +0,0 @@
-diff --git a/src/cairo-directfb-surface.c b/src/cairo-directfb-surface.c
-index bb02dbf..65f2d55 100644
---- a/src/cairo-directfb-surface.c
-+++ b/src/cairo-directfb-surface.c
-@@ -609,6 +609,8 @@ _cairo_directfb_surface_release_dest_image (void                  *abstract_surf
- 		     surface->dfbsurface->Blit (surface->dfbsurface,
- 						buffer, NULL,
- 						image_rect->x, image_rect->y));
-+
-+    surface->dfbsurface->ReleaseSource (surface->dfbsurface);
-     }
- 
-     cairo_surface_destroy (&image->base);
-@@ -848,6 +850,9 @@ _directfb_finish_composite (cairo_directfb_surface_t   *dst,
-                             cairo_surface_attributes_t *src_attr)
- {
-     _cairo_pattern_release_surface (src_pattern, src, src_attr);
-+
-+    if (dst->dfbsurface)
-+         dst->dfbsurface->ReleaseSource( dst->dfbsurface );
- }
- #endif /* DFB_COMPOSITE || DFB_COMPOSITE_TRAPEZOIDS */
- 
-@@ -1555,6 +1560,7 @@ _directfb_acquire_font_cache (cairo_directfb_surface_t     *surface,
- 
- 	    new_cache->dfbsurface->Blit (new_cache->dfbsurface,
- 					 cache->dfbsurface, NULL, 0, 0);
-+        new_cache->dfbsurface->ReleaseSource (new_cache->dfbsurface);
- 
- 	    _directfb_destroy_font_cache (cache);
- 	    scaled_font->surface_private = cache = new_cache;
-@@ -1778,6 +1784,7 @@ _cairo_directfb_surface_show_glyphs (void                *abstract_dst,
-     RUN_CLIPPED (dst, NULL,
- 		 dst->dfbsurface->BatchBlit (dst->dfbsurface,
- 					     cache->dfbsurface, rects, points, num));
-+    dst->dfbsurface->ReleaseSource (dst->dfbsurface);
- 
-     return CAIRO_STATUS_SUCCESS;
- }
package/cairo/cairo.mk +1 -27
index 7955e08..3acbf15 100644
@@ -3,39 +3,13 @@
 # cairo
 #
 #############################################################
-CAIRO_VERSION = 1.8.10
+CAIRO_VERSION = 1.10.2
 CAIRO_SOURCE = cairo-$(CAIRO_VERSION).tar.gz
 CAIRO_SITE = http://cairographics.org/releases
 CAIRO_AUTORECONF = NO
 CAIRO_INSTALL_STAGING = YES
 CAIRO_INSTALL_TARGET = YES
 
-CAIRO_CONF_ENV = ac_cv_func_posix_getpwuid_r=yes glib_cv_stack_grows=no \
-		glib_cv_uscore=no ac_cv_func_strtod=yes \
-		ac_fsusage_space=yes fu_cv_sys_stat_statfs2_bsize=yes \
-		ac_cv_func_closedir_void=no ac_cv_func_getloadavg=no \
-		ac_cv_lib_util_getloadavg=no ac_cv_lib_getloadavg_getloadavg=no \
-		ac_cv_func_getgroups=yes ac_cv_func_getgroups_works=yes \
-		ac_cv_func_chown_works=yes ac_cv_have_decl_euidaccess=no \
-		ac_cv_func_euidaccess=no ac_cv_have_decl_strnlen=yes \
-		ac_cv_func_strnlen_working=yes ac_cv_func_lstat_dereferences_slashed_symlink=yes \
-		ac_cv_func_lstat_empty_string_bug=no ac_cv_func_stat_empty_string_bug=no \
-		vb_cv_func_rename_trailing_slash_bug=no ac_cv_have_decl_nanosleep=yes \
-		jm_cv_func_nanosleep_works=yes gl_cv_func_working_utimes=yes \
-		ac_cv_func_utime_null=yes ac_cv_have_decl_strerror_r=yes \
-		ac_cv_func_strerror_r_char_p=no jm_cv_func_svid_putenv=yes \
-		ac_cv_func_getcwd_null=yes ac_cv_func_getdelim=yes \
-		ac_cv_func_mkstemp=yes utils_cv_func_mkstemp_limitations=no \
-		utils_cv_func_mkdir_trailing_slash_bug=no jm_cv_func_gettimeofday_clobber=no \
-		gl_cv_func_working_readdir=yes jm_ac_cv_func_link_follows_symlink=no \
-		utils_cv_localtime_cache=no ac_cv_struct_st_mtim_nsec=no \
-		gl_cv_func_tzset_clobber=no gl_cv_func_getcwd_null=yes \
-		gl_cv_func_getcwd_path_max=yes ac_cv_func_fnmatch_gnu=yes \
-		am_getline_needs_run_time_check=no am_cv_func_working_getline=yes \
-		gl_cv_func_mkdir_trailing_slash_bug=no gl_cv_func_mkstemp_limitations=no \
-		ac_cv_func_working_mktime=yes jm_cv_func_working_re_compile_pattern=yes \
-		ac_use_included_regex=no gl_cv_c_restrict=no
-
 CAIRO_DEPENDENCIES = host-pkg-config fontconfig pixman
 
 ifeq ($(BR2_PACKAGE_DIRECTFB),y)
Signature · 1 line
1.7.0.4
#9 lore raw

PATCH 4/9 cairo : bump to 1.10.2

On Fri, Mar 11, 2011 at 8:13 AM, Chih-Min Chao <[email protected]> wrote:

Thanks for the patch!

Quoted 7 lines

---
?package/cairo/cairo-1.8.10-directfb.patch | ? 39 ----------------------------- ?package/cairo/cairo.mk ? ? ? ? ? ? ? ? ? ?| ? 28 +-------------------- ?2 files changed, 1 insertions(+), 66 deletions(-)
?delete mode 100644 package/cairo/cairo-1.8.10-directfb.patch

Does this mean the DirectFB patch has been applied upstream? If so it would be useful to note this in the commit message.

Quoted 77 lines
package/cairo/cairo-1.8.10-directfb.patch deleted +0 -39
deleted file mode 100644
index 12a51ec..0000000
@@ -1,39 +0,0 @@
-diff --git a/src/cairo-directfb-surface.c b/src/cairo-directfb-surface.c
-index bb02dbf..65f2d55 100644
---- a/src/cairo-directfb-surface.c
-+++ b/src/cairo-directfb-surface.c
-@@ -609,6 +609,8 @@ _cairo_directfb_surface_release_dest_image (void ? ? ? ? ? ? ? ? ?*abstract_surf
- ? ? ? ? ? ? ? ? ? ?surface->dfbsurface->Blit (surface->dfbsurface,
- ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? buffer, NULL,
- ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? image_rect->x, image_rect->y));
-+
-+ ? ?surface->dfbsurface->ReleaseSource (surface->dfbsurface);
- ? ? }
-
- ? ? cairo_surface_destroy (&image->base);
-@@ -848,6 +850,9 @@ _directfb_finish_composite (cairo_directfb_surface_t ? *dst,
- ? ? ? ? ? ? ? ? ? ? ? ? ? ? cairo_surface_attributes_t *src_attr)
- {
- ? ? _cairo_pattern_release_surface (src_pattern, src, src_attr);
-+
-+ ? ?if (dst->dfbsurface)
-+ ? ? ? ? dst->dfbsurface->ReleaseSource( dst->dfbsurface );
- }
- #endif /* DFB_COMPOSITE || DFB_COMPOSITE_TRAPEZOIDS */
-
-@@ -1555,6 +1560,7 @@ _directfb_acquire_font_cache (cairo_directfb_surface_t ? ? *surface,
-
- ? ? ? ? ? new_cache->dfbsurface->Blit (new_cache->dfbsurface,
- ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?cache->dfbsurface, NULL, 0, 0);
-+ ? ? ? ?new_cache->dfbsurface->ReleaseSource (new_cache->dfbsurface);
-
- ? ? ? ? ? _directfb_destroy_font_cache (cache);
- ? ? ? ? ? scaled_font->surface_private = cache = new_cache;
-@@ -1778,6 +1784,7 @@ _cairo_directfb_surface_show_glyphs (void ? ? ? ? ? ? ? ?*abstract_dst,
- ? ? RUN_CLIPPED (dst, NULL,
- ? ? ? ? ? ? ? ?dst->dfbsurface->BatchBlit (dst->dfbsurface,
- ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?cache->dfbsurface, rects, points, num));
-+ ? ?dst->dfbsurface->ReleaseSource (dst->dfbsurface);
-
- ? ? return CAIRO_STATUS_SUCCESS;
- }
package/cairo/cairo.mk +0 -0
index 7955e08..3acbf15 100644
@@ -3,39 +3,13 @@

?# cairo
?# ?#############################################################

package/cairo/cairo.mk +1 -1
-CAIRO_VERSION = 1.8.10
+CAIRO_VERSION = 1.10.2

?CAIRO_SOURCE = cairo-$(CAIRO_VERSION).tar.gz
?CAIRO_SITE = http://cairographics.org/releases
?CAIRO_AUTORECONF = NO
?CAIRO_INSTALL_STAGING = YES
?CAIRO_INSTALL_TARGET = YES

package/cairo/cairo.mk +0 -16
-CAIRO_CONF_ENV = ac_cv_func_posix_getpwuid_r=yes glib_cv_stack_grows=no \
- ? ? ? ? ? ? ? glib_cv_uscore=no ac_cv_func_strtod=yes \
- ? ? ? ? ? ? ? ac_fsusage_space=yes fu_cv_sys_stat_statfs2_bsize=yes \
- ? ? ? ? ? ? ? ac_cv_func_closedir_void=no ac_cv_func_getloadavg=no \
- ? ? ? ? ? ? ? ac_cv_lib_util_getloadavg=no ac_cv_lib_getloadavg_getloadavg=no \
- ? ? ? ? ? ? ? ac_cv_func_getgroups=yes ac_cv_func_getgroups_works=yes \
- ? ? ? ? ? ? ? ac_cv_func_chown_works=yes ac_cv_have_decl_euidaccess=no \
- ? ? ? ? ? ? ? ac_cv_func_euidaccess=no ac_cv_have_decl_strnlen=yes \
- ? ? ? ? ? ? ? ac_cv_func_strnlen_working=yes ac_cv_func_lstat_dereferences_slashed_symlink=yes \
- ? ? ? ? ? ? ? ac_cv_func_lstat_empty_string_bug=no ac_cv_func_stat_empty_string_bug=no \
- ? ? ? ? ? ? ? vb_cv_func_rename_trailing_slash_bug=no ac_cv_have_decl_nanosleep=yes \
- ? ? ? ? ? ? ? jm_cv_func_nanosleep_works=yes gl_cv_func_working_utimes=yes \
- ? ? ? ? ? ? ? ac_cv_func_utime_null=yes ac_cv_have_decl_strerror_r=yes \
- ? ? ? ? ? ? ? ac_cv_func_strerror_r_char_p=no jm_cv_func_svid_putenv=yes \
- ? ? ? ? ? ? ? ac_cv_func_getcwd_null=yes ac_cv_func_getdelim=yes \
- ? ? ? ? ? ? ? ac_cv_func_mkstemp=yes utils_cv_func_mkstemp_limitations=no \

package/cairo/cairo.mk

Quoted 10 lines
package/cairo/cairo.mk +0 -10
- ? ? ? ? ? ? ? utils_cv_func_mkdir_trailing_slash_bug=no jm_cv_func_gettimeofday_clobber=no \
- ? ? ? ? ? ? ? gl_cv_func_working_readdir=yes jm_ac_cv_func_link_follows_symlink=no \
- ? ? ? ? ? ? ? utils_cv_localtime_cache=no ac_cv_struct_st_mtim_nsec=no \
- ? ? ? ? ? ? ? gl_cv_func_tzset_clobber=no gl_cv_func_getcwd_null=yes \
- ? ? ? ? ? ? ? gl_cv_func_getcwd_path_max=yes ac_cv_func_fnmatch_gnu=yes \
- ? ? ? ? ? ? ? am_getline_needs_run_time_check=no am_cv_func_working_getline=yes \
- ? ? ? ? ? ? ? gl_cv_func_mkdir_trailing_slash_bug=no gl_cv_func_mkstemp_limitations=no \
- ? ? ? ? ? ? ? ac_cv_func_working_mktime=yes jm_cv_func_working_re_compile_pattern=yes \
- ? ? ? ? ? ? ? ac_use_included_regex=no gl_cv_c_restrict=no
-

Why have these env variables been removed?

Again, this should be documented in the commit message.

#10 lore raw

PATCH 4/9 cairo : bump to 1.10.2

Quoted 105 lines · Will Newton

On Fri, Mar 11, 2011 at 8:13 AM, Chih-Min Chao <[email protected]> wrote:

Thanks for the patch!

Quoted 7 lines

---
?package/cairo/cairo-1.8.10-directfb.patch | ? 39 ----------------------------- ?package/cairo/cairo.mk ? ? ? ? ? ? ? ? ? ?| ? 28 +-------------------- ?2 files changed, 1 insertions(+), 66 deletions(-)
?delete mode 100644 package/cairo/cairo-1.8.10-directfb.patch

Does this mean the DirectFB patch has been applied upstream? If so it would be useful to note this in the commit message.

Quoted 77 lines
package/cairo/cairo-1.8.10-directfb.patch deleted +0 -39
deleted file mode 100644
index 12a51ec..0000000
@@ -1,39 +0,0 @@
-diff --git a/src/cairo-directfb-surface.c b/src/cairo-directfb-surface.c
-index bb02dbf..65f2d55 100644
---- a/src/cairo-directfb-surface.c
-+++ b/src/cairo-directfb-surface.c
-@@ -609,6 +609,8 @@ _cairo_directfb_surface_release_dest_image (void ? ? ? ? ? ? ? ? ?*abstract_surf
- ? ? ? ? ? ? ? ? ? ?surface->dfbsurface->Blit (surface->dfbsurface,
- ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? buffer, NULL,
- ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? image_rect->x, image_rect->y));
-+
-+ ? ?surface->dfbsurface->ReleaseSource (surface->dfbsurface);
- ? ? }
-
- ? ? cairo_surface_destroy (&image->base);
-@@ -848,6 +850,9 @@ _directfb_finish_composite (cairo_directfb_surface_t ? *dst,
- ? ? ? ? ? ? ? ? ? ? ? ? ? ? cairo_surface_attributes_t *src_attr)
- {
- ? ? _cairo_pattern_release_surface (src_pattern, src, src_attr);
-+
-+ ? ?if (dst->dfbsurface)
-+ ? ? ? ? dst->dfbsurface->ReleaseSource( dst->dfbsurface );
- }
- #endif /* DFB_COMPOSITE || DFB_COMPOSITE_TRAPEZOIDS */
-
-@@ -1555,6 +1560,7 @@ _directfb_acquire_font_cache (cairo_directfb_surface_t ? ? *surface,
-
- ? ? ? ? ? new_cache->dfbsurface->Blit (new_cache->dfbsurface,
- ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?cache->dfbsurface, NULL, 0, 0);
-+ ? ? ? ?new_cache->dfbsurface->ReleaseSource (new_cache->dfbsurface);
-
- ? ? ? ? ? _directfb_destroy_font_cache (cache);
- ? ? ? ? ? scaled_font->surface_private = cache = new_cache;
-@@ -1778,6 +1784,7 @@ _cairo_directfb_surface_show_glyphs (void ? ? ? ? ? ? ? ?*abstract_dst,
- ? ? RUN_CLIPPED (dst, NULL,
- ? ? ? ? ? ? ? ?dst->dfbsurface->BatchBlit (dst->dfbsurface,
- ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?cache->dfbsurface, rects, points, num));
-+ ? ?dst->dfbsurface->ReleaseSource (dst->dfbsurface);
-
- ? ? return CAIRO_STATUS_SUCCESS;
- }
package/cairo/cairo.mk +0 -0
index 7955e08..3acbf15 100644
@@ -3,39 +3,13 @@

?# cairo
?# ?#############################################################

package/cairo/cairo.mk +1 -1
-CAIRO_VERSION = 1.8.10
+CAIRO_VERSION = 1.10.2

?CAIRO_SOURCE = cairo-$(CAIRO_VERSION).tar.gz
?CAIRO_SITE = http://cairographics.org/releases
?CAIRO_AUTORECONF = NO
?CAIRO_INSTALL_STAGING = YES
?CAIRO_INSTALL_TARGET = YES

package/cairo/cairo.mk +0 -16
-CAIRO_CONF_ENV = ac_cv_func_posix_getpwuid_r=yes glib_cv_stack_grows=no \
- ? ? ? ? ? ? ? glib_cv_uscore=no ac_cv_func_strtod=yes \
- ? ? ? ? ? ? ? ac_fsusage_space=yes fu_cv_sys_stat_statfs2_bsize=yes \
- ? ? ? ? ? ? ? ac_cv_func_closedir_void=no ac_cv_func_getloadavg=no \
- ? ? ? ? ? ? ? ac_cv_lib_util_getloadavg=no ac_cv_lib_getloadavg_getloadavg=no \
- ? ? ? ? ? ? ? ac_cv_func_getgroups=yes ac_cv_func_getgroups_works=yes \
- ? ? ? ? ? ? ? ac_cv_func_chown_works=yes ac_cv_have_decl_euidaccess=no \
- ? ? ? ? ? ? ? ac_cv_func_euidaccess=no ac_cv_have_decl_strnlen=yes \
- ? ? ? ? ? ? ? ac_cv_func_strnlen_working=yes ac_cv_func_lstat_dereferences_slashed_symlink=yes \
- ? ? ? ? ? ? ? ac_cv_func_lstat_empty_string_bug=no ac_cv_func_stat_empty_string_bug=no \
- ? ? ? ? ? ? ? vb_cv_func_rename_trailing_slash_bug=no ac_cv_have_decl_nanosleep=yes \
- ? ? ? ? ? ? ? jm_cv_func_nanosleep_works=yes gl_cv_func_working_utimes=yes \
- ? ? ? ? ? ? ? ac_cv_func_utime_null=yes ac_cv_have_decl_strerror_r=yes \
- ? ? ? ? ? ? ? ac_cv_func_strerror_r_char_p=no jm_cv_func_svid_putenv=yes \
- ? ? ? ? ? ? ? ac_cv_func_getcwd_null=yes ac_cv_func_getdelim=yes \
- ? ? ? ? ? ? ? ac_cv_func_mkstemp=yes utils_cv_func_mkstemp_limitations=no \

package/cairo/cairo.mk

Quoted 10 lines
package/cairo/cairo.mk +0 -10
- ? ? ? ? ? ? ? utils_cv_func_mkdir_trailing_slash_bug=no jm_cv_func_gettimeofday_clobber=no \
- ? ? ? ? ? ? ? gl_cv_func_working_readdir=yes jm_ac_cv_func_link_follows_symlink=no \
- ? ? ? ? ? ? ? utils_cv_localtime_cache=no ac_cv_struct_st_mtim_nsec=no \
- ? ? ? ? ? ? ? gl_cv_func_tzset_clobber=no gl_cv_func_getcwd_null=yes \
- ? ? ? ? ? ? ? gl_cv_func_getcwd_path_max=yes ac_cv_func_fnmatch_gnu=yes \
- ? ? ? ? ? ? ? am_getline_needs_run_time_check=no am_cv_func_working_getline=yes \
- ? ? ? ? ? ? ? gl_cv_func_mkdir_trailing_slash_bug=no gl_cv_func_mkstemp_limitations=no \
- ? ? ? ? ? ? ? ac_cv_func_working_mktime=yes jm_cv_func_working_re_compile_pattern=yes \
- ? ? ? ? ? ? ? ac_use_included_regex=no gl_cv_c_restrict=no
-

Why have these env variables been removed?

Quoted 2 lines

Again, this should be documented in the commit message.

Thanks for your review
I will check this and resend the patch

#11 lore raw

[Buildroot] how to select predefined external toolchain profile

Hi,

Buildroot document says "Buildroot already knows about a few CodeSourcery toolchains for ARM, PowerPC, MIPS and SuperH. Just select the toolchain profile in Toolchain through the available ones."

I got the latest buildroot, did "make menuconfig", after I selected "External Toolchain" as "Toolchain Type", I didn't see any toolchain profiles in the menu, did I miss something?

Thanks,

#12 lore raw

[Buildroot] how to select predefined external toolchain profile

That was because I selected "i386" as target architecture, if I select "arm", I can see those predefined external toolchain profiles.

Quoted 26 lines · Justin Mark

From: Justin Mark <[email protected]>
Subject: [Buildroot] how to select predefined external toolchain profile
To: buildroot at busybox.net
Date: Saturday, March 12, 2011, 6:04 PM
Hi,

Buildroot document says "Buildroot already knows about a few CodeSourcery toolchains for ARM, PowerPC, MIPS and SuperH. Just select the toolchain profile in Toolchain through the available ones."

I got the latest buildroot, did "make menuconfig", after I selected "External Toolchain" as "Toolchain Type", I didn't see any toolchain profiles in the menu, did I miss something?

Thanks,
?

? ? ?
_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot

#13 lore raw

PATCH 4/9 cairo : bump to 1.10.2

In reply to Chih-Min Chao
Quoted 106 lines · Chih-Min Chao
Quoted 105 lines · Will Newton

On Fri, Mar 11, 2011 at 8:13 AM, Chih-Min Chao <[email protected]> wrote:

Thanks for the patch!

Quoted 7 lines

---
?package/cairo/cairo-1.8.10-directfb.patch | ? 39 ----------------------------- ?package/cairo/cairo.mk ? ? ? ? ? ? ? ? ? ?| ? 28 +-------------------- ?2 files changed, 1 insertions(+), 66 deletions(-)
?delete mode 100644 package/cairo/cairo-1.8.10-directfb.patch

Does this mean the DirectFB patch has been applied upstream? If so it would be useful to note this in the commit message.

Quoted 77 lines
package/cairo/cairo-1.8.10-directfb.patch deleted +0 -39
deleted file mode 100644
index 12a51ec..0000000
@@ -1,39 +0,0 @@
-diff --git a/src/cairo-directfb-surface.c b/src/cairo-directfb-surface.c
-index bb02dbf..65f2d55 100644
---- a/src/cairo-directfb-surface.c
-+++ b/src/cairo-directfb-surface.c
-@@ -609,6 +609,8 @@ _cairo_directfb_surface_release_dest_image (void ? ? ? ? ? ? ? ? ?*abstract_surf
- ? ? ? ? ? ? ? ? ? ?surface->dfbsurface->Blit (surface->dfbsurface,
- ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? buffer, NULL,
- ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? image_rect->x, image_rect->y));
-+
-+ ? ?surface->dfbsurface->ReleaseSource (surface->dfbsurface);
- ? ? }
-
- ? ? cairo_surface_destroy (&image->base);
-@@ -848,6 +850,9 @@ _directfb_finish_composite (cairo_directfb_surface_t ? *dst,
- ? ? ? ? ? ? ? ? ? ? ? ? ? ? cairo_surface_attributes_t *src_attr)
- {
- ? ? _cairo_pattern_release_surface (src_pattern, src, src_attr);
-+
-+ ? ?if (dst->dfbsurface)
-+ ? ? ? ? dst->dfbsurface->ReleaseSource( dst->dfbsurface );
- }
- #endif /* DFB_COMPOSITE || DFB_COMPOSITE_TRAPEZOIDS */
-
-@@ -1555,6 +1560,7 @@ _directfb_acquire_font_cache (cairo_directfb_surface_t ? ? *surface,
-
- ? ? ? ? ? new_cache->dfbsurface->Blit (new_cache->dfbsurface,
- ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?cache->dfbsurface, NULL, 0, 0);
-+ ? ? ? ?new_cache->dfbsurface->ReleaseSource (new_cache->dfbsurface);
-
- ? ? ? ? ? _directfb_destroy_font_cache (cache);
- ? ? ? ? ? scaled_font->surface_private = cache = new_cache;
-@@ -1778,6 +1784,7 @@ _cairo_directfb_surface_show_glyphs (void ? ? ? ? ? ? ? ?*abstract_dst,
- ? ? RUN_CLIPPED (dst, NULL,
- ? ? ? ? ? ? ? ?dst->dfbsurface->BatchBlit (dst->dfbsurface,
- ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?cache->dfbsurface, rects, points, num));
-+ ? ?dst->dfbsurface->ReleaseSource (dst->dfbsurface);
-
- ? ? return CAIRO_STATUS_SUCCESS;
- }
package/cairo/cairo.mk +0 -0
index 7955e08..3acbf15 100644
@@ -3,39 +3,13 @@

?# cairo
?# ?#############################################################

package/cairo/cairo.mk +1 -1
-CAIRO_VERSION = 1.8.10
+CAIRO_VERSION = 1.10.2

?CAIRO_SOURCE = cairo-$(CAIRO_VERSION).tar.gz
?CAIRO_SITE = http://cairographics.org/releases
?CAIRO_AUTORECONF = NO
?CAIRO_INSTALL_STAGING = YES
?CAIRO_INSTALL_TARGET = YES

package/cairo/cairo.mk +0 -16
-CAIRO_CONF_ENV = ac_cv_func_posix_getpwuid_r=yes glib_cv_stack_grows=no \
- ? ? ? ? ? ? ? glib_cv_uscore=no ac_cv_func_strtod=yes \
- ? ? ? ? ? ? ? ac_fsusage_space=yes fu_cv_sys_stat_statfs2_bsize=yes \
- ? ? ? ? ? ? ? ac_cv_func_closedir_void=no ac_cv_func_getloadavg=no \
- ? ? ? ? ? ? ? ac_cv_lib_util_getloadavg=no ac_cv_lib_getloadavg_getloadavg=no \
- ? ? ? ? ? ? ? ac_cv_func_getgroups=yes ac_cv_func_getgroups_works=yes \
- ? ? ? ? ? ? ? ac_cv_func_chown_works=yes ac_cv_have_decl_euidaccess=no \
- ? ? ? ? ? ? ? ac_cv_func_euidaccess=no ac_cv_have_decl_strnlen=yes \
- ? ? ? ? ? ? ? ac_cv_func_strnlen_working=yes ac_cv_func_lstat_dereferences_slashed_symlink=yes \
- ? ? ? ? ? ? ? ac_cv_func_lstat_empty_string_bug=no ac_cv_func_stat_empty_string_bug=no \
- ? ? ? ? ? ? ? vb_cv_func_rename_trailing_slash_bug=no ac_cv_have_decl_nanosleep=yes \
- ? ? ? ? ? ? ? jm_cv_func_nanosleep_works=yes gl_cv_func_working_utimes=yes \
- ? ? ? ? ? ? ? ac_cv_func_utime_null=yes ac_cv_have_decl_strerror_r=yes \
- ? ? ? ? ? ? ? ac_cv_func_strerror_r_char_p=no jm_cv_func_svid_putenv=yes \
- ? ? ? ? ? ? ? ac_cv_func_getcwd_null=yes ac_cv_func_getdelim=yes \
- ? ? ? ? ? ? ? ac_cv_func_mkstemp=yes utils_cv_func_mkstemp_limitations=no \

package/cairo/cairo.mk

Quoted 10 lines
package/cairo/cairo.mk +0 -10
- ? ? ? ? ? ? ? utils_cv_func_mkdir_trailing_slash_bug=no jm_cv_func_gettimeofday_clobber=no \
- ? ? ? ? ? ? ? gl_cv_func_working_readdir=yes jm_ac_cv_func_link_follows_symlink=no \
- ? ? ? ? ? ? ? utils_cv_localtime_cache=no ac_cv_struct_st_mtim_nsec=no \
- ? ? ? ? ? ? ? gl_cv_func_tzset_clobber=no gl_cv_func_getcwd_null=yes \
- ? ? ? ? ? ? ? gl_cv_func_getcwd_path_max=yes ac_cv_func_fnmatch_gnu=yes \
- ? ? ? ? ? ? ? am_getline_needs_run_time_check=no am_cv_func_working_getline=yes \
- ? ? ? ? ? ? ? gl_cv_func_mkdir_trailing_slash_bug=no gl_cv_func_mkstemp_limitations=no \
- ? ? ? ? ? ? ? ac_cv_func_working_mktime=yes jm_cv_func_working_re_compile_pattern=yes \
- ? ? ? ? ? ? ? ac_use_included_regex=no gl_cv_c_restrict=no
-

Why have these env variables been removed?

Quoted 6 lines
Quoted 2 lines

Again, this should be documented in the commit message.

Thanks for your review
I will check this and resend the patch

The original patch, which i remove, come from this discussion and was contributed by llandwerlin
http://lists.cairographics.org/archives/cairo/2009-November/018552.html
(2009-11-20)

Thomas Petazzoni commited it to upstream at 2010-07-19 At the same time, directfb's version is 1.4.3

At present, however, directfb's version has been upgrade to 1.4.11 and the patch is not included in cairo's main truck.
I need llandwerlin help to clarify this or just use mainline source

#14 lore raw

PATCH 5/9 bash : bump to version 4.2

In reply to Chih-Min Chao
---
 package/bash/bash-4.1-001.patch              |   48 ----------------
 package/bash/bash-4.1-002.patch              |   65 ----------------------
 package/bash/bash-4.1-003.patch              |   48 ----------------
 package/bash/bash-4.1-004.patch              |   47 ----------------
 package/bash/bash-4.1-005.patch              |   56 -------------------
 package/bash/bash-4.1-006.patch              |   76 --------------------------
 package/bash/bash-4.1-007.patch              |   47 ----------------
 package/bash/bash-4.1-008.patch              |   49 -----------------
 package/bash/bash-4.1-009.patch              |   48 ----------------
 package/bash/bash-4.1-mkbuiltins-cross.patch |   31 -----------
 package/bash/bash-4.2-mkbuiltins-cross.patch |   30 ++++++++++
 package/bash/bash.mk                         |    5 ++-
 12 files changed, 34 insertions(+), 516 deletions(-)
 delete mode 100644 package/bash/bash-4.1-001.patch
 delete mode 100644 package/bash/bash-4.1-002.patch
 delete mode 100644 package/bash/bash-4.1-003.patch
 delete mode 100644 package/bash/bash-4.1-004.patch
 delete mode 100644 package/bash/bash-4.1-005.patch
 delete mode 100644 package/bash/bash-4.1-006.patch
 delete mode 100644 package/bash/bash-4.1-007.patch
 delete mode 100644 package/bash/bash-4.1-008.patch
 delete mode 100644 package/bash/bash-4.1-009.patch
 delete mode 100644 package/bash/bash-4.1-mkbuiltins-cross.patch
 create mode 100644 package/bash/bash-4.2-mkbuiltins-cross.patch
package/bash/bash-4.1-001.patch deleted +0 -48
deleted file mode 100644
index be5f982..0000000
@@ -1,48 +0,0 @@
-			     BASH PATCH REPORT
-			     =================
-
-Bash-Release:	4.1
-Patch-ID:	bash41-001
-
-Bug-Reported-by:	Yann Rouillard <[email protected]>
-Bug-Reference-ID:	<[email protected]>
-Bug-Reference-URL:	http://lists.gnu.org/archive/html/bug-bash/2010-01/msg00018.html
-
-Bug-Description:
-
-A prototype for vsnprintf was incorrect, and caused compilation failures
-on systems that did not have a suitable vsnprintf, but had a declaration in
-one of the system header files.
-
-Patch (apply with `patch -p0'):
-
-*** ../bash-4.1-patched/builtins/printf.def	2009-11-20 15:31:23.000000000 -0500
---- ./builtins/printf.def	2010-01-07 08:50:06.000000000 -0500
-***************
-*** 173,177 ****
-  
-  #if !HAVE_VSNPRINTF
-! extern int vsnprintf __P((char *, size_t, const char *, ...)) __attribute__((__format__ (printf, 3, 4)));
-  #endif
-  
---- 173,177 ----
-  
-  #if !HAVE_VSNPRINTF
-! extern int vsnprintf __P((char *, size_t, const char *, va_list)) __attribute__((__format__ (printf, 3, 0)));
-  #endif
-  
-*** ../bash-4.1-patched/patchlevel.h	2009-10-01 16:39:22.000000000 -0400
---- ./patchlevel.h	2010-01-14 09:38:08.000000000 -0500
-***************
-*** 26,30 ****
-     looks for to find the patch level (for the sccs version string). */
-  
-! #define PATCHLEVEL 0
-  
-  #endif /* _PATCHLEVEL_H_ */
---- 26,30 ----
-     looks for to find the patch level (for the sccs version string). */
-  
-! #define PATCHLEVEL 1
-  
-  #endif /* _PATCHLEVEL_H_ */
package/bash/bash-4.1-002.patch deleted +0 -65

65 lines not on this page · raw message

package/bash/bash-4.1-003.patch deleted +0 -48

48 lines not on this page · raw message

package/bash/bash-4.1-004.patch deleted +0 -47

47 lines not on this page · raw message

package/bash/bash-4.1-005.patch deleted +0 -56

56 lines not on this page · raw message

package/bash/bash-4.1-006.patch deleted +0 -76

76 lines not on this page · raw message

package/bash/bash-4.1-007.patch deleted +0 -47

47 lines not on this page · raw message

package/bash/bash-4.1-008.patch deleted +0 -49

49 lines not on this page · raw message

package/bash/bash-4.1-009.patch deleted +0 -48

48 lines not on this page · raw message

package/bash/bash-4.1-mkbuiltins-cross.patch deleted +0 -31
deleted file mode 100644
index 4252d53..0000000
@@ -1,31 +0,0 @@
-Let mkbuiltins use config.h even if cross compiling
-
-Signed-off-by: Gustavo Zacarias <[email protected]>
----
- builtins/mkbuiltins.c |    9 ---------
- 1 files changed, 0 insertions(+), 9 deletions(-)
-
-diff --git a/builtins/mkbuiltins.c b/builtins/mkbuiltins.c
-index cdd45e4..1349093 100644
---- a/builtins/mkbuiltins.c
-+++ b/builtins/mkbuiltins.c
-@@ -19,16 +19,7 @@
-    along with Bash.  If not, see <http://www.gnu.org/licenses/>.
- */
- 
--#if !defined (CROSS_COMPILING) 
- #  include <config.h>
--#else	/* CROSS_COMPILING */
--/* A conservative set of defines based on POSIX/SUS3/XPG6 */
--#  define HAVE_UNISTD_H
--#  define HAVE_STRING_H
--#  define HAVE_STDLIB_H
--
--#  define HAVE_RENAME
--#endif /* CROSS_COMPILING */
- 
- #if defined (HAVE_UNISTD_H)
- #  ifdef _MINIX
--- 
-1.7.2.2
-
package/bash/bash-4.2-mkbuiltins-cross.patch new file +30 -0
new file mode 100644
index 0000000..f2cc606
@@ -0,0 +1,30 @@
+Let mkbuiltins use config.h even if cross compiling
+
+Signed-off-by: Gustavo Zacarias <[email protected]>
+---
+ builtins/mkbuiltins.c |    9 ---------
+ 1 files changed, 0 insertions(+), 9 deletions(-)
+
+diff --git a/builtins/mkbuiltins.c b/builtins/mkbuiltins.c
+index cdd45e4..1349093 100644
+--- a/builtins/mkbuiltins.c
++++ b/builtins/mkbuiltins.c
+@@ -19,16 +19,7 @@
+    along with Bash.  If not, see <http://www.gnu.org/licenses/>.
+ */
+
+-#if !defined (CROSS_COMPILING)
+ #  include <config.h>
+-#else	/* CROSS_COMPILING */
+-/* A conservative set of defines based on POSIX/SUS3/XPG6 */
+-#  define HAVE_UNISTD_H
+-#  define HAVE_STRING_H
+-#  define HAVE_STDLIB_H
+-
+-#  define HAVE_RENAME
+-#endif /* CROSS_COMPILING */
+
+ #if defined (HAVE_UNISTD_H)
+ #  ifdef _MINIX
+--
+1.7.2.2
package/bash/bash.mk +4 -1
index 2bcf0c4..fa9d6df 100644
@@ -4,7 +4,7 @@
 #
 #############################################################
 
-BASH_VERSION = 4.1
+BASH_VERSION = 4.2
 BASH_SITE = $(BR2_GNU_MIRROR)/bash
 BASH_DEPENDENCIES = ncurses
 
@@ -13,6 +13,9 @@ ifeq ($(BR2_PACKAGE_BUSYBOX),y)
 BASH_DEPENDENCIES += busybox
 endif
 
+#enable job control for cross-compiling condition
+BASH_CONF_ENV += bash_cv_job_control_missing=no
+
 # Save the old sh file/link if there is one and symlink bash->sh
 define BASH_INSTALL_TARGET_CMDS
 	$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) \
Signature · 1 line
1.7.0.4
#15 lore raw

PATCH 6/9 util-linux : convert to autotarget and bump to 2.19

In reply to Chih-Min Chao
---
 package/util-linux/Config.in                       |  113 +++++-
 ...linux-2.13-pre17-hardcode-a-out-constants.patch |   41 --
 .../util-linux-2.19-context_umount.patch           |   52 +++
 package/util-linux/util-linux-no-nls-fix.patch     |   25 --
 package/util-linux/util-linux-susv3-legacy.patch   |  429 --------------------
 package/util-linux/util-linux-umount2-fix.patch    |   20 -
 package/util-linux/util-linux.mk                   |  185 +++++----
 7 files changed, 268 insertions(+), 597 deletions(-)
 delete mode 100644 package/util-linux/util-linux-2.13-pre17-hardcode-a-out-constants.patch
 create mode 100644 package/util-linux/util-linux-2.19-context_umount.patch
 delete mode 100644 package/util-linux/util-linux-no-nls-fix.patch
 delete mode 100644 package/util-linux/util-linux-susv3-legacy.patch
 delete mode 100644 package/util-linux/util-linux-umount2-fix.patch
package/util-linux/Config.in +112 -1
index 434dae9..8cd9821 100644
@@ -1,4 +1,4 @@
-config BR2_PACKAGE_UTIL-LINUX
+config BR2_PACKAGE_UTIL_LINUX
 	bool "util-linux"
 	select BR2_PACKAGE_GETTEXT if BR2_NEEDS_GETTEXT_IF_LOCALE
 	select BR2_PACKAGE_LIBINTL if BR2_NEEDS_GETTEXT_IF_LOCALE
@@ -12,3 +12,114 @@ config BR2_PACKAGE_UTIL-LINUX
 
 comment "util-linux requires a toolchain with RPC support"
 	depends on !BR2_INET_RPC
+
+menu "util-linux tool support"
+	depends on BR2_PACKAGE_UTIL_LINUX
+
+############################################
+# default enabled and should be disabled by
+#  --disable-foo
+#
+
+config BR2_PACKAGE_UTIL_LINUX_MOUNT
+	bool "build mount utilties"
+	default y
+
+config BR2_PACKAGE_UTIL_LINUX_FSCK
+	bool "build \"fsck\""
+	default y
+
+config BR2_PACKAGE_UTIL_LINUX_LIBUUID
+	bool "build libuuid and uuid utilities"
+	default y
+
+config BR2_PACKAGE_UTIL_LINUX_UUIDD
+	bool "build \"uuidd\""
+	default y
+
+config BR2_PACKAGE_UTIL_LINUX_LIBBLKID
+	bool "build libblkid and blkid utilities"
+	default y
+
+config BR2_PACKAGE_UTIL_LINUX_AGETTY
+	bool "build \"agetty\""
+	default y
+
+config BR2_PACKAGE_UTIL_LINUX_CRAMFS
+	bool "build \"fsck.cramfs, mkfs.cramfs\""
+	default y
+
+config BR2_PACKAGE_UTIL_LINUX_SWITCH_ROOT
+	bool "build \"switch_root\""
+	default y
+
+config BR2_PACKAGE_UTIL_LINUX_PIVOT_ROOT
+	bool "build \"pivot_root\""
+	default y
+
+config BR2_PACKAGE_UTIL_LINUX_FALLOCATE
+	bool "build \"fallocate\""
+	default y
+
+config BR2_PACKAGE_UTIL_LINUX_UNSHARE
+	bool "build \"unshare\""
+	default y
+
+config BR2_PACKAGE_UTIL_LINUX_RENAME
+	bool "build \"rename\""
+	default y
+
+config BR2_PACKAGE_UTIL_LINUX_SCHEDUTILS
+	bool "build \"chrt, ionice, teskset\""
+	default y
+
+config BR2_PACKAGE_UTIL_LINUX_WALL
+	bool "build \"wall\""
+	default y
+
+
+############################################
+# default disabled and should be enabled by
+#  --enable-foo
+#
+config BR2_PACKAGE_UTIL_LINUX_ARCH
+	bool "build \"arch\""
+	default n
+
+config BR2_PACKAGE_UTIL_LINUX_INIT
+	bool "build \"simpleinit, shutdown, initctl\""
+	default n
+
+config BR2_PACKAGE_UTIL_LINUX_KILL
+	bool "build \"kill\""
+	default n
+
+config BR2_PACKAGE_UTIL_LINUX_LAST
+	bool "build \"last\""
+	default n
+
+config BR2_PACKAGE_UTIL_LINUX_MESG
+	bool "build \"kill\""
+	default n
+
+config BR2_PACKAGE_UTIL_LINUX_PARTX
+	bool "build \"addpart, delpart, partx\""
+	default n
+
+config BR2_PACKAGE_UTIL_LINUX_RAW
+	bool "build \"raw\""
+	default n
+
+config BR2_PACKAGE_UTIL_LINUX_RESET
+	bool "build \"reset\""
+	default n
+
+config BR2_PACKAGE_UTIL_LINUX_LOGIN_UTILS
+	bool "build \"chfn, chsh, login, newgrp, vipw\""
+	default n
+
+config BR2_PACKAGE_UTIL_LINUX_WRITE
+	bool "build \"addpart, delpart, partx\""
+	default n
+
+endmenu
package/util-linux/util-linux-2.13-pre17-hardcode-a-out-constants.patch deleted +0 -41

41 lines not on this page · raw message

package/util-linux/util-linux-2.19-context_umount.patch new file +52 -0

52 lines not on this page · raw message

package/util-linux/util-linux-no-nls-fix.patch deleted +0 -25
deleted file mode 100644
index c02009f..0000000
@@ -1,25 +0,0 @@
-[PATCH]: fix util-linux build without NLS support
-
-util-linux partly supports builds without NLS support, but it forgets to
-provide a dummy setlocale() macro.
-
-Signed-off-by: Peter Korsgaard <[email protected]>
----
- include/nls.h |    4 ++++
- 1 file changed, 4 insertions(+)
-
-Index: util-linux-2.13-pre7/include/nls.h
-===================================================================
---- util-linux-2.13-pre7.orig/include/nls.h
-+++ util-linux-2.13-pre7/include/nls.h
-@@ -19,6 +19,10 @@
- # define textdomain(Domain) /* empty */
- # define _(Text) (Text)
- # define N_(Text) (Text)
-+# undef LC_ALL
-+# define LC_ALL 0
-+# undef setlocale
-+# define setlocale(category, locale)
- #endif
- 
- 
package/util-linux/util-linux-susv3-legacy.patch deleted +0 -429

429 lines not on this page · raw message

package/util-linux/util-linux-umount2-fix.patch deleted +0 -20
deleted file mode 100644
index 14b6c34..0000000
@@ -1,20 +0,0 @@
-[PATCH] fix multiple definitions of umount2 issue
-
-Signed-off-by: Peter Korsgaard <[email protected]>
----
- mount/umount.c |    2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-Index: util-linux-2.13-pre7/mount/umount.c
-===================================================================
---- util-linux-2.13-pre7.orig/mount/umount.c
-+++ util-linux-2.13-pre7/mount/umount.c
-@@ -29,7 +29,7 @@
- #include "nfsmount.h"
- #include <arpa/inet.h>
- 
--#if defined(MNT_FORCE) && !defined(__sparc__) && !defined(__arm__)
-+#if 1
- /* Interesting ... it seems libc knows about MNT_FORCE and presumably
-    about umount2 as well -- need not do anything */
- #else /* MNT_FORCE */
package/util-linux/util-linux.mk +104 -81

204 lines not on this page · raw message

Signature · 1 line
1.7.0.4
#16 lore raw

PATCH 7/9 libopenal : new package. Cross-platform audio library

In reply to Chih-Min Chao
---
 package/multimedia/Config.in              |    1 +
 package/multimedia/libopenal/Config.in    |    8 ++++++++
 package/multimedia/libopenal/libopenal.mk |   10 ++++++++++
 3 files changed, 19 insertions(+), 0 deletions(-)
 create mode 100644 package/multimedia/libopenal/Config.in
 create mode 100644 package/multimedia/libopenal/libopenal.mk
package/multimedia/Config.in +1 -0
index b8a0f21..0f5ac4e 100644
@@ -26,6 +26,7 @@ source "package/multimedia/libmms/Config.in"
 source "package/multimedia/libmpd/Config.in"
 source "package/multimedia/libmpeg2/Config.in"
 source "package/multimedia/libogg/Config.in"
+source "package/multimedia/libopenal/Config.in"
 source "package/multimedia/libreplaygain/Config.in"
 source "package/multimedia/libsamplerate/Config.in"
 source "package/multimedia/libsndfile/Config.in"
package/multimedia/libopenal/Config.in new file +8 -0
new file mode 100644
index 0000000..7262708
@@ -0,0 +1,8 @@
+config BR2_PACKAGE_LIBOPENAL
+	bool "libopenal"
+	help
+	  OpenAL is a cross-platform 3D audio API appropriate
+	  for use with gaming applications and many other types
+	  of audio applications
+
+	  http://connect.creativelabs.com/openal/default.aspx
package/multimedia/libopenal/libopenal.mk new file +10 -0
new file mode 100644
index 0000000..79de855
@@ -0,0 +1,10 @@
+################################################################################
+#
+# libopenal
+#
+################################################################################
+LIBOPENAL_VERSION=1.13
+LIBOPENAL_SITE=http://kcat.strangesoft.net/openal-releases
+LIBOPENAL_SOURCE=openal-soft-$(LIBOPENAL_VERSION).tar.bz2
+
+$(eval $(call CMAKETARGETS,package/multimedia,libopenal))
Signature · 1 line
1.7.0.4
#17 lore raw

PATCH 8/9 libraw : new package

In reply to Chih-Min Chao
---
 package/Config.in        |    1 +
 package/libraw/Config.in |   10 ++++++++++
 package/libraw/libraw.mk |   15 +++++++++++++++
 3 files changed, 26 insertions(+), 0 deletions(-)
 create mode 100644 package/libraw/Config.in
 create mode 100644 package/libraw/libraw.mk
package/Config.in +1 -0
index f459c1b..eefcde8 100644
@@ -278,6 +278,7 @@ source "package/libglade/Config.in"
 source "package/gdk-pixbuf/Config.in"
 source "package/libgtk2/Config.in"
 source "package/libpng/Config.in"
+source "package/libraw/Config.in"
 source "package/librsvg/Config.in"
 source "package/libsvgtiny/Config.in"
 source "package/libungif/Config.in"
package/libraw/Config.in new file +10 -0
new file mode 100644
index 0000000..61df2c6
@@ -0,0 +1,10 @@
+config BR2_PACKAGE_LIBRAW
+	bool "libraw"
+	depends on BR2_INSTALL_LIBSTDCPP
+	help
+	  libraw is an dc raw image manipulation library
+
+	  http://www.libraw.org/
+
+comment "libraw requires a toolchain with C++ support enabled"
+	depends on !BR2_INSTALL_LIBSTDCPP
package/libraw/libraw.mk new file +15 -0
new file mode 100644
index 0000000..9cc2f8f
@@ -0,0 +1,15 @@
+#############################################################
+#
+# libraw
+#
+#############################################################
+LIBRAW_VERSION:=0.13.1
+LIBRAW_SOURCE:=LibRaw-$(LIBRAW_VERSION).tar.gz
+LIBRAW_SITE:=http://www.libraw.org/data/
+
+LIBRAW_INSTALL_STAGING = YES
+LIBRAW_CONF_OPT += --disable-examples --disable-lcms \
+			--disable-openmp --disable-demosaic-pack-gpl2 \
+			--disable-demosaic-pack-gpl3
+
+$(eval $(call AUTOTARGETS,package,libraw))
Signature · 1 line
1.7.0.4
#18 lore raw

PATCH 8/9 libraw : new package

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Chih-Min" == Chih-Min Chao <[email protected]> writes:

Chih-Min> Signed-off-by: Chih-Min Chao <[email protected]>

Sorry for slow response - Committed with minor tweaks, thanks!

Chih-Min> +++ b/package/libraw/libraw.mk
Chih-Min> @@ -0,0 +1,15 @@
Chih-Min> +############################################################# Chih-Min> +#
Chih-Min> +# libraw
Chih-Min> +#
Chih-Min> +############################################################# Chih-Min> +LIBRAW_VERSION:=0.13.1
Chih-Min> +LIBRAW_SOURCE:=LibRaw-$(LIBRAW_VERSION).tar.gz Chih-Min> +LIBRAW_SITE:=http://www.libraw.org/data/

We normally use ' = ' here rather than ':='

Signature · 1 line
Bye, Peter Korsgaard
#19 lore raw

PATCH 9/9 boost : new package

In reply to Chih-Min Chao
---
 package/Config.in       |    1 +
 package/boost/Config.in |   81 +++++++++++++++++++++++++++++++++
 package/boost/boost.mk  |  113 +++++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 195 insertions(+), 0 deletions(-)
 create mode 100644 package/boost/Config.in
 create mode 100644 package/boost/boost.mk
package/Config.in +1 -0
index eefcde8..91a8aa3 100644
@@ -324,6 +324,7 @@ endmenu
 
 menu "Other"
 source "package/argp-standalone/Config.in"
+source "package/boost/Config.in"
 source "package/libatomic_ops/Config.in"
 source "package/libcap/Config.in"
 source "package/libdaemon/Config.in"
package/boost/Config.in new file +81 -0

81 lines not on this page · raw message

package/boost/boost.mk new file +113 -0

113 lines not on this page · raw message

Signature · 1 line
1.7.0.4