[gnome-bluetooth] Rename common/ dir to lib/



commit a0e02526592a3a07cabe8052b4be96b0900c8b88
Author: Bastien Nocera <hadess hadess net>
Date:   Mon Jun 8 23:17:46 2009 +0100

    Rename common/ dir to lib/
    
    So as to avoid confusing readers of the code.
---
 .gitignore                                    |    8 ++++----
 Makefile.am                                   |    2 +-
 applet/Makefile.am                            |    6 +++---
 configure.ac                                  |    4 ++--
 docs/reference/libgnome-bluetooth/Makefile.am |    8 ++++----
 {common => lib}/Makefile.am                   |    0
 {common => lib}/bluetooth-agent.c             |    0
 {common => lib}/bluetooth-agent.h             |    0
 {common => lib}/bluetooth-agent.xml           |    0
 {common => lib}/bluetooth-chooser-button.c    |    0
 {common => lib}/bluetooth-chooser-button.h    |    0
 {common => lib}/bluetooth-chooser.c           |    0
 {common => lib}/bluetooth-chooser.h           |    0
 {common => lib}/bluetooth-client.c            |    0
 {common => lib}/bluetooth-client.h            |    0
 {common => lib}/bluetooth-client.xml          |    0
 {common => lib}/bluetooth-enums.h             |    0
 {common => lib}/bluetooth-killswitch.c        |    0
 {common => lib}/bluetooth-killswitch.h        |    0
 {common => lib}/bluetooth-plugin-manager.c    |    0
 {common => lib}/bluetooth-plugin-manager.h    |    0
 {common => lib}/bluetooth-plugin.h            |    0
 {common => lib}/gnome-bluetooth.symbols       |    0
 {common => lib}/marshal.list                  |    0
 {common => lib}/obex-agent.c                  |    0
 {common => lib}/obex-agent.h                  |    0
 {common => lib}/obex-agent.xml                |    0
 {common => lib}/plugins/Makefile.am           |    2 +-
 {common => lib}/plugins/test.c                |    0
 {common => lib}/test-agent.c                  |    0
 {common => lib}/test-client.c                 |    0
 {common => lib}/test-deviceselection.c        |    0
 po/POTFILES.in                                |    8 ++++----
 properties/Makefile.am                        |    4 ++--
 sendto/Makefile.am                            |    4 ++--
 wizard/Makefile.am                            |    4 ++--
 36 files changed, 25 insertions(+), 25 deletions(-)

diff --git a/.gitignore b/.gitignore
index be1c16f..6e92c36 100644
--- a/.gitignore
+++ b/.gitignore
@@ -35,10 +35,10 @@ po/POTFILES
 po/stamp-it
 po/.intltool-merge-cache
 
-common/test-client
-common/test-agent
-common/test-deviceselection
-common/gnome-bluetooth-enum-types.*
+lib/test-client
+lib/test-agent
+lib/test-deviceselection
+lib/gnome-bluetooth-enum-types.*
 applet/bluetooth-applet
 applet/bluetooth-applet.desktop.in
 applet/test-agentdialog
diff --git a/Makefile.am b/Makefile.am
index 6358c5b..e494e6f 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,5 +1,5 @@
 
-SUBDIRS = icons common applet properties wizard sendto docs po help
+SUBDIRS = icons lib applet properties wizard sendto docs po help
 
 EXTRA_DIST = intltool-extract.in intltool-update.in intltool-merge.in ChangeLog.pre-2.27 gtk-doc.make gnome-doc-utils.make
 
diff --git a/applet/Makefile.am b/applet/Makefile.am
index 41b84aa..9eca3aa 100644
--- a/applet/Makefile.am
+++ b/applet/Makefile.am
@@ -3,17 +3,17 @@ bin_PROGRAMS = bluetooth-applet
 
 bluetooth_applet_SOURCES = main.c notify.h notify.c agent.h agent.c
 
-bluetooth_applet_LDADD = $(top_builddir)/common/libcommon.la $(top_builddir)/common/libgnome-bluetooth.la $(APPLET_LIBS)
+bluetooth_applet_LDADD = $(top_builddir)/lib/libcommon.la $(top_builddir)/lib/libgnome-bluetooth.la $(APPLET_LIBS)
 
 noinst_PROGRAMS = test-agentdialog
 
 test_agentdialog_SOURCES = test-agentdialog.c notify.h notify.c
 
