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 /media-libs/sg/files |
reinit the tree, so we can have metadata
Diffstat (limited to 'media-libs/sg/files')
-rw-r--r-- | media-libs/sg/files/1.4-doc.patch | 20 | ||||
-rw-r--r-- | media-libs/sg/files/1.4-opengl.patch | 98 |
2 files changed, 118 insertions, 0 deletions
diff --git a/media-libs/sg/files/1.4-doc.patch b/media-libs/sg/files/1.4-doc.patch new file mode 100644 index 000000000000..cfc1b21b20cb --- /dev/null +++ b/media-libs/sg/files/1.4-doc.patch @@ -0,0 +1,20 @@ +diff --git a/doc/doxygen/Makefile.am b/doc/doxygen/Makefile.am +index 3ee562c..7f424e8 100644 +--- a/doc/doxygen/Makefile.am ++++ b/doc/doxygen/Makefile.am +@@ -29,13 +29,11 @@ + ## Author: Michael Holst + ## ########################################################################### + +-docdir = @prefix@/doc/sg +- + doc_DATA = sg_doc + + sg_doc: + $(doxygen_path) $(top_srcdir)/doc/doxygen/sg.dox + + install-docDATA: +- mkdir -p $(docdir) +- cp -r ../api $(docdir)/ ++ mkdir -p $(DESTDIR)/@docdir@ ++ cp -r ../api $(DESTDIR)/@docdir@/ diff --git a/media-libs/sg/files/1.4-opengl.patch b/media-libs/sg/files/1.4-opengl.patch new file mode 100644 index 000000000000..f6b32cf1d286 --- /dev/null +++ b/media-libs/sg/files/1.4-opengl.patch @@ -0,0 +1,98 @@ +diff --git a/configure.ac b/configure.ac +index 68ff24a..a2cd6b5 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -844,9 +844,6 @@ AC_OUTPUT([ + + src/base/Makefile + +- src/gl/Makefile +- src/glu/Makefile +- src/glw/Makefile + src/ogl/Makefile + src/vgl/Makefile + +diff --git a/src/Makefile.am b/src/Makefile.am +index ad9562f..7d5173c 100644 +--- a/src/Makefile.am ++++ b/src/Makefile.am +@@ -35,5 +35,5 @@ + AUTOMAKE_OPTIONS = no-dependencies + SUFFIXES = .y .l .H .h .m .C .cc .c .f .java .o + always_built_SUBDIRS = ogl vgl +-SUBDIRS = base @gl@ @glu@ @glw@ $(always_built_SUBDIRS) aaa_inc aaa_lib . ++SUBDIRS = base $(always_built_SUBDIRS) aaa_inc aaa_lib . + +diff --git a/src/aaa_inc/GL/Makefile.am b/src/aaa_inc/GL/Makefile.am +index 10efb6b..0d5b8b7 100644 +--- a/src/aaa_inc/GL/Makefile.am ++++ b/src/aaa_inc/GL/Makefile.am +@@ -37,27 +37,6 @@ SUFFIXES = .y .l .H .h .m .C .cc .c .f .java .o + always_built_SUBDIRS = + SUBDIRS = $(always_built_SUBDIRS) . + +-if BUILD_GL +-GL_HEADS = gl.h glx.h osmesa.h wmesa.h xmesa.h +-else +-GL_HEADS = +-endif +- +-if BUILD_GLU +-GLU_HEADS = glu.h +-else +-GLU_HEADS = +-endif +- +-if BUILD_GLW +-GLW_HEADS = GLwDrawA.h +-else +-GLW_HEADS = +-endif +- +-includedir = ${prefix}/include/GL +-include_HEADERS = ${GL_HEADS} ${GLU_HEADS} ${GLW_HEADS} +- + distclean-local: clean-local + + clean-local: +diff --git a/src/aaa_lib/Makefile.am b/src/aaa_lib/Makefile.am +index bb93779..0512c45 100644 +--- a/src/aaa_lib/Makefile.am ++++ b/src/aaa_lib/Makefile.am +@@ -41,32 +41,16 @@ BASE_LIBS = ../base/libbase.la + OGL_LIBS = ../ogl/libogl.la + VGL_LIBS = ../vgl/libvgl.la + +-GL_LIBS = ../gl/libGL.la +-if BUILD_GL +-LIBGL = libGL.la +-else +-LIBGL = +-endif ++GL_LIBS = ${libdir}/libGL.la + +-GLU_LIBS = ../glu/libGLU.la +-if BUILD_GLU +-LIBGLU = libGLU.la +-else +-LIBGLU = +-endif ++GLU_LIBS = ${libdir}/libGLU.la + +-GLW_LIBS = ../glw/libGLw.la +-if BUILD_GLW +-LIBGLW = libGLw.la +-else +-LIBGLW = +-endif ++GLW_LIBS = ${libdir}/libGLw.la + +-libdir = ${prefix}/lib + lib_LTLIBRARIES = libsg.la ${LIBGL} ${LIBGLU} ${LIBGLW} + + libsg_la_SOURCES = +-libsg_la_LIBADD = ${BASE_LIBS} ${OGL_LIBS} ${VGL_LIBS} ++libsg_la_LIBADD = ${BASE_LIBS} ${OGL_LIBS} ${VGL_LIBS} -lGL -lGLU -lGLw -lXm -lmaloc -lXaw + libsg_la_LDFLAGS = -version-info ${FETK_VERSION} + + libGL_la_SOURCES = |