Skip to content
Snippets Groups Projects
Forked from Maunium / synapse
Source project has a limited visibility.
  • Richard van der Hoff's avatar
    1def2981
    Improve `Depends` specs in debian package. (#5675) · 1def2981
    Richard van der Hoff authored
    This is basically a contrived way of adding a `Recommends` on `libpq5`, to fix #5653.
    
    The way this is supposed to happen in debhelper is to run
    `dh_shlibdeps`, which in turn runs `dpkg-shlibdeps`, which spits things out
    into `debian/<package>.substvars` whence they can later be included by
    `control`.
    
    Previously, we had disabled `dh_shlibdeps`, mostly because `dpkg-shlibdeps`
    gets confused about PIL's interdependent objects, but that's not really the
    right thing to do and there is another way to work around that.
    
    Since we don't always use postgres, we don't necessarily want a hard Depends on
    libpq5, so I've actually ended up adding an explicit invocation of
    `dpkg-shlibdeps` for `psycopg2`.
    
    I've also updated the build-depends list for the package, which was missing a
    couple of entries.
    Improve `Depends` specs in debian package. (#5675)
    Richard van der Hoff authored
    This is basically a contrived way of adding a `Recommends` on `libpq5`, to fix #5653.
    
    The way this is supposed to happen in debhelper is to run
    `dh_shlibdeps`, which in turn runs `dpkg-shlibdeps`, which spits things out
    into `debian/<package>.substvars` whence they can later be included by
    `control`.
    
    Previously, we had disabled `dh_shlibdeps`, mostly because `dpkg-shlibdeps`
    gets confused about PIL's interdependent objects, but that's not really the
    right thing to do and there is another way to work around that.
    
    Since we don't always use postgres, we don't necessarily want a hard Depends on
    libpq5, so I've actually ended up adding an explicit invocation of
    `dpkg-shlibdeps` for `psycopg2`.
    
    I've also updated the build-depends list for the package, which was missing a
    couple of entries.
To find the state of this project's repository at the time of any of these versions, check out the tags.