Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:16.0:FactoryCandidates
gtkd
fix-build.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File fix-build.patch of Package gtkd
--- GtkD.orig/GNUmakefile 2019-08-20 22:45:13.082933343 +0200 +++ GtkD/GNUmakefile 2019-08-20 22:34:17.669488557 +0200 @@ -73,6 +73,8 @@ endif endif +ADRDOX?=doc2 + ####################################################################### GTKD_VERSION=3.9.0 @@ -123,12 +125,12 @@ USE_RUNTIME_LINKER = $(shell grep "Linker" generated/gtkd/atk/c/functions.d) ifeq ($(USE_RUNTIME_LINKER),) - SOFLAGS_GTKD = $(shell ${PKG_CONFIG} --libs gtk+-3.0 librsvg-2.0 | sed 's/-[lL]/$(LINKERFLAG)&/g') - SOFLAGS_GTKDGL = $(LINKERFLAG)-L. $(LINKERFLAG)./libgtkd-$(MAJOR).$(SO_POSTFIX) $(shell ${PKG_CONFIG} --libs gtkglext-3.0 | sed 's/-[lL]/$(LINKERFLAG)&/g') - SOFLAGS_GTKDSV = $(LINKERFLAG)-L. $(LINKERFLAG)./libgtkd-$(MAJOR).$(SO_POSTFIX) $(shell ${PKG_CONFIG} --libs gtksourceview-3.0 | sed 's/-[lL]/$(LINKERFLAG)&/g') - SOFLAGS_GSTREAMERD = $(LINKERFLAG)-L. $(LINKERFLAG)./libgtkd-$(MAJOR).$(SO_POSTFIX) $(shell ${PKG_CONFIG} --libs gstreamer-base-1.0 | sed 's/-[lL]/$(LINKERFLAG)&/g') - SOFLAGS_VTED = $(LINKERFLAG)-L. $(LINKERFLAG)./libgtkd-$(MAJOR).$(SO_POSTFIX) $(shell ${PKG_CONFIG} --libs vte-2.91 | sed 's/-[lL]/$(LINKERFLAG)&/g') - SOFLAGS_PEASD = $(LINKERFLAG)-L. $(LINKERFLAG)./libgtkd-$(MAJOR).$(SO_POSTFIX) $(shell ${PKG_CONFIG} --libs-only-l libpeas-1.0 | sed 's/-[lL]/$(LINKERFLAG)&/g') + SOFLAGS_GTKD = $(shell ${PKG_CONFIG} --libs-only-l --libs-only-L gtk+-3.0 librsvg-2.0 gmodule-2.0 | sed 's/-[lL]/$(LINKERFLAG)&/g') + SOFLAGS_GTKDGL = $(LINKERFLAG)-L. $(LINKERFLAG)./libgtkd-$(MAJOR).$(SO_POSTFIX) $(shell ${PKG_CONFIG} --libs-only-l --libs-only-L gtkglext-3.0 | sed 's/-[lL]/$(LINKERFLAG)&/g') + SOFLAGS_GTKDSV = $(LINKERFLAG)-L. $(LINKERFLAG)./libgtkd-$(MAJOR).$(SO_POSTFIX) $(shell ${PKG_CONFIG} --libs-only-l --libs-only-L gtksourceview-3.0 | sed 's/-[lL]/$(LINKERFLAG)&/g') + SOFLAGS_GSTREAMERD = $(LINKERFLAG)-L. $(LINKERFLAG)./libgtkd-$(MAJOR).$(SO_POSTFIX) $(shell ${PKG_CONFIG} --libs-only-l --libs-only-L gstreamer-base-1.0 | sed 's/-[lL]/$(LINKERFLAG)&/g') + SOFLAGS_VTED = $(LINKERFLAG)-L. $(LINKERFLAG)./libgtkd-$(MAJOR).$(SO_POSTFIX) $(shell ${PKG_CONFIG} --libs-only-l --libs-only-L vte-2.91 | sed 's/-[lL]/$(LINKERFLAG)&/g') + SOFLAGS_PEASD = $(LINKERFLAG)-L. $(LINKERFLAG)./libgtkd-$(MAJOR).$(SO_POSTFIX) $(shell ${PKG_CONFIG} --libs-only-l --libs-only-L libpeas-1.0 | sed -e 's/-[lL]/$(LINKERFLAG)&/g') endif ####################################################################### @@ -154,6 +156,14 @@ ####################################################################### +.PHONY: docs +docs: + $(ADRDOX) --genSearchIndex --skeleton=docs/adrdox/skeleton.html --directory=docs/api/ --special-preprocessor=gtk generated/ + cp -f docs/adrdox/style.css docs/api/ + cp -f docs/adrdox/Logo.png docs/api/ + +####################################################################### + # -Isrc ifeq ("$(OS)","Darwin") @@ -280,41 +290,42 @@ echo Version: $(GTKD_VERSION) >> $@ echo Libs: $(LINKERFLAG)-L$(prefix)/$(libdir)/ $(LINKERFLAG)-lgtkd-$(MAJOR) $(LINKERFLAG)-ldl >> $@ echo Cflags: -I$(prefix)/include/d/gtkd-$(MAJOR)/ >> $@ + echo Requires: gtk+-3.0, gdk-3.0, atk, pango, cairo, cairo-gobject, pangocairo, librsvg-2.0, gio-2.0, glib-2.0, gobject-2.0 >> $@ gtkdgl-$(MAJOR).pc: echo Name: GtkDGL > $@ echo Description: OpenGL capabilities for GtkD. >> $@ echo Version: $(GTKD_VERSION) >> $@ echo Libs: $(LINKERFLAG)-lgtkdgl-$(MAJOR) >> $@ - echo Requires: gtkd-$(MAJOR) >> $@ + echo Requires: gtkd-$(MAJOR), gtkglext-1.0 >> $@ gtkdsv-$(MAJOR).pc: echo Name: GtkD SourceView > $@ echo Description: A D binding and OO wrapper for GtkSourceView. >> $@ echo Version: $(GTKD_VERSION) >> $@ echo Libs: $(LINKERFLAG)-lgtkdsv-$(MAJOR) >> $@ - echo Requires: gtkd-$(MAJOR) >> $@ + echo Requires: gtkd-$(MAJOR), gtksourceview-3.0 >> $@ gstreamerd-$(MAJOR).pc: echo Name: GstreamerD > $@ echo Description: A D binding and OO wrapper for Gstreamer. >> $@ echo Version: $(GTKD_VERSION) >> $@ echo Libs: $(LINKERFLAG)-lgstreamerd-$(MAJOR) >> $@ - echo Requires: gtkd-$(MAJOR) >> $@ + echo Requires: gtkd-$(MAJOR), gstreamer-1.0, gstreamer-base-1.0 >> $@ vted-$(MAJOR).pc: echo Name: VteD > $@ echo Description: A D binding and OO wrapper for Vte. >> $@ echo Version: $(GTKD_VERSION) >> $@ echo Libs: $(LINKERFLAG)-lvted-$(MAJOR) >> $@ - echo Requires: gtkd-$(MAJOR) >> $@ + echo Requires: gtkd-$(MAJOR), vte-2.91 >> $@ peasd-$(MAJOR).pc: echo Name: PeasD > $@ echo Description: A D binding and OO wrapper for Peas. >> $@ echo Version: $(GTKD_VERSION) >> $@ echo Libs: $(LINKERFLAG)-lpeasd-$(MAJOR) >> $@ - echo Requires: gtkd-$(MAJOR) >> $@ + echo Requires: gtkd-$(MAJOR), libpeas-1.0, libpeas-gtk-1.0 >> $@ ####################################################################### @@ -368,33 +379,33 @@ install-headers-gtkd: gtkd-$(MAJOR).pc install -d $(DESTDIR)$(prefix)/include/d/gtkd-$(MAJOR) - install -d $(DESTDIR)$(libdir)/pkgconfig + install -d $(DESTDIR)$(prefix)/$(libdir)/pkgconfig (cd generated/gtkd; echo $(SOURCES_GTKD) | sed -e s,generated/gtkd/,,g | xargs tar cf -) | (cd $(DESTDIR)$(prefix)/include/d/gtkd-$(MAJOR); tar xvf -) - install -m 644 gtkd-$(MAJOR).pc $(DESTDIR)$(libdir)/pkgconfig + install -m 644 gtkd-$(MAJOR).pc $(DESTDIR)$(prefix)/$(libdir)/pkgconfig install-headers-gtkdgl: gtkdgl-$(MAJOR).pc install-headers-gtkd (cd generated/gtkdgl; echo $(SOURCES_GTKDGL) | sed -e s,generated/gtkdgl/,,g | xargs tar cf -) | (cd $(DESTDIR)$(prefix)/include/d/gtkd-$(MAJOR); tar xvf -) - install -m 644 gtkdgl-$(MAJOR).pc $(DESTDIR)$(libdir)/pkgconfig + install -m 644 gtkdgl-$(MAJOR).pc $(DESTDIR)$(prefix)/$(libdir)/pkgconfig install-headers-gtkdsv: gtkdsv-$(MAJOR).pc install-headers-gtkd (cd generated/sourceview; echo $(SOURCES_GTKDSV) | sed -e s,generated/sourceview/,,g | xargs tar cf -) | (cd $(DESTDIR)$(prefix)/include/d/gtkd-$(MAJOR); tar xvf -) - install -m 644 gtkdsv-$(MAJOR).pc $(DESTDIR)$(libdir)/pkgconfig + install -m 644 gtkdsv-$(MAJOR).pc $(DESTDIR)$(prefix)/$(libdir)/pkgconfig install-headers-gstreamer: gstreamerd-$(MAJOR).pc install-headers-gtkd (cd generated/gstreamer; echo $(SOURCES_GSTREAMERD) | sed -e s,generated/gstreamer/,,g | xargs tar cf -) | (cd $(DESTDIR)$(prefix)/include/d/gtkd-$(MAJOR); tar xvf -) - install -m 644 gstreamerd-$(MAJOR).pc $(DESTDIR)$(libdir)/pkgconfig + install -m 644 gstreamerd-$(MAJOR).pc $(DESTDIR)$(prefix)/$(libdir)/pkgconfig install-headers-vte: vted-$(MAJOR).pc install-headers-gtkd (cd generated/vte; echo $(SOURCES_VTED) | sed -e s,generated/vte/,,g | xargs tar cf -) | (cd $(DESTDIR)$(prefix)/include/d/gtkd-$(MAJOR); tar xvf -) - install -m 644 vted-$(MAJOR).pc $(DESTDIR)$(libdir)/pkgconfig + install -m 644 vted-$(MAJOR).pc $(DESTDIR)$(prefix)/$(libdir)/pkgconfig install-headers-peas: peasd-$(MAJOR).pc install-headers-gtkd (cd generated/peas; echo $(SOURCES_PEASD) | sed -e s,generated/peas/,,g | xargs tar cf -) | (cd $(DESTDIR)$(prefix)/include/d/gtkd-$(MAJOR); tar xvf -) - install -m 644 peasd-$(MAJOR).pc $(DESTDIR)$(libdir)/pkgconfig + install -m 644 peasd-$(MAJOR).pc $(DESTDIR)$(prefix)/$(libdir)/pkgconfig uninstall: uninstall-gtkdgl uninstall-gtkdsv uninstall-gstreamer uninstall-vte uninstall-peas $(foreach dir,$(shell ls generated/gtkd) , rm -rf $(DESTDIR)$(prefix)/include/d/gtkd-$(MAJOR)/$(dir)) - rm -f $(DESTDIR)$(libdir)/pkgconfig/gtkd-$(MAJOR).pc + rm -f $(DESTDIR)$(prefix)/$(libdir)/pkgconfig/gtkd-$(MAJOR).pc rm -f $(DESTDIR)$(prefix)/$(libdir)/$(LIBNAME_GTKD) rm -f $(DESTDIR)$(prefix)/$(libdir)/$(SONAME_GTKD) rm -f $(DESTDIR)$(prefix)/$(libdir)/$(SONAME_GTKD).$(SO_VERSION) @@ -402,7 +413,7 @@ uninstall-gtkdgl: $(foreach dir,$(shell ls generated/gtkdgl), rm -rf $(DESTDIR)$(prefix)/include/d/gtkd-$(MAJOR)/$(dir)) - rm -f $(DESTDIR)$(libdir)/pkgconfig/gtkdgl-$(MAJOR).pc + rm -f $(DESTDIR)$(prefix)/$(libdir)/pkgconfig/gtkdgl-$(MAJOR).pc rm -f $(DESTDIR)$(prefix)/$(libdir)/$(LIBNAME_GTKDGL) rm -f $(DESTDIR)$(prefix)/$(libdir)/$(SONAME_GTKDGL) rm -f $(DESTDIR)$(prefix)/$(libdir)/$(SONAME_GTKDGL).$(SO_VERSION) @@ -410,7 +421,7 @@ uninstall-gtkdsv: $(foreach dir,$(shell ls generated/sourceview), rm -rf $(DESTDIR)$(prefix)/include/d/$(dir)) - rm -f $(DESTDIR)$(libdir)/pkgconfig/gtkdsv-$(MAJOR).pc + rm -f $(DESTDIR)$(prefix)/$(libdir)/pkgconfig/gtkdsv-$(MAJOR).pc rm -f $(DESTDIR)$(prefix)/$(libdir)/$(LIBNAME_GTKDSV) rm -f $(DESTDIR)$(prefix)/$(libdir)/$(SONAME_GTKDSV) rm -f $(DESTDIR)$(prefix)/$(libdir)/$(SONAME_GTKDSV).$(SO_VERSION) @@ -418,7 +429,7 @@ uninstall-gstreamer: $(foreach dir,$(shell ls generated/gstreamer), rm -rf $(DESTDIR)$(prefix)/include/d/gtkd-$(MAJOR)/$(dir)) - rm -f $(DESTDIR)$(libdir)/pkgconfig/gstreamerd-$(MAJOR).pc + rm -f $(DESTDIR)$(prefix)/$(libdir)/pkgconfig/gstreamerd-$(MAJOR).pc rm -f $(DESTDIR)$(prefix)/$(libdir)/$(LIBNAME_GSTREAMERD) rm -f $(DESTDIR)$(prefix)/$(libdir)/$(SONAME_GSTREAMERD) rm -f $(DESTDIR)$(prefix)/$(libdir)/$(SONAME_GSTREAMERD).$(SO_VERSION) @@ -426,7 +437,7 @@ uninstall-vte: $(foreach dir,$(shell ls generated/vte), rm -rf $(DESTDIR)$(prefix)/include/d/gtkd-$(MAJOR)/$(dir)) - rm -f $(DESTDIR)$(libdir)/pkgconfig/vted-$(MAJOR).pc + rm -f $(DESTDIR)$(prefix)/$(libdir)/pkgconfig/vted-$(MAJOR).pc rm -f $(DESTDIR)$(prefix)/$(libdir)/$(LIBNAME_VTED) rm -f $(DESTDIR)$(prefix)/$(libdir)/$(SONAME_VTED) rm -f $(DESTDIR)$(prefix)/$(libdir)/$(SONAME_VTED).$(SO_VERSION) @@ -434,7 +445,7 @@ uninstall-peas: $(foreach dir,$(shell ls generated/peas), rm -rf $(DESTDIR)$(prefix)/include/d/gtkd-$(MAJOR)/$(dir)) - rm -f $(DESTDIR)$(libdir)/pkgconfig/peasd-$(MAJOR).pc + rm -f $(DESTDIR)$(prefix)/$(libdir)/pkgconfig/peasd-$(MAJOR).pc rm -f $(DESTDIR)$(prefix)/$(libdir)/$(LIBNAME_PEASD) rm -f $(DESTDIR)$(prefix)/$(libdir)/$(SONAME_PEASD) rm -f $(DESTDIR)$(prefix)/$(libdir)/$(SONAME_PEASD).$(SO_VERSION)
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor