1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
4 # T2 SDE: package/.../gpsdrive/gnome2.patch
5 # Copyright (C) 2009 The T2 SDE Project
7 # More information can be found in the files COPYING and README.
9 # This patch file is dual-licensed. It is available under the license the
10 # patched project is licensed under, as long as it is an OpenSource license
11 # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
12 # of the GNU General Public License as published by the Free Software
13 # Foundation; either version 2 of the License, or (at your option) any later
15 # --- T2-COPYRIGHT-NOTE-END ---
17 diff -Nur gpsdrive-2.10pre6-orig/cmake/Modules/FindGTK2.cmake gpsdrive-2.10pre6/cmake/Modules/FindGTK2.cmake
18 --- gpsdrive-2.10pre6-orig/cmake/Modules/FindGTK2.cmake 2009-02-09 07:09:21.000000000 +0000
19 +++ gpsdrive-2.10pre6/cmake/Modules/FindGTK2.cmake 2009-02-09 07:11:14.000000000 +0000
23 /usr/local/include/gtk-2.0
24 - /opt/gnome/include/gtk-2.0
25 + /opt/gnome2/include/gtk-2.0
28 # Some Linux distributions (e.g. Red Hat) have glibconfig.h
30 endif (PKG_CONFIG_FOUND)
31 endif (${CMAKE_MAJOR_VERSION} EQUAL 2 AND ${CMAKE_MINOR_VERSION} EQUAL 4)
33 - SET(GDIR /opt/gnome/lib/glib-2.0/include)
34 + SET(GDIR /opt/gnome2/lib/glib-2.0/include)
35 FIND_PATH(GTK2_GLIBCONFIG_INCLUDE_PATH glibconfig.h
37 - /opt/gnome/lib64/glib-2.0/include
38 - /opt/gnome/lib/glib-2.0/include
39 + /opt/gnome2/lib64/glib-2.0/include
40 + /opt/gnome2/lib/glib-2.0/include
41 /usr/lib64/glib-2.0/include
42 /usr/lib/glib-2.0/include
46 FIND_PATH(GTK2_GLIB_INCLUDE_PATH glib.h
48 - /opt/gnome/include/glib-2.0
49 + /opt/gnome2/include/glib-2.0
52 #MESSAGE(STATUS "DEBUG: GTK2_GLIBCONFIG_INCLUDE_PATH = ${GTK2_GLIBCONFIG_INCLUDE_PATH}")
56 /usr/openwin/share/include
61 if (${CMAKE_MAJOR_VERSION} EQUAL 2 AND ${CMAKE_MINOR_VERSION} EQUAL 4)
64 FIND_PATH(GTK2_PANGO_INCLUDE_PATH pango/pango.h
66 - /opt/gnome/include/pango-1.0
67 + /opt/gnome2/include/pango-1.0
68 /usr/include/pango-1.0
73 FIND_PATH(GTK2_GDKCONFIG_INCLUDE_PATH gdkconfig.h
75 - /opt/gnome/lib/gtk-2.0/include
76 - /opt/gnome/lib64/gtk-2.0/include
77 + /opt/gnome2/lib/gtk-2.0/include
78 + /opt/gnome2/lib64/gtk-2.0/include
79 /usr/lib/gtk-2.0/include
80 /usr/lib64/gtk-2.0/include
84 FIND_PATH(GTK2_CAIRO_INCLUDE_PATH cairo.h
86 - /opt/gnome/include/cairo
87 + /opt/gnome2/include/cairo
93 FIND_PATH(GTK2_ATK_INCLUDE_PATH atk/atk.h
95 - /opt/gnome/include/atk-1.0
96 + /opt/gnome2/include/atk-1.0
99 #MESSAGE(STATUS "DEBUG: GTK2_ATK_INCLUDE_PATH = ${GTK2_ATK_INCLUDE_PATH}")
108 FIND_LIBRARY(GTK2_GTK_LIBRARY
117 FIND_LIBRARY(GTK2_GDK_LIBRARY
126 FIND_LIBRARY(GTK2_GMODULE_LIBRARY
135 FIND_LIBRARY(GTK2_GLIB_LIBRARY
144 FIND_LIBRARY(GTK2_Xi_LIBRARY
153 FIND_LIBRARY(GTK2_GTHREAD_LIBRARY
171 IF(GTK2_GTK_INCLUDE_PATH)