Opened 13 years ago

Closed 13 years ago

#3658 closed enhancement (fixed)

two handy improvements to the osx packager

Reported by: anonymous Owned by: Nigel
Priority: minor Milestone: unknown
Component: contrib Version: unknown
Severity: low Keywords:
Cc: Ticket locked: no

Description

  1. use a generic download address for sourceforge and let them decide which mirror is best. This is as simple as telling curl to follow redirects.
  1. add an option to *not* eject the build image when the script is done. I've been developing/debugging on my Mac and it's a major annoyance to have my source tree ejected after each build!

Attachments (2)

osxpkgr.diff (2.0 KB) - added by anonymous 13 years ago.
oskpkg2.diff (2.3 KB) - added by gnassas@… 13 years ago.
noticed the libcss link is dead, updated patch to d/l from videolan.org

Download all attachments as: .zip

Change History (9)

Changed 13 years ago by anonymous

Attachment: osxpkgr.diff added

Changed 13 years ago by gnassas@…

Attachment: oskpkg2.diff added

noticed the libcss link is dead, updated patch to d/l from videolan.org

comment:1 Changed 13 years ago by anonymous

does this actually work on your mac? I can't get one to actually run at all. It builds but when it is launched all it does just bounces into the dock. See ticket #3657

comment:2 Changed 13 years ago by gnassas@…

does this actually work on your mac? See ticket #3657

Yes, it does and I posted something into -dev about that ticket. In short if you can make use of a PPC frontend let me know and I'll put it up somewhere.

My take is that chit-chatting in trac is discouraged so you should be replying to the messages in -commits which then gets sent out on -dev.

  • George

comment:3 Changed 13 years ago by Nigel

(In [13760]) Update download link, allow Curl to redirect (-L). See #3658

comment:4 Changed 13 years ago by Nigel

Component: mythtvcontrib
Owner: changed from Isaac Richards to Nigel
Severity: mediumlow
Status: newassigned

Half of George's patch applied. Still thinking about the extra option.

comment:5 Changed 13 years ago by gnassas@…

Still thinking about the extra option.

What's not to like? ;)

The other thing that occurred to me after I posted was to expose the --compile-type=debug/release configure option. Currently you have to uncomment the mythtv entry in the conf hash and add something for plugins but it seems odd to tweak the script for something that should be there in the first place.

  • George

comment:6 Changed 13 years ago by Nigel

  1. I wasn't keen on adding another mount option. Technically, it isn't needed. To get around the unmount inconvenience, I made a few disk images that I mount before running the build. e.g. did the following:
    osx-packager.pl                                         # Creates the initial disk image
    mv .osx-packager.dmg MythOSX-SVN.dmg                    # Give it a better file name ...
    hdiutil attach MythOSX-SVN.dmg
    diskutil rename /Volumes/MythTvPackagerHDImage MythDev  #                 and mount name
    mkdir /Volumes/MythDev/.osx-packager                    # Move everything into it
    mv /Volumes/MythDev/* /Volumes/MythDev/.osx-packager
    mv osx-packager.pl /Volumes/MythDev
    

That way, there is one file that I can double-click and cd into that contains everything (even final .apps).

  1. The "have to create a case-sensitive volume to get around badly-named files" problem is probably not even the case at the moment?

But, to close this ticket, I will add the options anyway.

comment:7 Changed 13 years ago by Nigel

Resolution: fixed
Status: assignedclosed

(In [13875]) Extra options to keep disk image mounted after a successful build, and to perform debug and profile builds. Closes #3658

Note: See TracTickets for help on using tickets.