Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 592435 Details for
Bug 832809
Missing support for silver, gold multiplier bands
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
gresistor-0.0.1-21: Support for silver, gold multiplier bands
0001-0.0.1-21-Support-for-silver-gold-multiplier-bands.patch (text/plain), 3.31 KB, created by
Hans Ulrich Niedermann
on 2012-06-17 14:33:22 UTC
(
hide
)
Description:
gresistor-0.0.1-21: Support for silver, gold multiplier bands
Filename:
MIME Type:
Creator:
Hans Ulrich Niedermann
Created:
2012-06-17 14:33:22 UTC
Size:
3.31 KB
patch
obsolete
>From 163554317fcf09e8fca9082181c6ba5115b12f6d Mon Sep 17 00:00:00 2001 >From: Hans Ulrich Niedermann <hun@n-dimensional.de> >Date: Sun, 17 Jun 2012 16:28:42 +0200 >Subject: [PATCH] 0.0.1-21: Support for silver, gold multiplier bands > >--- > gresistor-0.0.1-add-multipliers-0.1-and-0.01.patch | 37 ++++++++++++++++++++ > gresistor.spec | 7 +++- > 2 files changed, 43 insertions(+), 1 deletions(-) > create mode 100644 gresistor-0.0.1-add-multipliers-0.1-and-0.01.patch > >diff --git a/gresistor-0.0.1-add-multipliers-0.1-and-0.01.patch b/gresistor-0.0.1-add-multipliers-0.1-and-0.01.patch >new file mode 100644 >index 0000000..746c1ce >--- /dev/null >+++ b/gresistor-0.0.1-add-multipliers-0.1-and-0.01.patch >@@ -0,0 +1,37 @@ >+Add support for silver and gold as multiplier band (0.01 and 0.1). >+ >+We call silver "Sylver" though, to keep the spelling consistent >+with the rest of gresistor. >+ >+diff -ru gresistor-0.0.1/gresistor gresistor-0.0.1-ndim/gresistor >+--- gresistor-0.0.1/gresistor 2005-10-16 16:25:17.000000000 +0200 >++++ gresistor-0.0.1-ndim/gresistor 2012-06-17 16:05:44.066414212 +0200 >+@@ -92,7 +92,13 @@ >+ meas="MΩ" >+ elif (v4==7): >+ multi='0' >+- meas="MΩ" >++ meas="MΩ" >++ elif (v4==8): >++ multi='00' >++ meas="mΩ" >++ elif (v4==9): >++ multi='0' >++ meas="mΩ" >+ if (m==0): >+ if (v1==0): >+ v1='' >+diff -ru gresistor-0.0.1/gresistor.glade gresistor-0.0.1-ndim/gresistor.glade >+--- gresistor-0.0.1/gresistor.glade 2005-10-16 16:23:19.000000000 +0200 >++++ gresistor-0.0.1-ndim/gresistor.glade 2012-06-17 16:05:51.933315862 +0200 >+@@ -346,7 +346,9 @@ >+ Yellow >+ Green >+ Blue >+-Violet</property> >++Violet >++Gold >++Sylver</property> >+ <property name="add_tearoffs">False</property> >+ <property name="focus_on_click">True</property> >+ <signal name="changed" handler="on_combobox5_changed" last_modification_time="Sat, 08 Oct 2005 15:48:33 GMT"/> >diff --git a/gresistor.spec b/gresistor.spec >index 30317f6..07c0e9c 100644 >--- a/gresistor.spec >+++ b/gresistor.spec >@@ -2,7 +2,7 @@ > > Name: gresistor > Version: 0.0.1 >-Release: 20%{?dist} >+Release: 21%{?dist} > Summary: Gnome resistor color code calculator > > License: GPL+ >@@ -11,6 +11,7 @@ URL: http://minipop.org/index.php?file=%{name} > > Source0: http://www.minipop.org/progs/%{name}/%{name}-%{version}.tar.gz > Patch0: gresistor-0.0.1-desktop.patch >+Patch1: gresistor-0.0.1-add-multipliers-0.1-and-0.01.patch > > BuildArch: noarch > BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) >@@ -34,6 +35,7 @@ rm -f SimpleGladeApp.py > sed -i '/py_modules =/d' setup.py > > %patch0 -p0 -b %{name}.desktop >+%patch1 -p1 -b multipliers-silver-gold > > %build > %{__python} setup.py build >@@ -75,6 +77,9 @@ update-desktop-database &> /dev/null ||: > %{python_sitelib}/%{name}-%{version}-py?.?.egg-info > > %changelog >+* Sun Jun 17 2012 Hans Ulrich Niedermann <hun@n-dimensional.de> - 0.0.1-21 >+- Add support for silver and gold multiplier bands >+ > * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.1-20 > - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild > >-- >1.7.7.6 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 832809
: 592435