Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=117e1976ab44336a09902b63fff3886c7c7dc8ac
commit 117e1976ab44336a09902b63fff3886c7c7dc8ac Author: bouleetbil <[email protected]> Date: Tue Jan 13 20:20:28 2009 +0100 librapi2-0.13-1-i686 *version bump *added patch for pyrex diff --git a/source/lib-extra/librapi2/Fix_pyrex.diff b/source/lib-extra/librapi2/Fix_pyrex.diff new file mode 100644 index 0000000..8e6843f --- /dev/null +++ b/source/lib-extra/librapi2/Fix_pyrex.diff @@ -0,0 +1,42 @@ +--- librapi2-0.13.orig/python/pyrapi2.pyx 2009-01-05 17:59:53.000000000 +0000 ++++ librapi2-0.13/python/pyrapi2.pyx 2009-01-12 08:18:46.000000000 +0000 +@@ -10,10 +10,10 @@ + void free(void *ptr) + + cdef extern from "synce.h": +- char *wstr_to_utf8(LPCWSTR unicode) +- LPWSTR wstr_from_utf8(char *utf8) +- void wstr_free_string(void *str) +- char* synce_strerror(DWORD error) ++ char *wstr_to_utf8(LPCWSTR unicode) nogil ++ LPWSTR wstr_from_utf8(char *utf8) nogil ++ void wstr_free_string(void *str) nogil ++ char* synce_strerror(DWORD error) nogil + + cdef extern from "synce_log.h": + void synce_log_set_level(int level) +@@ -22,7 +22,7 @@ + void *rapi_connection_from_name(char *device_name) + void rapi_connection_select(void *connection) + HRESULT CeRapiInit() +- HRESULT CeProcessConfig(LPCWSTR config, DWORD flags, LPWSTR* reply) ++ HRESULT CeProcessConfig(LPCWSTR config, DWORD flags, LPWSTR* reply) nogil + LONG CeRegCreateKeyEx(HKEY hKey, LPCWSTR lpszSubKey, DWORD Reserved, LPWSTR lpszClass, DWORD ulOptions, REGSAM samDesired, LPSECURITY_ATTRIBUTES lpSecurityAttributes, PHKEY phkResult, LPDWORD lpdwDisposition) + LONG CeRegOpenKeyEx(HKEY hKey, LPCWSTR lpszSubKey, DWORD ulOptions, REGSAM samDesired, PHKEY phkResult) + LONG CeRegCloseKey(HKEY hKey) +@@ -35,13 +35,13 @@ + HRESULT CeSyncResume() + HRESULT CeSyncPause() + HRESULT CeSyncTimeToPc() +- BOOL CeGetSystemPowerStatusEx(PSYSTEM_POWER_STATUS_EX pSystemPowerStatus, BOOL refresh) ++ BOOL CeGetSystemPowerStatusEx(PSYSTEM_POWER_STATUS_EX pSystemPowerStatus, BOOL refresh) nogil + DWORD CeGetDiskFreeSpaceEx( LPCTSTR _lpDirectoryName, PULARGE_INTEGER lpFreeBytesAvailable, PULARGE_INTEGER lpTotalNumberOfBytes, PULARGE_INTEGER lpTotalNumberOfFreeBytes) + BOOL CeFindAllFiles( LPCWSTR szPath, DWORD dwFlags, LPDWORD lpdwFoundCount, LPLPCE_FIND_DATA ppFindDataArray) + + BOOL CeCloseHandle(HANDLE hObject) + HANDLE CeCreateFile( LPCWSTR lpFileName, DWORD dwDesiredAccess, DWORD dwShareMode, LPSECURITY_ATTRIBUTES lpSecurityAttributes, DWORD dwCreationDisposition, DWORD dwFlagsAndAttributes, HANDLE hTemplateFile) +- BOOL CeWriteFile( HANDLE hFile, LPCVOID lpBuffer, DWORD nNumberOfBytesToWrite, LPDWORD lpNumberOfBytesWritten, LPOVERLAPPED lpOverlapped) ++ BOOL CeWriteFile( HANDLE hFile, LPCVOID lpBuffer, DWORD nNumberOfBytesToWrite, LPDWORD lpNumberOfBytesWritten, LPOVERLAPPED lpOverlapped) nogil + BOOL CeReadFile( HANDLE hFile, LPVOID lpBuffer, DWORD nNumberOfBytesToRead, LPDWORD lpNumberOfBytesRead, LPOVERLAPPED lpOverlapped) + + BOOL CeCreateProcess( LPCWSTR lpApplicationName, LPCWSTR lpCommandLine, void* lpProcessAttributes, void* lpThreadAttributes, BOOL bInheritHandles, DWORD dwCreationFlags, LPVOID lpEnvironment, LPWSTR lpCurrentDirectory, void* lpStartupInfo, LPPROCESS_INFORMATION lpProcessInformation) \ No newline at end of file diff --git a/source/lib-extra/librapi2/FrugalBuild b/source/lib-extra/librapi2/FrugalBuild index 6c2d25b..fe7d78f 100644 --- a/source/lib-extra/librapi2/FrugalBuild +++ b/source/lib-extra/librapi2/FrugalBuild @@ -2,8 +2,8 @@ # Maintainer: bouleetbil <[email protected]> pkgname=librapi2 -pkgver=0.12 -pkgrel=2 +pkgver=0.13 +pkgrel=1 pkgdesc="SynCE - RAPI communication library" groups=('lib-extra') archs=('i686' 'x86_64') @@ -12,7 +12,9 @@ makedepends=('pyrex') _F_sourceforge_dirname="synce" _F_sourceforge_realname="SynCE" Finclude sourceforge python -sha1sums=('1cd7e7d54711f1c3ee9d581eb7b235adeb2fc11b') +source=($source Fix_pyrex.diff) +sha1sums=('244a814a907454e81889aebea64017012f16b480' \ + 'c3c72b8a548a7d8c7d53a8040705459a0f3c2a66') subpkgs=("librapi2-python") subdescs=('python bindings for librapi2') subdepends=("librapi2=$pkgver pyrex" ) _______________________________________________ Frugalware-git mailing list [email protected] http://frugalware.org/mailman/listinfo/frugalware-git
