All of lore.kernel.org
 help / color / mirror / Atom feed
* opie-freetype issue
@ 2006-09-18  7:15 Leon Zhang
  2006-09-18  8:30 ` Marcin Juszkiewicz
  2006-09-18  8:47 ` Michael 'Mickey' Lauer
  0 siblings, 2 replies; 6+ messages in thread
From: Leon Zhang @ 2006-09-18  7:15 UTC (permalink / raw)
  To: openembedded-devel

Dear all.

      hey, I am trying to fix the bug about opie-freetype. I found that the
current package can't install anything into "tmp/work/armv5te-linux/opie-
freetype-1.2.2-r0/install/". So, I write a patch which add "do_install"
function to install something into the directory. Here is the patch,

============================================================
--- packages/opie-freetype/opie-freetype.inc
a267aa16819e3160b8aca21e71fbf96494a2af34
+++ packages/opie-freetype/opie-freetype.inc
13950b3a59934d606aa73d29d0cd21b9e03137f5
@@ -11,4 +11,11 @@ inherit opie

 inherit opie

+
+do_install () {
+       install -d ${D}${palmtopdir}/bin/
+       install -d ${D}${palmtopdir}/lib/
+       oe_libinstall -so libfreetypefactory ${D}${palmtopdir}/lib
+}
+
 EXTRA_QMAKEVARS_POST += "INCLUDEPATH+=${STAGING_INCDIR}/freetype2"

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

and then, i tried to rebuild the *opie-freetype*.:

------------------------------------------------------------------------
leon@build-server:~/oe/test.dev$ bitbake opie-freetype -c rebuild
NOTE: Using cache in '/home/leon/oe/test.dev/tmp/cache'
NOTE: Handling BitBake files: / (3987/3987) [100 %]
NOTE: Parsing finished. 3847 cached, 0 parsed, 140 skipped, 0 masked.

NOTE: build 200609181513: started

OE Build Configuration:
BB_VERSION     = "1.6.1"
OE_REVISION    = "ddfe4434adf5911bc0607ac50123d539b22ff997"
TARGET_ARCH    = "arm"
TARGET_OS      = "linux"
MACHINE        = "paraphone-xscale"
DISTRO         = "paraphone-gen"
DISTRO_VERSION = ".dev-snapshot-20060918"
TARGET_FPU     = "soft"

NOTE: package opie-freetype-1.2.2: started
NOTE: package opie-freetype-1.2.2-r0: task do_rebuild: started
NOTE: package opie-freetype-1.2.2-r0: task do_clean: started
NOTE: removing /home/leon/oe/test.dev/tmp/work/armv5te-linux/opie-
freetype-1.2.2-r0
NOTE: removing /home/leon/oe/test.dev/tmp/stamps/armv5te-linux/opie-
freetype-1.2.2-r0.*
NOTE: package opie-freetype-1.2.2-r0: task do_clean: completed
NOTE: package opie-freetype-1.2.2-r0: task do_fetch: started
NOTE: package opie-freetype-1.2.2-r0: task do_fetch: completed
NOTE: package opie-freetype-1.2.2-r0: task do_unpack: started
NOTE: Unpacking
/home/leon/sources/opie.freetype_anoncvs.handhelds.org_v1_2_2_.tar.gz to
/home/leon/oe/test.dev/tmp/work/armv5te-linux/opie-freetype-1.2.2-r0/
NOTE: package opie-freetype-1.2.2-r0: task do_unpack: completed
NOTE: package opie-freetype-1.2.2-r0: task do_patch: started
NOTE: package opie-freetype-1.2.2-r0: task do_patch: completed
NOTE: package opie-freetype-1.2.2-r0: task do_configure: started
NOTE: package opie-freetype-1.2.2-r0: task do_configure: completed
NOTE: package opie-freetype-1.2.2-r0: task do_compile: started
NOTE: package opie-freetype-1.2.2-r0: task do_compile: completed
NOTE: package opie-freetype-1.2.2-r0: task do_install: started
NOTE: package opie-freetype-1.2.2-r0: task do_install: completed
NOTE: package opie-freetype-1.2.2-r0: task do_package: started
NOTE: Not creating empty archive for opie-freetype-dbg-1.2.2-r0
Packaged contents of opie-freetype into
/home/leon/oe/test.dev/tmp/deploy/ipk/libfreetypefactory1_1.2.2-r0_armv5te.ipk
NOTE: Not creating empty archive for opie-freetype-doc-1.2.2-r0
NOTE: Not creating empty archive for opie-freetype-dev-1.2.2-r0
NOTE: Not creating empty archive for opie-freetype-locale-1.2.2-r0
NOTE: Not creating empty archive for opie-freetype-dbg-1.2.2-r0
./
./opt/
./opt/QtPalmtop/
./opt/QtPalmtop/bin/
./opt/QtPalmtop/lib/
./opt/QtPalmtop/lib/libfreetypefactory.so
./opt/QtPalmtop/lib/libfreetypefactory.so.1
./opt/QtPalmtop/lib/libfreetypefactory.so.1.0
./opt/QtPalmtop/lib/libfreetypefactory.so.1.0.1
./opt/QtPalmtop/lib/.debug/
./opt/QtPalmtop/lib/.debug/libfreetypefactory.so.1.0.1
NOTE: Not creating empty archive for opie-freetype-doc-1.2.2-r0
NOTE: Not creating empty archive for opie-freetype-dev-1.2.2-r0
NOTE: Not creating empty archive for opie-freetype-locale-1.2.2-r0
NOTE: package opie-freetype-1.2.2-r0: task do_package: completed
NOTE: package opie-freetype-1.2.2-r0: task do_opie_install: started
NOTE: Section='Fontfactories', bindir='/plugins/fontfactories',
desktopdir='None', name='freetypefactory', type='plugin'
NOTE: package opie-freetype-1.2.2-r0: task do_opie_install: completed
NOTE: package opie-freetype-1.2.2-r0: task do_populate_staging: started
NOTE: package opie-freetype-1.2.2-r0: task do_populate_staging: completed
NOTE: package opie-freetype-1.2.2-r0: task do_build: started
NOTE: package opie-freetype-1.2.2-r0: task do_build: completed
NOTE: package opie-freetype-1.2.2-r0: task do_rebuild: completed
NOTE: package opie-freetype-1.2.2: completed
NOTE: build 200609181513: completed
Build statistics:
  Attempted builds: 1
