[oe-commits] org.oe.dev octave: add buidable stable 2.1.73 and testing 2.9.17

xjqian commit openembedded-commits at lists.openembedded.org
Fri Nov 23 05:28:48 UTC 2007


octave: add buidable stable 2.1.73 and testing 2.9.17

Author: xjqian at openembedded.org
Branch: org.openembedded.dev
Revision: 9c21936e78f49d085567b7f712471de150f3b548
ViewMTN: http://monotone.openembedded.org/revision/info/9c21936e78f49d085567b7f712471de150f3b548
Files:
1
packages/octave/octave_2.1.71.bb
packages/octave/octave_2.1.73.bb
packages/octave/files
packages/octave/files/configure.patch
packages/octave/octave.inc
packages/octave/octave_2.9.17.bb
MAINTAINERS
Diffs:

#
# mt diff -r26e5f15fce64b568855fce7a2565b52becfc4852 -r9c21936e78f49d085567b7f712471de150f3b548
#
# 
# 
# rename "packages/octave/octave_2.1.71.bb"
#     to "packages/octave/octave_2.1.73.bb"
# 
# add_dir "packages/octave/files"
# 
# add_file "packages/octave/files/configure.patch"
#  content [70d1b41778702736488c58c82728937a3091901e]
# 
# add_file "packages/octave/octave.inc"
#  content [ee444b2bd09390c3cf0f543fd839457a3a0fb8c3]
# 
# add_file "packages/octave/octave_2.9.17.bb"
#  content [028a53a764b76cb30a096e4ddaa61129061e6629]
# 
# patch "MAINTAINERS"
#  from [1ded1e429f8171d33e507e4cebb7bd6cd431d85f]
#    to [bf1ee44523aae87cd663a75d807708a6419b0343]
# 
# patch "packages/octave/octave_2.1.73.bb"
#  from [78e27523063cd8236102912792240a3029e2e1b5]
#    to [028ace8fc5a864067196732b53fb3568c0000830]
# 
============================================================
--- packages/octave/files/configure.patch	70d1b41778702736488c58c82728937a3091901e
+++ packages/octave/files/configure.patch	70d1b41778702736488c58c82728937a3091901e
@@ -0,0 +1,15 @@
+--- octave-2.9.17/configure.old	2007-11-17 18:57:35.000000000 -0600
++++ octave-2.9.17/configure	2007-11-17 19:08:33.000000000 -0600
+@@ -22598,11 +22598,10 @@ ac_link='$CC -o conftest$ac_exeext $CFLA
+ ac_compiler_gnu=$ac_cv_c_compiler_gnu
+ 
+ if test "$cross_compiling" = yes; then
+-  { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
++  { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
+ See \`config.log' for more details." >&5
+ echo "$as_me: error: cannot run test program while cross compiling
+ See \`config.log' for more details." >&2;}
+-   { (exit 1); exit 1; }; }
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+ /* confdefs.h.  */
============================================================
--- packages/octave/octave.inc	ee444b2bd09390c3cf0f543fd839457a3a0fb8c3
+++ packages/octave/octave.inc	ee444b2bd09390c3cf0f543fd839457a3a0fb8c3
@@ -0,0 +1,29 @@
+DESCRIPTION = "GNU Octave is a high-level language, primarily intended for numerical computations. \
+It provides a convenient command line interface for solving linear and nonlinear problems numerically, \
+and for performing other numerical experiments using a language that is mostly compatible with Matlab. \
+It may also be used as a batch-oriented language."
+HOMEPAGE = "http://www.gnu.org/software/octave/"
+SECTION = "console/scientific"
+LICENSE = "GPL"
+DEPENDS = "readline ncurses fftw"
+RDEPENDS = "libfftw3"
+# fftw compiled with --disable-fortran
+
+inherit autotools
+
+EXTRA_OECONF = "--without-hdf5"
+
+do_configure() {
+	gnu-configize
+	oe_runconf
+}
+
+PACKAGES =+ "octave-m"
+
+# octave-m provides matlab routines in .m file format
+FILES_${PN}-m = "${datadir}/${PN}/*"
+
+do_stage() {
+        autotools_stage_all
+}
+
============================================================
--- packages/octave/octave_2.9.17.bb	028a53a764b76cb30a096e4ddaa61129061e6629
+++ packages/octave/octave_2.9.17.bb	028a53a764b76cb30a096e4ddaa61129061e6629
@@ -0,0 +1,27 @@
+require octave.inc
+
+SRC_URI = "ftp://ftp.octave.org/pub/octave/${PN}-${PV}.tar.gz \
+           file://configure.patch;patch=1"
+
+PR = "r0"
+
+PACKAGES =+ "libcruft liboctave liboctinterp octave-oct \
+	     libcruft-dev liboctave-dev liboctinterp-dev \
+             libcruft-dbg liboctave-dbg liboctinterp-dbg"
+
+FILES_libcruft = "${libdir}/${PN}-${PV}/libcruft*"
+FILES_libcruft-dev = "${libdir}/${PN}-${PV}/libcruft.so"
+FILES_libcruft-dbg = "${libdir}/${PN}-${PV}/.debug/libcruft*"
+
+FILES_liboctave = "${libdir}/${PN}-${PV}/liboctave*"
+FILES_liboctave-dev = "${libdir}/${PN}-${PV}/liboctave.so"
+FILES_liboctave-dbg = "${libdir}/${PN}-${PV}/.debug/liboctave*"
+
+FILES_liboctinterp = "${libdir}/${PN}-${PV}/liboctinterp*"
+FILES_liboctinterp-dev = "${libdir}/${PN}-${PV}/liboctinterp.so"
+FILES_liboctinterp-dbg = "${libdir}/${PN}-${PV}/.debug/liboctinterp*"
+
+# octave-oct provides subroutines in .oct file format
+FILES_${PN}-oct = "${libexecdir}/${PN}/${PV}/oct/${TARGET_SYS}/*.oct"
+
+FILES_${PN}-dbg += "${libexecdir}/${PN}/${PV}/oct/${TARGET_SYS}/.debug"
============================================================
--- MAINTAINERS	1ded1e429f8171d33e507e4cebb7bd6cd431d85f
+++ MAINTAINERS	bf1ee44523aae87cd663a75d807708a6419b0343
@@ -94,7 +94,7 @@ Distros:    Ångström
 Mail:       xjqian at gmail.com
 Machines:   tosa, borzoi, nokia770
 Distros:    Ångström
-Recipes:    gnuplot
+Recipes:    gnuplot octave
 
 Person:     Justin Patrin
 Mail:       papercrane at reversefold.com
============================================================
--- packages/octave/octave_2.1.71.bb	78e27523063cd8236102912792240a3029e2e1b5
+++ packages/octave/octave_2.1.73.bb	028ace8fc5a864067196732b53fb3568c0000830
@@ -1,17 +1,11 @@
-DESCRIPTION = "GNU Octave is a high-level language, primarily intended for numerical computations. \
-It provides a convenient command line interface for solving linear and nonlinear problems numerically, \
-and for performing other numerical experiments using a language that is mostly compatible with Matlab. \
-It may also be used as a batch-oriented language."
-SECTION = "console/utils"
-LICENSE = "GPL"
-DEPENDS = "readline ncurses"
-SRC_URI = "ftp://ftp.octave.org/pub/octave/bleeding-edge/octave-${PV}.tar.gz"
+require octave.inc
 
-inherit autotools
+SRC_URI = "ftp://ftp.octave.org/pub/octave/obsolete/${PN}-${PV}.tar.gz"
 
-FILES_${PN}-dev += "${libdir}/octave-${PV}/*.la ${libdir}/octave-${PV}/*.a"
+PR = "r0"
 
+PACKAGES =+ "libcruft-dev liboctave-dev liboctinterp-dev"
+
+FILES_libcruft-dev = "${libdir}/${PN}-${PV}/libcruft*"
+FILES_liboctave-dev = "${libdir}/${PN}-${PV}/liboctave*"
+FILES_liboctinterp-dev = "${libdir}/${PN}-${PV}/liboctinterp*"
-do_configure() {
-	gnu-configize
-	oe_runconf
-}






More information about the Openembedded-commits mailing list