Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - pyed

Pages: [1]
1
MAC / Re: MAC builders: test new build system
« on: May 15, 2014, 06:38:40 pm »
@sledgehammer_999
OSX doesn't have "ldd" we got "otool" instead:
Code: [Select]
>$ otool -L qbittorrent
qbittorrent:
/usr/local/lib/libtorrent-rasterbar.7.dylib (compatibility version 8.0.0, current version 8.0.0)
/usr/local/lib/libboost_system-mt.dylib (compatibility version 0.0.0, current version 0.0.0)
/usr/local/opt/zlib/lib/libz.1.dylib (compatibility version 1.0.0, current version 1.2.8)
/usr/local/lib/libboost_system.dylib (compatibility version 0.0.0, current version 0.0.0)
/System/Library/Frameworks/Carbon.framework/Versions/A/Carbon (compatibility version 2.0.0, current version 157.0.0)
/System/Library/Frameworks/IOKit.framework/Versions/A/IOKit (compatibility version 1.0.0, current version 275.0.0)
/usr/local/lib/QtXml.framework/Versions/4/QtXml (compatibility version 4.8.0, current version 4.8.6)
/usr/local/lib/QtCore.framework/Versions/4/QtCore (compatibility version 4.8.0, current version 4.8.6)
/usr/local/lib/QtGui.framework/Versions/4/QtGui (compatibility version 4.8.0, current version 4.8.6)
/usr/local/lib/QtNetwork.framework/Versions/4/QtNetwork (compatibility version 4.8.0, current version 4.8.6)
/usr/local/lib/libdbus-1.3.dylib (compatibility version 12.0.0, current version 12.4.0)
/usr/lib/libc++.1.dylib (compatibility version 1.0.0, current version 120.0.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1197.1.1)
/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation (compatibility version 150.0.0, current version 855.16.0)
/System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices (compatibility version 1.0.0, current version 59.0.0)

and the binary is located at "/src/qbittorrent.app/Contents/MacOS/qbittorrent"

2
MAC / Re: MAC builders: test new build system
« on: May 14, 2014, 01:26:40 am »
well here's my testing results, I had to re-install my qt via home-brew with d-bus included, and I had to install 'zlib' via home-brew too, although I think OS X provides a version of zlib.

so my env is:
brew install qt --with-d-bus
brew install libtorrent-rasterbar    <-- this will install 'boost' and 'pkg-config' as dependency
brew install openssl    <-- you have to --force link it, cuz it's a keg-only
brew install https://raw.githubusercontent.com/Homebrew/homebrew-dupes/master/zlib.rb      <-- zlib formula is located on homebrew-dupes, since OSX provide it's own version but I had to install this one for this to work.

my first attempt:
 - I downloaded the latest git master.
 - replaced 'macxconf.pri' with the provided pastebin file.
 - then I placed the 'GeoIP.Dat' at `src/geoip`
 - issued: "./configure --with-geoip-database-embedded"
 - issued: "make"

this one was successful and I was able to package a working 'qbittorrent.app' which works fine for me

my second attempt:
 - I downloaded the latest git master.
 - replaced 'macxconf.pri' with the provided pastebin file and deleted the 12th line "LIBS += -framework Carbon -framework IOKit"
 - then I placed the 'GeoIP.Dat' at `src/geoip`
 - issued: "./configure --with-geoip-database-embedded"
 - issued: "make"

this one failed with this error: http://pastebin.com/NDNWkxCf
and here's the config.log from this attempt : http://pastebin.com/CQRAU5YJ

I hope this was helpful, If I have more time I'll test qt5 and the nox build.

3
MAC / Re: qBittorrent 3.1.9.1 for Mac, compiled and ready to use.
« on: April 29, 2014, 01:10:47 am »
almost 600 people downloaded 3.1.9 version, now 3.1.9.1 is out Heartbleed.com free, Download: http://bit.ly/qBittorrent3191

env:
  • Qt: stable 4.8.5
  • boost: stable 1.55.0
  • libtorrent: stable 0.16.16

4
MAC / Re: qBittorrent 3.1.9 for Mac, compiled and ready to use.
« on: March 22, 2014, 04:21:23 pm »
@littletree76 sorry I'm too late, but here's How I compile qBittorrent:

Install Homebrew which will ask you to install command-line tools, you don't need xCode
download qbittorrent source

