Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-gpu
Commits
b49b25bb
Commit
b49b25bb
authored
May 29, 2010
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Contribs: update to libebml 0.8.0
Remove 2 patches applied upstream, add another one :)
parent
9efe5bff
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
19 additions
and
65 deletions
+19
-65
extras/contrib/src/Makefile
extras/contrib/src/Makefile
+2
-7
extras/contrib/src/Patches/libebml-svn-win32.patch
extras/contrib/src/Patches/libebml-svn-win32.patch
+0
-41
extras/contrib/src/Patches/libebml-win32.patch
extras/contrib/src/Patches/libebml-win32.patch
+12
-0
extras/contrib/src/Patches/libebml-win64.patch
extras/contrib/src/Patches/libebml-win64.patch
+0
-12
extras/contrib/src/packages.mak
extras/contrib/src/packages.mak
+5
-5
No files found.
extras/contrib/src/Makefile
View file @
b49b25bb
...
...
@@ -980,16 +980,11 @@ libebml-$(LIBEBML_VERSION).tar.bz2:
libebml
:
libebml-$(LIBEBML_VERSION).tar.bz2
$(EXTRACT_BZ2)
ifdef
HAVE_WIN32
(
cd
$@
;
patch
-p0
< ../Patches/libebml-svn-win32.patch
)
endif
ifdef
HAVE_WIN64
patch
-p0
< Patches/libebml-win64.patch
endif
patch
-p0
< Patches/libebml-win32.patch
.ebml
:
libebml
ifdef
HAVE_WIN32
(
cd
$<
;
make
-C
make/mingw32
prefix
=
$(PREFIX)
$(HOSTCC
2)
CFLAGS
=
"
$(CFLAGS)
-DWIN32"
SHARED
=
no
&&
make
-C
make/linux install_staticlib install_headers
prefix
=
$(PREFIX)
$(HOSTCC2
)
)
(
cd
$<
;
make
-C
make/mingw32
prefix
=
$(PREFIX)
$(HOSTCC
)
CFLAGS
=
"
$(CFLAGS)
-DWIN32"
SHARED
=
no
&&
make
-C
make/linux install_staticlib install_headers
prefix
=
$(PREFIX)
$(HOSTCC
)
)
else
(
cd
$<
;
make
-C
make/linux
prefix
=
$(PREFIX)
$(HOSTCC2)
staticlib
&&
make
-C
make/linux install_staticlib install_headers
prefix
=
$(PREFIX)
)
$(RANLIB)
$(PREFIX)
/lib/libebml.a
...
...
extras/contrib/src/Patches/libebml-svn-win32.patch
deleted
100644 → 0
View file @
9efe5bff
Index: make/linux/Makefile
===================================================================
--- make/linux/Makefile (revision 1206)
+++ make/linux/Makefile (working copy)
@@ -36,9 +36,9 @@
DEBUGFLAGS=-g -DDEBUG
endif
-ifneq (,$(shell $(CXX) -v 2>&1 | tail -n 1 | grep -i mingw))
-$(error Please use the Makefile in ../mingw32)
-endif
+#ifneq (,$(shell $(CXX) -v 2>&1 | tail -n 1 | grep -i mingw))
+#$(error Please use the Makefile in ../mingw32)
+#endif
CWD=$(shell pwd)
Index: make/mingw32/Makefile
===================================================================
--- make/mingw32/Makefile (revision 1206)
+++ make/mingw32/Makefile (working copy)
@@ -19,6 +19,8 @@
CXX = g++.exe
CC = gcc.exe
WINDRES = windres.exe
+AR = ar rcvu
+RANLIB = ranlib
RES =
SRC = $(wildcard ../../src/*.cpp)
OBJ = $(patsubst %.cpp,%.o,$(SRC))
@@ -47,8 +49,8 @@
rm -f .depend
libebml.a: $(OBJ)
- ar r $@ $(OBJ)
- ranlib $@
+ $(AR) $@ $(OBJ)
+ $(RANLIB) $@
libebml.dll: $(OBJ)
$(CXX) -shared -Wl,--export-all -Wl,--out-implib=$@.a -o $@ $(OBJ)
extras/contrib/src/Patches/libebml-win32.patch
0 → 100644
View file @
b49b25bb
diff -ruN libebml/make/mingw32/Makefile libebml.new/make/mingw32/Makefile
--- libebml/make/mingw32/Makefile 2010-04-11 18:36:50.000000000 +0200
+++ libebml.new/make/mingw32/Makefile 2010-05-29 14:26:07.000000000 +0200
@@ -50,7 +50,7 @@
rm -f .depend
libebml.a: $(OBJ)
- $(AR) r $@ $(OBJ)
+ $(AR) rcvu $@ $(OBJ)
$(RANLIB) $@
libebml.dll: $(OBJ)
extras/contrib/src/Patches/libebml-win64.patch
deleted
100644 → 0
View file @
9efe5bff
diff -ruN libebml/ebml/EbmlCrc32.h libebml.new/ebml/EbmlCrc32.h
--- libebml/ebml/EbmlCrc32.h 2009-08-19 00:48:35.000000000 +0200
+++ libebml.new/ebml/EbmlCrc32.h 2009-08-19 00:49:35.000000000 +0200
@@ -143,7 +143,7 @@
inline bool IsAlignedOn(const void *p, unsigned int alignment)
{
- return IsPowerOf2(alignment) ? ModPowerOf2((unsigned long)p, alignment) == 0 : (unsigned long)p % alignment == 0;
+ return IsPowerOf2(alignment) ? ModPowerOf2((uintptr_t)p, alignment) == 0 : (uintptr_t)p % alignment == 0;
}
template <class T>
extras/contrib/src/packages.mak
View file @
b49b25bb
...
...
@@ -90,12 +90,12 @@ FAAD2_URL=$(SF)/faac/faad2-$(FAAD2_VERSION).tar.gz
FAAD2_CVSROOT
=
:pserver:anonymous@cvs.audiocoding.com:/cvsroot/faac
LAME_VERSION
=
3.98.4
LAME_URL
=
$(SF)
/lame/lame-
$(LAME_VERSION)
.tar.gz
LIBEBML_VERSION
=
0.
7.8
#
LIBEBML_URL=http://dl.matroska.org/downloads/libebml/libebml-$(LIBEBML_VERSION).tar.bz2
LIBEBML_URL
=
$(CONTRIB_VIDEOLAN)
/libebml-
$(LIBEBML_VERSION)
.tar.bz2
LIBEBML_VERSION
=
0.
8.0
LIBEBML_URL
=
http://dl.matroska.org/downloads/libebml/libebml-
$(LIBEBML_VERSION)
.tar.bz2
#
LIBEBML_URL=$(CONTRIB_VIDEOLAN)/libebml-$(LIBEBML_VERSION).tar.bz2
LIBMATROSKA_VERSION
=
0.8.1
#
LIBMATROSKA_URL=http://dl.matroska.org/downloads/libmatroska/libmatroska-$(LIBMATROSKA_VERSION).tar.bz2
L
IBMATROSKA_URL
=
$(CONTRIB_VIDEOLAN)
/libmatroska-
$(LIBMATROSKA_VERSION)
.tar.bz2
LIBMATROSKA_URL
=
http://dl.matroska.org/downloads/libmatroska/libmatroska-
$(LIBMATROSKA_VERSION)
.tar.bz2
#
IBMATROSKA_URL=$(CONTRIB_VIDEOLAN)/libmatroska-$(LIBMATROSKA_VERSION).tar.bz2
FFMPEG_VERSION
=
0.4.8
FFMPEG_URL
=
$(SF)
/ffmpeg/ffmpeg-
$(FFMPEG_VERSION)
.tar.gz
FFMPEG_SVN
=
svn://svn.ffmpeg.org/ffmpeg/trunk
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment