|
BuildInstructions
Common partImageShack Uploader uses portable qmake utility to build on various platforms. Most platforms, where Qt and FFmpeg are available, can be used to build from source. There are only two dependencies: ImageShack Uploader uses ImageShack and YFrog APIs, so a developer key is required to build. It should be specified in envirement variable IMAGESHACK_DEVELOPER_KEY. If this variable is empty, you will get an error on qmake step. The easiest way to build this sources is using Qt SQK which is available for free on Trolltech website. Building on Unix
You can also build packages for common Linux distributions using make deb or make rpm or make packages to build both. For other distros there is make install target. Building on Windows
Copy them to source root directory. You can grab compiled DLLs at http://ffmpeg.arrozcru.org/. Look there for ffmpeg Win32 shared libraries. You need ffmpeg headers as well. Download ffmpeg at http://ffmpeg.org/download.html and copy to the source root directory recursive. In fact you need only header .h files. Building on MacYou need to have Xcode Tools installed. Due to a bug (see issue #14 for details) in MacPorts version of QT at this moment you need to use Qt SDK distributions (DMG). To perform build, execute the following (assuming bash shell): IMAGESHACK_DEVELOPER_KEY="YOURdeveloperKEY" qmake imageshack.pro -spec macx-g++ make To build distributable DMG image, use make dmg command. |
1. Does the IMAGESHACK_DEVELOPER_KEY require an internet connection? Is that key verified in any way? 2. I was thinking of making a package for it on Ubuntu/Debian, but the imageshack api mentions "The key is just a string which identifies your application. Do not share it with anybody.". How am I supposed to build your application, provide the debian package source and hide that key?
i made an rpm package for mandriva 2010.0, now i want to rebuild the same source in mandriva 2010.1 and i have this kind of error : ffmpeg_fas.c: In function fas_set_logging :
http://pastebin.mandriva.com/17421By the way, there's no real reason to use tell people to specify the key at compile time, it can be trivally extracted by examining the binary.
For example, the official API key is something like:
Last 8 numbers removed, but anybody with the "strings" command can extract it…
Hi. I'm a n00b here, just having a first look, so I might be wrong about this, but ... I believe the Qt SDK you're referring to has a new home. The site you link to -- qtsoftware.com -- is (now?) some sort of online store selling software. I believe the new home is for the open source Qt project is now qt.nokia.com.
Sweer
if you want to make a local install in linux, not a full root install, build steps should be
3. IMAGESHACK_DEVELOPER_KEY="YOURdeveloperKEY" qmake 4. make INSTALL_ROOT=/usr/local 5. make install