All of lore.kernel.org
 help / color / mirror / Atom feed
* packageconfig for non-autotooled project
@ 2015-09-21 14:29 Trevor Woerner
  2015-09-21 17:03   ` [OE-core] " Khem Raj
  0 siblings, 1 reply; 8+ messages in thread
From: Trevor Woerner @ 2015-09-21 14:29 UTC (permalink / raw)
  To: openembedded-core@lists.openembedded.org, yocto@yoctoproject.org

Hello,

libepoxy needs its EGL support to have a packageconfig (*.pc) file but
the EGL I want to use in my project
(meta-sunxi/recipes-graphics/libgles/sunxi-mali_git.bb, which points to
gitsm://github.com/linux-sunxi/sunxi-mali.git) isn't autotooled. There
are a couple ways around this problem, but if there is an example of
generating a .pc file for a non-autotooled project already, I'd be
grateful if someone could point me to it :-)

Best regards,
    Trevor


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

* Re: packageconfig for non-autotooled project
  2015-09-21 14:29 packageconfig for non-autotooled project Trevor Woerner
@ 2015-09-21 17:03   ` Khem Raj
  0 siblings, 0 replies; 8+ messages in thread
From: Khem Raj @ 2015-09-21 17:03 UTC (permalink / raw)
  To: Trevor Woerner; +Cc: yocto, Patches and discussions about the oe-core layer

