back email

junyingcen junyingcen at 163.com
Tue Apr 14 13:37:26 BST 2009


Today's Topics:

   1. Re:Ubuntu-motu-mentors Digest, Vol 24, Issue 6 (junyingcen)
   2. What should be linked in the static library (-dev package)
      (Dmitrijs Ledkovs)
   3. Re: What should be linked in the static library (-dev
      package) (Chow Loong Jin)
   4. Re: What should be linked in the static library (-dev
      package) (Dmitrijs Ledkovs)
   5. Re:Ubuntu-motu-mentors Digest, Vol 24, Issue 6 (junyingcen)


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

Message: 1
Date: Thu, 9 Apr 2009 23:02:42 +0800 (CST)
From: junyingcen <junyingcen at 163.com>
Subject: Re:Ubuntu-motu-mentors Digest, Vol 24, Issue 6
To: ubuntu-motu-mentors at lists.ubuntu.com
Message-ID:
	<22602157.604631239289362589.JavaMail.coremail at bj163app101.163.com>
Content-Type: text/plain; charset="gbk"

ok   ,but not now  . I will try my best!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.ubuntu.com/archives/ubuntu-motu-mentors/attachments/20090409/5baafbeb/attachment-0001.htm 

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

Message: 2
Date: Thu, 9 Apr 2009 23:11:04 +0300
From: Dmitrijs Ledkovs <dmitrij.ledkov at gmail.com>
Subject: What should be linked in the static library (-dev package)
To: ubuntu-motu-mentors at lists.ubuntu.com
Message-ID:
	<86ecb3c70904091311x204595f8y76264a7b05b6302e at mail.gmail.com>
Content-Type: text/plain; charset=UTF-8

Dear mentors

I have a question about what should be linked inside static library
for the -dev package.

Just the library itself or the dependency libraries should be linked as well?

The upstream .pc.in file links in depending libraries into the static library:

@SHAREDLIB_FALSE at Libs: -L${libdir} -lsword -lz @CURL_LIBS@
@CLUCENE_LIBS@ @ICU_LIBS@ @ICU_IOLIBS@

is this correct behavior as per Debian/Ubuntu policies?

-- 
With best regards


Dmitrijs Ledkovs (for short Dima),
?????? ??????? ???????



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

Message: 3
Date: Fri, 10 Apr 2009 04:16:57 +0800
From: Chow Loong Jin <hyperair at gmail.com>
Subject: Re: What should be linked in the static library (-dev
	package)
To: ubuntu-motu-mentors at lists.ubuntu.com
Message-ID: <1239308217.7929.21.camel at hyperair-laptop>
Content-Type: text/plain; charset="utf-8"

On Thu, 2009-04-09 at 23:11 +0300, Dmitrijs Ledkovs wrote:
> Dear mentors
> 
> I have a question about what should be linked inside static library
> for the -dev package.
> 
> Just the library itself or the dependency libraries should be linked as well?
> 
> The upstream .pc.in file links in depending libraries into the static library:
> 
> @SHAREDLIB_FALSE at Libs: -L${libdir} -lsword -lz @CURL_LIBS@
> @CLUCENE_LIBS@ @ICU_LIBS@ @ICU_IOLIBS@
> 
> is this correct behavior as per Debian/Ubuntu policies?
> 
> -- 
> With best regards
> 
> 
> Dmitrijs Ledkovs (for short Dima),
> ?????? ??????? ???????
> 
I haven't read anything of that sort in the policy, but if I'm not
mistaken, the .pc file should add its dependencies (assuming they
have .pc files) into the "Requires" field or the "Requires.private"
field.
-- 
Chow Loong Jin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/ubuntu-motu-mentors/attachments/20090410/c943413b/attachment-0001.pgp 

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

Message: 4
Date: Thu, 9 Apr 2009 23:25:51 +0300
From: Dmitrijs Ledkovs <dmitrij.ledkov at gmail.com>
Subject: Re: What should be linked in the static library (-dev
	package)
To: Chow Loong Jin <hyperair at gmail.com>
Cc: ubuntu-motu-mentors at lists.ubuntu.com
Message-ID:
	<86ecb3c70904091325o39610b02l7d47fbd969d78b17 at mail.gmail.com>
Content-Type: text/plain; charset=UTF-8

2009/4/9 Chow Loong Jin <hyperair at gmail.com>:
> On Thu, 2009-04-09 at 23:11 +0300, Dmitrijs Ledkovs wrote:
>> Dear mentors
>>
>> I have a question about what should be linked inside static library
>> for the -dev package.
>>
>> Just the library itself or the dependency libraries should be linked as well?
>>
>> The upstream .pc.in file links in depending libraries into the static library:
>>
>> @SHAREDLIB_FALSE at Libs: -L${libdir} -lsword -lz @CURL_LIBS@
>> @CLUCENE_LIBS@ @ICU_LIBS@ @ICU_IOLIBS@
>>
>> is this correct behavior as per Debian/Ubuntu policies?
>>
>> --
>> With best regards
>>
>>
>> Dmitrijs Ledkovs (for short Dima),
>> ?????? ??????? ???????
>>
> I haven't read anything of that sort in the policy, but if I'm not
> mistaken, the .pc file should add its dependencies (assuming they
> have .pc files) into the "Requires" field or the "Requires.private"
> field.

