I hadn't used SDL on my Mac in a few years. I deleted the old
frameworks that I had and built the needed libs from sources.
Unfortunately, this made libraries instead of frameworks. So, I had
to tweak some of the CFFI library stuff. Basically, where there was
(:darwin (:framework "FOO")), I made them (:darwin (:or (:framework
"FOO") (:default "libFOO"))) in src/blackthorn3d/utils/library.lisp
and in a couple of the lispbuilder libraries.
I'm assuming I'd need to send a patch for the lispbuilder libraries to
someone else.
Is the Mercurial workflow based on patches or do I need to set up a
repo someone can pull from somewhere?
Thanks,
Patrick
Okay, I'll fix the username and do it all branchless tonight.I'm confused about the general workflow. Say that I spend a few days making sure the LKCAS-specific network code isn't mingled with the generic network code. If others make changes to the trunk while I am working on my clone of it, how would that work? Would I pull those from the trunk as I work? Or, would I wait until I am all done and leave any merging to whoever merges my stuff into the trunk?
Should I make a new clone for each task and nuke the clone once it's merged or abandoned?
Thanks...
-- Patrick <p...@nklein.com>On Mon, Jun 27, 2011 at 9:30 PM, Patrick Stein <p...@nklein.com> wrote:Okay, so I started a clone then and created a 'mac-sdl-enhancement'
branch. The only diff in the branch is several lines in src/
blackthorn3d/utils/library.lisp that allow it to use either frameworks
(as it was before) or shared libaries on MacOSX.
http://code.google.com/r/patrickwonders-blackthorn-dev/source/browse/?name=mac-sdl-enhancement
A couple of comments:Your name in the revision showed up as patrickwonders. Please create a file named .hgrc in your home directory. Here's an example (with the email obfuscated):$ cat ~/.hgrc[ui]username=Elliott Slaughter <exa...@email.address>Also, would mind reapplying the patch without creating a branch? Unlike git, mercurial treats history religiously so mercurial won't, for example, squash a bunch of commits into one, and keeps the original branch name, even after it's been merged into the main branch. I'd also like to avoid any situation where the repository ever acquired more than one head. And clones are cheap on Google Code, so there's not too much disadvantage to doing this.Thanks.
--
Elliott Slaughter
"Don't worry about what anybody else is going to do. The best way to predict the future is to invent it." - Alan Kay