aboutsummaryrefslogtreecommitdiff
path: root/deskutils
diff options
context:
space:
mode:
authorAlexander Leidinger <netchild@FreeBSD.org>2003-09-26 11:11:30 +0000
committerAlexander Leidinger <netchild@FreeBSD.org>2003-09-26 11:11:30 +0000
commit213cd504dafef87c857ec8785d9d6a93f328d5a7 (patch)
treed29c4deebff540cd612d85144c0218efa4de9d09 /deskutils
parentc94443d6407aa18e48038d4142e3e65c8faace3e (diff)
downloadports-213cd504dafef87c857ec8785d9d6a93f328d5a7.tar.gz
ports-213cd504dafef87c857ec8785d9d6a93f328d5a7.zip
A very eye candy desklet which displays the most recently used items.
Submitted by: Jeremy Messenger <mezz7@cox.net>
Notes
Notes: svn path=/head/; revision=89439
Diffstat (limited to 'deskutils')
-rw-r--r--deskutils/Makefile1
-rw-r--r--deskutils/gdesklets-recentlyused/Makefile34
-rw-r--r--deskutils/gdesklets-recentlyused/distinfo1
-rw-r--r--deskutils/gdesklets-recentlyused/files/patch-Install_RecentlyUsed_Sensor.bin18
-rw-r--r--deskutils/gdesklets-recentlyused/pkg-descr11
-rw-r--r--deskutils/gdesklets-recentlyused/pkg-message14
-rw-r--r--deskutils/gdesklets-recentlyused/pkg-plist18
7 files changed, 97 insertions, 0 deletions
diff --git a/deskutils/Makefile b/deskutils/Makefile
index cdd26ade2eef..429e733d51d8 100644
--- a/deskutils/Makefile
+++ b/deskutils/Makefile
@@ -14,6 +14,7 @@
SUBDIR += gdeskcal
SUBDIR += gdeskcal-skins
SUBDIR += gdesklets
+ SUBDIR += gdesklets-recentlyused
SUBDIR += gemcal
SUBDIR += genius
SUBDIR += glabels
diff --git a/deskutils/gdesklets-recentlyused/Makefile b/deskutils/gdesklets-recentlyused/Makefile
new file mode 100644
index 000000000000..a440f4f88c18
--- /dev/null
+++ b/deskutils/gdesklets-recentlyused/Makefile
@@ -0,0 +1,34 @@
+# New ports collection makefile for: gdesklets-recentlyused
+# Date created: 02 September 2003
+# Whom: Mezz <mezz7@cox.net>
+#
+# $FreeBSD$
+#
+
+PORTNAME= gdesklets-recentlyused
+PORTVERSION= 0.6
+CATEGORIES= deskutils gnome
+MASTER_SITES= http://gdesklets.gnomedesktop.org/files/
+DISTNAME= recently-used-${PORTVERSION}
+
+MAINTAINER= mezz7@cox.net
+COMMENT= A toolbar for the most recently used items from ~/.recently-used
+
+RUN_DEPENDS= ${X11BASE}/libdata/pkgconfig/gdesklets-core.pc:${PORTSDIR}/deskutils/gdesklets
+
+USE_X_PREFIX= yes
+NAME= RecentlyUsed
+
+do-build:
+ @${WRKSRC}/Install_${NAME}_Sensor.bin --nomsg ${WRKSRC}
+ @${FIND} ${WRKSRC} -name '*.orig' -delete
+
+do-install:
+ @${MKDIR} ${PREFIX}/share/gnome/gdesklets/Displays/${NAME}
+ @${CP} ${WRKSRC}/*.display ${PREFIX}/share/gnome/gdesklets/Displays/${NAME}/
+ @${CP} -Rp ${WRKSRC}/${NAME} ${PREFIX}/share/gnome/gdesklets/Sensors/
+
+post-install:
+ @${CAT} ${PKGMESSAGE}
+
+.include <bsd.port.mk>
diff --git a/deskutils/gdesklets-recentlyused/distinfo b/deskutils/gdesklets-recentlyused/distinfo
new file mode 100644
index 000000000000..f6edf0a6a541
--- /dev/null
+++ b/deskutils/gdesklets-recentlyused/distinfo
@@ -0,0 +1 @@
+MD5 (recently-used-0.6.tar.gz) = ab6752b577d74eff382c44c48194a405
diff --git a/deskutils/gdesklets-recentlyused/files/patch-Install_RecentlyUsed_Sensor.bin b/deskutils/gdesklets-recentlyused/files/patch-Install_RecentlyUsed_Sensor.bin
new file mode 100644
index 000000000000..16824f3c062e
--- /dev/null
+++ b/deskutils/gdesklets-recentlyused/files/patch-Install_RecentlyUsed_Sensor.bin
@@ -0,0 +1,18 @@
+--- Install_RecentlyUsed_Sensor.bin.orig Sat Sep 20 01:59:52 2003
++++ Install_RecentlyUsed_Sensor.bin Sat Sep 20 02:00:20 2003
+@@ -75,15 +75,9 @@
+ else:
+ cmd = "mkdir -p %(destination)s; cd %(destination)s; " X "LANG=C tar -xzvf %(tmp)s 2>&1"
+- fail, out = commands.getstatusoutput(cmd % vars())
++ commands.getstatusoutput(cmd % vars())
+ os.unlink(tmp)
+
+- if (fail):
+- if (no_message): print ERROR_TAR + out
+- else: message(ERROR_TAR + out, "error")
+- sys.exit(1)
+-
+- print out
+ if (not list_only):
+ if (no_message): print SUCCESS
+ else: message(SUCCESS, "info")
diff --git a/deskutils/gdesklets-recentlyused/pkg-descr b/deskutils/gdesklets-recentlyused/pkg-descr
new file mode 100644
index 000000000000..f770cc91f60e
--- /dev/null
+++ b/deskutils/gdesklets-recentlyused/pkg-descr
@@ -0,0 +1,11 @@
+The Recently Used Toolbar displays icons for the most recently used items
+according to your GNOME ~/.recently-used file. The Desklet displays a
+configurable number of icons in the last used order. As you scroll over the
+icons in the toolbar they expand similar to the starter bar desklet. If the
+file has a thumbnail already created, then the thumbnail will be shown
+instead of the MIME icon.
+
+If you click on one of the icons in the toolbar it will launch the application
+that GNOME has associated with that specific MIME type.
+
+WWW: http://www.clarkson.edu/~clarkbw/desklets/
diff --git a/deskutils/gdesklets-recentlyused/pkg-message b/deskutils/gdesklets-recentlyused/pkg-message
new file mode 100644
index 000000000000..9c13100ecfbd
--- /dev/null
+++ b/deskutils/gdesklets-recentlyused/pkg-message
@@ -0,0 +1,14 @@
+##
+To view the installed applets:
+
+ ls ${PREFIX}/share/gnome/gdesklets/Displays
+
+To use those applets:
+
+ gdesklets ${PREFIX}/share/gnome/gdesklets/Displays/${name}/${name}.display
+
+Replace ${name} with the correct name of the applets you want to use.
+
+NOTE: Be sure to login as your user when you use the gdesklets command,
+ as the configuration will be stored in the ~/.gdesklets/ directory.
+##
diff --git a/deskutils/gdesklets-recentlyused/pkg-plist b/deskutils/gdesklets-recentlyused/pkg-plist
new file mode 100644
index 000000000000..b3c553ec40b4
--- /dev/null
+++ b/deskutils/gdesklets-recentlyused/pkg-plist
@@ -0,0 +1,18 @@
+share/gnome/gdesklets/Displays/RecentlyUsed/recently-used.display
+share/gnome/gdesklets/Sensors/RecentlyUsed/.recently-used
+share/gnome/gdesklets/Sensors/RecentlyUsed/AUTHORS
+share/gnome/gdesklets/Sensors/RecentlyUsed/Animator.py
+share/gnome/gdesklets/Sensors/RecentlyUsed/Icon.py
+share/gnome/gdesklets/Sensors/RecentlyUsed/MimeIcon.py
+share/gnome/gdesklets/Sensors/RecentlyUsed/README
+share/gnome/gdesklets/Sensors/RecentlyUsed/RecentFile.py
+share/gnome/gdesklets/Sensors/RecentlyUsed/RecentParser.py
+share/gnome/gdesklets/Sensors/RecentlyUsed/RecentReader.py
+share/gnome/gdesklets/Sensors/RecentlyUsed/RfileSet.py
+share/gnome/gdesklets/Sensors/RecentlyUsed/TODO
+share/gnome/gdesklets/Sensors/RecentlyUsed/TestReader.py
+share/gnome/gdesklets/Sensors/RecentlyUsed/TestRecent.py
+share/gnome/gdesklets/Sensors/RecentlyUsed/TestRfileSet.py
+share/gnome/gdesklets/Sensors/RecentlyUsed/__init__.py
+@dirrm share/gnome/gdesklets/Sensors/RecentlyUsed
+@dirrm share/gnome/gdesklets/Displays/RecentlyUsed