Skip to contentSkip to conversation

sqlite3 recipe

PATCH Philip Balister 4 participants 6 messages Jul 19, 2009 – Jul 20, 2009

lore
Share & tools
lore
#0 lore raw

Does anyone mind if I push this change? I ran across a package that needed an additional header not staged by the current inc file.

Philip

recipes/sqlite/sqlite3.inc +1 -10
index 93a536e..ae20ff5 100644
@@ -9,7 +9,7 @@ SRC_URI = "http://www.sqlite.org/sqlite-${PV}.tar.gz \
 
 S = "${WORKDIR}/sqlite-${PV}"
 
-inherit autotools pkgconfig
+inherit autotools_stage pkgconfig
 
 EXTRA_OECONF = "--disable-tcl --enable-shared \
                --enable-threadsafe"
@@ -26,15 +26,6 @@ do_compile_prepend() {
        install -m 0644 sqlite3.h ${STAGING_INCDIR}
 }
 
-do_stage() {
-       oe_libinstall -so libsqlite3 ${STAGING_LIBDIR}
-       install -m 0644 sqlite3.h ${STAGING_INCDIR}
-}
-
-#do_install() {
-#      oe_runmake install DESTDIR=${D} prefix=${prefix} exec_prefix=${exec_pref
-#}
-
 PACKAGES = "libsqlite libsqlite-dev libsqlite-doc sqlite3 sqlite3-dbg"
 FILES_sqlite3 = "${bindir}/*"
 FILES_libsqlite = "${libdir}/*.so.*"
#1 lore raw
Quoted 2 lines · Philip Balister

Does anyone mind if I push this change? I ran across a package that needed an additional header not staged by the current inc file.

Go ahead, the currunt do_stage is obviously wrong.

regards,

Koen

Quoted 40 lines

Philip

recipes/sqlite/sqlite3.inc +0 -0
index 93a536e..ae20ff5 100644
@@ -9,7 +9,7 @@ SRC_URI = "http://www.sqlite.org/sqlite-${PV}.tar.gz \
 

S = "${WORKDIR}/sqlite-${PV}"

recipes/sqlite/sqlite3.inc +1 -1
-inherit autotools pkgconfig
+inherit autotools_stage pkgconfig

EXTRA_OECONF = "--disable-tcl --enable-shared \
--enable-threadsafe"

recipes/sqlite/sqlite3.inc +0 -9
@@ -26,15 +26,6 @@ do_compile_prepend() {
 install -m 0644 sqlite3.h ${STAGING_INCDIR}
 }
 
-do_stage() {
- oe_libinstall -so libsqlite3 ${STAGING_LIBDIR}
- install -m 0644 sqlite3.h ${STAGING_INCDIR}
-}
-
-#do_install() {
-# oe_runmake install DESTDIR=${D} prefix=${prefix} exec_prefix=${exec_pref
-#}
-

PACKAGES = "libsqlite libsqlite-dev libsqlite-doc sqlite3 sqlite3-dbg" FILES_sqlite3 = "${bindir}/*"
FILES_libsqlite = "${libdir}/*.so.*"

------------------------------------------------------------------------

_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

#2 lore raw
In reply to Philip Balister

Hello,

Quoted 2 lines · Philip Balister

Does anyone mind if I push this change? I ran across a package that needed an additional header not staged by the current inc file.

It looks like you've forgotten the PR bump. In this case would be nice to move it to INC_PR stuff.

Signature · 3 lines
Otavio Salvador                  O.S. Systems
E-mail: [email protected]  http://www.ossystems.com.br
Mobile: +55 53 9981-7854         http://projetos.ossystems.com.br
#3 lore raw
Quoted 8 lines · Otavio Salvador

Hello,

Quoted 2 lines · Philip Balister

Does anyone mind if I push this change? I ran across a package that needed an additional header not staged by the current inc file.

It looks like you've forgotten the PR bump. In this case would be nice to move it to INC_PR stuff.

Well, for this case only staging changes, not the packaging. I needed to do this for a local recipe that used a different header file that the previous recipe did not install into staging. Certainly, if the packaging changes, it should move to INC_PR.

Phili p

#4 lore raw

Dnia poniedziałek, 20 lipca 2009 o 03:55:44 Philip Balister napisał(a):

Quoted 9 lines
Quoted 2 lines · Otavio Salvador

It looks like you've forgotten the PR bump. In this case would be nice to move it to INC_PR stuff.

Well, for this case only staging changes, not the packaging. I needed to do this for a local recipe that used a different header file that the previous recipe did not install into staging. Certainly, if the packaging changes, it should move to INC_PR.

You change made all packages built after it have access to all SQLite headers. You do not know how many of them use those.

Change to packages content require PR bump. Change to staging also require PR bump - otherwise I am not able to build your local recipe without rebuilding sqlite by hand.

Regards,

Signature · 3 lines
JID:      [email protected]
Website:  http://marcin.juszkiewicz.com.pl/
LinkedIn: http://www.linkedin.com/in/marcinjuszkiewicz
#5 lore raw
In reply to Philip Balister
Quoted 5 lines · Philip Balister
Quoted 4 lines · Otavio Salvador

Hello,

On Sun, Jul 19, 2009 at 4:32 PM, Philip Balister<[email protected]> wrote:

Quoted 8 lines
Quoted 6 lines
Quoted 3 lines

Does anyone mind if I push this change? I ran across a package that needed
an additional header not staged by the current inc file.

It looks like you've forgotten the PR bump. In this case would be nice to move it to INC_PR stuff.

Well, for this case only staging changes, not the packaging.

You change the packaged-staging package :) And what Marcin said of needing manual intervention.

regards,

Koen