diff options
author | albator <[email protected]> | 2011-11-19 23:17:18 +0100 |
---|---|---|
committer | albator <[email protected]> | 2011-11-19 23:17:18 +0100 |
commit | b2e59abbbae6cb8854c3d3bb8a95432d319b7ba4 (patch) | |
tree | b449b495eee1b3f39872aff66d4f96c67d21a306 /redhat/applications/ksensors | |
parent | 334c3ce0d6df861ff1441603c6cff2f5805dd401 (diff) | |
download | tde-packaging-b2e59abbbae6cb8854c3d3bb8a95432d319b7ba4.tar.gz tde-packaging-b2e59abbbae6cb8854c3d3bb8a95432d319b7ba4.zip |
RHEL/Fedora: moves ksensors to 'extras' subdir
Diffstat (limited to 'redhat/applications/ksensors')
-rw-r--r-- | redhat/applications/ksensors/ksensors-0.7.3-fix-min-max.patch | 79 | ||||
-rw-r--r-- | redhat/applications/ksensors/ksensors-0.7.3-lm_sensors-3.x.patch | 245 | ||||
-rw-r--r-- | redhat/applications/ksensors/ksensors-0.7.3-po.patch | 41 | ||||
-rw-r--r-- | redhat/applications/ksensors/ksensors-0.7.3-trinity.patch | 102 | ||||
-rw-r--r-- | redhat/applications/ksensors/ksensors-0.7.3.tar.gz | bin | 864466 -> 0 bytes | |||
-rw-r--r-- | redhat/applications/ksensors/ksensors-desktop.patch | 35 | ||||
-rw-r--r-- | redhat/applications/ksensors/ksensors_0.7.3-15.diff.gz | bin | 14573 -> 0 bytes | |||
-rw-r--r-- | redhat/applications/ksensors/trinity-ksensors.spec | 205 |
8 files changed, 0 insertions, 707 deletions
diff --git a/redhat/applications/ksensors/ksensors-0.7.3-fix-min-max.patch b/redhat/applications/ksensors/ksensors-0.7.3-fix-min-max.patch deleted file mode 100644 index 14b3cc61c..000000000 --- a/redhat/applications/ksensors/ksensors-0.7.3-fix-min-max.patch +++ /dev/null @@ -1,79 +0,0 @@ -diff -up ksensors-0.7.3/src/lmsensor.cpp.minmax ksensors-0.7.3/src/lmsensor.cpp ---- ksensors-0.7.3/src/lmsensor.cpp.minmax 2007-11-11 15:12:24.000000000 +0100 -+++ ksensors-0.7.3/src/lmsensor.cpp 2007-11-11 15:26:30.000000000 +0100 -@@ -40,17 +40,30 @@ bool LMSensor::init(const sensors_featur - char *label; - QString str; - -- bool min_max=false; -+ bool min_found=false; -+ bool max_found=false; - while( (*data= sensors_get_all_features(*chip_name, nr1, nr2)) && (*data)->mapping!=SENSORS_NO_MAPPING) { -- str= (*data)->name; -- if(str.find("_min")>=0 || str.find("_low")>=0) { -- sensors_get_feature(*chip_name, (*data)->number, &valMin); -- min_max=true; -- } -- else if(str.find("_max")>=0 || str.find("_over")>=0 || str.find("_high")>=0) { -- sensors_get_feature(*chip_name, (*data)->number, &valMax); -- min_max=true; -+ int len = strlen((*data)->name); -+ const char *postfix = (*data)->name + len - 4; -+ -+ if (len < 5) -+ continue; -+ -+ if((!strcmp(postfix, "_min") || !strcmp(postfix, "_low")) && -+ !sensors_get_feature(*chip_name, (*data)->number, &valMin)) -+ min_found=true; -+ -+ if(!strcmp(postfix, "_max") && -+ !sensors_get_feature(*chip_name, (*data)->number, &valMax)) { -+ max_found=true; -+ continue; - } -+ -+ postfix--; -+ -+ if((!strcmp(postfix, "_over") || !strcmp(postfix, "_high")) && -+ !sensors_get_feature(*chip_name, (*data)->number, &valMax)) -+ max_found=true; - } - - double newVal; -@@ -87,22 +100,21 @@ bool LMSensor::init(const sensors_featur - sensors_get_label(*chip_name,feature,&label); - setDescription(QString(label)); - -- if(min_max){ -- if(min>max) { -- double pivot= valMin; -- min= max; -- max= pivot; -- } -- setValueMax(max,dgCelsius); -- setValueMin(min,dgCelsius); -- setValue((max+min)/2,dgCelsius); -- } -- else { -- setValueMax(70,dgCelsius); -- setValueMin(0,dgCelsius); -- setValue(newVal,dgCelsius); -+ if(min_found) -+ min = valMin; -+ -+ if(max_found) -+ max = valMax; -+ -+ if(min>max) { -+ double pivot= min; -+ min= max; -+ max= pivot; - } - -+ setValueMax(max,dgCelsius); -+ setValueMin(min,dgCelsius); -+ - readConfig(); - updateValue(); - setValueIdeal(getValue()); diff --git a/redhat/applications/ksensors/ksensors-0.7.3-lm_sensors-3.x.patch b/redhat/applications/ksensors/ksensors-0.7.3-lm_sensors-3.x.patch deleted file mode 100644 index bc56ea40e..000000000 --- a/redhat/applications/ksensors/ksensors-0.7.3-lm_sensors-3.x.patch +++ /dev/null @@ -1,245 +0,0 @@ -diff -up ksensors-0.7.3/src/lmsensor.cpp.lm_sensors3x ksensors-0.7.3/src/lmsensor.cpp ---- ksensors-0.7.3/src/lmsensor.cpp.lm_sensors3x 2007-11-11 16:34:15.000000000 +0100 -+++ ksensors-0.7.3/src/lmsensor.cpp 2007-11-11 16:37:58.000000000 +0100 -@@ -30,8 +30,11 @@ LMSensor::LMSensor(SensorsList *parent): - LMSensor::~LMSensor(){ - } - -- -+#if SENSORS_API_VERSION < 0x400 /* libsensor 3 code */ - bool LMSensor::init(const sensors_feature_data **data, int *nr1,int *nr2) -+#else -+bool LMSensor::init(const sensors_feature **data, int *nr1, int *nr2) -+#endif - { - double min,max; - const sensors_chip_name *chip_name= getChipName(); -@@ -40,6 +43,7 @@ bool LMSensor::init(const sensors_featur - char *label; - QString str; - -+#if SENSORS_API_VERSION < 0x400 /* libsensor 3 code */ - bool min_found=false; - bool max_found=false; - while( (*data= sensors_get_all_features(*chip_name, nr1, nr2)) && (*data)->mapping!=SENSORS_NO_MAPPING) { -@@ -105,7 +109,97 @@ bool LMSensor::init(const sensors_featur - - if(max_found) - max = valMax; -- -+ -+#else /* libsensors4 code */ -+ -+ const sensors_subfeature *sub_feature; -+ const sensors_feature *feature_data = *data; -+ -+ /* Move to next feature for the loop in LMSensorsChip::createSensors() */ -+ *data = sensors_get_features(chip_name, nr1); -+ -+ switch(feature_data->type) -+ { -+ case SENSORS_FEATURE_IN: -+ sub_feature = sensors_get_subfeature(chip_name, feature_data, -+ SENSORS_SUBFEATURE_IN_INPUT); -+ -+ if (!sub_feature) -+ return false; -+ -+ feature = sub_feature->number; -+ -+ if (!(sub_feature = sensors_get_subfeature(chip_name, feature_data, -+ SENSORS_SUBFEATURE_IN_MIN)) || -+ sensors_get_value(chip_name, sub_feature->number, &min)) -+ min = -16; -+ -+ if (!(sub_feature = sensors_get_subfeature(chip_name, feature_data, -+ SENSORS_SUBFEATURE_IN_MAX)) || -+ sensors_get_value(chip_name, sub_feature->number, &max)) -+ max = 16; -+ -+ setType(lmVoltage); -+ break; -+ -+ case SENSORS_FEATURE_FAN: -+ sub_feature = sensors_get_subfeature(chip_name, feature_data, -+ SENSORS_SUBFEATURE_FAN_INPUT); -+ -+ if (!sub_feature) -+ return false; -+ -+ feature = sub_feature->number; -+ -+ if (!(sub_feature = sensors_get_subfeature(chip_name, feature_data, -+ SENSORS_SUBFEATURE_FAN_MIN)) || -+ sensors_get_value(chip_name, sub_feature->number, &min)) -+ min = 3000; -+ -+ max = 10000; -+ -+ setType(lmFan); -+ break; -+ -+ case SENSORS_FEATURE_TEMP: -+ sub_feature = sensors_get_subfeature(chip_name, feature_data, -+ SENSORS_SUBFEATURE_TEMP_INPUT); -+ -+ if (!sub_feature) -+ return false; -+ -+ feature = sub_feature->number; -+ -+ if (!(sub_feature = sensors_get_subfeature(chip_name, feature_data, -+ SENSORS_SUBFEATURE_TEMP_MIN)) || -+ sensors_get_value(chip_name, sub_feature->number, &min)) -+ min = 0; -+ -+ if ((!(sub_feature = sensors_get_subfeature(chip_name, feature_data, -+ SENSORS_SUBFEATURE_TEMP_MAX)) && -+ !(sub_feature = sensors_get_subfeature(chip_name, feature_data, -+ SENSORS_SUBFEATURE_TEMP_CRIT))) || -+ sensors_get_value(chip_name, sub_feature->number, &max)) -+ max = 65; -+ -+ setType(lmTemp); -+ break; -+ -+ default: -+ return false; -+ } -+ -+ str.sprintf("%s.%s", chip_name->prefix, main_name); -+ setName( str.latin1() ); -+ -+ label = sensors_get_label(chip_name, feature_data); -+ if (label) -+ setDescription(QString(label)); -+ else -+ setDescription( str.latin1() ); -+ -+#endif /* libsensors3 / libsensors4 code */ -+ - if(min>max) { - double pivot= min; - min= max; -@@ -131,7 +225,11 @@ double LMSensor::readSensorValue() - { - double newVal; - const sensors_chip_name *chip_name= getChipName(); -+#if SENSORS_API_VERSION < 0x400 /* libsensor 3 code */ - sensors_get_feature(*chip_name, feature, &newVal); -+#else -+ sensors_get_value(chip_name, feature, &newVal); -+#endif - return newVal; - } - -diff -up ksensors-0.7.3/src/lmsensorschip.cpp.lm_sensors3x ksensors-0.7.3/src/lmsensorschip.cpp ---- ksensors-0.7.3/src/lmsensorschip.cpp.lm_sensors3x 2003-12-27 22:52:12.000000000 +0100 -+++ ksensors-0.7.3/src/lmsensorschip.cpp 2007-11-11 16:34:15.000000000 +0100 -@@ -50,10 +50,15 @@ const sensors_chip_name *LMSensorsChip:: - void LMSensorsChip::createSensors() - { - if(!chip_name) return; -- const sensors_feature_data *data; - int nr1= 0; - int nr2= 0; -+#if SENSORS_API_VERSION < 0x400 /* libsensor 3 code */ -+ const sensors_feature_data *data; - data= sensors_get_all_features(*chip_name, &nr1, &nr2); -+#else -+ const sensors_feature *data; -+ data= sensors_get_features(chip_name, &nr1); -+#endif - while(data) { - LMSensor *sensor= new LMSensor(this); - if( !sensor->init(&data,&nr1,&nr2) ) -diff -up ksensors-0.7.3/src/lmsensor.h.lm_sensors3x ksensors-0.7.3/src/lmsensor.h ---- ksensors-0.7.3/src/lmsensor.h.lm_sensors3x 2003-12-27 22:52:12.000000000 +0100 -+++ ksensors-0.7.3/src/lmsensor.h 2007-11-11 16:34:15.000000000 +0100 -@@ -51,7 +51,11 @@ protected: - - double calculateIdealValue(); - -+#if SENSORS_API_VERSION < 0x400 /* libsensor 3 code */ - bool init(const sensors_feature_data **data, int *nr1,int *nr2); -+#else -+ bool init(const sensors_feature **data, int *nr1,int *nr2); -+#endif - const sensors_chip_name *getChipName(); - - private: -diff -up ksensors-0.7.3/src/lmsensors.cpp.lm_sensors3x ksensors-0.7.3/src/lmsensors.cpp ---- ksensors-0.7.3/src/lmsensors.cpp.lm_sensors3x 2007-11-11 16:34:15.000000000 +0100 -+++ ksensors-0.7.3/src/lmsensors.cpp 2007-11-11 16:34:15.000000000 +0100 -@@ -45,17 +45,23 @@ LMSensors::~LMSensors() - - bool LMSensors::initSensors() - { -+#if SENSORS_API_VERSION < 0x400 /* libsensor 3 code */ - FILE *fp=fopen("/etc/sensors.conf","r"); - if(!fp) { - qWarning("KSensors error: /etc/sensors.conf not found !"); - return false; - } -+#else -+ FILE *fp=NULL; -+#endif - int err= sensors_init(fp); - if(err) { - qWarning("KSensors error: sensors_init fail, error code %d",err); - return false; - } -+#if SENSORS_API_VERSION < 0x400 /* libsensor 3 code */ - fclose(fp); -+#endif - return true; - } - -@@ -63,6 +69,7 @@ void LMSensors::createLMSensors() - { - const sensors_chip_name *chip_name; - int err= 0; -+#if SENSORS_API_VERSION < 0x400 /* libsensor 3 code */ - while( (chip_name= sensors_get_detected_chips(&err)) ) - { - if( existSensor(chip_name,"temp") || -@@ -71,6 +78,10 @@ void LMSensors::createLMSensors() - (void)new LMSensorsChip(chip_name,this); - } - } -+#else -+ while( (chip_name= sensors_get_detected_chips(NULL, &err)) ) -+ (void)new LMSensorsChip(chip_name,this); -+#endif - } - - void LMSensors::createHDSensors() -@@ -86,6 +97,7 @@ void LMSensors::createI8KSensors() - } - - -+#if SENSORS_API_VERSION < 0x400 /* libsensor 3 code */ - int LMSensors::existSensor(const sensors_chip_name *chip_name,const char *sensor_name) - { - int nr1,nr2; -@@ -99,6 +111,7 @@ const sensors_feature_data *sensor_data; - } - return 0; - } -+#endif - - void LMSensors::setMonitorized(bool enable) - { -diff -up ksensors-0.7.3/src/lmsensors.h.lm_sensors3x ksensors-0.7.3/src/lmsensors.h ---- ksensors-0.7.3/src/lmsensors.h.lm_sensors3x 2003-12-27 22:52:12.000000000 +0100 -+++ ksensors-0.7.3/src/lmsensors.h 2007-11-11 16:34:15.000000000 +0100 -@@ -65,7 +65,9 @@ private: - void createI8KSensors(); - void childEvent ( QChildEvent *e ); - -+#if SENSORS_API_VERSION < 0x400 /* libsensor 3 code */ - static int existSensor(const sensors_chip_name *chip_name,const char *sensor_name); -+#endif - }; - - #endif diff --git a/redhat/applications/ksensors/ksensors-0.7.3-po.patch b/redhat/applications/ksensors/ksensors-0.7.3-po.patch deleted file mode 100644 index e4fc3b3b1..000000000 --- a/redhat/applications/ksensors/ksensors-0.7.3-po.patch +++ /dev/null @@ -1,41 +0,0 @@ ---- ksensors-0.7.3/po/Makefile.in~ 2004-08-19 00:39:08.000000000 +0300 -+++ ksensors-0.7.3/po/Makefile.in 2007-06-26 22:05:56.000000000 +0300 -@@ -255,8 +255,8 @@ xdg_appsdir = @xdg_appsdir@ - xdg_directorydir = @xdg_directorydir@ - #>- POFILES = AUTO - #>+ 2 --POFILES = nl.po fr.po es.po de.po cs.po --GMOFILES = nl.gmo fr.gmo es.gmo de.gmo cs.gmo -+POFILES = nl.po fr.po es.po de.po cs.po it.po pl.po sv.po nb.po -+GMOFILES = nl.gmo fr.gmo es.gmo de.gmo cs.gmo it.gmo pl.gmo sv.gmo nb.gmo - subdir = po - mkinstalldirs = $(SHELL) $(top_srcdir)/admin/mkinstalldirs - CONFIG_HEADER = $(top_builddir)/config.h -@@ -431,6 +431,18 @@ de.gmo: de.po - cs.gmo: cs.po - rm -f cs.gmo; $(GMSGFMT) -o cs.gmo $(srcdir)/cs.po - test ! -f cs.gmo || touch cs.gmo -+it.gmo: it.po -+ rm -f it.gmo; $(GMSGFMT) -o it.gmo $(srcdir)/it.po -+ test ! -f it.gmo || touch it.gmo -+nb.gmo: nb.po -+ rm -f nb.gmo; $(GMSGFMT) -o nb.gmo $(srcdir)/nb.po -+ test ! -f nb.gmo || touch nb.gmo -+pl.gmo: pl.po -+ rm -f pl.gmo; $(GMSGFMT) -o pl.gmo $(srcdir)/pl.po -+ test ! -f pl.gmo || touch pl.gmo -+sv.gmo: sv.po -+ rm -f sv.gmo; $(GMSGFMT) -o sv.gmo $(srcdir)/sv.po -+ test ! -f sv.gmo || touch sv.gmo - - #>+ 3 - clean-nls: -@@ -438,7 +450,7 @@ clean-nls: - - #>+ 10 - install-nls: -- @for base in nl fr es de cs ; do \ -+ @for base in nl fr es de cs it pl sv nb ; do \ - echo $(INSTALL_DATA) $$base.gmo $(DESTDIR)$(kde_locale)/$$base/LC_MESSAGES/$(PACKAGE).mo ;\ - $(mkinstalldirs) $(DESTDIR)$(kde_locale)/$$base/LC_MESSAGES ; \ - if test -f $$base.gmo; then $(INSTALL_DATA) $$base.gmo $(DESTDIR)$(kde_locale)/$$base/LC_MESSAGES/$(PACKAGE).mo ;\ diff --git a/redhat/applications/ksensors/ksensors-0.7.3-trinity.patch b/redhat/applications/ksensors/ksensors-0.7.3-trinity.patch deleted file mode 100644 index 9f6a3a6d7..000000000 --- a/redhat/applications/ksensors/ksensors-0.7.3-trinity.patch +++ /dev/null @@ -1,102 +0,0 @@ -diff -Nuar ksensors-0.7.3.ORI//configure ksensors-0.7.3.P//configure ---- ksensors-0.7.3.ORI//configure 2004-08-18 23:37:56.000000000 +0200 -+++ ksensors-0.7.3.P//configure 2011-11-07 22:55:46.555892050 +0100 -@@ -25119,7 +25119,7 @@ - - if test -z ""; then - --kde_incdirs="/usr/lib/kde/include /usr/local/kde/include /usr/local/include /usr/kde/include /usr/include/kde /usr/include /opt/kde3/include /opt/kde/include $x_includes $qt_includes" -+kde_incdirs="/usr/lib/kde/include /usr/local/kde/include /usr/local/include /usr/kde/include /usr/include/kde /usr/include /opt/trinity/include /opt/kde/include $x_includes $qt_includes" - test -n "$KDEDIR" && kde_incdirs="$KDEDIR/include $KDEDIR/include/kde $KDEDIR $kde_incdirs" - kde_incdirs="$ac_kde_includes $kde_incdirs" - -@@ -25149,7 +25149,7 @@ - { (exit 1); exit 1; }; } - fi - --kde_libdirs="/usr/lib/kde/lib${kdelibsuff} /usr/local/kde/lib${kdelibsuff} /usr/kde/lib${kdelibsuff} /usr/lib${kdelibsuff}/kde /usr/lib${kdelibsuff}/kde3 /usr/lib${kdelibsuff} /usr/X11R6/lib${kdelibsuff} /usr/local/lib${kdelibsuff} /opt/kde3/lib${kdelibsuff} /opt/kde/lib${kdelibsuff} /usr/X11R6/kde/lib${kdelibsuff}" -+kde_libdirs="/usr/lib/kde/lib${kdelibsuff} /usr/local/kde/lib${kdelibsuff} /usr/kde/lib${kdelibsuff} /usr/lib${kdelibsuff}/kde /usr/lib${kdelibsuff}/trinity /usr/lib${kdelibsuff} /usr/X11R6/lib${kdelibsuff} /usr/local/lib${kdelibsuff} /opt/trinity/lib${kdelibsuff} /opt/kde/lib${kdelibsuff} /usr/X11R6/kde/lib${kdelibsuff}" - test -n "$KDEDIR" && kde_libdirs="$KDEDIR/lib${kdelibsuff} $KDEDIR $kde_libdirs" - kde_libdirs="$ac_kde_libraries $libdir $kde_libdirs" - -@@ -25174,7 +25174,7 @@ - kde_widgetdir=NO - for i in $kde_libdirs; - do -- for j in "kde3/plugins/designer/kdewidgets.la"; -+ for j in "trinity/plugins/designer/kdewidgets.la"; - do - echo "configure: 25179: $i/$j" >&5 - if test -r "$i/$j"; then -@@ -25196,7 +25196,7 @@ - { (exit 1); exit 1; }; } - fi - --if test -n "$kde_widgetdir" && test ! -r "$kde_widgetdir/kde3/plugins/designer/kdewidgets.la"; then -+if test -n "$kde_widgetdir" && test ! -r "$kde_widgetdir/trinity/plugins/designer/kdewidgets.la"; then - { { echo "$as_me:$LINENO: error: - I can't find the designer plugins. These are required and should have been installed - by kdelibs" >&5 -@@ -25207,7 +25207,7 @@ - fi - - if test -n "$kde_widgetdir"; then -- kde_widgetdir="$kde_widgetdir/kde3/plugins/designer" -+ kde_widgetdir="$kde_widgetdir/trinity/plugins/designer" - fi - - -@@ -25428,14 +25428,14 @@ - if test "$kde_qtver" = "2"; then - kde_moduledir='\${libdir}/kde2' - else -- kde_moduledir='\${libdir}/kde3' -+ kde_moduledir='\${libdir}/trinity' - fi - fi - if test -z "$kde_styledir"; then -- kde_styledir='\${libdir}/kde3/plugins/styles' -+ kde_styledir='\${libdir}/trinity/plugins/styles' - fi - if test -z "$kde_widgetdir"; then -- kde_widgetdir='\${libdir}/kde3/plugins/designer' -+ kde_widgetdir='\${libdir}/trinity/plugins/designer' - fi - if test -z "$xdg_appsdir"; then - xdg_appsdir='\${datadir}/applications' -@@ -25716,14 +25716,14 @@ - if test "$kde_qtver" = "2"; then - kde_moduledir='\${libdir}/kde2' - else -- kde_moduledir='\${libdir}/kde3' -+ kde_moduledir='\${libdir}/trinity' - fi - fi - if test -z "$kde_styledir"; then -- kde_styledir='\${libdir}/kde3/plugins/styles' -+ kde_styledir='\${libdir}/trinity/plugins/styles' - fi - if test -z "$kde_widgetdir"; then -- kde_widgetdir='\${libdir}/kde3/plugins/designer' -+ kde_widgetdir='\${libdir}/trinity/plugins/designer' - fi - if test -z "$xdg_appsdir"; then - xdg_appsdir='\${datadir}/applications' -@@ -25982,7 +25982,7 @@ - fi - - -- kde_default_bindirs="/usr/bin /usr/local/bin /opt/local/bin /usr/X11R6/bin /opt/kde/bin /opt/kde3/bin /usr/kde/bin /usr/local/kde/bin" -+ kde_default_bindirs="/usr/bin /usr/local/bin /opt/local/bin /usr/X11R6/bin /opt/kde/bin /opt/trinity/bin /usr/kde/bin /usr/local/kde/bin" - test -n "$KDEDIR" && kde_default_bindirs="$KDEDIR/bin $kde_default_bindirs" - if test -n "$KDEDIRS"; then - kde_save_IFS=$IFS -@@ -26377,7 +26377,7 @@ - - - if test -n "$MEINPROC" && test ! "$MEINPROC" = "compiled"; then -- kde_sharedirs="/usr/share/kde /usr/local/share /usr/share /opt/kde3/share /opt/kde/share $prefix/share" -+ kde_sharedirs="/usr/share/kde /usr/local/share /usr/share /opt/trinity/share /opt/kde/share $prefix/share" - test -n "$KDEDIR" && kde_sharedirs="$KDEDIR/share $kde_sharedirs" - - KDE_XSL_STYLESHEET=NO diff --git a/redhat/applications/ksensors/ksensors-0.7.3.tar.gz b/redhat/applications/ksensors/ksensors-0.7.3.tar.gz Binary files differdeleted file mode 100644 index a101185cf..000000000 --- a/redhat/applications/ksensors/ksensors-0.7.3.tar.gz +++ /dev/null diff --git a/redhat/applications/ksensors/ksensors-desktop.patch b/redhat/applications/ksensors/ksensors-desktop.patch deleted file mode 100644 index c51e769ec..000000000 --- a/redhat/applications/ksensors/ksensors-desktop.patch +++ /dev/null @@ -1,35 +0,0 @@ -diff -up ksensors-0.7.3/src/ksensors.desktop.desktop ksensors-0.7.3/src/ksensors.desktop ---- ksensors-0.7.3/src/ksensors.desktop.desktop 2003-12-27 22:48:03.000000000 +0100 -+++ ksensors-0.7.3/src/ksensors.desktop 2007-07-28 00:21:34.000000000 +0200 -@@ -1,24 +1,11 @@ - [Desktop Entry] - Encoding=UTF-8 --Name=ksensors --Name[xx]=xxksensorsxx -+Name=KSensors -+GenericName=Hardware Monitor - Exec=ksensors - Icon=ksensors - Type=Application --Comment=A simple KDE Application --Comment[ca]=Una simple aplicació KDE --Comment[da]=Et simpelt KDE program --Comment[de]=Eine einfache KDE-Anwendung --Comment[el]=Μια απλή εφαρμογή του KDE --Comment[es]=Una aplicación de KDE sencilla --Comment[et]=Lihtne KDE rakendus --Comment[fr]=Une application simple pour KDE. --Comment[hu]=Egyszerű KDE-alkalmazás --Comment[it]=Una semplice applicazione KDE --Comment[pt]=Uma aplicação KDE simples --Comment[pt_BR]=Um simples Aplicativo do KDE --Comment[ru]=Простое приложение KDE --Comment[sl]=Preprost program za KDE --Comment[sr]=Проста KDE-ова апликација --Comment[sv]=Ett enkelt KDE-program --Comment[xx]=xxA simple KDE Applicationxx -+Comment=Monitor system hardware sensors -+Categories=System;Monitor;KDE; -+X-KDE-autostart-after=panel -+X-KDE-autostart-condition=ksensorsrc:General:AutoStart:true -diff -up ksensors-0.7.3/src/ksensors.desktop ksensors-0.7.3/src/ksensors diff --git a/redhat/applications/ksensors/ksensors_0.7.3-15.diff.gz b/redhat/applications/ksensors/ksensors_0.7.3-15.diff.gz Binary files differdeleted file mode 100644 index ad6dd2b0c..000000000 --- a/redhat/applications/ksensors/ksensors_0.7.3-15.diff.gz +++ /dev/null diff --git a/redhat/applications/ksensors/trinity-ksensors.spec b/redhat/applications/ksensors/trinity-ksensors.spec deleted file mode 100644 index 7b0f5c20d..000000000 --- a/redhat/applications/ksensors/trinity-ksensors.spec +++ /dev/null @@ -1,205 +0,0 @@ -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?_prefix}" != "/usr" -%define _variant .opt -%define _docdir %{_prefix}/share/doc -%endif - -Name: trinity-ksensors -Version: 0.7.3 -Release: 19p1%{?dist} -Summary: KDE frontend to lm_sensors -Group: Applications/System -License: GPLv2+ -URL: http://ksensors.sourceforge.net/ -Source0: http://downloads.sourceforge.net/ksensors/ksensors-%{version}.tar.gz -Patch1: ksensors-desktop.patch -Patch2: http://ftp.debian.org/debian/pool/main/k/ksensors/ksensors_0.7.3-15.diff.gz -Patch3: ksensors-0.7.3-po.patch -Patch4: ksensors-0.7.3-fix-min-max.patch -Patch5: ksensors-0.7.3-lm_sensors-3.x.patch -Patch6: ksensors-0.7.3-trinity.patch -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) -BuildRequires: trinity-kdelibs-devel -BuildRequires: lm_sensors-devel gettext desktop-file-utils -Requires: hicolor-icon-theme -# Keep archs in sync with lm_sensors -ExcludeArch: s390 s390x - -%description -KSensors is a nice lm-sensors frontend for the K Desktop Environment. -Install the hddtemp package if you wish to monitor hard disk -temperatures with KSensors. - - -%prep -%setup -q -n ksensors-%{version} -%patch1 -p1 -z .desktop -%patch2 -p1 -%patch3 -p1 -z .po -%patch4 -p1 -z .minmax -%patch5 -p1 -z .lm_sensors3x -%patch6 -p1 -sed -i -e 's|$(kde_datadir)/sounds|$(kde_sounddir)|' src/sounds/Makefile.* -for f in ChangeLog LIESMICH LISEZMOI ; do - iconv -f iso-8859-1 -t utf-8 $f > $f.utf8 ; mv $f.utf8 $f -done - -%build -unset QTDIR ; . %{_sysconfdir}/profile.d/qt.sh - -%configure \ - --disable-dependency-tracking \ - --disable-rpath \ - --with-extra-includes=%{_includedir}/tqt -make %{?_smp_mflags} - - -%install -rm -rf $RPM_BUILD_ROOT -make install DESTDIR=$RPM_BUILD_ROOT -desktop-file-install --vendor fedora --mode 644 --delete-original \ - --dir $RPM_BUILD_ROOT%{_datadir}/applications \ - $RPM_BUILD_ROOT%{_datadir}/applnk/Utilities/ksensors.desktop -install -dm 755 $RPM_BUILD_ROOT%{_datadir}/autostart -ln -s ../applications/fedora-ksensors.desktop \ - $RPM_BUILD_ROOT%{_datadir}/autostart -rm -rf $RPM_BUILD_ROOT%{_docdir}/HTML -%find_lang ksensors - - -%clean -rm -rf $RPM_BUILD_ROOT - - -%post -for f in locolor hicolor ; do - touch --no-create %{_datadir}/icons/$f 2> /dev/null || : - gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null || : -done - -%postun -for f in locolor hicolor ; do - touch --no-create %{_datadir}/icons/$f 2> /dev/null || : - gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null || : -done - - -%files -f ksensors.lang -%defattr(-,root,root,-) -%doc AUTHORS ChangeLog COPYING FAQ README TODO -%lang(es) %doc LEEME -%lang(de) %doc LIESMICH -%lang(fr) %doc LISEZMOI -%{_bindir}/ksensors -%{_datadir}/applications/*ksensors.desktop -%{_datadir}/apps/ksensors/ -%{_datadir}/autostart/*ksensors.desktop -%{_datadir}/icons/hicolor/*x*/apps/ksensors.png -%{_datadir}/icons/locolor/ -%{_datadir}/sounds/ksensors_alert.wav - - -%changelog -* Mon Nov 07 2011 Francois Andriot <[email protected]> - 0.7.3-19p1 -- Rebuilt for RHEL 6, RHEL 5, Fedora 15 with TDE 3.5.13 - -* Mon Feb 07 2011 Fedora Release Engineering <[email protected]> - 0.7.3-19 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild - -* Fri Jul 24 2009 Fedora Release Engineering <[email protected]> - 0.7.3-18 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild - -* Wed Feb 25 2009 Fedora Release Engineering <[email protected]> - 0.7.3-17 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild - -* Fri Feb 15 2008 Hans de Goede <[email protected]> 0.7.3-16 -- Update Debian patch to -15 release - -* Thu Jan 3 2008 Hans de Goede <[email protected]> 0.7.3-15 -- Change BuildRequires: kdelibs-devel into kdelibs3-devel - -* Sun Nov 11 2007 Hans de Goede <[email protected]> 0.7.3-14 -- Patch for and Rebuild against lm_sensors-3.0.0 - -* Sun Nov 11 2007 Hans de Goede <[email protected]> 0.7.3-13 -- Fix reading of min and max tresholds from libsensors - -* Mon Aug 13 2007 Hans de Goede <[email protected]> 0.7.3-12 -- Update License tag for new Licensing Guidelines compliance - -* Fri Jul 27 2007 Hans de Goede <[email protected]> 0.7.3-11 -- Remove OnlyShowIn=KDE; from .desktop file (I like using ksensors under GNOME, - works fine grumbel) - -* Fri Jul 27 2007 Hans de Goede <[email protected]> 0.7.3-10 -- Add icon-cache update scriptlets -- Add Requires: hicolor-icon-theme for dir ownership - -* Fri Jul 20 2007 Ville Skyttä <ville.skytta at iki.fi> - 0.7.3-9 -- Sync Exclu(de|sive)Arch with new lm_sensors (#249060). - -* Tue Jun 26 2007 Ville Skyttä <ville.skytta at iki.fi> - 0.7.3-8 -- Update Debian patchset to -14 for additional fixes and translations; - drop our hddtemp detection patch in favour of the one included in it. -- Drop Application and X-Fedora categories from .desktop file, add GenericName. -- Make autostart checkbox effective again (#242570). -- Convert docs to UTF-8. - -* Sat Sep 30 2006 Ville Skyttä <ville.skytta at iki.fi> - 0.7.3-7 -- Apply Debian -11 patchset for upstream radio button state fix, - support for hddtemp with SCSI disks and more translations. - -* Wed Aug 30 2006 Ville Skyttä <ville.skytta at iki.fi> - 0.7.3-6 -- Rebuild. - -* Wed Feb 15 2006 Ville Skyttä <ville.skytta at iki.fi> - 0.7.3-5 -- Rebuild. - -* Thu Nov 3 2005 Ville Skyttä <ville.skytta at iki.fi> - 0.7.3-4 -- Clean up build dependencies. - -* Thu May 19 2005 Ville Skyttä <ville.skytta at iki.fi> - 0.7.3-3 -- Sync arch availability with FC4 lm_sensors (%%{ix86}, x86_64, alpha). -- Reduce directory ownership bloat. - -* Fri Apr 7 2005 Michael Schwendt <mschwendt[AT]users.sf.net> - 0.7.3-2 -- rebuilt - -* Sat Aug 21 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:0.7.3-0.fdr.1 -- Update to 0.7.3, most patches applied upstream. -- Disable dependency tracking to speed up the build. - -* Tue Jul 20 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:0.7.2-0.fdr.4 -- Force use of multithreaded Qt with --enable-mt to fix build on FC2. -- Sync Debian patch to 0.7.2-16 to get a fix for freeze with hddtemp. -- Apply upstream patches #913569 and #915725. -- Disable RPATH. -- Don't ship the "handbook", it's just a template. -- Other minor improvements here and there. - -* Sat Aug 2 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:0.7.2-0.fdr.3 -- Own dirs under %%{_datadir}/icons and %%{_docdir}/HTML (bug 21). -- Don't tweak path to hddtemp. -- Patch to fix hddtemp detection. -- s/--enable-xinerama/--with-xinerama/ -- Borrow man page from Debian. - -* Sat May 31 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:0.7.2-0.fdr.2 -- Spec cleanups. - -* Fri Apr 4 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:0.7.2-0.fdr.1 -- Update to current Fedora guidelines. -- Move desktop entry to %%{_datadir}/applications using desktop-file-install. - -* Sun Feb 23 2003 Warren Togami <[email protected]> - 0.7.2-1.fedora.2 -- BuildRequires libart_lgpl-devel needed for Red Hat 8.1 - -* Sun Feb 23 2003 Ville Skyttä <ville.skytta at iki.fi> - 0.7.2-1.fedora.1 -- Update to 0.7.2. -- Don't apply startup crash patch, but keep it around for now. - -* Sat Feb 15 2003 Ville Skyttä <ville.skytta at iki.fi> - 0.7-1.fedora.2 -- Include startup crash patch from upstream SRPM. - -* Sun Feb 9 2003 Ville Skyttä <ville.skytta at iki.fi> - 0.7-1.fedora.1 -- First Fedora release. |