Bug 159021 - [PATCH] multimedia/mplayer: (and multimedia/mencoder) Fix build with multimedia/libass installed
Summary: [PATCH] multimedia/mplayer: (and multimedia/mencoder) Fix build with multimed...
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: Mario Sergio Fujikawa Ferreira
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-19 03:50 UTC by Mario Sergio Fujikawa Ferreira
Modified: 2011-07-20 04:00 UTC (History)
1 user (show)

See Also:


Attachments
mplayer-1.0.r20110329_2.patch (2.66 KB, patch)
2011-07-19 03:50 UTC, Mario Sergio Fujikawa Ferreira
no flags Details | Diff
file.diff (1.93 KB, patch)
2011-07-19 03:50 UTC, Mario Sergio Fujikawa Ferreira
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Mario Sergio Fujikawa Ferreira freebsd_committer freebsd_triage 2011-07-19 03:50:07 UTC
- Fix build when multimedia/libass is installed.
- Unfortunately, mplayer's configure honors neither --disable-ass
  nor --disable-ass-internal. Therefore, we must circumvent this
  glitch with some port Makefile magic:

  1) Allow user to decide if he wants to install libass

  2) If it is already installed, override user decision to "always
     depend on it"

  3) It libass is installed, patch mplayer Makefile accordingly

  4) Then, REINPLACE with correct libass CFLAGS to fix codec-cfg.c
     build

- Follow patches for both mplayer and mencoder.

Port maintainer (riggs@rrr.de) is cc'd.

Generated with FreeBSD Port Tools 0.99
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2011-07-19 03:50:51 UTC
Responsible Changed
From-To: freebsd-ports-bugs->lioux

Submitter has GNATS access (via the GNATS Auto Assign Tool)
Comment 2 Edwin Groothuis freebsd_committer freebsd_triage 2011-07-19 03:50:54 UTC
Maintainer of multimedia/mplayer,

Please note that PR ports/159021 has just been submitted.

If it contains a patch for an upgrade, an enhancement or a bug fix
you agree on, reply to this email stating that you approve the patch
and a committer will take care of it.

The full text of the PR can be found at:
    http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/159021

-- 
Edwin Groothuis via the GNATS Auto Assign Tool
edwin@FreeBSD.org
Comment 3 Edwin Groothuis freebsd_committer freebsd_triage 2011-07-19 03:50:56 UTC
State Changed
From-To: open->feedback

Awaiting maintainers feedback (via the GNATS Auto Assign Tool)
Comment 4 Thomas E. Zander 2011-07-19 06:56:27 UTC
Patch looks alright, please commit.
Comment 5 dfilter service freebsd_committer freebsd_triage 2011-07-20 03:52:36 UTC
lioux       2011-07-20 02:52:22 UTC

  FreeBSD ports repository

  Modified files:
    multimedia/mplayer   Makefile 
    multimedia/mplayer/files patch-Makefile 
  Log:
  o Fix build when multimedia/libass is already installed when one
    tries to build multimedia/mplayer
  
    * Add option 'ASS "Enable ASS/SSA subtitle rendering"' with default
      off
      - However, override user decision to on if multimedia/libass
      is already installed: mplayer does not uphold configure options
      disabling dependency on external port.
  
    * Do not bump PORTREVISION since nothing has really changed for
    users who didn't have multimedia/libass on their systems
  
  PR:             ports/159021
  Approved by:    maintainer
  
  Revision  Changes    Path
  1.207     +19 -0     ports/multimedia/mplayer/Makefile
  1.2       +15 -3     ports/multimedia/mplayer/files/patch-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 2011-07-20 03:52:43 UTC
lioux       2011-07-20 02:52:35 UTC

  FreeBSD ports repository

  Modified files:
    multimedia/mencoder  Makefile 
  Log:
  o Fix build when multimedia/libass is already installed when one
    tries to build multimedia/mplayer
  
    * Add option 'ASS "Enable ASS/SSA subtitle rendering"' with default
      off
      - However, override user decision to on if multimedia/libass
      is already installed: mplayer does not uphold configure options
      disabling dependency on external port.
  
    * Do not bump PORTREVISION since nothing has really changed for
    users who didn't have multimedia/libass on their systems
  
  PR:             ports/159021
  Approved by:    maintainer
  
  Revision  Changes    Path
  1.28      +19 -0     ports/multimedia/mencoder/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 Mario Sergio Fujikawa Ferreira freebsd_committer freebsd_triage 2011-07-20 03:52:57 UTC
State Changed
From-To: feedback->closed

Committed. Thanks!