1
0
mirror of https://github.com/gryf/wmaker.git synced 2026-01-04 12:54:20 +01:00

added support fo generating pkgconfig files for WINGs, wrlib and wmlib ("Marcelo E. Magallon" <mmagallo@debian.org>)

This commit is contained in:
dan
2003-04-18 01:15:07 +00:00
parent f06c9a1953
commit b0063c83c7
5 changed files with 61 additions and 0 deletions

View File

@@ -78,6 +78,8 @@ Changes since version 0.80.2:
- Fixed the problem with the root menu code changing the locale setting as - Fixed the problem with the root menu code changing the locale setting as
a side effect of loading a localized menu a side effect of loading a localized menu
- Fixed e memory leak in the code that reads a localized root menu - Fixed e memory leak in the code that reads a localized root menu
- Added support for generating pkgconfig files for WINGS, wmlib and wrlib.
("Marcelo E. Magallon" <mmagallo@debian.org>)
Changes since version 0.80.1: Changes since version 0.80.1:

View File

@@ -115,3 +115,15 @@ INCLUDES = -I$(top_srcdir)/WINGs/WINGs -I$(top_srcdir)/wrlib -I$(top_srcdir)/src
wcolorpanel.o: wcolorpanel.c wcolorpanel.o: wcolorpanel.c
$(COMPILE) -c -DRGBTXT="\"@X_LIBRARY_PATH@/X11/rgb.txt\"" $< $(COMPILE) -c -DRGBTXT="\"@X_LIBRARY_PATH@/X11/rgb.txt\"" $<
DISTCLEANFILES = WINGs.pc
install-exec-local:
@$(NORMAL_INSTALL)
$(mkinstalldirs) $(DESTDIR)$(libdir)/pkgconfig
@list='WINGs.pc'; for p in $$list; do \
if test -f $$p; then \
echo "$(INSTALL_DATA) $$p $(DESTDIR)$(libdir)/pkgconfig/"; \
$(INSTALL_DATA) $$p $(DESTDIR)$(libdir)/pkgconfig/; \
else :; fi; \
done

View File

@@ -917,6 +917,14 @@ done
EOF EOF
cat <<EOF > wrlib/wrlib.pc
Name: wrlib
Description: Image manipulation and conversion library
Version: $VERSION
Libs: $lib_search_path -lwraster $GFXLIBS $XLIBS -lm
Cflags: $inc_search_path
EOF
cat <<EOF >get-wings-flags cat <<EOF >get-wings-flags
#!/bin/sh #!/bin/sh
@@ -953,6 +961,15 @@ done
EOF EOF
cat <<EOF > WINGs/WINGs.pc
Name: WINGs
Description: Small widget set with the NeXTStep(TM) look and feel
Version: $VERSION
Requires: wrlib
Libs: $lib_search_path -lWINGs $XFTLIBS $XLIBS -lm $NETLIBS $INTLIBS
Cflags: $inc_search_path
EOF
cat <<EOF >get-wutil-flags cat <<EOF >get-wutil-flags
#!/bin/sh #!/bin/sh
@@ -989,6 +1006,15 @@ done
EOF EOF
cat <<EOF > wmlib/wmlib.pc
Name: wmlib
Description: FIXME: What do I write here?
Version: $VERSION
Requires: wrlib
Libs: $lib_search_path -lWUtil $NETLIBS $INTLIBS
Cflags: $inc_search_path
EOF
sed 's/#lp#/[/g' get-wraster-flags | sed 's/#rp#/]/g' > wrlib/get-wraster-flags sed 's/#lp#/[/g' get-wraster-flags | sed 's/#rp#/]/g' > wrlib/get-wraster-flags
sed 's/#lp#/[/g' get-wings-flags | sed 's/#rp#/]/g' > WINGs/get-wings-flags sed 's/#lp#/[/g' get-wings-flags | sed 's/#rp#/]/g' > WINGs/get-wings-flags
sed 's/#lp#/[/g' get-wutil-flags | sed 's/#rp#/]/g' > WINGs/get-wutil-flags sed 's/#lp#/[/g' get-wutil-flags | sed 's/#rp#/]/g' > WINGs/get-wutil-flags

View File

@@ -15,3 +15,14 @@ libWMaker_a_SOURCES = \
app.h \ app.h \
menu.h menu.h
DISTCLEANFILES = wmlib.pc
install-exec-local:
@$(NORMAL_INSTALL)
$(mkinstalldirs) $(DESTDIR)$(libdir)/pkgconfig
@list='wmlib.pc'; for p in $$list; do \
if test -f $$p; then \
echo "$(INSTALL_DATA) $$p $(DESTDIR)$(libdir)/pkgconfig/"; \
$(INSTALL_DATA) $$p $(DESTDIR)$(libdir)/pkgconfig/; \
else :; fi; \
done

View File

@@ -79,4 +79,14 @@ testdraw_LDADD = $(LIBLIST)
libwraster_la_LIBADD = @ALLOCA@ @LIBRARY_SEARCH_PATH@ @GFXLIBS@ @XLIBS@ -lm libwraster_la_LIBADD = @ALLOCA@ @LIBRARY_SEARCH_PATH@ @GFXLIBS@ @XLIBS@ -lm
DISTCLEANFILES = wrlib.pc
install-exec-local:
@$(NORMAL_INSTALL)
$(mkinstalldirs) $(DESTDIR)$(libdir)/pkgconfig
@list='wrlib.pc'; for p in $$list; do \
if test -f $$p; then \
echo "$(INSTALL_DATA) $$p $(DESTDIR)$(libdir)/pkgconfig/"; \
$(INSTALL_DATA) $$p $(DESTDIR)$(libdir)/pkgconfig/; \
else :; fi; \
done