Skip to contentSkip to conversation

Add new package apr-util

PATCH Superseded Rico Bachmann 3 participants 5 messages Apr 25, 2012 – May 3, 2012

lore
Share & tools
lore
#0 lore raw

PATCH v3 1/1 Add new package apr-util

Add package apr-util

Add the package apr-util to buildroot and adding a patch to avoid the failing test APU_FIND_APR

---
v1: Add package apr-util
Add patch to remove check for apr
because check for apr search for ./apr and not for defined folder
v2: Change spaces to tab in *.mk
v3: Add Signed-off-by and comments to package-patch

 package/Config.in                                  |    1 +
 package/apr-util/Config.in                         |    7 +++++++
 .../apr-util/apr-util-1.4.1-remove-checkapr.patch  |   17 +++++++++++++++++
 package/apr-util/apr-util.mk                       |   14 ++++++++++++++
 4 files changed, 39 insertions(+), 0 deletions(-)
 create mode 100644 package/apr-util/Config.in
 create mode 100644 package/apr-util/apr-util-1.4.1-remove-checkapr.patch
 create mode 100644 package/apr-util/apr-util.mk
package/Config.in +1 -0
index 5ae1c81..805f56a 100644
@@ -375,6 +375,7 @@ endmenu
 
 menu "Other"
 source "package/apr/Config.in"
+source "package/apr-util/Config.in"
 source "package/fftw/Config.in"
 source "package/libargtable2/Config.in"
 source "package/argp-standalone/Config.in"
package/apr-util/Config.in new file +7 -0
new file mode 100644
index 0000000..a4411ba
@@ -0,0 +1,7 @@
+config BR2_PACKAGE_APR_UTIL
+	bool "apr-util"
+	select BR2_PACKAGE_APR
+	help
+	  The utility library for the apache runtime project
+
+	  http://apr.apache.org/
package/apr-util/apr-util-1.4.1-remove-checkapr.patch new file +17 -0
new file mode 100644
index 0000000..128a1b0
@@ -0,0 +1,17 @@
+Signed-off-by: Rico Bachmann <[email protected]>
+---
+disable the check for APU_FIND_APR because the check only looks into folders
+named apr, and our source-tree is called apr-versionnumber (e.g. apr-1.4.6)
+---
+diff -rupN apr-util-1.4.1/configure.in apr-util-1.4.1-fix/configure.in
+--- apr-util-1.4.1/configure.in	2009-12-17 20:15:19.000000000 +0100
++++ apr-util-1.4.1-fix/configure.in	2012-04-24 10:10:32.000000000 +0200
+@@ -99,7 +99,7 @@ fi
+ dnl
+ dnl Find the APR includes directory and (possibly) the source (base) dir.
+ dnl
+-APU_FIND_APR
++dnl APU_FIND_APR
+ 
+ dnl
+ dnl even though we use apr_rules.mk for building apr-util, we need
package/apr-util/apr-util.mk new file +14 -0
new file mode 100644
index 0000000..f5f4d80
@@ -0,0 +1,14 @@
+#############################################################
+#
+# apr-util
+#
+#############################################################
+APR_UTIL_VERSION = 1.4.1
+APR_UTIL_SITE = http://archive.apache.org/dist/apr
+APR_UTIL_INSTALL_STAGING = YES
+APR_UTIL_DEPENDENCIES = apr
+APR_UTIL_CONF_OPT = \
+	--prefix=/usr \
+	--with-apr=$(BUILD_DIR)/apr-$(APR_VERSION)
+
+$(eval $(call AUTOTARGETS))
Signature · 1 line
1.7.2.5
#1 lore raw

PATCH v3 1/1 Add new package apr-util

Add package apr-util

Add the package apr-util to buildroot and adding a patch to avoid the failing test APU_FIND_APR

---
v1: Add package apr-util
Add patch to remove check for apr
because check for apr search for ./apr and not for defined folder
v2: Change spaces to tab in *.mk
v3: Add Signed-off-by and comments to package-patch

---
 package/Config.in                                  |    1 +
 package/apr-util/Config.in                         |    7 ++++++
 .../apr-util/apr-util-1.4.1-remove-checkapr.patch  |   21 ++++++++++++++++++++
 package/apr-util/apr-util.mk                       |   14 +++++++++++++
 4 files changed, 43 insertions(+), 0 deletions(-)
 create mode 100644 package/apr-util/Config.in
 create mode 100644 package/apr-util/apr-util-1.4.1-remove-checkapr.patch
 create mode 100644 package/apr-util/apr-util.mk
package/Config.in +1 -0
index 5ae1c81..805f56a 100644
@@ -375,6 +375,7 @@ endmenu
 
 menu "Other"
 source "package/apr/Config.in"
