Changeset 917
- Timestamp:
- 11/11/07 12:08:23 (1 year ago)
- Location:
- trunk
- Files:
-
- 7 modified
-
installer/jahplayer.nsi (modified) (1 diff)
-
jahplayer/bootstrap.py (modified) (2 diffs)
-
jahplayer/jah.ico (modified) (previous)
-
jahplayer/jahplayer.cpp (modified) (1 diff)
-
jahplayer/jahplayer_vc8.vcproj (modified) (2 diffs)
-
jahwidgets/src/qt3/python/python_vc8.vcproj (modified) (1 diff)
-
jahwidgets/src/qt3/widgets/player.cpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/installer/jahplayer.nsi
r916 r917 183 183 File "C:\Qt\3.3.8\lib\qt-mt338.dll" 184 184 File /r "C:\Program Files\OpenLibraries\bin\*" 185 File "C:\Python25\DLLs\_socket.pyd" 186 187 SetOutPath $INSTDIR\JahPlayer\plugins 188 File /r "C:\Program Files\OpenLibraries\plugins\release\*" 185 189 186 190 SetOutPath $INSTDIR\JahPlayer\Lib -
trunk/jahplayer/bootstrap.py
r909 r917 7 7 import os.path 8 8 9 # This is required for the executable generated from py2exe10 # to use the preinstalled openlibraries python bindings11 if platform.system() == "Windows" or platform.system() == 'Microsoft':12 #sys.path.append(os.path.join(os.getcwd(), "..", "openlibraries", "python"))13 #sys.path.append(os.environ['PYTHONPATH'])14 pass15 16 9 # Initialise the dynamic linking functionality - note that the ubuntu amd64 17 10 # distro lacks the dl module, hence fallback to the non-symbolic values 18 elif platform.system( ) == "Linux":11 if platform.system( ) == "Linux": 19 12 try: 20 13 import dl … … 26 19 import openpluginlib 27 20 28 openpluginlib.init() 21 if len( sys.argv ) > 1 and sys.argv[ 1 ] == "-release": 22 openpluginlib.init( os.path.join( os.path.dirname( sys.argv[ 0 ] ), "plugins" ), 0 ) 23 else: 24 openpluginlib.init( ); -
trunk/jahplayer/jahplayer.cpp
r913 r917 14 14 15 15 std::vector<char*> args; 16 args.push_back( "jahplayer");16 args.push_back( argv[ 0 ] ); 17 17 args.push_back( "jahplayer.py" ); 18 #ifdef NDEBUG 19 args.push_back( "-release" ); 20 #endif 21 18 22 Py_Main( args.size( ), &args[ 0 ] ); 19 23 -
trunk/jahplayer/jahplayer_vc8.vcproj
r915 r917 191 191 UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}" 192 192 > 193 <File 194 RelativePath=".\resource1.h" 195 > 196 </File> 193 197 </Filter> 194 198 <Filter … … 197 201 UniqueIdentifier="{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}" 198 202 > 203 <File 204 RelativePath=".\jah.ico" 205 > 206 </File> 207 <File 208 RelativePath=".\jahplayer.rc" 209 > 210 </File> 199 211 </Filter> 200 212 </Files> -
trunk/jahwidgets/src/qt3/python/python_vc8.vcproj
r915 r917 72 72 LinkIncremental="2" 73 73 AdditionalLibraryDirectories="C:\Python25\libs;C:\Boost\lib;$(QTDIR)\lib;$(OPENLIBRARIES_LIB_PATH)" 74 IgnoreDefaultLibraryNames="msvcrt.lib" 74 75 GenerateDebugInformation="true" 75 76 ProgramDatabaseFile="$(OutDir)/python.pdb" -
trunk/jahwidgets/src/qt3/widgets/player.cpp
r911 r917 567 567 568 568 // Determine if the image is supported by the gpu directly 569 GLint internal_format ;570 GLenum format, type ;569 GLint internal_format = 0; 570 GLenum format, type = GL_UNSIGNED_BYTE; 571 571 pl::pf_to_gl_format( image->pf( ), internal_format, format, type ); 572 572 ml::image_type_ptr new_im; … … 870 870 871 871 // Determine if the image is supported by the gpu directly 872 GLint internal_format ;873 GLenum format, type ;872 GLint internal_format = 0; 873 GLenum format, type = GL_UNSIGNED_BYTE; 874 874 pl::pf_to_gl_format( image->pf( ), internal_format, format, type ); 875 875 ml::image_type_ptr new_im;
