mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-06 00:18:39 +00:00
Prep for release
This commit is contained in:
parent
aca80eb70f
commit
ef518655d5
6 changed files with 35 additions and 34 deletions
|
@ -1,6 +1,7 @@
|
||||||
=== Deluge 1.1.9 - (In Development) ===
|
=== Deluge 1.1.9 - (15 June 2009) ===
|
||||||
==== Core ====
|
==== Core ====
|
||||||
* Only move a torrent due to 'move on complete' when some data has been downloaded
|
* Only move a torrent due to 'move on complete' when some data has been downloaded
|
||||||
|
* Update libtorrent for CVE-2009-1760
|
||||||
|
|
||||||
==== GtkUI ====
|
==== GtkUI ====
|
||||||
* Fix #950 renaming a parent folder into multiple folders
|
* Fix #950 renaming a parent folder into multiple folders
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
.TH DELUGE 1 "May 2009" "1.1.8"
|
.TH DELUGE 1 "June 2009" "1.1.9"
|
||||||
|
|
||||||
.SH NAME
|
.SH NAME
|
||||||
deluge - a bittorrent client
|
deluge - a bittorrent client
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
.TH DELUGED 1 "May 2009" "1.1.8"
|
.TH DELUGED 1 "June 2009" "1.1.9"
|
||||||
|
|
||||||
.SH NAME
|
.SH NAME
|
||||||
deluged - a bittorrent client daemon
|
deluged - a bittorrent client daemon
|
||||||
|
|
2
setup.py
2
setup.py
|
@ -411,5 +411,5 @@ setup(
|
||||||
]},
|
]},
|
||||||
packages = find_packages(exclude=["plugins"]),
|
packages = find_packages(exclude=["plugins"]),
|
||||||
url = "http://deluge-torrent.org",
|
url = "http://deluge-torrent.org",
|
||||||
version = "1.1.8",
|
version = "1.1.9",
|
||||||
)
|
)
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
build_version = "1.1.7"
|
build_version = "1.1.9"
|
||||||
python_path = "C:\\Python25\\"
|
python_path = "C:\\Python25\\"
|
||||||
|
|
||||||
import shutil
|
import shutil
|
||||||
|
@ -9,4 +9,4 @@ from bbfreeze import Freezer
|
||||||
f = Freezer("..\\build-win32\\deluge-bbfreeze-" + build_version, includes=("gzip", "zipfile", "re", "socket", "struct", "cairo", "pangocairo", "atk", "pango"))
|
f = Freezer("..\\build-win32\\deluge-bbfreeze-" + build_version, includes=("gzip", "zipfile", "re", "socket", "struct", "cairo", "pangocairo", "atk", "pango"))
|
||||||
f.addScript(python_path + "Scripts\deluge.py", gui_only=False)
|
f.addScript(python_path + "Scripts\deluge.py", gui_only=False)
|
||||||
f.addScript(python_path + "Scripts\deluged.py", gui_only=False)
|
f.addScript(python_path + "Scripts\deluged.py", gui_only=False)
|
||||||
f() # starts the freezing process
|
f() # starts the freezing process
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
|
|
||||||
# Copyright (C) 2009 by
|
# Copyright (C) 2009 by
|
||||||
# Jesper Lund <mail@jesperlund.com>
|
# Jesper Lund <mail@jesperlund.com>
|
||||||
# Andrew Resch <andrewresch@gmail.com>
|
# Andrew Resch <andrewresch@gmail.com>
|
||||||
# John Garland <johnnybg@gmail.com>
|
# John Garland <johnnybg@gmail.com>
|
||||||
|
|
||||||
# Deluge is free software.
|
# Deluge is free software.
|
||||||
|
@ -37,7 +37,7 @@ SetCompressor lzma
|
||||||
|
|
||||||
# Deluge program information
|
# Deluge program information
|
||||||
!define PROGRAM_NAME "Deluge"
|
!define PROGRAM_NAME "Deluge"
|
||||||
!define PROGRAM_VERSION "1.1.8"
|
!define PROGRAM_VERSION "1.1.9"
|
||||||
!define PROGRAM_WEB_SITE "http://deluge-torrent.org"
|
!define PROGRAM_WEB_SITE "http://deluge-torrent.org"
|
||||||
|
|
||||||
# Python files generated with bbfreeze (without DLLs from GTK+ runtime)
|
# Python files generated with bbfreeze (without DLLs from GTK+ runtime)
|
||||||
|
@ -133,20 +133,20 @@ ShowUnInstDetails show
|
||||||
# Install main application
|
# Install main application
|
||||||
Section "Deluge Bittorrent Client" Section1
|
Section "Deluge Bittorrent Client" Section1
|
||||||
SectionIn RO
|
SectionIn RO
|
||||||
|
|
||||||
Rmdir /r "${DELUGE_PYTHON_SUBDIR}"
|
Rmdir /r "${DELUGE_PYTHON_SUBDIR}"
|
||||||
SetOutPath "${DELUGE_PYTHON_SUBDIR}"
|
SetOutPath "${DELUGE_PYTHON_SUBDIR}"
|
||||||
File /r "${DELUGE_PYTHON_BBFREEZE_OUTPUT_DIR}\*.*"
|
File /r "${DELUGE_PYTHON_BBFREEZE_OUTPUT_DIR}\*.*"
|
||||||
|
|
||||||
# Clean up previous confusion between Deluge.ico and deluge.ico (seems to matter on Vista registry settings?)
|
# Clean up previous confusion between Deluge.ico and deluge.ico (seems to matter on Vista registry settings?)
|
||||||
Delete "$INSTDIR\Deluge.ico"
|
Delete "$INSTDIR\Deluge.ico"
|
||||||
|
|
||||||
SetOverwrite ifnewer
|
SetOverwrite ifnewer
|
||||||
SetOutPath $INSTDIR
|
SetOutPath $INSTDIR
|
||||||
File "..\LICENSE"
|
File "..\LICENSE"
|
||||||
File "StartX.exe"
|
File "StartX.exe"
|
||||||
File "deluge.ico"
|
File "deluge.ico"
|
||||||
|
|
||||||
# Create deluge.cmd file
|
# Create deluge.cmd file
|
||||||
fileOpen $0 "$INSTDIR\deluge.cmd" w
|
fileOpen $0 "$INSTDIR\deluge.cmd" w
|
||||||
fileWrite $0 '@ECHO OFF$\r$\n'
|
fileWrite $0 '@ECHO OFF$\r$\n'
|
||||||
|
@ -159,14 +159,14 @@ Section "Deluge Bittorrent Client" Section1
|
||||||
fileWrite $0 ' %STARTX_APP% /B /D%DELUGEFOLDER% "$INSTDIR\Deluge-Python\deluge.exe "%1" "%2" "%3" "%4""$\r$\n'
|
fileWrite $0 ' %STARTX_APP% /B /D%DELUGEFOLDER% "$INSTDIR\Deluge-Python\deluge.exe "%1" "%2" "%3" "%4""$\r$\n'
|
||||||
fileWrite $0 ')$\r$\n'
|
fileWrite $0 ')$\r$\n'
|
||||||
fileClose $0
|
fileClose $0
|
||||||
|
|
||||||
# Create deluged.cmd file
|
# Create deluged.cmd file
|
||||||
fileOpen $0 "$INSTDIR\deluged.cmd" w
|
fileOpen $0 "$INSTDIR\deluged.cmd" w
|
||||||
fileWrite $0 '@ECHO OFF$\r$\n'
|
fileWrite $0 '@ECHO OFF$\r$\n'
|
||||||
fileWrite $0 'SET DELUGEFOLDER="$INSTDIR"$\r$\n'
|
fileWrite $0 'SET DELUGEFOLDER="$INSTDIR"$\r$\n'
|
||||||
fileWrite $0 '"$INSTDIR\StartX.exe" /B /D%DELUGEFOLDER% "$INSTDIR\Deluge-Python\deluged.exe "%1" "%2" "%3" "%4""$\r$\n'
|
fileWrite $0 '"$INSTDIR\StartX.exe" /B /D%DELUGEFOLDER% "$INSTDIR\Deluge-Python\deluged.exe "%1" "%2" "%3" "%4""$\r$\n'
|
||||||
fileClose $0
|
fileClose $0
|
||||||
|
|
||||||
# Create deluge-webui.cmd file
|
# Create deluge-webui.cmd file
|
||||||
fileOpen $0 "$INSTDIR\deluge-webui.cmd" w
|
fileOpen $0 "$INSTDIR\deluge-webui.cmd" w
|
||||||
fileWrite $0 '@ECHO OFF$\r$\n'
|
fileWrite $0 '@ECHO OFF$\r$\n'
|
||||||
|
@ -187,7 +187,7 @@ Section -StartMenu_Desktop_Links
|
||||||
CreateShortCut "$SMPROGRAMS\Deluge\Deluge daemon.lnk" "$INSTDIR\deluged.cmd" "" "$INSTDIR\deluge.ico"
|
CreateShortCut "$SMPROGRAMS\Deluge\Deluge daemon.lnk" "$INSTDIR\deluged.cmd" "" "$INSTDIR\deluge.ico"
|
||||||
CreateShortCut "$SMPROGRAMS\Deluge\Deluge webUI.lnk" "$INSTDIR\deluge-webui.cmd" "" "$INSTDIR\deluge.ico"
|
CreateShortCut "$SMPROGRAMS\Deluge\Deluge webUI.lnk" "$INSTDIR\deluge-webui.cmd" "" "$INSTDIR\deluge.ico"
|
||||||
CreateShortCut "$SMPROGRAMS\Deluge\Project homepage.lnk" "$INSTDIR\Homepage.url"
|
CreateShortCut "$SMPROGRAMS\Deluge\Project homepage.lnk" "$INSTDIR\Homepage.url"
|
||||||
CreateShortCut "$SMPROGRAMS\Deluge\Uninstall Deluge.lnk" "$INSTDIR\Deluge-uninst.exe"
|
CreateShortCut "$SMPROGRAMS\Deluge\Uninstall Deluge.lnk" "$INSTDIR\Deluge-uninst.exe"
|
||||||
CreateShortCut "$DESKTOP\Deluge.lnk" "$INSTDIR\deluge.cmd" "" "$INSTDIR\deluge.ico"
|
CreateShortCut "$DESKTOP\Deluge.lnk" "$INSTDIR\deluge.cmd" "" "$INSTDIR\deluge.ico"
|
||||||
SectionEnd
|
SectionEnd
|
||||||
|
|
||||||
|
@ -204,7 +204,7 @@ Section "Create .torrent file association for Deluge" Section2
|
||||||
DeleteRegKey HKCR ".torrent"
|
DeleteRegKey HKCR ".torrent"
|
||||||
WriteRegStr HKCR ".torrent" "" "Deluge"
|
WriteRegStr HKCR ".torrent" "" "Deluge"
|
||||||
WriteRegStr HKCR ".torrent" "Content Type" "application/x-bittorrent"
|
WriteRegStr HKCR ".torrent" "Content Type" "application/x-bittorrent"
|
||||||
|
|
||||||
DeleteRegKey HKCR "Deluge"
|
DeleteRegKey HKCR "Deluge"
|
||||||
WriteRegStr HKCR "Deluge" "" "Deluge"
|
WriteRegStr HKCR "Deluge" "" "Deluge"
|
||||||
WriteRegStr HKCR "Deluge\Content Type" "" "application/x-bittorrent"
|
WriteRegStr HKCR "Deluge\Content Type" "" "application/x-bittorrent"
|
||||||
|
@ -219,21 +219,21 @@ Section "GTK+ 2.12 runtime" Section3
|
||||||
# The criterion is whether the registry key HKLM\SOFTWARE\GTK\2.0\Version exists
|
# The criterion is whether the registry key HKLM\SOFTWARE\GTK\2.0\Version exists
|
||||||
ReadRegStr $0 HKLM "SOFTWARE\GTK\2.0" "Version"
|
ReadRegStr $0 HKLM "SOFTWARE\GTK\2.0" "Version"
|
||||||
IfErrors GTK_install_start 0
|
IfErrors GTK_install_start 0
|
||||||
|
|
||||||
${VersionCompare} $0 "2.11" $1
|
${VersionCompare} $0 "2.11" $1
|
||||||
StrCmp $1 "2" 0 +3
|
StrCmp $1 "2" 0 +3
|
||||||
MessageBox MB_ICONEXCLAMATION|MB_OK "Your GTK+ runtime version is $0 and Deluge will not work with GTK+ 2.10 or earlier. \
|
MessageBox MB_ICONEXCLAMATION|MB_OK "Your GTK+ runtime version is $0 and Deluge will not work with GTK+ 2.10 or earlier. \
|
||||||
The Deluge installer will not download and install GTK+ 2.12 runtime. Sorry, but you will have to resolve this conflict manually. \
|
The Deluge installer will not download and install GTK+ 2.12 runtime. Sorry, but you will have to resolve this conflict manually. \
|
||||||
If in doubt, you can ask for help in the Deluge forum or IRC channel."
|
If in doubt, you can ask for help in the Deluge forum or IRC channel."
|
||||||
Goto GTK_install_exit
|
Goto GTK_install_exit
|
||||||
|
|
||||||
${VersionCompare} $0 "2.13" $1
|
${VersionCompare} $0 "2.13" $1
|
||||||
StrCmp $1 "1" 0 +3
|
StrCmp $1 "1" 0 +3
|
||||||
MessageBox MB_ICONEXCLAMATION|MB_OK "You have GTK+ $0 installed on your system. \
|
MessageBox MB_ICONEXCLAMATION|MB_OK "You have GTK+ $0 installed on your system. \
|
||||||
The Deluge installer will not download and install the GTK+ 2.12 runtime. \
|
The Deluge installer will not download and install the GTK+ 2.12 runtime. \
|
||||||
Please note that GTK+ 2.14 has not been tested as thoroughly as the GTK+ 2.12 version, but it should work.."
|
Please note that GTK+ 2.14 has not been tested as thoroughly as the GTK+ 2.12 version, but it should work.."
|
||||||
Goto GTK_install_exit
|
Goto GTK_install_exit
|
||||||
|
|
||||||
MessageBox MB_OK "You have GTK+ $0 installed on your system. The Deluge installer will not download and install the GTK+ runtime."
|
MessageBox MB_OK "You have GTK+ $0 installed on your system. The Deluge installer will not download and install the GTK+ runtime."
|
||||||
Goto GTK_install_exit
|
Goto GTK_install_exit
|
||||||
|
|
||||||
|
@ -243,22 +243,22 @@ Section "GTK+ 2.12 runtime" Section3
|
||||||
The GTK+ runtime can be installed in any location, \
|
The GTK+ runtime can be installed in any location, \
|
||||||
because the GTK+ installer adds the location to the global PATH variable. \
|
because the GTK+ installer adds the location to the global PATH variable. \
|
||||||
Please note that the GTK+ 2.12 runtime is not removed by the Deluge uninstaller. \
|
Please note that the GTK+ 2.12 runtime is not removed by the Deluge uninstaller. \
|
||||||
You must use the GTK+ 2.12 uninstaller if you want to remove it together with Deluge."
|
You must use the GTK+ 2.12 uninstaller if you want to remove it together with Deluge."
|
||||||
|
|
||||||
# Download GTK+ installer to TEMP dir
|
# Download GTK+ installer to TEMP dir
|
||||||
NSISdl::download http://download.deluge-torrent.org/windows/deps/${DELUGE_GTK_DEPENDENCY} "$TEMP\${DELUGE_GTK_DEPENDENCY}"
|
NSISdl::download http://download.deluge-torrent.org/windows/deps/${DELUGE_GTK_DEPENDENCY} "$TEMP\${DELUGE_GTK_DEPENDENCY}"
|
||||||
|
|
||||||
# Get return value (success, cancel, or string describing the network error)
|
# Get return value (success, cancel, or string describing the network error)
|
||||||
Pop $2
|
Pop $2
|
||||||
StrCmp $2 "success" 0 GTK_download_error
|
StrCmp $2 "success" 0 GTK_download_error
|
||||||
|
|
||||||
ExecWait "$TEMP\${DELUGE_GTK_DEPENDENCY}"
|
ExecWait "$TEMP\${DELUGE_GTK_DEPENDENCY}"
|
||||||
Goto GTK_install_exit
|
Goto GTK_install_exit
|
||||||
|
|
||||||
GTK_download_error:
|
GTK_download_error:
|
||||||
MessageBox MB_ICONEXCLAMATION|MB_OK "Download of GTK+ 2.12 installer failed (return code: $2). \
|
MessageBox MB_ICONEXCLAMATION|MB_OK "Download of GTK+ 2.12 installer failed (return code: $2). \
|
||||||
You must install the GTK+ 2.12 runtime manually, or Deluge will fail to run on your system."
|
You must install the GTK+ 2.12 runtime manually, or Deluge will fail to run on your system."
|
||||||
|
|
||||||
GTK_install_exit:
|
GTK_install_exit:
|
||||||
SectionEnd
|
SectionEnd
|
||||||
|
|
||||||
|
@ -278,7 +278,7 @@ LangString DESC_Section3 ${LANG_ENGLISH} "Download and install the GTK+ 2.12 run
|
||||||
|
|
||||||
Section Uninstall
|
Section Uninstall
|
||||||
Rmdir /r "${DELUGE_PYTHON_SUBDIR}"
|
Rmdir /r "${DELUGE_PYTHON_SUBDIR}"
|
||||||
|
|
||||||
Delete "$INSTDIR\Deluge-uninst.exe"
|
Delete "$INSTDIR\Deluge-uninst.exe"
|
||||||
Delete "$INSTDIR\LICENSE"
|
Delete "$INSTDIR\LICENSE"
|
||||||
Delete "$INSTDIR\deluge.cmd"
|
Delete "$INSTDIR\deluge.cmd"
|
||||||
|
@ -287,27 +287,27 @@ Section Uninstall
|
||||||
Delete "$INSTDIR\StartX.exe"
|
Delete "$INSTDIR\StartX.exe"
|
||||||
Delete "$INSTDIR\Homepage.url"
|
Delete "$INSTDIR\Homepage.url"
|
||||||
Delete "$INSTDIR\deluge.ico"
|
Delete "$INSTDIR\deluge.ico"
|
||||||
|
|
||||||
Delete "$SMPROGRAMS\Deluge\Deluge.lnk"
|
Delete "$SMPROGRAMS\Deluge\Deluge.lnk"
|
||||||
Delete "$SMPROGRAMS\Deluge\Deluge daemon.lnk"
|
Delete "$SMPROGRAMS\Deluge\Deluge daemon.lnk"
|
||||||
Delete "$SMPROGRAMS\Deluge\Deluge webUI.lnk"
|
Delete "$SMPROGRAMS\Deluge\Deluge webUI.lnk"
|
||||||
Delete "$SMPROGRAMS\Deluge\Uninstall Deluge.lnk"
|
Delete "$SMPROGRAMS\Deluge\Uninstall Deluge.lnk"
|
||||||
Delete "$SMPROGRAMS\Deluge\Project homepage.lnk"
|
Delete "$SMPROGRAMS\Deluge\Project homepage.lnk"
|
||||||
Delete "$DESKTOP\Deluge.lnk"
|
Delete "$DESKTOP\Deluge.lnk"
|
||||||
|
|
||||||
RmDir "$SMPROGRAMS\Deluge"
|
RmDir "$SMPROGRAMS\Deluge"
|
||||||
RmDir "$INSTDIR"
|
RmDir "$INSTDIR"
|
||||||
|
|
||||||
DeleteRegKey ${PROGRAM_UNINST_ROOT_KEY} "${PROGRAM_UNINST_KEY}"
|
DeleteRegKey ${PROGRAM_UNINST_ROOT_KEY} "${PROGRAM_UNINST_KEY}"
|
||||||
|
|
||||||
# Only delete the .torrent association if Deluge owns it
|
# Only delete the .torrent association if Deluge owns it
|
||||||
ReadRegStr $1 HKCR ".torrent" ""
|
ReadRegStr $1 HKCR ".torrent" ""
|
||||||
StrCmp $1 "Deluge" 0 DELUGE_skip_delete
|
StrCmp $1 "Deluge" 0 DELUGE_skip_delete
|
||||||
|
|
||||||
# Delete the key since it is owned by Deluge; afterwards there is no .torrent association
|
# Delete the key since it is owned by Deluge; afterwards there is no .torrent association
|
||||||
DeleteRegKey HKCR ".torrent"
|
DeleteRegKey HKCR ".torrent"
|
||||||
|
|
||||||
DELUGE_skip_delete:
|
DELUGE_skip_delete:
|
||||||
# This key is only used by Deluge, so we should always delete it
|
# This key is only used by Deluge, so we should always delete it
|
||||||
DeleteRegKey HKCR "Deluge"
|
DeleteRegKey HKCR "Deluge"
|
||||||
SectionEnd
|
SectionEnd
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue