Bug 81712 - sawfish 1.2 won't compile when gtk-2.2 is installed
sawfish 1.2 won't compile when gtk-2.2 is installed
Status: CLOSED RAWHIDE
Product: Red Hat Raw Hide
Classification: Retired
Component: sawfish (Show other bugs)
1.0
All Linux
medium Severity medium
: ---
: ---
Assigned To: Havoc Pennington
David Lawrence
: Triaged
: 82668 (view as bug list)
Depends On:
Blocks: 79579
  Show dependency treegraph
 
Reported: 2003-01-13 00:37 EST by Nathan G. Grennan
Modified: 2007-04-18 12:49 EDT (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2003-01-28 18:28:59 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
Patch to allow sawfish 1.2 to compile against gtk-2.2 (662 bytes, text/plain)
2003-01-13 00:38 EST, Nathan G. Grennan
no flags Details
Patch to allow sawfish 1.2 to compile against gtk-2.2 (662 bytes, patch)
2003-01-13 00:38 EST, Nathan G. Grennan
no flags Details | Diff

  None (edit)
Description Nathan G. Grennan 2003-01-13 00:37:42 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 Galeon/1.2.7 (X11; Linux i686; U;) Gecko/20021216

Description of problem:
In src/gtk-style.c on line 100 is an if statement that says if GTK_MINOR_VERSION
is 2 then do something. That was meant for gtk-1.2 and was made in a time when
gtk-2.2 didn't exist. Since it is only needed by gtk-1.2 the if statement and
the contents inside can just be removed. I did this and was able to compile
sawfish against gtk-2.2. I then made a patch of the change.

Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
1. install gtk-2.2 from rawhide
2. install sawfish-1.2 source rpm
3. rpmbuild -bb sawfish.spec
    

Actual Results:  errors about font_name and such in gtk-style.c

Expected Results:  no errors and compile to finish

Additional info:
Comment 1 Nathan G. Grennan 2003-01-13 00:38:33 EST
Created attachment 89331 [details]
Patch to allow sawfish 1.2 to compile against gtk-2.2
Comment 2 Nathan G. Grennan 2003-01-13 00:38:38 EST
Created attachment 89332 [details]
Patch to allow sawfish 1.2 to compile against gtk-2.2
Comment 3 Havoc Pennington 2003-01-13 00:41:24 EST
Thanks, good catch.
Comment 4 Nathan G. Grennan 2003-01-13 00:42:46 EST
Installed rpm with this patch and it works as expected.
Comment 5 Havoc Pennington 2003-01-24 15:21:34 EST
*** Bug 82668 has been marked as a duplicate of this bug. ***
Comment 6 Havoc Pennington 2003-01-28 18:28:59 EST
In 1.2-4

Note You need to log in before you can comment on or make changes to this bug.