Announcement

  •  » Extensions
  •  » [resolved] digikam and piwigoexport

#1 2010-03-23 09:29:38

Polly
Translation Team
2010-01-15
60

[resolved] digikam and piwigoexport

Hello,

I installed digikam via macports and it works great.
Is ist possible to make piwigoexport work under Mac OS X 10.6.2?

I Followed this Instructions:

$ unzip piwigoexport_0.1.zip
$ cd piwigoexport
$ cmake . -DCMAKE_INSTALL_PREFIX=/usr
$ make
$ sudo make install

Result:
Qt not found!

with this
"cmake . -DQT_QMAKE_EXECUTABLE=/opt/local/bin/qmake-mac"

i was able to install piwigoexport but ist does not appear in the export menu.

Any ideas whats wrong?

Thank you.

Offline

 

#2 2010-03-23 14:54:05

fcoiffie
Member
1970-01-01
15

Re: [resolved] digikam and piwigoexport

Hello,

I'm the developper of piwigoexport but, in fact, I've never used Mac OSX so I don't know if it compiles well.
Moreover, it seems that the piwigoexport_0.1.zip doesn't compile well on Ubuntu.

Currently, the most reliable version of piwigoexport is hosted in the KIPI plugins project : http://www.kipi-plugins.org/drupal/
For the moment, the source code is only in the repository and no official version has still been released. I hope that a new version will be released in the near future.

If you have subversion installed, you can try to retrieve the source code with the following command:
$ svn co svn://anonsvn.kde.org/home/kde/trunk/extragear/graphics/kipi-plugins

If you already have a package for kipi-plugins via macports, this whole source code should compile.

Offline

 

#3 2010-03-23 20:58:20

Polly
Translation Team
2010-01-15
60

Re: [resolved] digikam and piwigoexport

Hello,

thanks for your reply.
Compile and install went fine, without errors.


What i did to install:

unzip piwigoexport_0.1.zip
cd piwigoexport
cmake . -DCMAKE_INSTALL_PREFIX=/opt/local/lib -DQT_QMAKE_EXECUTABLE=/opt/local/bin/qmake-mac
make
sudo make install

i tried the following "-DCMAKE_INSTALL_PREFIX":

/usr <- as described
/opt/local/lib

may i used the wrong install prefix?

i will give the svn-version a try...

btw:
Its my first time using macports to install/compile a programm, so i am not that experienced.
It took ages to download (DSL 384 k/bits) - compile - fix errors only digkam. :-)

Last edited by Polly (2010-03-23 21:05:38)

Offline

 

#4 2010-03-25 10:57:01

fcoiffie
Member
1970-01-01
15

Re: [resolved] digikam and piwigoexport

On Linux, when I do "make install", I get this part for piwigoexport :

...
-- Installing: /usr/lib/kde4/kipiplugin_piwigoexport.so
-- Set runtime path of "/usr/lib/kde4/kipiplugin_piwigoexport.so" to "/usr/lib:/usr/lib/qt4"
-- Installing: /usr/share/kde4/services/kipiplugin_piwigoexport.desktop
-- Up-to-date: /usr/share/apps/kipiplugin_piwigoexport/pics/piwigo_logo.png
-- Up-to-date: /usr/share/icons/hicolor/32x32/actions/./piwigo.png
-- Up-to-date: /usr/share/icons/hicolor/22x22/actions/./piwigo.png
-- Up-to-date: /usr/share/icons/hicolor/48x48/actions/./piwigo.png
-- Up-to-date: /usr/share/icons/hicolor/16x16/actions/./piwigo.png
-- Up-to-date: /usr/share/icons/hicolor/scalable/actions/./piwigo.svgz
...

In Digikam, if you already have other kipi plugins installed (like Picasa, HTML, Flickr...), you should look for the place where the corresponding files are installed.
If Piwigoexport files are at the same place, Digikam should detect them when it's launched.

If there aren't at the same place, check the -DCMAKE_INSTALL_PREFIX=xxx option used with cmake.

I hope it'll help you.

Offline

 

#5 2010-03-25 11:16:58

Polly
Translation Team
2010-01-15
60

Re: [resolved] digikam and piwigoexport

Hey,

thankx,
i will compare the path with the path on your linux machine.
i have already installed some kipi-plugins like facebook, picasa, ....

Offline

 

#6 2010-03-25 22:25:58

Polly
Translation Team
2010-01-15
60

Re: [resolved] digikam and piwigoexport

Hello again,

now i tried "DCMAKE_INSTALL_PREFIX=/opt/local"...


Code:

