1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-28 05:29:48 +00:00

An eye candy starter bar with hopping icons (when a program starts).

Submitted by:	Jeremy Messenger <mezz7@cox.net>
This commit is contained in:
Alexander Leidinger 2003-09-26 11:14:37 +00:00
parent 213cd504da
commit 2baff7eed9
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=89441
9 changed files with 173 additions and 0 deletions

View File

@ -15,6 +15,7 @@
SUBDIR += gdeskcal-skins
SUBDIR += gdesklets
SUBDIR += gdesklets-recentlyused
SUBDIR += gdesklets-starterbar
SUBDIR += gemcal
SUBDIR += genius
SUBDIR += glabels

View File

@ -0,0 +1,47 @@
# New ports collection makefile for: gdesklets-starterbar
# Date created: 02 September 2003
# Whom: Mezz <mezz7@cox.net>
#
# $FreeBSD$
#
PORTNAME= gdesklets-starterbar
PORTVERSION= 0.20
CATEGORIES= deskutils gnome
MASTER_SITES= http://gdesklets.gnomedesktop.org/files/
DISTNAME= starterbar-desklet-${PORTVERSION}
MAINTAINER= mezz7@cox.net
COMMENT= An icon bar for GNOME 2.x where you can put starters into
RUN_DEPENDS= ${X11BASE}/libdata/pkgconfig/gdesklets-core.pc:${PORTSDIR}/deskutils/gdesklets
USE_BZIP2= yes
USE_X_PREFIX= yes
NAME= StarterBar
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 500000
IGNORE= "Requires FreeBSD 5.0 or later, because of uuidgen command first appeared in FreeBSD 5.0"
.endif
do-build:
@${WRKSRC}/Install_${NAME}_Sensor.bin --nomsg ${WRKSRC}
@${PATCH} ${WRKSRC}/${NAME}/Icon.py < ${FILESDIR}/${NAME}::Icon.py
@${PATCH} ${WRKSRC}/${NAME}/__init__.py < ${FILESDIR}/${NAME}::__init__.py
@${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}/gfx ${PREFIX}/share/gnome/gdesklets/Displays/${NAME}/
@${CP} -Rp ${WRKSRC}/${NAME} ${PREFIX}/share/gnome/gdesklets/Sensors/
@${CP} ${WRKSRC}/README ${PREFIX}/share/gnome/gdesklets/Displays/${NAME}/
@${LN} -s ${PREFIX}/share/gnome/gdesklets/Displays/${NAME}/README \
${PREFIX}/share/gnome/gdesklets/Sensors/${NAME}/README
post-install:
@${CAT} ${PKGMESSAGE}
.include <bsd.port.post.mk>

View File

@ -0,0 +1 @@
MD5 (starterbar-desklet-0.20.tar.bz2) = 5260e70daabcb97ca7c65ec2455959ca

View File

@ -0,0 +1,23 @@
--- StarterBar/Icon.py.orig Wed Sep 24 14:26:55 2003
+++ StarterBar/Icon.py Wed Sep 24 14:28:22 2003
@@ -11,7 +11,7 @@
__GNOME_PIXMAP_DIR = \
os.path.join(
commands.getoutput("dirname `which gnome-desktop-item-edit`"),
- "..", "share", "pixmaps")
+ "..", "share", "gnome", "pixmaps")
# the unknown icon
__UNKNOWN_ICON = "gnome-unknown.png"
@@ -61,7 +61,10 @@
return os.path.join(self.__GNOME_PIXMAP_DIR, f)
#end for
- return os.path.join(self.__GNOME_PIXMAP_DIR, self.__UNKNOWN_ICON)
+ return os.path.join(
+ commands.getoutput("dirname `which gnome-desktop-item-edit`"),
+ "..", "share", "icons", "gnome", "48x48", "apps",
+ self.__UNKNOWN_ICON)

View File

@ -0,0 +1,11 @@
--- StarterBar/__init__.py.orig Wed Sep 24 14:31:33 2003
+++ StarterBar/__init__.py Wed Sep 24 14:32:22 2003
@@ -336,7 +336,7 @@
index = self.__current_index
if (self.__dragged_icon == -1 or self.__dragged_icon == index):
cmd = self.__icon_set.get_icon(index).get_command()
- os.system("cd ~ && " + cmd + " & disown")
+ os.system("cd ~ && " + cmd + " &")
self.__animator.unhilight()
if (self._get_config("animation")):
self.__animator.jump(index)

View File

@ -0,0 +1,19 @@
--- Install_StarterBar_Sensor.bin.orig Wed Sep 24 14:24:12 2003
+++ Install_StarterBar_Sensor.bin Wed Sep 24 14:24:49 2003
@@ -75,15 +75,9 @@
else:
cmd = "mkdir -p %(destination)s; cd %(destination)s; " \
"LANG=C tar -xzf %(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")

View File

@ -0,0 +1,4 @@
An icon bar for GNOME where you can put starters into. Yes, you can do the
same with the GNOME panel, but this one is pure eye candy!
WWW: http://gdesklets.gnomedesktop.org

View File

@ -0,0 +1,19 @@
##
To view the README:
cat ${PREFIX}/share/gnome/gdesklets/Displays/${name}/README
cat ${PREFIX}/share/gnome/gdesklets/Sensors/${name}/README
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 the ${name} with the correct name to what you want to use applets.
NOTE: Be sure to login as your user when you use the gdesklets command,
as the configuration will be stored in the ~/.gdesklets/ directory.
##

View File

@ -0,0 +1,48 @@
share/gnome/gdesklets/Displays/StarterBar/README
share/gnome/gdesklets/Displays/StarterBar/gfx/bg-e.png
share/gnome/gdesklets/Displays/StarterBar/gfx/bg-n.png
share/gnome/gdesklets/Displays/StarterBar/gfx/bg-ne.png
share/gnome/gdesklets/Displays/StarterBar/gfx/bg-nw.png
share/gnome/gdesklets/Displays/StarterBar/gfx/bg-s.png
share/gnome/gdesklets/Displays/StarterBar/gfx/bg-se.png
share/gnome/gdesklets/Displays/StarterBar/gfx/bg-sw.png
share/gnome/gdesklets/Displays/StarterBar/gfx/bg-w.png
share/gnome/gdesklets/Displays/StarterBar/gfx/bg.png
share/gnome/gdesklets/Displays/StarterBar/starterbar.display
share/gnome/gdesklets/Sensors/StarterBar/.#ChangeLog.1.2
share/gnome/gdesklets/Sensors/StarterBar/.#__init__.py.1.3
share/gnome/gdesklets/Sensors/StarterBar/.order
share/gnome/gdesklets/Sensors/StarterBar/Animator.py
share/gnome/gdesklets/Sensors/StarterBar/ChangeLog
share/gnome/gdesklets/Sensors/StarterBar/DesktopReader.py
share/gnome/gdesklets/Sensors/StarterBar/Icon.py
share/gnome/gdesklets/Sensors/StarterBar/IconSet.py
share/gnome/gdesklets/Sensors/StarterBar/IconTheme.py
share/gnome/gdesklets/Sensors/StarterBar/README
share/gnome/gdesklets/Sensors/StarterBar/__init__.py
share/gnome/gdesklets/Sensors/StarterBar/home.desktop
share/gnome/gdesklets/Sensors/StarterBar/locale/de/LC_MESSAGES/gdesklets.mo
share/gnome/gdesklets/Sensors/StarterBar/locale/fr/LC_MESSAGES/gdesklets.mo
share/gnome/gdesklets/Sensors/StarterBar/locale/pt/LC_MESSAGES/gdesklets.mo
share/gnome/gdesklets/Sensors/StarterBar/locale/sq/LC_MESSAGES/gdesklets.mo
share/gnome/gdesklets/Sensors/StarterBar/locale/sr/LC_MESSAGES/gdesklets.mo
share/gnome/gdesklets/Sensors/StarterBar/locale/sr@Latn/LC_MESSAGES/gdesklets.mo
share/gnome/gdesklets/Sensors/StarterBar/locale/sv/LC_MESSAGES/gdesklets.mo
@dirrm share/gnome/gdesklets/Sensors/StarterBar/locale/sv/LC_MESSAGES
@dirrm share/gnome/gdesklets/Sensors/StarterBar/locale/sv
@dirrm share/gnome/gdesklets/Sensors/StarterBar/locale/sr@Latn/LC_MESSAGES
@dirrm share/gnome/gdesklets/Sensors/StarterBar/locale/sr@Latn
@dirrm share/gnome/gdesklets/Sensors/StarterBar/locale/sr/LC_MESSAGES
@dirrm share/gnome/gdesklets/Sensors/StarterBar/locale/sr
@dirrm share/gnome/gdesklets/Sensors/StarterBar/locale/sq/LC_MESSAGES
@dirrm share/gnome/gdesklets/Sensors/StarterBar/locale/sq
@dirrm share/gnome/gdesklets/Sensors/StarterBar/locale/pt/LC_MESSAGES
@dirrm share/gnome/gdesklets/Sensors/StarterBar/locale/pt
@dirrm share/gnome/gdesklets/Sensors/StarterBar/locale/fr/LC_MESSAGES
@dirrm share/gnome/gdesklets/Sensors/StarterBar/locale/fr
@dirrm share/gnome/gdesklets/Sensors/StarterBar/locale/de/LC_MESSAGES
@dirrm share/gnome/gdesklets/Sensors/StarterBar/locale/de
@dirrm share/gnome/gdesklets/Sensors/StarterBar/locale
@dirrm share/gnome/gdesklets/Sensors/StarterBar
@dirrm share/gnome/gdesklets/Displays/StarterBar/gfx
@dirrm share/gnome/gdesklets/Displays/StarterBar