FreeBSD Bugzilla – Attachment 207619 Details for
Bug 240680
print/fontforge: FIx timeout when starting fontforge without a GUI
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
v1
ports.print.fontfore.uifix.diff (text/plain), 1.94 KB, created by
Niclas Zeising
on 2019-09-19 08:35:26 UTC
(
hide
)
Description:
v1
Filename:
MIME Type:
Creator:
Niclas Zeising
Created:
2019-09-19 08:35:26 UTC
Size:
1.94 KB
patch
obsolete
>Index: print/fontforge/Makefile >=================================================================== >--- print/fontforge/Makefile (revision 512320) >+++ print/fontforge/Makefile (working copy) >@@ -3,7 +3,7 @@ > > PORTNAME= fontforge > PORTVERSION= 20190801 >-PORTREVISION= 1 >+PORTREVISION= 2 > CATEGORIES= print > > MAINTAINER= cyberbotx@cyberbotx.com >Index: print/fontforge/files/patch-fontforgeexe_startui.c >=================================================================== >--- print/fontforge/files/patch-fontforgeexe_startui.c (nonexistent) >+++ print/fontforge/files/patch-fontforgeexe_startui.c (working copy) >@@ -0,0 +1,25 @@ >+--- fontforgeexe/startui.c.orig 2019-08-01 08:28:36 UTC >++++ fontforgeexe/startui.c >+@@ -1099,10 +1099,6 @@ int fontforge_main( int argc, char **argv ) { >+ CheckIsScript(argc,argv); /* Will run the script and exit if it is a script */ >+ /* If there is no UI, there is always a script */ >+ /* and we will never return from the above */ >+-#ifdef FONTFORGE_CAN_USE_GDK >+- gdk_init(&argc, &argv); >+- gdk_set_allowed_backends("win32,quartz,x11"); >+-#endif >+ if ( load_prefs==NULL || >+ (strcasecmp(load_prefs,"Always")!=0 && /* Already loaded */ >+ strcasecmp(load_prefs,"Never")!=0 )) >+@@ -1185,7 +1181,10 @@ int fontforge_main( int argc, char **argv ) { >+ } >+ #endif >+ } >+- >++#ifdef FONTFORGE_CAN_USE_GDK >++ gdk_init(&argc, &argv); >++ gdk_set_allowed_backends("win32,quartz,x11"); >++#endif >+ ensureDotFontForgeIsSetup(); >+ #if defined(__MINGW32__) && !defined(_NO_LIBCAIRO) >+ //Load any custom fonts for the user interface > >Property changes on: print/fontforge/files/patch-fontforgeexe_startui.c >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 240680
: 207619