diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /x11-themes/gtk-chtheme/files |
reinit the tree, so we can have metadata
Diffstat (limited to 'x11-themes/gtk-chtheme/files')
3 files changed, 48 insertions, 0 deletions
diff --git a/x11-themes/gtk-chtheme/files/gtk-chtheme-0.3.1-asneeded.patch b/x11-themes/gtk-chtheme/files/gtk-chtheme-0.3.1-asneeded.patch new file mode 100644 index 000000000000..8cceb98a7565 --- /dev/null +++ b/x11-themes/gtk-chtheme/files/gtk-chtheme-0.3.1-asneeded.patch @@ -0,0 +1,24 @@ +# LDFLAGS is for linker flags, not libraries +# Fixes issue with forced --as-needed +# +# https://bugs.gentoo.org/show_bug.cgi?id=248655 +--- a/Makefile 2009-02-26 00:43:54.000000000 +0100 ++++ b/Makefile 2009-02-26 00:43:32.000000000 +0100 +@@ -2,7 +2,7 @@ + + CFLAGS := $(if $(RPM_OPT_FLAGS), $(RPM_OPT_FLAGS), $(CFLAGS)) + +-LDFLAGS = $(shell pkg-config --libs gtk+-2.0) ++LIBS = $(shell pkg-config --libs gtk+-2.0) + CFLAGS += -Wall + CFLAGS += $(shell pkg-config --cflags gtk+-2.0) -DGTK_DISABLE_BROKEN + CFLAGS += -DPROJNAME='"$(PROJNAME)"' -DVERSION='"$(VERSION)"' +@@ -17,7 +17,7 @@ + all: $(EXENAME) $(EXENAME).1 + + $(EXENAME): $(addsuffix .o, $(SRC)) +- $(CC) $(LDFLAGS) $^ -o $@ ++ $(CC) $(LDFLAGS) $^ $(LIBS) -o $@ + + $(EXENAME).1: $(EXENAME).pod + pod2man $< | sed 's/^\.TH .*/.TH $(EXENAME) 1/' > $@ diff --git a/x11-themes/gtk-chtheme/files/gtk-chtheme-0.3.1-implicit.patch b/x11-themes/gtk-chtheme/files/gtk-chtheme-0.3.1-implicit.patch new file mode 100644 index 000000000000..7d9f18cc6b55 --- /dev/null +++ b/x11-themes/gtk-chtheme/files/gtk-chtheme-0.3.1-implicit.patch @@ -0,0 +1,12 @@ +diff -aur gtk-chtheme-0.3.1-orig/Makefile gtk-chtheme-0.3.1/Makefile +--- gtk-chtheme-0.3.1-orig/Makefile 2004-02-09 12:08:41.000000000 -0500 ++++ gtk-chtheme-0.3.1/Makefile 2008-06-27 12:19:02.000000000 -0400 +@@ -4,7 +4,7 @@ + + LDFLAGS = $(shell pkg-config --libs gtk+-2.0) + CFLAGS += -Wall +-CFLAGS += $(shell pkg-config --cflags gtk+-2.0) -DGTK_DISABLE_BROKEN -DGTK_DISABLE_DEPRECATED ++CFLAGS += $(shell pkg-config --cflags gtk+-2.0) -DGTK_DISABLE_BROKEN + CFLAGS += -DPROJNAME='"$(PROJNAME)"' -DVERSION='"$(VERSION)"' + CPPFLAGS = + CXXFLAGS = diff --git a/x11-themes/gtk-chtheme/files/gtk-chtheme-0.3.1-qgtkstyle.patch b/x11-themes/gtk-chtheme/files/gtk-chtheme-0.3.1-qgtkstyle.patch new file mode 100644 index 000000000000..b6c2b7a03551 --- /dev/null +++ b/x11-themes/gtk-chtheme/files/gtk-chtheme-0.3.1-qgtkstyle.patch @@ -0,0 +1,12 @@ +# Make gtk-chtheme work with qgtkstyle +# https://bugs.gentoo.org/show_bug.cgi?id=250504 +--- a/main.c 2004-02-09 06:33:28.000000000 +0200 ++++ b/main.c 2008-12-10 12:47:42.000000000 +0200 +@@ -97,6 +97,7 @@ + fprintf(gtkrc_fh, "gtk-font-name=\"%s\"\n\n", font); + } + ++ fprintf(gtkrc_fh, "gtk-theme-name = \"%s\"\n\n", themename); + fprintf(gtkrc_fh, "include \"%s/.gtkrc.mine\"\n\n", getenv("HOME")); + fprintf(gtkrc_fh, "# -- THEME AUTO-WRITTEN DO NOT EDIT\n"); + fclose(gtkrc_fh); |