+source "package/apr-util/Config.in"
 source "package/fftw/Config.in"
 source "package/libargtable2/Config.in"
 source "package/argp-standalone/Config.in"
package/apr-util/Config.in new file +7 -0
new file mode 100644
index 0000000..a4411ba
@@ -0,0 +1,7 @@
+config BR2_PACKAGE_APR_UTIL
+	bool "apr-util"
+	select BR2_PACKAGE_APR
+	help
+	  The utility library for the apache runtime project
+
+	  http://apr.apache.org/
package/apr-util/apr-util-1.4.1-remove-checkapr.patch new file +21 -0
new file mode 100644
index 0000000..a8af6e9
@@ -0,0 +1,21 @@
+remove check apr
+
+this patch removes the check of apr which fails the build
+
+Signed-off-by: Rico Bachmann <[email protected]>
+---
+v1: disable the check for APU_FIND_APR because the check only looks into folders
+named apr, and our source-tree is called apr-versionnumber (e.g. apr-1.4.6)
+
+diff -rupN apr-util-1.4.1/configure.in apr-util-1.4.1-fix/configure.in
+--- apr-util-1.4.1/configure.in	2009-12-17 20:15:19.000000000 +0100
++++ apr-util-1.4.1-fix/configure.in	2012-04-24 10:10:32.000000000 +0200
+@@ -99,7 +99,7 @@ fi
+ dnl
+ dnl Find the APR includes directory and (possibly) the source (base) dir.
+ dnl
+-APU_FIND_APR
++dnl APU_FIND_APR
+ 
+ dnl
+ dnl even though we use apr_rules.mk for building apr-util, we need
package/apr-util/apr-util.mk new file +14 -0
new file mode 100644
index 0000000..f5f4d80
@@ -0,0 +1,14 @@
+#############################################################
+#
+# apr-util
+#
+#############################################################
+APR_UTIL_VERSION = 1.4.1
+APR_UTIL_SITE = http://archive.apache.org/dist/apr
+APR_UTIL_INSTALL_STAGING = YES
+APR_UTIL_DEPENDENCIES = apr
+APR_UTIL_CONF_OPT = \
+	--prefix=/usr \
+	--with-apr=$(BUILD_DIR)/apr-$(APR_VERSION)
+
+$(eval $(call AUTOTARGETS))
Signature · 1 line
1.7.2.5
#2 lore raw

PATCH v3 1/1 Add new package apr-util

Quoted 4 lines · On Wednesday 25 April 2012 12:43:36 Rico Bachmann wrote:

Add package apr-util

Add the package apr-util to buildroot and adding a patch to avoid the failing test APU_FIND_APR

This is a bit more verbose than necessary :-)

We usually just have "apr-util: new package" as the subject line and
nothing more in the message.

[snip]

package/apr-util/apr-util.mk line 12

Quoted 3 lines
package/apr-util/apr-util.mk new file +3 -0
+APR_UTIL_CONF_OPT = \
+	--prefix=/usr \
+	--with-apr=$(BUILD_DIR)/apr-$(APR_VERSION)

The --prefix=/usr is already added by AUTOTARGETS, so is redundant here.

Regards,
Arnout

Signature · 6 lines
Arnout Vandecappelle                               arnout at mind be
Senior Embedded Software Architect                 +32-16-286540
Essensium/Mind                                     http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium                BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint:  7CB5 E4CC 6C2E EFD4 6E3D A754 F963 ECAB 2450 2F1F
#3 lore raw

PATCH v4 1/1 Add new package apr-util

Add new package apr-util

---
v1: Add package apr-util
Add patch to remove check for apr
because check for apr search for ./apr and not for defined folder
v2: Change spaces to tab in *.mk
v3: Add Signed-off-by and comments to package-patch
v4: remove prefix, is added by buildroot

---
 package/Config.in                                  |    1 +
 package/apr-util/Config.in                         |   11 ++++++++++
 .../apr-util/apr-util-1.4.1-remove-checkapr.patch  |   21 ++++++++++++++++++++
 package/apr-util/apr-util.mk                       |   13 ++++++++++++
 4 files changed, 46 insertions(+), 0 deletions(-)
 create mode 100644 package/apr-util/Config.in
 create mode 100644 package/apr-util/apr-util-1.4.1-remove-checkapr.patch
 create mode 100644 package/apr-util/apr-util.mk
package/Config.in +1 -0
index ed66c05..caa618b 100644
@@ -379,6 +379,7 @@ endmenu
 
 menu "Other"
 source "package/apr/Config.in"
+source "package/apr-util/Config.in"
 source "package/fftw/Config.in"
 source "package/libargtable2/Config.in"
 source "package/argp-standalone/Config.in"
package/apr-util/Config.in new file +11 -0
new file mode 100644
index 0000000..45973b2
@@ -0,0 +1,11 @@
+config BR2_PACKAGE_APR_UTIL
+	bool "apr-util"
+	select BR2_PACKAGE_APR
+	select BR2_PACKAGE_SQLITE
+	select BR2_PACKAGE_LIBNEON
+	select BR2_PACKAGE_NEON_ZLIB
+	select BR2_PACKAGE_ZLIB
+	help
+	  The utility library for the apache runtime project
+
+	  http://apr.apache.org/
package/apr-util/apr-util-1.4.1-remove-checkapr.patch new file +21 -0
new file mode 100644
index 0000000..42ad12f
@@ -0,0 +1,21 @@
+remove check apr
+
+this patch removes the check of apr which fails the build
+
+Signed-off-by: Rico Bachmann <[email protected]>
+---
+v1: disable the check for APU_FIND_APR because the check only looks into folders
+named apr, and our source-tree is called apr-versionnumber (e.g. apr-1.4.6)
+
+diff -rupN apr-util-1.4.1/configure.in apr-util-1.4.1-fix/configure.in
+--- apr-util-1.4.1/configure.in	2009-12-17 20:15:19.000000000 +0100
++++ apr-util-1.4.1-fix/configure.in	2012-04-24 10:10:32.000000000 +0200
+@@ -99,7 +99,7 @@ fi
+ dnl
+ dnl Find the APR includes directory and (possibly) the source (base) dir.
+ dnl
+-APU_FIND_APR
++dnl APU_FIND_APR
+ 
+ dnl
+ dnl even though we use apr_rules.mk for building apr-util, we need
package/apr-util/apr-util.mk new file +13 -0
new file mode 100644
index 0000000..564b1bb
@@ -0,0 +1,13 @@
+#############################################################
+#
+# apr-util
+#
+#############################################################
+APR_UTIL_VERSION = 1.4.1
+APR_UTIL_SITE = http://archive.apache.org/dist/apr
+APR_UTIL_INSTALL_STAGING = YES
+APR_UTIL_DEPENDENCIES = apr sqlite neon zlib
+APR_UTIL_CONF_OPT = \
+	--with-apr=$(BUILD_DIR)/apr-$(APR_VERSION) \
+
+$(eval $(call AUTOTARGETS))
Signature · 1 line
1.7.2.5
#4 lore raw

PATCH v4 1/1 Add new package apr-util

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

"Rico" == Rico Bachmann <[email protected]> writes:

Rico> Add new package apr-util
Rico> Signed-off-by: Rico Bachmann <[email protected]> Rico> ---
Rico> v1: Add package apr-util
Rico> Add patch to remove check for apr
Rico> because check for apr search for ./apr and not for defined folder
Rico> v2: Change spaces to tab in *.mk
Rico> v3: Add Signed-off-by and comments to package-patch Rico> v4: remove prefix, is added by buildroot Rico> ---

 Rico>  package/Config.in                                  |    1 +
 Rico>  package/apr-util/Config.in                         |   11 ++++++++++
 Rico>  .../apr-util/apr-util-1.4.1-remove-checkapr.patch  |   21 ++++++++++++++++++++
 Rico>  package/apr-util/apr-util.mk                       |   13 ++++++++++++
 Rico>  4 files changed, 46 insertions(+), 0 deletions(-)
 Rico>  create mode 100644 package/apr-util/Config.in
 Rico>  create mode 100644 package/apr-util/apr-util-1.4.1-remove-checkapr.patch
 Rico>  create mode 100644 package/apr-util/apr-util.mk

Rico> diff --git a/package/Config.in b/package/Config.in Rico> index ed66c05..caa618b 100644
Rico> --- a/package/Config.in
Rico> +++ b/package/Config.in
Rico> @@ -379,6 +379,7 @@ endmenu

Rico> menu "Other"
Rico> source "package/apr/Config.in"
Rico> +source "package/apr-util/Config.in"

 Rico>  source "package/fftw/Config.in"
 Rico>  source "package/libargtable2/Config.in"
 Rico>  source "package/argp-standalone/Config.in"

Rico> diff --git a/package/apr-util/Config.in b/package/apr-util/Config.in Rico> new file mode 100644
Rico> index 0000000..45973b2
Rico> --- /dev/null
Rico> +++ b/package/apr-util/Config.in
Rico> @@ -0,0 +1,11 @@
Rico> +config BR2_PACKAGE_APR_UTIL
Rico> + bool "apr-util"
Rico> + select BR2_PACKAGE_APR
Rico> + select BR2_PACKAGE_SQLITE
Rico> + select BR2_PACKAGE_LIBNEON

It is BR2_PACKAGE_NEON, not LIBNEON.

Other than that it looks good, committed - Thanks.

Signature · 1 line
Bye, Peter Korsgaard