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
389082af
Commit
389082af
authored
Aug 13, 2009
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Contribs: Don't patch libass, but patch fontconfig for xml
parent
3ecb268c
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
21 additions
and
33 deletions
+21
-33
extras/contrib/src/Makefile
extras/contrib/src/Makefile
+0
-3
extras/contrib/src/Patches/fontconfig-noxml2.patch
extras/contrib/src/Patches/fontconfig-noxml2.patch
+21
-17
extras/contrib/src/Patches/libass-win32.patch
extras/contrib/src/Patches/libass-win32.patch
+0
-13
No files found.
extras/contrib/src/Makefile
View file @
389082af
...
...
@@ -2510,9 +2510,6 @@ libass-$(ASS_VERSION).tar.bz2:
libass
:
$(GIT)
clone
$(ASS_GIT)
ifdef
HAVE_WIN32
(
cd
$@
;
patch
-p1
< ../Patches/libass-win32.patch
)
endif
(
cd
$@
;
autoreconf
-ivf
)
.libass
:
libass
...
...
extras/contrib/src/Patches/fontconfig-noxml2.patch
View file @
389082af
diff -ruN fontconfig.new/src/fcinit.c fontconfig/src/fcinit.c
--- fontconfig.new/src/fcinit.c 2009-07-25 21:55:10.000000000 +0200
+++ fontconfig/src/fcinit.c 2009-07-25 21:58:05.000000000 +0200
@@ -68,7 +68,8 @@
if (!config)
return FcFalse;
- if (!FcConfigParseAndLoad (config, 0, FcTrue))
+// if (!FcConfigParseAndLoad (config, 0, FcTrue))
+ if (1)
{
FcConfigDestroy (config);
return FcInitFallbackConfig ();
diff -ruN fontconfig.new/src/fcxml.c fontconfig/src/fcxml.c
--- fontconfig.new/src/fcxml.c 2009-07-25 21:55:10.000000000 +0200
+++ fontconfig/src/fcxml.c 2009-07-25 21:56:37.000000000 +0200
--- fontconfig/src/fcxml.c 2009-08-13 16:07:13.000000000 +0200
+++ fontconfig.new/src/fcxml.c 2009-08-13 16:05:41.000000000 +0200
@@ -23,6 +23,8 @@
*/
...
...
@@ -57,7 +43,25 @@ diff -ruN fontconfig.new/src/fcxml.c fontconfig/src/fcxml.c
typedef enum _FcElement {
FcElementNone,
FcElementFontconfig,
@@ -2589,3 +2595,4 @@
@@ -2373,6 +2379,7 @@
const FcChar8 *bs = *((FcChar8 **) b);
return FcStrCmp (as, bs);
}
+#endif
static FcBool
FcConfigParseAndLoadDir (FcConfig *config,
@@ -2380,6 +2387,9 @@
const FcChar8 *dir,
FcBool complain)
{
+ return FcFalse;
+}
+#if 0
DIR *d;
struct dirent *e;
FcBool ret = FcTrue;
@@ -2589,3 +2599,4 @@
#define __fcxml__
#include "fcaliastail.h"
#undef __fcxml__
...
...
extras/contrib/src/Patches/libass-win32.patch
deleted
100644 → 0
View file @
3ecb268c
diff --git a/libass/ass_fontconfig.c b/libass/ass_fontconfig.c
index 006be97..a4a680f 100644
--- a/libass/ass_fontconfig.c
+++ b/libass/ass_fontconfig.c
@@ -449,7 +449,7 @@
FCInstance *fontconfig_init(ASS_Library *library,
}
priv->config = FcConfigCreate();
- rc = FcConfigParseAndLoad(priv->config, (unsigned char *) config, FcTrue);
+ rc = 0;//FcConfigParseAndLoad(priv->config, (unsigned char *) config, FcTrue);
if (!rc) {
ass_msg(library, MSGL_WARN, "No usable fontconfig configuration "
"file found, using fallback.");
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