Hmmm.... *Caugh*

After I did ./configure with the options used during debian build the
sword.pc file gets create which looks like this (sorry if the wrapping
will not work correctly):

prefix=/usr/local
exec_prefix=${prefix}
libdir=${exec_prefix}/lib
includedir=${prefix}/include


Name: SWORD
Description: Biblical Text Engine
Version: 1.5.11
Libs: -L${libdir} -lsword
#Libs: -L${libdir} -lsword -lz -lcurl -Wl,-Bsymbolic-functions -lidn
-lldap -lrt -L/usr/lib -g -O2 -Wl,-Bsymbolic-functions -lgssapi_krb5
-lkrb5 -lk5crypto -lcom_err -lgssapi_krb5 -lz -lgnutls -L/usr/lib
-lclucene -lm -L/usr/lib -licui18n -licuuc -licudata -lm -licuio
Libs.private: -L${libdir} -lsword -lz -lcurl -Wl,-Bsymbolic-functions
-lidn -lldap -lrt -L/usr/lib -g -O2 -Wl,-Bsymbolic-functions
-lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lgssapi_krb5 -lz -lgnutls
-L/usr/lib -lclucene -lm -L/usr/lib -licui18n -licuuc -licudata -lm
-licuio
Cflags: -I${includedir}/sword


I don't see any Requires: fields.........

Maybe their sword.pc.in is not setup correctly. It looks like this:

prefix=@prefix@
exec_prefix=@exec_prefix@
libdir=@libdir@
includedir=@includedir@


Name: SWORD
Description: Biblical Text Engine
Version: @VERSION@
@SHAREDLIB_TRUE at Libs: -L${libdir} -lsword
@SHAREDLIB_FALSE at Libs: -L${libdir} -lsword -lz @CURL_LIBS@
@CLUCENE_LIBS@ @ICU_LIBS@ @ICU_IOLIBS@
Libs.private: -L${libdir} -lsword -lz @CURL_LIBS@ @CLUCENE_LIBS@
@ICU_LIBS@ @ICU_IOLIBS@
Cflags: -I${includedir}/sword

-- 
With best regards


Dmitrijs Ledkovs (for short Dima),
?????? ??????? ???????



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

Message: 5
Date: Fri, 10 Apr 2009 06:33:12 +0800 (CST)
From: junyingcen <junyingcen at 163.com>
Subject: Re:Ubuntu-motu-mentors Digest, Vol 24, Issue 6
To: ubuntu-motu-mentors at lists.ubuntu.com
Message-ID:
	<23930665.640421239316392452.JavaMail.coremail at bj163app101.163.com>
Content-Type: text/plain; charset="gbk"

I will have try my best to understand the "Topics"
project B is a necessary file ,included in project A;withou project B ,nothing can do 
for project A
the os ubuntu is better for learners who want to learn linux 
and I will introduce to freinds .
Be honest, I will demand answers from the mentors
and I have to say :big thank you!




