Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
daf7b179
Commit
daf7b179
authored
Oct 13, 2008
by
Jean-Paul Saman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(contrib) Building zvbi for windows with dynamic pthreadsGC2 dll
parent
612f4f1c
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
25 additions
and
5 deletions
+25
-5
extras/contrib/src/Distributions/win32.mak
extras/contrib/src/Distributions/win32.mak
+1
-1
extras/contrib/src/Makefile
extras/contrib/src/Makefile
+6
-2
extras/contrib/src/Patches/zvbi-makefile.patch
extras/contrib/src/Patches/zvbi-makefile.patch
+16
-0
extras/package/win32/configure-common.sh
extras/package/win32/configure-common.sh
+2
-2
No files found.
extras/contrib/src/Distributions/win32.mak
View file @
daf7b179
...
@@ -6,6 +6,6 @@ all: .iconv .intl .freetype .fribidi .zlib \
...
@@ -6,6 +6,6 @@ all: .iconv .intl .freetype .fribidi .zlib \
.png .gpg-error .gcrypt .gnutls .mpcdec
\
.png .gpg-error .gcrypt .gnutls .mpcdec
\
.dvdnav .dvbpsi .qt4_win32 .schroedinger .SDL_image
\
.dvdnav .dvbpsi .qt4_win32 .schroedinger .SDL_image
\
.dx_headers .dshow_headers .gecko-win32 .dca
\
.dx_headers .dshow_headers .gecko-win32 .dca
\
.lua .tag .fontconfig .portaudio .kate .libass
\
.lua .tag .fontconfig .portaudio .kate .libass
.zvbi
\
.aclocal
.aclocal
# .daap .cddb .cdio .vcdimager
# .daap .cddb .cdio .vcdimager
extras/contrib/src/Makefile
View file @
daf7b179
...
@@ -1761,7 +1761,7 @@ zvbi-$(ZVBI_VERSION).tar.bz2:
...
@@ -1761,7 +1761,7 @@ zvbi-$(ZVBI_VERSION).tar.bz2:
zvbi
:
zvbi-$(ZVBI_VERSION).tar.bz2
zvbi
:
zvbi-$(ZVBI_VERSION).tar.bz2
$(EXTRACT_BZ2)
$(EXTRACT_BZ2)
ifdef
HAVE_WIN32
ifdef
HAVE_WIN32
(
cd
$@
;
patch
-p1
< ../Patches/zvbi-win32.patch
;
autoreconf
)
(
cd
$@
;
patch
-p1
< ../Patches/zvbi-win32.patch
;
patch
-p1
< ../Patches/zvbi-makefile.patch
;
autoreconf
)
endif
endif
ifdef
HAVE_WIN32
ifdef
HAVE_WIN32
...
@@ -1771,8 +1771,12 @@ else
...
@@ -1771,8 +1771,12 @@ else
endif
endif
ifdef
HAVE_DARWIN_OS
ifdef
HAVE_DARWIN_OS
(
cd
$<
;
./configure
$(HOSTCONF)
--prefix
=
$(PREFIX)
CFLAGS
=
"
$(CFLAGS)
-fnested-functions"
&&
make
&&
make
install
)
(
cd
$<
;
./configure
$(HOSTCONF)
--prefix
=
$(PREFIX)
CFLAGS
=
"
$(CFLAGS)
-fnested-functions"
&&
make
&&
make
install
)
else
ifdef
HAVE_WIN32
(
cd
$<
;
./configure
$(HOSTCONF)
--prefix
=
$(PREFIX)
CFLAGS
=
"
$(CFLAGS)
--std=gnu99"
LIBS
=
"-lpthreadGC2"
&&
make
&&
make
install
)
else
else
(
cd
$<
;
./configure
$(HOSTCONF)
--prefix
=
$(PREFIX)
CFLAGS
=
"
$(CFLAGS)
"
&&
make
-C
src
&&
make
-C
src
install
)
(
cd
$<
;
./configure
$(HOSTCONF)
--prefix
=
$(PREFIX)
CFLAGS
=
"
$(CFLAGS)
"
&&
make
-C
src
&&
make
-C
src
install
)
endif
endif
endif
$(INSTALL_NAME)
$(INSTALL_NAME)
touch
$@
touch
$@
...
@@ -2362,7 +2366,7 @@ pthreads: pthreads-w32-$(PTHREADS_VERSION)-release.tar.gz
...
@@ -2362,7 +2366,7 @@ pthreads: pthreads-w32-$(PTHREADS_VERSION)-release.tar.gz
$(EXTRACT_GZ)
$(EXTRACT_GZ)
.pthreads
:
pthreads
.pthreads
:
pthreads
(
cd
$<
;
$(HOSTCC)
make
$(PTHREADSCONF)
GC
-static
&&
mkdir
-p
$(PREFIX)
/include
&&
cp
-v
pthread.h sched.h semaphore.h
$(PREFIX)
/include/
&&
mkdir
-p
$(PREFIX)
/lib
&&
cp
-v
*
.a
$(PREFIX)
/lib/
)
(
cd
$<
;
$(HOSTCC)
make
$(PTHREADSCONF)
GC
GC-static
&&
mkdir
-p
$(PREFIX)
/include
&&
cp
-v
pthread.h sched.h semaphore.h
$(PREFIX)
/include/
&&
mkdir
-p
$(PREFIX)
/lib
&&
cp
-v
*
.
{
a,dll
}
$(PREFIX)
/lib/
)
$(INSTALL_NAME)
$(INSTALL_NAME)
touch
$@
touch
$@
...
...
extras/contrib/src/Patches/zvbi-makefile.patch
0 → 100644
View file @
daf7b179
--- zvbi/Makefile.am.orig 2008-10-14 08:51:32.000000000 +0200
+++ zvbi/Makefile.am 2008-10-14 08:51:47.000000000 +0200
@@ -19,13 +19,7 @@
DISTCLEANFILES = site_def.h
# Attn order matters.
SUBDIRS = \
m4 \
- src \
- $(proxy_dirs) \
- contrib \
- examples \
- test \
- po \
- doc
+ src
ACLOCAL_AMFLAGS = -I m4
extras/package/win32/configure-common.sh
View file @
daf7b179
...
@@ -17,7 +17,7 @@
...
@@ -17,7 +17,7 @@
--enable-dca
\
--enable-dca
\
--enable-libass
\
--enable-libass
\
--enable-x264
\
--enable-x264
\
--
disable-zvbi
--en
able-telx
\
--
enable-zvbi
--dis
able-telx
\
--enable-dvdread
--with-dvdnav-config-path
=
/usr/win32/bin
\
--enable-dvdread
--with-dvdnav-config-path
=
/usr/win32/bin
\
--enable-shout
\
--enable-shout
\
--enable-goom
\
--enable-goom
\
...
@@ -25,7 +25,7 @@
...
@@ -25,7 +25,7 @@
--enable-portaudio
\
--enable-portaudio
\
--enable-sdl
--with-sdl-config-path
=
/usr/win32/bin
\
--enable-sdl
--with-sdl-config-path
=
/usr/win32/bin
\
--enable-qt4
\
--enable-qt4
\
--
enable-wxwidgets
--with-wx-config-path
=
/usr/win32/lib/wx/config
\
--
disable-wxwidgets
\
--with-freetype-config-path
=
/usr/win32/bin
\
--with-freetype-config-path
=
/usr/win32/bin
\
--with-fribidi-config-path
=
/usr/win32/bin
\
--with-fribidi-config-path
=
/usr/win32/bin
\
--with-xml2-config-path
=
/usr/win32/bin
\
--with-xml2-config-path
=
/usr/win32/bin
\
...
...
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