Bug 152545 - graphics/cairo (cairo-1.10.0_3) breaks some animated gifs in firefox
Summary: graphics/cairo (cairo-1.10.0_3) breaks some animated gifs in firefox
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-gecko (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-24 16:30 UTC by hideo
Modified: 2010-11-28 15:10 UTC (History)
0 users

See Also:


Attachments
firefox-cairo.patch (693 bytes, patch)
2010-11-27 11:56 UTC, Beat Gaetzi
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description hideo 2010-11-24 16:30:12 UTC
Some animated gifs in latest firefox with cairo 1.10.0+ only display a single frame, making them blink instead of animate.

Fix: 

Downgrade graphics/cairo to 1.8.10. I had a backup package of cairo-1.8.10_1,1 which gets rid of the problem.
How-To-Repeat: 

1. Install www/firefox (firefox-3.6.12,1) with graphics/cairo (cairo-1.10.0_3,1)
2. Open a gif such as http://fans.avalanche.nhl.com/community/public/style_emoticons/default/whistling.gif in firefox.

Result will be a blinking image.
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2010-11-24 16:30:20 UTC
Responsible Changed
From-To: freebsd-ports-bugs->gnome

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 Koop Mast freebsd_committer freebsd_triage 2010-11-24 16:54:29 UTC
Responsible Changed
From-To: gnome->gecko

Assign to gecko. This seems to be a firefox problem. 
Upstream bug tracking this issue: https://bugzilla.mozilla.org/show_bug.cgi?id=597174 
Comment 8 is intresting, because it states that cairo 1.10 is more stricter.
Comment 3 Beat Gaetzi freebsd_committer freebsd_triage 2010-11-27 11:56:44 UTC
Hi,

Until a patch for this problem is available I think we should fall back
to the bundled cairo instead of the system one. Could you please try the
attached patch?

Thanks,
Beat

-- 
Beat Gätzi       | FreeBSD Committer
beat@FreeBSD.org | http://www.FreeBSD.org
Comment 4 hideo 2010-11-27 18:21:33 UTC
Beat Gaetzi (Sat 11/27/10 12:56):
> Hi,
> 
> Until a patch for this problem is available I think we should fall back
> to the bundled cairo instead of the system one. Could you please try the
> attached patch?
> 
> Thanks,
> Beat
> 
> -- 
> Beat Gätzi       | FreeBSD Committer
> beat@FreeBSD.org | http://www.FreeBSD.org

> Index: Makefile
> ===================================================================
> RCS file: /home/pcvs/ports/www/firefox/Makefile,v
> retrieving revision 1.232
> diff -u -r1.232 Makefile
> --- Makefile	28 Oct 2010 11:46:33 -0000	1.232
> +++ Makefile	27 Nov 2010 11:53:24 -0000
> @@ -7,6 +7,7 @@
>  
>  PORTNAME=	firefox
>  DISTVERSION=	3.6.12
> +PORTREVISION=	1
>  PORTEPOCH=	1
>  CATEGORIES=	www ipv6
>  MASTER_SITES=	${MASTER_SITE_MOZILLA}
> @@ -21,7 +22,7 @@
>  USE_AUTOTOOLS=	autoconf:213
>  USE_GECKO=	gecko
>  MOZ_PKGCONFIG_FILES=	# empty
> -USE_MOZILLA=	-png -nss -dbm -jpeg -xft
> +USE_MOZILLA=	-png -nss -dbm -jpeg -xft -cairo
>  MOZILLA_NAME=	Firefox${MOZILLA_SUFX}
>  MOZILLA_SUFX=	3
>  MOZILLA=	${PORTNAME}${MOZILLA_SUFX}

Yes, that works. I re-installed firefox and upgraded cairo to the latest
version and it works fine.

Zach
Comment 5 dfilter service freebsd_committer freebsd_triage 2010-11-28 12:45:50 UTC
beat        2010-11-28 12:45:45 UTC

  FreeBSD ports repository

  Modified files:
    www/firefox          Makefile 
  Log:
  - Using cairo 1.10.0 results in not correct rendered gif and svn images:
    https://bugzilla.mozilla.org/show_bug.cgi?id=597174
    https://bugzilla.mozilla.org/show_bug.cgi?id=610107
    Until a proper fix is available use bundled cairo.
  - Bump PORTREVISION
  
  PR:             ports/152545
  Submitted by:   Zach Thompson <hideo AT lastamericanempire.com>
  
  Revision  Changes    Path
  1.233     +2 -1      ports/www/firefox/Makefile
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 6 dfilter service freebsd_committer freebsd_triage 2010-11-28 15:03:06 UTC
beat        2010-11-28 15:03:02 UTC

  FreeBSD ports repository

  Modified files:
    www/seamonkey2       Makefile 
  Log:
  - Using cairo 1.10.0 results in not correctly rendered gif and svg images:
    https://bugzilla.mozilla.org/show_bug.cgi?id=597174
    https://bugzilla.mozilla.org/show_bug.cgi?id=610107
    Until a proper fix is available use bundled cairo.
  - Bump PORTREVISION
  
  PR:             ports/152545
  Submitted by:   Zach Thompson <hideo AT lastamericanempire.com>
  
  Revision  Changes    Path
  1.314     +2 -2      ports/www/seamonkey2/Makefile
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 7 Beat Gaetzi freebsd_committer freebsd_triage 2010-11-28 15:03:39 UTC
State Changed
From-To: open->closed

Committed. Thanks!