Bug 214232 - www/linux-c7-flashplugin24 need harfbuzz and graphite2
Summary: www/linux-c7-flashplugin24 need harfbuzz and graphite2
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: amd64 Any
: --- Affects Many People
Assignee: Tijl Coosemans
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-11-05 02:47 UTC by Vladimir Druzenko
Modified: 2016-11-05 14:46 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (emulation)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir Druzenko freebsd_committer freebsd_triage 2016-11-05 02:47:14 UTC
# portmaster www/linux-c7-flashplugin24 www/nspluginwrapper
…

# nspluginwrapper -v -a -i
Auto-install plugins from /usr/local/lib/browser_plugins
Looking for plugins in /usr/local/lib/browser_plugins
Auto-install plugins from /usr/local/lib/browser_plugins/symlinks/linux-firefox
Looking for plugins in /usr/local/lib/browser_plugins/symlinks/linux-firefox
/usr/local/lib/nspluginwrapper/i386/linux/npviewer.bin: error while loading shared libraries: libharfbuzz.so.0: cannot open shared object file: No such file or directory
/usr/local/lib/nspluginwrapper/i386/linux/npviewer.bin: error while loading shared libraries: libharfbuzz.so.0: cannot open shared object file: No such file or directory
Auto-install plugins from /root/.mozilla/plugins
Looking for plugins in /root/.mozilla/plugins

# ldd /usr/local/lib/nspluginwrapper/i386/linux/npviewer.bin | grep 'not found'
libharfbuzz.so.0 => not found
libharfbuzz.so.0 => not found

# wget http://mirror.centos.org/centos/7/os/x86_64/Packages/harfbuzz-0.9.36-1.el7.i686.rpm
<unpack and copy libharfbuzz.so.0* to /compat/linux/usr/lib/>

# ldd /usr/local/lib/nspluginwrapper/i386/linux/npviewer.bin | grep 'not found'
libgraphite2.so.3 => not found

# wget http://mirror.centos.org/centos/7/os/x86_64/Packages/graphite2-1.2.2-5.el7.i686.rpm
<unpack, ln -s libgraphite2.so.3.0.1 libgraphite2.so.3 and copy libgraphite2.so.3* to /compat/linux/usr/lib/>

# nspluginwrapper -v -a -i
Auto-install plugins from /usr/local/lib/browser_plugins
Looking for plugins in /usr/local/lib/browser_plugins
Auto-install plugins from /usr/local/lib/browser_plugins/symlinks/linux-firefox
Looking for plugins in /usr/local/lib/browser_plugins/symlinks/linux-firefox
Install plugin /usr/local/lib/browser_plugins/symlinks/linux-firefox/libflashplayer.so
  into /usr/local/lib/browser_plugins/npwrapper.libflashplayer.so
Auto-install plugins from /root/.mozilla/plugins
Looking for plugins in /root/.mozilla/plugins

<Then run firefox and check flash - it work>

TODO:
1. Ports linux-c7-harfbuzz and linux-c7-graphite2;
2. Add dependency to www/linux-c7-flashplugin24 from linux-c7-harfbuzz and linux-c7-graphite2.
Comment 1 Vladimir Druzenko freebsd_committer freebsd_triage 2016-11-05 02:52:40 UTC
One more: size of file https://fpdownload.macromedia.com/pub/labs/flashruntimes/flashplayer/linux32/flash_player_npapi_linux.i386.tar.gz is different from distinfo.
Comment 2 commit-hook freebsd_committer freebsd_triage 2016-11-05 13:26:48 UTC
A commit references this bug:

Author: tijl
Date: Sat Nov  5 13:25:52 UTC 2016
New revision: 425389
URL: https://svnweb.freebsd.org/changeset/ports/425389

Log:
  Add linux-c7-harfbuzz and linux-c7-graphite2, needed by linux-c7-pango.

  PR:		214232

Changes:
  head/Mk/Uses/linux.mk
  head/graphics/Makefile
  head/graphics/linux-c7-graphite2/
  head/graphics/linux-c7-graphite2/Makefile
  head/graphics/linux-c7-graphite2/distinfo.i386
  head/graphics/linux-c7-graphite2/distinfo.x86_64
  head/graphics/linux-c7-graphite2/pkg-plist.i386
  head/graphics/linux-c7-graphite2/pkg-plist.x86_64
  head/print/Makefile
  head/print/linux-c7-harfbuzz/
  head/print/linux-c7-harfbuzz/Makefile
  head/print/linux-c7-harfbuzz/distinfo.i386
  head/print/linux-c7-harfbuzz/distinfo.x86_64
  head/print/linux-c7-harfbuzz/pkg-plist.i386
  head/print/linux-c7-harfbuzz/pkg-plist.x86_64
  head/x11-toolkits/linux-c7-gtk2/Makefile
  head/x11-toolkits/linux-c7-pango/Makefile
Comment 3 Vladimir Druzenko freebsd_committer freebsd_triage 2016-11-05 14:46:27 UTC
Thanks!
All work fine now.