gtk-css-engine r108 - in trunk: . libccd/ccd libccd/examples src



Author: robsta
Date: Mon Sep 15 12:36:15 2008
New Revision: 108
URL: http://svn.gnome.org/viewvc/gtk-css-engine?rev=108&view=rev

Log:
* README:
* TODO:
Update.
* configure.in:
* libccd/ccd/Makefile.am:
* libccd/ccd/exports.sym:
* libccd/examples/Makefile.am:
* src/Makefile.am:
* src/exports.sym:
Only export public API.


Added:
   trunk/libccd/ccd/exports.sym
   trunk/src/exports.sym
Modified:
   trunk/   (props changed)
   trunk/ChangeLog
   trunk/README
   trunk/TODO
   trunk/configure.in
   trunk/libccd/ccd/Makefile.am
   trunk/libccd/examples/Makefile.am
   trunk/src/Makefile.am

Modified: trunk/README
==============================================================================
--- trunk/README	(original)
+++ trunk/README	Mon Sep 15 12:36:15 2008
@@ -2,20 +2,10 @@
 CSS THEME ENGINE FOR GTK+
 =========================
 
-Putting stuff together for a gtk theme engine that would be configured using CSS rather than gtkrc syntax.
-
-Bzr repository at:
-  http://bzr-playground.gnome.org/~robsta/gtk-css-engine/
-  bzr+ssh://bzr-playground.gnome.org/bzr/robsta/gtk-css-engine
-
 Svn at:
   svn.gnome.org/svn/gtk-css-engine/trunk (http or svn+ssh protocols).
   This is updated frequently from bzr.
 
-Andreas' `Gilouche-CSS' branch is at:
-  http://bzr-playground.gnome.org/~andreasn/gtk-css-engine/
-  bzr+ssh://bzr-playground.gnome.org/bzr/andreasn/gtk-css-engine
-
 
 (0) CSS Subset
 ==============
@@ -48,6 +38,11 @@
 border-left
 border-right
 border-top
+border-radius
+border-top-left-radius
+border-top-right-radius
+border-bottom-right-radius
+border-bottom-left-radius
 color
 
 

Modified: trunk/TODO
==============================================================================
--- trunk/TODO	(original)
+++ trunk/TODO	Mon Sep 15 12:36:15 2008
@@ -5,14 +5,14 @@
 0.2 "Correctness"
 -----------------
 
+* Background image: repeating, tiling, position.
 * Border images, c.f. http://ejohn.org/blog/border-image-in-firefox/
-* Border radius.
-* Background image: repeating, tiling.
 * Unit tests.
 * Test using the theme torturer.
 * Test using valgrind.
 * Gilouche-CSS theme pretty much matches the original.
 * Bugzilla module.
+* Border radius.
 
 Code review:
   + Check all list iterators for const-ness.

Modified: trunk/configure.in
==============================================================================
--- trunk/configure.in	(original)
+++ trunk/configure.in	Mon Sep 15 12:36:15 2008
@@ -57,13 +57,16 @@
 AM_CONDITIONAL([CCD_STANDALONE], test "$enable_libccd" == "yes")
 
 
+enable_debug="no"
 AC_ARG_ENABLE([debug], 
   [AS_HELP_STRING([--enable-debug], [enable debug code])], 
 [
-  if test "$enableval" == "yes"; then
-    AC_DEFINE([CCD_DEBUG], [1], [enable debug code])
-  fi
+  enable_debug="$enableval"
 ])
+if test "$enable_debug" == "yes"; then
+  AC_DEFINE([CCD_DEBUG], [1], [enable debug code])
+fi
+AM_CONDITIONAL([CCD_DEBUG], test "$enable_debug" == "yes")
 
 # So usually one just sets CFLAGS for this, but a configure 
 # arguments lets us force this when running `make distcheck'.
@@ -183,6 +186,8 @@
 
 echo "
 Configuration
+    CFLAGS                  ${CFLAGS}
+    Build debugging code    $enable_debug
     Standalone libccd       $enable_libccd
     Support for SVG images  $with_rsvg
 "

Modified: trunk/libccd/ccd/Makefile.am
==============================================================================
--- trunk/libccd/ccd/Makefile.am	(original)
+++ trunk/libccd/ccd/Makefile.am	Mon Sep 15 12:36:15 2008
@@ -7,6 +7,10 @@
 if CCD_STANDALONE
 lib_LTLIBRARIES = libccd-1.la
 libccd_1_la_LDFLAGS = -no-undefined -version-info $(VERSION_INFO)
+if CCD_DEBUG
+else
+libccd_1_la_LDFLAGS += -export-symbols $(srcdir)/exports.sym
+endif
 headersdir = $(includedir)/libccd-1/ccd
 headers_DATA = \
 	ccd-background.h \
@@ -74,5 +78,6 @@
 
 EXTRA_DIST = \
 	$(opt_src) \
-	ccd-features.h.in
+	ccd-features.h.in \
+	exports.sym
 

Added: trunk/libccd/ccd/exports.sym
==============================================================================
--- (empty file)
+++ trunk/libccd/ccd/exports.sym	Mon Sep 15 12:36:15 2008
@@ -0,0 +1,17 @@
+ccd_init
+ccd_shutdown
+ccd_style_init
+ccd_style_draw_line
+ccd_style_draw_outline
+ccd_style_draw_rectangle
+ccd_stylesheet_new_from_buffer
+ccd_stylesheet_new_from_file
+ccd_stylesheet_free
+ccd_stylesheet_query_type
+ccd_stylesheet_query_collect
+ccd_stylesheet_query_apply
+ccd_selector_group_new
+ccd_selector_group_free
+ccd_selector_group_apply
+ccd_style_draw_gap
+ccd_style_draw_polygon

Modified: trunk/libccd/examples/Makefile.am
==============================================================================
--- trunk/libccd/examples/Makefile.am	(original)
+++ trunk/libccd/examples/Makefile.am	Mon Sep 15 12:36:15 2008
@@ -8,11 +8,17 @@
 	$(CCD_LIBS) \
 	../ccd/libccd-1.la
 
-noinst_PROGRAMS = example1 internal
+noinst_PROGRAMS = example1
 
 example1_SOURCES = example1.c
 
+# The `internal' example can't link against the libccd so, because
+# it relies on internal API.
+if CCD_STANDALONE
+else
+noinst_PROGRAMS += internal
 internal_SOURCES = internal.c
+endif
 
 EXTRA_DIST = \
 	example1.css

Modified: trunk/src/Makefile.am
==============================================================================
--- trunk/src/Makefile.am	(original)
+++ trunk/src/Makefile.am	Mon Sep 15 12:36:15 2008
@@ -8,7 +8,11 @@
 
 engine_LTLIBRARIES = libcss.la
 
-libcss_la_LDFLAGS = -module -avoid-version -no-undefined
+libcss_la_LDFLAGS = \
+	-module \
+	-avoid-version \
+	-no-undefined \
+	-export-symbols $(srcdir)/exports.sym
 
 libcss_la_LIBADD = \
 	$(GCE_LIBS) \
@@ -27,3 +31,6 @@
 	gce-style.h \
 	gce-theme.c
 
+EXTRA_DIST = \
+	exports.sym
+

Added: trunk/src/exports.sym
==============================================================================
--- (empty file)
+++ trunk/src/exports.sym	Mon Sep 15 12:36:15 2008
@@ -0,0 +1,4 @@
+theme_init
+theme_exit
+theme_create_rc_style
+g_module_check_init



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]