[Xfce4-commits] <xfc:master> Total debian build possible again

Bo Lorensen noreply at xfce.org
Thu Sep 22 22:28:01 CEST 2011


Updating branch refs/heads/master
         to a1e5eb9032afb15d3c72bd9a3c5ac510fe6fabbd (commit)
       from 12592389476b45cfc6f3920bd626f014fa659abd (commit)

commit a1e5eb9032afb15d3c72bd9a3c5ac510fe6fabbd
Author: Bo Lorensen <bl at lue.dk>
Date:   Mon Sep 12 00:04:38 2011 +0200

    Total debian build possible again

 Makefile.am                                        |   26 ----
 autogen.sh                                         |   95 --------------
 core/xfc/glib/CMakeLists.txt                       |   80 ++++++++++++
 core/xfc/glib/inline/CMakeLists.txt                |   31 +++++
 core/{xfccore-4.3.pc.in => xfccore.pc.in}          |    0
 de/xfc/ui/inline/CMakeLists.txt                    |    3 +
 de/{xfcde-4.3.pc.in => xfcde.pc.in}                |    0
 docs/{Makefile.am => CMakeFiles.txt}               |    0
 docs/CMakeLists.txt                                |   15 +++
 docs/faq/CMakeLists.txt                            |    5 +
 docs/howto/CMakeLists.txt                          |   10 ++
 docs/howto/html/CMakeLists.txt                     |   60 +++++++++
 docs/images/CMakeLists.txt                         |   60 +++++++++
 docs/reference/CMakeLists.txt                      |   15 +++
 docs/tutorial/CMakeLists.txt                       |   11 ++
 docs/tutorial/html/CMakeLists.txt                  |   12 ++
 examples/tutorial/CMakeLists.txt                   |   10 ++
 examples/tutorial/chapter01/CMakeLists.txt         |    4 +
 examples/tutorial/chapter02/CMakeLists.txt         |    4 +
 examples/tutorial/chapter03/CMakeLists.txt         |    4 +
 examples/tutorial/chapter04/CMakeLists.txt         |    4 +
 examples/tutorial/chapter06/CMakeLists.txt         |    4 +
 examples/tutorial/chapter07/CMakeLists.txt         |    4 +
 examples/tutorial/chapter08/CMakeLists.txt         |    3 +
 examples/tutorial/chapter08/src/CMakeLists.txt     |    4 +
 examples/tutorial/chapter09/CMakeLists.txt         |    3 +
 examples/tutorial/chapter09/src/CMakeLists.txt     |    4 +
 glade/xfc/CMakeLists.txt                           |   16 +++
 glade/xfc/glade/CMakeLists.txt                     |   11 ++
 glade/xfc/glade/inline/CMakeLists.txt              |    5 +
 glade/{xfcglade-4.3.pc.in => xfcglade.pc.in}       |    0
 sourceview/xfc/CMakeLists.txt                      |   18 +++
 sourceview/xfc/sourceview/CMakeLists.txt           |   39 ++++++
 ...xfcsourceview-4.3.pc.in => xfcsourceview.pc.in} |    0
 ui/xfc/atk/inline/CMakeLists.txt                   |   23 ++++
 ui/xfc/gdk-pixbuf/inline/CMakeLists.txt            |    8 ++
 ui/xfc/gdk/inline/CMakeLists.txt                   |   25 ++++
 ui/xfc/gtk/inline/CMakeLists.txt                   |  134 ++++++++++++++++++++
 ui/xfc/pango/inline/CMakeLists.txt                 |   19 +++
 ui/{xfcui-4.3.pc.in => xfcui.pc.in}                |    0
 40 files changed, 648 insertions(+), 121 deletions(-)

