summaryrefslogtreecommitdiffstats
path: root/x11-toolkits/xenophilia/files/patch-aa
diff options
context:
space:
mode:
Diffstat (limited to 'x11-toolkits/xenophilia/files/patch-aa')
-rw-r--r--x11-toolkits/xenophilia/files/patch-aa55
1 files changed, 33 insertions, 22 deletions
diff --git a/x11-toolkits/xenophilia/files/patch-aa b/x11-toolkits/xenophilia/files/patch-aa
index 0722e50..1501d39 100644
--- a/x11-toolkits/xenophilia/files/patch-aa
+++ b/x11-toolkits/xenophilia/files/patch-aa
@@ -1,6 +1,6 @@
---- Makefile.orig Fri Mar 10 20:37:18 2000
-+++ Makefile Thu Jun 1 11:18:35 2000
-@@ -4,12 +4,12 @@
+--- Makefile.orig Sun Dec 10 00:22:37 2000
++++ Makefile Mon Jan 8 02:45:58 2001
+@@ -4,12 +4,13 @@
# Edit the entries below for your system:
# In most cases you don't have to
@@ -13,46 +13,57 @@
-CFLAGS = `gtk-config --cflags`
-LIBS = `gtk-config --libs`
+CC ?= gcc
-+CFLAGS += `$(GTK_CONFIG) --cflags` -fPIC -DPIC
-+LIBS += `$(GTK_CONFIG) --libs`
++GTK_CFLAGS != $(GTK_CONFIG) --cflags
++CFLAGS += $(GTK_CFLAGS) -fPIC -DPIC
++LIBS != $(GTK_CONFIG) --libs
#Use these for FreeBSD:
#PREFIX = `gtk12-config --prefix`
-@@ -27,8 +27,8 @@
- DATA_PATH = $(PREFIX)/share/themes
+@@ -28,8 +29,8 @@
- OBJECTS = xeno_theme_draw.o xeno_theme_main.o xeno_theme_patches.o xeno_theme_color.o
--SONAME = libxeno.so.0.4
+ OBJECTS = xeno_theme_main.o xeno_theme_patches.o xeno_theme_draw.o xeno_theme_color.o \
+ xeno_theme_images.o
+-SONAME = libxeno.so.0.5
-SHORTNAME = libxeno.so.0
+SONAME = libxeno.so
+SHORTNAME = libxeno.so
TINYNAME = libxeno.so
- OLDNAME = libxeno.so.0.3
+ OLDNAME = libxeno.so.0.4
-@@ -37,14 +37,20 @@
+@@ -38,19 +39,25 @@
$(LINK) $(GTKLIBS) $(OBJECTS) -shared -Wl,-soname,$(SHORTNAME) -o $(SONAME)
install-libs: $(SONAME)
+- install -d $(LIB_PATH)
- chmod 755 $(SONAME)
-- cp $(SONAME) $(LIB_PATH)
+- cp -fdp $(SONAME) $(LIB_PATH)
- ln -fs $(SONAME) $(LIB_PATH)/$(SHORTNAME)
- ln -fs $(SONAME) $(LIB_PATH)/$(TINYNAME)
++# install -d $(LIB_PATH)
+# chmod 755 $(SONAME)
-+# cp $(SONAME) $(LIB_PATH)
++# cp -fdp $(SONAME) $(LIB_PATH)
+# ln -fs $(SONAME) $(LIB_PATH)/$(SHORTNAME)
+# ln -fs $(SONAME) $(LIB_PATH)/$(TINYNAME)
+ $(BSD_INSTALL_PROGRAM) $(SONAME) $(LIB_PATH)/$(SONAME)
install-data:
-- cp -fR Xenophilia $(DATA_PATH)
-- cp -fR XenoThin $(DATA_PATH)
+- cp -fdpR themes/Xenophilia $(DATA_PATH)
+- cp -fdpR "themes/Xeno Thin" $(DATA_PATH)
+- cp -fdpR "themes/Xeno Gradient" $(DATA_PATH)
+- cp -fdpR "themes/Xeno Helix" $(DATA_PATH)
+- cp -fdpR "themes/Xeno Buffed" $(DATA_PATH)
+- ln -fs ../Xenophilia/README.html "$(DATA_PATH)/Xeno Thin/README.html"
+ mkdir -p $(DATA_PATH)/Xenophilia/gtk
-+ mkdir -p $(DATA_PATH)/XenoThin/gtk
-+ cd Xenophilia && \
-+ $(BSD_INSTALL_DATA) README.html arrows.png buds.png buttons.png \
-+ dimple.png holes.png lines.png xeno.css $(DATA_PATH)/Xenophilia/ && \
-+ $(BSD_INSTALL_DATA) gtk/gtkrc $(DATA_PATH)/Xenophilia/gtk/
-+ $(BSD_INSTALL_DATA) XenoThin/gtk/gtkrc $(DATA_PATH)/XenoThin/gtk/
- ln -fs ../Xenophilia/README.html $(DATA_PATH)/XenoThin/README.html
++ cd themes/Xenophilia ; \
++ $(BSD_INSTALL_DATA) README.html arrows.png buds.png buttons.png \
++ dimple.png holes.png lines.png xeno.css $(DATA_PATH)/Xenophilia/ ; \
++ $(BSD_INSTALL_DATA) gtk/gtkrc $(DATA_PATH)/Xenophilia/gtk
++ for dir in "Xeno Thin" "Xeno Gradient" "Xeno Helix" "Xeno Buffed"; do \
++ target_dir=$(DATA_PATH)/`echo $${dir} | sed 's| ||'`/gtk ; \
++ mkdir -p $${target_dir} ; \
++ $(BSD_INSTALL_DATA) "themes/$${dir}/gtk/gtkrc" $${target_dir} ; \
++ ln -fs ../Xenophilia/README.html $${target_dir}/../ ; \
++ done
install-fonts:
+ cp -fdp fonts/infernal-120.pcf.gz $(FONTDIR)/infernal-120.pcf.gz
OpenPOWER on IntegriCloud