[SDL] Scrap for OSX (copy and paste)
E. Wing
ewmailing at gmail.com
Sat Dec 8 15:20:38 PST 2007
Since there seems to be enough interest in a cross-platform copy/paste
system, I think it would be beneficial to see the changes I've made
and the changes made to pygame integrated into some kind of
semi-official SDL_Scrap2 project. (Or maybe rename it the project.)
I don't know much about pygame though. Are you offering to help
backport pygame's changes?
Thanks,
Eric
On 12/7/07, René Dudfield <renesd at gmail.com> wrote:
> hi,
>
> pygame has taken the scrap code and improved it greatly. Windows and
> X11 code in particular.
>
> However currently the macosx code is broken, but it worked in the past.
>
> Also qnx support was dropped.
>
> Have a look in pygame subversion ( http://pygame.org/wiki/cvs )
>
> It would be great if we(pygame) could use your osx code, or put our
> code back into SDL_scrap.
>
>
>
>
>
> On Dec 7, 2007 12:47 AM, Gabriele Greco <gabriele.greco at darts.it> wrote:
> > Josiah wrote:
> > >
> > > Do you know if there is anyway to tell XCode this from inside main.c?
> If it was
> > > a .c file I would just have a #include inside a #ifdef OSX but including
> the .m
> > > file gives a whole bunch of errors.
> > >
> > That's not a nice idea, objectiveC and C use different compilers, simply
> > add scrap_OSX.m to the sources file in the xcode project, the project is
> > not crossplatform anyway. Otherwise, if you use a crossplatform makefile
> > you can do something like this inside your makefile:
> >
> > OBJS = main.c
> > OSNAME = $(shell uname)
> >
> > ifeq ("$(OSNAME)", "Darwin")
> > OBJS += scrap_OSX.m
> > endif
> >
> > --
> > Bye,
> > Gabry
> >
> >
> >
> >
> > _______________________________________________
> > SDL mailing list
> > SDL at lists.libsdl.org
> > http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
> >
> _______________________________________________
> SDL mailing list
> SDL at lists.libsdl.org
> http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
>
More information about the SDL
mailing list