From 9a2f8998e247e43b63e64a20fdee6320ecfc356d Mon Sep 17 00:00:00 2001 From: stefan11111 Date: Sat, 6 Jan 2024 15:34:51 +0200 Subject: Add files via upload --- Makefile | 27 +++++++++++++++++++++++++++ README.md | 3 +++ libdbus-glib-1.c | 3 +++ 3 files changed, 33 insertions(+) create mode 100644 Makefile create mode 100644 README.md create mode 100644 libdbus-glib-1.c diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..9c5cef6 --- /dev/null +++ b/Makefile @@ -0,0 +1,27 @@ +.POSIX: + +XCFLAGS = ${CPPFLAGS} ${CFLAGS} -nostdlib -std=c99 -fPIC -Wall -Wno-pedantic +XLDFLAGS = ${LDFLAGS} -shared -Wl + +all: libdbus-glib-1.so.2 + +.c.o: + ${CC} ${XCFLAGS} -c -o $@ $< + +libdbus-glib-1.so.2: + ${CC} ${XCFLAGS} libdbus-glib-1.c -o libdbus-glib-1.so.2 ${XLDFLAGS},-soname,libdbus-glib-1.so.2 + +install: libdbus-glib-1.so.2 + mkdir -p ${DESTDIR}/usr/lib64 + cp -f libdbus-glib-1.so.2 ${DESTDIR}/usr/lib64 +# mkdir -p ${DESTDIR}/usr/lib64/pkgconfig +# cp -f pc/* ${DESTDIR}/usr/lib64/pkgconfig +# mkdir -p ${DESTDIR}/usr/include/gtk-2.0/gtk +# cp -rf headers/* ${DESTDIR}/usr/include/gtk-2.0 +uninstall: + rm -f ${DESTDIR}/usr/lib64/libdbus-glib-1.so.2 + +clean: + rm -f libdbus-glib-1.so.2 + +.PHONY: all clean install uninstall diff --git a/README.md b/README.md new file mode 100644 index 0000000..0f8f769 --- /dev/null +++ b/README.md @@ -0,0 +1,3 @@ +# fake-gtk2 +placeholder gtk2 shared libraries and headers +The main purpose of this repo is to get palemoon to build without gtk2. diff --git a/libdbus-glib-1.c b/libdbus-glib-1.c new file mode 100644 index 0000000..d919ac3 --- /dev/null +++ b/libdbus-glib-1.c @@ -0,0 +1,3 @@ +void dbus_connection_setup_with_g_main() +{ +} -- cgit v1.2.3