1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-29 01:13:08 +00:00

Upgrade to 0.99.1.

This commit is contained in:
Vanilla I. Shu 1999-01-01 06:20:56 +00:00
parent 200d6166e7
commit 0a5e73332a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=15749
7 changed files with 336 additions and 623 deletions

View File

@ -1,13 +1,13 @@
# New ports collection makefile for: gnomecore
# Version required: 0.30
# Version required: 0.99.1
# Date created: 17 March 1998
# Whom: Yukihiro Nakai <Nakai@technologist.com>
#
# $Id: Makefile,v 1.6 1998/11/10 08:59:10 asami Exp $
# $Id: Makefile,v 1.7 1998/11/17 17:37:01 vanilla Exp $
#
DISTNAME= gnome-core-0.30
PKGNAME= gnomecore-0.30
DISTNAME= gnome-core-0.99.1
PKGNAME= gnomecore-0.99.1
CATEGORIES= x11
MASTER_SITES= ftp://ftp.jimpick.com/pub/mirrors/gnome/sources/ \
ftp://ftp.gnome.org/pub/GNOME/sources/
@ -15,9 +15,12 @@ MASTER_SITES= ftp://ftp.jimpick.com/pub/mirrors/gnome/sources/ \
MAINTAINER= Nakai@technologist.com
LIB_DEPENDS= gnome.0:${PORTSDIR}/x11/gnomelibs \
gtop.0:${PORTSDIR}/devel/libgtop
gtop.0:${PORTSDIR}/devel/libgtop \
esd.0:${PORTSDIR}/audio/esound \
ghttp.0:${PORTSDIR}/www/libghttp
USE_X_PREFIX= yes
USE_GMAKE= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --localstatedir=${PREFIX}/share/gnome \
--datadir=${PREFIX}/share/gnome \
@ -25,16 +28,15 @@ CONFIGURE_ARGS= --localstatedir=${PREFIX}/share/gnome \
CONFIGURE_ENV= CPPFLAGS="${CFLAGS} -I${LOCALBASE}/include \
-I${X11BASE}/include" \
CXXFLAGS="${CFLAGS}" \
GTK_CONFIG="${X11BASE}/bin/gtk11-config" \
GTK_CONFIG="${X11BASE}/bin/gtk11d-config" \
GLIB_CONFIG="${X11BASE}/bin/glib11d-config" \
LIBS="-L${LOCALBASE}/lib -L${X11BASE}/lib -lxpg4"
post-install:
@${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib
chown root.kmem ${PREFIX}/bin/cpuload_applet
chown root.kmem ${PREFIX}/bin/cpumemusage_applet
chown root.kmem ${PREFIX}/bin/diskusage_applet
chown root.kmem ${PREFIX}/bin/multiload_applet
chmod 2555 ${PREFIX}/bin/cpuload_applet
chmod 2555 ${PREFIX}/bin/cpumemusage_applet
chmod 2555 ${PREFIX}/bin/diskusage_applet
chmod 2555 ${PREFIX}/bin/multiload_applet

View File

@ -1 +1 @@
MD5 (gnome-core-0.30.tar.gz) = 93fcc3d40d5d8d1fb79f4ac026f83ca8
MD5 (gnome-core-0.99.1.tar.gz) = 5652e843f0406a2000afbf7e7f1b7b41

View File

@ -1,28 +1,21 @@
--- configure.orig Thu Sep 24 08:04:55 1998
+++ configure Thu Oct 15 04:06:29 1998
@@ -942,12 +942,12 @@
if test "$no_gnome_config" = "yes"; then
- echo $ac_n "checking for gnomeConf.sh file in $gnome_prefix""... $ac_c" 1>&6
-echo "configure:947: checking for gnomeConf.sh file in $gnome_prefix" >&5
- if test -f $gnome_prefix/gnomeConf.sh; then
+ echo $ac_n "checking for gnomeConf.sh file in $prefix/share/gnome""... $ac_c" 1>&6
+echo "configure:947: checking for gnomeConf.sh file in $prefix/share/gnome" >&5
+ if test -f $prefix/share/gnome/gnomeConf.sh; then
echo "$ac_t""found" 1>&6
- echo "loading gnome configuration from $gnome_prefix/gnomeConf.sh"
- . $gnome_prefix/gnomeConf.sh
+ echo "loading gnome configuration from $prefix/share/gnome/gnomeConf.sh"
+ . $prefix/share/gnome/gnomeConf.sh
else
echo "$ac_t""not found" 1>&6
@@ -5110,6 +5110,7 @@
case "$host" in
*linux*) CDROM_HOST=linux;;
*solaris*) CDROM_HOST=solaris;;
+*freebsd*) CDROM_HOST=freebsd;;
esac
--- configure.orig Thu Dec 31 00:59:18 1998
+++ configure Fri Jan 1 11:32:51 1999
@@ -1098,13 +1098,13 @@
fi
if test "$no_gnome_config" = "yes"; then
- echo $ac_n "checking for gnomeConf.sh file in $gnome_prefix""... $ac_c" 1>&6
-echo "configure:1103: checking for gnomeConf.sh file in $gnome_prefix" >&5
- if test -f $gnome_prefix/gnomeConf.sh; then
+ echo $ac_n "checking for gnomeConf.sh file in $prefix/share/gnome""... $ac_c" 1>&6
+echo "configure:1103: checking for gnomeConf.sh file in $prefix/share/gnome" >&5
+ if test -f $prefix/share/gnome/gnomeConf.sh; then
echo "$ac_t""found" 1>&6
echo "loading gnome configuration from" \
- "$gnome_prefix/gnomeConf.sh"
- . $gnome_prefix/gnomeConf.sh
+ "$prefix/share/gnome/gnomeConf.sh"
+ . $prefix/share/gnome/gnomeConf.sh
else
echo "$ac_t""not found" 1>&6

View File

@ -1,18 +1,18 @@
--- help-browser/gnome-info2html/utils.c.orig Fri Jul 24 03:13:02 1998
+++ help-browser/gnome-info2html/utils.c Sat Sep 26 23:42:30 1998
@@ -2,7 +2,7 @@
--- help-browser/gnome-info2html/utils.c.orig Tue Dec 29 05:18:57 1998
+++ help-browser/gnome-info2html/utils.c Tue Dec 29 05:19:04 1998
@@ -3,7 +3,7 @@
#include <stdio.h>
#include <string.h>
#include <sys/types.h>
-#include <regex.h>
+#include <gnuregex.h>
#include <glib.h>
--- help-browser/gnome-help-browser.c.orig Fri Jul 24 03:13:01 1998
+++ help-browser/gnome-help-browser.c Sat Sep 26 23:42:30 1998
@@ -65,13 +65,10 @@
static int configCancel(GtkWidget *w, GtkWidget *window);
--- help-browser/gnome-help-browser.c.orig Tue Dec 29 05:19:41 1998
+++ help-browser/gnome-help-browser.c Tue Dec 29 05:20:50 1998
@@ -72,13 +72,10 @@
void destroy_server(HelpWindow win);
/* MANPATH should probably come from somewhere */
-#define DEFAULT_MANPATH "/usr/man:/usr/local/man:/usr/X11R6/man"
@ -28,8 +28,8 @@
#define DEFAULT_MEMCACHESIZE "1000000"
#define DEFAULT_HISTORYLENGTH "1000"
#define HELP_BROWSER_RC_DIR ".gnome-help-browser"
--- help-browser/toc.c.orig Mon Aug 31 19:31:33 1998
+++ help-browser/toc.c Sat Sep 26 23:42:30 1998
--- help-browser/toc.c.orig Tue Dec 29 05:20:55 1998
+++ help-browser/toc.c Tue Dec 29 05:21:48 1998
@@ -19,14 +19,13 @@
static int hideTocInt(GtkWidget *window);
@ -46,7 +46,7 @@
+ { "/usr/share/info", TOC_INFO_TYPE },
+ { "/usr/local/info", TOC_INFO_TYPE },
+ { "/usr/X11R6/info", TOC_INFO_TYPE },
+ { "/usr/X11R6/share/gnome/help", TOC_GHELP_TYPE },
+ { "/usr/X11R6/share/gnome/help", TOC_GHELP_TYPE },
{ NULL, 0 }
};

View File

