diff options
author | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2008-06-17 02:50:29 +0800 |
---|---|---|
committer | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2008-06-17 02:50:29 +0800 |
commit | aa5d3a31affc1fa360d38a9190cf608587e6ab09 (patch) | |
tree | bd97317d973e1dea26433f2e76e7a53f08456ef8 | |
parent | 9fc879565999c6e8cf59be51175fccf313ed63ed (diff) | |
download | marcuscom-ports-aa5d3a31affc1fa360d38a9190cf608587e6ab09.tar marcuscom-ports-aa5d3a31affc1fa360d38a9190cf608587e6ab09.tar.gz marcuscom-ports-aa5d3a31affc1fa360d38a9190cf608587e6ab09.tar.bz2 marcuscom-ports-aa5d3a31affc1fa360d38a9190cf608587e6ab09.tar.lz marcuscom-ports-aa5d3a31affc1fa360d38a9190cf608587e6ab09.tar.xz marcuscom-ports-aa5d3a31affc1fa360d38a9190cf608587e6ab09.tar.zst marcuscom-ports-aa5d3a31affc1fa360d38a9190cf608587e6ab09.zip |
Update to 2.23.3.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@11053 df743ca5-7f9a-e211-a948-0013205c9059
-rw-r--r-- | x11/gnome-applets/Makefile | 5 | ||||
-rw-r--r-- | x11/gnome-applets/distinfo | 6 | ||||
-rw-r--r-- | x11/gnome-applets/files/patch-cpufreq-selector-freebsd | 132 | ||||
-rw-r--r-- | x11/gnome-applets/pkg-plist | 13 |
4 files changed, 79 insertions, 77 deletions
diff --git a/x11/gnome-applets/Makefile b/x11/gnome-applets/Makefile index da6f9a510..97af45994 100644 --- a/x11/gnome-applets/Makefile +++ b/x11/gnome-applets/Makefile @@ -3,12 +3,11 @@ # Whom: Joe Marcus Clarke <marcus@FreeBSD.org> # # $FreeBSD$ -# $MCom: ports/x11/gnome-applets/Makefile,v 1.180 2008/05/22 04:54:31 marcus Exp $ +# $MCom: ports/x11/gnome-applets/Makefile,v 1.181 2008/06/06 21:38:55 marcus Exp $ # PORTNAME= gnome-applets -PORTVERSION= 2.23.2 -PORTREVISION= 2 +PORTVERSION= 2.23.3 CATEGORIES= x11 gnome MASTER_SITES= GNOME DIST_SUBDIR= gnome2 diff --git a/x11/gnome-applets/distinfo b/x11/gnome-applets/distinfo index b6f72a80f..b5cef39bb 100644 --- a/x11/gnome-applets/distinfo +++ b/x11/gnome-applets/distinfo @@ -1,3 +1,3 @@ -MD5 (gnome2/gnome-applets-2.23.2.tar.bz2) = b2fc9f167abceadd0b1ec576871bfa8b -SHA256 (gnome2/gnome-applets-2.23.2.tar.bz2) = e55c20745c9ca0992f5d6d4e01acd6804765b5ec6508b7e7f7b18e6e169b74f0 -SIZE (gnome2/gnome-applets-2.23.2.tar.bz2) = 7548738 +MD5 (gnome2/gnome-applets-2.23.3.tar.bz2) = ea5de6ff5400a0e70df78efab902a76e +SHA256 (gnome2/gnome-applets-2.23.3.tar.bz2) = c3ea8bf52250c28203f22328fa5943302becb7960db5f1e34e5125bfa8e904c0 +SIZE (gnome2/gnome-applets-2.23.3.tar.bz2) = 7489750 diff --git a/x11/gnome-applets/files/patch-cpufreq-selector-freebsd b/x11/gnome-applets/files/patch-cpufreq-selector-freebsd index 734bd6c74..5cca16dd4 100644 --- a/x11/gnome-applets/files/patch-cpufreq-selector-freebsd +++ b/x11/gnome-applets/files/patch-cpufreq-selector-freebsd @@ -54,52 +54,6 @@ +G_END_DECLS + +#endif /* __CPUFREQ_SELECTOR_SYSCTL_H__ */ ---- cpufreq/src/cpufreq-selector/main.c.orig Sat Jun 17 22:13:41 2006 -+++ cpufreq/src/cpufreq-selector/main.c Sat Jun 24 02:15:02 2006 -@@ -17,6 +17,7 @@ - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - * - * Authors : Carlos García Campos <carlosgc@gnome.org> -+ * Joe Marcus Clarke <marcus@FreeBSD.org> - */ - - #ifdef HAVE_CONFIG_H -@@ -33,6 +34,9 @@ - #ifdef HAVE_LIBCPUFREQ - #include "cpufreq-selector-libcpufreq.h" - #endif -+#ifdef __FreeBSD__ -+#include "cpufreq-selector-sysctl.h" -+#endif /* __FreeBSD__ */ - - static gint cpu = 0; - static gchar *governor = NULL; -@@ -51,6 +55,9 @@ main (gint argc, gchar **argv) - CPUFreqSelector *selector; - GOptionContext *context; - GError *error = NULL; -+#ifdef __FreeBSD__ -+ size_t len; -+#endif - - if (geteuid () != 0) { - g_printerr ("You must be root\n"); -@@ -83,10 +90,15 @@ main (gint argc, gchar **argv) - #ifdef HAVE_LIBCPUFREQ - selector = cpufreq_selector_libcpufreq_new (cpu); - #else -+#ifndef __FreeBSD__ - if (g_file_test ("/sys/devices/system/cpu/cpu0/cpufreq", G_FILE_TEST_EXISTS)) { /* 2.6 kernel */ - selector = cpufreq_selector_sysfs_new (cpu); - } else if (g_file_test ("/proc/cpufreq", G_FILE_TEST_EXISTS)) { /* 2.4 kernel */ - selector = cpufreq_selector_procfs_new (cpu); -+#else -+ if (sysctlbyname ("dev.cpu.0.freq", NULL, &len, NULL, 0) == 0) { -+ selector = cpufreq_selector_sysctl_new (cpu); -+#endif /* __FreeBSD__ */ - } else { - g_printerr ("No cpufreq support\n"); - return 1; --- cpufreq/src/cpufreq-selector/cpufreq-selector-sysctl.c.orig Wed Jul 26 01:34:18 2006 +++ cpufreq/src/cpufreq-selector/cpufreq-selector-sysctl.c Wed Jul 26 01:42:00 2006 @@ -0,0 +1,87 @@ @@ -190,39 +144,75 @@ + + return TRUE; +} ---- cpufreq/src/cpufreq-selector/Makefile.in.orig 2007-07-30 21:08:35.000000000 -0400 -+++ cpufreq/src/cpufreq-selector/Makefile.in 2007-07-30 21:08:36.000000000 -0400 -@@ -57,13 +57,15 @@ am__cpufreq_selector_SOURCES_DIST = cpuf - cpufreq-selector.h cpufreq-selector-sysfs.c \ - cpufreq-selector-sysfs.h cpufreq-selector-procfs.c \ - cpufreq-selector-procfs.h cpufreq-selector-libcpufreq.c \ -- cpufreq-selector-libcpufreq.h main.c -+ cpufreq-selector-libcpufreq.h main.c \ -+ cpufreq-selector-sysctl.c cpufreq-selector-sysctl.h +--- cpufreq/src/cpufreq-selector/cpufreq-selector-factory.c.orig 2008-06-16 14:33:25.000000000 -0400 ++++ cpufreq/src/cpufreq-selector/cpufreq-selector-factory.c 2008-06-16 14:35:28.000000000 -0400 +@@ -27,20 +27,32 @@ + #ifdef HAVE_LIBCPUFREQ + #include "cpufreq-selector-libcpufreq.h" + #endif ++#ifdef __FreeBSD__ ++#include "cpufreq-selector-sysctl.h" ++#endif /* __FreeBSD__ */ + + CPUFreqSelector * + cpufreq_selector_factory_create_selector (guint cpu) + { + CPUFreqSelector *selector = NULL; ++#ifdef __FreeBSD__ ++ size_t len; ++#endif + + #ifdef HAVE_LIBCPUFREQ + selector = cpufreq_selector_libcpufreq_new (cpu); + #else ++#ifndef __FreeBSD__ + if (g_file_test ("/sys/devices/system/cpu/cpu0/cpufreq", G_FILE_TEST_EXISTS)) { /* 2.6 kernel */ + selector = cpufreq_selector_sysfs_new (cpu); + } else if (g_file_test ("/proc/cpufreq", G_FILE_TEST_EXISTS)) { /* 2.4 kernel */ + selector = cpufreq_selector_procfs_new (cpu); + } ++#else ++ if (sysctlbyname ("dev.cpu.0.freq", NULL, &len, NULL, 0) == 0) { ++ selector = cpufreq_selector_sysctl_new (cpu); ++ } ++#endif /* __FreeBSD__ */ + #endif /* HAVE_LIBCPUFREQ */ + + return selector; +--- cpufreq/src/cpufreq-selector/Makefile.in.orig 2008-06-16 14:26:07.000000000 -0400 ++++ cpufreq/src/cpufreq-selector/Makefile.in 2008-06-16 14:38:15.000000000 -0400 +@@ -65,7 +65,7 @@ am__cpufreq_selector_SOURCES_DIST = cpuf + cpufreq-selector-libcpufreq.h cpufreq-selector-service.c \ + cpufreq-selector-service.h cpufreq-selector-factory.c \ + cpufreq-selector-factory.h cpufreq-selector-service-glue.h \ +- main.c ++ main.c cpufreq-selector-sysctl.c cpufreq-selector-sysctl.h @HAVE_LIBCPUFREQ_TRUE@am__objects_1 = \ @HAVE_LIBCPUFREQ_TRUE@ cpufreq-selector-libcpufreq.$(OBJEXT) - am_cpufreq_selector_OBJECTS = cpufreq-selector.$(OBJEXT) \ + @HAVE_POLKIT_TRUE@am__objects_2 = cpufreq-selector-service.$(OBJEXT) +@@ -74,7 +74,8 @@ am_cpufreq_selector_OBJECTS = cpufreq-se cpufreq-selector-sysfs.$(OBJEXT) \ cpufreq-selector-procfs.$(OBJEXT) $(am__objects_1) \ -- main.$(OBJEXT) -+ main.$(OBJEXT) \ + $(am__objects_2) cpufreq-selector-factory.$(OBJEXT) \ +- $(am__objects_3) main.$(OBJEXT) ++ $(am__objects_3) main.$(OBJEXT) \ + cpufreq-selector-sysctl.$(OBJEXT) cpufreq_selector_OBJECTS = $(am_cpufreq_selector_OBJECTS) am__DEPENDENCIES_1 = - cpufreq_selector_DEPENDENCIES = $(am__DEPENDENCIES_1) \ -@@ -381,6 +383,7 @@ cpufreq_selector_SOURCES = \ - cpufreq-selector.c cpufreq-selector.h \ - cpufreq-selector-sysfs.c cpufreq-selector-sysfs.h \ - cpufreq-selector-procfs.c cpufreq-selector-procfs.h \ -+ cpufreq-selector-sysctl.c cpufreq-selector-sysctl.h \ - $(cpufreq_files) \ - main.c - -@@ -462,6 +465,7 @@ distclean-compile: - - @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cpufreq-selector-libcpufreq.Po@am__quote@ + @HAVE_POLKIT_TRUE@am__DEPENDENCIES_2 = $(am__DEPENDENCIES_1) \ +@@ -371,6 +372,7 @@ cpufreq_selector_SOURCES = \ + cpufreq-selector.c cpufreq-selector.h \ + cpufreq-selector-sysfs.c cpufreq-selector-sysfs.h \ + cpufreq-selector-procfs.c cpufreq-selector-procfs.h \ ++ cpufreq-selector-sysctl.c cpufreq-selector-sysctl.h \ + $(cpufreq_files) \ + $(service_files) \ + cpufreq-selector-factory.c cpufreq-selector-factory.h \ +@@ -480,6 +482,7 @@ distclean-compile: @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cpufreq-selector-procfs.Po@am__quote@ -+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cpufreq-selector-sysctl.Po@am__quote@ + @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cpufreq-selector-service.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cpufreq-selector-sysfs.Po@am__quote@ ++@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cpufreq-selector-sysctl.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cpufreq-selector.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/main.Po@am__quote@ + diff --git a/x11/gnome-applets/pkg-plist b/x11/gnome-applets/pkg-plist index 019dd01db..0bbbf0e08 100644 --- a/x11/gnome-applets/pkg-plist +++ b/x11/gnome-applets/pkg-plist @@ -1,5 +1,6 @@ %%CPUFREQ%%bin/cpufreq-selector %%PYTHON%%bin/invest-chart +%%CPUFREQ%%etc/dbus-1/system.d/org.gnome.CPUFreqSelector.conf %%BATTERY%%etc/sound/events/battstat_applet.soundlist %%PYTHON%%%%PYTHON_SITELIBDIR%%/invest/__init__.py %%PYTHON%%%%PYTHON_SITELIBDIR%%/invest/__init__.pyc @@ -60,6 +61,8 @@ libexec/multiload-applet-2 libexec/null_applet libexec/stickynotes_applet libexec/trashapplet +%%CPUFREQ%%share/PolicyKit/policy/org.gnome.cpufreqselector.policy +%%CPUFREQ%%share/dbus-1/system-services/org.gnome.CPUFreqSelector.service share/gnome-2.0/ui/GNOME_AccessxApplet.xml %%BATTERY%%share/gnome-2.0/ui/GNOME_BattstatApplet.xml %%CPUFREQ%%share/gnome-2.0/ui/GNOME_CPUFreqApplet.xml @@ -906,6 +909,8 @@ share/gnome/help/mixer_applet2/fi/figures/volumecontrol_applet.png share/gnome/help/mixer_applet2/fi/mixer_applet2.xml share/gnome/help/mixer_applet2/fr/figures/volumecontrol_applet.png share/gnome/help/mixer_applet2/fr/mixer_applet2.xml +share/gnome/help/mixer_applet2/hu/figures/volumecontrol_applet.png +share/gnome/help/mixer_applet2/hu/mixer_applet2.xml share/gnome/help/mixer_applet2/it/figures/volumecontrol_applet.png share/gnome/help/mixer_applet2/it/mixer_applet2.xml share/gnome/help/mixer_applet2/ko/figures/volumecontrol_applet.png @@ -1077,6 +1082,8 @@ share/gnome/help/trashapplet/fi/figures/trash-applet.png share/gnome/help/trashapplet/fi/trashapplet.xml share/gnome/help/trashapplet/fr/figures/trash-applet.png share/gnome/help/trashapplet/fr/trashapplet.xml +share/gnome/help/trashapplet/hu/figures/trash-applet.png +share/gnome/help/trashapplet/hu/trashapplet.xml share/gnome/help/trashapplet/it/figures/trash-applet.png share/gnome/help/trashapplet/it/trashapplet.xml share/gnome/help/trashapplet/nl/figures/trash-applet.png @@ -1329,6 +1336,7 @@ share/omf/mixer_applet2/mixer_applet2-en_GB.omf share/omf/mixer_applet2/mixer_applet2-es.omf share/omf/mixer_applet2/mixer_applet2-fi.omf share/omf/mixer_applet2/mixer_applet2-fr.omf +share/omf/mixer_applet2/mixer_applet2-hu.omf share/omf/mixer_applet2/mixer_applet2-it.omf share/omf/mixer_applet2/mixer_applet2-ko.omf share/omf/mixer_applet2/mixer_applet2-oc.omf @@ -1372,6 +1380,7 @@ share/omf/trashapplet/trashapplet-en_GB.omf share/omf/trashapplet/trashapplet-es.omf share/omf/trashapplet/trashapplet-fi.omf share/omf/trashapplet/trashapplet-fr.omf +share/omf/trashapplet/trashapplet-hu.omf share/omf/trashapplet/trashapplet-it.omf share/omf/trashapplet/trashapplet-nl.omf share/omf/trashapplet/trashapplet-oc.omf @@ -1546,6 +1555,8 @@ share/xmodmap/xmodmap.yu @dirrm share/gnome/help/trashapplet/nl @dirrm share/gnome/help/trashapplet/it/figures @dirrm share/gnome/help/trashapplet/it +@dirrm share/gnome/help/trashapplet/hu/figures +@dirrm share/gnome/help/trashapplet/hu @dirrm share/gnome/help/trashapplet/fr/figures @dirrm share/gnome/help/trashapplet/fr @dirrm share/gnome/help/trashapplet/fi/figures @@ -1635,6 +1646,8 @@ share/xmodmap/xmodmap.yu @dirrm share/gnome/help/mixer_applet2/ko @dirrm share/gnome/help/mixer_applet2/it/figures @dirrm share/gnome/help/mixer_applet2/it +@dirrm share/gnome/help/mixer_applet2/hu/figures +@dirrm share/gnome/help/mixer_applet2/hu @dirrm share/gnome/help/mixer_applet2/fr/figures @dirrm share/gnome/help/mixer_applet2/fr @dirrm share/gnome/help/mixer_applet2/fi/figures |