applets for use with the GNOME panel
This commit is contained in:
parent
8901747d55
commit
25bd10de43
33
x11/gnome/applets/Makefile
Normal file
33
x11/gnome/applets/Makefile
Normal file
@ -0,0 +1,33 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2001/09/13 21:23:08 todd Exp $
|
||||
|
||||
COMMENT= "applets for use with the GNOME panel"
|
||||
V= 1.4.0.1
|
||||
DISTNAME= gnome-applets-${V}
|
||||
CATEGORIES= x11
|
||||
NEED_VERSION= 1.384
|
||||
HOMEPAGE= http://www.gnome.org
|
||||
MAINTAINER= Nils Nordman <nino@nforced.com>
|
||||
|
||||
MASTER_SITES= ${MASTER_SITE_GNOME}
|
||||
MASTER_SITE_SUBDIR= stable/sources/gnome-applets
|
||||
|
||||
LIB_DEPENDS= panel_applet::x11/gnome/core \
|
||||
gtop::devel/libgtop,gnome
|
||||
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
PERMIT_PACKAGE_FTP= Yes
|
||||
PERMIT_DISTFILES_CDROM= Yes
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
|
||||
USE_X11= Yes
|
||||
USE_GMAKE= Yes
|
||||
CONFIGURE_STYLE= gnu
|
||||
CONFIGURE_ARGS+= ${CONFIGURE_SHARED}
|
||||
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
||||
LDFLAGS="-L${LOCALBASE}/lib"
|
||||
|
||||
post-install:
|
||||
@install -d ${PREFIX}/share/gnome-applets; \
|
||||
cp -r ${PREFIX}/../../etc/* ${PREFIX}/share/gnome-applets/
|
||||
|
||||
.include <bsd.port.mk>
|
3
x11/gnome/applets/files/md5
Normal file
3
x11/gnome/applets/files/md5
Normal file
@ -0,0 +1,3 @@
|
||||
MD5 (gnome-applets-1.4.0.1.tar.gz) = 5b459439d4d698e86a6239734f42ca9f
|
||||
RMD160 (gnome-applets-1.4.0.1.tar.gz) = 53d907836c6a4aa9b21a088c3bca1f646b1a8245
|
||||
SHA1 (gnome-applets-1.4.0.1.tar.gz) = 221a6a4317f6b280f7300aa7456ba8e22bc76e6b
|
@ -0,0 +1,11 @@
|
||||
$OpenBSD: patch-asclock_asclock_applet_desktop,v 1.1.1.1 2001/09/13 21:23:08 todd Exp $
|
||||
--- asclock/asclock_applet.desktop.orig Tue Aug 28 14:18:33 2001
|
||||
+++ asclock/asclock_applet.desktop Tue Aug 28 14:18:56 2001
|
||||
@@ -54,6 +54,6 @@ Comment[tr]=Bir baþka saat daha
|
||||
Comment[uk]=ðÒÏÓÔÏ ¦ÎÛÉÊ ÇÏÄÉÎÎÉË
|
||||
Comment[wa]=Co ene ôte ôrlodje, ciste chal avou l' aparince NeXT
|
||||
Exec=asclock_applet --activate-goad-server=asclock_applet
|
||||
-Icon=
|
||||
+Icon=gnome-clock.png
|
||||
Terminal=0
|
||||
Type=Application
|
12
x11/gnome/applets/patches/patch-battery_read-battery_c
Normal file
12
x11/gnome/applets/patches/patch-battery_read-battery_c
Normal file
@ -0,0 +1,12 @@
|
||||
$OpenBSD: patch-battery_read-battery_c,v 1.1.1.1 2001/09/13 21:23:08 todd Exp $
|
||||
--- battery/read-battery.c.orig Mon Feb 12 23:47:56 2001
|
||||
+++ battery/read-battery.c Tue Aug 28 14:13:58 2001
|
||||
@@ -198,7 +198,7 @@ battery_read_charge (int * percentage,
|
||||
close(fd);
|
||||
return TRUE;
|
||||
|
||||
-#elif defined(__NetBSD__) && defined(NETBSD_APM)
|
||||
+#elif (defined(__NetBSD__) && defined(NETBSD_APM)) || defined(__OpenBSD__)
|
||||
|
||||
struct apm_power_info aip;
|
||||
int fd;
|
12
x11/gnome/applets/patches/patch-battery_read-battery_h
Normal file
12
x11/gnome/applets/patches/patch-battery_read-battery_h
Normal file
@ -0,0 +1,12 @@
|
||||
$OpenBSD: patch-battery_read-battery_h,v 1.1.1.1 2001/09/13 21:23:08 todd Exp $
|
||||
--- battery/read-battery.h.orig Mon Feb 12 23:48:12 2001
|
||||
+++ battery/read-battery.h Tue Aug 28 14:14:17 2001
|
||||
@@ -18,7 +18,7 @@ typedef struct apm_info {
|
||||
#include <fcntl.h>
|
||||
#include <machine/apm_bios.h>
|
||||
#define APMDEV "/dev/apm"
|
||||
-#elif __NetBSD__ && defined(NETBSD_APM)
|
||||
+#elif (__NetBSD__ && defined(NETBSD_APM)) || defined(__OpenBSD__)
|
||||
#include <fcntl.h>
|
||||
#include <sys/ioctl.h>
|
||||
#include <machine/apmvar.h>
|
12
x11/gnome/applets/patches/patch-configure
Normal file
12
x11/gnome/applets/patches/patch-configure
Normal file
@ -0,0 +1,12 @@
|
||||
$OpenBSD: patch-configure,v 1.1.1.1 2001/09/13 21:23:08 todd Exp $
|
||||
--- configure.orig Wed Mar 28 20:04:31 2001
|
||||
+++ configure Thu Aug 30 17:08:07 2001
|
||||
@@ -4657,7 +4657,7 @@ CANVAS_PIXBUF_LIBS=`$GNOME_CONFIG --libs
|
||||
|
||||
|
||||
|
||||
-ALL_LINGUAS="az ca cs da de el en_GB es et eu fi fr ga gl hu it ja ko lt nl no pl pt pt_BR ro ru sk sl sv tr uk wa zh_CN.GB2312 zh_TW.Big5"
|
||||
+ALL_LINGUAS="ca cs da de el en_GB es et eu fi fr ga gl hu it lt nl no pl pt pt_BR ro ru sk sl sv tr uk wa"
|
||||
echo $ac_n "checking for working const""... $ac_c" 1>&6
|
||||
echo "configure:4663: checking for working const" >&5
|
||||
if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
|
51
x11/gnome/applets/patches/patch-ltconfig
Normal file
51
x11/gnome/applets/patches/patch-ltconfig
Normal file
@ -0,0 +1,51 @@
|
||||
--- ltconfig.orig Thu Mar 15 18:58:52 2001
|
||||
+++ ltconfig Tue Aug 28 14:13:26 2001
|
||||
@@ -1105,6 +1105,9 @@ cygwin* | mingw*)
|
||||
with_gnu_ld=no
|
||||
fi
|
||||
;;
|
||||
+openbsd*)
|
||||
+ with_gnu_ld=no
|
||||
+ ;;
|
||||
|
||||
esac
|
||||
|
||||
@@ -1402,10 +1405,21 @@ else
|
||||
;;
|
||||
|
||||
openbsd*)
|
||||
- archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linkopts'
|
||||
- hardcode_libdir_flag_spec='-R$libdir'
|
||||
hardcode_direct=yes
|
||||
hardcode_shlibpath_var=no
|
||||
+ case "$host_os" in
|
||||
+ openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
|
||||
+ archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linkopts'
|
||||
+ hardcode_libdir_flag_spec='-R$libdir'
|
||||
+ ;;
|
||||
+ *)
|
||||
+ archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $linkopts'
|
||||
+ hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
|
||||
+ if [ "`/usr/bin/file /usr/lib/libc.so.* | grep ELF`" != "" ]; then
|
||||
+ export_dynamic_flag_spec='${wl}-E'
|
||||
+ fi
|
||||
+ ;;
|
||||
+ esac
|
||||
;;
|
||||
|
||||
os2*)
|
||||
@@ -2022,13 +2036,10 @@ netbsd*)
|
||||
|
||||
openbsd*)
|
||||
version_type=sunos
|
||||
- if test "$with_gnu_ld" = yes; then
|
||||
- need_lib_prefix=no
|
||||
- need_version=no
|
||||
- fi
|
||||
library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix'
|
||||
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
|
||||
shlibpath_var=LD_LIBRARY_PATH
|
||||
+ deplibs_check_method='pass_all'
|
||||
;;
|
||||
|
||||
os2*)
|
83
x11/gnome/applets/patches/patch-ltmain.sh
Normal file
83
x11/gnome/applets/patches/patch-ltmain.sh
Normal file
@ -0,0 +1,83 @@
|
||||
--- ltmain.sh.orig Thu Mar 15 18:58:52 2001
|
||||
+++ ltmain.sh Tue Aug 28 14:13:26 2001
|
||||
@@ -1079,7 +1079,18 @@ compiler."
|
||||
# These systems don't actually have c library (as such)
|
||||
continue
|
||||
;;
|
||||
+ *-*-openbsd*)
|
||||
+ # Do not include libc due to us having libc/libc_r.
|
||||
+ continue
|
||||
+ ;;
|
||||
esac
|
||||
+ elif test "$arg" = "-lc_r"; then
|
||||
+ case "$host" in
|
||||
+ *-*-openbsd*)
|
||||
+ # Do not include libc_r directly, use -pthread flag.
|
||||
+ continue
|
||||
+ ;;
|
||||
+ esac
|
||||
elif test "$arg" = "-lm"; then
|
||||
case "$host" in
|
||||
*-*-cygwin* | *-*-beos*)
|
||||
@@ -1091,6 +1102,10 @@ compiler."
|
||||
deplibs="$deplibs $arg"
|
||||
;;
|
||||
|
||||
+ -?thread)
|
||||
+ deplibs="$deplibs $arg"
|
||||
+ ;;
|
||||
+
|
||||
-module)
|
||||
module=yes
|
||||
continue
|
||||
@@ -1799,6 +1814,9 @@ compiler."
|
||||
# rhapsody is a little odd...
|
||||
deplibs="$deplibs -framework System"
|
||||
;;
|
||||
+ *-*-openbsd*)
|
||||
+ # Do not include libc due to us having libc/libc_r.
|
||||
+ ;;
|
||||
*)
|
||||
# Add libc to deplibs on all other systems.
|
||||
deplibs="$deplibs -lc"
|
||||
@@ -3567,40 +3585,6 @@ libdir='$install_libdir'\
|
||||
# Exit here if they wanted silent mode.
|
||||
test "$show" = : && exit 0
|
||||
|
||||
- echo "----------------------------------------------------------------------"
|
||||
- echo "Libraries have been installed in:"
|
||||
- for libdir in $libdirs; do
|
||||
- echo " $libdir"
|
||||
- done
|
||||
- echo
|
||||
- echo "If you ever happen to want to link against installed libraries"
|
||||
- echo "in a given directory, LIBDIR, you must either use libtool, and"
|
||||
- echo "specify the full pathname of the library, or use \`-LLIBDIR'"
|
||||
- echo "flag during linking and do at least one of the following:"
|
||||
- if test -n "$shlibpath_var"; then
|
||||
- echo " - add LIBDIR to the \`$shlibpath_var' environment variable"
|
||||
- echo " during execution"
|
||||
- fi
|
||||
- if test -n "$runpath_var"; then
|
||||
- echo " - add LIBDIR to the \`$runpath_var' environment variable"
|
||||
- echo " during linking"
|
||||
- fi
|
||||
- if test -n "$hardcode_libdir_flag_spec"; then
|
||||
- libdir=LIBDIR
|
||||
- eval flag=\"$hardcode_libdir_flag_spec\"
|
||||
-
|
||||
- echo " - use the \`$flag' linker flag"
|
||||
- fi
|
||||
- if test -n "$admincmds"; then
|
||||
- echo " - have your system administrator run these commands:$admincmds"
|
||||
- fi
|
||||
- if test -f /etc/ld.so.conf; then
|
||||
- echo " - have your system administrator add LIBDIR to \`/etc/ld.so.conf'"
|
||||
- fi
|
||||
- echo
|
||||
- echo "See any operating system documentation about shared libraries for"
|
||||
- echo "more information, such as the ld(1) and ld.so(8) manual pages."
|
||||
- echo "----------------------------------------------------------------------"
|
||||
exit 0
|
||||
;;
|
||||
|
11
x11/gnome/applets/patches/patch-modemlights-modemlights.h
Normal file
11
x11/gnome/applets/patches/patch-modemlights-modemlights.h
Normal file
@ -0,0 +1,11 @@
|
||||
--- modemlights/modemlights.h.orig Fri Jun 8 21:23:34 2001
|
||||
+++ modemlights/modemlights.h Fri Jun 8 21:23:41 2001
|
||||
@@ -17,6 +17,8 @@
|
||||
#include <net/if.h>
|
||||
|
||||
#ifdef __OpenBSD__
|
||||
+# include <sys/timeout.h>
|
||||
+# include <net/ppp_defs.h>
|
||||
# include <net/bpf.h>
|
||||
# include <net/if_pppvar.h>
|
||||
# include <net/if_ppp.h>
|
11
x11/gnome/applets/patches/patch-omf-install_Makefile_in
Normal file
11
x11/gnome/applets/patches/patch-omf-install_Makefile_in
Normal file
@ -0,0 +1,11 @@
|
||||
$OpenBSD: patch-omf-install_Makefile_in,v 1.1.1.1 2001/09/13 21:23:08 todd Exp $
|
||||
--- omf-install/Makefile.in.orig Wed Mar 28 20:39:35 2001
|
||||
+++ omf-install/Makefile.in Thu Sep 13 18:35:39 2001
|
||||
@@ -278,7 +278,6 @@ install-data-local:
|
||||
-for file in $(srcdir)/*.omf; do \
|
||||
$(INSTALL_DATA) $(srcdir)/$$file $(DESTDIR)$(omf_dest_dir); \
|
||||
done
|
||||
- -scrollkeeper-update -p $(scrollkeeper_localstate_dir)
|
||||
|
||||
uninstall-local:
|
||||
-for file in $(srcdir)/*.omf; do \
|
56
x11/gnome/applets/pkg/DEINSTALL
Normal file
56
x11/gnome/applets/pkg/DEINSTALL
Normal file
@ -0,0 +1,56 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# $OpenBSD: DEINSTALL,v 1.1.1.1 2001/09/13 21:23:08 todd Exp $
|
||||
#
|
||||
|
||||
echo
|
||||
echo "*=================[ $1"
|
||||
|
||||
# scrollkeeper
|
||||
echo "*"
|
||||
echo "* Running scrollkeeper-update..."
|
||||
/usr/local/bin/scrollkeeper-update -p $(/usr/local/bin/scrollkeeper-config --pkglocalstatedir)
|
||||
echo "*"
|
||||
|
||||
echo "* To really remove $1 from your system you should also"
|
||||
echo "* remove the configuration files from the /etc directory."
|
||||
echo "* If you are planning on installing $1 again in the future"
|
||||
echo "* you can leave it as it is."
|
||||
echo "*"
|
||||
echo "* FYI, the following configuration files belongs to this package:"
|
||||
echo "*"
|
||||
for f in \
|
||||
CORBA/servers/another_clock_applet.gnorba \
|
||||
CORBA/servers/asclock_applet.gnorba \
|
||||
CORBA/servers/battery_applet.gnorba \
|
||||
CORBA/servers/charpick_applet.gnorba \
|
||||
CORBA/servers/clockmail_applet.gnorba \
|
||||
CORBA/servers/drivemount_applet.gnorba \
|
||||
CORBA/servers/fifteen_applet.gnorba \
|
||||
CORBA/servers/geyes_applet.gnorba \
|
||||
CORBA/servers/gkb_applet.gnorba \
|
||||
CORBA/servers/jbc_applet.gnorba \
|
||||
CORBA/servers/life_applet.gnorba \
|
||||
CORBA/servers/mini-commander_applet.gnorba \
|
||||
CORBA/servers/quicklaunch_applet.gnorba \
|
||||
CORBA/servers/tickastat_applet.gnorba \
|
||||
CORBA/servers/webcontrol_applet.gnorba \
|
||||
CORBA/servers/whereami_applet.gnorba \
|
||||
CORBA/servers/odometer_applet.gnorba \
|
||||
CORBA/servers/cpumemusage_applet.gnorba \
|
||||
CORBA/servers/diskusage_applet.gnorba \
|
||||
CORBA/servers/multiload_applet.gnorba \
|
||||
CORBA/servers/gweather.gnorba \
|
||||
CORBA/servers/gtik2_applet.gnorba \
|
||||
CORBA/servers/slash_applet.gnorba \
|
||||
CORBA/servers/mixer_applet.gnorba \
|
||||
CORBA/servers/modemlights_applet.gnorba \
|
||||
CORBA/servers/sound-monitor_applet.gnorba \
|
||||
CORBA/servers/gnotes_applet.gnorba
|
||||
do
|
||||
echo "* /etc/$f"
|
||||
done
|
||||
echo "*================= $1 ]"
|
||||
echo
|
||||
|
||||
exit 0
|
7
x11/gnome/applets/pkg/DESCR
Normal file
7
x11/gnome/applets/pkg/DESCR
Normal file
@ -0,0 +1,7 @@
|
||||
This package contains the GNOME panel, the menu system, the session
|
||||
manager, the help system, the GNOME terminal, some essential applets and
|
||||
other basic tools.
|
||||
|
||||
For more information about the GNOME project, visit:
|
||||
|
||||
WWW: http://www.gnome.org
|
108
x11/gnome/applets/pkg/INSTALL
Normal file
108
x11/gnome/applets/pkg/INSTALL
Normal file
@ -0,0 +1,108 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# $OpenBSD: INSTALL,v 1.1.1.1 2001/09/13 21:23:08 todd Exp $
|
||||
|
||||
PREFIX=${PKG_PREFIX:-/usr/local}
|
||||
PKGNAME=gnome-applets
|
||||
DEST_PFX=/etc
|
||||
SOURCE_PFX=${PREFIX}/share/${PKGNAME}
|
||||
|
||||
do_post() {
|
||||
|
||||
echo
|
||||
echo "*=================[ ${PKGNAME}"
|
||||
|
||||
# scrollkeeper
|
||||
echo "*"
|
||||
echo "* Running scrollkeeper-update..."
|
||||
/usr/local/bin/scrollkeeper-update -p $(/usr/local/bin/scrollkeeper-config --pkglocalstatedir)
|
||||
echo "*"
|
||||
|
||||
# install or take note of existing config files
|
||||
for f in \
|
||||
CORBA/servers/another_clock_applet.gnorba \
|
||||
CORBA/servers/asclock_applet.gnorba \
|
||||
CORBA/servers/battery_applet.gnorba \
|
||||
CORBA/servers/charpick_applet.gnorba \
|
||||
CORBA/servers/clockmail_applet.gnorba \
|
||||
CORBA/servers/drivemount_applet.gnorba \
|
||||
CORBA/servers/fifteen_applet.gnorba \
|
||||
CORBA/servers/geyes_applet.gnorba \
|
||||
CORBA/servers/gkb_applet.gnorba \
|
||||
CORBA/servers/jbc_applet.gnorba \
|
||||
CORBA/servers/life_applet.gnorba \
|
||||
CORBA/servers/mini-commander_applet.gnorba \
|
||||
CORBA/servers/quicklaunch_applet.gnorba \
|
||||
CORBA/servers/tickastat_applet.gnorba \
|
||||
CORBA/servers/webcontrol_applet.gnorba \
|
||||
CORBA/servers/whereami_applet.gnorba \
|
||||
CORBA/servers/odometer_applet.gnorba \
|
||||
CORBA/servers/cpumemusage_applet.gnorba \
|
||||
CORBA/servers/diskusage_applet.gnorba \
|
||||
CORBA/servers/multiload_applet.gnorba \
|
||||
CORBA/servers/gweather.gnorba \
|
||||
CORBA/servers/gtik2_applet.gnorba \
|
||||
CORBA/servers/slash_applet.gnorba \
|
||||
CORBA/servers/mixer_applet.gnorba \
|
||||
CORBA/servers/modemlights_applet.gnorba \
|
||||
CORBA/servers/sound-monitor_applet.gnorba \
|
||||
CORBA/servers/gnotes_applet.gnorba
|
||||
do
|
||||
if [ -f "${DEST_PFX}/$f" ]; then
|
||||
OLD_CONFS="${OLD_CONFS} $f"
|
||||
else
|
||||
if ! install -m 644 ${SOURCE_PFX}/$f ${DEST_PFX}/$f; then
|
||||
echo "* ERROR: The following file could not be installed, exiting: ${DEST_PFX}/$f"
|
||||
exit 1
|
||||
fi
|
||||
NEW_CONFS="${NEW_CONFS} $f"
|
||||
fi
|
||||
done
|
||||
|
||||
# print status report
|
||||
if [ -n "${NEW_CONFS}" ]; then
|
||||
echo "* The following NEW configuration files have been installed:"
|
||||
echo "*"
|
||||
for f in ${NEW_CONFS}; do
|
||||
echo "* ${DEST_PFX}/$f"
|
||||
done
|
||||
fi
|
||||
|
||||
if [ -n "${OLD_CONFS}" ]; then
|
||||
if [ -n "${NEW_CONFS}" ]; then
|
||||
echo "*"
|
||||
fi
|
||||
echo "* The following OLD configuration files was found and have NOT been overwritten:"
|
||||
echo "* You should however manually compare it to it's equivalent in ${SOURCE_PFX}"
|
||||
echo "* and update your configuration if needed."
|
||||
echo "*"
|
||||
for f in ${OLD_CONFS}; do
|
||||
echo "* ${DEST_PFX}/$f"
|
||||
done
|
||||
fi
|
||||
echo "*================= ${PKGNAME} ]"
|
||||
echo
|
||||
}
|
||||
|
||||
# verify proper execution
|
||||
#
|
||||
if [ $# -ne 2 ]; then
|
||||
echo "usage: $0 distname { PRE-INSTALL | POST-INSTALL }" >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# Verify/process the command
|
||||
#
|
||||
case $2 in
|
||||
PRE-INSTALL)
|
||||
;;
|
||||
POST-INSTALL)
|
||||
do_post
|
||||
;;
|
||||
*)
|
||||
echo "usage: $0 distname { PRE-INSTALL | POST-INSTALL }" >&2
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
|
||||
exit 0
|
2336
x11/gnome/applets/pkg/PLIST
Normal file
2336
x11/gnome/applets/pkg/PLIST
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user