diff --git a/Makefile.am b/Makefile.am
deleted file mode 100644
index 563a6e9..0000000
--- a/Makefile.am
+++ /dev/null
@@ -1,26 +0,0 @@
-## top directory
-
-SUBDIRS = @DOCS_SUBDIR@ libXFCcore libXFCui @SOURCEVIEW_SUBDIR@ @GLADE_SUBDIR@ @DEMOS_SUBDIR@ @EXAMPLES_SUBDIR@ @DE_SUBDIR@
-
-DIST_SUBDIRS = docs libXFCcore libXFCui libXFCglade libXFCsourceview libXFCde demos examples
-
-EXTRA_DIST = autogen.sh xfc.spec xfc-config.h.in
-
-dist-hook:
-	rm -rf `find $(distdir)/docs -name .svn`
-
-distclean-local:
-	rm -rf xfc.spec *.cache *~
-
-rpm: dist
-	rpmbuild -ta $(PACKAGE)-$(VERSION).tar.gz
-	@rm -f $(PACKAGE)-$(VERSION).tar.gz
-
-library_configdir = $(libdir)/$(XFCEDIR)/$(XFC_LIBRARY_NAME)/include
-library_config_DATA = xfc-config.h
-
-xfc_doc_DATA = AUTHORS ChangeLog COPYING NEWS README
-
-DISTCHECK_CONFIGURE_FLAGS = \
-	--disable-debug \
-	--enable-docs
diff --git a/autogen.sh b/autogen.sh
deleted file mode 100755
index df07bd3..0000000
--- a/autogen.sh
+++ /dev/null
@@ -1,95 +0,0 @@
-#! /bin/sh
-
-srcdir=`dirname $0`
-test -z "$srcdir" && srcdir=.
-
-ORIGDIR=`pwd`
-PKG_NAME="XFC"
-TEST_TYPE=-f
-FILE=configure.ac
-
-DIE=0
-
-# Check that autogen.sh is being run in the top-level directory
-
-test $TEST_TYPE $FILE || {
-  echo "You must run this script in the top-level $PKG_NAME directory"
-  exit 1
-}
-
-# Check that libtool 1.4 > is installed
-
-have_libtool=false
-if libtoolize --version < /dev/null > /dev/null 2>&1 ; then
-  libtool_version=`libtoolize --version | sed 's/^[^0-9]*\([0-9.][0-9.]*\).*/\1/'`
-  case $libtool_version in
-    1.4*|1.5*|2.*)
-  have_libtool=true
-    ;;
-  esac
-fi
-if $have_libtool ; then : ; else
-  echo
-  echo "You must have libtool 1.4 installed to compile $PKG_NAME."
-  echo "Install the appropriate package for your distribution,"
-  echo "or get the source tarball at http://ftp.gnu.org/gnu/libtool/"
-  DIE=1
-fi
-
-# Check that automake is installed
-
-(automake --version) < /dev/null > /dev/null 2>&1 || {
-  echo
-  echo "You must have automake installed to compile $PKG_NAME."
-  echo "Install the appropriate package for your distribution,"
-  echo "or get the source tarball at http://ftp.gnu.org/gnu/automake/"
-}
-
-# Check that autoconf is installed
-
-(autoconf --version) < /dev/null > /dev/null 2>&1 || {
-  echo
-  echo "You must have autoconf installed to compile $PKG_NAME."
-  echo "Install the appropriate package for your distribution,"
-  echo "or get the source tarball at ftp://ftp.gnu.org/pub/gnu/autoconf"
-  DIE=1
-}
-
-# Stop running this script if any of above checks failed
-
-if test "$DIE" -eq 1; then
-	exit 1
-fi
-
-if test -z "$AUTOGEN_SUBDIR_MODE"; then
-  if test -z "$*"; then
-    echo
-    echo "You passed no ./configure arguments. I am going to run ./configure"
-    echo "with --enable-maintainer-mode and --enable-docs arguments - if you"
-    echo "wish to pass any to it, please specify them on the $0 command line."
-    echo
-  fi
-fi
-
-echo "Creating configuration files..."
-aclocal $ACLOCAL_FLAGS || exit $?
-libtoolize --automake --force --copy || exit $?
-autoheader || exit $?
-
-echo "Generating makefiles..."
-automake --add-missing --copy || exit $?
-
-echo "Generating configure script..."
-autoconf || exit $?
-
-rm -f config.cache
-
-cd $ORIGDIR || exit $?
-
-if test -z "$AUTOGEN_SUBDIR_MODE"; then
-  echo "Running $srcdir/configure --enable-maintainer-mode --enable-docs"
-  $srcdir/configure --enable-maintainer-mode --enable-docs "$@" || exit $?
-fi
-
-echo "Now type 'make' to compile $PKG_NAME."
-echo 
diff --git a/core/xfc/glib/CMakeLists.txt b/core/xfc/glib/CMakeLists.txt
new file mode 100644
index 0000000..4fb5170
--- /dev/null
+++ b/core/xfc/glib/CMakeLists.txt
@@ -0,0 +1,80 @@
+## libXFCcore xfc/glib directory
+
+ADD_SUBDIRECTORY( inline )
+
+SET( src
+ asyncqueue.cc 
+ boxed.cc 
+ completion.cc 
+ connection.cc 
+ date.cc 
+ error.cc 
+ fileutils.cc 
+ iochannel.cc 
+ keyfile.cc 
+ main.cc 
+ markup.cc 
+ marshal.cc 
+ module.cc 
+ mutex.cc 
+ object.cc 
+ objectsignals.cc 
+ option.cc 
+ pattern.cc 
+ property.cc 
+ quark.cc 
+ rand.cc 
+ scanner.cc 
+ shell.cc 
+ signals.cc 
+ spawn.cc 
+ thread.cc 
+ threadpool.cc 
+ timer.cc 
+ timeval.cc 
+ type.cc 
+ unicode.cc 
+ utils.cc 
+ value.cc)
+
+SET(glib_src "" )
+FOREACH(f ${src})
+    SET(glib_src ${glib_src} "glib/${f}" )
+ENDFOREACH(f)
+SET( glib_src ${glib_src} PARENT_SCOPE )
+
+INSTALL( FILES
+ asyncqueue.hh 
+ boxed.hh 
+ completion.hh 
+ date.hh 
+ error.hh 
+ fileutils.hh 
+ g.hh 
+ iochannel.hh 
+ keyfile.hh 
+ main.hh 
+ markup.hh 
+ module.hh 
+ mutex.hh 
+ object.hh 
+ objectsignals.hh 
+ option.hh 
+ pattern.hh 
+ property.hh 
+ quark.hh 
+ rand.hh 
+ scanner.hh 
+ shell.hh 
+ signals.hh 
+ slist.hh 
+ spawn.hh 
+ thread.hh 
+ threadpool.hh 
+ timer.hh 
+ timeval.hh 
+ type.hh 
+ unicode.hh 
+ utils.hh 
+ value.hh
+ DESTINATION include/xfce4/xfc/glib)
diff --git a/core/xfc/glib/inline/CMakeLists.txt b/core/xfc/glib/inline/CMakeLists.txt
new file mode 100644
index 0000000..816622b
--- /dev/null
+++ b/core/xfc/glib/inline/CMakeLists.txt
@@ -0,0 +1,31 @@
+## libXFCcore xfc/glib/inline directory
+
+INSTALL( FILES
+ asyncqueue.inl 
+ boxed.inl 
+ completion.inl 
+ date.inl 
+ error.inl 
+ fileutils.inl 
+ iochannel.inl 
+ keyfile.inl 
+ main.inl 
+ markup.inl 
+ module.inl 
+ mutex.inl 
+ object.inl 
+ option.inl 
+ pattern.inl 
+ quark.inl 
+ rand.inl 
+ scanner.inl 
+ spawn.inl 
+ thread.inl 
+ threadpool.inl 
+ timer.inl 
+ timeval.inl 
+ type.inl 
+ unicode.inl 
+ utils.inl 
+ value.inl
+ DESTINATION include/xfce4/xfc/glib/inline)
diff --git a/core/xfccore-4.3.pc.in b/core/xfccore.pc.in
similarity index 100%
rename from core/xfccore-4.3.pc.in
rename to core/xfccore.pc.in
diff --git a/de/xfc/ui/inline/CMakeLists.txt b/de/xfc/ui/inline/CMakeLists.txt
new file mode 100644
index 0000000..6679bfa
--- /dev/null
+++ b/de/xfc/ui/inline/CMakeLists.txt
@@ -0,0 +1,3 @@
+INSTALL( FILES
+    dialog.inl
+    DESTINATION include/xfce4/xfc/ui/inline)
diff --git a/de/xfcde-4.3.pc.in b/de/xfcde.pc.in
similarity index 100%
rename from de/xfcde-4.3.pc.in
rename to de/xfcde.pc.in
diff --git a/docs/Makefile.am b/docs/CMakeFiles.txt
similarity index 100%
copy from docs/Makefile.am
copy to docs/CMakeFiles.txt
diff --git a/docs/CMakeLists.txt b/docs/CMakeLists.txt
new file mode 100644
index 0000000..8f321d1
--- /dev/null
+++ b/docs/CMakeLists.txt
@@ -0,0 +1,15 @@
+## xfc docs directory
+
+ADD_SUBDIRECTORY( faq )
+ADD_SUBDIRECTORY( howto ) 
+ADD_SUBDIRECTORY( images )
+ADD_SUBDIRECTORY( tutorial )
+ADD_SUBDIRECTORY( reference )
+
+SET( docs_dest share/doc/xfc-${XFC_VERSION}/docs)
+
+CONFIGURE_FILE( index.html.in index.html @ONLY)
+
+INSTALL( FILES
+   index.html README 
+   DESTINATION ${docs_dest})
diff --git a/docs/faq/CMakeLists.txt b/docs/faq/CMakeLists.txt
new file mode 100644
index 0000000..99f348e
--- /dev/null
+++ b/docs/faq/CMakeLists.txt
@@ -0,0 +1,5 @@
+## xfc docs/faq directory
+
+INSTALL( FILES
+    html/index.html
+    DESTINATION ${docs_dest}/faq/html )
diff --git a/docs/howto/CMakeLists.txt b/docs/howto/CMakeLists.txt
new file mode 100644
index 0000000..9e3b00f
--- /dev/null
+++ b/docs/howto/CMakeLists.txt
@@ -0,0 +1,10 @@
+## xfc docs/howto directory
+
+ADD_SUBDIRECTORY( html )
+
+FOREACH(f ${html_files})
+    SET(files ${files} "html/${f}" )
+ENDFOREACH(f)
+
+INSTALL( FILES ${files}
+   DESTINATION ${docs_dest}/docs/howto/html)
diff --git a/docs/howto/html/CMakeLists.txt b/docs/howto/html/CMakeLists.txt
new file mode 100644
index 0000000..75fc179
--- /dev/null
+++ b/docs/howto/html/CMakeLists.txt
@@ -0,0 +1,60 @@
+
+SET( html_files
+accellabel.html
+adjustments.html
+alignment.html
+arrow.html
+aspectframes.html
+boxes.html
+buttonboxes.html
+buttonwidget.html
+calendar.html
+CMakeLists.txt
+colorselection.html
+combobox.html
+composite_widgets.html
+custom_widgets.html
+dialogs.html
+draganddrop.html
+drawingarea.html
+entrycompletion.html
+entry.html
+eventbox.html
+filechooser.html
+fixed.html
+fontselection.html
+frames.html
+getting_started.html
+glade.html
+guidelines.html
+images.html
+index.html
+label.html
+layout.html
+mainloop.html
+menuitems.html
+menus.html
+messagedialog.html
+notebooks.html
+object_system.html
+paned.html
+progressbar.html
+properties.html
+rangewidgets.html
+rulers.html
+scrolledwindows.html
+selections.html
+signal_system.html
+spinbuttons.html
+statusbar.html
+strings.html
+tables.html
+textview.html
+threads.html
+toolbar.html
+toolitems.html
+tooltips.html
+treeview.html
+uimanager.html
+viewports.html
+widgets.html PARENT_SCOPE)
diff --git a/docs/images/CMakeLists.txt b/docs/images/CMakeLists.txt
new file mode 100644
index 0000000..26042c6
--- /dev/null
+++ b/docs/images/CMakeLists.txt
@@ -0,0 +1,60 @@
+## xfc docs/images directory
+
+INSTALL( FILES 
+ action.png 
+ arrow.png 
+ aspectframe.png 
+ base.png 
+ buttonbox.png 
+ buttons.png 
+ calendar.png 
+ chapter01.png 
+ chapter04.png 
+ chapter06.png 
+ chapter07.png 
+ chapter09.png 
+ colorselection1.png 
+ colorselection2.png 
+ comboboxentry.png 
+ combobox.png 
+ containers.png 
+ dial.png 
+ dnd.png 
+ entrycompletion.png 
+ entry.png 
+ eventbox.png 
+ example-2.png 
+ fixed.png 
+ fontselection1.png 
+ fontselection2.png 
+ frame.png 
+ hellobuttons.png 
+ helloworld.png 
+ hierarchy.png 
+ label.png 
+ layout.png 
+ menu.png 
+ notebook.png 
+ packbox.png 
+ paned.png 
+ progressbar.png 
+ radiobuttons.png 
+ rangewidgets.png 
+ rulers.png 
+ scribble.png 
+ scrolledwindow.png 
+ selection.png 
+ simple.png 
+ spinbutton.png 
+ statusbar.png 
+ stock.png 
+ table.png 
+ textview.png 
+ thread1.png 
+ thread2.png
+ tictactoe.png 
+ toolbar.png 
+ treeview.png 
+ xfc.css 
+ xfc.png
+ DESTINATION ${docs_dest}/images)
diff --git a/docs/reference/CMakeLists.txt b/docs/reference/CMakeLists.txt
new file mode 100644
index 0000000..cdf4051
--- /dev/null
+++ b/docs/reference/CMakeLists.txt
@@ -0,0 +1,15 @@
+INCLUDE( FindDoxygen )
+
+CONFIGURE_FILE( Doxyfile.in Doxyfile )
+CONFIGURE_FILE( xfc_footer.html.in xfc_footer.html )
+
+ADD_CUSTOM_TARGET(api-docs ALL ${DOXYGEN_EXECUTABLE} Doxyfile) 
+
+INSTALL( DIRECTORY html DESTINATION ${docs_dest}/reference/html
+         PATTERN ".svn" EXCLUDE )
+
+INSTALL( FILES 
+    doxygen.css 
+    xfc_footer.html
+    xfc_header.html
+    DESTINATION ${docs_dest}/reference/html)
diff --git a/docs/tutorial/CMakeLists.txt b/docs/tutorial/CMakeLists.txt
new file mode 100644
index 0000000..bfd8e4a
--- /dev/null
+++ b/docs/tutorial/CMakeLists.txt
@@ -0,0 +1,11 @@
+## xfc docs/tutorial directory
+
+ADD_SUBDIRECTORY( html )
+
+FOREACH(f ${html})
+    SET(files ${files} "html/${f}" )
+ENDFOREACH(f)
+
+INSTALL( FILES 
+    ${files}
+    DESTINATION ${docs_dest}/tutorial/html)
diff --git a/docs/tutorial/html/CMakeLists.txt b/docs/tutorial/html/CMakeLists.txt
new file mode 100644
index 0000000..f471e14
--- /dev/null
+++ b/docs/tutorial/html/CMakeLists.txt
@@ -0,0 +1,12 @@
+SET( html chapter01.html
+   chapter02.html
+   chapter03.html
+   chapter04.html
+   chapter05.html
+   chapter06.html
+   chapter07.html
+   chapter08.html
+   chapter09.html
+   CMakeLists.txt
+   index.html
+   PARENT_SCOPE)
diff --git a/examples/tutorial/CMakeLists.txt b/examples/tutorial/CMakeLists.txt
new file mode 100644
index 0000000..d8ebb86
--- /dev/null
+++ b/examples/tutorial/CMakeLists.txt
@@ -0,0 +1,10 @@
+## xfc examples/tutorial directory
+
+ADD_SUBDIRECTORY( chapter01 )
+ADD_SUBDIRECTORY( chapter02 )
+ADD_SUBDIRECTORY( chapter03 ) 
+ADD_SUBDIRECTORY( chapter04 )
+ADD_SUBDIRECTORY( chapter06 ) 
+ADD_SUBDIRECTORY( chapter07 ) 
+ADD_SUBDIRECTORY( chapter08 ) 
+ADD_SUBDIRECTORY( chapter09 )
diff --git a/examples/tutorial/chapter01/CMakeLists.txt b/examples/tutorial/chapter01/CMakeLists.txt
new file mode 100644
index 0000000..85e84d9
--- /dev/null
+++ b/examples/tutorial/chapter01/CMakeLists.txt
@@ -0,0 +1,4 @@
+## xfc examples/tutorial/chapter01 directory
+
+INSTALL( FILES xfcapp.cc xfcapp.hh
+   DESTINATION examples/tutorial/chapter01)
diff --git a/examples/tutorial/chapter02/CMakeLists.txt b/examples/tutorial/chapter02/CMakeLists.txt
new file mode 100644
index 0000000..37be401
--- /dev/null
+++ b/examples/tutorial/chapter02/CMakeLists.txt
@@ -0,0 +1,4 @@
+## xfc examples/tutorial/chapter02 directory
+
+INSTALL( FILES helloworld.cc helloworld.hh
+   DESTINATION examples/tutorial/chapter02)
diff --git a/examples/tutorial/chapter03/CMakeLists.txt b/examples/tutorial/chapter03/CMakeLists.txt
new file mode 100644
index 0000000..5ecf765
--- /dev/null
+++ b/examples/tutorial/chapter03/CMakeLists.txt
@@ -0,0 +1,4 @@
+## xfc examples/tutorial/chapter03 directory
+
+INSTALL( FILES hellobuttons.cc hellobuttons.hh
+   DESTINATION examples/tutorial/chapter03 )
diff --git a/examples/tutorial/chapter04/CMakeLists.txt b/examples/tutorial/chapter04/CMakeLists.txt
new file mode 100644
index 0000000..7727546
--- /dev/null
+++ b/examples/tutorial/chapter04/CMakeLists.txt
@@ -0,0 +1,4 @@
+## xfc examples/tutorial/chapter04 directory
+
+INSTALL( FILES xfcapp.cc xfcapp.hh xfcapp.ui
+    DESTINATION examples/tutorial/chapter04)
diff --git a/examples/tutorial/chapter06/CMakeLists.txt b/examples/tutorial/chapter06/CMakeLists.txt
new file mode 100644
index 0000000..db254f0
--- /dev/null
+++ b/examples/tutorial/chapter06/CMakeLists.txt
@@ -0,0 +1,4 @@
+## xfc examples/tutorial/chapter06 directory
+
+INSTALL( FILES xfcapp.cc xfcapp.hh xfcapp.ui statusbar.cc statusbar.hh
+   DESTINATION examples/tutorial/chapter06)
diff --git a/examples/tutorial/chapter07/CMakeLists.txt b/examples/tutorial/chapter07/CMakeLists.txt
new file mode 100644
index 0000000..39e605a
--- /dev/null
+++ b/examples/tutorial/chapter07/CMakeLists.txt
@@ -0,0 +1,4 @@
+## xfc examples/tutorial/chapter07 directory
+
+INSTALL( FILES xfcapp.cc xfcapp.hh xfcapp.ui statusbar.cc statusbar.hh
+   DESTINATION examples/tutorial/chapter07)
diff --git a/examples/tutorial/chapter08/CMakeLists.txt b/examples/tutorial/chapter08/CMakeLists.txt
new file mode 100644
index 0000000..9c69dd3
--- /dev/null
+++ b/examples/tutorial/chapter08/CMakeLists.txt
@@ -0,0 +1,3 @@
+## xfc examples/tutorial/chapter08 directory
+
+ADD_SUBDIRECTORY( src )
diff --git a/examples/tutorial/chapter08/src/CMakeLists.txt b/examples/tutorial/chapter08/src/CMakeLists.txt
new file mode 100644
index 0000000..cf2effb
--- /dev/null
+++ b/examples/tutorial/chapter08/src/CMakeLists.txt
@@ -0,0 +1,4 @@
+## xfc examples/tutorial/chapter08/src directory
+
+INSTALL( FILES xfcapp.cc xfcapp.hh xfcapp.ui statusbar.cc statusbar.hh main.cc
+   DESTINATION examples/tutorial/chapter08/src)
diff --git a/examples/tutorial/chapter09/CMakeLists.txt b/examples/tutorial/chapter09/CMakeLists.txt
new file mode 100644
index 0000000..cd3d0c6
--- /dev/null
+++ b/examples/tutorial/chapter09/CMakeLists.txt
@@ -0,0 +1,3 @@
+## xfc examples/tutorial/chapter09 directory
+
+ADD_SUBDIRECTORY( src )
diff --git a/examples/tutorial/chapter09/src/CMakeLists.txt b/examples/tutorial/chapter09/src/CMakeLists.txt
new file mode 100644
index 0000000..6915690
--- /dev/null
+++ b/examples/tutorial/chapter09/src/CMakeLists.txt
@@ -0,0 +1,4 @@
+## xfc examples/tutorial/chapter09/src directory
+
+INSTALL( FILES xfcapp.cc xfcapp.hh xfcapp.ui statusbar.cc statusbar.hh main.cc
+   DESTINATION examples/tutorial/chapter09/src )
diff --git a/glade/xfc/CMakeLists.txt b/glade/xfc/CMakeLists.txt
new file mode 100644
index 0000000..44524b7
--- /dev/null
+++ b/glade/xfc/CMakeLists.txt
@@ -0,0 +1,16 @@
+## libXFCglade source directory
+
+ADD_SUBDIRECTORY( glade )
+
+ADD_LIBRARY( xfc_glade ${glade_src} )
+
+TARGET_LINK_LIBRARIES( xfc_glade xfc_core xfc_ui ${GTK_LIBRARIES} )
+SET_TARGET_PROPERTIES( xfc_glade PROPERTIES VERSION ${XFC_VERSION} SOVERSION ${XFC_MAJOR_VERSION} )
+
+INSTALL(TARGETS xfc_glade
+    RUNTIME DESTINATION bin
+    LIBRARY DESTINATION lib )
+
+INSTALL( FILES 
+        xfcglade.hh
+	DESTINATION include/xfce4/xfc )
diff --git a/glade/xfc/glade/CMakeLists.txt b/glade/xfc/glade/CMakeLists.txt
new file mode 100644
index 0000000..7fdf3e6
--- /dev/null
+++ b/glade/xfc/glade/CMakeLists.txt
@@ -0,0 +1,11 @@
+## libXFCglade xfc/glade directory
+
+ADD_SUBDIRECTORY( inline )
+
+SET( glade_src 
+     glade/xml.cc )
+
+INSTALL( FILES
+ glade.hh 
+ xml.hh
+ DESTINATION include/xfce4/xfc/glade )
diff --git a/glade/xfc/glade/inline/CMakeLists.txt b/glade/xfc/glade/inline/CMakeLists.txt
new file mode 100644
index 0000000..b2f2a91
--- /dev/null
+++ b/glade/xfc/glade/inline/CMakeLists.txt
@@ -0,0 +1,5 @@
+## libXFCglade xfc/glade/inline directory
+
+INSTALL( FILES
+ xml.inl
+ DESTINATION include/xfce4/xfc/glade)
diff --git a/glade/xfcglade-4.3.pc.in b/glade/xfcglade.pc.in
similarity index 100%
rename from glade/xfcglade-4.3.pc.in
rename to glade/xfcglade.pc.in
diff --git a/sourceview/xfc/CMakeLists.txt b/sourceview/xfc/CMakeLists.txt
new file mode 100644
index 0000000..8d6ad0c
--- /dev/null
+++ b/sourceview/xfc/CMakeLists.txt
@@ -0,0 +1,18 @@
+## libXFCsourceview source directory
+
+pkg_search_module( SOURCEVIEW REQUIRED gtksourceview-1.0)
+
+ADD_SUBDIRECTORY( sourceview )
+
+INCLUDE_DIRECTORIES( ${SOURCEVIEW_INCLUDE_DIRS} ${XFC_CORE_SOURCE_DIR} ${XFC_UI_SOURCE_DIR} 
+    ${SIGC_INCLUDE_DIRS} ${GLIB_INCLUDE_DIRS} ${XFC_SOURCEVIEW_SOURCE_DIR} )
+
+ADD_LIBRARY( xfc_sourceview SHARED ${sourceview_src})
+
+TARGET_LINK_LIBRARIES( xfc_sourceview xfc_core xfc_ui ${GLADE_LIBRARIES} )
+SET_TARGET_PROPERTIES( xfc_sourceview PROPERTIES VERSION ${XFC_VERSION} SOVERSION ${XFC_MAJOR_VERSION} )
+
+INSTALL(TARGETS xfc_sourceview
+    RUNTIME DESTINATION bin
+    LIBRARY DESTINATION lib )
+
diff --git a/sourceview/xfc/sourceview/CMakeLists.txt b/sourceview/xfc/sourceview/CMakeLists.txt
new file mode 100644
index 0000000..40be9dc
--- /dev/null
+++ b/sourceview/xfc/sourceview/CMakeLists.txt
@@ -0,0 +1,39 @@
+## gtk-sourceview directory
+
+INSTALL( FILES 
+ sourcebuffer.hh 
+ sourcebuffersignals.hh 
+ sourceiter.hh 
+ sourcelanguage.hh 
+ sourcelanguagesignals.hh 
+ sourceprintjob.hh 
+ sourceprintjobsignals.hh 
+ sourcestylescheme.hh 
+ sourcestyleschemesignals.hh 
+ sourcetag.hh 
+ sourcetagsignals.hh 
+ sourcetagstyle.hh 
+ sourceview.hh
+ DESTINATION include/xfce4/xfc/sourceview)
+
+SET( src
+ sourcebuffer.cc 
+ sourcebuffersignals.cc 
+ sourceiter.cc 
+ sourcelanguage.cc 
+ sourcelanguagesignals.cc 
+ sourceprintjob.cc 
+ sourceprintjobsignals.cc 
+ sourcestylescheme.cc 
+ sourcestyleschemesignals.cc 
+ sourcetag.cc 
+ sourcetagsignals.cc 
+ sourcetagstyle.cc 
+ sourceview.cc)
+
+SET(sourceview_src "" )
+FOREACH(f ${src})
+    SET(sourceview_src ${sourceview_src} "sourceview/${f}" )
+ENDFOREACH(f)
+SET( sourceview_src ${sourceview_src} PARENT_SCOPE )
+
diff --git a/sourceview/xfcsourceview-4.3.pc.in b/sourceview/xfcsourceview.pc.in
similarity index 100%
rename from sourceview/xfcsourceview-4.3.pc.in
rename to sourceview/xfcsourceview.pc.in
diff --git a/ui/xfc/atk/inline/CMakeLists.txt b/ui/xfc/atk/inline/CMakeLists.txt
new file mode 100755
index 0000000..982ea8b
--- /dev/null
+++ b/ui/xfc/atk/inline/CMakeLists.txt
@@ -0,0 +1,23 @@
+## libXFCui xfc/atk/inline directory
+
+INSTALL( FILES
+ action.inl 
+ component.inl 
+ document.inl 
+ editabletext.inl 
+ gobjectaccessible.inl 
+ hyperlink.inl 
+ hypertext.inl 
+ image.inl 
+ implementor.inl 
+ object.inl 
+ objectfactory.inl 
+ registry.inl 
+ relation.inl 
+ selection.inl 
+ stateset.inl 
+ streamablecontent.inl 
+ table.inl 
+ text.inl 
+ value.inl
+ DESTINATION include/xfce4/xfc/atk/inline)
diff --git a/ui/xfc/gdk-pixbuf/inline/CMakeLists.txt b/ui/xfc/gdk-pixbuf/inline/CMakeLists.txt
new file mode 100644
index 0000000..c303e08
--- /dev/null
+++ b/ui/xfc/gdk-pixbuf/inline/CMakeLists.txt
@@ -0,0 +1,8 @@
+## libXFCui xfc/gdk-pixbuf/inline directory
+
+INSTALL( FILES
+ pixbuf.inl 
+ pixbuf-io.inl 
+ pixbuf-animation.inl 
+ pixbuf-loader.inl
+ DESTINATION include/xfce4/xfc/gdk-pixbuf/inline)
diff --git a/ui/xfc/gdk/inline/CMakeLists.txt b/ui/xfc/gdk/inline/CMakeLists.txt
new file mode 100644
index 0000000..4c5535c
--- /dev/null
+++ b/ui/xfc/gdk/inline/CMakeLists.txt
@@ -0,0 +1,25 @@
+## libXFCui xfc/gdk/inline directory
+
+INSTALL( FILES
+ bitmap.inl 
+ color.inl 
+ cursor.inl 
+ display.inl 
+ displaymanager.inl 
+ dnd.inl 
+ drawable.inl 
+ event.inl 
+ gc.inl 
+ image.inl 
+ input.inl 
+ keymap.inl 
+ keyval.inl 
+ pangorenderer.inl 
+ pixmap.inl 
+ region.inl 
+ screen.inl 
+ spawn.inl 
+ types.inl 
+ visual.inl 
+ window.inl
+ DESTINATION include/xfce4/xfc/gdk/inline )
diff --git a/ui/xfc/gtk/inline/CMakeLists.txt b/ui/xfc/gtk/inline/CMakeLists.txt
new file mode 100644
index 0000000..0a6785e
--- /dev/null
+++ b/ui/xfc/gtk/inline/CMakeLists.txt
@@ -0,0 +1,134 @@
+## libXFCui xfc/gtk/inline directory
+
+INSTALL( FILES
+ aboutdialog.inl 
+ accelgroup.inl 
+ accelkey.inl 
+ accellabel.inl 
+ accelmap.inl 
+ accessible.inl 
+ action.inl 
+ actiongroup.inl 
+ adjustment.inl 
+ alignment.inl 
+ arrow.inl 
+ aspectframe.inl 
+ bin.inl 
+ box.inl 
+ boxchild.inl 
+ builder.inl 
+ button.inl 
+ buttonbox.inl 
+ calendar.inl 
+ celleditable.inl 
+ celllayout.inl 
+ cellrenderer.inl 
+ cellrenderercombo.inl 
+ cellrendererpixbuf.inl 
+ cellrendererprogress.inl 
+ cellrenderertext.inl 
+ cellrenderertoggle.inl 
+ cellview.inl 
+ checkbutton.inl 
+ checkmenuitem.inl 
+ clipboard.inl 
+ colorbutton.inl 
+ colorselection.inl 
+ combobox.inl 
+ comboboxentry.inl 
+ container.inl 
+ curve.inl 
+ dialog.inl 
+ dnd.inl 
+ drawingarea.inl 
+ editable.inl 
+ entry.inl 
+ entrycompletion.inl 
+ eventbox.inl 
+ expander.inl 
+ filechooser.inl 
+ filechooserbutton.inl 
+ filechooserdialog.inl 
+ filechooserwidget.inl 
+ filefilter.inl 
+ fixed.inl 
+ fontbutton.inl 
+ fontselection.inl 
+ frame.inl 
+ gammacurve.inl 
+ handlebox.inl 
+ iconfactory.inl 
+ iconset.inl 
+ iconsource.inl 
+ icontheme.inl 
+ iconview.inl 
+ image.inl 
+ imagemenuitem.inl 
+ invisible.inl 
+ item.inl 
+ label.inl 
+ layout.inl 
+ liststore.inl 
+ menu.inl 
+ menubar.inl 
+ menuitem.inl 
+ menushell.inl 
+ menutoolbutton.inl 
+ messagedialog.inl 
+ misc.inl 
+ notebook.inl 
+ object.inl 
+ paned.inl 
+ plug.inl 
+ progressbar.inl 
+ printoperationpreview.inl 
+ printpagesetup.inl 
+ radioaction.inl 
+ radiobutton.inl 
+ radiomenuitem.inl 
+ radiotoolbutton.inl 
+ range.inl 
+ rc.inl 
+ ruler.inl 
+ scale.inl 
+ scrollbar.inl 
+ scrolledwindow.inl 
+ selection.inl 
+ separator.inl 
+ separatormenuitem.inl 
+ separatortoolitem.inl 
+ settings.inl 
+ sizegroup.inl 
+ socket.inl 
+ spinbutton.inl 
+ statusbar.inl 
+ stock.inl 
+ stockid.inl 
+ style.inl 
+ table.inl 
+ tearoffmenuitem.inl 
+ textbuffer.inl 
+ textiter.inl 
+ texttag.inl 
+ textview.inl 
+ toggleaction.inl 
+ togglebutton.inl 
+ toggletoolbutton.inl 
+ toolbar.inl 
+ toolbutton.inl 
+ toolitem.inl 
+ tooltips.inl 
+ treednd.inl 
+ treemodel.inl 
+ treemodelfilter.inl 
+ treemodelsort.inl 
+ treeselection.inl 
+ treesortable.inl 
+ treestore.inl 
+ treeview.inl 
+ treeviewcolumn.inl 
+ uimanager.inl 
+ viewport.inl 
+ widget.inl 
+ window.inl
+ DESTINATION include/xfce4/xfc/gtk/inline)
diff --git a/ui/xfc/pango/inline/CMakeLists.txt b/ui/xfc/pango/inline/CMakeLists.txt
new file mode 100755
index 0000000..f4df096
--- /dev/null
+++ b/ui/xfc/pango/inline/CMakeLists.txt
@@ -0,0 +1,19 @@
+## libXFCui xfc/pango/inline directory
+
+INSTALL( FILES
+ attributes.inl 
+ break.inl 
+ context.inl 
+ coverage.inl 
+ font.inl 
+ fontmap.inl 
+ fontset.inl 
+ glyph.inl 
+ item.inl 
+ layout.inl 
+ renderer.inl 
+ script.inl 
+ tabs.inl 
+ types.inl
+ DESTINATION include/xfce4/xfc/pango/inline
+ )
diff --git a/ui/xfcui-4.3.pc.in b/ui/xfcui.pc.in
similarity index 100%
rename from ui/xfcui-4.3.pc.in
rename to ui/xfcui.pc.in


More information about the Xfce4-commits mailing list