Was reading an OpenSUSE discussion of this issue that contained two
potentially helpful links....here are the links:

The following RedHat bug includes an analysis of what Flash is using hal
for:

https://bugzilla.redhat.com/show_bug.cgi?id=786656

The following Q&A includes info about building a version of hal in
gentoo with minimal dependencies just for the purpose of working with
Adobe Flash. http://superuser.com/questions/415238/protected-flash-
video-requires-hal-on-gentoo

(Hmmm... makes me think someone could build a special flash-hal package
that can be a dependency of Adobe Flash but conflict with "real" hal
JUST for the purpose of allowing drm content.)

In case the superuser.com item disappears here is what the two answers say:
[quote]
HAL works on top of udev; it has never been "replaced by" it completely; those 
features that were can be disabled in hal (such as ACL management). There 
shouldn't be any conflicts as long as Flash Player is the only user of HAL.
[answered Apr 22 '12 at 14:49]

[quote]
For anyone in my shoes who needs to get this installed, grawity's comments to 
his answer hold the key on how to do it. For an explicit step-by-step:

Step 1: Grab the code

# git clone http://cgit.freedesktop.org/hal-info/
# git clone http://cgit.freedesktop.org/hal/

Step 2: Install hal-info

# cd hal-info
# ./autogen
# make && make install
# cd ..

Step 3: Fix the hal code

To do this, replace all instances of #include <glib/gmain.h> with
#include <glib.h>. You can do that with a command like:

# find hal -name "*.c" -print|xargs sed -i 's/#include 
<glib\/gmain\.h>/#include <glib\.h>/g'
For some reason, that missed one reference (I'm not really a regexp / sed guru) 
so I just did a grep -r "#include <glib/gmain.h>" * and fixed it manually.

Step 4: Install hal

# cd hal
# ./autogen.sh --disable-policy-kit
# make && make install

Step 5: Don't forget the dbus config!

# cp hal.conf /etc/dbus-1/system.d/

That's it! Now just run it with hald

[answered Apr 25 '12 at 17:08]

** Bug watch added: Red Hat Bugzilla #786656
   https://bugzilla.redhat.com/show_bug.cgi?id=786656

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to flashplugin-nonfree in Ubuntu.
https://bugs.launchpad.net/bugs/1048446

Title:
  Flash requires hal for video DRM

Status in “flashplugin-nonfree” package in Ubuntu:
  Confirmed

Bug description:
  Until Adobe fixes the issue (if they EVER do) for some types of online
  videos using DRM, the flash player will fail if you do not have hal
  installed. See the official word from Adobe at
  http://helpx.adobe.com/x-productkb/multi/flash-player-11-problems-
  playing.html

  For example, users of Amazon Instant Video complain that some videos
  don't work and others do. The recommendation is to install hal and
  usually they will all work. Amazon's forum has a couple of threads
  that include examples of videos that do and don't work. I will try to
  find some trailers or something that show the problem but don't
  require Prime membership to view so I can add concrete examples to
  this bug.

  
http://www.amazon.com/forum/amazon%20video%20on%20demand/ref=cm_cd_tfp_ef_tft_tp?_encoding=UTF8&cdForum=Fx3EQAX98ED5WQ3&cdThread=Tx29SBOI1ENX0DM

  
http://www.amazon.com/forum/amazon%20video%20on%20demand/ref=cm_cd_tfp_ef_tft_tp?_encoding=UTF8&cdForum=Fx3EQAX98ED5WQ3&cdThread=TxFTGOK5LRL3JM

  (As of this date the second discussion has become very long, but it
  includes the best examples of working and nonworking videos and a more
  involved discussion of the dangers of installing hal on an otherwise
  up-to-date Ubuntu system.)

  I know one "fix" would be to make hal a dependency of the flashplugin-
  nonfree package, but I know Debian and Ubuntu are trying to stomp out
  hal dependencies wherever possible.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/flashplugin-nonfree/+bug/1048446/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to