diff options
Diffstat (limited to 'sysutils')
30 files changed, 0 insertions, 1305 deletions
diff --git a/sysutils/Makefile b/sysutils/Makefile index 119f5726ce6e..ca1a608e2bbf 100644 --- a/sysutils/Makefile +++ b/sysutils/Makefile @@ -84,7 +84,6 @@ SUBDIR += bsdmoted SUBDIR += bsdstats SUBDIR += bubblemon-dockapp - SUBDIR += bubblemon2 SUBDIR += bulk_extractor SUBDIR += busybox SUBDIR += busybox-unstable @@ -207,7 +206,6 @@ SUBDIR += e2fsprogs SUBDIR += ec2-scripts SUBDIR += edid-decode - SUBDIR += eiciel SUBDIR += eject SUBDIR += endian SUBDIR += enteruser @@ -547,7 +545,6 @@ SUBDIR += mybashburn SUBDIR += nagios-statd SUBDIR += namefix - SUBDIR += nautilus-cd-burner SUBDIR += nbosd SUBDIR += ncdu SUBDIR += nepomuk-core @@ -851,7 +848,6 @@ SUBDIR += searchmonkey SUBDIR += seatools SUBDIR += sec - SUBDIR += sensors-applet SUBDIR += serpentine SUBDIR += setcdboot SUBDIR += setquota diff --git a/sysutils/bubblemon2/Makefile b/sysutils/bubblemon2/Makefile deleted file mode 100644 index 1a9001cb8895..000000000000 --- a/sysutils/bubblemon2/Makefile +++ /dev/null @@ -1,37 +0,0 @@ -# Created by: Juan Salaverria <rael@vectorstar.net> -# $FreeBSD$ - -PORTNAME= bubblemon2 -PORTVERSION= 2.0.17 -PORTREVISION= 7 -CATEGORIES= sysutils gnome -MASTER_SITES= SAVANNAH/bubblemon -DISTNAME= bubblemon-${PORTVERSION} - -MAINTAINER= 5u623l20@gmail.com -COMMENT= A system CPU and memory load monitor for GNOME2 - -DEPRECATED= gnome-panel 2.x will be updated in the GNOME 3 import -EXPIRATION_DATE=2014-04-10 - -LIB_DEPENDS= gtop-2.0:${PORTSDIR}/devel/libgtop - -USE_GNOME= gnomehack gnomepanel gnomeprefix intlhack libgnomeui -USES= gmake pkgconfig -GNU_CONFIGURE= yes -CPPFLAGS+= -I${LOCALBASE}/include `pkg-config --cflags libgnomeui-2.0` -LDFLAGS+= -L${LOCALBASE}/lib `pkg-config --libs libgnomeui-2.0` - -MAN1= bubblemon-gnome2.1 -MANLANG= "" hu sv - -NO_STAGE= yes -post-install: -.if !defined(NOPORTDOCS) - @${MKDIR} ${DOCSDIR} -.for file in AUTHORS ChangeLog FAQ PROFILING TRANSLATIONS NEWS README TODO - ${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR} -.endfor -.endif - -.include <bsd.port.mk> diff --git a/sysutils/bubblemon2/distinfo b/sysutils/bubblemon2/distinfo deleted file mode 100644 index 5015ad75fcfd..000000000000 --- a/sysutils/bubblemon2/distinfo +++ /dev/null @@ -1,2 +0,0 @@ -SHA256 (bubblemon-2.0.17.tar.gz) = 35784f4d30db028cabbdd7833ef1fd34fe3514c3d725d630f21e316bbd9fc10e -SIZE (bubblemon-2.0.17.tar.gz) = 225762 diff --git a/sysutils/bubblemon2/pkg-descr b/sysutils/bubblemon2/pkg-descr deleted file mode 100644 index e4b036166039..000000000000 --- a/sysutils/bubblemon2/pkg-descr +++ /dev/null @@ -1,7 +0,0 @@ -Bubblemon displays something that looks like a vial containing water. The water -level indicates how much memory is in use. The color of the liquid indicates -how much swap space is used (watery blue means none and angry red means all). -The system CPU load is indicated by bubbles floating up through the liquid; -lots of bubbles means high CPU load. - -WWW: http://www.nongnu.org/bubblemon/ diff --git a/sysutils/bubblemon2/pkg-plist b/sysutils/bubblemon2/pkg-plist deleted file mode 100644 index b32b8f6765d0..000000000000 --- a/sysutils/bubblemon2/pkg-plist +++ /dev/null @@ -1,33 +0,0 @@ -libdata/bonobo/servers/GNOME_BubblemonApplet.server -libexec/bubblemon-gnome2 -%%PORTDOCS%%%%DOCSDIR%%/AUTHORS -%%PORTDOCS%%%%DOCSDIR%%/ChangeLog -%%PORTDOCS%%%%DOCSDIR%%/FAQ -%%PORTDOCS%%%%DOCSDIR%%/NEWS -%%PORTDOCS%%%%DOCSDIR%%/PROFILING -%%PORTDOCS%%%%DOCSDIR%%/README -%%PORTDOCS%%%%DOCSDIR%%/TODO -%%PORTDOCS%%%%DOCSDIR%%/TRANSLATIONS -share/gnome-2.0/ui/GNOME_BubblemonApplet.xml -share/pixmaps/bubblemon.png -share/locale/ca/LC_MESSAGES/bubblemon.mo -share/locale/da/LC_MESSAGES/bubblemon.mo -share/locale/de/LC_MESSAGES/bubblemon.mo -share/locale/es/LC_MESSAGES/bubblemon.mo -share/locale/fi/LC_MESSAGES/bubblemon.mo -share/locale/fr/LC_MESSAGES/bubblemon.mo -share/locale/hu/LC_MESSAGES/bubblemon.mo -share/locale/is/LC_MESSAGES/bubblemon.mo -share/locale/it/LC_MESSAGES/bubblemon.mo -share/locale/ko/LC_MESSAGES/bubblemon.mo -share/locale/nl/LC_MESSAGES/bubblemon.mo -share/locale/no/LC_MESSAGES/bubblemon.mo -share/locale/pl/LC_MESSAGES/bubblemon.mo -share/locale/pt/LC_MESSAGES/bubblemon.mo -share/locale/pt_BR/LC_MESSAGES/bubblemon.mo -share/locale/ro/LC_MESSAGES/bubblemon.mo -share/locale/ru/LC_MESSAGES/bubblemon.mo -share/locale/sv/LC_MESSAGES/bubblemon.mo -@dirrmtry share/locale/sh/LC_MESSAGES -@dirrmtry share/locale/sh -%%PORTDOCS%%@dirrm %%DOCSDIR%% diff --git a/sysutils/eiciel/Makefile b/sysutils/eiciel/Makefile deleted file mode 100644 index dc122581aa6c..000000000000 --- a/sysutils/eiciel/Makefile +++ /dev/null @@ -1,27 +0,0 @@ -# Created by: andreas@syndrom23.de -# $FreeBSD$ - -PORTNAME= eiciel -PORTVERSION= 0.9.8.2 -CATEGORIES= sysutils security -MASTER_SITES= http://rofi.roger-ferrer.org/eiciel/download/ - -MAINTAINER= ports@FreeBSD.org -COMMENT= GNOME-based ACL editor, with integration into Nautilus - -LICENSE= GPLv2 - -DEPRECATED= nautilus will be updated to the 3.x version which is not compatible with 2.x -EXPIRATION_DATE=2014-04-10 - -USE_BZIP2= yes -USES= gettext gmake pathfix pkgconfig -USE_GNOME= gnomeprefix gtkmm24 libgnome nautilus2 -USE_AUTOTOOLS= libtool -CONFIGURE_ARGS= --with-gnome-version=2 \ - --with-nautilus-extensions-dir=${PREFIX}/lib/nautilus/extensions-2.0 - -CPPFLAGS+= -I${LOCALBASE}/include -LDFLAGS+= -L${LOCALBASE}/lib - -.include <bsd.port.mk> diff --git a/sysutils/eiciel/distinfo b/sysutils/eiciel/distinfo deleted file mode 100644 index 9b74a6395e3a..000000000000 --- a/sysutils/eiciel/distinfo +++ /dev/null @@ -1,2 +0,0 @@ -SHA256 (eiciel-0.9.8.2.tar.bz2) = fd99837a57adf83767765a4f096ae81c0af7e33f81df24c55c304b3b649c2079 -SIZE (eiciel-0.9.8.2.tar.bz2) = 648067 diff --git a/sysutils/eiciel/files/patch-src__acl_manager.cpp b/sysutils/eiciel/files/patch-src__acl_manager.cpp deleted file mode 100644 index 754717a0ef08..000000000000 --- a/sysutils/eiciel/files/patch-src__acl_manager.cpp +++ /dev/null @@ -1,93 +0,0 @@ ---- src/acl_manager.cpp.orig 2010-06-03 05:38:27.000000000 +0900 -+++ src/acl_manager.cpp 2010-06-19 22:52:10.000000000 +0900 -@@ -111,7 +111,7 @@ - { - // A user|group entry - // Gather the permissions -- acl_entry new_acl; -+ acl_manager_entry new_acl; - new_acl.reading = ACL_GET_PERM(permission_set, ACL_READ); - new_acl.writing = ACL_GET_PERM(permission_set, ACL_WRITE); - new_acl.execution = ACL_GET_PERM(permission_set, ACL_EXECUTE); -@@ -225,7 +225,7 @@ - { - // An entry of type user/group - // get all permissions -- acl_entry new_acl; -+ acl_manager_entry new_acl; - new_acl.reading = ACL_GET_PERM(permission_set, ACL_READ); - new_acl.writing = ACL_GET_PERM(permission_set, ACL_WRITE); - new_acl.execution = ACL_GET_PERM(permission_set, ACL_EXECUTE); -@@ -317,14 +317,14 @@ - _text_acl_access.clear(); - - _text_acl_access += "u::" + permission_to_str(_owner_perms) + "\n"; -- for (vector<acl_entry>::iterator i = _user_acl.begin(); -+ for (vector<acl_manager_entry>::iterator i = _user_acl.begin(); - i != _user_acl.end(); i++) - { - _text_acl_access += "u:" + write_name(*i) + ":" + permission_to_str(*i) + "\n"; - } - - _text_acl_access += "g::" + permission_to_str(_group_perms) + "\n"; -- for (vector<acl_entry>::iterator i = _group_acl.begin(); -+ for (vector<acl_manager_entry>::iterator i = _group_acl.begin(); - i != _group_acl.end(); i++) - { - _text_acl_access += "g:" + write_name(*i) + ":" + permission_to_str(*i) + "\n"; -@@ -352,12 +352,12 @@ - _text_acl_default += "o::" + permission_to_str(_default_others) + "\n"; - } - -- for (vector<acl_entry>::iterator i = _default_user_acl.begin(); -+ for (vector<acl_manager_entry>::iterator i = _default_user_acl.begin(); - i != _default_user_acl.end(); i++) - { - _text_acl_default += "u:" + write_name(*i) + ":" + permission_to_str(*i) + "\n"; - } -- for (vector<acl_entry>::iterator i = _default_group_acl.begin(); -+ for (vector<acl_manager_entry>::iterator i = _default_group_acl.begin(); - i != _default_group_acl.end(); i++) - { - _text_acl_default += "g:" + write_name(*i) + ":" + permission_to_str(*i) + "\n"; -@@ -370,7 +370,7 @@ - } - } - --string ACLManager::write_name(acl_entry& eacl) -+string ACLManager::write_name(acl_manager_entry& eacl) - { - if (eacl.valid_name) - { -@@ -477,11 +477,11 @@ - } - } - --void ACLManager::set_acl_generic(const string& name, vector<acl_entry>& acl_list, -+void ACLManager::set_acl_generic(const string& name, vector<acl_manager_entry>& acl_list, - const permissions_t& perms) - { - ACLEquivalence equiv_acl(name); -- vector<acl_entry>::iterator i = find_if(acl_list.begin(), acl_list.end(), equiv_acl); -+ vector<acl_manager_entry>::iterator i = find_if(acl_list.begin(), acl_list.end(), equiv_acl); - if (i != acl_list.end()) // If already there, update - { - i->reading = perms.reading; -@@ -490,7 +490,7 @@ - } - else // If not there, create - { -- acl_entry eacl; -+ acl_manager_entry eacl; - eacl.valid_name = true; - eacl.name = name; - eacl.reading = perms.reading; -@@ -524,7 +524,7 @@ - update_changes_acl_default(); - } - --void ACLManager::remove_acl_generic(const string& name, vector<acl_entry>& acl_list) -+void ACLManager::remove_acl_generic(const string& name, vector<acl_manager_entry>& acl_list) - { - ACLEquivalence equiv_acl(name); - acl_list.erase(remove_if(acl_list.begin(), acl_list.end(), equiv_acl), acl_list.end()); diff --git a/sysutils/eiciel/files/patch-src__acl_manager.hpp b/sysutils/eiciel/files/patch-src__acl_manager.hpp deleted file mode 100644 index a2874e5a4864..000000000000 --- a/sysutils/eiciel/files/patch-src__acl_manager.hpp +++ /dev/null @@ -1,63 +0,0 @@ ---- src/acl_manager.hpp.orig 2010-06-03 05:38:27.000000000 +0900 -+++ src/acl_manager.hpp 2010-06-19 22:48:42.000000000 +0900 -@@ -93,7 +93,7 @@ - }; - - --struct acl_entry : permissions_t -+struct acl_manager_entry : permissions_t - { - int qualifier; // Group or user - string name; // Symbolic name of the qualifier -@@ -118,10 +118,10 @@ - bool _there_is_mask; - permissions_t _mask_acl; - -- vector<acl_entry> _user_acl; -- vector<acl_entry> _group_acl; -- vector<acl_entry> _default_user_acl; -- vector<acl_entry> _default_group_acl; -+ vector<acl_manager_entry> _user_acl; -+ vector<acl_manager_entry> _group_acl; -+ vector<acl_manager_entry> _default_user_acl; -+ vector<acl_manager_entry> _default_group_acl; - - permissions_t _default_user; - bool _there_is_default_user; -@@ -143,9 +143,9 @@ - void get_acl_entries_default(); - void create_textual_representation(); - string permission_to_str(permissions_t& p); -- string write_name(acl_entry& eacl); -- void set_acl_generic(const string& nom, vector<acl_entry>& llistACL, const permissions_t& perms); -- void remove_acl_generic(const string& nom, vector<acl_entry>& llistaACL); -+ string write_name(acl_manager_entry& eacl); -+ void set_acl_generic(const string& nom, vector<acl_manager_entry>& llistACL, const permissions_t& perms); -+ void remove_acl_generic(const string& nom, vector<acl_manager_entry>& llistaACL); - - void commit_changes_to_file(); - void calculate_access_mask(); -@@ -160,7 +160,7 @@ - public: - ACLEquivalence(const string& qualif) - : _qualifier(qualif) {} -- bool operator ()(acl_entry& a) -+ bool operator ()(acl_manager_entry& a) - { - return (a.valid_name && (a.name == _qualifier)); - } -@@ -203,10 +203,10 @@ - - void create_default_acl(); - -- vector<acl_entry> get_acl_user() const { return _user_acl; } -- vector<acl_entry> get_acl_group() const { return _group_acl; } -- vector<acl_entry> get_acl_user_default() const { return _default_user_acl; } -- vector<acl_entry> get_acl_group_default() const { return _default_group_acl; } -+ vector<acl_manager_entry> get_acl_user() const { return _user_acl; } -+ vector<acl_manager_entry> get_acl_group() const { return _group_acl; } -+ vector<acl_manager_entry> get_acl_user_default() const { return _default_user_acl; } -+ vector<acl_manager_entry> get_acl_group_default() const { return _default_group_acl; } - permissions_t get_mask() { return _mask_acl; } - - permissions_t get_user() { return _owner_perms; } diff --git a/sysutils/eiciel/files/patch-src__eiciel_main_controller.cpp b/sysutils/eiciel/files/patch-src__eiciel_main_controller.cpp deleted file mode 100644 index 213a55bc87f8..000000000000 --- a/sysutils/eiciel/files/patch-src__eiciel_main_controller.cpp +++ /dev/null @@ -1,43 +0,0 @@ ---- src/eiciel_main_controller.cpp.orig 2010-06-03 05:38:27.000000000 +0900 -+++ src/eiciel_main_controller.cpp 2010-06-19 22:56:56.000000000 +0900 -@@ -125,11 +125,11 @@ - effective_permissions = _ACL_manager->get_mask(); - } - -- vector<acl_entry> vACL; -+ vector<acl_manager_entry> vACL; - _window->add_non_selectable(Glib::locale_to_utf8(_ACL_manager->get_owner_name()), perms.reading, - perms.writing, perms.execution, EK_USER); - vACL = _ACL_manager->get_acl_user(); -- for (vector<acl_entry>::iterator i = vACL.begin(); -+ for (vector<acl_manager_entry>::iterator i = vACL.begin(); - i != vACL.end(); i++) - { - _window->add_selectable(Glib::locale_to_utf8(i->name), i->reading, -@@ -153,7 +153,7 @@ - (!effective_permissions.execution && perms.execution); - - vACL = _ACL_manager->get_acl_group(); -- for (vector<acl_entry>::iterator i = vACL.begin(); -+ for (vector<acl_manager_entry>::iterator i = vACL.begin(); - i != vACL.end(); i++) - { - _window->add_selectable(Glib::locale_to_utf8(i->name), i->reading, -@@ -200,7 +200,7 @@ - vACL = _ACL_manager->get_acl_user_default(); - - there_is_default_acl |= (vACL.size() > 0); -- for (vector<acl_entry>::iterator i = vACL.begin(); -+ for (vector<acl_manager_entry>::iterator i = vACL.begin(); - i != vACL.end(); i++) - { - _window->add_selectable(Glib::locale_to_utf8(i->name), i->reading, -@@ -231,7 +231,7 @@ - vACL = _ACL_manager->get_acl_group_default(); - - there_is_default_acl |= (vACL.size() > 0); -- for (vector<acl_entry>::iterator i = vACL.begin(); -+ for (vector<acl_manager_entry>::iterator i = vACL.begin(); - i != vACL.end(); i++) - { - _window->add_selectable(Glib::locale_to_utf8(i->name), i->reading, diff --git a/sysutils/eiciel/pkg-descr b/sysutils/eiciel/pkg-descr deleted file mode 100644 index e5d1836881af..000000000000 --- a/sysutils/eiciel/pkg-descr +++ /dev/null @@ -1,5 +0,0 @@ -Eiciel allows you to visually edit file ACL entries. You can add and remove -users and groups who will be granted permissions through the graphical -interface. - -WWW: http://rofi.roger-ferrer.org/eiciel/ diff --git a/sysutils/eiciel/pkg-message b/sysutils/eiciel/pkg-message deleted file mode 100644 index 606ad447a950..000000000000 --- a/sysutils/eiciel/pkg-message +++ /dev/null @@ -1,6 +0,0 @@ -=============================================================================== -To use the eiciel Nautilus extension, Nautilus has to be restarted. - -ACLs are not enabled by default. To enable them, use "tunefs -a" (only works -on unmounted file systems) or the "acls" mount(8) option. -=============================================================================== diff --git a/sysutils/eiciel/pkg-plist b/sysutils/eiciel/pkg-plist deleted file mode 100644 index afd341d1b015..000000000000 --- a/sysutils/eiciel/pkg-plist +++ /dev/null @@ -1,52 +0,0 @@ -bin/eiciel -lib/nautilus/extensions-2.0/libeiciel-nautilus.a -lib/nautilus/extensions-2.0/libeiciel-nautilus.la -lib/nautilus/extensions-2.0/libeiciel-nautilus.so -man/man1/eiciel.1.gz -share/applications/eiciel.desktop -%%DATADIR%%/img/group-acl-default.png -%%DATADIR%%/img/group-acl.png -%%DATADIR%%/img/group-default.png -%%DATADIR%%/img/group.png -%%DATADIR%%/img/icon_eiciel_16.png -%%DATADIR%%/img/icon_eiciel_24.png -%%DATADIR%%/img/icon_eiciel_32.png -%%DATADIR%%/img/icon_eiciel_48.png -%%DATADIR%%/img/icon_eiciel_64.png -%%DATADIR%%/img/mask-default.png -%%DATADIR%%/img/mask.png -%%DATADIR%%/img/others-default.png -%%DATADIR%%/img/others.png -%%DATADIR%%/img/user-acl-default.png -%%DATADIR%%/img/user-acl.png -%%DATADIR%%/img/user-default.png -%%DATADIR%%/img/user.png -share/gnome/help/eiciel/C/eiciel.xml -share/gnome/help/eiciel/C/figures/detall_mascara.png -share/gnome/help/eiciel/C/figures/entrada_acl.png -share/gnome/help/eiciel/C/figures/group-acl-default.png -share/gnome/help/eiciel/C/figures/group-acl.png -share/gnome/help/eiciel/C/figures/group-default.png -share/gnome/help/eiciel/C/figures/group.png -share/gnome/help/eiciel/C/figures/mask-default.png -share/gnome/help/eiciel/C/figures/mask.png -share/gnome/help/eiciel/C/figures/obrir_fitxer.png -share/gnome/help/eiciel/C/figures/obrir_fitxer_nautilus.png -share/gnome/help/eiciel/C/figures/others-default.png -share/gnome/help/eiciel/C/figures/others.png -share/gnome/help/eiciel/C/figures/pantalla_ea.png -share/gnome/help/eiciel/C/figures/permisos_acl.png -share/gnome/help/eiciel/C/figures/permisos_ugo.png -share/gnome/help/eiciel/C/figures/user-acl-default.png -share/gnome/help/eiciel/C/figures/user-acl.png -share/gnome/help/eiciel/C/figures/user-default.png -share/gnome/help/eiciel/C/figures/user.png -share/locale/ca/LC_MESSAGES/eiciel.mo -share/locale/de/LC_MESSAGES/eiciel.mo -share/locale/es/LC_MESSAGES/eiciel.mo -share/locale/sv/LC_MESSAGES/eiciel.mo -@dirrm share/gnome/help/eiciel/C/figures -@dirrm share/gnome/help/eiciel/C -@dirrm share/gnome/help/eiciel -@dirrm %%DATADIR%%/img -@dirrm %%DATADIR%% diff --git a/sysutils/nautilus-cd-burner/Makefile b/sysutils/nautilus-cd-burner/Makefile deleted file mode 100644 index 232f8dee5031..000000000000 --- a/sysutils/nautilus-cd-burner/Makefile +++ /dev/null @@ -1,58 +0,0 @@ -# Created by: Joe Marcus Clarke <marcus@FreeBSD.org> -# $FreeBSD$ -# $MCom: ports/sysutils/nautilus-cd-burner/Makefile,v 1.149 2009/09/25 18:40:01 kwm Exp $ - -PORTNAME= nautilus-cd-burner -PORTVERSION= 2.24.0 -PORTREVISION= 8 -CATEGORIES= sysutils gnome -MASTER_SITES= GNOME -DIST_SUBDIR= gnome2 - -MAINTAINER= gnome@FreeBSD.org -COMMENT= CD burner view for Nautilus - -DEPRECATED= nautilus will be updated to the 3.x version which is not compatible with 2.x -EXPIRATION_DATE=2014-04-10 - -BUILD_DEPENDS= gnome-mount:${PORTSDIR}/sysutils/gnome-mount -RUN_DEPENDS= gnome-mount:${PORTSDIR}/sysutils/gnome-mount \ - cdrdao:${PORTSDIR}/sysutils/cdrdao \ - cdrecord:${PORTSDIR}/sysutils/cdrtools - -CONFIGURE_ARGS= --enable-gnome-mount -USE_BZIP2= yes -USES= gettext gmake pkgconfig -GNOME_DESKTOP_VERSION=2 -USE_GNOME= gnomeprefix gnomehack intlhack nautilus2 ltverhack \ - desktopfileutils ltasneededhack eel2 libgnomeui -INSTALLS_ICONS= yes -USE_AUTOTOOLS= libtool -USE_LDCONFIG= yes -CPPFLAGS+= -I${LOCALBASE}/include -LDFLAGS+= -L${LOCALBASE}/lib - -GCONF_SCHEMAS= nautilus-cd-burner.schemas - -OPTIONS_DEFINE= DVD -OPTIONS_DEFAULT=DVD -DVD_DESC= DVD support - -NO_STAGE= yes -.include <bsd.port.options.mk> - -.if ${PORT_OPTIONS:MDVD} -RUN_DEPENDS+= growisofs:${PORTSDIR}/sysutils/dvd+rw-tools -.endif - -post-patch: - @${REINPLACE_CMD} -e 's|glib/g.*\.h>|glib.h>|g' \ - ${WRKSRC}/src/nautilus-burn.h \ - ${WRKSRC}/src/nautilus-burn-init.h \ - ${WRKSRC}/src/nautilus-cd-burner.h - -post-install: - -@update-desktop-database - @${CAT} ${PKGMESSAGE} - -.include <bsd.port.mk> diff --git a/sysutils/nautilus-cd-burner/distinfo b/sysutils/nautilus-cd-burner/distinfo deleted file mode 100644 index 345351a4b53f..000000000000 --- a/sysutils/nautilus-cd-burner/distinfo +++ /dev/null @@ -1,2 +0,0 @@ -SHA256 (gnome2/nautilus-cd-burner-2.24.0.tar.bz2) = d4ff952115a2fca28c613ce6a2b46740ce1000b0c213c482bcf3f127ceab99ad -SIZE (gnome2/nautilus-cd-burner-2.24.0.tar.bz2) = 725247 diff --git a/sysutils/nautilus-cd-burner/pkg-descr b/sysutils/nautilus-cd-burner/pkg-descr deleted file mode 100644 index 0bdde4f1ac65..000000000000 --- a/sysutils/nautilus-cd-burner/pkg-descr +++ /dev/null @@ -1,2 +0,0 @@ -Nautilus-cd-burner allows CDs to be created and burned directly from -within Nautilus (using the burn:/// URI). diff --git a/sysutils/nautilus-cd-burner/pkg-message b/sysutils/nautilus-cd-burner/pkg-message deleted file mode 100644 index 3a47ff4fd3ab..000000000000 --- a/sysutils/nautilus-cd-burner/pkg-message +++ /dev/null @@ -1,21 +0,0 @@ -====================================================================== -In order to use nautilus-cd-burner, you must make sure your CD devices -have the correct permissions. You must also make sure you have: - -device atapicam - -Configured in your kernel if you are using an ATAPI CD/DVD writer. -To figure out which CD/DVD drive you will be using, run the following -command as root: - -camcontrol devlist - -Your output will look similar to the following: - -<CREATIVE CD5233E-N 0.20> at scbus1 target 0 lun 0 (cd0,pass0) - -The devices in parenthesis at the end are important. You must make sure -the /dev entries for those devices are writable by the users that will -be using nautilus-cd-burner. In addition to those devices, /dev/xpt* -must also be writable to your nautilus-cd-burner users. -====================================================================== diff --git a/sysutils/nautilus-cd-burner/pkg-plist b/sysutils/nautilus-cd-burner/pkg-plist deleted file mode 100644 index d460a6a1d2cd..000000000000 --- a/sysutils/nautilus-cd-burner/pkg-plist +++ /dev/null @@ -1,147 +0,0 @@ -bin/nautilus-cd-burner -include/libnautilus-burn/nautilus-burn-drive-monitor.h -include/libnautilus-burn/nautilus-burn-drive-selection.h -include/libnautilus-burn/nautilus-burn-drive.h -include/libnautilus-burn/nautilus-burn-features.h -include/libnautilus-burn/nautilus-burn-init.h -include/libnautilus-burn/nautilus-burn-recorder.h -include/libnautilus-burn/nautilus-burn.h -lib/libnautilus-burn.a -lib/libnautilus-burn.la -lib/libnautilus-burn.so -lib/libnautilus-burn.so.4 -lib/nautilus/extensions-2.0/libnautilus-burn-extension.a -lib/nautilus/extensions-2.0/libnautilus-burn-extension.la -lib/nautilus/extensions-2.0/libnautilus-burn-extension.so -libdata/pkgconfig/libnautilus-burn.pc -share/applications/nautilus-cd-burner-open-iso.desktop -share/applications/nautilus-cd-burner.desktop -share/icons/hicolor/16x16/apps/nautilus-cd-burner.png -share/icons/hicolor/22x22/apps/nautilus-cd-burner.png -share/icons/hicolor/24x24/apps/nautilus-cd-burner.png -share/icons/hicolor/scalable/apps/nautilus-cd-burner.svg -share/locale/am/LC_MESSAGES/nautilus-cd-burner.mo -share/locale/ar/LC_MESSAGES/nautilus-cd-burner.mo -share/locale/as/LC_MESSAGES/nautilus-cd-burner.mo -share/locale/az/LC_MESSAGES/nautilus-cd-burner.mo -share/locale/be/LC_MESSAGES/nautilus-cd-burner.mo -share/locale/be@latin/LC_MESSAGES/nautilus-cd-burner.mo -share/locale/bg/LC_MESSAGES/nautilus-cd-burner.mo -share/locale/bn/LC_MESSAGES/nautilus-cd-burner.mo -share/locale/bn_IN/LC_MESSAGES/nautilus-cd-burner.mo -share/locale/bs/LC_MESSAGES/nautilus-cd-burner.mo -share/locale/ca/LC_MESSAGES/nautilus-cd-burner.mo -share/locale/cs/LC_MESSAGES/nautilus-cd-burner.mo -share/locale/cy/LC_MESSAGES/nautilus-cd-burner.mo -share/locale/da/LC_MESSAGES/nautilus-cd-burner.mo -share/locale/de/LC_MESSAGES/nautilus-cd-burner.mo -share/locale/dz/LC_MESSAGES/nautilus-cd-burner.mo -share/locale/el/LC_MESSAGES/nautilus-cd-burner.mo -share/locale/en_CA/LC_MESSAGES/nautilus-cd-burner.mo -share/locale/en_GB/LC_MESSAGES/nautilus-cd-burner.mo -share/locale/es/LC_MESSAGES/nautilus-cd-burner.mo -share/locale/et/LC_MESSAGES/nautilus-cd-burner.mo -share/locale/eu/LC_MESSAGES/nautilus-cd-burner.mo -share/locale/fa/LC_MESSAGES/nautilus-cd-burner.mo -share/locale/fi/LC_MESSAGES/nautilus-cd-burner.mo -share/locale/fr/LC_MESSAGES/nautilus-cd-burner.mo -share/locale/ga/LC_MESSAGES/nautilus-cd-burner.mo -share/locale/gl/LC_MESSAGES/nautilus-cd-burner.mo -share/locale/gu/LC_MESSAGES/nautilus-cd-burner.mo -share/locale/he/LC_MESSAGES/nautilus-cd-burner.mo -share/locale/hi/LC_MESSAGES/nautilus-cd-burner.mo -share/locale/hr/LC_MESSAGES/nautilus-cd-burner.mo -share/locale/hu/LC_MESSAGES/nautilus-cd-burner.mo -share/locale/hy/LC_MESSAGES/nautilus-cd-burner.mo -share/locale/id/LC_MESSAGES/nautilus-cd-burner.mo -share/locale/is/LC_MESSAGES/nautilus-cd-burner.mo -share/locale/it/LC_MESSAGES/nautilus-cd-burner.mo -share/locale/ja/LC_MESSAGES/nautilus-cd-burner.mo -share/locale/ka/LC_MESSAGES/nautilus-cd-burner.mo -share/locale/kn/LC_MESSAGES/nautilus-cd-burner.mo -share/locale/ko/LC_MESSAGES/nautilus-cd-burner.mo -share/locale/ku/LC_MESSAGES/nautilus-cd-burner.mo -share/locale/lt/LC_MESSAGES/nautilus-cd-burner.mo -share/locale/lv/LC_MESSAGES/nautilus-cd-burner.mo -share/locale/mg/LC_MESSAGES/nautilus-cd-burner.mo -share/locale/mk/LC_MESSAGES/nautilus-cd-burner.mo -share/locale/ml/LC_MESSAGES/nautilus-cd-burner.mo -share/locale/mn/LC_MESSAGES/nautilus-cd-burner.mo -share/locale/mr/LC_MESSAGES/nautilus-cd-burner.mo -share/locale/ms/LC_MESSAGES/nautilus-cd-burner.mo -share/locale/nb/LC_MESSAGES/nautilus-cd-burner.mo -share/locale/ne/LC_MESSAGES/nautilus-cd-burner.mo -share/locale/nl/LC_MESSAGES/nautilus-cd-burner.mo -share/locale/nn/LC_MESSAGES/nautilus-cd-burner.mo -share/locale/oc/LC_MESSAGES/nautilus-cd-burner.mo -share/locale/or/LC_MESSAGES/nautilus-cd-burner.mo -share/locale/pa/LC_MESSAGES/nautilus-cd-burner.mo -share/locale/pl/LC_MESSAGES/nautilus-cd-burner.mo -share/locale/pt/LC_MESSAGES/nautilus-cd-burner.mo -share/locale/pt_BR/LC_MESSAGES/nautilus-cd-burner.mo -share/locale/ro/LC_MESSAGES/nautilus-cd-burner.mo -share/locale/ru/LC_MESSAGES/nautilus-cd-burner.mo -share/locale/rw/LC_MESSAGES/nautilus-cd-burner.mo -share/locale/si/LC_MESSAGES/nautilus-cd-burner.mo -share/locale/sk/LC_MESSAGES/nautilus-cd-burner.mo -share/locale/sl/LC_MESSAGES/nautilus-cd-burner.mo -share/locale/sq/LC_MESSAGES/nautilus-cd-burner.mo -share/locale/sr/LC_MESSAGES/nautilus-cd-burner.mo -share/locale/sr@latin/LC_MESSAGES/nautilus-cd-burner.mo -share/locale/sv/LC_MESSAGES/nautilus-cd-burner.mo -share/locale/ta/LC_MESSAGES/nautilus-cd-burner.mo -share/locale/te/LC_MESSAGES/nautilus-cd-burner.mo -share/locale/th/LC_MESSAGES/nautilus-cd-burner.mo -share/locale/tr/LC_MESSAGES/nautilus-cd-burner.mo -share/locale/ug/LC_MESSAGES/nautilus-cd-burner.mo -share/locale/uk/LC_MESSAGES/nautilus-cd-burner.mo -share/locale/vi/LC_MESSAGES/nautilus-cd-burner.mo -share/locale/xh/LC_MESSAGES/nautilus-cd-burner.mo -share/locale/zh_CN/LC_MESSAGES/nautilus-cd-burner.mo -share/locale/zh_HK/LC_MESSAGES/nautilus-cd-burner.mo -share/locale/zh_TW/LC_MESSAGES/nautilus-cd-burner.mo -%%DATADIR%%/cdspin1.png -%%DATADIR%%/cdspin2.png -%%DATADIR%%/cdspin3.png -%%DATADIR%%/cdspin4.png -%%DATADIR%%/cdspin5.png -%%DATADIR%%/cdspin6.png -%%DATADIR%%/cdspin7.png -%%DATADIR%%/cdspin8.png -%%DATADIR%%/nautilus-cd-burner.glade -@dirrm %%DATADIR%% -@dirrm include/libnautilus-burn -@exec %%LOCALBASE%%/bin/update-desktop-database > /dev/null || /usr/bin/true -@unexec %%LOCALBASE%%/bin/update-desktop-database > /dev/null || /usr/bin/true -@dirrmtry share/locale/zh_HK/LC_MESSAGES -@dirrmtry share/locale/zh_HK -@dirrmtry share/locale/xh/LC_MESSAGES -@dirrmtry share/locale/xh -@dirrmtry share/locale/ug/LC_MESSAGES -@dirrmtry share/locale/ug -@dirrmtry share/locale/te/LC_MESSAGES -@dirrmtry share/locale/te -@dirrmtry share/locale/sr@latin/LC_MESSAGES -@dirrmtry share/locale/sr@latin -@dirrmtry share/locale/si/LC_MESSAGES -@dirrmtry share/locale/si -@dirrmtry share/locale/rw/LC_MESSAGES -@dirrmtry share/locale/rw -@dirrmtry share/locale/oc/LC_MESSAGES -@dirrmtry share/locale/oc -@dirrmtry share/locale/mr/LC_MESSAGES -@dirrmtry share/locale/mr -@dirrmtry share/locale/mg/LC_MESSAGES -@dirrmtry share/locale/mg -@dirrmtry share/locale/ku/LC_MESSAGES -@dirrmtry share/locale/ku -@dirrmtry share/locale/hy/LC_MESSAGES -@dirrmtry share/locale/hy -@dirrmtry share/locale/dz/LC_MESSAGES -@dirrmtry share/locale/dz -@dirrmtry share/locale/bn_IN/LC_MESSAGES -@dirrmtry share/locale/bn_IN -@dirrmtry share/locale/be@latin/LC_MESSAGES -@dirrmtry share/locale/be@latin -@dirrmtry share/locale/as/LC_MESSAGES -@dirrmtry share/locale/as diff --git a/sysutils/sensors-applet/Makefile b/sysutils/sensors-applet/Makefile deleted file mode 100644 index 0a90357bcac4..000000000000 --- a/sysutils/sensors-applet/Makefile +++ /dev/null @@ -1,41 +0,0 @@ -# Created by: Jean-Yves Lefort <jylefort@FreeBSD.org> -# $FreeBSD$ - -PORTNAME= sensors-applet -PORTVERSION= 1.6.1 -PORTREVISION= 11 -CATEGORIES= sysutils -MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/GNOME%20Sensors%20Applet%20Version%20${PORTVERSION} - -MAINTAINER= ports@FreeBSD.org -COMMENT= A GNOME applet displaying hardware sensor values - -RUN_DEPENDS= mbmon:${PORTSDIR}/sysutils/xmbmon \ - smartctl:${PORTSDIR}/sysutils/smartmontools - -DEPRECATED= gnome-panel 2.x will be updated in the GNOME 3 import -EXPIRATION_DATE=2014-04-10 - -USES= pathfix pkgconfig -USE_GNOME= gnomeprefix intlhack gnomepanel libgnomeui -GNU_CONFIGURE= yes -USE_GMAKE= yes -DEFINES= -DMBMON_EXECUTABLE=\\\"${LOCALBASE}/bin/mbmon\\\" \ - -DSMARTCTL_HELPER=\\\"${PREFIX}/libexec/smartctl-helper\\\" -CPPFLAGS+= -I${LOCALBASE}/include ${DEFINES} -LDFLAGS+= -L${LOCALBASE}/lib - -NO_STAGE= yes -post-patch: - @${CP} -f ${FILESDIR}/mbmon-sensors-interface.* \ - ${FILESDIR}/smartctl-sensors-interface.* ${WRKSRC}/src - -post-build: - ${CC} ${CFLAGS} -DSMARTCTL=\"${LOCALBASE}/sbin/smartctl\" \ - -o ${WRKSRC}/smartctl-helper ${FILESDIR}/smartctl-helper.c - -post-install: - ${INSTALL_PROGRAM} ${WRKSRC}/smartctl-helper ${PREFIX}/libexec - ${CHMOD} u+s ${PREFIX}/libexec/smartctl-helper - -.include <bsd.port.mk> diff --git a/sysutils/sensors-applet/distinfo b/sysutils/sensors-applet/distinfo deleted file mode 100644 index 5065c9965ce6..000000000000 --- a/sysutils/sensors-applet/distinfo +++ /dev/null @@ -1,2 +0,0 @@ -SHA256 (sensors-applet-1.6.1.tar.gz) = 1ac5c6760e976366a1f12024325ba83a22e46e7f84f59dbdc89eb985c04260d2 -SIZE (sensors-applet-1.6.1.tar.gz) = 222358 diff --git a/sysutils/sensors-applet/files/mbmon-sensors-interface.c b/sysutils/sensors-applet/files/mbmon-sensors-interface.c deleted file mode 100644 index 6c48af42481d..000000000000 --- a/sysutils/sensors-applet/files/mbmon-sensors-interface.c +++ /dev/null @@ -1,163 +0,0 @@ -/* - * Copyright (C) 2006 Jean-Yves Lefort <jylefort@FreeBSD.org> - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ - -#include <stdlib.h> - -#ifdef HAVE_CONFIG_H -#include "config.h" -#endif /* HAVE_CONFIG_H */ - -#include "mbmon-sensors-interface.h" -#include "sensors-applet.h" - -static struct -{ - const char *name; - const char *label; - SensorType type; - const char *icon; - double value; -} mbmon_sensors[] = { - { "TEMP0", N_("Main Board"), TEMP_SENSOR, MEM_ICON }, - { "TEMP1", N_("CPU"), TEMP_SENSOR, CPU_ICON }, - { "TEMP2", N_("PSU"), TEMP_SENSOR, CASE_ICON }, - { "FAN0", N_("Main Board Fan"), FAN_SENSOR, FAN_ICON }, - { "FAN1", N_("CPU Fan"), FAN_SENSOR, FAN_ICON }, - { "FAN2", N_("PSU Fan"), FAN_SENSOR, FAN_ICON }, - { "VC0", N_("Vc0"), VOLTAGE_SENSOR, VOLTAGE_ICON }, - { "VC1", N_("Vc1"), VOLTAGE_SENSOR, VOLTAGE_ICON }, - { "V33", N_("V33"), VOLTAGE_SENSOR, VOLTAGE_ICON }, - { "V50P", N_("V50P"), VOLTAGE_SENSOR, VOLTAGE_ICON }, - { "V12P", N_("V12P"), VOLTAGE_SENSOR, VOLTAGE_ICON }, - { "V12N", N_("V12N"), VOLTAGE_SENSOR, VOLTAGE_ICON }, - { "V50N", N_("V50N"), VOLTAGE_SENSOR, VOLTAGE_ICON } -}; - -static gboolean -mbmon_sensors_interface_watch_cb (GIOChannel *source, - GIOCondition condition, - gpointer user_data) -{ - char *line; - gsize terminator; - - while (g_io_channel_read_line(source, &line, NULL, &terminator, NULL) == G_IO_STATUS_NORMAL) - { - char *space; - - line[terminator] = 0; - - space = strchr(line, ' '); - if (space) - { - int name_len; - int i; - - name_len = space - line; - for (i = 0; i < G_N_ELEMENTS(mbmon_sensors); i++) - if (! strncmp(mbmon_sensors[i].name, line, name_len)) - { - char *value_start; - - value_start = strstr(space + 1, ": "); - if (value_start) - { - double value; - char *end; - - value = strtod(value_start + 2, &end); - if (*end == 0) - mbmon_sensors[i].value = value; - } - - break; - } - } - - g_free(line); - } - - return TRUE; /* keep source */ -} - -void -mbmon_sensors_interface_init (SensorsApplet *sensors_applet) -{ - GError *err = NULL; - char *argv[] = { MBMON_EXECUTABLE, "-r", "10", NULL }; - int mbmon_stdout; - GIOChannel *channel; - int i; - - sensors_applet_register_sensors_interface(sensors_applet, - MBMON, - mbmon_sensors_interface_get_sensor_value); - - if (! g_spawn_async_with_pipes(NULL, - argv, - NULL, - 0, - NULL, - NULL, - NULL, - NULL, - &mbmon_stdout, - NULL, - &err)) - { - g_warning("Unable to execute mbmon: %s", err->message); - g_error_free(err); - return; - } - - channel = g_io_channel_unix_new(mbmon_stdout); - g_io_channel_set_flags(channel, G_IO_FLAG_NONBLOCK, NULL); - g_io_add_watch(channel, G_IO_IN, mbmon_sensors_interface_watch_cb, NULL); - - for (i = 0; i < G_N_ELEMENTS(mbmon_sensors); i++) - { - char *path; - - path = g_strdup_printf("/mbmon/%s", mbmon_sensors[i].name); - sensors_applet_add_sensor(sensors_applet, - path, - mbmon_sensors[i].name, - mbmon_sensors[i].label, - MBMON, - TRUE, - mbmon_sensors[i].type, - mbmon_sensors[i].icon); - g_free(path); - } -} - -double -mbmon_sensors_interface_get_sensor_value (const gchar *path, - const gchar *id, - SensorType type, - GError **error) -{ - int i; - - for (i = 0; i < G_N_ELEMENTS(mbmon_sensors); i++) - if (! strcmp(mbmon_sensors[i].name, id)) - return mbmon_sensors[i].value; - - g_set_error(error, 0, 0, "Unknown sensor \"%s\"", id); - return 0; -} diff --git a/sysutils/sensors-applet/files/mbmon-sensors-interface.h b/sysutils/sensors-applet/files/mbmon-sensors-interface.h deleted file mode 100644 index 3bf7df9b737c..000000000000 --- a/sysutils/sensors-applet/files/mbmon-sensors-interface.h +++ /dev/null @@ -1,30 +0,0 @@ -/* - * Copyright (C) 2006 Jean-Yves Lefort <jylefort@FreeBSD.org> - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ - -#ifndef MBMON_SENSORS_INTERFACE_H -#define MBMON_SENSORS_INTERFACE_H - -#include "sensors-applet.h" - -void mbmon_sensors_interface_init (SensorsApplet *sensors_applet); -double mbmon_sensors_interface_get_sensor_value (const gchar *path, - const gchar *id, - SensorType type, - GError **error); - -#endif /* MBMON_SENSORS_INTERFACE_H*/ diff --git a/sysutils/sensors-applet/files/patch-src_Makefile.in b/sysutils/sensors-applet/files/patch-src_Makefile.in deleted file mode 100644 index 9cc2997d7826..000000000000 --- a/sysutils/sensors-applet/files/patch-src_Makefile.in +++ /dev/null @@ -1,45 +0,0 @@ ---- src/Makefile.in.orig Fri Mar 24 15:54:47 2006 -+++ src/Makefile.in Thu May 4 05:03:13 2006 -@@ -206,21 +206,10 @@ - sensors-applet.h \ - sensors-applet-gconf.c \ - sensors-applet-gconf.h \ -- acpi-sensors-interface.c \ -- acpi-sensors-interface.h \ -- ibm-acpi-sensors-interface.c \ -- ibm-acpi-sensors-interface.h \ -- omnibook-sensors-interface.c \ -- omnibook-sensors-interface.h \ -- pmu-sys-sensors-interface.c \ -- pmu-sys-sensors-interface.h \ -- i8k-sensors-interface.c \ -- i8k-sensors-interface.h \ -- hddtemp-sensors-interface.c \ -- hddtemp-sensors-interface.h \ -- smu-sys-sensors-interface.c \ -- smu-sys-sensors-interface.h \ -- $(sensors_SRC) -+ mbmon-sensors-interface.c \ -+ mbmon-sensors-interface.h \ -+ smartctl-sensors-interface.c \ -+ smartctl-sensors-interface.h - - subdir = src - ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 -@@ -250,13 +239,9 @@ - am_sensors_applet_OBJECTS = main.$(OBJEXT) about-dialog.$(OBJEXT) \ - active-sensor.$(OBJEXT) prefs-dialog.$(OBJEXT) \ - sensor-config-dialog.$(OBJEXT) sensors-applet.$(OBJEXT) \ -- sensors-applet-gconf.$(OBJEXT) acpi-sensors-interface.$(OBJEXT) \ -- ibm-acpi-sensors-interface.$(OBJEXT) \ -- omnibook-sensors-interface.$(OBJEXT) \ -- pmu-sys-sensors-interface.$(OBJEXT) \ -- i8k-sensors-interface.$(OBJEXT) \ -- hddtemp-sensors-interface.$(OBJEXT) \ -- smu-sys-sensors-interface.$(OBJEXT) $(am__objects_1) -+ sensors-applet-gconf.$(OBJEXT) \ -+ mbmon-sensors-interface.$(OBJEXT) \ -+ smartctl-sensors-interface.$(OBJEXT) - sensors_applet_OBJECTS = $(am_sensors_applet_OBJECTS) - sensors_applet_LDADD = $(LDADD) - sensors_applet_DEPENDENCIES = diff --git a/sysutils/sensors-applet/files/patch-src_sensors-applet.c b/sysutils/sensors-applet/files/patch-src_sensors-applet.c deleted file mode 100644 index 895940b24225..000000000000 --- a/sysutils/sensors-applet/files/patch-src_sensors-applet.c +++ /dev/null @@ -1,49 +0,0 @@ ---- src/sensors-applet.c.orig Fri Mar 24 15:42:32 2006 -+++ src/sensors-applet.c Thu May 4 04:57:32 2006 -@@ -29,22 +29,14 @@ - #include "sensors-applet.h" - #include "active-sensor.h" - #include "sensors-applet-gconf.h" --#include "acpi-sensors-interface.h" - - /* use libsensors if available, otherwise manually find sensors */ - #ifdef HAVE_LIBSENSORS - #include "libsensors-sensors-interface.h" --#else --#include "i2c-sys-sensors-interface.h" --#include "i2c-proc-sensors-interface.h" - #endif - --#include "i8k-sensors-interface.h" --#include "ibm-acpi-sensors-interface.h" --#include "omnibook-sensors-interface.h" --#include "pmu-sys-sensors-interface.h" --#include "smu-sys-sensors-interface.h" --#include "hddtemp-sensors-interface.h" -+#include "mbmon-sensors-interface.h" -+#include "smartctl-sensors-interface.h" - #include "prefs-dialog.h" - #include "about-dialog.h" - -@@ -754,19 +746,11 @@ - } - - static void sensors_applet_setup_sensors_interfaces(SensorsApplet *sensors_applet) { -- acpi_sensors_interface_init(sensors_applet); -- hddtemp_sensors_interface_init(sensors_applet); - #ifdef HAVE_LIBSENSORS - libsensors_sensors_interface_init(sensors_applet); --#else -- i2c_proc_sensors_interface_init(sensors_applet); -- i2c_sys_sensors_interface_init(sensors_applet); - #endif -- i8k_sensors_interface_init(sensors_applet); -- ibm_acpi_sensors_interface_init(sensors_applet); -- omnibook_sensors_interface_init(sensors_applet); -- pmu_sys_sensors_interface_init(sensors_applet); -- smu_sys_sensors_interface_init(sensors_applet); -+ mbmon_sensors_interface_init(sensors_applet); -+ smartctl_sensors_interface_init(sensors_applet); - } - - diff --git a/sysutils/sensors-applet/files/patch-src_sensors-applet.h b/sysutils/sensors-applet/files/patch-src_sensors-applet.h deleted file mode 100644 index 7e73a9fcdca0..000000000000 --- a/sysutils/sensors-applet/files/patch-src_sensors-applet.h +++ /dev/null @@ -1,50 +0,0 @@ ---- src/sensors-applet.h.orig Fri Mar 24 15:44:07 2006 -+++ src/sensors-applet.h Thu May 4 04:58:05 2006 -@@ -32,41 +32,28 @@ - #define CPU_ICON PIXMAPS_DIR "cpu-icon.png" - #define HDD_ICON PIXMAPS_DIR "hdd-icon.png" - #define BATTERY_ICON PIXMAPS_DIR "battery-icon.png" --#define MEM_ICON PIXMAPS_DIR "mem-icon.png" -+#define MEM_ICON PIXMAPS_DIR "memory-icon.png" - #define GPU_ICON PIXMAPS_DIR "gpu-icon.png" - #define GENERIC_ICON PIXMAPS_DIR "generic-icon.png" - #define FAN_ICON PIXMAPS_DIR "fan-icon.png" -+#define CASE_ICON PIXMAPS_DIR "case-icon.png" - #define VOLTAGE_ICON NULL - - #define DEFAULT_ICON_SIZE 24 - - typedef enum { - UNUSED = 0, /* as a flag to test against later */ -- ACPI, -- HDDTEMP, -- I2C_SYS, -- I2C_PROC, -- IBM_ACPI, -- I8K, - LIBSENSORS, -- OMNIBOOK, -- PMU_SYS, -- SMU_SYS, -+ MBMON, -+ SMARTCTL, - N_SENSOR_INTERFACES - } SensorInterface; - - static const gchar *sensor_interface[] = { - "unused", -- "acpi", -- "hddtemp", -- "i2c-sys", -- "i2c-proc", -- "ibm-acpi", -- "i8k", - "libsensors", -- "omnibook", -- "pmu-sys", -- "smu-sys", -+ "mbmon", -+ "smartctl" - }; - - /* enumeration used to identify columns in the GtkTreeStore data diff --git a/sysutils/sensors-applet/files/smartctl-helper.c b/sysutils/sensors-applet/files/smartctl-helper.c deleted file mode 100644 index fe9aa4a3e3c9..000000000000 --- a/sysutils/sensors-applet/files/smartctl-helper.c +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Copyright (C) 2006 Jean-Yves Lefort <jylefort@FreeBSD.org> - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ - -#include <stdio.h> -#include <string.h> -#include <stdlib.h> -#include <unistd.h> - -static void -smartctl_helper_usage (void) -{ - fprintf(stderr, "Usage: smartctl-helper enable|attributes DEVICE\n"); - exit(1); -} - -int -main (int argc, char **argv) -{ - if (argc != 3) - smartctl_helper_usage(); - - if (! strcmp(argv[1], "enable")) - { - char *smartctl_argv[] = { "smartctl", "-s", "on", argv[2], NULL }; - execve(SMARTCTL, smartctl_argv, NULL); - } - else if (! strcmp(argv[1], "attributes")) - { - char *smartctl_argv[] = { "smartctl", "-A", argv[2], NULL }; - execve(SMARTCTL, smartctl_argv, NULL); - } - else - smartctl_helper_usage(); - - /* execve failed */ - fprintf(stderr, "Unable to execute %s\n", SMARTCTL); - return 1; -} diff --git a/sysutils/sensors-applet/files/smartctl-sensors-interface.c b/sysutils/sensors-applet/files/smartctl-sensors-interface.c deleted file mode 100644 index c3c4b3de8642..000000000000 --- a/sysutils/sensors-applet/files/smartctl-sensors-interface.c +++ /dev/null @@ -1,198 +0,0 @@ -/* - * Copyright (C) 2006 Jean-Yves Lefort <jylefort@FreeBSD.org> - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ - -#include <stdlib.h> -#include <time.h> - -#ifdef HAVE_CONFIG_H -#include "config.h" -#endif /* HAVE_CONFIG_H */ - -#include "smartctl-sensors-interface.h" -#include "sensors-applet.h" - -/* be gentle */ -#define POLL_INTERVAL 30 - -typedef struct -{ - time_t last_poll; - double value; -} SensorInfo; - -static GHashTable *sensors; - -static gboolean -smartctl_sensors_interface_run (const char *command, - const char *device, - char **output) -{ - char *argv[4]; - GSpawnFlags flags = G_SPAWN_STDERR_TO_DEV_NULL; - char *_output = NULL; - int exit_status; - - g_return_val_if_fail(command != NULL, FALSE); - g_return_val_if_fail(device != NULL, FALSE); - - argv[0] = SMARTCTL_HELPER; - argv[1] = (char *) command; - argv[2] = (char *) device; - argv[3] = NULL; - - if (! output) - flags |= G_SPAWN_STDOUT_TO_DEV_NULL; - - if (g_spawn_sync(NULL, argv, NULL, flags, NULL, NULL, output ? &_output : NULL, NULL, &exit_status, NULL)) - { - if (exit_status == 0) - { - if (output) - *output = _output; - - return TRUE; - } - g_free(_output); - } - - return FALSE; -} - -static gboolean -smartctl_sensors_interface_get_temperature (const char *device, double *temp) -{ - char *output; - char **lines; - int i; - gboolean status = FALSE; - - g_return_val_if_fail(device != NULL, FALSE); - - if (! smartctl_sensors_interface_run("attributes", device, &output)) - return FALSE; - - lines = g_strsplit(output, "\n", 0); - g_free(output); - - for (i = 0; lines[i]; i++) - if (g_str_has_prefix(lines[i], "194 Temperature_Celsius")) - { - char *p; - - p = strrchr(lines[i], ' '); - if (p) - { - double _temp; - char *end; - - _temp = strtod(p + 1, &end); - if (*end == 0) - { - status = TRUE; - if (temp) - *temp = _temp; - } - } - - break; - } - g_strfreev(lines); - - return status; -} - -static void -smartctl_sensors_interface_disk_init (SensorsApplet *sensors_applet, - const char *disk, - int unit) -{ - char *device; - - g_return_if_fail(sensors_applet != NULL); - g_return_if_fail(disk != NULL); - - device = g_strdup_printf("/dev/%s%i", disk, unit); - if (g_file_test(device, G_FILE_TEST_EXISTS) - && smartctl_sensors_interface_run("enable", device, NULL) - && smartctl_sensors_interface_get_temperature(device, NULL)) - { - char *path; - char *label; - - path = g_strdup_printf("/smartctl%s", device); - label = g_strdup_printf("%s%i", disk, unit); - - sensors_applet_add_sensor(sensors_applet, - path, - device, - label, - SMARTCTL, - TRUE, - TEMP_SENSOR, - HDD_ICON); - - g_free(path); - g_free(label); - } - g_free(device); -} - -void -smartctl_sensors_interface_init (SensorsApplet *sensors_applet) -{ - int i; - - sensors = g_hash_table_new(g_str_hash, g_str_equal); - - sensors_applet_register_sensors_interface(sensors_applet, - SMARTCTL, - smartctl_sensors_interface_get_sensor_value); - - /* smartctl supports ad(4) and da(4) disks */ - for (i = 0; i < 10; i++) - { - smartctl_sensors_interface_disk_init(sensors_applet, "ad", i); - smartctl_sensors_interface_disk_init(sensors_applet, "da", i); - } -} - -double -smartctl_sensors_interface_get_sensor_value (const gchar *path, - const gchar *id, - SensorType type, - GError **error) -{ - SensorInfo *info; - time_t now; - - info = g_hash_table_lookup(sensors, id); - if (! info) - { - info = g_new0(SensorInfo, 1); - g_hash_table_insert(sensors, g_strdup(id), info); - } - - now = time(NULL); - if (now == -1 || now - info->last_poll >= POLL_INTERVAL) - { - info->last_poll = now; - smartctl_sensors_interface_get_temperature(id, &info->value); - } - - return info->value; -} diff --git a/sysutils/sensors-applet/files/smartctl-sensors-interface.h b/sysutils/sensors-applet/files/smartctl-sensors-interface.h deleted file mode 100644 index 03b3b099a475..000000000000 --- a/sysutils/sensors-applet/files/smartctl-sensors-interface.h +++ /dev/null @@ -1,30 +0,0 @@ -/* - * Copyright (C) 2006 Jean-Yves Lefort <jylefort@FreeBSD.org> - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ - -#ifndef SMARTCTL_SENSORS_INTERFACE_H -#define SMARTCTL_SENSORS_INTERFACE_H - -#include "sensors-applet.h" - -void smartctl_sensors_interface_init (SensorsApplet *sensors_applet); -double smartctl_sensors_interface_get_sensor_value (const gchar *path, - const gchar *id, - SensorType type, - GError **error); - -#endif /* SMARTCTL_SENSORS_INTERFACE_H*/ diff --git a/sysutils/sensors-applet/pkg-descr b/sysutils/sensors-applet/pkg-descr deleted file mode 100644 index 889005445a76..000000000000 --- a/sysutils/sensors-applet/pkg-descr +++ /dev/null @@ -1,7 +0,0 @@ -GNOME Sensors Applet is an applet for the GNOME Panel to display readings from -hardware sensors, including CPU temperature, fan speeds and voltage readings. - -On FreeBSD, sensor values are obtained from the sysutils/mbmon (for -motherboards) and sysutils/smartmontools (for hard disks) ports. - -WWW: http://sensors-applet.sourceforge.net/ diff --git a/sysutils/sensors-applet/pkg-plist b/sysutils/sensors-applet/pkg-plist deleted file mode 100644 index fae823ba7ab9..000000000000 --- a/sysutils/sensors-applet/pkg-plist +++ /dev/null @@ -1,33 +0,0 @@ -libdata/bonobo/servers/SensorsApplet.server -libexec/sensors-applet -libexec/smartctl-helper -share/gnome-2.0/ui/SensorsApplet.xml -share/gnome/help/sensors-applet/C/figures/applet_in_panel.png -share/gnome/help/sensors-applet/C/legal.xml -share/gnome/help/sensors-applet/C/sensors-applet.xml -share/omf/sensors-applet/sensors-applet-C.omf -share/pixmaps/sensors-applet/battery-icon.png -share/pixmaps/sensors-applet/case-icon.png -share/pixmaps/sensors-applet/cpu-icon.png -share/pixmaps/sensors-applet/fan-icon.png -share/pixmaps/sensors-applet/hdd-icon.png -share/pixmaps/sensors-applet/high-temp-icon.png -share/pixmaps/sensors-applet/low-temp-icon.png -share/pixmaps/sensors-applet/memory-icon.png -share/pixmaps/sensors-applet/normal-temp-icon.png -share/pixmaps/sensors-applet/sensors-applet-icon.png -share/pixmaps/sensors-applet/very-high-temp-icon.png -share/pixmaps/sensors-applet/very-low-temp-icon.png -share/locale/de/LC_MESSAGES/sensors-applet.mo -share/locale/es/LC_MESSAGES/sensors-applet.mo -share/locale/fi/LC_MESSAGES/sensors-applet.mo -share/locale/fr/LC_MESSAGES/sensors-applet.mo -share/locale/it/LC_MESSAGES/sensors-applet.mo -share/locale/pl/LC_MESSAGES/sensors-applet.mo -share/locale/ro/LC_MESSAGES/sensors-applet.mo -share/locale/ru/LC_MESSAGES/sensors-applet.mo -@dirrm share/gnome/help/sensors-applet/C/figures -@dirrm share/gnome/help/sensors-applet/C -@dirrm share/gnome/help/sensors-applet -@dirrm share/omf/sensors-applet -@dirrm share/pixmaps/sensors-applet |