Skip to contentSkip to conversation

svn commit: trunk/buildroot/package: atk cairo libglib2 libgtk2 pango

Buildroot ninevoltz at uclibc.org 1 participant 1 message May 1, 2008

lore
Share & tools
lore
#0 lore raw

Author: ninevoltz
Date: 2008-05-01 07:07:11 -0700 (Thu, 01 May 2008) New Revision: 21906

Log:
remove unnecessary libdir-la.patch patches and modify Makefile.autotools.in to patch libtool automatically.

Added:
trunk/buildroot/package/buildroot-libtool.patch

Removed:
trunk/buildroot/package/atk/atk-1.9.1-libdir-la.patch trunk/buildroot/package/cairo/cairo-1.4.14-libdir-la.patch trunk/buildroot/package/libglib2/libglib2-2.15.4-libdir-la.patch trunk/buildroot/package/libgtk2/libgtk2-2.12.6-libdir-la.patch trunk/buildroot/package/pango/pango-1.19.3-libdir-la.patch

Modified:
trunk/buildroot/package/Makefile.autotools.in

Changeset:
Modified: trunk/buildroot/package/Makefile.autotools.in
===================================================================

buildroot/package/Makefile.autotools.in +9 -1
@@ -142,7 +142,12 @@
 	$(Q)mkdir -p $(@D)
 	$(Q)$(INFLATE$(suffix $($(PKG)_SOURCE))) $(DL_DIR)/$($(PKG)_SOURCE) | \
 	$(TAR) --strip-components=1 -C $(@D) $(TAR_OPTIONS) -
-	chmod -R ug+rw $(@D)  
+# some packages have messed up permissions inside
+	$(Q)chmod -R ug+rw $(@D)
+# if the package uses libtool, patch it for cross-compiling in buildroot
+	for i in `find $(@D) -name ltmain.sh`; do \
+		toolchain/patch-kernel.sh $${i%/*} package buildroot-libtool.patch; \
+	done 
 	$(Q)touch $@
 
 # Patch
@@ -185,6 +190,9 @@
 	$(call MESSAGE,"Configuring")
 	$(Q)if test "$($(PKG)_AUTORECONF)" = "YES"; then \
 		cd $(@D)/$($(PKG)_SUBDIR) && $(AUTORECONF); \
+		for i in `find $(@D)/$($(PKG)_SUBDIR) -name ltmain.sh`; do \
+			../../toolchain/patch-kernel.sh $${i%/*} ../../package buildroot-libtool.patch; \
+		done \
 	fi
 	cd $(@D)/$($(PKG)_SUBDIR) && rm -f config.cache && \
 	$(TARGET_CONFIGURE_OPTS) \

Deleted: trunk/buildroot/package/atk/atk-1.9.1-libdir-la.patch
===================================================================

buildroot/package/atk/atk-1.9.1-libdir-la.patch +0 -77

77 lines not on this page · raw message

Added: trunk/buildroot/package/buildroot-libtool.patch
===================================================================

buildroot/package/buildroot-libtool.patch +86 -0

86 lines not on this page · raw message

Deleted: trunk/buildroot/package/cairo/cairo-1.4.14-libdir-la.patch
===================================================================

buildroot/package/cairo/cairo-1.4.14-libdir-la.patch +0 -77

77 lines not on this page · raw message

Deleted: trunk/buildroot/package/libglib2/libglib2-2.15.4-libdir-la.patch
===================================================================

buildroot/package/libglib2/libglib2-2.15.4-libdir-la.patch +0 -77

77 lines not on this page · raw message

Deleted: trunk/buildroot/package/libgtk2/libgtk2-2.12.6-libdir-la.patch
===================================================================

buildroot/package/libgtk2/libgtk2-2.12.6-libdir-la.patch +0 -77

77 lines not on this page · raw message

Deleted: trunk/buildroot/package/pango/pango-1.19.3-libdir-la.patch
===================================================================

buildroot/package/pango/pango-1.19.3-libdir-la.patch +0 -77

77 lines not on this page · raw message