-test_agentdialog_LDADD = $(top_builddir)/common/libcommon.la $(APPLET_LIBS)
+test_agentdialog_LDADD = $(top_builddir)/lib/libcommon.la $(APPLET_LIBS)
 
 AM_CFLAGS = $(APPLET_CFLAGS) $(WARN_CFLAGS) $(DISABLE_DEPRECATED) -DPKGDATADIR="\"$(pkgdatadir)\""
 
-INCLUDES = -I$(top_srcdir)/common
+INCLUDES = -I$(top_srcdir)/lib
 
 man_MANS = bluetooth-applet.1
 
diff --git a/configure.ac b/configure.ac
index ad63df9..02f35c9 100644
--- a/configure.ac
+++ b/configure.ac
@@ -131,8 +131,8 @@ GNOME_DOC_INIT
 AC_OUTPUT(Makefile
 	  gnome-bluetooth-1.0.pc
 	  icons/Makefile
-	  common/Makefile
-	  common/plugins/Makefile
+	  lib/Makefile
+	  lib/plugins/Makefile
 	  applet/Makefile
 	  applet/bluetooth-applet.desktop.in
 	  properties/Makefile
diff --git a/docs/reference/libgnome-bluetooth/Makefile.am b/docs/reference/libgnome-bluetooth/Makefile.am
index d2f4fdb..ac0ad93 100644
--- a/docs/reference/libgnome-bluetooth/Makefile.am
+++ b/docs/reference/libgnome-bluetooth/Makefile.am
@@ -22,7 +22,7 @@ DOC_MAIN_SGML_FILE=$(DOC_MODULE)-docs.sgml
 # gtk-doc will search all .c & .h files beneath here for inline comments
 # documenting the functions and macros.
 # e.g. DOC_SOURCE_DIR=../../../gtk
-DOC_SOURCE_DIR=../../../common
+DOC_SOURCE_DIR=../../../lib
 
 # Extra options to pass to gtkdoc-scangobj. Not normally needed.
 SCANGOBJ_OPTIONS=
@@ -49,8 +49,8 @@ FIXXREF_OPTIONS=
 # Used for dependencies. The docs will be rebuilt if any of these change.
 # e.g. HFILE_GLOB=$(top_srcdir)/gtk/*.h
 # e.g. CFILE_GLOB=$(top_srcdir)/gtk/*.c
-HFILE_GLOB=$(top_srcdir)/common/*.h
-CFILE_GLOB=$(top_srcdir)/common/*.c
+HFILE_GLOB=$(top_srcdir)/lib/*.h
+CFILE_GLOB=$(top_srcdir)/lib/*.c
 
 # Header files to ignore when scanning.
 # e.g. IGNORE_HFILES=gtkdebug.h gtkintl.h
@@ -75,7 +75,7 @@ expand_content_files=
 # e.g. GTKDOC_CFLAGS=-I$(top_srcdir) -I$(top_builddir) $(GTK_DEBUG_FLAGS)
 # e.g. GTKDOC_LIBS=$(top_builddir)/gtk/$(gtktargetlib)
 GTKDOC_CFLAGS=$(LIBGNOMEBT_CFLAGS)
-GTKDOC_LIBS=$(top_builddir)/common/libgnome-bluetooth.la $(top_builddir)/common/libcommon.la
+GTKDOC_LIBS=$(top_builddir)/lib/libgnome-bluetooth.la $(top_builddir)/lib/libcommon.la
 
 # This includes the standard gtk-doc make rules, copied by gtkdocize.
 include $(top_srcdir)/gtk-doc.make
diff --git a/common/Makefile.am b/lib/Makefile.am
similarity index 100%
rename from common/Makefile.am
rename to lib/Makefile.am
diff --git a/common/bluetooth-agent.c b/lib/bluetooth-agent.c
similarity index 100%
rename from common/bluetooth-agent.c
rename to lib/bluetooth-agent.c
diff --git a/common/bluetooth-agent.h b/lib/bluetooth-agent.h
similarity index 100%
rename from common/bluetooth-agent.h
rename to lib/bluetooth-agent.h
diff --git a/common/bluetooth-agent.xml b/lib/bluetooth-agent.xml
similarity index 100%
rename from common/bluetooth-agent.xml
rename to lib/bluetooth-agent.xml
diff --git a/common/bluetooth-chooser-button.c b/lib/bluetooth-chooser-button.c
similarity index 100%
rename from common/bluetooth-chooser-button.c
rename to lib/bluetooth-chooser-button.c
diff --git a/common/bluetooth-chooser-button.h b/lib/bluetooth-chooser-button.h
similarity index 100%
rename from common/bluetooth-chooser-button.h
rename to lib/bluetooth-chooser-button.h
diff --git a/common/bluetooth-chooser.c b/lib/bluetooth-chooser.c
similarity index 100%
rename from common/bluetooth-chooser.c
rename to lib/bluetooth-chooser.c
diff --git a/common/bluetooth-chooser.h b/lib/bluetooth-chooser.h
similarity index 100%
rename from common/bluetooth-chooser.h
rename to lib/bluetooth-chooser.h
diff --git a/common/bluetooth-client.c b/lib/bluetooth-client.c
similarity index 100%
rename from common/bluetooth-client.c
rename to lib/bluetooth-client.c
diff --git a/common/bluetooth-client.h b/lib/bluetooth-client.h
similarity index 100%
rename from common/bluetooth-client.h
rename to lib/bluetooth-client.h
diff --git a/common/bluetooth-client.xml b/lib/bluetooth-client.xml
similarity index 100%
rename from common/bluetooth-client.xml
rename to lib/bluetooth-client.xml
diff --git a/common/bluetooth-enums.h b/lib/bluetooth-enums.h
similarity index 100%
rename from common/bluetooth-enums.h
rename to lib/bluetooth-enums.h
diff --git a/common/bluetooth-killswitch.c b/lib/bluetooth-killswitch.c
similarity index 100%
rename from common/bluetooth-killswitch.c
rename to lib/bluetooth-killswitch.c
diff --git a/common/bluetooth-killswitch.h b/lib/bluetooth-killswitch.h
similarity index 100%
rename from common/bluetooth-killswitch.h
rename to lib/bluetooth-killswitch.h
diff --git a/common/bluetooth-plugin-manager.c b/lib/bluetooth-plugin-manager.c
similarity index 100%
rename from common/bluetooth-plugin-manager.c
rename to lib/bluetooth-plugin-manager.c
diff --git a/common/bluetooth-plugin-manager.h b/lib/bluetooth-plugin-manager.h
similarity index 100%
rename from common/bluetooth-plugin-manager.h
rename to lib/bluetooth-plugin-manager.h
diff --git a/common/bluetooth-plugin.h b/lib/bluetooth-plugin.h
similarity index 100%
rename from common/bluetooth-plugin.h
rename to lib/bluetooth-plugin.h
diff --git a/common/gnome-bluetooth.symbols b/lib/gnome-bluetooth.symbols
similarity index 100%
rename from common/gnome-bluetooth.symbols
rename to lib/gnome-bluetooth.symbols
diff --git a/common/marshal.list b/lib/marshal.list
similarity index 100%
rename from common/marshal.list
rename to lib/marshal.list
diff --git a/common/obex-agent.c b/lib/obex-agent.c
similarity index 100%
rename from common/obex-agent.c
rename to lib/obex-agent.c
diff --git a/common/obex-agent.h b/lib/obex-agent.h
similarity index 100%
rename from common/obex-agent.h
rename to lib/obex-agent.h
diff --git a/common/obex-agent.xml b/lib/obex-agent.xml
similarity index 100%
rename from common/obex-agent.xml
rename to lib/obex-agent.xml
diff --git a/common/plugins/Makefile.am b/lib/plugins/Makefile.am
similarity index 93%
rename from common/plugins/Makefile.am
rename to lib/plugins/Makefile.am
index b8f3339..1357a0a 100644
--- a/common/plugins/Makefile.am
+++ b/lib/plugins/Makefile.am
@@ -4,7 +4,7 @@ INCLUDES =                                      \
         -DDATADIR=\"$(datadir)\"                \
         -DICONDIR=\"$(icondir)\"                \
 	-DLOCALEDIR="\"$(datadir)/locale\""	\
-        -I$(top_srcdir)/common			\
+        -I$(top_srcdir)/lib			\
         -I$(top_builddir)			\
 	$(PLUGINS_CFLAGS)			\
 	$(WARN_CFLAGS)
diff --git a/common/plugins/test.c b/lib/plugins/test.c
similarity index 100%
rename from common/plugins/test.c
rename to lib/plugins/test.c
diff --git a/common/test-agent.c b/lib/test-agent.c
similarity index 100%
rename from common/test-agent.c
rename to lib/test-agent.c
diff --git a/common/test-client.c b/lib/test-client.c
similarity index 100%
rename from common/test-client.c
rename to lib/test-client.c
diff --git a/common/test-deviceselection.c b/lib/test-deviceselection.c
similarity index 100%
rename from common/test-deviceselection.c
rename to lib/test-deviceselection.c
diff --git a/po/POTFILES.in b/po/POTFILES.in
index b8690c1..0023a23 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -1,7 +1,7 @@
-common/bluetooth-client.c
-common/bluetooth-chooser-button.c
-common/bluetooth-chooser.c
-common/plugins/test.c
+lib/bluetooth-client.c
+lib/bluetooth-chooser-button.c
+lib/bluetooth-chooser.c
+lib/plugins/test.c
 applet/main.c
 applet/notify.c
 applet/agent.c
diff --git a/properties/Makefile.am b/properties/Makefile.am
index 599f77c..0a361ad 100644
--- a/properties/Makefile.am
+++ b/properties/Makefile.am
@@ -3,11 +3,11 @@ bin_PROGRAMS = bluetooth-properties
 
 bluetooth_properties_SOURCES = main.c general.h general.c adapter.h adapter.c gconf-bridge.c gconf-bridge.h
 
-bluetooth_properties_LDADD = $(top_builddir)/common/libgnome-bluetooth.la $(top_builddir)/common/libcommon.la $(PROPS_LIBS)
+bluetooth_properties_LDADD = $(top_builddir)/lib/libgnome-bluetooth.la $(top_builddir)/lib/libcommon.la $(PROPS_LIBS)
 
 AM_CFLAGS = $(PROPS_CFLAGS) $(WARN_CFLAGS) $(DISABLE_DEPRECATED) -DPKGDATADIR="\"$(pkgdatadir)\""
 
-INCLUDES = -I$(top_srcdir)/common
+INCLUDES = -I$(top_srcdir)/lib
 
 man_MANS = bluetooth-properties.1
 
diff --git a/sendto/Makefile.am b/sendto/Makefile.am
index 3c6b789..0159621 100644
--- a/sendto/Makefile.am
+++ b/sendto/Makefile.am
@@ -3,11 +3,11 @@ bin_PROGRAMS = bluetooth-sendto
 
 bluetooth_sendto_SOURCES = main.c
 
-bluetooth_sendto_LDADD = $(top_builddir)/common/libcommon.la $(top_builddir)/common/libgnome-bluetooth.la $(SENDTO_LIBS)
+bluetooth_sendto_LDADD = $(top_builddir)/lib/libcommon.la $(top_builddir)/lib/libgnome-bluetooth.la $(SENDTO_LIBS)
 
 AM_CFLAGS = $(SENDTO_CFLAGS) $(WARN_CFLAGS) $(DISABLE_DEPRECATED)
 
-INCLUDES = -I$(top_srcdir)/common -I$(top_builddir)/common
+INCLUDES = -I$(top_srcdir)/lib -I$(top_builddir)/lib
 
 man_MANS = bluetooth-sendto.1
 
diff --git a/wizard/Makefile.am b/wizard/Makefile.am
index 2cdc653..3d07b47 100644
--- a/wizard/Makefile.am
+++ b/wizard/Makefile.am
@@ -3,7 +3,7 @@ bin_PROGRAMS = bluetooth-wizard
 
 bluetooth_wizard_SOURCES = main.c pin.c pin.h
 
-bluetooth_wizard_LDADD = $(top_builddir)/common/libgnome-bluetooth.la $(top_builddir)/common/libcommon.la $(WIZARD_LIBS)
+bluetooth_wizard_LDADD = $(top_builddir)/lib/libgnome-bluetooth.la $(top_builddir)/lib/libcommon.la $(WIZARD_LIBS)
 
 AM_CFLAGS = $(WIZARD_CFLAGS) $(WARN_CFLAGS) $(DISABLE_DEPRECATED) -DPKGDATADIR="\"$(pkgdatadir)\""
 
@@ -13,7 +13,7 @@ pindir = $(pkgdatadir)
 ui_DATA = wizard.ui
 uidir = $(pkgdatadir)
 
-INCLUDES = -I$(top_srcdir)/common
+INCLUDES = -I$(top_srcdir)/lib
 
 man_MANS = bluetooth-wizard.1
 



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