@ -1,259 +1,305 @@
--- applets/asclock/Makefile.in.orig Sat Sep 26 23:49:56 1998
+++ applets/asclock/Makefile.in Sat Sep 26 23:50:23 1998
@@ -145,7 +145,7 @@
INCLUDES = -I. -I$(srcdir) \
--- applets/asclock/Makefile.in.orig Thu Dec 31 01:54:57 1998
+++ applets/asclock/Makefile.in Fri Jan 1 11:47:02 1999
@@ -152,7 +152,7 @@
-I$(top_srcdir)/intl -I$(top_builddir)/intl \
-I$(srcdir)/../../panel \
-I$(top_builddir)/panel \
- -DGNOMELOCALEDIR=\""$(datadir)/locale"\" \
+ -DGNOMELOCALEDIR=\""$(prefix)/share/locale"\" \
-I$(includedir) $(GNOME_INCLUDEDIR)
-I$(includedir) $(GNOME_INCLUDEDIR) \
-DVERSION=\""$(VERSION)"\"
bin_PROGRAMS = asclock_applet
--- applets/batmon/Makefile.in.orig Thu Sep 24 09:00:17 1998
+++ applets/batmon/Makefile.in Sat Sep 26 23:48:33 1998
@@ -148,7 +148,7 @@
INCLUDES = -I. -I$(srcdir) \
-I$(top_srcdir)/intl -I$(top_builddir)/intl \
--- applets/batmon/Makefile.in.orig Thu Dec 31 01:54:56 1998
+++ applets/batmon/Makefile.in Fri Jan 1 11:46:06 1999
@@ -155,7 +155,7 @@
-I$(top_builddir)/intl \
-I$(top_builddir)/panel \
-I$(srcdir)/../../panel \
- -DGNOMELOCALEDIR=\""$(datadir)/locale"\" \
+ -DGNOMELOCALEDIR=\""$(prefix)/share/locale"\" \
-I$(includedir) $(GNOME_INCLUDEDIR)
bin_PROGRAMS = batmon_applet
--- applets/battery/Makefile.in.orig Thu Sep 24 09:00:37 1998
+++ applets/battery/Makefile.in Sat Sep 26 23:48:33 1998
@@ -146,7 +146,7 @@
INCLUDES = -I. -I$(srcdir) \
-I$(top_srcdir)/intl -I$(top_builddir)/intl \
--- applets/battery/Makefile.in.orig Thu Dec 31 01:55:03 1998
+++ applets/battery/Makefile.in Fri Jan 1 11:46:06 1999
@@ -153,7 +153,7 @@
-I$(top_builddir)/intl \
-I$(top_builddir)/panel \
-I$(srcdir)/../../panel \
- -DGNOMELOCALEDIR=\""$(datadir)/locale"\" \
+ -DGNOMELOCALEDIR=\""$(prefix)/share/locale"\" \
-I$(includedir) $(GNOME_INCLUDEDIR)
bin_PROGRAMS = battery_applet
--- applets/bussign/Makefile.in.orig Thu Sep 24 09:00:56 1998
+++ applets/bussign/Makefile.in Sat Sep 26 23:48:33 1998
@@ -146,7 +146,7 @@
INCLUDES = -I. -I$(srcdir) \
--- applets/bussign/Makefile.in.orig Thu Dec 31 01:55:12 1998
+++ applets/bussign/Makefile.in Fri Jan 1 11:46:06 1999
@@ -152,7 +152,7 @@
-I$(top_srcdir)/intl -I$(top_builddir)/intl \
-I$(top_builddir)/panel \
-I$(srcdir)/../../panel \
- -DGNOMELOCALEDIR=\""$(datadir)/locale"\" \
+ -DGNOMELOCALEDIR=\""$(prefix)/share/locale"\" \
-I$(includedir) $(GNOME_INCLUDEDIR)
bin_PROGRAMS = bussign_applet
--- applets/cdplayer/Makefile.in.orig Thu Sep 24 09:00:47 1998
+++ applets/cdplayer/Makefile.in Sat Sep 26 23:48:33 1998
@@ -146,7 +146,7 @@
INCLUDES = -I. -I$(srcdir) \
--- applets/cdplayer/Makefile.in.orig Thu Dec 31 01:55:14 1998
+++ applets/cdplayer/Makefile.in Fri Jan 1 11:46:06 1999
@@ -152,7 +152,7 @@
-I$(top_srcdir)/intl -I$(top_builddir)/intl \
-I$(top_builddir)/panel \
-I$(srcdir)/../../panel \
- -DGNOMELOCALEDIR=\""$(datadir)/locale"\" \
+ -DGNOMELOCALEDIR=\""$(prefix)/share/locale"\" \
-I$(includedir) $(GNOME_INCLUDEDIR)
bin_PROGRAMS = cdplayer_applet
--- applets/charpick/Makefile.in.orig Sat Sep 26 23:50:49 1998
+++ applets/charpick/Makefile.in Sat Sep 26 23:51:05 1998
@@ -146,7 +146,7 @@
INCLUDES = -I. -I$(srcdir) \
--- applets/charpick/Makefile.in.orig Thu Dec 31 01:55:04 1998
+++ applets/charpick/Makefile.in Fri Jan 1 11:46:06 1999
@@ -152,7 +152,7 @@
-I$(top_srcdir)/intl -I$(top_builddir)/intl \
-I$(top_builddir)/panel \
-I$(srcdir)/../../panel \
- -DGNOMELOCALEDIR=\""$(datadir)/locale"\" \
+ -DGNOMELOCALEDIR=\""$(prefix)/share/locale"\" \
-I$(includedir) $(GNOME_INCLUDEDIR)
bin_PROGRAMS = charpick_applet
--- applets/clockmail/Makefile.in.orig Thu Sep 24 09:00:33 1998
+++ applets/clockmail/Makefile.in Sat Sep 26 23:48:33 1998
@@ -146,7 +146,7 @@
INCLUDES = -I. -I$(srcdir) \
--- applets/clockmail/Makefile.in.orig Thu Dec 31 01:55:01 1998
+++ applets/clockmail/Makefile.in Fri Jan 1 11:46:06 1999
@@ -152,7 +152,7 @@
-I$(top_srcdir)/intl -I$(top_builddir)/intl \
-I$(srcdir)/../../panel \
-I$(top_builddir)/panel \
- -DGNOMELOCALEDIR=\""$(datadir)/locale"\" \
+ -DGNOMELOCALEDIR=\""$(prefix)/share/locale"\" \
-I$(includedir) $(GNOME_INCLUDEDIR)
bin_PROGRAMS = clockmail_applet
--- applets/cpuload/Makefile.in.orig Thu Sep 24 09:00:40 1998
+++ applets/cpuload/Makefile.in Sat Sep 26 23:51:47 1998
@@ -146,7 +146,7 @@
INCLUDES = -I. -I$(srcdir) \
--- applets/cpumemusage/Makefile.in.orig Thu Dec 31 01:55:09 1998
+++ applets/cpumemusage/Makefile.in Fri Jan 1 11:46:06 1999
@@ -152,7 +152,7 @@
-I$(top_srcdir)/intl -I$(top_builddir)/intl \
-I$(srcdir)/../../panel \
-I$(top_builddir)/panel \
- -DGNOMELOCALEDIR=\""$(datadir)/locale"\" \
+ -DGNOMELOCALEDIR=\""$(prefix)/share/locale"\" \
-I$(includedir) $(GNOME_INCLUDEDIR) \
-I$(LIBGTOP_INCS)
--- applets/cpumemusage/Makefile.in.orig Thu Sep 24 09:00:41 1998
+++ applets/cpumemusage/Makefile.in Sat Sep 26 23:52:15 1998
@@ -146,7 +146,7 @@
INCLUDES = -I. -I$(srcdir) \
--- applets/dialer/Makefile.in.orig Thu Dec 31 01:54:58 1998
+++ applets/dialer/Makefile.in Fri Jan 1 11:46:06 1999
@@ -152,7 +152,7 @@
-I$(top_srcdir)/intl -I$(top_builddir)/intl \
-I$(srcdir)/../../panel \
-I$(top_builddir)/panel \
- -DGNOMELOCALEDIR=\""$(datadir)/locale"\" \
+ -DGNOMELOCALEDIR=\""$(prefix)/share/locale"\" \
-I$(includedir) $(GNOME_INCLUDEDIR) \
-I$(LIBGTOP_INCS)
-DVERSION=\""$(VERSION)"\"
--- applets/dialer/Makefile.in.orig Thu Sep 24 09:00:26 1998
+++ applets/dialer/Makefile.in Sat Sep 26 23:48:34 1998
@@ -146,7 +146,7 @@
INCLUDES = -I. -I$(srcdir) \
-I$(top_srcdir)/intl -I$(top_builddir)/intl \
-I$(srcdir)/../../panel \
- -DGNOMELOCALEDIR=\""$(datadir)/locale"\" \
+ -DGNOMELOCALEDIR=\""$(prefix)/share/locale"\" \
-I$(includedir) $(GNOME_INCLUDEDIR)
bin_PROGRAMS = dialer_applet
--- applets/diskusage/Makefile.in.orig Thu Sep 24 09:00:43 1998
+++ applets/diskusage/Makefile.in Sat Sep 26 23:52:41 1998
@@ -146,7 +146,7 @@
INCLUDES = -I. -I$(srcdir) \
--- applets/diskusage/Makefile.in.orig Thu Dec 31 01:55:09 1998
+++ applets/diskusage/Makefile.in Fri Jan 1 11:46:06 1999
@@ -152,7 +152,7 @@
-I$(top_srcdir)/intl -I$(top_builddir)/intl \
-I$(srcdir)/../../panel \
-I$(top_builddir)/panel \
- -DGNOMELOCALEDIR=\""$(datadir)/locale"\" \
+ -DGNOMELOCALEDIR=\""$(prefix)/share/locale"\" \
-I$(includedir) $(GNOME_INCLUDEDIR) $(LIBGTOP_INCS)
bin_PROGRAMS = diskusage_applet
--- applets/drivemount/Makefile.in.orig Thu Sep 24 09:00:32 1998
+++ applets/drivemount/Makefile.in Sat Sep 26 23:48:34 1998
@@ -146,7 +146,7 @@
INCLUDES = -I. -I$(srcdir) \
--- applets/drivemount/Makefile.in.orig Thu Dec 31 01:55:01 1998
+++ applets/drivemount/Makefile.in Fri Jan 1 11:46:06 1999
@@ -152,7 +152,7 @@
-I$(top_srcdir)/intl -I$(top_builddir)/intl \
-I$(srcdir)/../../panel \
-I$(top_builddir)/panel \
- -DGNOMELOCALEDIR=\""$(datadir)/locale"\" \
+ -DGNOMELOCALEDIR=\""$(prefix)/share/locale"\" \
-I$(includedir) $(GNOME_INCLUDEDIR)
bin_PROGRAMS = drivemount_applet
--- applets/fifteen/Makefile.in.orig Thu Sep 24 09:00:35 1998
+++ applets/fifteen/Makefile.in Sat Sep 26 23:48:34 1998
@@ -146,7 +146,7 @@
INCLUDES = -I. -I$(srcdir) \
--- applets/esd-manager/Makefile.in.orig Thu Dec 31 01:55:08 1998
+++ applets/esd-manager/Makefile.in Fri Jan 1 11:46:06 1999
@@ -152,8 +152,8 @@
-I$(top_srcdir)/intl -I$(top_builddir)/intl \
-I$(srcdir)/../../panel \
-I$(top_builddir)/panel \
- -DGNOMELOCALEDIR=\""$(datadir)/locale"\" \
- -I$(includedir) $(GNOME_INCLUDEDIR) $(shell esd-config --cflags)
+ -DGNOMELOCALEDIR=\""$(prefix)/share/locale"\" \
+ -I$(includedir) $(GNOME_INCLUDEDIR) `esd-config --cflags`
bin_PROGRAMS = esdmanager_applet
--- applets/fifteen/Makefile.in.orig Thu Dec 31 01:55:02 1998
+++ applets/fifteen/Makefile.in Fri Jan 1 11:46:06 1999
@@ -152,7 +152,7 @@
-I$(top_srcdir)/intl -I$(top_builddir)/intl \
-I$(srcdir)/../../panel \
-I$(top_builddir)/panel \
- -DGNOMELOCALEDIR=\""$(datadir)/locale"\" \
+ -DGNOMELOCALEDIR=\""$(prefix)/share/locale"\" \
-I$(includedir) $(GNOME_INCLUDEDIR)
bin_PROGRAMS = fifteen_applet
--- applets/fish/Makefile.in.orig Thu Sep 24 09:00:22 1998
+++ applets/fish/Makefile.in Sat Sep 26 23:48:34 1998
@@ -146,7 +146,7 @@
INCLUDES = -I. -I$(srcdir) \
--- applets/fish/Makefile.in.orig Thu Dec 31 01:54:57 1998
+++ applets/fish/Makefile.in Fri Jan 1 11:46:06 1999
@@ -152,7 +152,7 @@
-I$(top_srcdir)/intl -I$(top_builddir)/intl \
-I$(srcdir)/../../panel \
-I$(top_builddir)/panel \
- -DGNOMELOCALEDIR=\""$(datadir)/locale"\" \
+ -DGNOMELOCALEDIR=\""$(prefix)/share/locale"\" \
-I$(includedir) $(GNOME_INCLUDEDIR)
bin_PROGRAMS = fish_applet
--- applets/gen_util/Makefile.in.orig Thu Sep 24 09:00:15 1998
+++ applets/gen_util/Makefile.in Sat Sep 26 23:48:34 1998
@@ -146,7 +146,7 @@
INCLUDES = -I. -I$(srcdir) \
#if DO_EXE
--- applets/fvwm-pager/Makefile.in.orig Thu Dec 31 01:55:17 1998
+++ applets/fvwm-pager/Makefile.in Fri Jan 1 11:46:06 1999
@@ -156,7 +156,7 @@
-I$(top_srcdir)/intl -I$(top_builddir)/intl \
-I$(srcdir)/../../../panel \
-I$(top_builddir)/panel \
- -DGNOMELOCALEDIR=\""$(datadir)/locale"\" \
+ -DGNOMELOCALEDIR=\""$(prefix)/share/locale"\" \
-I$(includedir) $(GNOME_INCLUDEDIR)
bin_PROGRAMS = fvwm-pager
--- applets/gen_util/Makefile.in.orig Thu Dec 31 01:54:55 1998
+++ applets/gen_util/Makefile.in Fri Jan 1 11:46:07 1999
@@ -152,7 +152,7 @@
-I$(top_srcdir)/intl -I$(top_builddir)/intl \
-I$(srcdir)/../../panel \
-I$(top_builddir)/panel \
- -DGNOMELOCALEDIR=\""$(datadir)/locale"\" \
+ -DGNOMELOCALEDIR=\""$(prefix)/share/locale"\" \
-I$(includedir) $(GNOME_INCLUDEDIR)
bin_PROGRAMS = gen_util_applet
--- applets/icewm-pager/Makefile.in.orig Thu Sep 24 09:00:30 1998
+++ applets/icewm-pager/Makefile.in Sat Sep 26 23:48:34 1998
@@ -146,7 +146,7 @@
INCLUDES = -I. -I$(srcdir) \
--- applets/gnome-pager/Makefile.in.orig Thu Dec 31 01:55:04 1998
+++ applets/gnome-pager/Makefile.in Fri Jan 1 11:46:07 1999
@@ -152,7 +152,7 @@
-I$(top_srcdir)/intl -I$(top_builddir)/intl \
-I$(srcdir)/../../panel \
-I$(top_builddir)/panel \
- -DGNOMELOCALEDIR=\""$(datadir)/locale"\" \
+ -DGNOMELOCALEDIR=\""$(prefix)/share/locale"\" \
-I$(includedir) $(GNOME_INCLUDEDIR) \
-DVERSION=\""$(VERSION)"\"
--- applets/gticker/Makefile.in.orig Thu Dec 31 01:55:12 1998
+++ applets/gticker/Makefile.in Fri Jan 1 11:46:07 1999
@@ -150,7 +150,7 @@
INCLUDES = -I. -I$(srcdir) \
-I$(srcdir)/../../panel \
- -DGNOMELOCALEDIR=\""$(datadir)/locale"\" \
+ -DGNOMELOCALEDIR=\""$(prefix)/share/locale"\" \
-I$(top_builddir)/panel \
-I$(includedir) $(GNOME_INCLUDEDIR)
--- applets/icewm-pager/Makefile.in.orig Thu Dec 31 01:55:00 1998
+++ applets/icewm-pager/Makefile.in Fri Jan 1 11:46:07 1999
@@ -152,7 +152,7 @@
-I$(top_srcdir)/intl -I$(top_builddir)/intl \
-I$(srcdir)/../../panel \
-I$(top_builddir)/panel \
- -DGNOMELOCALEDIR=\""$(datadir)/locale"\" \
+ -DGNOMELOCALEDIR=\""$(prefix)/share/locale"\" \
-I$(includedir) $(GNOME_INCLUDEDIR) \
-DVERSION=\""$(VERSION)"\"
--- applets/mini-commander/Makefile.in.orig Thu Dec 31 01:55:07 1998
+++ applets/mini-commander/Makefile.in Fri Jan 1 11:46:07 1999
@@ -156,7 +156,7 @@
-I$(top_srcdir)/intl -I$(top_builddir)/intl \
-I$(top_builddir)/panel \
-I$(srcdir)/../../panel \
- -DGNOMELOCALEDIR=\""$(datadir)/locale"\" \
+ -DGNOMELOCALEDIR=\""$(prefix)/share/locale"\" \
-I$(includedir) $(GNOME_INCLUDEDIR)
bin_PROGRAMS = wmpager_applet
--- applets/mixer/Makefile.in.orig Thu Sep 24 09:00:50 1998
+++ applets/mixer/Makefile.in Sat Sep 26 23:48:34 1998
@@ -146,7 +146,7 @@
INCLUDES = -I. -I$(srcdir) \
bin_PROGRAMS = mini_commander_applet
--- applets/mixer/Makefile.in.orig Thu Dec 31 01:55:15 1998
+++ applets/mixer/Makefile.in Fri Jan 1 11:46:07 1999
@@ -152,7 +152,7 @@
-I$(top_srcdir)/intl -I$(top_builddir)/intl \
-I$(srcdir)/../../panel \
-I$(top_builddir)/panel \
- -DGNOMELOCALEDIR=\""$(datadir)/locale"\" \
+ -DGNOMELOCALEDIR=\""$(prefix)/share/locale"\" \
-I$(includedir) $(GNOME_INCLUDEDIR)
bin_PROGRAMS = mixer_applet
--- applets/modemlights/Makefile.in.orig Thu Sep 24 09:00:52 1998
+++ applets/modemlights/Makefile.in Sat Sep 26 23:48:34 1998
@@ -146,7 +146,7 @@
INCLUDES = -I. -I$(srcdir) \
--- applets/modemlights/Makefile.in.orig Thu Dec 31 01:55:15 1998
+++ applets/modemlights/Makefile.in Fri Jan 1 11:46:07 1999
@@ -152,7 +152,7 @@
-I$(top_srcdir)/intl -I$(top_builddir)/intl \
-I$(srcdir)/../../panel \
-I$(top_builddir)/panel \
- -DGNOMELOCALEDIR=\""$(datadir)/locale"\" \
+ -DGNOMELOCALEDIR=\""$(prefix)/share/locale"\" \
-I$(includedir) $(GNOME_INCLUDEDIR)
-I$(includedir) $(GNOME_INCLUDEDIR) \
-DVERSION=\""$(VERSION)"\"
bin_PROGRAMS = modemlights_applet
--- applets/multiload/Makefile.in.orig Sat Sep 26 23:53:03 1998
+++ applets/multiload/Makefile.in Sat Sep 26 23:53:17 1998
@@ -144,7 +144,7 @@
--- applets/multiload/Makefile.in.orig Thu Dec 31 01:55:10 1998
+++ applets/multiload/Makefile.in Fri Jan 1 11:47:27 1999
@@ -149,7 +149,7 @@
l = @l@
INCLUDES = -I. -I$(srcdir) \
- -DGNOMELOCALEDIR=\""$(datadir)/locale"\" \
+ -DGNOMELOCALEDIR=\""$(prefix)/share/locale"\" \
-I$(srcdir)/../../panel \
-I$(top_builddir)/panel -I$(srcdir)/../../panel \
-I$(includedir) $(GNOME_INCLUDEDIR) $(LIBGTOP_INCS)
--- applets/netload/Makefile.in.orig Thu Sep 24 09:00:25 1998
+++ applets/netload/Makefile.in Sat Sep 26 23:48:34 1998
@@ -146,7 +146,7 @@
INCLUDES = -I. -I$(srcdir) \
--- applets/netload/Makefile.in.orig Thu Dec 31 01:55:11 1998
+++ applets/netload/Makefile.in Fri Jan 1 11:46:07 1999
@@ -152,7 +152,7 @@
-I$(top_srcdir)/intl -I$(top_builddir)/intl \
-I$(srcdir)/../../panel \
-I$(top_builddir)/panel \
- -DGNOMELOCALEDIR=\""$(datadir)/locale"\" \
+ -DGNOMELOCALEDIR=\""$(prefix)/share/locale"\" \
-I$(includedir) $(GNOME_INCLUDEDIR) \
$(LIBGTOP_INCS)
--- applets/slashapp/Makefile.in.orig Thu Dec 31 01:55:13 1998
+++ applets/slashapp/Makefile.in Fri Jan 1 11:46:07 1999
@@ -151,7 +151,7 @@
INCLUDES = -I. -I$(srcdir) \
-I$(srcdir)/../../panel \
-I$(top_builddir)/panel \
- -DGNOMELOCALEDIR=\""$(datadir)/locale"\" \
+ -DGNOMELOCALEDIR=\""$(prefix)/share/locale"\" \
-I$(includedir) $(GNOME_INCLUDEDIR)
bin_PROGRAMS = netload_applet
--- applets/webcontrol/Makefile.in.orig Thu Sep 24 09:00:28 1998
+++ applets/webcontrol/Makefile.in Sat Sep 26 23:48:34 1998
@@ -146,7 +146,7 @@
INCLUDES = -I. -I$(srcdir) \
bin_PROGRAMS = slash_applet
--- applets/webcontrol/Makefile.in.orig Thu Dec 31 01:54:59 1998
+++ applets/webcontrol/Makefile.in Fri Jan 1 11:46:07 1999
@@ -152,7 +152,7 @@
-I$(top_srcdir)/intl -I$(top_builddir)/intl \
-I$(top_builddir)/panel \
-I$(srcdir)/../../panel \
- -DGNOMELOCALEDIR=\""$(datadir)/locale"\" \
+ -DGNOMELOCALEDIR=\""$(prefix)/share/locale"\" \
-I$(includedir) $(GNOME_INCLUDEDIR)
bin_PROGRAMS = webcontrol_applet
--- applets/winlist/Makefile.in.orig Thu Sep 24 09:00:54 1998
+++ applets/winlist/Makefile.in Sat Sep 26 23:48:34 1998
@@ -146,7 +146,7 @@
INCLUDES = -I. -I$(srcdir) \
--- applets/winlist/Makefile.in.orig Thu Dec 31 01:55:16 1998
+++ applets/winlist/Makefile.in Fri Jan 1 11:46:07 1999
@@ -152,7 +152,7 @@
-I$(top_srcdir)/intl -I$(top_builddir)/intl \
-I$(top_builddir)/panel \
-I$(srcdir)/../../panel \
- -DGNOMELOCALEDIR=\""$(datadir)/locale"\" \
+ -DGNOMELOCALEDIR=\""$(prefix)/share/locale"\" \
-I$(includedir) $(GNOME_INCLUDEDIR)
bin_PROGRAMS = winlist_applet
--- desktop-properties/Makefile.in.orig Thu Sep 24 08:59:56 1998
+++ desktop-properties/Makefile.in Sat Sep 26 23:48:34 1998
@@ -144,7 +144,7 @@
l = @l@
INCLUDES = \
- -DGNOMELOCALEDIR=\""$(datadir)/locale"\" \
+ -DGNOMELOCALEDIR=\""$(prefix)/share/locale"\" \
-I$(top_srcdir)/intl -I$(top_builddir)/intl \
-I$(includedir) $(X_CFLAGS) $(GNOME_INCLUDEDIR)
--- gmenu/Makefile.in.orig Thu Sep 24 09:00:07 1998
+++ gmenu/Makefile.in Sat Sep 26 23:48:34 1998
@@ -144,7 +144,7 @@
--- gmenu/Makefile.in.orig Thu Dec 31 01:54:52 1998
+++ gmenu/Makefile.in Fri Jan 1 11:46:07 1999
@@ -149,7 +149,7 @@
l = @l@
INCLUDES = \
@ -262,9 +308,9 @@
-I$(top_srcdir)/intl -I$(top_builddir)/intl \
-I$(includedir) $(GNOME_INCLUDEDIR)
--- gnome-terminal/Makefile.in.orig Thu Sep 24 09:00:03 1998
+++ gnome-terminal/Makefile.in Sat Sep 26 23:48:34 1998
@@ -148,7 +148,7 @@
--- gnome-terminal/Makefile.in.orig Thu Dec 31 01:54:50 1998
+++ gnome-terminal/Makefile.in Fri Jan 1 11:46:07 1999
@@ -153,7 +153,7 @@
-I$(top_srcdir)/intl \
-I$(top_builddir)/intl \
$(GNOME_INCLUDEDIR) \
@ -273,9 +319,9 @@
LDADD = \
$(GNOME_LIBDIR) \
--- gsm/Makefile.in.orig Thu Sep 24 08:59:50 1998
+++ gsm/Makefile.in Sat Sep 26 23:48:34 1998
@@ -145,7 +145,7 @@
--- gsm/Makefile.in.orig Thu Dec 31 01:54:44 1998
+++ gsm/Makefile.in Fri Jan 1 11:46:07 1999
@@ -150,7 +150,7 @@
INCLUDES = -I$(includedir) $(GNOME_INCLUDEDIR) \
-I$(top_srcdir)/intl -I$(top_builddir)/intl \
@ -284,38 +330,60 @@
-DDEFAULTDIR="\"$(datadir)\""
LDADD = $(GNOME_LIBDIR) $(GNOMEUI_LIBS) $(INTLLIBS)
--- panel/Makefile.in.orig Thu Sep 24 09:00:09 1998
+++ panel/Makefile.in Sun Sep 27 00:00:12 1998
@@ -151,7 +151,7 @@
--- help-browser/Makefile.in.orig Thu Dec 31 01:54:48 1998
+++ help-browser/Makefile.in Fri Jan 1 11:46:07 1999
@@ -154,8 +154,8 @@
-I$(includedir) \
-I$(top_srcdir)/intl -I$(top_builddir)/intl \
$(GNOME_INCLUDEDIR) \
- -DGNOMEHELPPATH=\""$(datadir)/gnome/help\"" \
- -DGNOMELOCALEDIR=\""$(datadir)/locale\"" \
+ -DGNOMEHELPPATH=\""$(datadir)/help\"" \
+ -DGNOMELOCALEDIR=\""$(prefix)/share/locale\"" \
-DVERSION=\""$(VERSION)"\"
INCLUDES = -I. -I$(srcdir) \
-I$(top_srcdir)/intl -I$(top_builddir)/intl \
LDADD = \
@@ -215,7 +215,7 @@
toc.h toc-man.h toc-ghelp.h toc-info.h \
$(PIXMAPS) gnome-help.desktop help-browser.gnorba
-help_browser_helpdir = $(datadir)/gnome/help/help-browser/C
+help_browser_helpdir = $(datadir)/help/help-browser/C
sysdir = $(datadir)/apps
sys_DATA = gnome-help.desktop
--- panel/Makefile.in.orig Thu Dec 31 01:54:53 1998
+++ panel/Makefile.in Fri Jan 1 11:46:07 1999
@@ -158,7 +158,7 @@
-I$(top_srcdir)/intl \
-I$(top_builddir)/intl \
-I$(top_builddir)/panel \
- -DGNOMELOCALEDIR=\""$(datadir)/locale"\" \
+ -DGNOMELOCALEDIR=\""$(prefix)/share/locale"\" \
-I$(includedir) $(GNOME_INCLUDEDIR) $(ORB_CFLAGS)
bin_PROGRAMS = panel
@@ -178,7 +178,7 @@
applet-widget.h \
@@ -180,7 +180,7 @@
gnome-panel.h \
panel-types.h
-libpanel_applet_la_LDFLAGS = -version-info 0:0:0 -rpath $(libdir)
+libpanel_applet_la_LDFLAGS = -version-info 0:30:0 -rpath $(libdir)
+libpanel_applet_la_LDFLAGS = -version-info 0:99:0 -rpath $(libdir)
libpanel_applet_la_LIBADD = $(ORB_LIBS) -lm $(DL_LIB)
BUILT_SOURCES = $(CORBA_SRCLIST)
@@ -244,7 +244,7 @@
panel.in \
appletsConf.sh.in
@@ -245,7 +245,7 @@
panel.gnorba \
panel.soundlist
-confexecdir = $(libdir)
+confexecdir = $(datadir)
confexec_DATA = appletsConf.sh
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
CONFIG_HEADER = ../config.h
--- smproxy/Makefile.in.orig Thu Sep 24 08:59:51 1998
+++ smproxy/Makefile.in Sun Sep 27 00:01:00 1998
@@ -144,7 +144,7 @@
panelgnorbadir = $(sysconfdir)/CORBA/servers
--- smproxy/Makefile.in.orig Thu Dec 31 01:54:45 1998
+++ smproxy/Makefile.in Fri Jan 1 11:46:07 1999
@@ -149,7 +149,7 @@
l = @l@
INCLUDES = -I$(includedir) $(GNOME_INCLUDEDIR) \
@ -324,9 +392,9 @@
LDADD = -lXt -lXmu $(GNOME_LIBDIR) $(GNOMEUI_LIBS) $(INTLLIBS)
--- core-docs/Makefile.in.orig Thu Sep 24 09:00:04 1998
+++ core-docs/Makefile.in Sat Sep 26 23:48:34 1998
@@ -151,7 +151,7 @@
--- core-docs/Makefile.in.orig Thu Dec 31 01:54:51 1998
+++ core-docs/Makefile.in Fri Jan 1 11:46:07 1999
@@ -156,7 +156,7 @@
YACC = @YACC@
l = @l@
@ -335,87 +403,14 @@
GNOME_INTRO_HTML_FILES = \
gnome-intro/c93191.html \
--- help-browser/Makefile.in.orig Thu Sep 24 08:59:59 1998
+++ help-browser/Makefile.in Sat Sep 26 23:48:34 1998
@@ -149,8 +149,8 @@
-I$(includedir) \
-I$(top_srcdir)/intl -I$(top_builddir)/intl \
$(GNOME_INCLUDEDIR) \
- -DGNOMEHELPPATH=\""$(datadir)/gnome/help\"" \
- -DGNOMELOCALEDIR=\""$(datadir)/locale\""
+ -DGNOMEHELPPATH=\""$(datadir)/help\"" \
+ -DGNOMELOCALEDIR=\""$(prefix)/share/locale\""
--- po/Makefile.in.in.orig Thu Dec 31 00:59:06 1998
+++ po/Makefile.in.in Fri Jan 1 11:46:07 1999
@@ -18,7 +18,7 @@
LDADD = \
$(GNOME_LIBDIR) \
@@ -184,7 +184,7 @@
toc.h toc-man.h toc-ghelp.h toc-info.h \
$(PIXMAPS) gnome-help.desktop
-help_browser_helpdir = $(datadir)/gnome/help/help-browser/C
+help_browser_helpdir = $(datadir)/help/help-browser/C
sysdir = $(datadir)/apps
sys_DATA = gnome-help.desktop
--- capplets/keyboard-properties/Makefile.in.orig Sun Sep 27 00:07:30 1998
+++ capplets/keyboard-properties/Makefile.in Sun Sep 27 00:07:41 1998
@@ -146,7 +146,7 @@
INCLUDES = -I. -I$(srcdir) \
-I$(top_srcdir)/intl -I$(top_builddir)/intl \
-I$(srcdir)/../../control-center \
- -DGNOMELOCALEDIR=\""$(datadir)/locale"\" \
+ -DGNOMELOCALEDIR=\""$(prefix)/share/locale"\" \
-I$(includedir) $(GNOME_INCLUDEDIR)
bin_PROGRAMS = keyboard-properties
--- capplets/mouse-properties/Makefile.in.orig Sun Sep 27 00:07:13 1998
+++ capplets/mouse-properties/Makefile.in Sun Sep 27 00:07:24 1998
@@ -146,7 +146,7 @@
INCLUDES = -I. -I$(srcdir) \
-I$(top_srcdir)/intl -I$(top_builddir)/intl \
-I$(srcdir)/../../control-center \
- -DGNOMELOCALEDIR=\""$(datadir)/locale"\" \
+ -DGNOMELOCALEDIR=\""$(prefix)/share/locale"\" \
-I$(includedir) $(GNOME_INCLUDEDIR)
bin_PROGRAMS = mouse-properties
--- capplets/screensaver-properties/Makefile.in.orig Sun Sep 27 00:07:49 1998
+++ capplets/screensaver-properties/Makefile.in Sun Sep 27 00:08:00 1998
@@ -146,7 +146,7 @@
INCLUDES = -I. -I$(srcdir) \
-I$(top_srcdir)/intl -I$(top_builddir)/intl \
-I$(srcdir)/../../control-center \
- -DGNOMELOCALEDIR=\""$(datadir)/locale"\" \
+ -DGNOMELOCALEDIR=\""$(prefix)/share/locale"\" \
-I$(includedir) $(GNOME_INCLUDEDIR)
bin_PROGRAMS = screensaver-properties-capplet
--- control-center/Makefile.in.orig Thu Sep 24 09:00:58 1998
+++ control-center/Makefile.in Sun Sep 27 03:15:36 1998
@@ -144,7 +144,7 @@
l = @l@
INCLUDES = \
- -DGNOMELOCALEDIR=\""$(datadir)/locale"\" \
+ -DGNOMELOCALEDIR=\""$(prefix)/share/locale"\" \
-I$(top_srcdir)/intl -I$(top_builddir)/intl \
-I$(includedir) $(GNOME_INCLUDEDIR)
@@ -177,7 +177,7 @@
sysdir = $(datadir)/apps/System
sys_DATA = gnomecc.desktop
-confexecdir = $(libdir)
+confexecdir = $(datadir)
confexec_DATA = cappletConf.sh
libcapplet_la_SOURCES = \
@@ -186,7 +186,7 @@
capplet-widget-libs.h \
$(CORBA_SRCLIST)
-libcapplet_la_LDFLAGS = -version-info 0:0:0 -rpath $(libdir)
+libcapplet_la_LDFLAGS = -version-info 0:30:0 -rpath $(libdir)
libcapplet_la_LIBADD = $(ORB_LIBS) -lm $(DL_LIB)
include_HEADERS = capplet-widget.h
prefix = @prefix@
exec_prefix = @exec_prefix@
-datadir = $(prefix)/@DATADIRNAME@
+datadir = $(prefix)/share
localedir = $(datadir)/locale
gnulocaledir = $(prefix)/share/locale
gettextsrcdir = $(prefix)/share/gettext/po