leon@build-server:~/oe/test.dev$


Hmm, I don't know why, it pakcaged contents into *libfreetypefactory*
instead of *opie-freetype*. So, why ?


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: opie-freetype issue
  2006-09-18  7:15 opie-freetype issue Leon Zhang
@ 2006-09-18  8:30 ` Marcin Juszkiewicz
  2006-09-18  9:04   ` Leon Zhang
  2006-09-18  8:47 ` Michael 'Mickey' Lauer
  1 sibling, 1 reply; 6+ messages in thread
From: Marcin Juszkiewicz @ 2006-09-18  8:30 UTC (permalink / raw)
  To: openembedded-devel

Dnia poniedziałek, 18 września 2006 09:15, Leon Zhang napisał:

> hey, I am trying to fix the bug about opie-freetype. I found that the
> current package can't install anything into "tmp/work/armv5te-linux/
> opie- freetype-1.2.2-r0/install/". So, I write a patch which
> add "do_install" function to install something into the directory. 


pushed in eea65847cfef3a7ff53e70dcfed248b5ad86b7fb

> Hmm, I don't know why, it pakcaged contents into *libfreetypefactory*
> instead of *opie-freetype*. So, why ?

debian.bbclass renaming - I disabled it.

-- 
JID: hrw-jabber.org
Sharp Zaurus C-760 (OZ 3.5.x)
OpenEmbedded/OpenZaurus/OPIE developer

                    If it happens, it must be possible.



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: opie-freetype issue
  2006-09-18  7:15 opie-freetype issue Leon Zhang
  2006-09-18  8:30 ` Marcin Juszkiewicz
@ 2006-09-18  8:47 ` Michael 'Mickey' Lauer
  2006-09-18  9:03   ` Leon Zhang
  1 sibling, 1 reply; 6+ messages in thread
From: Michael 'Mickey' Lauer @ 2006-09-18  8:47 UTC (permalink / raw)
  To: Using the OpenEmbedded metadata to build Linux Distributions

Am Montag, den 18.09.2006, 15:15 +0800 schrieb Leon Zhang:
>       hey, I am trying to fix the bug about opie-freetype.

Which bug are we talking about?

>  I found that the
> current package can't install anything into "tmp/work/armv5te-linux/opie-
> freetype-1.2.2-r0/install/". So, I write a patch which add "do_install"
> function to install something into the directory. Here is the patch,

That's redundant. Opie installs plugins during the opie_install task as
per opie.bbclass.

-- 
Regards,

Michael 'Mickey' Lauer | FreeLancer | http://www.Vanille-Media.de





^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: opie-freetype issue
  2006-09-18  8:47 ` Michael 'Mickey' Lauer
@ 2006-09-18  9:03   ` Leon Zhang
       [not found]     ` <1158574365.5494.2.camel@gandalf.tm.informatik.uni-frankfurt.de>
  0 siblings, 1 reply; 6+ messages in thread
From: Leon Zhang @ 2006-09-18  9:03 UTC (permalink / raw)
  To: Using the OpenEmbedded metadata to build Linux Distributions

2006/9/18, Michael 'Mickey' Lauer <mickey@tm.informatik.uni-frankfurt.de>:
>
> Am Montag, den 18.09.2006, 15:15 +0800 schrieb Leon Zhang:
> >       hey, I am trying to fix the bug about opie-freetype.
>
> Which bug are we talking about?


Yesterday, I build opie-image failed. I got a dependency error. and I *did*
get nonthing in tmp/work/armv5te-linux/opie-freetype-1.2.2-r0/install/*. So,
I wrote the patch above. and if you check the irc log yesterday, you would
get more details talks about it.

>  I found that the
> > current package can't install anything into
> "tmp/work/armv5te-linux/opie-
> > freetype-1.2.2-r0/install/". So, I write a patch which add "do_install"
> > function to install something into the directory. Here is the patch,
>
> That's redundant. Opie installs plugins during the opie_install task as
> per opie.bbclass.


Well, is there better patch for this ?

--
> Regards,
>
> Michael 'Mickey' Lauer | FreeLancer | http://www.Vanille-Media.de
>
>
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: opie-freetype issue
  2006-09-18  8:30 ` Marcin Juszkiewicz
@ 2006-09-18  9:04   ` Leon Zhang
  0 siblings, 0 replies; 6+ messages in thread
From: Leon Zhang @ 2006-09-18  9:04 UTC (permalink / raw)
  To: Using the OpenEmbedded metadata to build Linux Distributions

2006/9/18, Marcin Juszkiewicz <openembedded@hrw.one.pl>:
>
> Dnia poniedzia&#65533;ek, 18 wrze&#65533;nia 2006 09:15, Leon Zhang napisa&#65533;:
>
> > hey, I am trying to fix the bug about opie-freetype. I found that the
> > current package can't install anything into "tmp/work/armv5te-linux/
> > opie- freetype-1.2.2-r0/install/". So, I write a patch which
> > add "do_install" function to install something into the directory.
>
>
> pushed in eea65847cfef3a7ff53e70dcfed248b5ad86b7fb


Hey. did you review this patch clearly ? the line "+       install -d
${D}${palmtopdir}/bin/" is useless, So, please remove it.

> Hmm, I don't know why, it pakcaged contents into *libfreetypefactory*
> > instead of *opie-freetype*. So, why ?
>
> debian.bbclass renaming - I disabled it.
>
> --
> JID: hrw-jabber.org
> Sharp Zaurus C-760 (OZ 3.5.x)
> OpenEmbedded/OpenZaurus/OPIE developer
>
>                     If it happens, it must be possible.
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: opie-freetype issue
       [not found]     ` <1158574365.5494.2.camel@gandalf.tm.informatik.uni-frankfurt.de>
@ 2006-09-18 10:39       ` Leon Zhang
  0 siblings, 0 replies; 6+ messages in thread
From: Leon Zhang @ 2006-09-18 10:39 UTC (permalink / raw)
  To: Using the OpenEmbedded metadata to build Linux Distributions

2006/9/18, Michael 'Mickey' Lauer <mickey@tm.informatik.uni-frankfurt.de>:
>
> Am Montag, den 18.09.2006, 17:03 +0800 schrieb Leon Zhang:
> > 2006/9/18, Michael 'Mickey' Lauer <mickey@tm.informatik.uni-frankfurt.de
> >:
> > >
> > > Am Montag, den 18.09.2006, 15:15 +0800 schrieb Leon Zhang:
> > > >       hey, I am trying to fix the bug about opie-freetype.
> > >
> > > Which bug are we talking about?
> >
> >
> > Yesterday, I build opie-image failed. I got a dependency error. and I
> *did*
> > get nonthing in tmp/work/armv5te-linux/opie-freetype-1.2.2-r0/install/*.
> So,
> > I wrote the patch above. and if you check the irc log yesterday, you
> would
> > get more details talks about it.
>
> Missing dependencies is a different problem -- which can't be fixed
> by adding additional files within do_install. I'm afraid your
> distribution
> configuration is bogus.


Hmm, I don't thinks so. I am sure my configuration is correct. and that is a
*bug* indeed. Well, Please read

http://www.openembedded.org/viewmtn/diff.psp?id1=eea65847cfef3a7ff53e70dcfed248b5ad86b7fb&id2=b130be4ae6b3151966b2c1336b7712bfd28c58ac&fname=classes/opie.bbclass
for more information.

> >  I found that the
> > > > current package can't install anything into
> > > "tmp/work/armv5te-linux/opie-
> > > > freetype-1.2.2-r0/install/". So, I write a patch which add
> "do_install"
> > > > function to install something into the directory. Here is the patch,
> > >
> > > That's redundant. Opie installs plugins during the opie_install task
> as
> > > per opie.bbclass.
>
> > Well, is there better patch for this ?
>
> There is no need for a patch since this package used to work for years.
> If it doesn't nowadays, then there is something going wrong elsewhere.
>
> Marcin, please revert this patch.
>
> --
> Regards,
>
> Michael 'Mickey' Lauer | FreeLancer | http://www.Vanille-Media.de
>
>
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2006-09-18 10:43 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-09-18  7:15 opie-freetype issue Leon Zhang
2006-09-18  8:30 ` Marcin Juszkiewicz
2006-09-18  9:04   ` Leon Zhang
2006-09-18  8:47 ` Michael 'Mickey' Lauer
2006-09-18  9:03   ` Leon Zhang
     [not found]     ` <1158574365.5494.2.camel@gandalf.tm.informatik.uni-frankfurt.de>
2006-09-18 10:39       ` Leon Zhang

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.