after running `brew doctor` now you are ready to brew

`brew install qt4-mac libtorrent-rasterbar`
now in your qbittorrent source folder
edit the file `macxconf.pri` change all the occurrences of `opt` to `usr`
download geoip.dat and extract it to src/geoip, to get country flags
while you in qBittorrent source folder now execute the following:
`qmake qbittorrent.pro`
`make`  <- if you want it to be faster use `-j4` or `-j2` to get threaded compiling, to dodge errors use `make` alone.
macdeployqt src/qbittorrent.app -dmg

now go to src/ and look for qbittorrent.dmg, congrats this is your compiled version.


5
MAC / Re: qBittorrent 3.1.8 for Mac, compiled and ready to use.
« on: March 20, 2014, 04:46:43 pm »
@pyed can you tell me which version of Xcode were you using?

since Mavericks you don't need the whole Xcode to build, only the "Command-line tools", and it's version is "CLT: 5.0.1.0.1.1382131676"

Thank you for offering download of compiled version 3.19. I will install it in Mac OS 10.9.2 to find out how does it work as compared with current installation of version 3.1.3.

I have latest version of Xcode 5.1 and corresponding Command-line tools version (release date: 10-March-2014) installed for all Unix command tools such as gcc for compilation. Then I installed Homebrew to install missing Unix packages qt4-mac and libtorrent-rasterbar for compilation of qbittorrent 3.1.8. Followed instructions exactly in following website to compile qbittorrent 3.1.8. I encountered plugins not installed warning messages and the resultant qbittorrent application crashed frequently.

https://github.com/qbittorrent/qBittorrent/wiki/Compilation-guide-for-Mac-OSX-systems

May I know what have I done wrong ? It surprises me that you never mention the required packages qt4-mac and libtorrent-rasterbar at all, does it means that there is alternative way of compilation which does not need these Unix packages ?

Thanks in advance for any reply.

sorry didn't notice your reply, I'm away right now, when I get back I'll tell you everything you need to do/install to get everthing done right.

6
MAC / Re: qBittorrent 3.1.9 for Mac, compiled and ready to use.
« on: March 18, 2014, 10:35:21 am »
It crashed on me with any torrent.

if that's the case then maybe it's something you did/didn't when you installed/upgraded qBittorrent. there's 200~ user downloaded 3.1.9 version and none of them reported a problem like yours, maybe try cleaning your OS and re-install qBittorrent.

7
MAC / Re: qBittorrent 3.1.9 for Mac, compiled and ready to use.
« on: March 17, 2014, 07:18:00 pm »
i should also mention it crash in less than 5 minute after iniating the torrent

is that any torrent file or a specific torrent file ? and how many times that happened ?

8
MAC / Re: qBittorrent 3.1.8 for Mac, compiled and ready to use.
« on: March 02, 2014, 02:28:49 pm »
I just compiled the new 3.1.9 it seems fine to me, if anyone is interested here it is: http://bit.ly/OPHIAG

9
MAC / Re: qBittorrent 3.1.8 for Mac, compiled and ready to use.
« on: March 02, 2014, 02:27:05 pm »
ok I am lost. What is the compiler on osx? I was just going to research what OS versions are supported by that particular compiler version.

Checkout the MakeFile generated via qmake: http://pastebin.com/ATDys89r


On 10.9.2 and everything continues to work fine except maybe the search engine.  Performed complete wipe of the app and all plist and config files and reinstalled 3.1.8.  Some searches work, others terminate immediately.  Clicked on <Search engines...> <Check for updates> and an error message popped up:  "Sorry, isohunt search plugin install failed."  The isohunt engine is not in my list nor is there a script for it in the <.../nova/engines/> directory...

Do I need to open a ticket for this?

which searches terminate immediately ? and was this an issue on 3.1.3 ?

10
MAC / Re: qBittorrent 3.1.8 for Mac, compiled and ready to use.
« on: February 26, 2014, 01:32:00 pm »
@pyed can you tell me which version of Xcode were you using?

since Mavericks you don't need the whole Xcode to build, only the "Command-line tools", and it's version is "CLT: 5.0.1.0.1.1382131676"

11
MAC / Re: qBittorrent 3.1.8 for Mac, compiled and ready to use.
« on: February 13, 2014, 10:18:05 pm »
@sledgehammer_999 for me it's working on the latest Mac OSX Mavericks 10.9.1, not sure about older versions.

12
MAC / qBittorrent 3.1.9.1 for Mac, compiled and ready to use.
« on: February 13, 2014, 09:55:40 pm »
Hi,

Here's my compiled version if anyone is interested.
Download: http://bit.ly/qBittorrent3191

env:
  • Qt: stable 4.8.5
  • boost: stable 1.55.0
  • libtorrent: stable 0.16.16

please report back any issues.

13
MAC / Re: Help me editing unrar script for qBitt
« on: November 01, 2012, 07:01:29 am »
Well, I tried to do this but no luck

on qBittorrent i'll have this as my external program link
Code: [Select]
/Users/USERNAME/unrar.sh "%n" "%f"
and i edited my code to this

Code: [Select]
#!/bin/sh

exec osascript <<END

tname=$1
tdir=$2


on reformat(theName)
   set newName to ""
   repeat with i from 1 to length of theName
      if ((character i of theName) is "/") then
         set newName to newName & ":"
      else
         set newName to newName & character i of theName
      end if
   end repeat
   return newName
end reformat

tell application "Finder"
   set found_rar to false
   set str to "$tdir" & ":" & "$tname"
   set str to my reformat(str)
   set source_folder to "OSX" & str & ":"
   
   set item_list to source_folder
   set src_folder to item_list
   set the the_items to list folder item_list without invisibles
   set item_list to item_list as string
   repeat with i from 1 to number of items in the the_items
      set the_item to item i of the the_items
      set the_item to (item_list & the_item) as alias
      set this_info to info for the_item
      if name extension of this_info is "rar" then
         try
            tell application "StuffIt Expander"
               expand the_item
               quit
            end tell
            set found_rar to true
         end try
      end if
   end repeat
   if found_rar then
      repeat with i from 1 to number of items in the the_items
         set the_item to item i of the the_items
         set the_item to (item_list & the_item) as alias
         
         --Permanently remove it
         set posPath to POSIX path of the_item
         do shell script "rm -rf \"" & posPath & "\""
         
         --Or send to trash
         --delete file the_item
      end repeat
   end if
   
end tell
END


14
MAC / Help me editing unrar script for qBitt
« on: November 01, 2012, 05:52:54 am »
Hi, I used to be Transmission user, but today I tried qBittorrent and i really liked it, and i'm willing to use it as my main bittorrent client, in fact i deleted Transmission  ;D

But I've this really useful script that I make Transmission call when download complete and it will unrar the files i just downloaded using Mac app called 'Stuffit Expander',  i tried that script with qBittorrent but it doesn't work  :'( i think it just need little editing but because of my lack of knowledge in this field i couldn't do it my self, I googled for scripts for qBittorrent that would do the same job, but no luck  :(

can someone help with this ? here's the script

Code: [Select]
#!/bin/sh

exec osascript <<END

on reformat(theName)
   set newName to ""
   repeat with i from 1 to length of theName
      if ((character i of theName) is "/") then
         set newName to newName & ":"
      else
         set newName to newName & character i of theName
      end if
   end repeat
   return newName
end reformat

tell application "Finder"
   set found_rar to false
   set str to "$TR_TORRENT_DIR" & ":" & "$TR_TORRENT_NAME"
   set str to my reformat(str)
   set source_folder to "OSX" & str & ":"
   
   set item_list to source_folder
   set src_folder to item_list
   set the the_items to list folder item_list without invisibles
   set item_list to item_list as string
   repeat with i from 1 to number of items in the the_items
      set the_item to item i of the the_items
      set the_item to (item_list & the_item) as alias
      set this_info to info for the_item
      if name extension of this_info is "rar" then
         try
            tell application "StuffIt Expander"
               expand the_item
               quit
            end tell
            set found_rar to true
         end try
      end if
   end repeat
   if found_rar then
      repeat with i from 1 to number of items in the the_items
         set the_item to item i of the the_items
         set the_item to (item_list & the_item) as alias
         
         --Permanently remove it
         set posPath to POSIX path of the_item
         do shell script "rm -rf \"" & posPath & "\""
         
         --Or send to trash
         --delete file the_item
      end repeat
   end if
   
end tell
END

thanks

Pages: [1]