diff options
author | netchild <netchild@FreeBSD.org> | 2003-09-26 19:11:30 +0800 |
---|---|---|
committer | netchild <netchild@FreeBSD.org> | 2003-09-26 19:11:30 +0800 |
commit | d6199f2b8a94ab34561dfc7c9bff0ff9c73a0282 (patch) | |
tree | e8cfc87807809b884fd2f3eabb4faf5a66377c98 /deskutils/gdesklets-recentlyused | |
parent | 85408a1e77cc451728d2630b946d224291f1704d (diff) | |
download | freebsd-ports-graphics-d6199f2b8a94ab34561dfc7c9bff0ff9c73a0282.tar.gz freebsd-ports-graphics-d6199f2b8a94ab34561dfc7c9bff0ff9c73a0282.tar.zst freebsd-ports-graphics-d6199f2b8a94ab34561dfc7c9bff0ff9c73a0282.zip |
A very eye candy desklet which displays the most recently used items.
Submitted by: Jeremy Messenger <mezz7@cox.net>
Diffstat (limited to 'deskutils/gdesklets-recentlyused')
-rw-r--r-- | deskutils/gdesklets-recentlyused/Makefile | 34 | ||||
-rw-r--r-- | deskutils/gdesklets-recentlyused/distinfo | 1 | ||||
-rw-r--r-- | deskutils/gdesklets-recentlyused/files/patch-Install_RecentlyUsed_Sensor.bin | 18 | ||||
-rw-r--r-- | deskutils/gdesklets-recentlyused/pkg-descr | 11 | ||||
-rw-r--r-- | deskutils/gdesklets-recentlyused/pkg-message | 14 | ||||
-rw-r--r-- | deskutils/gdesklets-recentlyused/pkg-plist | 18 |
6 files changed, 96 insertions, 0 deletions
diff --git a/deskutils/gdesklets-recentlyused/Makefile b/deskutils/gdesklets-recentlyused/Makefile new file mode 100644 index 00000000000..a440f4f88c1 --- /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 00000000000..f6edf0a6a54 --- /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 00000000000..16824f3c062 --- /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 00000000000..f770cc91f60 --- /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 00000000000..9c13100ecfb --- /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 00000000000..b3c553ec40b --- /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 |