seifzadeh / cefpython

Automatically exported from code.google.com/p/cefpython
0 stars 0 forks source link

Debian package should list dependencies of libcef.so, libffmpegsumo.so and cefpython_py27.so #99

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
See man ldd for finding deps.

List of dependencies as of the moment (not all of them might be required):

  gconf-service
  libasound2
  libcairo2
  libcups2
  libdbus-1-3
  libfontconfig1
  libfreetype6
  libgcc1
  libgconf-2-4
  libgcrypt11
  libgdk-pixbuf2.0-0
  libglib2.0-0
  libgtk2.0-0
  libnspr4
  libnss3
  libpango1.0-0
  libstdc++6
  libx11-6
  libxcomposite1
  libxdamage1
  libxext6
  libxfixes3
  libxi6
  libxrandr2
  libxrender1
  python-support
  libnss3-1d
  libnspr4-0d

Current debian package lists only these deps:

  python-support
  libnss3-1d
  libnspr4-0d

Original issue reported on code.google.com by czarek.t...@gmail.com on 2 Jan 2014 at 6:27

GoogleCodeExporter commented 9 years ago
Also list deps for cefclient.

Try searching http://packages.ubuntu.com/ for a library name to find a 
corresponding package.

Original comment by czarek.t...@gmail.com on 2 Jan 2014 at 6:42

GoogleCodeExporter commented 9 years ago
Issue 64 has been merged into this issue.

Original comment by czarek.t...@gmail.com on 10 Jan 2014 at 6:39

GoogleCodeExporter commented 9 years ago

Original comment by czarek.t...@gmail.com on 10 Aug 2014 at 6:38

GoogleCodeExporter commented 9 years ago
libnss3-1d and libnspr4-0d are no more required in branch 1650. See revision 
25cca26b1da6.

Original comment by czarek.t...@gmail.com on 3 Dec 2014 at 4:26

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
These are dependencies from google chrome deb package:

  Depends: gconf-service, libasound2 (>= 1.0.23), libc6 (>= 2.11), libcairo2 (>= 1.6.0), libcap2 (>= 2.10), libcups2 (>= 1.4.0), libdbus-1-3 (>= 1.2.14), libexpat1 (>= 1.95.8), libfontconfig1 (>= 2.8.0), libfreetype6 (>= 2.3.9), libgconf-2-4 (>= 2.31.1), libgdk-pixbuf2.0-0 (>= 2.22.0), libglib2.0-0 (>= 2.28.0), libgtk2.0-0 (>= 2.24.0), libnspr4 (>= 1.8.0.10), libnss3 (>= 3.14.3), libpango1.0-0 (>= 1.22.0), libstdc++6 (>= 4.6), libudev0 (>= 147) | libudev1 (>= 198), libx11-6 (>= 2:1.4.99.1), libxcomposite1 (>= 1:0.3-1), libxcursor1 (>> 1.1.2), libxdamage1 (>= 1:1.1), libxext6, libxfixes3 (>= 1:5.0), libxi6 (>= 2:1.2.99.4), libxrandr2 (>= 2:1.2.99.2), libxrender1, libxss1, libxtst6, ca-certificates, libappindicator1, libcurl3, lsb-base (>= 3.2), xdg-utils (>= 1.0.2), wget

I also see that latest google chrome creates symlinks to libnss3.so.1d. It's 
probably a bug. I've checked and this dependency is no more required in branch 
1650 (or in latest chrome). Neither in any of: cefclient executable, libcef.so, 
libffmpegsumo.so. See code from google chrome postinstall script in deb package:

    NSS_FILES="libnspr4.so.0d libplds4.so.0d libplc4.so.0d libssl3.so.1d \
        libnss3.so.1d libsmime3.so.1d libnssutil3.so.1d"

    add_nss_symlinks() {
      get_lib_dir
      for f in $NSS_FILES
      do
        target=$(echo $f | sed 's/\.[01]d$//')
        if [ -f "/$LIBDIR/$target" ]; then
          ln -snf "/$LIBDIR/$target" "/opt/google/chrome/$f"
        elif [ -f "/usr/$LIBDIR/$target" ]; then
          ln -snf "/usr/$LIBDIR/$target" "/opt/google/chrome/$f"
        else
          echo $f not found in "/$LIBDIR/$target" or "/usr/$LIBDIR/$target".
          exit 1
        fi
      done
    }

Original comment by czarek.t...@gmail.com on 4 Dec 2014 at 3:29

GoogleCodeExporter commented 9 years ago
Fixed in revision 56e79c763aa4 and revision 116e36b39ebd. Added find-deps.py 
and deps.txt in installer/ directory. Only libudev0 dep is missing in Depends 
section in debian package. Not sure how Google Chrome worked around it, so that 
they can have libudev0 in deps and it doesn't complain on Ubuntu 14.04.

Original comment by czarek.t...@gmail.com on 4 Dec 2014 at 8:55