Description: PhotoKit is a photo browser with impressive 3D effects and many slide effects. Support viewing EXIF information. You can share the image to sina weibo easily with it. You can also view the online images with Google image search. PhotoKit can not manager photos now, just viewing. It will be possible in the future. OS2 porting: http://svn.netlabs.org/qtapps/wiki/QT4%20GraphicsLast changelog:
2012-12-25 Easing effect... 2012-09-19: Building debian package for ubuntu is supported. Update submodules
g++ -c -pipe -O2 -Wall -W -D_REENTRANT -fPIC -DQ_DLL_LIBRARY -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I. -I/usr/src/RPM/BUILD/PhotoKit/src/NextEffect/src/loki/include -I../out/.moc/4.8.4 -o ../out/.obj/libNextEffect_linux/singleton.o singleton.cpp
In file included from singleton.cpp:20:0:
singleton.h: In static member function 'static void Singleton<T>::MakeInstance()':
singleton.h:76:13: error: 'cerr' is not a member of 'std'
singleton.h:76:55: error: 'endl' is not a member of 'std'
make[1]: *** [../out/.obj/libNextEffect_linux/singleton.o] Error 1
make[1]: Leaving directory `/usr/src/RPM/BUILD/PhotoKit/src/NextEffect/src'
make: *** [sub-src-NextEffect-src-libNextEffect-pro-make_default] Error 2
The build step is described on github.
PhotoKit depends on some other projects. Before building you should initialize these projects.
1. rm -rf src/ezlog src/NextEffect src/ProgramOptions
2. git submodule update --init
3. git submodule foreach git pull origin master
Now the source code is ready. You can use qmake like this:
BUILD_DIR=/your/build/dir qmake -r
e.g. BUILD_DIR=$PWD qmake -r
Then make
Really interesting concept. I'm sure I don't need to point out that it's a bit rough around the edges (especially the Google search interface -- after scrolling through a bunch of results, it wouldn't let me get back to the search bar or the main menu and I had to close the program), but it shows a lot of promise. Looking forward to future releases. I'd like to package it for inclusion in my PPA once it gets a bit of polish; do you think you could fix the Makefile so that it installs the program globally in the next release?
make debian package is supported now. I have tested on my ubuntu 12.04. First, you must update source code:
git pull;
git submodule update;
Then go to a directory to build the app(optional).
qmake -r /path/to/PhotoKit.pro;
Then build the deb:
make deb
Now you can find a deb file in this directory.
Have fun : )
Ratings & Comments
11 Comments
g++ -c -pipe -std=c++0x -U__STRICT_ANSI__ -O2 -Wall -W -D_REENTRANT -fPIC -DQ_DLL_LIBRARY -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I. -I/usr/src/RPM/BUILD/PhotoKit/src/NextEffect/src/loki/include -I../out/.moc/4.8.4 -o ../out/.obj/libNextEffect_linux/nexteffect_none.o nexteffect_none.cpp In file included from /usr/lib/gcc/i586-alt-linux/4.5.3/../../../../include/c++/4.5.3/functional:54:0, from nexteffectfactory.h:87, from nexteffect_none.cpp:21: /usr/lib/gcc/i586-alt-linux/4.5.3/../../../../include/c++/4.5.3/typeinfo:40:8: error: expected unqualified-id before string constant /usr/lib/gcc/i586-alt-linux/4.5.3/../../../../include/c++/4.5.3/typeinfo:205:27: error: expected '}' before end of line /usr/lib/gcc/i586-alt-linux/4.5.3/../../../../include/c++/4.5.3/typeinfo:205:27: error: expected unqualified-id before end of line /usr/lib/gcc/i586-alt-linux/4.5.3/../../../../include/c++/4.5.3/typeinfo:205:27: error: expected declaration before end of line make[1]: *** [../out/.obj/libNextEffect_linux/nexteffect_none.o] Error 1 make[1]: Leaving directory `/usr/src/RPM/BUILD/PhotoKit/src/NextEffect/src' make: *** [sub-src-NextEffect-src-libNextEffect-pro-make_default] Error 2 rpm -qa | grep libqt4 libqt4-core-4.8.4-alt0.M60P.1 libqt4-sql-sqlite-4.8.4-alt0.M60P.1 libqt4-script-4.8.4-alt0.M60P.1 libqt4-gui-4.8.4-alt0.M60P.1 libqt4-svg-4.8.4-alt0.M60P.1 libqt4-help-4.8.4-alt0.M60P.1 libqt4-4.8.4-alt0.M60P.1 libqt4-devel-4.8.4-alt0.M60P.1 libqt4-sql-4.8.4-alt0.M60P.1 libqt4-xml-4.8.4-alt0.M60P.1 libqt4-network-4.8.4-alt0.M60P.1 libqt4-xmlpatterns-4.8.4-alt0.M60P.1 libqt4-test-4.8.4-alt0.M60P.1 libqt4-qt3support-4.8.4-alt0.M60P.1 libqt4-designer-4.8.4-alt0.M60P.1 libqt4-multimedia-4.8.4-alt0.M60P.1 libqt4-opengl-4.8.4-alt0.M60P.1 libqt4-declarative-4.8.4-alt0.M60P.1 libqt4-scripttools-4.8.4-alt0.M60P.1 libqt4-dbus-4.8.4-alt0.M60P.1 libqt4-clucene-4.8.4-alt0.M60P.1 libqt4-uitools-4.8.4-alt0.M60P.1 libqt4-webkit-4.8.4-alt0.M60P.1
I modified source code. You can update and build. git pull git submodule update
g++ -c -pipe -O2 -Wall -W -D_REENTRANT -fPIC -DQ_DLL_LIBRARY -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I. -I/usr/src/RPM/BUILD/PhotoKit/src/NextEffect/src/loki/include -I../out/.moc/4.8.4 -o ../out/.obj/libNextEffect_linux/singleton.o singleton.cpp In file included from singleton.cpp:20:0: singleton.h: In static member function 'static void Singleton<T>::MakeInstance()': singleton.h:76:13: error: 'cerr' is not a member of 'std' singleton.h:76:55: error: 'endl' is not a member of 'std' make[1]: *** [../out/.obj/libNextEffect_linux/singleton.o] Error 1 make[1]: Leaving directory `/usr/src/RPM/BUILD/PhotoKit/src/NextEffect/src' make: *** [sub-src-NextEffect-src-libNextEffect-pro-make_default] Error 2
adding #include <iostream> is ok you can update source code using git git pull git submodule update
I got it to build but in running the executable, ./PhotoKit, it throws segmentation fault. Please check, http://pastebin.com/5REb2Jxe
I don't know why. Try run ./PhotoKit --no-opengl
After "git clone git://github.com/wang-bin/PhotoKit.git": =================================================== qmake-qt4 [builder@localhost PhotoKit]$ make cd src/ezlog/src/ && /usr/bin/qmake-qt4 /usr/src/RPM/BUILD/PhotoKit/src/ezlog/src/libezlog.pro -o Makefile.libezlog Cannot find file: /usr/src/RPM/BUILD/PhotoKit/src/ezlog/src/libezlog.pro. make: *** [src/ezlog/src/Makefile.libezlog] Error 2 =================================================== ls -l /usr/src/RPM/BUILD/PhotoKit/src/ezlog/src/ total 0
The build step is described on github. PhotoKit depends on some other projects. Before building you should initialize these projects. 1. rm -rf src/ezlog src/NextEffect src/ProgramOptions 2. git submodule update --init 3. git submodule foreach git pull origin master Now the source code is ready. You can use qmake like this: BUILD_DIR=/your/build/dir qmake -r e.g. BUILD_DIR=$PWD qmake -r Then make
Really interesting concept. I'm sure I don't need to point out that it's a bit rough around the edges (especially the Google search interface -- after scrolling through a bunch of results, it wouldn't let me get back to the search bar or the main menu and I had to close the program), but it shows a lot of promise. Looking forward to future releases. I'd like to package it for inclusion in my PPA once it gets a bit of polish; do you think you could fix the Makefile so that it installs the program globally in the next release?
I'm so happy that you like it. Thank you for your sugguestions, I think's it's not difficult.
make debian package is supported now. I have tested on my ubuntu 12.04. First, you must update source code: git pull; git submodule update; Then go to a directory to build the app(optional). qmake -r /path/to/PhotoKit.pro; Then build the deb: make deb Now you can find a deb file in this directory. Have fun : )