OpenSDE Packages Database (without history before r20070)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

130 lines
4.7 KiB

  1. # --- T2-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # T2 SDE: package/.../avifile/system-ffmpeg.patch
  5. # Copyright (C) 2004 - 2006 The T2 SDE Project
  6. #
  7. # More information can be found in the files COPYING and README.
  8. #
  9. # This patch file is dual-licensed. It is available under the license the
  10. # patched project is licensed under, as long as it is an OpenSource license
  11. # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
  12. # of the GNU General Public License as published by the Free Software
  13. # Foundation; either version 2 of the License, or (at your option) any later
  14. # version.
  15. # --- T2-COPYRIGHT-NOTE-END ---
  16. diff -ur avifile-0.6/Makefile.am avifile-0.6-fixed/Makefile.am
  17. --- avifile-0.6/Makefile.am 2000-01-01 00:00:00.000000000 +0100
  18. +++ avifile-0.6-fixed/Makefile.am 2005-10-26 11:28:21.000000000 +0200
  19. @@ -1,4 +1,4 @@
  20. -SUBDIRS = . admin m4 ffmpeg drivers lib plugins bin \
  21. +SUBDIRS = . admin m4 drivers lib plugins bin \
  22. doc include debian libavqt player samples
  23. EXTRA_DIST = INSTALL autogen.sh avifile.spec.in avifile.pc.in \
  24. diff -ur avifile-0.6/lib/Makefile.am avifile-0.6-fixed/lib/Makefile.am
  25. --- avifile-0.6/lib/Makefile.am 2000-01-01 00:00:00.000000000 +0100
  26. +++ avifile-0.6-fixed/lib/Makefile.am 2005-10-26 12:07:58.000000000 +0200
  27. @@ -2,9 +2,9 @@
  28. noinst_HEADERS = Uncompressed.h
  29. COMMONCFLAGS = $(DIVX4_CFLAGS) $(XVID_CFLAGS) -DPLUGIN_PATH=\"$(pkglibdir)\" \
  30. - -I$(srcdir)/../ffmpeg/libavcodec \
  31. - -I$(srcdir)/../ffmpeg/libavformat \
  32. - -I$(srcdir)/../ffmpeg/libavutil
  33. + -I/usr/include/ffmpeg \
  34. + -I/usr/include/ffmpeg \
  35. + -I/usr/include/ffmpeg
  36. if AMM_USE_FAST_BUILD
  37. AVISOURCES = libaviplay.cpp
  38. AVILIBADD =
  39. diff -ur avifile-0.6/plugins/Makefile.am avifile-0.6-fixed/plugins/Makefile.am
  40. --- avifile-0.6/plugins/Makefile.am 2000-01-01 00:00:00.000000000 +0100
  41. +++ avifile-0.6-fixed/plugins/Makefile.am 2005-10-26 12:07:58.000000000 +0200
  42. @@ -20,7 +20,7 @@
  43. AM_CPPFLAGS = -Ilibac3pass -Ilibwin32 -Ilibwin32/audiodec \
  44. -Ilibwin32/videocodec -Ilibwin32/loader \
  45. - -Ilibwin32/loader/dshow -I../ffmpeg/libavcodec \
  46. + -Ilibwin32/loader/dshow -I/usr/include/ffmpeg \
  47. -DWIN32_PATH=\"$(WIN32_PATH)\" -D__WINE__ -DUNICODE \
  48. -Ddbg_printf=__vprintf -DTRACE=__vprintf \
  49. -Wmissing-prototypes -Wimplicit-function-declaration \
  50. diff -ur avifile-0.6/plugins/libffmpeg/Makefile.am avifile-0.6-fixed/plugins/libffmpeg/Makefile.am
  51. --- avifile-0.6/plugins/libffmpeg/Makefile.am 2000-01-01 00:00:00.000000000 +0100
  52. +++ avifile-0.6-fixed/plugins/libffmpeg/Makefile.am 2005-10-26 12:07:58.000000000 +0200
  53. @@ -18,10 +18,10 @@
  54. #KPROF_LIBS = -L/var/tmp/kprof/lib -lkprof
  55. #INSTRUMENT = -finstrument-functions
  56. AM_CPPFLAGS = $(LTNOPIC) $(INSTRUMENT) \
  57. - -I$(srcdir)/../../ffmpeg/libavcodec \
  58. - -I$(srcdir)/../../ffmpeg/libavformat \
  59. - -I$(srcdir)/../../ffmpeg/libavutil \
  60. - -I$(srcdir)/../../ffmpeg
  61. + -I/usr/include/ffmpeg \
  62. + -I/usr/include/ffmpeg \
  63. + -I/usr/include/ffmpeg \
  64. + -I/usr/include/ffmpeg
  65. AM_CXXFLAGS = $(CXXRTTIEXCEPT)
  66. TEST_LIBS = ../../lib/libaviplay.la $(pkglib_LTLIBRARIES) $(SDL_LIBS) $(MPATROL_LIBS) $(EFENCE_LIBS) $(KPROF_LIBS)
  67. --- ./configure.in 2005-10-26 12:32:57.000000000 +0200
  68. +++ ./configure.in 2005-10-26 12:41:18.000000000 +0200
  69. @@ -1002,26 +1002,11 @@
  70. AC_SUBST(AVIFILE_BUILD)
  71. dnl mpglib/Makefile
  72. -dnl ffmpeg/libavfilter/Makefile
  73. dnl libpp/Makefile
  74. AC_OUTPUT(
  75. Makefile
  76. admin/Makefile
  77. - ffmpeg/Makefile
  78. - ffmpeg/libavformat/Makefile
  79. - ffmpeg/libavcodec/Makefile
  80. - ffmpeg/libavcodec/alpha/Makefile
  81. - ffmpeg/libavcodec/armv4l/Makefile
  82. - ffmpeg/libavcodec/i386/Makefile
  83. - ffmpeg/libavcodec/liba52/Makefile
  84. - ffmpeg/libavcodec/libpostproc/Makefile
  85. - ffmpeg/libavcodec/mlib/Makefile
  86. - ffmpeg/libavcodec/ppc/Makefile
  87. - ffmpeg/libavcodec/ps2/Makefile
  88. - ffmpeg/libavcodec/sh4/Makefile
  89. - ffmpeg/libavcodec/sparc/Makefile
  90. - ffmpeg/libavutil/Makefile
  91. drivers/Makefile
  92. drivers/libdha/Makefile
  93. drivers/libdha/bin/Makefile
  94. --- ./lib/aviread/Makefile.am.orig 2000-01-01 00:00:00.000000000 +0100
  95. +++ ./lib/aviread/Makefile.am 2005-10-26 12:53:36.000000000 +0200
  96. @@ -43,24 +43,14 @@
  97. StreamInfo.cpp
  98. -if AMM_LINK_SHARED
  99. -FF_LIB = \
  100. - ../../ffmpeg/libavformat/libaviplayavformat.la \
  101. - ../../ffmpeg/libavcodec/libaviplayavcodec.la \
  102. - ../../ffmpeg/libavutil/libaviplayavutil.la
  103. -else
  104. -FF_LIB = \
  105. - ../../ffmpeg/libavformat/libavformat.la \
  106. - ../../ffmpeg/libavcodec/libavcodec.la \
  107. - ../../ffmpeg/libavutil/libavutil.la
  108. -endif
  109. +FF_LIB =
  110. libaviread_la_LIBADD = $(FF_LIB)
  111. AM_CPPFLAGS = $(LTNOPIC) \
  112. -I$(srcdir)/../common \
  113. - -I$(srcdir)/../../ffmpeg/libavformat \
  114. - -I$(srcdir)/../../ffmpeg/libavcodec \
  115. - -I$(srcdir)/../../ffmpeg/libavutil
  116. + -I/usr/include/ffmpeg \
  117. + -I/usr/include/ffmpeg \
  118. + -I/usr/include/ffmpeg
  119. MAINTAINERCLEANFILES = Makefile.in