?2009-04-09?ubuntu-motu-mentors-request at lists.ubuntu.com ???
>Send Ubuntu-motu-mentors mailing list submissions to
>	ubuntu-motu-mentors at lists.ubuntu.com
>
>To subscribe or unsubscribe via the World Wide Web, visit
>	https://lists.ubuntu.com/mailman/listinfo/ubuntu-motu-mentors
>or, via email, send a message with subject or body 'help' to
>	ubuntu-motu-mentors-request at lists.ubuntu.com
>
>You can reach the person managing the list at
>	ubuntu-motu-mentors-owner at lists.ubuntu.com
>
>When replying, please edit your Subject line so it is more specific
>than "Re: Contents of Ubuntu-motu-mentors digest..."
>
>
>Today's Topics:
>
>   1. Re: Packaging project A which needs project B in it's soruces
>      (Siva kumar)
>
>
>----------------------------------------------------------------------
>
>Message: 1
>Date: Wed, 8 Apr 2009 14:20:59 +0300
>From: Siva kumar <sivakumar.arun at gmail.com>
>Subject: Re: Packaging project A which needs project B in it's soruces
>To: ubuntu-motu-mentors at lists.ubuntu.com
>Message-ID:
>	<181202760904080420q6087407er23a6b6ab5746c9d at mail.gmail.com>
>Content-Type: text/plain; charset="iso-8859-1"
>
>Hi ,
>
>I believe you can just put Build-Depends: Project B
>
>cheers
>sivakumar
>
>On Wed, Apr 8, 2009 at 2:00 PM, <
>ubuntu-motu-mentors-request at lists.ubuntu.com> wrote:
>
>> Send Ubuntu-motu-mentors mailing list submissions to
>>        ubuntu-motu-mentors at lists.ubuntu.com
>>
>> To subscribe or unsubscribe via the World Wide Web, visit
>>        https://lists.ubuntu.com/mailman/listinfo/ubuntu-motu-mentors
>> or, via email, send a message with subject or body 'help' to
>>        ubuntu-motu-mentors-request at lists.ubuntu.com
>>
>> You can reach the person managing the list at
>>        ubuntu-motu-mentors-owner at lists.ubuntu.com
>>
>> When replying, please edit your Subject line so it is more specific
>> than "Re: Contents of Ubuntu-motu-mentors digest..."
>>
>>
>> Today's Topics:
>>
>>   1. Mentoring request (Tomasz 'Zen' Napierala)
>>   2. Packaging project A which needs project B in it's soruces
>>      (Vincenzo Ampolo)
>>
>>
>> ----------------------------------------------------------------------
>>
>> Message: 1
>> Date: Tue, 07 Apr 2009 16:43:33 +0200
>> From: Tomasz 'Zen' Napierala <tomasz at napierala.org>
>> Subject: Mentoring request
>> To: ubuntu-motu-mentors at lists.ubuntu.com
>> Message-ID: <1239115413.6080.10.camel at alledrag>
>> Content-Type: text/plain
>>
>> Hi,
>> My name is Tomasz Napierala, friends call me zen. I'm using linux since
>> about 2.2, and Ubuntu since the begining, on servers as well as on
>> desktop machines. I'm also involved in polish Ubuntu community (was sole
>> organizer of first polish release party)
>> I was fairly familiar with Debian packaging few years ago, but while I'm
>> reading documentation, it's obvious that things changed ;) So I'd like
>> to request a mentor to be gently introduced into Ubuntu packaging.
>>
>> Regards,
>> --
>> Tomasz 'Zen' Napierala
>> http://tomasz.napierala.org
>> JID: tomasz[@]napierala[.]org
>> LP:tzn
>>
>>
>>
>>
>> ------------------------------
>>
>> Message: 2
>> Date: Wed, 8 Apr 2009 00:19:14 +0200
>> From: Vincenzo Ampolo <vincenzo.ampolo at gmail.com>
>> Subject: Packaging project A which needs project B in it's soruces
>> To: ubuntu-motu-mentors at lists.ubuntu.com
>> Message-ID: <200904080019.15047.vincenzo.ampolo at gmail.com>
>> Content-Type: text/plain;  charset="us-ascii"
>>
>> Hi,
>>
>> I don't know if it's the right place to ask for help but i'll try.
>>
>> i'm packaging a compiler for a programming language, this compiler (call it
>> project A) needs a runtime library (static library) which is a separate
>> project (call it project B). To create a package of project A i need the
>> sources of B too and compile them all together. Project B is a static
>> library
>> and it's not useful without project A. Project B is written in the
>> programming
>> language which project A is the compiler.
>>
>> How should i package it? just packaging the project A alone? or should i
>> package project B too, from the same sources of project A?
>>
>> Thanks.
>> --
>> Vincenzo Ampolo
>> http://goshawknest.wordpress.com
>>
>>
>>
>> ------------------------------
>>
>> --
>> Ubuntu-motu-mentors mailing list
>> Ubuntu-motu-mentors at lists.ubuntu.com
>> Modify settings or unsubscribe at:
>> https://lists.ubuntu.com/mailman/listinfo/ubuntu-motu-mentors
>>
>>
>> End of Ubuntu-motu-mentors Digest, Vol 24, Issue 5
>> **************************************************
>>
>
>
>
>-- 
>cheers
>Sivakumar
>
>
>write to me @ sivakumar.arun at gmail.com
>-------------- next part --------------
>An HTML attachment was scrubbed...
>URL: https://lists.ubuntu.com/archives/ubuntu-motu-mentors/attachments/20090408/696abd9b/attachment-0001.htm 
>
>------------------------------
>
>-- 
>Ubuntu-motu-mentors mailing list
>Ubuntu-motu-mentors at lists.ubuntu.com
>Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-motu-mentors
>
>
>End of Ubuntu-motu-mentors Digest, Vol 24, Issue 6
>**************************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.ubuntu.com/archives/ubuntu-motu-mentors/attachments/20090410/005c2384/attachment-0001.htm 

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

-- 
Ubuntu-motu-mentors mailing list
Ubuntu-motu-mentors at lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-motu-mentors


End of Ubuntu-motu-mentors Digest, Vol 24, Issue 7
**************************************************



-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.ubuntu.com/archives/ubuntu-motu-mentors/attachments/20090414/24a7da4e/attachment-0001.htm 


More information about the Ubuntu-motu-mentors mailing list