I wrote a small ebuild for this package. Description: Folder synchronization and backup tool for KDE Here are some screenshots: http://kde-apps.org/content/show.php/KFolderSync?content=164092 One small QA message is left: * QA Notice: This package installs one or more .desktop files that do not * pass validation. * * /usr/share/applications/kde4/kfoldersync.desktop: error: value "Qt;KDE;Utility;Archiving" for string list key "Categories" in group "Desktop Entry" does not have a semicolon (';') as trailing character I will report this later to upstream. I have not much experience in writing Ebuilds, but it works for me. Reproducible: Always
Created attachment 374812 [details] kfoldersync-2.0.0.ebuild
Created attachment 374818 [details] kfoldersync-2.0.0.ebuild
Created attachment 374826 [details] kfoldersync-2.0.1.ebuild
Version 2.0.1 fixed the QA issue with .desktop file.
Comment on attachment 374826 [details] kfoldersync-2.0.1.ebuild >pkg_pretend() { > if ! test-flag-CXX -std=c++11; then > die "You need at least GCC 4.7.x or Clang >= 3.0 for C++11-specific compiler flags" > fi >} > >src_configure() { > append-cxxflags -std=c++11 > cmake-utils_src_configure >} Why adding c++11 flags and now allowing lower gcc?
> Why adding c++11 flags and now allowing lower gcc? s/now/not/
(In reply to Johannes Huber from comment #5) From README file: CXXFLAGS="$CXXFLAGS -std=gnu++11" I first also ignored this, but then compile failed with an error ;-) But there is perhaps a better way?
(In reply to Johannes Huber from comment #5) > Comment on attachment 374826 [details] > kfoldersync-2.0.1.ebuild > > >pkg_pretend() { > > if ! test-flag-CXX -std=c++11; then > > die "You need at least GCC 4.7.x or Clang >= 3.0 for C++11-specific compiler flags" > > fi > >} > > > >src_configure() { > > append-cxxflags -std=c++11 > > cmake-utils_src_configure > >} > > Why adding c++11 flags and now allowing lower gcc? I took the pkg-pretend part from an other Ebuild from tree. I do not know if this part works, i am using stable gcc 4.7.3-r1 and did not test this with older gcc.
Homepage, Download URL update & version bump
Created attachment 382040 [details] kfoldersync-2.7.0.ebuild
Created attachment 391438 [details] kfoldersync-2.7.1.ebuild Hi, I'm the developer of this application. I've added an updated ebuild
Comment on attachment 391438 [details] kfoldersync-2.7.1.ebuild ># Copyright 1999-2014 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > >EAPI=5 >KDE_LINGUAS="de es it pl pt_BR ro ru zh_CN zh_TW" >KDE_LINGUAS_DIR="${S}/translations" >inherit kde4-base > >DESCRIPTION="Folder synchronization tool for KDE" >HOMEPAGE="http://kde-apps.org/content/show.php/KFolderSync?content=164092" >SRC_URI="http://kde-apps.org/CONTENT/content-files/164092-${PN}_$PV.orig.tar.xz" > >LICENSE="GPL-2" >SLOT="4" >KEYWORDS="~amd64 ~x86" >IUSE="debug" > >DEPEND=">=sys-devel/gcc-4.7.0 > >=dev-util/cmake-2.8.6 > sys-devel/gettext"
(In reply to Lorenzo Porta (Vindex17) from comment #11) > Created attachment 391438 [details] > kfoldersync-2.7.1.ebuild > > Hi, I'm the developer of this application. I've added an updated ebuild Works for me. Thank you very much!
Created attachment 409874 [details] KFolderSync 3.0.0 BETA ebuild
Created attachment 411198 [details] KFolderSync 3.0.0 BETA2 ebuild Please keep the title up-to-date
Created attachment 415652 [details] KFolderSync 3.0.0 RC1 ebuild
Created attachment 418318 [details] KFolderSync 3.0.0 ebuild Update the title, please
Trying to build it right now ends at the following error (kf-5.17 problem?): /var/tmp/portage/app-backup/kfoldersync-3.0.0/work/kfoldersync-3.0.0/src/main.cpp: In function ‘int main(int, char**)’: /var/tmp/portage/app-backup/kfoldersync-3.0.0/work/kfoldersync-3.0.0/src/main.cpp:81:38: error: invalid use of qualified-name ‘KDBusService::Unique’ KDBusService(KDBusService::Unique);
(In reply to Andreas Sturmlechner from comment #18) I think you are using an old gcc version
Indeed, stable box is a little conservative, if you call gcc-4.8.5 old. Minimum version would be 4.9 it seems. I submitted your ebuild with some changes for review: https://github.com/gentoo/kde/pull/540
Thanks all. Moved to gentoo repo. https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4829068635ff9e8e8629a8a3555dec8192f911a3