Minor installation cleanness
- From: Joaquín Ignacio Aramendía <samsagax gmail com>
- To: gtkdatabox-list gnome org
- Subject: Minor installation cleanness
- Date: Sat, 10 Nov 2012 21:35:10 -0300
Just add some tidy "include" directory. Needs to be versioned in the
future GTK2/3 split.
Next step would be to clean all generated files (i.e. non-editor ones)
from git version control (add them to .gitignore). Taht way we can have
a clean and no non-sense source repository, only non-generated files
should be under version control.
Saludos!
>From bbfc251161ed939afa7b6e854cc6afa75b91d512 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Joaqu=C3=ADn=20Ignacio=20Aramend=C3=ADa?= <samsagax gmail com>
Date: Sat, 10 Nov 2012 20:15:10 -0300
Subject: [PATCH] Move header files to a self-contained directory
(unversioned)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Moved all header files to a single directory
$includedir/gtkdatabox
This way we won't have header files "flying around" our /usr/include
directory. Now to include GtkDatabox in a project the pkg-config
directive is needed.
Note the directory is unversioned (like the library is). It won't
tell which GTK API we are using. This may be a problem if we deliver
v2 and v3 versions of the project. To fix this issue, we may need
some $GTK_API macro magic, something like gtkglext-3 and such do.
Signed-off-by: JoaquÃn Ignacio AramendÃa <samsagax gmail com>
---
gtk/Makefile.am | 4 ++--
gtkdatabox.pc.in | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/gtk/Makefile.am b/gtk/Makefile.am
index ab7825c..3785d27 100644
--- a/gtk/Makefile.am
+++ b/gtk/Makefile.am
@@ -23,8 +23,8 @@ libgtkdatabox_la_LDFLAGS= \
-release $(LT_RELEASE)\
@GTK_LIBS@
-
-include_HEADERS = \
+gtkdataboxincludedir = $(includedir)/gtkdatabox
+gtkdataboxinclude_HEADERS = \
gtkdatabox_typedefs.h\
gtkdatabox.h\
gtkdatabox_marshal.h\
diff --git a/gtkdatabox.pc.in b/gtkdatabox.pc.in
index fe255e6..c40a3c1 100644
--- a/gtkdatabox.pc.in
+++ b/gtkdatabox.pc.in
@@ -8,4 +8,4 @@ Description: Widget to display large amounts of numerical data
Version: @DATABOX_VERSION@
Requires: gtk+-2.0 >= @GTK_REQUIRED@, pango >= @PANGO_REQUIRED@, cairo >= @CAIRO_REQUIRED@
Libs: -L${libdir} -lgtkdatabox
-Cflags: -I${includedir}
+Cflags: -I${includedir}/gtkdatabox
--
1.8.0
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]