On Fri, Dec 10, 2021 at 09:22:19PM +0100, Rafael Sadowski wrote:
> On Fri Dec 10, 2021 at 07:32:46PM +0000, Klemens Nanni wrote:
> >     Information for inst:ktimetracker-5.0.1
> > 
> >     Comment:
> >     Todo management and time tracker
> > 
> >     Description:
> >     KTimeTracker helps you track your personal time spent on various
> >     tasks and projects.
> > 
> >     It is useful for tracking billable hours and can report the hours
> >     logged by task and day.
> > 
> >     With KTimeTracker, you can organize a broken-down project as subtasks
> >     with unlimited nesting. The standard keyboard and mouse shortcuts are
> >     simple and make the tool really comfortable and intuitive to use.
> > 
> >     Maintainer: Klemens Nanni <[email protected]>
> > 
> >     WWW: https://apps.kde.org/ktimetracker
> > 
> > Feedback? OK?
> > 
> > At least with cwm(1), ktimetracker(1) keeps running when I close the
> > window via cwm's default `CM-x' binding rather than ktimetracker's
> > `C-Q' own binding and/or its File... Quit dialog.
> > 
> > No idea where this rabbit hole leads, but the program works nicely
> > otherwise.
> 
> ... With more dependencies and some tweaks (Python), ok rsadowski
> 
> Checkout make configure:
> 
> -- The following OPTIONAL packages have been found:
> 
>  * KF5Service (required version >= 5.87.0)
>  * KF5Bookmarks (required version >= 5.87.0)
>  * KF5Completion (required version >= 5.87.0)
>  * KF5ItemViews (required version >= 5.87.0)
>  * KF5Solid (required version >= 5.87.0)
>  * KF5CoreAddons (required version >= 5.87.0)
>  * KF5Auth (required version >= 5.87.0)
>  * KF5Codecs (required version >= 5.87.0)
>  * KF5WidgetsAddons (required version >= 5.87.0)
>  * KF5Sonnet (required version >= 5.87.0)
>  * Qt5Core (required version >= 5.15.2)

Right, I forgot to translate those into RUN_DEPENDS.

> -- The following REQUIRED packages have been found:
> 
>  * ECM (required version >= 5.54.0)
>  * Qt5 (required version >= 5.10.0)
>  * KF5DBusAddons (required version >= 5.54.0)
>  * KF5DocTools (required version >= 5.54.0)
>  * KF5IdleTime (required version >= 5.54.0)
>  * KF5JobWidgets (required version >= 5.87.0)
>  * KF5KIO (required version >= 5.54.0)
>  * KF5Notifications (required version >= 5.54.0)
>  * KF5WindowSystem (required version >= 5.54.0)
>  * Qt5Xml (required version >= 5.15.2)
>  * Qt5DBus (required version >= 5.15.2)
>  * KF5Config (required version >= 5.87.0)
>  * KF5ConfigWidgets (required version >= 5.87.0)
>  * KF5XmlGui (required version >= 5.54.0)
>  * Qt5Widgets (required version >= 5.15.2)
>  * Gettext
>  * KF5I18n (required version >= 5.87.0)
>  * KF5TextWidgets (required version >= 5.54.0)
>  * Qt5Gui (required version >= 5.15.2)
>  * KF5CalendarCore (required version >= 5.63.0)
>  * KF5 (required version >= 5.63.0)
>  * Qt5Test

I picked all the REQUIRED ones up and librarires from WANTLIB are
covered through LIB_DEPENDS already, i.e. kio depending in sonnet means
I only need to depend on kio -- at least that was my thinking here.
Otherwise `make port-lib-depends-check' would have warned, I think.
> 
> ... diff below

Thanks a bunch, I'll import with that and lowercased COMMENT.

> --- Makefile.orig     Fri Dec 10 21:17:53 2021
> +++ Makefile  Fri Dec 10 21:16:49 2021
> @@ -16,38 +16,54 @@ PERMIT_PACKAGE =  Yes
>  
>  MASTER_SITES =               
> ${MASTER_SITE_KDE:=stable/ktimetracker/${VERSION}/src/}
>  
> -WANTLIB +=   ${COMPILER_LIBCXX} KF5Auth KF5AuthCore KF5CalendarCore
> -WANTLIB +=   KF5Codecs KF5ConfigCore KF5ConfigGui KF5ConfigWidgets
> -WANTLIB +=   KF5CoreAddons KF5DBusAddons KF5I18n KF5IdleTime KF5JobWidgets
> -WANTLIB +=   KF5KIOCore KF5Notifications KF5Service KF5SonnetUi
> -WANTLIB +=   KF5TextWidgets KF5WidgetsAddons KF5WindowSystem KF5XmlGui
> -WANTLIB +=   Qt5Concurrent Qt5Core Qt5DBus Qt5Gui Qt5Network Qt5Widgets
> -WANTLIB +=   Qt5Xml X11 c m
> +WANTLIB += ${COMPILER_LIBCXX} KF5Auth KF5AuthCore KF5CalendarCore
> +WANTLIB += KF5Codecs KF5ConfigCore KF5ConfigGui KF5ConfigWidgets
> +WANTLIB += KF5CoreAddons KF5DBusAddons KF5I18n KF5IdleTime KF5JobWidgets
> +WANTLIB += KF5KIOCore KF5Notifications KF5Service KF5SonnetUi
> +WANTLIB += KF5TextWidgets KF5WidgetsAddons KF5WindowSystem KF5XmlGui
> +WANTLIB += Qt5Concurrent Qt5Core Qt5DBus Qt5Gui Qt5Network Qt5Widgets
> +WANTLIB += Qt5Xml X11 c m
>  
> -
>  MODULES =            lang/python \
>                       devel/kf5
>  
> -BUILD_DEPENDS =              devel/gettext,-tools
> +MODPY_RUNDEP =               No
>  
> -LIB_DEPENDS =                devel/kf5/kcalendarcore \
> +CONFIGURE_STYLE =    cmake
> +
> +BUILD_DEPENDS =              devel/gettext,-tools \
> +                     devel/kf5/kdoctools \
> +                     devel/kf5/kbookmarks \
> +                     devel/kf5/kcompletion \
> +                     devel/kf5/kitemviews \
> +                     devel/kf5/solid \
> +                     devel/kf5/kdoctools
> +
> +RUN_DEPENDS =                devel/desktop-file-utils \
> +                     devel/kf5/kdoctools \
> +                     devel/kf5/kbookmarks \
> +                     devel/kf5/kcompletion \
> +                     devel/kf5/kitemviews \
> +                     devel/kf5/solid \
> +                     x11/gtk+3,-guic
> +
> +
> +LIB_DEPENDS =                devel/kf5/kauth \
> +                     devel/kf5/kcalendarcore \
>                       devel/kf5/kconfig \
>                       devel/kf5/kconfigwidgets \
> +                     devel/kf5/kcoreaddons \
>                       devel/kf5/kdbusaddons \
> -                     devel/kf5/kdoctools \
>                       devel/kf5/ki18n \
>                       devel/kf5/kidletime \
>                       devel/kf5/kio \
>                       devel/kf5/kjobwidgets \
>                       devel/kf5/knotifications \
> +                     devel/kf5/kservice \
>                       devel/kf5/ktextwidgets \
>                       devel/kf5/kwindowsystem \
> -                     devel/kf5/kxmlgui
> -
> -RUN_DEPENDS =                devel/desktop-file-utils \
> -                     x11/gtk+3,-guic
> -
> -CONFIGURE_STYLE =    cmake
> +                     devel/kf5/kxmlgui \
> +                     devel/kf5/sonnet
>  
>  TEST_IS_INTERACTIVE =        X11
>  
> 

Reply via email to