FreeBSD Bugzilla – Attachment 239713 Details for
Bug 269160
x11/workrave: add flavor for XFCE support
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Add xfce flavor
0001-Flavorize-x11-workrave-default-and-new-xfce.patch (text/plain), 2.39 KB, created by
Pau Amma
on 2023-01-25 22:54:08 UTC
(
hide
)
Description:
Add xfce flavor
Filename:
MIME Type:
Creator:
Pau Amma
Created:
2023-01-25 22:54:08 UTC
Size:
2.39 KB
patch
obsolete
>From e2e9770237cc10beb235a45f30e5a34e1a0a6f70 Mon Sep 17 00:00:00 2001 >From: Pau Amma <pauamma@FreeBSD.org> >Date: Tue, 24 Jan 2023 23:51:46 +0000 >Subject: [PATCH] Flavorize x11/workrave: default and (new) xfce. > >While here, pacify portlint: add desktop-file-utils to USES=. >--- > x11/workrave/Makefile | 24 +++++++++++++++++++----- > x11/workrave/pkg-descr.xfce | 6 ++++++ > 2 files changed, 25 insertions(+), 5 deletions(-) > create mode 100644 x11/workrave/pkg-descr.xfce > >diff --git a/x11/workrave/Makefile b/x11/workrave/Makefile >index d5d3ea3cee79..b7d85af4758d 100644 >--- a/x11/workrave/Makefile >+++ b/x11/workrave/Makefile >@@ -5,7 +5,7 @@ CATEGORIES= x11 > MASTER_SITES= https://github.com/rcaelers/workrave/releases/download/v${PORTVERSION:S/./_/g}/ > > MAINTAINER= cyberbotx@cyberbotx.com >-COMMENT= RSI prevention tool >+COMMENT= RSI prevention tool (${FLAVOR} flavor) > WWW= https://www.workrave.org/ > > LICENSE= GPLv3+ >@@ -13,8 +13,20 @@ LICENSE= GPLv3+ > LIB_DEPENDS= libgdome.so:textproc/gdome2 \ > libharfbuzz.so:print/harfbuzz > >-USES= compiler:c++11-lang gmake gnome libtool localbase pkgconfig \ >- xorg >+FLAVORS= default xfce >+FLAVOR?= ${FLAVORS:[1]} >+xfce_PKGNAMESUFFIX= -xfce >+xfce_DESCR= ${.CURDIR}/pkg-descr.xfce >+xfce_CONFLICTS_INSTALL= workrave >+default_CONFLICTS_INSTALL= workrave-xfce >+ >+USES= compiler:c++11-lang desktop-file-utils gmake gnome libtool \ >+ localbase pkgconfig xorg >+.if ${FLAVOR} == xfce >+CATEGORIES+= xfce >+USES+= xfce >+USE_XFCE= libutil panel >+.endif > USE_CXXSTD= c++11 > USE_GNOME= gdkpixbuf2 gtkmm30 intlhack intltool introspection:build > USE_LDCONFIG= yes >@@ -26,8 +38,10 @@ CONFIGURE_ARGS= --disable-gconf \ > --disable-gsettings \ > --disable-indicator \ > --disable-mate \ >- --disable-pulse \ >- --disable-xfce >+ --disable-pulse >+.if ${FLAVOR} != xfce >+CONFIGURE_ARGS+= --disable-xfce >+.endif > INSTALL_TARGET= install-strip > > WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} >diff --git a/x11/workrave/pkg-descr.xfce b/x11/workrave/pkg-descr.xfce >new file mode 100644 >index 000000000000..219b7d5a54fe >--- /dev/null >+++ b/x11/workrave/pkg-descr.xfce >@@ -0,0 +1,6 @@ >+Workrave is a program that assists in the recovery and prevention of >+Repetitive Strain Injury (RSI). The program frequently alerts you to >+take micro-pauses, rest breaks and restricts you to your daily limit. >+These can be customized and it stops the counter when you stop. >+ >+This is the XFCE-enabled flavor. >-- >2.38.1 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
cyberbotx
:
maintainer-approval+
Actions:
View
|
Diff
Attachments on
bug 269160
:
239713
|
239772