View File

@ -1,300 +0,0 @@
--- applets/cdplayer/cdrom-freebsd.c.orig Thu Oct 15 04:04:38 1998
+++ applets/cdplayer/cdrom-freebsd.c Thu Oct 15 04:18:21 1998
@@ -0,0 +1,297 @@
+#include <stdlib.h>
+#include <string.h>
+#include <fcntl.h>
+#include <glib.h>
+
+#include <sys/types.h>
+#include <sys/cdio.h>
+#include "cdrom-interface.h"
+
+
+#define ASSIGN_MSF(dest, src) \
+{ \
+ (dest).minute = (src).minute; \
+ (dest).second = (src).second; \
+ (dest).frame = (src).frame; \
+}
+
+int
+cdrom_play(cdrom_device_t cdp, int start, int stop)
+{
+ struct ioc_play_track ti;
+
+ ti.start_track = start;
+ ti.start_index = 1;
+ ti.end_track = stop;
+ ti.end_index = 1;
+ if(ioctl(cdp->device, CDIOCPLAYTRACKS, &ti) == -1) {
+ cdp->my_errno = errno;
+ return DISC_IO_ERROR;
+ }
+ return DISC_NO_ERROR;
+}
+
+int
+cdrom_play_msf(cdrom_device_t cdp, cdrom_msf_t * start)
+{
+ struct ioc_play_msf msf;
+
+ if (cdrom_read_track_info(cdp) == DISC_IO_ERROR)
+ return DISC_IO_ERROR;
+ msf.start_m = start->minute;
+ msf.start_s = start->second;
+ msf.start_f = start->frame;
+
+ msf.end_m = cdp->track_info[cdp->nr_track].address.minute;
+ msf.end_s = cdp->track_info[cdp->nr_track].address.second;
+ msf.end_f = cdp->track_info[cdp->nr_track].address.frame;
+
+ if (ioctl(cdp->device, CDIOCPLAYMSF, &msf) == -1) {
+ cdp->my_errno = errno;
+ return DISC_IO_ERROR;
+ }
+ return DISC_NO_ERROR;
+}
+
+int
+cdrom_pause(cdrom_device_t cdp)
+{
+ if (ioctl(cdp->device, CDIOCPAUSE, 0) == -1) {
+ cdp->my_errno = errno;
+ return DISC_IO_ERROR;
+ }
+ return DISC_NO_ERROR;
+}
+
+int
+cdrom_resume(cdrom_device_t cdp)
+{
+ if (ioctl(cdp->device, CDIOCRESUME, 0) == -1) {
+ cdp->my_errno = errno;
+ return DISC_IO_ERROR;
+ }
+ return DISC_NO_ERROR;
+}
+
+int
+cdrom_stop(cdrom_device_t cdp)
+{
+ if (ioctl(cdp->device, CDIOCSTOP, 0) == -1) {
+ cdp->my_errno = errno;
+ return DISC_IO_ERROR;
+ }
+ return DISC_NO_ERROR;
+}
+
+int
+cdrom_read_track_info(cdrom_device_t cdp)
+{
+ struct ioc_toc_header hdr;
+ struct ioc_read_toc_entry toc;
+ struct cd_toc_entry tocentry;
+
+ int i, j, nr_track;
+
+ if (ioctl(cdp->device, CDIOREADTOCHEADER, &hdr) == -1) {
+ cdp->my_errno = errno;
+ return DISC_IO_ERROR;
+ }
+ cdp->track0 = hdr.starting_track;
+ cdp->track1 = hdr.ending_track;
+ nr_track = hdr.ending_track - hdr.starting_track + 1;
+ if (nr_track <= 0)
+ return DISC_IO_ERROR;
+
+ if(nr_track != cdp->nr_track) {
+ if (cdp->track_info)
+ g_free(cdp->track_info);
+ cdp->nr_track = nr_track;
+ cdp->track_info = g_malloc((cdp->nr_track + 1) * sizeof(track_info_t));
+ }
+ for (i = 0, j = cdp->track0; i < cdp->nr_track; i++, j++) {
+ toc.starting_track = j;
+ toc.address_format = CD_MSF_FORMAT;
+
+ if (ioctl(cdp->device, CDIOREADTOCENTRY, &toc) == -1) {
+ cdp->my_errno = errno;
+ return DISC_IO_ERROR;
+ }
+ cdp->track_info[i].track = j;
+ cdp->track_info[i].audio_track = tocentry.control !=
+ 0 ? 1 : 0;
+ ASSIGN_MSF(cdp->track_info[i].address, tocentry.addr.msf);
+ }
+
+#if 0
+#define LEADOUT = 0xaa
+ toc.starting_track = LEADOUT;
+ toc.address_format = CD_MSF_FORMAT;
+ if (ioctl(cdp->device, CDROMREADTOENTRY, &toc) == -1) {
+ cdp->my_errno = errno;
+ return DISC_IO_ERROR;
+ }
+#endif
+ cdp->track_info[i].track = j;
+ cdp->track_info[i].audio_track = 0;
+ ASSIGN_MSF(cdp->track_info[i].address, tocentry.addr.msf);
+
+ return DISC_NO_ERROR;
+}
+
+int
+cdrom_get_status(cdrom_device_t cdp, cdrom_device_status_t * stat)
+{
+ struct ioc_read_subchannel sc;
+ struct cd_sub_channel_info scd;
+
+ sc.address_format = CD_MSF_FORMAT;
+ if (ioctl(cdp->device, CDIOCREADSUBCHANNEL, &sc) == -1) {
+ cdp->my_errno = errno;
+ return DISC_IO_ERROR;
+ }
+ switch (scd.header.audio_status) {
+ case CD_AS_PLAY_IN_PROGRESS:
+ stat->audio_status = DISC_PLAY;
+ break;
+ case CD_AS_PLAY_PAUSED:
+ stat->audio_status = DISC_PAUSED;
+ break;
+ case CD_AS_PLAY_COMPLETED:
+ stat->audio_status = DISC_COMPLETED;
+ break;
+ case CD_AS_AUDIO_INVALID:
+ case CD_AS_PLAY_ERROR:
+ case CD_AS_NO_STATUS:
+ stat->audio_status = DISC_STOP;
+ break;
+ default:
+ stat->audio_status = DISC_ERROR;
+ }
+ stat->track = scd.what.position.track_number;
+ ASSIGN_MSF(stat->relative_address, scd.what.position.reladdr.msf);
+ ASSIGN_MSF(stat->absolute_address, scd.what.position.absaddr.msf);
+ return DISC_NO_ERROR;
+}
+
+cdrom_device_t
+cdrom_open(char *device, int *errcode)
+{
+ cdrom_device_t cdp;
+
+ cdp = g_malloc(sizeof(struct cdrom_device));
+
+ cdp->device = open(device, O_RDONLY);
+ if (cdp->device == -1) {
+ *errcode = errno;
+ g_free(cdp);
+ return NULL;
+ }
+ cdp->nr_track = 0;
+ cdp->track_info = NULL;
+ return cdp;
+}
+
+void
+cdrom_close(cdrom_device_t cdp)
+{
+ if (cdp->nr_track)
+ g_free(cdp->track_info);
+ close(cdp->device);
+ g_free(cdp);
+}
+
+int
+cdrom_eject(cdrom_device_t cdp)
+{
+ if (ioctl(cdp->device, CDIOCEJECT, 0) == -1 ) {
+ cdp->my_errno = errno;
+ return DISC_IO_ERROR;
+ }
+ return DISC_NO_ERROR;
+}
+
+int
+cdrom_next(cdrom_device_t cdp)
+{
+ cdrom_device_status_t stat;
+ int track;
+
+ if ((cdrom_read_track_info(cdp) == DISC_IO_ERROR) ||
+ (cdrom_get_status(cdp, &stat) == DISC_IO_ERROR))
+ return DISC_IO_ERROR;
+ track = stat.track + 1;
+ return cdrom_play(cdp, track, cdp->track1);
+}
+
+int
+cdrom_prev(cdrom_device_t cdp)
+{
+ cdrom_device_status_t stat;
+ int track;
+
+ if ((cdrom_read_track_info(cdp) == DISC_IO_ERROR) ||
+ (cdrom_get_status(cdp, &stat) == DISC_IO_ERROR))
+ return DISC_IO_ERROR;
+ track = stat.track - 1;
+ return cdrom_play(cdp, track, cdp->track1);
+}
+
+int
+cdrom_rewind(cdrom_device_t cdp)
+{
+ cdrom_device_status_t stat;
+ int track;
+
+ if ((cdrom_read_track_info(cdp) == DISC_IO_ERROR) ||
+ (cdrom_get_status(cdp, &stat) == DISC_IO_ERROR))
+ return DISC_IO_ERROR;
+ if (stat.absolute_address.second != 0)
+ stat.absolute_address.second--;
+ else {
+ stat.absolute_address.second = 0;
+ if (stat.absolute_address.minute > 0)
+ stat.absolute_address.minute--;
+ }
+ stat.absolute_address.frame = 0;
+ return cdrom_play_msf(cdp, &stat.absolute_address);
+}
+
+int
+cdrom_ff(cdrom_device_t cdp)
+{
+ cdrom_device_status_t stat;
+ int track;
+
+ if ((cdrom_read_track_info(cdp) == DISC_IO_ERROR) ||
+ (cdrom_get_status(cdp, &stat) == DISC_IO_ERROR))
+ return DISC_IO_ERROR;
+ stat.absolute_address.second++;
+ if (stat.absolute_address.second >= 60) {
+ stat.absolute_address.minute++;
+ stat.absolute_address.second = 0;
+ }
+ stat.absolute_address.frame = 0;
+ return cdrom_play_msf(cdp, &stat.absolute_address);
+}
+
+int
+cdrom_track_length(cdrom_device_t cdp, int track, cdrom_msf_t * length)
+{
+ int index, s1, s2, i;
+
+ if ((track < cdp->track0) || (track > cdp->track1))
+ return DISC_INDEX_OUT_OF_RANGE;
+ index = track - cdp->track0;
+
+ s1 = cdp->track_info[index + 1].address.second;
+ s2 = cdp->track_info[index].address.second;
+ length->second = s1 = s1 - s2;
+ if (s1 < 0) {
+ i = 1;
+ length->second = s1 + 60;
+ } else
+ i = 0;
+
+ length->minute = cdp->track_info[index + 1].address.minute -
+ cdp->track_info[index].address.minute - i;
+}

