[X2Go-Dev] [PATCH 3/8] Rely on shlibs files instead of hard coding library dependencies

Mike Gabriel mike.gabriel at das-netzwerkteam.de
Wed Dec 12 13:53:07 CET 2012


Hi Reinhard,

On Mi 12 Dez 2012 13:13:13 CET Reinhard Tartler wrote:

> If stricter dependencies are really required, they should absolutely be
> specified in the slibs file instead

I strongly recommend that all installed (binary) components of the NX  
suite have the same version. So, out of paranoia, strict dependencies  
are required. Please add the slibs file to this patch, then it is a +1  
from me.

Mike


> ---
>  debian/control |   21 ++++++++-------------
>  1 file changed, 8 insertions(+), 13 deletions(-)
>
> diff --git a/debian/control b/debian/control
> index be83f79..78cc0b4 100644
> --- a/debian/control
> +++ b/debian/control
> @@ -32,7 +32,7 @@ Architecture: any
>  Depends:
>   ${shlibs:Depends},
>   ${misc:Depends},
> -Breaks: nxlibs (<=3.5.1)
> +Breaks: nxlibs (<= 3.5.1)
>  Replaces: nxlibs
>  Description: nx-X11
>   NX is a software suite which implements very efficient
> @@ -48,7 +48,7 @@ Architecture: any
>  Breaks: nxlibs-dev (<=3.5.1)
>  Replaces: nxlibs-dev
>  Depends:
> - libnx-x11 (>= ${source:Version}), libnx-x11 (<< ${source:Version}.1~),
> + libnx-x11 (= ${binary:Version}),
>   ${misc:Depends},
>  Description: Library headers for nx-X11
>   NX is a software suite which implements very efficient
> @@ -62,7 +62,7 @@ Package: libnx-mesa-extras-dev
>  Section: libdevel
>  Architecture: any
>  Depends:
> - libnx-x11-dev (>= ${source:Version}), libnx-x11-dev (<<  
> ${source:Version}.1~),
> + libnx-x11-dev (= ${binary:Version}),
>   ${misc:Depends},
>  Description: Library headers for nx-X11 (extra headers)
>   NX is a software suite which implements very efficient
> @@ -75,7 +75,6 @@ Description: Library headers for nx-X11 (extra headers)
>  Package: nxagent
>  Architecture: any
>  Depends:
> - libnx-x11 (>= ${source:Version}), libnx-x11 (<< ${source:Version}.1~),
>   ${shlibs:Depends},
>   ${misc:Depends},
>  Recommends:
> @@ -102,7 +101,7 @@ Description: NX agent
>  Package: x2goagent
>  Architecture: all
>  Depends:
> - nxagent (>= ${source:Version}), nxagent (<< ${source:Version}.1~),
> + nxagent (>= ${source:Version})
>   ${misc:Depends},
>  Suggests:
>   x2goserver
> @@ -124,7 +123,6 @@ Description: X2Go agent
>  Package: nxproxy
>  Architecture: any
>  Depends:
> - libxcomp3 (>= ${source:Version}), libxcomp3 (<< ${source:Version}.1~),
>   ${shlibs:Depends},
>   ${misc:Depends},
>  Description: NX proxy
> @@ -137,7 +135,6 @@ Description: NX proxy
>  Package: nxauth
>  Architecture: any
>  Depends:
> - libnx-x11 (>= ${source:Version}), libnx-x11 (<< ${source:Version}.1~),
>   ${shlibs:Depends},
>   ${misc:Depends},
>  Description: NX xauth
> @@ -152,7 +149,7 @@ Architecture: any
>  Depends:
>   ${shlibs:Depends},
>   ${misc:Depends},
> -Breaks: nxcomp (<=3.5.1)
> +Breaks: nxcomp (<= 3.5.1)
>  Replaces: nxcomp
>  Description: NX X compression library
>   NX is a software suite which implements very efficient
> @@ -179,7 +176,6 @@ Description: NX X compression library headers
>  Package: libxcompext3
>  Architecture: any
>  Depends:
> - libnx-x11 (>= ${source:Version}), libnx-x11 (<< ${source:Version}.1~),
>   ${shlibs:Depends},
>   ${misc:Depends},
>  Breaks: nxcompext (<=3.5.1)
> @@ -195,7 +191,7 @@ Package: libxcompext-dev
>  Architecture: any
>  Section: libdevel
>  Depends:
> - libxcompext3 (=${binary:Version}),
> + libxcompext3 (= ${binary:Version}),
>   ${misc:Depends},
>   libxcomp-dev,
>  Breaks: nxcompext-dev (<=3.5.1)
> @@ -212,7 +208,6 @@ Package: libxcompshad3
>  Section: x11
>  Architecture: any
>  Depends:
> - libnx-x11 (>= ${source:Version}), libnx-x11 (<< ${source:Version}.1~),
>   ${shlibs:Depends},
>   ${misc:Depends},
>  Breaks: nxcompshad (<=3.5.1)
> @@ -228,9 +223,9 @@ Package: libxcompshad-dev
>  Section: libdevel
>  Architecture: any
>  Depends:
> - libxcompshad3 (=${binary:Version}),
> + libxcompshad3 (= ${binary:Version}),
>   ${misc:Depends},
> -Breaks: nxcompshad-dev (<=3.5.1)
> +Breaks: nxcompshad-dev (<= 3.5.1)
>  Replaces: nxcompshad-dev
>  Description: NX shadowing library headers
>   NX is a software suite which implements very efficient
> --
> 1.7.10.4
>
> _______________________________________________
> X2Go-Dev mailing list
> X2Go-Dev at lists.berlios.de
> https://lists.berlios.de/mailman/listinfo/x2go-dev
>



-- 

DAS-NETZWERKTEAM
mike gabriel, rothenstein 5, 24214 neudorf-bornstein
fon: +49 (1520) 1976 148

GnuPG Key ID 0x25771B31
mail: mike.gabriel at das-netzwerkteam.de, http://das-netzwerkteam.de

freeBusy:
https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.xfb
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digitale PGP-Unterschrift
URL: <http://lists.x2go.org/pipermail/x2go-dev/attachments/20121212/c1aff11e/attachment.pgp>


More information about the x2go-dev mailing list