summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gabriel <[email protected]>2014-05-11 11:37:51 +0200
committerStefano Karapetsas <[email protected]>2014-05-11 11:37:51 +0200
commit7cde88457278bf9a14fd0dd6643a8f793e829555 (patch)
tree5df5295e6c1a10d4e68a937a61b9fb4d8f97aa67
parentf60fb4469756aa9672523c2b63c1e89336c6a789 (diff)
downloadmate-control-center-7cde88457278bf9a14fd0dd6643a8f793e829555.tar.bz2
mate-control-center-7cde88457278bf9a14fd0dd6643a8f793e829555.tar.xz
Rename libslab to libmate-slab
https://github.com/mate-desktop/mate-control-center/issues/100 This is to avoid package name and version conflicts with libslab0 / libslab0a which existed in Debian until squeeze. MATE components (currently only gnome-main-menu) depending on libmate-slab0 have to be patch accordingly.
-rw-r--r--Makefile.am4
-rw-r--r--configure.ac16
-rw-r--r--libslab/Makefile.am12
-rw-r--r--libslab/app-resizer.h2
-rw-r--r--libslab/app-shell.h4
-rw-r--r--libslab/application-tile.h2
-rw-r--r--libslab/directory-tile.h2
-rw-r--r--libslab/mate-slab.pc.in (renamed from libslab/libslab.pc.in)6
-rw-r--r--libslab/nameplate-tile.h2
-rw-r--r--libslab/shell-window.h2
-rw-r--r--libslab/slab.h36
-rw-r--r--libslab/system-tile.h2
-rw-r--r--shell/Makefile.am2
13 files changed, 46 insertions, 46 deletions
diff --git a/Makefile.am b/Makefile.am
index 23748cd1..e6e0cb3a 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,11 +1,11 @@
SUBDIRS = po libwindow-settings capplets font-viewer help
DIST_SUBDIRS = po libwindow-settings capplets font-viewer help libslab shell typing-break
-if HAVE_LIBSLAB
+if HAVE_LIBMATESLAB
SUBDIRS += libslab
endif
-if HAVE_LIBSLAB
+if HAVE_LIBMATESLAB
SUBDIRS += shell
endif
diff --git a/configure.ac b/configure.ac
index 7113bd2f..db15b374 100644
--- a/configure.ac
+++ b/configure.ac
@@ -182,20 +182,20 @@ AC_SUBST(GTK_ENGINE_DIR)
PKG_CHECK_MODULES(GLIB, glib-2.0 $GMODULE_ADD)
dnl
-dnl Check dependencies of libslab
+dnl Check dependencies of libmate-slab
dnl
PKG_CHECK_MODULES(LIBSLAB, [
gio-2.0 mate-desktop-2.0 librsvg-2.0 libmate-menu pango
],
- have_libslab=yes,
- have_libslab=no)
+ have_libmateslab=yes,
+ have_libmateslab=no)
WARN_CFLAGS="-Wall"
-AC_SUBST(LIBSLAB_CFLAGS)
-AC_SUBST(LIBSLAB_LIBS)
+AC_SUBST(LIBMATESLAB_CFLAGS)
+AC_SUBST(LIBMATESLAB_LIBS)
AC_SUBST(WARN_CFLAGS)
-AM_CONDITIONAL(HAVE_LIBSLAB, [test $have_libslab = yes])
+AM_CONDITIONAL(HAVE_LIBMATESLAB, [test $have_libmateslab = yes])
dnl
dnl Check for Xft version 2; we build in extra functionality to the font capplet
@@ -371,7 +371,7 @@ help/Makefile
libwindow-settings/Makefile
libwindow-settings/mate-window-settings-2.0.pc
po/Makefile.in
-libslab/libslab.pc
+libslab/mate-slab.pc
libslab/Makefile
shell/Makefile
shell/matecc.desktop.in
@@ -390,7 +390,7 @@ echo "
GTK+ API version: ${GTK_API_VERSION}
Appindicator: ${enable_appindicator}
- Libslab: ${have_libslab}
+ Libmate-slab: ${have_libmateslab}
XCursor support: ${have_xcursor}
XInput support: ${have_xinput}
Ubuntu hacks: ${enable_ubuntu}
diff --git a/libslab/Makefile.am b/libslab/Makefile.am
index 95e42237..96bf3d9d 100644
--- a/libslab/Makefile.am
+++ b/libslab/Makefile.am
@@ -1,5 +1,5 @@
pkgconfigdir = $(libdir)/pkgconfig
-pkgconfig_DATA = libslab.pc
+pkgconfig_DATA = mate-slab.pc
AM_CPPFLAGS = \
-I$(top_srcdir) \
@@ -28,9 +28,9 @@ HEADER_FILES= \
system-tile.h \
tile.h
-lib_LTLIBRARIES = libslab.la
+lib_LTLIBRARIES = libmate-slab.la
-libslab_la_SOURCES = \
+libmate_slab_la_SOURCES = \
$(MARSHAL_GENERATED) \
app-resizer.c \
app-shell.c \
@@ -55,9 +55,9 @@ libslab_la_SOURCES = \
tile-action.c \
tile.c
-libslab_includedir = $(includedir)/libslab
-libslab_include_HEADERS = $(HEADER_FILES)
-libslab_la_LIBADD = $(LIBSLAB_LIBS)
+libmate_slab_includedir = $(includedir)/libmate-slab
+libmate_slab_include_HEADERS = $(HEADER_FILES)
+libmate_slab_la_LIBADD = $(LIBSLAB_LIBS)
search-entry-watermark.h: search-entry-watermark.svg
echo '#define SEARCH_ENTRY_WATERMARK_SVG "\' > $@; \
diff --git a/libslab/app-resizer.h b/libslab/app-resizer.h
index af974653..353120b3 100644
--- a/libslab/app-resizer.h
+++ b/libslab/app-resizer.h
@@ -24,7 +24,7 @@
#include <glib.h>
#include <gtk/gtk.h>
-#include <libslab/app-shell.h>
+#include "app-shell.h"
#ifdef __cplusplus
extern "C" {
diff --git a/libslab/app-shell.h b/libslab/app-shell.h
index ab944dbe..6c8e3b83 100644
--- a/libslab/app-shell.h
+++ b/libslab/app-shell.h
@@ -28,8 +28,8 @@
#include <matemenu-tree.h>
#include <libmate-desktop/mate-desktop-item.h>
-#include <libslab/slab-section.h>
-#include <libslab/tile.h>
+#include "slab-section.h"
+#include "tile.h"
#ifdef __cplusplus
extern "C" {
diff --git a/libslab/application-tile.h b/libslab/application-tile.h
index 31511857..4a06da50 100644
--- a/libslab/application-tile.h
+++ b/libslab/application-tile.h
@@ -21,7 +21,7 @@
#ifndef __APPLICATION_TILE_H__
#define __APPLICATION_TILE_H__
-#include <libslab/nameplate-tile.h>
+#include "nameplate-tile.h"
#include <libmate-desktop/mate-desktop-item.h>
diff --git a/libslab/directory-tile.h b/libslab/directory-tile.h
index 374faa2b..55a6fdbf 100644
--- a/libslab/directory-tile.h
+++ b/libslab/directory-tile.h
@@ -23,7 +23,7 @@
#include <time.h>
-#include <libslab/nameplate-tile.h>
+#include "nameplate-tile.h"
#ifdef __cplusplus
extern "C" {
diff --git a/libslab/libslab.pc.in b/libslab/mate-slab.pc.in
index 8f341ed6..c6f26ec3 100644
--- a/libslab/libslab.pc.in
+++ b/libslab/mate-slab.pc.in
@@ -3,10 +3,10 @@ exec_prefix=@exec_prefix@
libdir=@libdir@
includedir=@includedir@
-Name: libslab
+Name: mate-slab
Description: Beautiful App Slab
Requires: glib-2.0 gobject-2.0 gio-2.0 gtk+-@GTK_API_VERSION@ mate-desktop-2.0 libmate-menu
Requires.private: gdk-@GTK_API_VERSION@ librsvg-2.0
Version: @VERSION@
-Libs: -L${libdir} -lslab
-Cflags: -I${includedir}/libslab
+Libs: -L${libdir} -lmate-slab
+Cflags: -I${includedir}/libmate-slab
diff --git a/libslab/nameplate-tile.h b/libslab/nameplate-tile.h
index 00a1e17a..8e8d0cff 100644
--- a/libslab/nameplate-tile.h
+++ b/libslab/nameplate-tile.h
@@ -21,7 +21,7 @@
#ifndef __NAMEPLATE_TILE_H__
#define __NAMEPLATE_TILE_H__
-#include <libslab/tile.h>
+#include "tile.h"
#include <gtk/gtk.h>
diff --git a/libslab/shell-window.h b/libslab/shell-window.h
index a9ee85c0..05cdcf70 100644
--- a/libslab/shell-window.h
+++ b/libslab/shell-window.h
@@ -25,7 +25,7 @@
#include <gtk/gtk.h>
#include <libmate-desktop/mate-desktop-item.h>
-#include <libslab/app-shell.h>
+#include "app-shell.h"
#ifdef __cplusplus
extern "C" {
diff --git a/libslab/slab.h b/libslab/slab.h
index cacf7a9c..b4ecb87c 100644
--- a/libslab/slab.h
+++ b/libslab/slab.h
@@ -22,24 +22,24 @@
#ifndef __SLAB_H__
#define __SLAB_H__
-#include <libslab/app-resizer.h>
-#include <libslab/app-shell.h>
-#include <libslab/application-tile.h>
-#include <libslab/bookmark-agent.h>
-#include <libslab/directory-tile.h>
-#include <libslab/document-tile.h>
-#include <libslab/double-click-detector.h>
-#include <libslab/mate-utils.h>
-#include <libslab/libslab-utils.h>
-#include <libslab/nameplate-tile.h>
-#include <libslab/search-bar.h>
-#include <libslab/search-context-picker.h>
-#include <libslab/search-entry.h>
-#include <libslab/shell-window.h>
-#include <libslab/slab-mate-util.h>
-#include <libslab/slab-section.h>
-#include <libslab/system-tile.h>
-#include <libslab/tile.h>
+#include "app-resizer.h"
+#include "app-shell.h"
+#include "application-tile.h"
+#include "bookmark-agent.h"
+#include "directory-tile.h"
+#include "document-tile.h"
+#include "double-click-detector.h"
+#include "mate-utils.h"
+#include "libslab-utils.h"
+#include "nameplate-tile.h"
+#include "search-bar.h"
+#include "search-context-picker.h"
+#include "search-entry.h"
+#include "shell-window.h"
+#include "slab-mate-util.h"
+#include "slab-section.h"
+#include "system-tile.h"
+#include "tile.h"
#endif /* __SLAB_H__ */
diff --git a/libslab/system-tile.h b/libslab/system-tile.h
index 71f11654..f08e7c73 100644
--- a/libslab/system-tile.h
+++ b/libslab/system-tile.h
@@ -21,7 +21,7 @@
#ifndef __SYSTEM_TILE_H__
#define __SYSTEM_TILE_H__
-#include <libslab/nameplate-tile.h>
+#include "nameplate-tile.h"
#include <libmate-desktop/mate-desktop-item.h>
diff --git a/shell/Makefile.am b/shell/Makefile.am
index fcc95531..ea502fd7 100644
--- a/shell/Makefile.am
+++ b/shell/Makefile.am
@@ -1,5 +1,5 @@
REAL_LIBSLAB_CFLAGS = -I$(top_srcdir)/libslab
-REAL_LIBSLAB_LIBS = $(top_builddir)/libslab/libslab.la
+REAL_LIBSLAB_LIBS = $(top_builddir)/libslab/libmate-slab.la
AM_CPPFLAGS = \
-I$(top_srcdir) \