View File

@ -1,70 +1,88 @@
bin/asclock_applet
bin/background-properties
bin/batmon_applet
bin/battery_applet
bin/bell-properties
bin/cdplayer_applet
bin/bussign_applet
bin/charpick_applet
bin/clockmail_applet
bin/cpuload_applet
bin/cpumemusage_applet
bin/dialer_applet
bin/diskusage_applet
bin/drivemount_applet
bin/fifteen_applet
bin/fish_applet
bin/gen_util_applet
bin/gmenu
bin/gnome-help-browser
bin/gnome-help-caller
bin/gnome-info2html
bin/gnome-man2html
bin/gnome-session
bin/gnome-smproxy
bin/gnome-terminal
bin/gnomecc
bin/keyboard-properties
bin/gnomepager_applet
bin/gticker_applet
bin/mini_commander_applet
bin/mixer_applet
bin/modemlights_applet
bin/mouse-properties
bin/multiload_applet
bin/panel
bin/save-session
bin/screensaver-properties-capplet
bin/session-properties
bin/ui-properties
bin/slash_applet
bin/webcontrol_applet
bin/wmpager_applet
include/applet-lib.h
etc/CORBA/servers/asclock_applet.gnorba
etc/CORBA/servers/batmon_applet.gnorba
etc/CORBA/servers/battery_applet.gnorba
etc/CORBA/servers/charpick_applet.gnorba
etc/CORBA/servers/clockmail_applet.gnorba
etc/CORBA/servers/cpumemusage_applet.gnorba
etc/CORBA/servers/dialer_applet.gnorba
etc/CORBA/servers/diskusage_applet.gnorba
etc/CORBA/servers/drivemount_applet.gnorba
etc/CORBA/servers/fifteen_applet.gnorba
etc/CORBA/servers/fish_applet.gnorba
etc/CORBA/servers/gen_util.gnorba
etc/CORBA/servers/gnomepager_applet.gnorba
etc/CORBA/servers/help-browser.gnorba
etc/CORBA/servers/mini-commander_applet.gnorba
etc/CORBA/servers/mixer_applet.gnorba
etc/CORBA/servers/modemlights_applet.gnorba
etc/CORBA/servers/multiload_applet.gnorba
etc/CORBA/servers/panel.gnorba
etc/CORBA/servers/wmpager_applet.gnorba
etc/sound/events/panel.soundlist
include/applet-widget.h
include/capplet-widget.h
include/gnome-panel.h
include/panel-types.h
lib/libcapplet.a
lib/libcapplet.la
lib/libcapplet.so
lib/libcapplet.so.0.30
lib/libfish_applet.a
lib/libfish_applet.la
lib/libfish_applet.so
lib/libfish_applet.so.0
lib/libpanel_applet.a
lib/libpanel_applet.la
lib/libpanel_applet.so
lib/libpanel_applet.so.0.30
lib/libpanel_applet.so.0.99
@unexec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -R
@exec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -m %B
share/gnome/appletsConf.sh
share/gnome/applets/Amusements/.directory
share/gnome/applets/Amusements/bussign_applet.desktop
share/gnome/applets/Amusements/fifteen_applet.desktop
share/gnome/applets/Amusements/fish_applet.desktop
share/gnome/applets/Amusements/gticker_applet.desktop
share/gnome/applets/Amusements/slash_applet.desktop
share/gnome/applets/Monitors/.directory
share/gnome/applets/Monitors/MultiLoad/.directory
share/gnome/applets/Monitors/MultiLoad/cpuload_applet.desktop
share/gnome/applets/Monitors/MultiLoad/memload_applet.desktop
share/gnome/applets/Monitors/MultiLoad/swapload_applet.desktop
share/gnome/applets/Monitors/batmon_applet.desktop
share/gnome/applets/Monitors/battery_applet.desktop
share/gnome/applets/Monitors/cpuload_applet.desktop
share/gnome/applets/Monitors/cpumemusage_applet.desktop
share/gnome/applets/Monitors/diskusage_applet.desktop
share/gnome/applets/Monitors/memload_applet.desktop
share/gnome/applets/Monitors/swapload_applet.desktop
share/gnome/applets/Multimedia/.directory
share/gnome/applets/Multimedia/cdplayer_applet.desktop
share/gnome/applets/Multimedia/mixer_applet.desktop
share/gnome/applets/Network/.directory
share/gnome/applets/Network/dialer_applet.desktop
share/gnome/applets/Network/mailcheck_applet.desktop
share/gnome/applets/Network/modemlights_applet.desktop
share/gnome/applets/Network/webcontrol_applet.desktop
@ -74,6 +92,8 @@ share/gnome/applets/Utility/charpick_applet.desktop
share/gnome/applets/Utility/clock_applet.desktop
share/gnome/applets/Utility/clockmail_applet.desktop
share/gnome/applets/Utility/drivemount_applet.desktop
share/gnome/applets/Utility/gnomepager_applet.desktop
share/gnome/applets/Utility/mini-commander_applet.desktop
share/gnome/applets/Utility/printer.desktop
share/gnome/applets/Utility/wmpager_applet.desktop
share/gnome/apps/.order
@ -92,14 +112,8 @@ share/gnome/apps/Network/Tkrat.desktop
share/gnome/apps/Productivity/.directory
share/gnome/apps/System/.directory
share/gnome/apps/System/Imlib_config.desktop
share/gnome/apps/System/background.desktop
share/gnome/apps/System/bell.desktop
share/gnome/apps/System/gmenu.desktop
share/gnome/apps/System/gnomecc.desktop
share/gnome/apps/System/keyboard.desktop
share/gnome/apps/System/mouse.desktop
share/gnome/apps/System/session.desktop
share/gnome/apps/System/ui.desktop
share/gnome/apps/Utilities/.directory
share/gnome/apps/Utilities/Eterm.desktop
share/gnome/apps/Utilities/Kterm.desktop
@ -107,18 +121,6 @@ share/gnome/apps/Utilities/UNIX-regular.desktop
share/gnome/apps/Utilities/UNIX.desktop
share/gnome/apps/Utilities/gnome-terminal.desktop
share/gnome/apps/gnome-help.desktop
share/gnome/cappletConf.sh
share/gnome/control-center/.directory
share/gnome/control-center/.data/Deco.desktop
share/gnome/control-center/.data/Qix.desktop
share/gnome/control-center/.data/deco.png
share/gnome/control-center/.data/qix.png
share/gnome/control-center/Appearances/.directory
share/gnome/control-center/Inputdevs/.directory
share/gnome/control-center/Inputdevs/keyboard-properties.desktop
share/gnome/control-center/Inputdevs/mouse-properties.desktop
share/gnome/control-center/WindowManager/.directory
share/gnome/control-center/Workspace/.directory
share/gnome/default.session
share/gnome/help/gnome-intro/C/a-sample-session.html
share/gnome/help/gnome-intro/C/a-sample-session75.html
@ -174,17 +176,21 @@ share/gnome/help/help-browser/C/gnome-logo2.png
share/gnome/help/help-browser/C/help-browser.html
share/gnome/help/help-browser/C/index.html
share/gnome/help/help-browser/C/topic.dat
share/gnome/idl/gnome-panel.idl
share/gnome/idl/help-browser.idl
share/gnome/panelrc
share/gnome/pixmaps/batmon-ac.png
share/gnome/pixmaps/batmon-bat.png
share/gnome/pixmaps/emacs.png
share/gnome/pixmaps/fish/fishanim.png
share/gnome/pixmaps/fish/oldwanda.png
share/gnome/pixmaps/gnome-aorta.png
share/gnome/pixmaps/gnome-audio2.png
share/gnome/pixmaps/gnome-background.png
share/gnome/pixmaps/gnome-balsa2.png
share/gnome/pixmaps/gnome-calc2.png
share/gnome/pixmaps/gnome-calendar.png
share/gnome/pixmaps/gnome-color-browser.png
share/gnome/pixmaps/gnome-cromagnon.png
share/gnome/pixmaps/gnome-default.png
share/gnome/pixmaps/gnome-ee.png
@ -239,26 +245,49 @@ share/gnome/pixmaps/panel-drawer.png
share/gnome/pixmaps/panel-folder.png
share/gnome/pixmaps/panel-knob.png
share/gnome/pixmaps/panel-menu-main.png
share/gnome/pixmaps/tiles/tile-coral-down.png
share/gnome/pixmaps/tiles/tile-coral-up.png
share/gnome/pixmaps/tiles/tile-drc-1-down.png
share/gnome/pixmaps/tiles/tile-drc-1-up.png
share/gnome/pixmaps/tiles/tile-drc-2-down.png
share/gnome/pixmaps/tiles/tile-drc-2-up.png
share/gnome/pixmaps/tiles/tile-green-down.png
share/gnome/pixmaps/tiles/tile-green-up.png
share/gnome/pixmaps/tiles/tile-moon-down.png
share/gnome/pixmaps/tiles/tile-moon-up.png
share/gnome/pixmaps/tiles/tile-normal-down.png
share/gnome/pixmaps/tiles/tile-normal-up.png
share/gnome/pixmaps/tiles/tile-purple-down.png
share/gnome/pixmaps/tiles/tile-purple-up.png
share/gnome/pixmaps/tiles/tile-sand-down.png
share/gnome/pixmaps/tiles/tile-sand-up.png
share/locale/ca/LC_MESSAGES/gnome-core.mo
share/locale/cs/LC_MESSAGES/gnome-core.mo
share/locale/da/LC_MESSAGES/gnome-core.mo
share/locale/de/LC_MESSAGES/gnome-core.mo
share/locale/es/LC_MESSAGES/gnome-core.mo
share/locale/es_DO/LC_MESSAGES/gnome-core.mo
share/locale/es_GT/LC_MESSAGES/gnome-core.mo
share/locale/es_HN/LC_MESSAGES/gnome-core.mo
share/locale/es_MX/LC_MESSAGES/gnome-core.mo
share/locale/es_PA/LC_MESSAGES/gnome-core.mo
share/locale/es_PE/LC_MESSAGES/gnome-core.mo
share/locale/es_SV/LC_MESSAGES/gnome-core.mo
share/locale/fi/LC_MESSAGES/gnome-core.mo
share/locale/fr/LC_MESSAGES/gnome-core.mo
share/locale/ga/LC_MESSAGES/gnome-core.mo
share/locale/hu/LC_MESSAGES/gnome-core.mo
share/locale/it/LC_MESSAGES/gnome-core.mo
share/locale/ja/LC_MESSAGES/gnome-core.mo
share/locale/ko/LC_MESSAGES/gnome-core.mo
share/locale/no/LC_MESSAGES/gnome-core.mo
share/locale/pl/LC_MESSAGES/gnome-core.mo
share/locale/pt/LC_MESSAGES/gnome-core.mo
share/locale/ru/LC_MESSAGES/gnome-core.mo
share/locale/sv/LC_MESSAGES/gnome-core.mo
@dirrm etc/CORBA/servers
@dirrm etc/CORBA
@dirrm share/gnome/applets/Amusements
@dirrm share/gnome/applets/Monitors/MultiLoad
@dirrm share/gnome/applets/Monitors
@dirrm share/gnome/applets/Multimedia
@dirrm share/gnome/applets/Network
@ -274,12 +303,6 @@ share/locale/sv/LC_MESSAGES/gnome-core.mo
@dirrm share/gnome/apps/System
@dirrm share/gnome/apps/Utilities
@dirrm share/gnome/apps
@dirrm share/gnome/control-center/.data
@dirrm share/gnome/control-center/Appearances
@dirrm share/gnome/control-center/Inputdevs
@dirrm share/gnome/control-center/WindowManager
@dirrm share/gnome/control-center/Workspace
@dirrm share/gnome/control-center
@dirrm share/gnome/help/gnome-intro/C/pix
@dirrm share/gnome/help/gnome-intro/C
@dirrm share/gnome/help/gnome-intro