*********$ cmake . -DCMAKE_INSTALL_PREFIX=/opt/local -DQT_QMAKE_EXECUTABLE=/opt/local/bin/qmake-mac

-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Checking whether C compiler has -isysroot
-- Checking whether C compiler has -isysroot - yes
-- Checking whether C compiler supports OSX deployment target flag
-- Checking whether C compiler supports OSX deployment target flag - yes
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Checking whether CXX compiler has -isysroot
-- Checking whether CXX compiler has -isysroot - yes
-- Checking whether CXX compiler supports OSX deployment target flag
-- Checking whether CXX compiler supports OSX deployment target flag - yes
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Looking for Q_WS_X11
-- Looking for Q_WS_X11 - not found.
-- Looking for Q_WS_WIN
-- Looking for Q_WS_WIN - not found.
-- Looking for Q_WS_QWS
-- Looking for Q_WS_QWS - not found.
-- Looking for Q_WS_MAC
-- Looking for Q_WS_MAC - found
-- Looking for QT_MAC_USE_COCOA
-- Looking for QT_MAC_USE_COCOA - found
-- Found Qt-Version 4.6.2 (using /opt/local/bin/qmake-mac)
-- Looking for include files CMAKE_HAVE_PTHREAD_H
-- Looking for include files CMAKE_HAVE_PTHREAD_H - found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Found OpenSSL: /usr/lib/libssl.dylib
-- Found Automoc4: /opt/local/bin/automoc4
-- Found Perl: /opt/local/bin/perl
-- Phonon Version: 4.3.1
-- Found Phonon: /opt/local/libexec/qt4-mac/lib/phonon.framework
-- Found Phonon Includes: /opt/local/libexec/qt4-mac/lib/phonon.framework/KDE;/opt/local/libexec/qt4-mac/lib/phonon.framework
-- Performing Test _OFFT_IS_64BIT
-- Performing Test _OFFT_IS_64BIT - Success
-- Performing Test HAVE_FPIE_SUPPORT
-- Performing Test HAVE_FPIE_SUPPORT - Success
-- Performing Test __KDE_HAVE_W_OVERLOADED_VIRTUAL
-- Performing Test __KDE_HAVE_W_OVERLOADED_VIRTUAL - Success
-- Performing Test __KDE_HAVE_GCC_VISIBILITY
-- Performing Test __KDE_HAVE_GCC_VISIBILITY - Success
-- Found KDE 4.4 include dir: /opt/local/include
-- Found KDE 4.4 library dir: /opt/local/lib
-- Found the KDE4 kconfig_compiler preprocessor: /opt/local/bin/kconfig_compiler
-- Found automoc4: /opt/local/bin/automoc4
-- Check Kexiv2 library in local sub-folder...
-- Check Kexiv2 library using pkg-config...
-- WARNING: you are using the obsolete 'PKGCONFIG' macro use FindPkgConfig
-- Found libkexiv2 release >= 0.2.0
-- Found libkexiv2: /opt/local/lib/libkexiv2.dylib
-- Check Kdcraw library in local sub-folder...
-- Check Kdcraw library using pkg-config...
-- WARNING: you are using the obsolete 'PKGCONFIG' macro use FindPkgConfig
-- Found libkdcraw release >= 0.2.0
-- Found libkdcraw: /opt/local/lib/libkdcraw.dylib
-- Check Kipi library in local sub-folder...
-- Check Kipi library using pkg-config...
-- WARNING: you are using the obsolete 'PKGCONFIG' macro use FindPkgConfig
-- Found libkipi release >= 0.2.0
-- Found libkipi: /opt/local/lib/libkipi.dylib
-- Found JPEG: /opt/local/lib/libjpeg.dylib
-- Found ZLIB: /usr/lib/libz.dylib
-- Found PNG: /opt/local/lib/libpng.dylib
-- Found TIFF: /opt/local/lib/libtiff.dylib
-- checking for module 'libkdcraw>=0.4.0'
--   found libkdcraw, version 1.0.0
-- 
-- ----------------------------------------------------------------------------------
--  kipi-plugins 0.0.1-piwigo dependencies results   <http://www.kipi-plugins.org>
-- 
--  libjpeg library found............... YES
--  libtiff library found............... YES
--  libpng library found................ YES
--  libkipi library found............... YES
--  libkexiv2 library found............. YES
--  libkdcraw library found............. YES
-- 
--  kipi-plugins will be compiled....... YES
-- ----------------------------------------------------------------------------------
-- 
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/jochen/Downloads/piwigoexport

*********$ make

