Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 507500 - app-backup/kfoldersync-3.0.0 - Folder synchronization and backup tool for KDE
Summary: app-backup/kfoldersync-3.0.0 - Folder synchronization and backup tool for KDE
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Gentoo KDE team
URL: http://kfoldersync.sourceforge.net/
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2014-04-12 13:15 UTC by Frank Krömmelbein
Modified: 2016-03-18 20:04 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
kfoldersync-2.0.0.ebuild (kfoldersync-2.0.0.ebuild,727 bytes, text/plain)
2014-04-12 13:15 UTC, Frank Krömmelbein
Details
kfoldersync-2.0.0.ebuild (kfoldersync-2.0.0.ebuild,727 bytes, text/plain)
2014-04-12 14:42 UTC, Frank Krömmelbein
Details
kfoldersync-2.0.1.ebuild (kfoldersync-2.0.1.ebuild,696 bytes, text/plain)
2014-04-12 16:24 UTC, Frank Krömmelbein
Details
kfoldersync-2.7.0.ebuild (kfoldersync-2.7.0.ebuild,733 bytes, text/plain)
2014-08-01 21:01 UTC, Frank Krömmelbein
Details
kfoldersync-2.7.1.ebuild (kfoldersync-2.7.1.ebuild,576 bytes, text/plain)
2014-12-11 12:22 UTC, Lorenzo Porta (Vindex17)
Details
KFolderSync 3.0.0 BETA ebuild (kfoldersync-2.99.ebuild,662 bytes, text/plain)
2015-08-22 14:36 UTC, Lorenzo Porta (Vindex17)
Details
KFolderSync 3.0.0 BETA2 ebuild (kfoldersync-3.0.0_beta2.ebuild,662 bytes, text/plain)
2015-09-06 18:24 UTC, Lorenzo Porta (Vindex17)
Details
KFolderSync 3.0.0 RC1 ebuild (kfoldersync-3.0.0_rc1.ebuild,686 bytes, text/plain)
2015-10-28 15:22 UTC, Lorenzo Porta (Vindex17)
Details
KFolderSync 3.0.0 ebuild (kfoldersync-3.0.0.ebuild,663 bytes, text/plain)
2015-12-02 09:47 UTC, Lorenzo Porta (Vindex17)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Frank Krömmelbein 2014-04-12 13:15:21 UTC
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
Comment 1 Frank Krömmelbein 2014-04-12 13:15:52 UTC
Created attachment 374812 [details]
kfoldersync-2.0.0.ebuild
Comment 2 Frank Krömmelbein 2014-04-12 14:42:39 UTC
Created attachment 374818 [details]
kfoldersync-2.0.0.ebuild
Comment 3 Frank Krömmelbein 2014-04-12 16:24:00 UTC
Created attachment 374826 [details]
kfoldersync-2.0.1.ebuild
Comment 4 Frank Krömmelbein 2014-04-12 16:25:22 UTC
Version 2.0.1 fixed the QA issue with .desktop file.
Comment 5 Johannes Huber (RETIRED) gentoo-dev 2014-04-12 16:49:05 UTC
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?
Comment 6 Johannes Huber (RETIRED) gentoo-dev 2014-04-12 16:49:46 UTC
> Why adding c++11 flags and now allowing lower gcc?

s/now/not/
Comment 7 Frank Krömmelbein 2014-04-12 17:02:47 UTC
(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?
Comment 8 Frank Krömmelbein 2014-04-12 17:08:36 UTC
(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.
Comment 9 Frank Krömmelbein 2014-08-01 21:00:40 UTC
Homepage, Download URL update & version bump
Comment 10 Frank Krömmelbein 2014-08-01 21:01:13 UTC
Created attachment 382040 [details]
kfoldersync-2.7.0.ebuild
Comment 11 Lorenzo Porta (Vindex17) 2014-12-11 12:22:41 UTC
Created attachment 391438 [details]
kfoldersync-2.7.1.ebuild

Hi, I'm the developer of this application. I've added an updated ebuild
Comment 12 Lorenzo Porta (Vindex17) 2014-12-11 12:24:07 UTC
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"
Comment 13 Frank Krömmelbein 2014-12-11 19:24:21 UTC
(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!
Comment 14 Lorenzo Porta (Vindex17) 2015-08-22 14:36:10 UTC
Created attachment 409874 [details]
KFolderSync 3.0.0 BETA ebuild
Comment 15 Lorenzo Porta (Vindex17) 2015-09-06 18:24:12 UTC
Created attachment 411198 [details]
KFolderSync 3.0.0 BETA2 ebuild

Please keep the title up-to-date
Comment 16 Lorenzo Porta (Vindex17) 2015-10-28 15:22:43 UTC
Created attachment 415652 [details]
KFolderSync 3.0.0 RC1 ebuild
Comment 17 Lorenzo Porta (Vindex17) 2015-12-02 09:47:02 UTC
Created attachment 418318 [details]
KFolderSync 3.0.0 ebuild

Update the title, please
Comment 18 Andreas Sturmlechner gentoo-dev 2015-12-29 12:53:10 UTC
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);
Comment 19 Lorenzo Porta (Vindex17) 2015-12-29 12:57:04 UTC
(In reply to Andreas Sturmlechner from comment #18)

I think you are using an old gcc version
Comment 20 Andreas Sturmlechner gentoo-dev 2015-12-29 13:30:31 UTC
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
Comment 21 Johannes Huber (RETIRED) gentoo-dev 2016-03-18 20:04:42 UTC
Thanks all. Moved to gentoo repo.

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4829068635ff9e8e8629a8a3555dec8192f911a3