Bug 448184

Summary: WXWIN_OS_DESCRIPTION is incorrect
Product: [Fedora] Fedora Reporter: Eric Hobbs <eric>
Component: wxGTKAssignee: Matthew Miller <mattdm>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: low    
Version: 9CC: dan
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-05-24 12:01:29 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
test case for the wxGetOsDescription call none

Description Eric Hobbs 2008-05-24 06:30:16 UTC
Description of problem:

wx/setup.h contains an incorrect string.

Version-Release number of selected component (if applicable):
2.8.7-2.fc9.i386

How reproducible:
100%

Steps to Reproduce:
1. open /usr/lib/wx/include/gtk2-unicode-release-2.8/wx/setup.h
2. or call wxGetOsDescription()
  
Actual results:
Linux 2.6.18-53.1.6.el5 i686

Expected results:
Linux 2.6.25.3-18.fc9 i686

Comment 1 Dan Horák 2008-05-24 08:46:55 UTC
WXWIN_OS_DESCRIPTION is set during the building of the library, it is set with
output of uname of the builder. It has no connection with the machine the
library is run on.
I have written a testcase for the wxGetOsDescription call and it works as
expected from the wxGTK source code - it returns the output of uname from the
running machine.

Comment 2 Dan Horák 2008-05-24 08:50:07 UTC
Created attachment 306564 [details]
test case for the wxGetOsDescription call

compile with
g++ `wx-config --cflags --libs` -o wx wx.cpp
and then run "./wx", it should output the kernel version of the running
machine.

Also you can check "which wx-config" whether you are using the Fedora's wxGTK
library.