diff options
author | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2017-01-11 00:34:30 -0300 |
---|---|---|
committer | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2017-01-11 00:37:49 -0300 |
commit | 1686b7acfc86b105abb2de4a04138155a7b05a30 (patch) | |
tree | 9ff15a8ea3b263dee2c8f0d54b21178d5dfb3f3a /nonprism/digikam | |
parent | 224a97af32b58295e8b37df6dce1077e32579028 (diff) | |
download | abslibre-1686b7acfc86b105abb2de4a04138155a7b05a30.tar.gz abslibre-1686b7acfc86b105abb2de4a04138155a7b05a30.tar.bz2 abslibre-1686b7acfc86b105abb2de4a04138155a7b05a30.zip |
kipi-plugins-5.4.0-1.parabola1{,.nonprism1}: updating version
Diffstat (limited to 'nonprism/digikam')
-rw-r--r-- | nonprism/digikam/0001-optionally-enable-OpenGL.patch | 34 | ||||
-rw-r--r-- | nonprism/digikam/PKGBUILD | 85 | ||||
-rw-r--r-- | nonprism/digikam/digikam-find-qtav.patch | 21 | ||||
-rw-r--r-- | nonprism/digikam/libre.patch | 58 | ||||
-rw-r--r-- | nonprism/digikam/nonprism.patch | 223 |
5 files changed, 421 insertions, 0 deletions
diff --git a/nonprism/digikam/0001-optionally-enable-OpenGL.patch b/nonprism/digikam/0001-optionally-enable-OpenGL.patch new file mode 100644 index 000000000..909a44434 --- /dev/null +++ b/nonprism/digikam/0001-optionally-enable-OpenGL.patch @@ -0,0 +1,34 @@ +From 9e291325f5d2568834fd0d590e5e99af129d9518 Mon Sep 17 00:00:00 2001 +From: Kevin Mihelich <kevin@archlinuxarm.org> +Date: Tue, 5 Jul 2016 18:47:56 -0600 +Subject: [PATCH] optionally enable OpenGL + +Signed-off-by: Kevin Mihelich <kevin@archlinuxarm.org> +--- + CMakeLists.txt | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index d3e64b5..1dabead 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -104,6 +104,7 @@ option(ENABLE_KFILEMETADATASUPPORT "Build digiKam with KDE files indexer suppor + option(ENABLE_AKONADICONTACTSUPPORT "Build digiKam with KDE Mail Contacts support (default=OFF)" OFF) + option(ENABLE_MEDIAPLAYER "Build digiKam with QtMultimedia support (default=OFF)" OFF) + option(ENABLE_DBUS "Build digiKam with DBUS support (default=ON)" ON) ++option(ENABLE_OPENGL "Build digiKam with OpenGL support (default=ON)" ON) + option(ENABLE_APPSTYLES "Build digiKam with support for changing the widget application style (default=OFF)" OFF) + + # Mysql support options (experimental): +@@ -286,7 +287,7 @@ else() + endif() + + # decide if Presentation tool can be built with OpenGL +-if(OPENGL_FOUND AND OPENGL_GLU_FOUND AND Qt5OpenGL_FOUND) ++if(OPENGL_FOUND AND OPENGL_GLU_FOUND AND Qt5OpenGL_FOUND AND ENABLE_OPENGL) + set(HAVE_OPENGL TRUE) + elseif() + set(HAVE_OPENGL FALSE) +-- +2.9.2 + diff --git a/nonprism/digikam/PKGBUILD b/nonprism/digikam/PKGBUILD new file mode 100644 index 000000000..72602bb03 --- /dev/null +++ b/nonprism/digikam/PKGBUILD @@ -0,0 +1,85 @@ +# $Id: PKGBUILD 285609 2017-01-09 23:33:53Z arojas $ +# Maintainer (Arch): Ronald van Haren <ronald@archlinux.org> +# Contributor (Arch): Andrea Scarpino <andrea@archlinux.org> +# Contributor (Arch): Tobias Powalowski <tpowa@archlinux.org> +# Maintainer: André Silva <emulatorman@parabola.nu> +# Contributor: Márcio Silva <coadde@parabola.nu> + +pkgbase=digikam +pkgname=kipi-plugins +_pkgver=5.4.0 +pkgver=${_pkgver//-/_} # for beta versions +pkgrel=1.parabola1.nonprism1 +pkgdesc="Digital photo management application for KDE" +arch=('i686' 'x86_64' 'armv7h') +license=('GPL') +url="http://www.digikam.org/" +replaces=("${pkgname}-libre" "${pkgname}-libre-nonprism") +conflicts=("${pkgname}-libre" "${pkgname}-libre-nonprism") +makedepends=('extra-cmake-modules' 'libkipi' 'libksane' 'liblqr' 'opencv' 'boost' + 'doxygen' 'lensfun' 'eigen' 'kdoctools' 'marble' 'kdesignerplugin' + 'kfilemetadata' 'akonadi-contacts' 'qtav' 'threadweaver' 'kcalcore' + 'knotifyconfig' 'libmediawiki' 'libkvkontakte') +source=("http://download.kde.org/stable/${pkgbase}/${pkgbase}-${_pkgver}.tar.xz" digikam-find-qtav.patch + "libre.patch" + "nonprism.patch" + '0001-optionally-enable-OpenGL.patch') +sha1sums=('6c58ee30cd84b40acf4427f1bb9dbb8b891eb894' + 'b170e5eab5a8c40d1c8c8f2d2cfe5e911ad66939' + 'edd5b5eeae7ed4139b4c5f6a8446990f1da2e544' + '246366b6b4b315957387938d842112e1146b9495' + '95169d438884b1650a4c11e1ca44ae7ad5096a89') + +prepare() { + mkdir -p build + + cd ${pkgbase}-${_pkgver} + patch -p1 -i ../libre.patch + patch -p1 -i ../nonprism.patch + + # Fix QtAV location + patch -p1 -i ../digikam-find-qtav.patch + + # OpenGL switch + if [[ "$CARCH" = arm* ]]; then + cd core + patch -p1 -i ${srcdir}/0001-optionally-enable-OpenGL.patch + fi +} + +build() { + cd build + + if [[ "$CARCH" = arm* ]]; then + local cmake_extra="-DENABLE_OPENGL=OFF" + fi + + cmake ../${pkgbase}-${_pkgver} \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib \ + -DCMAKE_BUILD_TYPE=Release \ + -DBUILD_TESTING=OFF \ + -DENABLE_KFILEMETADATASUPPORT=ON \ + -DENABLE_MEDIAPLAYER=ON \ + -DENABLE_AKONADICONTACTSUPPORT=ON \ + -DENABLE_MYSQLSUPPORT=ON \ + -DENABLE_OPENCV3=ON \ + -DENABLE_APPSTYLES=ON \ + -DDIGIKAMSC_COMPILE_LIBKVKONTAKTE=OFF \ + $cmake_extra + make +} + +package_kipi-plugins() { + pkgdesc="A collection of plugins extending the KDE graphics and image applications as digiKam, without nonfree suggestions and support for unsafe and dangerous for privacy protocols" + depends=('kio' 'libkipi') + optdepends=('libmediawiki: MediaWiki Export plugin') + + cd build/extra + make DESTDIR="$pkgdir" install + cd $srcdir/build/po + make DESTDIR="$pkgdir" install + +# Provided by digikam + rm "$pkgdir"/usr/share/locale/*/LC_MESSAGES/digikam.mo +} diff --git a/nonprism/digikam/digikam-find-qtav.patch b/nonprism/digikam/digikam-find-qtav.patch new file mode 100644 index 000000000..e1121897c --- /dev/null +++ b/nonprism/digikam/digikam-find-qtav.patch @@ -0,0 +1,21 @@ +--- digikam-5.4.0/core/cmake/modules/FindQtAV.cmake.0 2017-01-09 22:56:43.303991660 +0000 ++++ digikam-5.4.0/core/cmake/modules/FindQtAV.cmake 2017-01-09 22:57:24.843934106 +0000 +@@ -24,15 +24,17 @@ + HINTS ${_qt5_install_prefix} # For MXE + ${_qt5_install_prefix}/../qt5/include # For Mageia + ${_qt5_install_prefix}/../../include/qt5 # For Suse ++ ${_qt5_install_prefix}/../../include/qt + ${_qt5_install_prefix}/../../../include/x86_64-linux-gnu/qt5 # For Debian + PATH_SUFFIXES QtAV + ) + + find_path(QTAV_WIDGETS_INCLUDE_DIR + NAMES QtAVWidgets.h + HINTS ${_qt5_install_prefix} # For MXE + ${_qt5_install_prefix}/../qt5/include # For Mageia + ${_qt5_install_prefix}/../../include/qt5 # For Suse ++ ${_qt5_install_prefix}/../../include/qt + ${_qt5_install_prefix}/../../../include/x86_64-linux-gnu/qt5 # For Debian + PATH_SUFFIXES QtAVWidgets + ) + diff --git a/nonprism/digikam/libre.patch b/nonprism/digikam/libre.patch new file mode 100644 index 000000000..8c677e210 --- /dev/null +++ b/nonprism/digikam/libre.patch @@ -0,0 +1,58 @@ +diff --git a/extra/kipi-plugins/sendimages/emailsettings.h b/extra/kipi-plugins/sendimages/emailsettings.h +index 0f58cc4..b497299 100644 +--- a/extra/kipi-plugins/sendimages/emailsettings.h ++++ b/extra/kipi-plugins/sendimages/emailsettings.h +@@ -64,10 +64,9 @@ public: + CLAWSMAIL, + EVOLUTION, + KMAIL, +- NETSCAPE, + SYLPHEED, + SYLPHEEDCLAWS, +- THUNDERBIRD ++ ICEDOVE + }; + + enum ImageSize +diff --git a/extra/kipi-plugins/sendimages/sendimages.cpp b/extra/kipi-plugins/sendimages/sendimages.cpp +index 1be65d6..68094de 100644 +--- a/extra/kipi-plugins/sendimages/sendimages.cpp ++++ b/extra/kipi-plugins/sendimages/sendimages.cpp +@@ -589,18 +589,13 @@ bool SendImages::invokeMailAgent() + // More info about command lines options with Mozilla & co: + // http://www.mozilla.org/docs/command-line-args.html#Syntax_Rules + +- case EmailSettings::NETSCAPE: +- case EmailSettings::THUNDERBIRD: ++ case EmailSettings::ICEDOVE: + { + QString prog; + +- if (d->settings.emailProgram == EmailSettings::NETSCAPE) ++ if (d->settings.emailProgram == EmailSettings::ICEDOVE) + { +- prog = QLatin1String("netscape"); +- } +- else +- { +- prog = QLatin1String("thunderbird"); ++ prog = QLatin1String("icedove"); + } + + QStringList args; +diff --git a/extra/kipi-plugins/sendimages/settingswidget.cpp b/extra/kipi-plugins/sendimages/settingswidget.cpp +index b8416a4..f160310 100644 +--- a/extra/kipi-plugins/sendimages/settingswidget.cpp ++++ b/extra/kipi-plugins/sendimages/settingswidget.cpp +@@ -97,10 +97,9 @@ SettingsWidget::SettingsWidget(QWidget* const parent) + d->mailAgentName->insertItem(EmailSettings::CLAWSMAIL, QLatin1String("Claws Mail")); + d->mailAgentName->insertItem(EmailSettings::EVOLUTION, QLatin1String("Evolution")); + d->mailAgentName->insertItem(EmailSettings::KMAIL, QLatin1String("KMail")); +- d->mailAgentName->insertItem(EmailSettings::NETSCAPE, QLatin1String("Netscape")); + d->mailAgentName->insertItem(EmailSettings::SYLPHEED, QLatin1String("Sylpheed")); + d->mailAgentName->insertItem(EmailSettings::SYLPHEEDCLAWS, QLatin1String("Sylpheed-Claws")); +- d->mailAgentName->insertItem(EmailSettings::THUNDERBIRD, QLatin1String("Thunderbird")); ++ d->mailAgentName->insertItem(EmailSettings::ICEDOVE, QLatin1String("Icedove")); + #endif + d->mailAgentName->setCurrentIndex(EmailSettings::DEFAULT); + d->mailAgentName->setWhatsThis(i18n("Select your preferred external email program here. " diff --git a/nonprism/digikam/nonprism.patch b/nonprism/digikam/nonprism.patch new file mode 100644 index 000000000..3a4846bec --- /dev/null +++ b/nonprism/digikam/nonprism.patch @@ -0,0 +1,223 @@ +diff --git a/doc/TODO b/doc/TODO +index a0ac4f4..23bf745 100644 +--- a/doc/TODO ++++ b/doc/TODO +@@ -78,16 +78,10 @@ menu-mainwindow.docbook * * Gi + tool-acquireimages.docbook + tool-advrename.docbook Need to be created + tool-calendar.docbook Need to be created +-tool-dropbox.docbook Need to be created + tool-expoblending.docbook Need to be created +-tool-facebook.docbook Need to be created + tool-findduplicates.docbook Need to be created + tool-flashexport.docbook Need to be created +-tool-flickrexport.docbook + tool-geolocationeditor.docbook Need to be created +-tool-googleexport.docbook Need to be created +-tool-imageshack.docbook Need to be created +-tool-imgur.docbook Need to be created + tool-kmlexport.docbook Need to be created + tool-maintenance.docbook Need to be created + tool-mediawiki.docbook Need to be created +@@ -96,12 +90,8 @@ tool-panorama.docbook + tool-piwigoexport.docbook Need to be created + tool-presentation.docbook + tool-printwizard.docbook +-tool-rajce.docbook Need to be created + tool-remotestorage.docbook Need to be created + tool-sendimages.docbook +-tool-smug.docbook Need to be created +-tool-vkontakte.docbook Need to be created +-tool-yandexfotki.docbook Need to be created + using-bqm.docbook + using-camera.docbook DONE DONE Gilles + using-camera-intro.docbook +diff --git a/doc/digikam/index.docbook b/doc/digikam/index.docbook +index 4ca6846..e52406e 100644 +--- a/doc/digikam/index.docbook ++++ b/doc/digikam/index.docbook +@@ -168,21 +168,11 @@ + <!-- plugins --> + <!ENTITY doc-tool-printwizard SYSTEM "tool-printwizard.docbook"> + <!ENTITY doc-tool-sendimages SYSTEM "tool-sendimages.docbook"> +- <!ENTITY doc-tool-flickrexport SYSTEM "tool-flickrexport.docbook"> + <!ENTITY doc-tool-piwigoexport SYSTEM "tool-piwigoexport.docbook"> + <!ENTITY doc-tool-kmlexport SYSTEM "tool-kmlexport.docbook"> +- <!ENTITY doc-tool-googleexport SYSTEM "tool-googleexport.docbook"> + <!ENTITY doc-tool-flashexport SYSTEM "tool-flashexport.docbook"> +- <!ENTITY doc-tool-dropbox SYSTEM "tool-dropbox.docbook"> +- <!ENTITY doc-tool-facebook SYSTEM "tool-facebook.docbook"> +- <!ENTITY doc-tool-imageshack SYSTEM "tool-imageshack.docbook"> +- <!ENTITY doc-tool-imgur SYSTEM "tool-imgur.docbook"> + <!ENTITY doc-tool-mediawiki SYSTEM "tool-mediawiki.docbook"> +- <!ENTITY doc-tool-rajce SYSTEM "tool-rajce.docbook"> + <!ENTITY doc-tool-remotestorage SYSTEM "tool-remotestorage.docbook"> +- <!ENTITY doc-tool-smug SYSTEM "tool-smug.docbook"> +- <!ENTITY doc-tool-vkontakte SYSTEM "tool-vkontakte.docbook"> +- <!ENTITY doc-tool-yandexfotki SYSTEM "tool-yandexfotki.docbook"> + + <!-- Menus Chapter --> + +@@ -304,21 +294,11 @@ + <!-- plugins --> + &doc-tool-printwizard; + &doc-tool-sendimages; +- &doc-tool-flickrexport; + &doc-tool-piwigoexport; + &doc-tool-kmlexport; +- &doc-tool-googleexport; + &doc-tool-flashexport; +- &doc-tool-dropbox; +- &doc-tool-facebook; +- &doc-tool-imageshack; +- &doc-tool-imgur; + &doc-tool-mediawiki; +- &doc-tool-rajce; + &doc-tool-remotestorage; +- &doc-tool-smug; +- &doc-tool-vkontakte; +- &doc-tool-yandexfotki; + + <!-- ******** MENUS ******************************************************** --> + +diff --git a/doc/digikam/menu-mainwindow.docbook b/doc/digikam/menu-mainwindow.docbook +index cb0c5da..dcca755 100644 +--- a/doc/digikam/menu-mainwindow.docbook ++++ b/doc/digikam/menu-mainwindow.docbook +@@ -660,22 +660,6 @@ + + <varlistentry> + <term><menuchoice> +- <guimenu>Export</guimenu><guimenuitem>KML Export...</guimenuitem> +- </menuchoice></term> +- <listitem> +- <para><action> +- Tool to export the images series into a KML structure. KML files can then be opened and displayed with GoogleEarth. +- </action></para> +- <para> +- See the dedicated +- <link linkend="tool-flickrexport">KML Export Tool</link> +- for more information. +- </para> +- </listitem> +- </varlistentry> +- +- <varlistentry> +- <term><menuchoice> + <guimenu>Tools</guimenu><guimenuitem>Export to Piwigo</guimenuitem> + </menuchoice></term> + <listitem> +@@ -690,21 +674,6 @@ + </listitem> + </varlistentry> + +- <varlistentry> +- <term><menuchoice> +- <guimenu>Export</guimenu><guimenuitem>Export to Flickr...</guimenuitem> +- </menuchoice></term> +- <listitem> +- <para><action> +- Tool to upload or update images to <ulink url="http://www.flickr.com/">Flickr</ulink> server. +- </action></para> +- <para> +- See the dedicated +- <link linkend="tool-flickrexport">Flickr Export Tool</link> +- for more information. +- </para> +- </listitem> +- </varlistentry> + <!-- not ported to Qt5 + <varlistentry> + <term><menuchoice> +@@ -722,37 +691,6 @@ + </listitem> + </varlistentry> + --> +- <varlistentry> +- <term><menuchoice> +- <guimenu>Export</guimenu><guimenuitem>Export to Google Photos...</guimenuitem> +- </menuchoice></term> +- <listitem> +- <para><action> +- Tool upload or update images to <ulink url="https://photos.google.com/">Google Photos galleries</ulink>. +- </action></para> +- <para> +- See the dedicated +- <link linkend="tool-googleexport">Google Services Tool</link> +- for more information. +- </para> +- </listitem> +- </varlistentry> +- +- <varlistentry> +- <term><menuchoice> +- <guimenu>Export</guimenu><guimenuitem>Export to Google Drive...</guimenuitem> +- </menuchoice></term> +- <listitem> +- <para><action> +- Tool upload images to <ulink url="https://www.google.com/drive/">Google Drive</ulink>. +- </action></para> +- <para> +- See the dedicated +- <link linkend="tool-googleexport">Google Services Tool</link> +- for more information. +- </para> +- </listitem> +- </varlistentry> + <!-- not ported to Qt5 + <varlistentry> + <term><menuchoice> +diff --git a/extra/kipi-plugins/CMakeLists.txt b/extra/kipi-plugins/CMakeLists.txt +index 68e61a3..4d1195d 100644 +--- a/extra/kipi-plugins/CMakeLists.txt ++++ b/extra/kipi-plugins/CMakeLists.txt +@@ -148,7 +148,6 @@ if(KF5Kipi_FOUND) + # -- Optional dependencies detection required by some plugins ------------------------------------- + + DETECT_LIBMEDIAWIKI(5.0.0) # For Mediawiki. +- DETECT_LIBKVKONTAKTE(4.70.0) # For VKontakte. + + # ================================================================================================== + # Log messages +@@ -169,7 +168,6 @@ if(KF5Kipi_FOUND) + PRINT_OPTIONAL_LIBRARY_STATUS("libkio" "https://projects.kde.org/projects/frameworks/kio" "(version >= ${KF5_MIN_VERSION})" "Kipi-plugins will be compiled without libkio support." KF5KIO_FOUND) + PRINT_OPTIONAL_LIBRARY_STATUS("libkarchive" "https://projects.kde.org/projects/frameworks/karchive" "(version >= ${KF5_MIN_VERSION})" "Kipi-plugins will be compiled without libkarchive support." KF5Archive_FOUND) + PRINT_OPTIONAL_LIBRARY_STATUS("libmediawiki" "https://projects.kde.org/projects/extragear/libs/libmediawiki" "(version >= ${KF5_MIN_VERSION})" "Kipi-plugins will be compiled without libmediawiki support." KF5MediaWiki_FOUND) +- PRINT_OPTIONAL_LIBRARY_STATUS("libkvkontakte" "https://projects.kde.org/projects/extragear/libs/libkvkontakte" "(version >= 4.70.0)" "Kipi-plugins will be compiled without libkvkontakte support." KF5Vkontakte_FOUND) + + # Optional plugins results ---------------------------------------------------------------------------- + +@@ -185,7 +183,6 @@ if(KF5Kipi_FOUND) + set(KIPIPLUGINS_CAN_BE_COMPILED false) + endif() + +- PRINT_COMPONENT_COMPILE_STATUS("VKontakte" KF5Vkontakte_FOUND) + PRINT_COMPONENT_COMPILE_STATUS("Mediawiki" KF5MediaWiki_FOUND) + PRINT_COMPONENT_COMPILE_STATUS("FlashExport" KF5Archive_FOUND) + +@@ -242,25 +239,12 @@ if(KF5Kipi_FOUND) + add_subdirectory(printimages) + add_subdirectory(kmlexport) + add_subdirectory(sendimages) +- add_subdirectory(flickr) +- add_subdirectory(dropbox) +- add_subdirectory(facebook) +- add_subdirectory(imgur) + add_subdirectory(piwigo) +- add_subdirectory(rajce) +- add_subdirectory(smug) +- add_subdirectory(imageshack) +- add_subdirectory(yandexfotki) +- add_subdirectory(googleservices) + + if(KF5Archive_FOUND) + add_subdirectory(flashexport) + endif() + +- if(KF5Vkontakte_FOUND) +- add_subdirectory(vkontakte) +- endif() +- + if(KF5MediaWiki_FOUND) + add_subdirectory(mediawiki) + endif() |