diff --git a/gsmartcontrol/NEWS b/gsmartcontrol/NEWS index aa2a0d1..266e53e 100644 --- a/gsmartcontrol/NEWS +++ b/gsmartcontrol/NEWS @@ -1,4 +1,33 @@ +Version 0.8.7, released on 2012-08-11 + Implemented support for Adaptec RAID 5805 controller and possibly other + Adaptec models as well (Linux). + Implemented support for Areca RAID controller detection under Linux + (untested). + Implemented support for 3ware 3w-sas-supported (twl) RAID controller + detection under Linux (untested). + Implemented support for systems with several different 3ware controllers + (twa/twe/twl). + Fixed invalid parsing of tw_cli output which caused non-detection of + drives and controllers with controller or port numbers greater than 9 + if tw_cli was found (3ware linux, windows). + The duplicate drives are no longer shown for some Intel matrix controllers + under Windows; Intel RAID controllers are fully supported under + Windows now. + Added options to show device name and serial number under drive icons. + Updated SMART attribute definitions and added warnings for SSD lifetime + attributes. + gsmartcontrol-root has a new argument "--desktop=..." which replaces the + old positional argument; compatibility with the old invocation syntax + has been retained. + Completely documented the source using doxygen tags. + Added support for Fedora's consolehelper. + Made GSmartControl DPI-aware under Windows. + Fixed compilation issues with clang and gcc 4.7, as well as glib 2.31.x + and newer. + Fixed minor issues in NSIS installer. + Fixed other minor bugs and made minor improvements. + Version 0.8.6, released on 2011-06-12 Support detecting drives behind 3ware controllers (Linux, Windows), including tw_cli/cx/px mode in Windows. Having tw_cli is recommended diff --git a/gsmartcontrol/data/nsis/distribution-nogtk.txt.in b/gsmartcontrol/data/nsis/distribution-nogtk.txt.in index 9062a99..0d42ae3 100644 --- a/gsmartcontrol/data/nsis/distribution-nogtk.txt.in +++ b/gsmartcontrol/data/nsis/distribution-nogtk.txt.in @@ -20,7 +20,7 @@ binary was compiled for 32-bit Windows, and should work on both 32-bit and 64-bit Windows. The binary was statically compiled against Gtkmm (http://www.gtkmm.org/) and related libraries, and PCRE (http://www.pcre.org/). -* Smartctl binaries (from smartmontools 5.41, http://smartmontools.sf.net/) +* Smartctl binaries (from smartmontools 5.43, http://smartmontools.sf.net/) - smartctl-nc.exe (compiled without console output), smartctl.exe (compiled with console output), update-smart-drivedb.exe (drive database updater). diff --git a/gsmartcontrol/data/nsis/distribution.txt.in b/gsmartcontrol/data/nsis/distribution.txt.in index b591f79..f4360d7 100644 --- a/gsmartcontrol/data/nsis/distribution.txt.in +++ b/gsmartcontrol/data/nsis/distribution.txt.in @@ -16,7 +16,7 @@ binary was compiled for 32-bit Windows, and should work on both 32-bit and 64-bit Windows. The binary was statically compiled against Gtkmm (http://www.gtkmm.org/) and related libraries, and PCRE (http://www.pcre.org/). -* Smartctl binaries (from smartmontools 5.41, http://smartmontools.sf.net/) +* Smartctl binaries (from smartmontools 5.43, http://smartmontools.sf.net/) - smartctl-nc.exe (compiled without console output), smartctl.exe (compiled with console output), update-smart-drivedb.exe (drive database updater). diff --git a/gsmartcontrol/gsmartcontrol.spec.in b/gsmartcontrol/gsmartcontrol.spec.in index 9edd096..1840719 100644 --- a/gsmartcontrol/gsmartcontrol.spec.in +++ b/gsmartcontrol/gsmartcontrol.spec.in @@ -64,7 +64,7 @@ BuildRequires: gcc-c++, pcre-devel, gtkmm24-devel >= 2.6.0, libglademm24-devel > # Fedora with consolehelper. # usermode-gtk is for consolehelper-gtk. %if 0%{?fedora_version} >= 11 -Requires: beesu, usermode-gtk +Requires: usermode-gtk %endif %endif @@ -145,13 +145,17 @@ rm -f $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/icon-theme.cache # We still retain gsmartcontrol-root for consistency with other distributions. # Make the desktop file run gsmartcontrol instead of gsmartcontrol-root -sed "s|gsmartcontrol-root|gsmartcontrol|g" %{_datadir}/applications/gsmartcontrol.desktop +sed "s|gsmartcontrol-root|gsmartcontrol|g" %{buildroot}%{_datadir}/applications/gsmartcontrol.desktop > %{buildroot}%{_datadir}/applications/gsmartcontrol.desktop.new +mv -f %{buildroot}%{_datadir}/applications/gsmartcontrol.desktop.new %{buildroot}%{_datadir}/applications/gsmartcontrol.desktop # The rest is taken from the official fedora spec: # http://pkgs.fedoraproject.org/cgit/gsmartcontrol.git/tree/ # Set up for console-helper mkdir -p %{buildroot}%{_sbindir} +# Add a copy as "gsmartcontrol-noroot", since gsmartcontrol will always +# ask for root password. +cp %{buildroot}%{_bindir}/%{name} %{buildroot}%{_bindir}/%{name}-noroot mv %{buildroot}%{_bindir}/%{name} %{buildroot}%{_sbindir}/%{name} ln -s consolehelper %{buildroot}%{_bindir}/%{name} @@ -205,6 +209,7 @@ rm -rf %buildroot %if 0%{?fedora_version} %config(noreplace) %{_sysconfdir}/pam.d/%{name} %config(noreplace) %{_sysconfdir}/security/console.apps/%{name} +%{_sbindir}/gsmartcontrol %endif %changelog