From faae8b4f2fe9c7c522fe1a27037b6ebb88516f91 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rodolfo=20Garc=C3=ADa=20Pe=C3=B1as=20=28kix=29?= Date: Sat, 15 Aug 2015 10:38:18 +0200 Subject: [PATCH] Include libwmgeneral in libdockapp MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This patch includes the libwmgeneral library in the libdockapp library. The new library is now version 3 (previous was version 2) and it includes the new include folder in $libdir/libdockapp. The wmgeneral files were moved from the previous folder (libwmgeneral) and the folder is now removed. Signed-off-by: Rodolfo García Peñas (kix) --- libdockapp/configure.ac | 2 +- libdockapp/src/Makefile.am | 13 +++++-- {libwmgeneral => libdockapp/src}/list.c | 0 {libwmgeneral => libdockapp/src}/list.h | 0 {libwmgeneral => libdockapp/src}/misc.c | 0 {libwmgeneral => libdockapp/src}/misc.h | 0 {libwmgeneral => libdockapp/src}/wmgeneral.c | 0 {libwmgeneral => libdockapp/src}/wmgeneral.h | 0 libwmgeneral/Makefile | 37 -------------------- 9 files changed, 11 insertions(+), 41 deletions(-) rename {libwmgeneral => libdockapp/src}/list.c (100%) rename {libwmgeneral => libdockapp/src}/list.h (100%) rename {libwmgeneral => libdockapp/src}/misc.c (100%) rename {libwmgeneral => libdockapp/src}/misc.h (100%) rename {libwmgeneral => libdockapp/src}/wmgeneral.c (100%) rename {libwmgeneral => libdockapp/src}/wmgeneral.h (100%) delete mode 100644 libwmgeneral/Makefile diff --git a/libdockapp/configure.ac b/libdockapp/configure.ac index e08afc6..70158aa 100644 --- a/libdockapp/configure.ac +++ b/libdockapp/configure.ac @@ -1,4 +1,4 @@ -AC_INIT([libdockapp],[0.6.4],[wmaker-dev@lists.windowmaker.org]) +AC_INIT([libdockapp],[0.7.0],[wmaker-dev@lists.windowmaker.org]) AC_CONFIG_SRCDIR([src/dockapp.h]) AM_INIT_AUTOMAKE diff --git a/libdockapp/src/Makefile.am b/libdockapp/src/Makefile.am index 2be42bd..5196001 100644 --- a/libdockapp/src/Makefile.am +++ b/libdockapp/src/Makefile.am @@ -3,9 +3,13 @@ AUTOMAKE_OPTIONS = no-dependencies lib_LTLIBRARIES = libdockapp.la -libdockapp_la_LDFLAGS = -version-info 2:0:0 @X_LIBS@ +libdockapp_la_LDFLAGS = -version-info 3:0:0 @X_LIBS@ -include_HEADERS = dockapp.h +otherincludedir = $(includedir)/libdockapp +otherinclude_HEADERS = dockapp.h \ + wmgeneral.h \ + list.h \ + misc.h libdockapp_la_SOURCES = \ dockapp.h \ @@ -17,7 +21,10 @@ libdockapp_la_SOURCES = \ dapixmap.c \ darect.c \ dashaped.c \ - dautil.c + dautil.c \ + list.c \ + misc.c \ + wmgeneral.c # Include these in a distribution, but don't install noinst_HEADERS = daargs.h dautil.h diff --git a/libwmgeneral/list.c b/libdockapp/src/list.c similarity index 100% rename from libwmgeneral/list.c rename to libdockapp/src/list.c diff --git a/libwmgeneral/list.h b/libdockapp/src/list.h similarity index 100% rename from libwmgeneral/list.h rename to libdockapp/src/list.h diff --git a/libwmgeneral/misc.c b/libdockapp/src/misc.c similarity index 100% rename from libwmgeneral/misc.c rename to libdockapp/src/misc.c diff --git a/libwmgeneral/misc.h b/libdockapp/src/misc.h similarity index 100% rename from libwmgeneral/misc.h rename to libdockapp/src/misc.h diff --git a/libwmgeneral/wmgeneral.c b/libdockapp/src/wmgeneral.c similarity index 100% rename from libwmgeneral/wmgeneral.c rename to libdockapp/src/wmgeneral.c diff --git a/libwmgeneral/wmgeneral.h b/libdockapp/src/wmgeneral.h similarity index 100% rename from libwmgeneral/wmgeneral.h rename to libdockapp/src/wmgeneral.h diff --git a/libwmgeneral/Makefile b/libwmgeneral/Makefile deleted file mode 100644 index d52a335..0000000 --- a/libwmgeneral/Makefile +++ /dev/null @@ -1,37 +0,0 @@ -PREFIX = /usr/local -DESTDIR = $(PREFIX)/lib -INCDIR = $(PREFIX)/include/wmgeneral -LIBDIR = -L/usr/X11R6/lib -LIBS = -lXpm -lXext -lX11 -TARGET = libwmgeneral.so -OBJECTS = wmgeneral.o \ - misc.o \ - list.o -HEADERS = wmgeneral.h \ - list.h \ - misc.h - -INSTALL = install -INSTALL_LIB = $(INSTALL) - -CFLAGS = -O2 -c -Wall -Werror -fpic -LDFLAGS = -shared -CC = cc - -.c.o:: - $(CC) $(CFLAGS) $< -o $*.o - -$(TARGET):: $(OBJECTS) - $(CC) $(LDFLAGS) -o $(TARGET) $(OBJECTS) - -clean:: - for i in $(OBJECTS) ; do \ - rm -f $$i;\ - done - rm -f $(TARGET) - -install:: $(TARGET) - $(INSTALL) -d $(DESTDIR) - $(INSTALL) -m 644 $(TARGET) $(DESTDIR) - $(INSTALL) -d $(INCDIR) - $(INSTALL) -m 644 $(HEADERS) $(INCDIR)