El sáb, 20-05-2006 a las 16:07 +0200, Guus Sliepen escribió:
> On Mon, May 08, 2006 at 11:44:15PM +0200, Jose Carlos Garcia Sogo wrote:
> 
> >   Please, discard previous patch. I have mixed things from new version
> > and old version. The patch I sent attached is a patch that should be
> > applied for a version >=2.2.1
> [...]
> > +  * debian/control:
> > +     + Build Depend on cli-common-dev (>= 0.4.0)
> > +     + Make libgmime2.1-cil package architecture all. It does only contain
> > +     mono code, so it will work in every environment that has Mono 
> > available.
> 
> Still, the Build-Depends contains things like cli-common-dev (>= 0.4.0)
> [i386 powerpc amd64 ia64]. Doesn't that result in build failure on other
> architectures?

  Shouldn't happen, as you are declaring that build-dependency only on
those arches, while it won't be tried to be satisfied in other places.

> > -   dh_movefiles -s -i
> > +   dh_install -a -i --sourcedir=debian/tmp
> 
> Why -a instead of -s?

  And why using -s instead? Usually you will use -a, not -s, unless a
special situation is needed.

> 
> > -   which dh_makeclilibs && dh_makeclilibs -m $(UPVERSION) -l 
> > $(NEXT_UPVERSION) || true
> > +   dh_makeclilibs -plibgmime2.1-cil -m $(UPVERSION)
> > +   dh_installcligac -plibgmime2.1-cil
> [...]
> > -   which dh_clideps && dh_clideps -d || true
> > +   dh_clideps -d -plibgmime2.1-cil
> 
> Unfortunately there are no manual pages for dh_makeclilibs,
> dh_installcligac and dh_clideps. Can you tell me what the -d options
> does? And is the -p option necessary?

  -d tries to remove duplicate dependencies. -p is there to make those
commands to run only on that package, instead of the whole set. It does
not have any sense to run it on more packages than that one.

> 
> Also, your patch still contains references to libgmime2.1 instead of
> libgmime2.2.

   Yes, the only thing you have to change is changelog entry. This is
the only missing bit.
   Additionally, you will have to change path in gmime-sharp.pc file.
Patch will look like the following, changing 2.2 for 2.1 in case you're
still packaging a 2.1.x version

--- gmime2.1-2.1.19/mono/gmime-sharp.pc.in      2005-05-03
19:34:19.000000000 +0200
+++ gmime-2.2.1/mono/gmime-sharp.pc.in  2006-05-10 23:04:18.000000000
+0200
@@ -4,4 +4,4 @@
 Name: gmime-sharp
 Description: .NET binding for GMime
 Version: @VERSION@
-Libs: -r:${libdir}/mono/gmime-sharp/gmime-sharp.dll
+Libs: -r:${libdir}/cli/gmime-sharp-2.2/gmime-sharp.dll

-- 
Jose Carlos Garcia Sogo
   [EMAIL PROTECTED]

Attachment: signature.asc
Description: Esta parte del mensaje está firmada digitalmente

Reply via email to