summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen de Groot <yngwin@gentoo.org>2009-06-06 23:28:35 +0000
committerBen de Groot <yngwin@gentoo.org>2009-06-06 23:28:35 +0000
commit4af4ec03067239ac41ac711cdd28d34d6bf6b941 (patch)
tree5af30b6a41727ed605930d241fbd834a6526459a /app-arch/q7z/files
parentEbuild mostly rewritten, fixed bug #271177. (diff)
downloadhistorical-4af4ec03067239ac41ac711cdd28d34d6bf6b941.tar.gz
historical-4af4ec03067239ac41ac711cdd28d34d6bf6b941.tar.bz2
historical-4af4ec03067239ac41ac711cdd28d34d6bf6b941.zip
Version bump. Thanks to Dror Levin for developing this ebuild in qting-edge overlay.
Package-Manager: portage-2.2_rc33/cvs/Linux x86_64
Diffstat (limited to 'app-arch/q7z/files')
-rw-r--r--app-arch/q7z/files/0.8.0-fix_7z_flags.patch21
-rw-r--r--app-arch/q7z/files/0.8.0-fix_imports.patch24
-rw-r--r--app-arch/q7z/files/0.8.0-fix_paths.patch61
-rw-r--r--app-arch/q7z/files/0.8.0-init.py1
4 files changed, 107 insertions, 0 deletions
diff --git a/app-arch/q7z/files/0.8.0-fix_7z_flags.patch b/app-arch/q7z/files/0.8.0-fix_7z_flags.patch
new file mode 100644
index 000000000000..bc6f2140f825
--- /dev/null
+++ b/app-arch/q7z/files/0.8.0-fix_7z_flags.patch
@@ -0,0 +1,21 @@
+diff -ur Q7Z-orig/Source/Thread.py Q7Z/Source/Thread.py
+--- Q7Z-orig/Source/Thread.py 2009-04-23 10:12:24.000000000 +0300
++++ Q7Z/Source/Thread.py 2009-05-29 03:46:02.541667405 +0300
+@@ -220,7 +220,7 @@
+ sExt = ".exe"
+
+ # Recursive
+- slCmdArgs.append( "-r" )
++ #slCmdArgs.append( "-r" )
+
+ # Exclusions
+ slWildcards = QtCore.QStringList( Settings.User.Syntax.sExclusions.split( ' ' ) )
+@@ -549,7 +549,7 @@
+ slCmdArgs.append( "-y" )
+
+ # Recursive
+- slCmdArgs.append( "-r" )
++ #slCmdArgs.append( "-r" )
+
+ # Exclusions
+ slWildcards = QtCore.QStringList( Settings.User.Syntax.sExclusions.split( ' ' ) )
diff --git a/app-arch/q7z/files/0.8.0-fix_imports.patch b/app-arch/q7z/files/0.8.0-fix_imports.patch
new file mode 100644
index 000000000000..a7d06b53c9c4
--- /dev/null
+++ b/app-arch/q7z/files/0.8.0-fix_imports.patch
@@ -0,0 +1,24 @@
+diff -ur Q7Z-orig/Bin/Q7Z.pyw Q7Z/Bin/Q7Z.pyw
+--- Q7Z-orig/Bin/Q7Z.pyw 2008-06-29 03:11:21.000000000 +0300
++++ Q7Z/Bin/Q7Z.pyw 2009-05-30 00:29:09.712445008 +0300
+@@ -11,7 +11,7 @@
+ ### Imports
+
+ # Q7Z
+-import Main
++import q7z.Main as Main
+
+
+ ### Execution
+diff -ur Q7Z-orig/Source/Q7Z.pyw Q7Z/Source/Q7Z.pyw
+--- Q7Z-orig/Source/Q7Z.pyw 2008-06-29 03:11:21.000000000 +0300
++++ Q7Z/Source/Q7Z.pyw 2009-05-30 00:29:09.712445008 +0300
+@@ -11,7 +11,7 @@
+ ### Imports
+
+ # Q7Z
+-import Main
++import q7z.Main as Main
+
+
+ ### Execution
diff --git a/app-arch/q7z/files/0.8.0-fix_paths.patch b/app-arch/q7z/files/0.8.0-fix_paths.patch
new file mode 100644
index 000000000000..150a2184e17b
--- /dev/null
+++ b/app-arch/q7z/files/0.8.0-fix_paths.patch
@@ -0,0 +1,61 @@
+diff -ur Q7Z-orig/Source/Settings.py Q7Z/Source/Settings.py
+--- Q7Z-orig/Source/Settings.py 2009-04-23 01:38:10.000000000 +0300
++++ Q7Z/Source/Settings.py 2009-05-30 00:42:50.391474549 +0300
+@@ -39,7 +39,7 @@
+
+ # Application
+ Application = QtCore.QObject()
+-Application.sName = "Q7Z"
++Application.sName = "q7z"
+ Application.sVersion = QtCore.QString( "0.8.0" )
+ Application.sDomain = "k7z.sourceforge.net"
+ Application.sCurrent = "/7Z/" + Application.sName + "/Current.txt"
+@@ -98,10 +98,10 @@
+ Path = QtCore.QObject()
+ Path.sSep = QtCore.QString( QtCore.QDir.separator() )
+ Path.App = QtCore.QObject()
+-Path.App.sPrefix = ""
++Path.App.sPrefix = "/usr/share/" + Application.sName
+ Path.App.sSBin = ""
+-Path.App.sInstall = "/share/" + Application.sName
+-Path.App.sConfig = Env.sHome + '/.config/' + Author.sName + Path.sSep + Application.sName + Path.sSep
++Path.App.sInstall = ""
++Path.App.sConfig = Path.App.sPrefix
+ Path.KDE = QtCore.QObject()
+ Path.KDE.sAutoStart = ""
+ Path.KDE.sConfig = ""
+@@ -270,20 +270,20 @@
+ # Misc
+ Path.KDE.sAutoStart = Path.KDE.sLocalPrefix + "/Autostart/"
+
+- # Installation
+- # KDE
+- if QtCore.QFile.exists( Path.Sys.sPrefix + Path.App.sInstall + "/Source/" ) :
+- Path.App.sPrefix = Path.Sys.sPrefix
+- Path.App.sSBin = Path.App.sPrefix + "/sbin"
+- # User
+- elif QtCore.QFile.exists( Path.Local.sPrefix + Path.App.sInstall + "/Source/" ) :
+- Path.App.sPrefix = Path.Local.sPrefix
+- Path.App.sSBin = Path.App.sPrefix + "/sbin"
+- # Local
+- else :
+- Path.App.sPrefix = os.path.realpath( os.path.dirname( __file__ ) ) + "/../"
+- Path.App.sSBin = Path.App.sPrefix + "/Bin"
+- Path.App.sInstall = ""
++# # Installation
++# # KDE
++# if QtCore.QFile.exists( Path.Sys.sPrefix + Path.App.sInstall + "/Source/" ) :
++# Path.App.sPrefix = Path.Sys.sPrefix
++# Path.App.sSBin = Path.App.sPrefix + "/sbin"
++# # User
++# elif QtCore.QFile.exists( Path.Local.sPrefix + Path.App.sInstall + "/Source/" ) :
++# Path.App.sPrefix = Path.Local.sPrefix
++# Path.App.sSBin = Path.App.sPrefix + "/sbin"
++# # Local
++# else :
++# Path.App.sPrefix = os.path.realpath( os.path.dirname( __file__ ) ) + "/../"
++# Path.App.sSBin = Path.App.sPrefix + "/Bin"
++# Path.App.sInstall = ""
+
+ # Proxy
+ if Env.sProxy != "" :
diff --git a/app-arch/q7z/files/0.8.0-init.py b/app-arch/q7z/files/0.8.0-init.py
new file mode 100644
index 000000000000..8b137891791f
--- /dev/null
+++ b/app-arch/q7z/files/0.8.0-init.py
@@ -0,0 +1 @@
+