[-- Attachment #1: Type: text/plain, Size: 836 bytes --]

Look at the patches I have posted for raspberry pi layer
On Sep 21, 2015 7:29 AM, "Trevor Woerner" <twoerner@gmail.com> wrote:

> Hello,
>
> libepoxy needs its EGL support to have a packageconfig (*.pc) file but
> the EGL I want to use in my project
> (meta-sunxi/recipes-graphics/libgles/sunxi-mali_git.bb, which points to
> gitsm://github.com/linux-sunxi/sunxi-mali.git) isn't autotooled. There
> are a couple ways around this problem, but if there is an example of
> generating a .pc file for a non-autotooled project already, I'd be
> grateful if someone could point me to it :-)
>
> Best regards,
>     Trevor
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
>

[-- Attachment #2: Type: text/html, Size: 1457 bytes --]

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

* Re: [OE-core] packageconfig for non-autotooled project
@ 2015-09-21 17:03   ` Khem Raj
  0 siblings, 0 replies; 8+ messages in thread
From: Khem Raj @ 2015-09-21 17:03 UTC (permalink / raw)
  To: Trevor Woerner; +Cc: yocto, Patches and discussions about the oe-core layer

[-- Attachment #1: Type: text/plain, Size: 836 bytes --]

Look at the patches I have posted for raspberry pi layer
On Sep 21, 2015 7:29 AM, "Trevor Woerner" <twoerner@gmail.com> wrote:

> Hello,
>
> libepoxy needs its EGL support to have a packageconfig (*.pc) file but
> the EGL I want to use in my project
> (meta-sunxi/recipes-graphics/libgles/sunxi-mali_git.bb, which points to
> gitsm://github.com/linux-sunxi/sunxi-mali.git) isn't autotooled. There
> are a couple ways around this problem, but if there is an example of
> generating a .pc file for a non-autotooled project already, I'd be
> grateful if someone could point me to it :-)
>
> Best regards,
>     Trevor
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
>

[-- Attachment #2: Type: text/html, Size: 1457 bytes --]

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

* Re: packageconfig for non-autotooled project
  2015-09-21 17:03   ` [OE-core] " Khem Raj
@ 2015-09-21 19:08     ` Trevor Woerner
  -1 siblings, 0 replies; 8+ messages in thread
From: Trevor Woerner @ 2015-09-21 19:08 UTC (permalink / raw)
  To: Khem Raj; +Cc: yocto, Patches and discussions about the oe-core layer

Hey Khem,

On 09/21/15 13:03, Khem Raj wrote:
>
> Look at the patches I have posted for raspberry pi layer
>

Found them. Awesome, thanks! :-)


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

* Re: [OE-core] packageconfig for non-autotooled project
@ 2015-09-21 19:08     ` Trevor Woerner
  0 siblings, 0 replies; 8+ messages in thread
From: Trevor Woerner @ 2015-09-21 19:08 UTC (permalink / raw)
  To: Khem Raj; +Cc: yocto, Patches and discussions about the oe-core layer

Hey Khem,

On 09/21/15 13:03, Khem Raj wrote:
>
> Look at the patches I have posted for raspberry pi layer
>

Found them. Awesome, thanks! :-)


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

* Re: packageconfig for non-autotooled project
@ 2015-09-22  2:04 신택현 (Taek Hyun Shin)
  2015-09-22  2:59 ` Trevor Woerner
  0 siblings, 1 reply; 8+ messages in thread
From: 신택현 (Taek Hyun Shin) @ 2015-09-22  2:04 UTC (permalink / raw)
  To: yocto

[-- Attachment #1: Type: text/plain, Size: 1403 bytes --]

Create a sunxi-mali_git.bbappend file, to see the pc file of the MESA Project can be used to manually create a .pc file.

 

sunxi-mali_git.bbappend file

=====================================

FILESEXTRAPATHS_append := ":${THISDIR}/${PN}"

 

SRC_URI += "file://egl.pc"

 

do_install_append() {

install -d ${D}${libdir}/pkgconfig

cp ${WORKDIR}/egl.pc      ${D}${libdir}/pkgconfig

}

=====================================

 

this is my egl.pc file

====================================

prefix=/usr

exec_prefix=${prefix}

libdir=/usr/lib

includedir=/usr/include

 

Name: egl

Description: Telechips EGL library

Requires.private: 

Version: 10.1.3

Libs: -L${libdir} -lEGL -lGLESv2 -lMali -lUMP

Libs.private: 

Cflags: -I${includedir}/EGL/ -I${includedir}

====================================

 

 

 

Best regards,

Wily Taekhyun Shin

 

=============================================================================
Wily Taekhyun Shin

Research Engineer
R&D Center
Telechips Inc.
Tel : + 82-2-3443-6792(Ext.390)

Fax : + 82-2-6424-7793 

Mobile : + 82-10-4376-5530

E-mail : thshin@telechips.com <blocked::blocked::blocked::blocked::blocked::blocked::blocked::blocked::blocked::blocked::mailto:ksjeon@telechips.com> 
=============================================================================



 


[-- Attachment #2: Type: text/html, Size: 7887 bytes --]

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

* Re: packageconfig for non-autotooled project
  2015-09-22  2:04 신택현 (Taek Hyun Shin)
@ 2015-09-22  2:59 ` Trevor Woerner
  2015-09-22  3:29   ` 신택현 (Taek Hyun Shin)
  0 siblings, 1 reply; 8+ messages in thread
From: Trevor Woerner @ 2015-09-22  2:59 UTC (permalink / raw)
  To: 신택현 (Taek Hyun Shin), yocto

On 09/21/15 22:04, 신택현 (Taek Hyun Shin) wrote:
>
> Create a sunxi-mali_git.bbappend file, to see the pc file of the MESA
> Project can be used to manually create a .pc file.
>

Thanks for your reply.

I think this is best fixed in the meta-sunxi layer itself, instead of
requiring users to bbappend this recipe in their layers. I'll be
generating a github pull request to the maintainers shortly.


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

* Re: packageconfig for non-autotooled project
  2015-09-22  2:59 ` Trevor Woerner
@ 2015-09-22  3:29   ` 신택현 (Taek Hyun Shin)
  0 siblings, 0 replies; 8+ messages in thread
From: 신택현 (Taek Hyun Shin) @ 2015-09-22  3:29 UTC (permalink / raw)
  To: Trevor Woerner, yocto

Yes, if you can do it, it is the best.
The necessary pc files are as follows:
egl.pc
glesv1_cm.pc
glesv2.pc
vg.pc


Thanks

Best regards,
Wily Taekhyun Shin

=============================================================================
Wily Taekhyun Shin
Research Engineer
R&D Center
Telechips Inc.
Tel : + 82-2-3443-6792(Ext.390)
Fax : + 82-2-6424-7793 
Mobile : + 82-10-4376-5530
E-mail : thshin@telechips.com


-----Original Message-----
From: Trevor Woerner [mailto:twoerner@gmail.com] 
Sent: Tuesday, September 22, 2015 11:59 AM
To: 신택현 (Taek Hyun Shin); yocto@yoctoproject.org
Subject: Re: [yocto] packageconfig for non-autotooled project

On 09/21/15 22:04, 신택현 (Taek Hyun Shin) wrote:
>
> Create a sunxi-mali_git.bbappend file, to see the pc file of the MESA 
> Project can be used to manually create a .pc file.
>

Thanks for your reply.

I think this is best fixed in the meta-sunxi layer itself, instead of requiring users to bbappend this recipe in their layers. I'll be generating a github pull request to the maintainers shortly.


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

end of thread, other threads:[~2015-09-22  3:30 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-09-21 14:29 packageconfig for non-autotooled project Trevor Woerner
2015-09-21 17:03 ` Khem Raj
2015-09-21 17:03   ` [OE-core] " Khem Raj
2015-09-21 19:08   ` Trevor Woerner
2015-09-21 19:08     ` [OE-core] " Trevor Woerner
  -- strict thread matches above, loose matches on Subject: below --
2015-09-22  2:04 신택현 (Taek Hyun Shin)
2015-09-22  2:59 ` Trevor Woerner
2015-09-22  3:29   ` 신택현 (Taek Hyun Shin)

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.