This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $ perl Build bundle | |
| [Alien::SDL] Build option used: | |
| Already installed SDL ver=1.2.14 path=/sw | |
| Building SDL | |
| gcc -o "SDLPerl.app/Contents/MacOS/SDLPerl" MacOSX/main.c -arch x86_64 -arch i386 -arch ppc -g -pipe -fno-common -DPERL_DARWIN -fno-strict-aliasing -I/usr/local/include -I/System/Library/Perl/5.10.0/darwin-thread-multi-2level/CORE -I/sw/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I -I -I/usr/X11R6/include -I/usr/local/include -arch x86_64 -arch i386 -arch ppc -L/usr/local/lib -L/System/Library/Perl/5.10.0/darwin-thread-multi-2level/CORE -lperl -ldl -lm -lutil -lc -L/sw/lib -lSDLmain -lSDL -Wl,-framework,Cocoa -L/usr/local/lib -L/usr/X11R6/lib -lSDLmain | |
| ld: warning: in /sw/lib/libSDLmain.a, file was built for unsupported file format which is not the architecture being linked (x86_64) | |
| ld: warning: in /sw/lib/libSDL.dylib, file was built for i386 which is not the architecture being linked (x86_64) | |
| Undefined symbols for architecture x86_64: | |
| "_main", referenced from: | |
| start in crt1.10.6.o |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $ sudo perl Build.PL | |
| Password: | |
| *************************** !!!WARNING!!! ******************************** | |
| This Release breaks back compatibility support with versions 2.4x and below | |
| ************************************************************************** | |
| Gonna use 'My::Builder::Darwin' class ... | |
| Gonna autodetect available libraries ... | |
| [Alien::SDL] Testing header(s): SDL.h | |
| [Alien::SDL] Testing header(s): SDL_mixer.h | |
| [Alien::SDL] Testing header(s): SDL_imageFilter.h |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| )$ sudo perl Build bundle | |
| [Alien::SDL] Build option used: | |
| Already installed SDL ver=1.2.14 path=/sw | |
| Building SDL | |
| gcc -o "SDLPerl.app/Contents/MacOS/SDLPerl" MacOSX/main.c -arch x86_64 -arch i386 -arch ppc -g -pipe -fno-common -DPERL_DARWIN -fno-strict-aliasing -I/usr/local/include -I/System/Library/Perl/5.10.0/darwin-thread-multi-2level/CORE -I/sw/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I -I -I/usr/X11R6/include -I/usr/local/include -arch x86_64 -arch i386 -arch ppc -L/usr/local/lib -L/System/Library/Perl/5.10.0/darwin-thread-multi-2level/CORE -lperl -ldl -lm -lutil -lc -L/sw/lib -lSDLmain -lSDL -Wl,-framework,Cocoa -L/usr/local/lib -L/usr/X11R6/lib -lSDLmain | |
| ld: warning: in /sw/lib/libSDLmain.a, file was built for unsupported file format which is not the architecture being linked (x86_64) | |
| ld: warning: in /sw/lib/libSDL.dylib, file was built for i386 which is not the architecture being linked (x86_64) | |
| Undefined symbols for architecture x86_64: | |
| "_main", referenced from: | |
| start in crt1.1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $ sudo perl Build bundle | |
| [Alien::SDL] Build option used: | |
| Already installed SDL ver=1.2.14 path=/sw | |
| Building SDL | |
| gcc -o "SDLPerl.app/Contents/MacOS/SDLPerl" MacOSX/main.c -arch i386 -g -pipe -fno-common -DPERL_DARWIN -fno-strict-aliasing -I/usr/local/include -I/System/Library/Perl/5.10.0/darwin-thread-multi-2level/CORE -I/sw/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I -I -I/usr/X11R6/include -I/usr/local/include -arch i386 -L/usr/local/lib -L/System/Library/Perl/5.10.0/darwin-thread-multi-2level/CORE -lperl -ldl -lm -lutil -lc -L/sw/lib -lSDLmain -lSDL -Wl,-framework,Cocoa -L/usr/local/lib -L/usr/X11R6/lib -lSDLmain | |
| Lemming:SDL_perl jrabbit(master)$ sudo perl Build test | |
| * WARNING: Configuration was initially created with '/usr/bin/perl', | |
| but we are now using '/Users/jrabbit/Projects/SDL_perl/SDLPerl.app/Contents/MacOS/SDLPerl'. | |
| t/00-load....................... | |
| # Failed test 'use SDL;' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| * WARNING: Configuration was initially created with '/usr/bin/perl', | |
| but we are now using '/Users/jrabbit/Projects/SDL_perl/SDLPerl.app/Contents/MacOS/SDLPerl'. | |
| t/00-load....................... | |
| # Failed test 'use SDL;' | |
| # at t/00-load.t line 71. | |
| # Tried to use 'SDL'. | |
| # Error: Can't load '/Users/jrabbit/Projects/SDL_perl/blib/arch/auto/SDL_perl/SDL_perl.bundle' for module SDL_perl: dlopen(/Users/jrabbit/Projects/SDL_perl/blib/arch/auto/SDL_perl/SDL_perl.bundle, 1): no suitable image found. Did find: | |
| # /Users/jrabbit/Projects/SDL_perl/blib/arch/auto/SDL_perl/SDL_perl.bundle: mach-o, but wrong architecture at /System/Library/Perl/5.10.0/darwin-thread-multi-2level/DynaLoader.pm line 207. | |
| # at /Users/jrabbit/Projects/SDL_perl/blib/lib/SDL.pm line 42 | |
| # Compilation failed in require at /Users/jrabbit/Projects/SDL_perl/blib/lib/SDL.pm line 42. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh -ev | |
| export PATH=/sw/lib/qt4-mac/bin:$PATH | |
| /sw/bin/cmake \ | |
| --debug-output -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON \ | |
| -DCMAKE_INSTALL_PREFIX:PATH=/sw \ | |
| -DCMAKE_INCLUDE_PATH:PATH=/sw/include \ | |
| -DCMAKE_LIBRARY_PATH:PATH=/sw/lib \ | |
| -DCMAKE_OSX_DEPLOYMENT_TARGET:STRING="" \ | |
| -DCMAKE_OSX_SYSROOT:PATH="/" \ | |
| -DBUILD_SHARED_LIBS:BOOL=ON \ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?xml version="1.0"?> | |
| <typesystem package="PySide.QtOpenGL"> | |
| <load-typesystem name="typesystem_gui.xml" generate="no" /> | |
| <rejection class="QGLColormap::QGLColormapData"/> | |
| <rejection class="QGLWidget" function-name="setMouseTracking"/> | |
| <rejection class="QGLContext" field-name="currentCtx"/> | |
| <enum-type name="QGL::FormatOption" flags="QGL::FormatOptions" force-integer="yes"/> | |
| <enum-type name="QGLContext::BindOption" flags="QGLContext::BindOptions"/> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Info2: << | |
| Package: textflow-py%type_pkg[python] | |
| Version: 0.2.9 | |
| Revision: 1 | |
| Type: python (2.5 2.6 2.7) | |
| Depends: gnome-python2-py%type_pkg[python], gnome-python2-py%type_pkg[python]-vfsmodule, pygtk2-gtk-py%type_pkg[python], pydbus-py%type_pkg[python] | |
| BuildDepends: fink (>= 0.24.12), pygtk2-gtk-py%type_pkg[python]-dev, gnome-python2-py%type_pkg[python]-dev, pydbus-py%type_pkg[python]-dev | |
| Maintainer: Jrabbit <[email protected]> | |
| Source: http://dl.dropbox.com/u/457451/textflow_0.2.9-fix.tar | |
| HomePage: http://www.textflowproject.org/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| def onMouseDown(self, sender, x, y): | |
| if instuctions is not 1: | |
| self.img = CanvasImage('media/instructions%20screen.png', self) | |
| instructions = 1 | |
| elif game is not 1: | |
| self.img = CanvasImage('media/bkg.png', self) | |
| game = 1 | |
| self.addMouseListener(self) | |
| #defenddit() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from BeautifulSoup import BeautifulSoup | |
| import re | |
| import urllib2 | |
| import urllib | |
| def grab(user, passwd): | |
| o = urllib2.build_opener( urllib2.HTTPCookieProcessor() ) | |
| urllib2.install_opener( o ) | |
| values = {'username' : user, 'password' : passwd} | |
| url = 'https://tehconnection.eu/login.php' |