Bug 40866 - scite-1.5.7 uses gtk2 by default
Bug#: 40866 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: major Priority: P2
Resolution: FIXED Assigned To: liquidx@gentoo.org Reported By: p1t3r05@o2.pl
Component: Ebuilds
URL: 
Summary: scite-1.5.7 uses gtk2 by default
Keywords:  
Status Whiteboard: 
Opened: 2004-02-08 11:35 0000
Description:   Opened: 2004-02-08 11:35 0000
until scite-1.5.7 (maybe before) when USE is set to "-gtk2" ebuild sets GTK2=1
parameter for make.
but now if you want to link against gtk-1* you must set GTK1=1 for make.

ebuild should check:
if USE="-gtk2" then set GTK1=1 for make

Reproducible: Always
Steps to Reproduce:
1. USE="-gtk2" emerge scite
2. ldd /usr/bin/Scite | grep gtk




Expected Results:

------- Comment #1 From Yi Quang (RETIRED) 2004-02-08 12:30:59 0000 -------
Created an attachment (id=25207) [details]
fixed test for gtk2 condition

------- Comment #2 From Yi Quang (RETIRED) 2004-02-08 12:32:32 0000 -------
Okay, here's a fixed ebuild 

------- Comment #3 From Yi Quang (RETIRED) 2004-02-08 16:28:37 0000 -------
Created an attachment (id=25223) [details]
a bit cleaner version

------- Comment #4 From Alastair Tse (RETIRED) 2004-02-11 02:39:22 0000 -------
fixed for 1.5.8. thanks for the report.