summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile27
-rw-r--r--README.md3
-rw-r--r--libdbus-glib-1.c3
3 files changed, 33 insertions, 0 deletions
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()
+{
+}