Scanning dependencies of target kipiplugins-svnversion
[  0%] Generating common/libkipiplugins/svnversion.h
[ 14%] Built target kipiplugins-svnversion
Scanning dependencies of target kipiplugin_piwigoexport_automoc
Generating piwigowindow.moc
Generating piwigotalker.moc
Generating piwigoconfig.moc
Generating plugin_piwigoexport.moc
[ 14%] Built target kipiplugin_piwigoexport_automoc
Scanning dependencies of target kipiplugin_piwigoexport
[ 28%] Building CXX object piwigoexport/CMakeFiles/kipiplugin_piwigoexport.dir/kipiplugin_piwigoexport_automoc.o
[ 42%] Building CXX object piwigoexport/CMakeFiles/kipiplugin_piwigoexport.dir/plugin_piwigoexport.o
[ 57%] Building CXX object piwigoexport/CMakeFiles/kipiplugin_piwigoexport.dir/piwigos.o
[ 71%] Building CXX object piwigoexport/CMakeFiles/kipiplugin_piwigoexport.dir/piwigoconfig.o
[ 85%] Building CXX object piwigoexport/CMakeFiles/kipiplugin_piwigoexport.dir/piwigowindow.o
[100%] Building CXX object piwigoexport/CMakeFiles/kipiplugin_piwigoexport.dir/piwigotalker.o
Linking CXX shared module ../lib/kipiplugin_piwigoexport.so
[100%] Built target kipiplugin_piwigoexport

*********$ sudo make install

Password:
[ 14%] Built target kipiplugins-svnversion
[ 14%] Built target kipiplugin_piwigoexport_automoc
[100%] Built target kipiplugin_piwigoexport
Install the project...
-- Install configuration: "RelWithDebInfo"
-- Installing: /opt/local/lib/kde4/kipiplugin_piwigoexport.so
-- Installing: /opt/local/share/kde4/services/kipiplugin_piwigoexport.desktop
-- Installing: /opt/local/share/apps/kipiplugin_piwigoexport/pics/piwigo_logo.png
-- Installing: /opt/local/share/icons/hicolor/16x16/actions/./piwigo.png
-- Installing: /opt/local/share/icons/hicolor/22x22/actions/./piwigo.png
-- Installing: /opt/local/share/icons/hicolor/32x32/actions/./piwigo.png
-- Installing: /opt/local/share/icons/hicolor/48x48/actions/./piwigo.png
-- Installing: /opt/local/share/icons/hicolor/scalable/actions/./piwigo.svgz

i checked the access rights, it looks like the same as the other working kipi-plugins, cause i had some access right issues before i got digikam running properly

Code:

-rwxrwxr-x   2 root  admin   278072 22 Mär 15:19 kipiplugin_picasawebexport.so
-rwxrwxr-x   1 root  admin   243576 25 Mär 21:50 kipiplugin_piwigoexport.so

btw: i forgot to mention that i really appreciate your work/support

Offline

 

#7 2010-06-19 20:32:07

Polly
Translation Team
2010-01-15
60

Re: [resolved] digikam and piwigoexport

Hello,

Managed to install digikam 1.2 with piwigoexport-plugin (kipi-plugins-1.2) on MacOS 10.6.3 with Macports

Here is a short manual.

Offline

 

#8 2010-06-19 20:43:46

plg
Piwigo Team
Nantes, France, Europe
2002-04-05
13791

Re: [resolved] digikam and piwigoexport

Hello Polly

Polly wrote:

Managed to install digikam 1.2 with piwigoexport-plugin (kipi-plugins-1.2) on MacOS 10.6.3 with Macports

Here is a short manual.

This rocks! thank you Polly :-) (I'll give it a try very soon)

Offline

 

#9 2010-06-20 16:02:50

Polly
Translation Team
2010-01-15
60

Re: [resolved] digikam and piwigoexport

Hey plg,

nice to here somebody else is interested in running digikam and piwigoexport on OSX.
I've updated the manual (forgot to mention changing the portfile for kipi-plugins-1.2).

Feel free to ask if you get stuck compiling.

btw it took me round about 20 hours to compile on a MacBook Pro, Intel Core 2 Duo, 3 GB RAM

regards

EDIT:

Looks like there's a Problem with version  2.1.1 of piwigo and piwigoexport.
I wasn't able to connect to the gallery so i tried version 2.0.9 and everthing was fine...

EDIT:
Version  2.1.2 of piwigo and piwigoexport = everthing works! :)

Last edited by Polly (2010-07-08 14:48:35)

Offline

 
  •  » Extensions
  •  » [resolved] digikam and piwigoexport

Board footer

Powered by FluxBB

github twitter newsletter Donate Piwigo.org © 2002-2024 · Contact