Bug 194904 - multimedia/mediabrowser: Update to 3.0.5424.1 and tidy up port
Summary: multimedia/mediabrowser: Update to 3.0.5424.1 and tidy up port
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Adam Weinberger
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-11-08 18:33 UTC by Ben Woods
Modified: 2014-11-09 16:26 UTC (History)
1 user (show)

See Also:


Attachments
PR194904: Patch to update mediabrowser to 3.0.5424.1 and tidy up port (29.38 KB, patch)
2014-11-08 18:36 UTC, Ben Woods
no flags Details | Diff
PR194904: Patch to update mediabrowser to 3.0.5424.1 and tidy up port (30.18 KB, patch)
2014-11-09 01:40 UTC, Ben Woods
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ben Woods freebsd_committer 2014-11-08 18:33:12 UTC
Update MediaBrowser port to latest upstream 3.0.5424.1 stable.
Also tidy up a few items in the port recommended by josh4trunks.
This includes improving rc script to minimise customisation (maximise use of rc.subr), moving the storage of the MediaBrowser database files to /var/db/mediabrowser and adding some more comments for users.
Comment 1 Ben Woods freebsd_committer 2014-11-08 18:36:01 UTC
Created attachment 149200 [details]
PR194904: Patch to update mediabrowser to 3.0.5424.1 and tidy up port
Comment 2 Adam Weinberger freebsd_committer 2014-11-08 19:56:21 UTC
Will this require that people manually move their database files if they've already been running mediabrowser? If so, there should be a MOVED entry.

And, is there anything that can be done about the /root/.config stage_fs_violation?
Comment 3 Ben Woods freebsd_committer 2014-11-09 01:40:07 UTC
Created attachment 149218 [details]
PR194904: Patch to update mediabrowser to 3.0.5424.1 and tidy up port

Add an entry to UPDATING explaining the database directory move from /usr/local/mediabrowser to /var/db/mediabrowser.

Also, as far as I can tell this upgrade to MediaBrowser 3.0.5424.1 removes the entry stored in /root/.config after build (without me having changed anything). Whilst I don't have poudriere to confirm this, I think this may have been the /root/.config/xbuild/pkgconfig-cache-2.xml which is a left over file from the mono xbuild utility caching results from pkgconfig.
Comment 4 commit-hook freebsd_committer 2014-11-09 16:26:10 UTC
A commit references this bug:

Author: adamw
Date: Sun Nov  9 16:25:28 UTC 2014
New revision: 372363
URL: https://svnweb.freebsd.org/changeset/ports/372363

Log:
  Update MediaBrowser port to latest upstream 3.0.5424.1 stable.
  Also tidy up a few items in the port recommended by josh4trunks.
  This includes improving rc script to minimise customisation (maximise
  use of rc.subr), moving the storage of the MediaBrowser database files
  to /var/db/mediabrowser and adding some more comments for users.

  Add an entry to UPDATING explaining the database directory move from
  /usr/local/mediabrowser to /var/db/mediabrowser.

  The default MediaBrowser database/configuration/logs/media metadata
  storage directory has moved from /usr/local/mediabrowser to
  /var/db/mediabrowser. Users are advised either to move the contents of
  the old directory to the new location, or to add a mediabrowser_data_dir
  entry to /etc/rc.conf.

  PR:		194904
  Submitted by:	Ben Woods

Changes:
  head/UPDATING
  head/multimedia/mediabrowser/Makefile
  head/multimedia/mediabrowser/distinfo
  head/multimedia/mediabrowser/files/mediabrowser.in
  head/multimedia/mediabrowser/pkg-message
  head/multimedia/mediabrowser/pkg-plist
Comment 5 Adam Weinberger freebsd_committer 2014-11-09 16:26:25 UTC
Done, thanks Ben. The mediabrowser.in script looks much cleaner now, and poudriere reports no errors.