diff options
-rw-r--r-- | deskutils/Makefile | 1 | ||||
-rw-r--r-- | deskutils/hs-arbtt/Makefile | 87 | ||||
-rw-r--r-- | deskutils/hs-arbtt/distinfo | 99 | ||||
-rw-r--r-- | deskutils/hs-arbtt/files/pkg-message.in | 17 | ||||
-rw-r--r-- | deskutils/hs-arbtt/pkg-descr | 10 | ||||
-rw-r--r-- | deskutils/hs-arbtt/pkg-plist | 17 |
6 files changed, 231 insertions, 0 deletions
diff --git a/deskutils/Makefile b/deskutils/Makefile index e46930e6cf5c..b8ba8d074341 100644 --- a/deskutils/Makefile +++ b/deskutils/Makefile @@ -110,6 +110,7 @@ SUBDIR += horde-nag SUBDIR += hot-babe SUBDIR += howm + SUBDIR += hs-arbtt SUBDIR += ical SUBDIR += jjclient SUBDIR += jlj diff --git a/deskutils/hs-arbtt/Makefile b/deskutils/hs-arbtt/Makefile new file mode 100644 index 000000000000..ba92602a6d0a --- /dev/null +++ b/deskutils/hs-arbtt/Makefile @@ -0,0 +1,87 @@ +# $FreeBSD$ + +PORTNAME= arbtt +PORTVERSION= 0.10.2 +CATEGORIES= deskutils haskell + +MAINTAINER= mail@dbalan.in +COMMENT= Completely automatic time tracker for X11 desktop + +LICENSE= GPLv2 +LICENSE_FILE= ${WRKSRC}/LICENSE + +LIB_DEPENDS= libpcre.so:devel/pcre + +USES= xorg cabal +USE_XORG= x11 xscrnsaver xext xrandr xinerama +USE_CABAL= X11-1.9 \ + aeson-1.4.7.1_1 \ + attoparsec-0.13.2.4 \ + base-compat-0.11.1 \ + base-compat-batteries-0.11.1 \ + base-orphans-0.8.2 \ + bytestring-progress-1.4 \ + conduit-1.3.2 \ + exceptions-0.10.4_1 \ + integer-logarithms-1.0.3_2 \ + mono-traversable-1.0.15.1 \ + pcre-light-0.4.1.0 \ + primitive-0.7.0.1 \ + resourcet-1.2.4 \ + scientific-0.3.6.2 \ + split-0.2.3.4 \ + strict-0.3.2 \ + tagged-0.8.6_2 \ + terminal-progress-bar-0.4.1 \ + terminal-size-0.3.2.1 \ + th-abstraction-0.3.2.0 \ + time-compat-1.9.3 \ + unliftio-core-0.2.0.1 \ + uuid-types-1.0.3_2 \ + vector-0.12.1.2 \ + vector-algorithms-0.8.0.3 \ + hsc2hs-0.68.6 \ + random-1.1 \ + data-default-0.7.1.1 \ + hashable-1.3.0.0_1 \ + unordered-containers-0.2.10.0_1 \ + dlist-0.8.0.8 \ + utf8-string-1.0.1.1_3 \ + data-default-class-0.1.2.0 \ + data-default-instances-base-0.1.0.1 \ + data-default-instances-containers-0.0.1 \ + data-default-instances-dlist-0.0.1 \ + data-default-instances-old-locale-0.0.1 \ + old-locale-1.0.0.7_2 + +EXECUTABLES= arbtt-capture arbtt-stats arbtt-recover arbtt-import arbtt-dump +SKIP_CABAL_PLIST= yes + +SUB_FILES= pkg-message +SUB_LIST= EXAMPLESDIR=${EXAMPLESDIR} + +OPTIONS_DEFINE= MANPAGES +OPTIONS_SUB= yes +MANPAGES_DESCRIBE= Build and/or install manpages + +OPTIONS_DEFAULT= MANPAGES + +MANPAGES_BUILD_DEPENDS= ${LOCALBASE}/share/xsl/docbook/manpages/profile-docbook.xsl:textproc/docbook-xsl \ + xsltproc:textproc/libxslt + +post-patch-MANPAGES-on: + @${REINPLACE_CMD} -e "s|/usr/share/xml/docbook/stylesheet/nwalsh/manpages/profile-docbook.xsl|${LOCALBASE}/share/xsl/docbook/manpages/profile-docbook.xsl|g" \ + ${WRKSRC}/doc/Makefile + +post-install: + ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} + ${INSTALL_MAN} ${WRKSRC}/categorize.cfg ${STAGEDIR}${EXAMPLESDIR} + ${INSTALL_MAN} ${WRKSRC}/arbtt-capture.desktop ${STAGEDIR}${EXAMPLESDIR} + +post-install-MANPAGES-on: + cd ${WRKSRC}/doc && ${MAKE} man +.for l in arbtt-stats arbtt-recover arbtt-import arbtt-dump arbtt-capture + ${INSTALL_MAN} ${WRKSRC}/doc/man/man1/${l}.1 ${STAGEDIR}${PREFIX}/man/man1/ +.endfor + +.include <bsd.port.mk> diff --git a/deskutils/hs-arbtt/distinfo b/deskutils/hs-arbtt/distinfo new file mode 100644 index 000000000000..2bff2867c3df --- /dev/null +++ b/deskutils/hs-arbtt/distinfo @@ -0,0 +1,99 @@ +TIMESTAMP = 1589019605 +SHA256 (cabal/arbtt-0.10.2.tar.gz) = 416f81005a6c1b8e35be576a3090006c4118087e91f7d008565a6c7bd4733f0a +SIZE (cabal/arbtt-0.10.2.tar.gz) = 90548 +SHA256 (cabal/X11-1.9/X11-1.9.tar.gz) = 10138e863d8c6f860aad1755a6f1a36949cc02d83e5afacf6677fb3999f10db9 +SIZE (cabal/X11-1.9/X11-1.9.tar.gz) = 191779 +SHA256 (cabal/aeson-1.4.7.1/aeson-1.4.7.1.tar.gz) = 07e746655fd9bec81c59927c5617877ff4fcd81d0df45c5fb8ef154fb8f40294 +SIZE (cabal/aeson-1.4.7.1/aeson-1.4.7.1.tar.gz) = 277911 +SHA256 (cabal/aeson-1.4.7.1/revision/1.cabal) = 6d8d2fd959b7122a1df9389cf4eca30420a053d67289f92cdc0dbc0dab3530ba +SIZE (cabal/aeson-1.4.7.1/revision/1.cabal) = 7098 +SHA256 (cabal/attoparsec-0.13.2.4/attoparsec-0.13.2.4.tar.gz) = ba66cd6de1749ec92568db1b9c905b43a849f0ad918d45d7b594407a02ebefb2 +SIZE (cabal/attoparsec-0.13.2.4/attoparsec-0.13.2.4.tar.gz) = 163431 +SHA256 (cabal/base-compat-0.11.1/base-compat-0.11.1.tar.gz) = 356f1542ec93e7192a9073d32a8ef1e48194275495dcec7fb0d241f4baaf6d36 +SIZE (cabal/base-compat-0.11.1/base-compat-0.11.1.tar.gz) = 33691 +SHA256 (cabal/base-compat-batteries-0.11.1/base-compat-batteries-0.11.1.tar.gz) = caf66fed3c0a3b0437692cad18c93a7074e8524a86b8be1ce04d0a18cbf6aed8 +SIZE (cabal/base-compat-batteries-0.11.1/base-compat-batteries-0.11.1.tar.gz) = 16748 +SHA256 (cabal/base-orphans-0.8.2/base-orphans-0.8.2.tar.gz) = 2a8062385e5d5dee418428a22c72b9391557bc1fe2f93bd643f7754b36b9eb01 +SIZE (cabal/base-orphans-0.8.2/base-orphans-0.8.2.tar.gz) = 20727 +SHA256 (cabal/bytestring-progress-1.4/bytestring-progress-1.4.tar.gz) = 9aafe45a7bb9bb1b4b1b9333aef20fc5345e07fbdf34dee5466a06e6bfb10d90 +SIZE (cabal/bytestring-progress-1.4/bytestring-progress-1.4.tar.gz) = 5816 +SHA256 (cabal/conduit-1.3.2/conduit-1.3.2.tar.gz) = e3d97970f9bdead7e9e5a71b6f6c32d5d08c1551d5b36b28350b20e146f4ac6e +SIZE (cabal/conduit-1.3.2/conduit-1.3.2.tar.gz) = 87752 +SHA256 (cabal/data-default-0.7.1.1/data-default-0.7.1.1.tar.gz) = b0f95d279cd75cacaa8152a01590dc3460f7134f6840b37052abb3ba3cb2a511 +SIZE (cabal/data-default-0.7.1.1/data-default-0.7.1.1.tar.gz) = 1627 +SHA256 (cabal/data-default-class-0.1.2.0/data-default-class-0.1.2.0.tar.gz) = 4f01b423f000c3e069aaf52a348564a6536797f31498bb85c3db4bd2d0973e56 +SIZE (cabal/data-default-class-0.1.2.0/data-default-class-0.1.2.0.tar.gz) = 2522 +SHA256 (cabal/data-default-instances-base-0.1.0.1/data-default-instances-base-0.1.0.1.tar.gz) = 844fe453f674b6b0998da804465914abce8936c5e640d8bb8bff37ad07d7a17a +SIZE (cabal/data-default-instances-base-0.1.0.1/data-default-instances-base-0.1.0.1.tar.gz) = 1554 +SHA256 (cabal/data-default-instances-containers-0.0.1/data-default-instances-containers-0.0.1.tar.gz) = a55e07af005c9815d82f3fc95e125db82994377c9f4a769428878701d4ec081a +SIZE (cabal/data-default-instances-containers-0.0.1/data-default-instances-containers-0.0.1.tar.gz) = 1659 +SHA256 (cabal/data-default-instances-dlist-0.0.1/data-default-instances-dlist-0.0.1.tar.gz) = 7d683711cbf08abd7adcd5ac2be825381308d220397315a5570fe61b719b5959 +SIZE (cabal/data-default-instances-dlist-0.0.1/data-default-instances-dlist-0.0.1.tar.gz) = 1503 +SHA256 (cabal/data-default-instances-old-locale-0.0.1/data-default-instances-old-locale-0.0.1.tar.gz) = 60d3b02922958c4908d7bf2b24ddf61511665745f784227d206745784b0c0802 +SIZE (cabal/data-default-instances-old-locale-0.0.1/data-default-instances-old-locale-0.0.1.tar.gz) = 1519 +SHA256 (cabal/dlist-0.8.0.8/dlist-0.8.0.8.tar.gz) = 7129cf18068d3384e305708a10426ab8f573bee1030b023a114f45f1d0ec496d +SIZE (cabal/dlist-0.8.0.8/dlist-0.8.0.8.tar.gz) = 9262 +SHA256 (cabal/exceptions-0.10.4/exceptions-0.10.4.tar.gz) = 4d0bfb4355cffcd67d300811df9d5fe44ea3594ed63750795bfc1f797abd84cf +SIZE (cabal/exceptions-0.10.4/exceptions-0.10.4.tar.gz) = 20819 +SHA256 (cabal/exceptions-0.10.4/revision/1.cabal) = 1729ef26a611ae78aa58cdd34192aff710cbaa6d631dd042ddfb63556d00b52c +SIZE (cabal/exceptions-0.10.4/revision/1.cabal) = 2796 +SHA256 (cabal/hashable-1.3.0.0/hashable-1.3.0.0.tar.gz) = 822e5413fbccca6ae884d3aba4066422c8b5d58d23d18b9ecb5c03273bb19ab4 +SIZE (cabal/hashable-1.3.0.0/hashable-1.3.0.0.tar.gz) = 29835 +SHA256 (cabal/hashable-1.3.0.0/revision/1.cabal) = 4c70f1407881059e93550d3742191254296b2737b793a742bd901348fb3e1fb1 +SIZE (cabal/hashable-1.3.0.0/revision/1.cabal) = 5206 +SHA256 (cabal/hsc2hs-0.68.6/hsc2hs-0.68.6.tar.gz) = e0cc7549c22fafe6e159aadb1048c9bfcce8fda602dd2febd8b1eea4df3292b2 +SIZE (cabal/hsc2hs-0.68.6/hsc2hs-0.68.6.tar.gz) = 35283 +SHA256 (cabal/integer-logarithms-1.0.3/integer-logarithms-1.0.3.tar.gz) = 5ae262018698af35bb74916fad170d96d3eb44669c72ed36db9a19a3392cec16 +SIZE (cabal/integer-logarithms-1.0.3/integer-logarithms-1.0.3.tar.gz) = 8840 +SHA256 (cabal/integer-logarithms-1.0.3/revision/2.cabal) = 63d42595ec92b71ac98a07b984b0a2eb3d4956f4ad2d856c3bf6fc3dc218d228 +SIZE (cabal/integer-logarithms-1.0.3/revision/2.cabal) = 2820 +SHA256 (cabal/mono-traversable-1.0.15.1/mono-traversable-1.0.15.1.tar.gz) = c2df5b79ed2f88f2ee313e57c1d591d4463788e20d39e439297eec5ba5835ddf +SIZE (cabal/mono-traversable-1.0.15.1/mono-traversable-1.0.15.1.tar.gz) = 40815 +SHA256 (cabal/old-locale-1.0.0.7/old-locale-1.0.0.7.tar.gz) = dbaf8bf6b888fb98845705079296a23c3f40ee2f449df7312f7f7f1de18d7b50 +SIZE (cabal/old-locale-1.0.0.7/old-locale-1.0.0.7.tar.gz) = 3384 +SHA256 (cabal/old-locale-1.0.0.7/revision/2.cabal) = fa998be2c7e00cd26a6e9075bea790caaf3932caa3e9497ad69bc20380dd6911 +SIZE (cabal/old-locale-1.0.0.7/revision/2.cabal) = 1071 +SHA256 (cabal/pcre-light-0.4.1.0/pcre-light-0.4.1.0.tar.gz) = 16f6bfaa320bba91cd0c1a502d871c1c7a3a2de2d58dfaa2d90dba6558d51b53 +SIZE (cabal/pcre-light-0.4.1.0/pcre-light-0.4.1.0.tar.gz) = 28908 +SHA256 (cabal/primitive-0.7.0.1/primitive-0.7.0.1.tar.gz) = dd8bb7d829f492d6200fca4a839a7563b80571c5f76b4d0fa76700ebe897f7dd +SIZE (cabal/primitive-0.7.0.1/primitive-0.7.0.1.tar.gz) = 66023 +SHA256 (cabal/random-1.1/random-1.1.tar.gz) = b718a41057e25a3a71df693ab0fe2263d492e759679b3c2fea6ea33b171d3a5a +SIZE (cabal/random-1.1/random-1.1.tar.gz) = 10870 +SHA256 (cabal/resourcet-1.2.4/resourcet-1.2.4.tar.gz) = 1d45f46616bfb9f2be7f913e8124262d4c0f1f7c03b046406ba791895306fb04 +SIZE (cabal/resourcet-1.2.4/resourcet-1.2.4.tar.gz) = 16604 +SHA256 (cabal/scientific-0.3.6.2/scientific-0.3.6.2.tar.gz) = 278d0afc87450254f8a76eab21b5583af63954efc9b74844a17a21a68013140f +SIZE (cabal/scientific-0.3.6.2/scientific-0.3.6.2.tar.gz) = 23510 +SHA256 (cabal/split-0.2.3.4/split-0.2.3.4.tar.gz) = 271fe5104c9f40034aa9a1aad6269bcecc9454bc5a57c247e69e17de996c1f2a +SIZE (cabal/split-0.2.3.4/split-0.2.3.4.tar.gz) = 15942 +SHA256 (cabal/strict-0.3.2/strict-0.3.2.tar.gz) = 2cd35a67938db635a87617d9576d5df0158b581e8e5694f07487c0f4b1549221 +SIZE (cabal/strict-0.3.2/strict-0.3.2.tar.gz) = 3948 +SHA256 (cabal/tagged-0.8.6/tagged-0.8.6.tar.gz) = ad16def0884cf6f05ae1ae8e90192cf9d8d9673fa264b249499bd9e4fac791dd +SIZE (cabal/tagged-0.8.6/tagged-0.8.6.tar.gz) = 11759 +SHA256 (cabal/tagged-0.8.6/revision/2.cabal) = 1f7ca84e6c88cbb923641c60041c9f56c34f1a889759cc073cdf10542b441ff9 +SIZE (cabal/tagged-0.8.6/revision/2.cabal) = 2606 +SHA256 (cabal/terminal-progress-bar-0.4.1/terminal-progress-bar-0.4.1.tar.gz) = a61ca10c92cacc712dbbe28881dc23f41cc139760b7b2eef66bd0faa60ea5e24 +SIZE (cabal/terminal-progress-bar-0.4.1/terminal-progress-bar-0.4.1.tar.gz) = 10058 +SHA256 (cabal/terminal-size-0.3.2.1/terminal-size-0.3.2.1.tar.gz) = b5c23e964756bc13914649a67d63233f59ad0a813abe7cadeb2fc9d586dc9658 +SIZE (cabal/terminal-size-0.3.2.1/terminal-size-0.3.2.1.tar.gz) = 4175 +SHA256 (cabal/th-abstraction-0.3.2.0/th-abstraction-0.3.2.0.tar.gz) = 36fef33ad0f34b9b8fb5552fe6187579a00d5f90d938e9bc24d382a9919feb79 +SIZE (cabal/th-abstraction-0.3.2.0/th-abstraction-0.3.2.0.tar.gz) = 35111 +SHA256 (cabal/time-compat-1.9.3/time-compat-1.9.3.tar.gz) = bb6a44e667945ddca8ded93e041ee91986a4a19f59e149a5dd21fdb1bfa3db88 +SIZE (cabal/time-compat-1.9.3/time-compat-1.9.3.tar.gz) = 50050 +SHA256 (cabal/unliftio-core-0.2.0.1/unliftio-core-0.2.0.1.tar.gz) = 919f0d1297ea2f5373118553c1df2a9405d8b9e31a8307e829da67d4953c299a +SIZE (cabal/unliftio-core-0.2.0.1/unliftio-core-0.2.0.1.tar.gz) = 3696 +SHA256 (cabal/unordered-containers-0.2.10.0/unordered-containers-0.2.10.0.tar.gz) = 65f117bdbdea9efc75fb9fd539873de7687e005d8898bb21821020a4b383c573 +SIZE (cabal/unordered-containers-0.2.10.0/unordered-containers-0.2.10.0.tar.gz) = 44733 +SHA256 (cabal/unordered-containers-0.2.10.0/revision/1.cabal) = 5e9b095a9283d9e2f064fec73a81a6b6ea0b7fda3f219a8175785d2d2a3de204 +SIZE (cabal/unordered-containers-0.2.10.0/revision/1.cabal) = 5199 +SHA256 (cabal/utf8-string-1.0.1.1/utf8-string-1.0.1.1.tar.gz) = fb0b9e3acbe0605bcd1c63e51f290a7bbbe6628dfa3294ff453e4235fbaef140 +SIZE (cabal/utf8-string-1.0.1.1/utf8-string-1.0.1.1.tar.gz) = 8667 +SHA256 (cabal/utf8-string-1.0.1.1/revision/3.cabal) = 68cc6cf665e7212334a51b63d6936daeaca023b2cfe8637d130acfe95f91700b +SIZE (cabal/utf8-string-1.0.1.1/revision/3.cabal) = 1151 +SHA256 (cabal/uuid-types-1.0.3/uuid-types-1.0.3.tar.gz) = 9276517ab24a9b06f39d6e3c33c6c2b4ace1fc2126dbc1cd9806866a6551b3fd +SIZE (cabal/uuid-types-1.0.3/uuid-types-1.0.3.tar.gz) = 11999 +SHA256 (cabal/uuid-types-1.0.3/revision/2.cabal) = 2cab161f274309cfd9ef62694a6bd1b47525bc4c79a827293b055e4a9eadb4d2 +SIZE (cabal/uuid-types-1.0.3/revision/2.cabal) = 2473 +SHA256 (cabal/vector-0.12.1.2/vector-0.12.1.2.tar.gz) = 3b6e27683f6f20b37b8a35d0fab9e34b57dad72ac64cb16f428726780d4011bd +SIZE (cabal/vector-0.12.1.2/vector-0.12.1.2.tar.gz) = 131049 +SHA256 (cabal/vector-algorithms-0.8.0.3/vector-algorithms-0.8.0.3.tar.gz) = 1ac41f014663fd318b34a76b80e6d8f32f1629ef4996ae7304f31597a0d07387 +SIZE (cabal/vector-algorithms-0.8.0.3/vector-algorithms-0.8.0.3.tar.gz) = 26559 diff --git a/deskutils/hs-arbtt/files/pkg-message.in b/deskutils/hs-arbtt/files/pkg-message.in new file mode 100644 index 000000000000..b8b2f173e4f3 --- /dev/null +++ b/deskutils/hs-arbtt/files/pkg-message.in @@ -0,0 +1,17 @@ +[ +{ type: install + message: <<EOM + +This port does not start artbtt-capture automatically, you need to +setup your desktop enviroment to run arbtt-capture on start. + +On supported WMs such as GNOME, KDE you can do that by +cp %%EXAMPLESDIR%%/arbtt-capture.desktop ~/.config/autostart/ + +Also, you would need to have a categorize file at +~/.arbtt/categorize.cfg to run arbtt-stats. A sample file is installed +at %%EXAMPLESDIR%%/categorize.cfg + +EOM +} +] diff --git a/deskutils/hs-arbtt/pkg-descr b/deskutils/hs-arbtt/pkg-descr new file mode 100644 index 000000000000..27a8dc96b02e --- /dev/null +++ b/deskutils/hs-arbtt/pkg-descr @@ -0,0 +1,10 @@ +The Automatic Rule-Based Time Tracker is a desktop daemon that runs in +the background and, every minute, records what windows are open on +your desktop, what their titles are, which one is active. The +accompanied statistics program lets you derive information from this +log file, i.e. what how much of your time have you been spending with +e-mail, or what projects are your largest time wasters. The mapping +from the raw window titles to sensible "tags" is done by a +configuration file with an powerful syntax. + +WWW: https://arbtt.nomeata.de/ diff --git a/deskutils/hs-arbtt/pkg-plist b/deskutils/hs-arbtt/pkg-plist new file mode 100644 index 000000000000..a7f80dba3cf8 --- /dev/null +++ b/deskutils/hs-arbtt/pkg-plist @@ -0,0 +1,17 @@ +libexec/cabal/arbtt-stats +libexec/cabal/arbtt-recover +libexec/cabal/arbtt-import +libexec/cabal/arbtt-dump +libexec/cabal/arbtt-capture +bin/arbtt-stats +bin/arbtt-recover +bin/arbtt-import +bin/arbtt-dump +bin/arbtt-capture +%%MANPAGES%%man/man1/arbtt-stats.1.gz +%%MANPAGES%%man/man1/arbtt-recover.1.gz +%%MANPAGES%%man/man1/arbtt-import.1.gz +%%MANPAGES%%man/man1/arbtt-dump.1.gz +%%MANPAGES%%man/man1/arbtt-capture.1.gz +%%EXAMPLESDIR%%/categorize.cfg +%%EXAMPLESDIR%%/arbtt-capture.desktop |