* [PATCH] gnu: grub: Add patch to fix new version of freetype
@ 2015-03-05 8:17 Tomáš Čech
2015-03-05 23:47 ` Ludovic Courtès
0 siblings, 1 reply; 4+ messages in thread
From: Tomáš Čech @ 2015-03-05 8:17 UTC (permalink / raw)
To: guix-devel
* gnu/packages/patches/grub-freetype.patch: New file.
* gnu-system.am (dist_patch_DATA): Add the patch.
* gnu/packages/grub.scm (grub): Apply new patch.
---
gnu-system.am | 1 +
gnu/packages/grub.scm | 3 ++-
gnu/packages/patches/grub-freetype.patch | 24 ++++++++++++++++++++++++
3 files changed, 27 insertions(+), 1 deletion(-)
create mode 100644 gnu/packages/patches/grub-freetype.patch
diff --git a/gnu-system.am b/gnu-system.am
index 0497fe1..a9679fd 100644
--- a/gnu-system.am
+++ b/gnu-system.am
@@ -414,6 +414,7 @@ dist_patch_DATA = \
gnu/packages/patches/gobject-introspection-cc.patch \
gnu/packages/patches/gobject-introspection-girepository.patch \
gnu/packages/patches/grub-gets-undeclared.patch \
+ gnu/packages/patches/grub-freetype.patch \
gnu/packages/patches/gstreamer-0.10-bison3.patch \
gnu/packages/patches/gstreamer-0.10-silly-test.patch \
gnu/packages/patches/guile-1.8-cpp-4.5.patch \
diff --git a/gnu/packages/grub.scm b/gnu/packages/grub.scm
index 5504f38..b1da394 100644
--- a/gnu/packages/grub.scm
+++ b/gnu/packages/grub.scm
@@ -79,7 +79,8 @@
(sha256
(base32
"0n64hpmsccvicagvr0c6v0kgp2yw0kgnd3jvsyd26cnwgs7c6kkq"))
- (patches (list (search-patch "grub-gets-undeclared.patch")))))
+ (patches (list (search-patch "grub-gets-undeclared.patch")
+ (search-patch "grub-freetype.patch")))))
(build-system gnu-build-system)
(arguments
'(#:configure-flags '("--disable-werror")
diff --git a/gnu/packages/patches/grub-freetype.patch b/gnu/packages/patches/grub-freetype.patch
new file mode 100644
index 0000000..286830c
--- /dev/null
+++ b/gnu/packages/patches/grub-freetype.patch
@@ -0,0 +1,24 @@
+commit fd0df6d098b1e6a4f60275c48a3ec88d15ba1fbb
+Author: Colin Watson <cjwatson@ubuntu.com>
+Date: Fri Nov 29 12:19:36 2013 +0000
+
+ Fix build with FreeType 2.5.1
+
+ * util/grub-gen-asciih.c: Include FT_SYNTHESIS_H rather than
+ <freetype/ftsynth.h>, fixing build with FreeType 2.5.1.
+ * util/grub-gen-widthspec.c: Likewise.
+ * util/grub-mkfont.c: Likewise.
+
+diff --git a/util/grub-mkfont.c b/util/grub-mkfont.c
+index 0d8eb78..242dd01 100644
+--- a/util/grub-mkfont.c
++++ b/util/grub-mkfont.c
+@@ -43,7 +43,7 @@
+ #include FT_FREETYPE_H
+ #include FT_TRUETYPE_TAGS_H
+ #include FT_TRUETYPE_TABLES_H
+-#include <freetype/ftsynth.h>
++#include FT_SYNTHESIS_H
+
+ #undef __FTERRORS_H__
+ #define FT_ERROR_START_LIST const char *ft_errmsgs[] = {
--
2.0.5
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH] gnu: grub: Add patch to fix new version of freetype
2015-03-05 8:17 [PATCH] gnu: grub: Add patch to fix new version of freetype Tomáš Čech
@ 2015-03-05 23:47 ` Ludovic Courtès
2015-03-06 18:23 ` Abhilash Mhaisne
0 siblings, 1 reply; 4+ messages in thread
From: Ludovic Courtès @ 2015-03-05 23:47 UTC (permalink / raw)
To: Tomáš Čech; +Cc: guix-devel
Tomáš Čech <sleep_walker@suse.cz> skribis:
> * gnu/packages/patches/grub-freetype.patch: New file.
> * gnu-system.am (dist_patch_DATA): Add the patch.
> * gnu/packages/grub.scm (grub): Apply new patch.
Please push!
Thanks,
Ludo’.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] gnu: grub: Add patch to fix new version of freetype
2015-03-05 23:47 ` Ludovic Courtès
@ 2015-03-06 18:23 ` Abhilash Mhaisne
2015-03-06 22:07 ` Andreas Enge
0 siblings, 1 reply; 4+ messages in thread
From: Abhilash Mhaisne @ 2015-03-06 18:23 UTC (permalink / raw)
To: guix-devel
[-- Attachment #1: Type: text/plain, Size: 469 bytes --]
opening lock file `/gnu/store/nzn085plv54xgja2zqdh5wyc7zm1lc4m-tar.lock':
Permission denied
How to solve this error ?
On Fri, Mar 6, 2015 at 5:17 AM, Ludovic Courtès <ludo@gnu.org> wrote:
> Tomáš Čech <sleep_walker@suse.cz> skribis:
>
> > * gnu/packages/patches/grub-freetype.patch: New file.
> > * gnu-system.am (dist_patch_DATA): Add the patch.
> > * gnu/packages/grub.scm (grub): Apply new patch.
>
> Please push!
>
> Thanks,
> Ludo’.
>
>
[-- Attachment #2: Type: text/html, Size: 927 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] gnu: grub: Add patch to fix new version of freetype
2015-03-06 18:23 ` Abhilash Mhaisne
@ 2015-03-06 22:07 ` Andreas Enge
0 siblings, 0 replies; 4+ messages in thread
From: Andreas Enge @ 2015-03-06 22:07 UTC (permalink / raw)
To: Abhilash Mhaisne; +Cc: guix-devel
On Fri, Mar 06, 2015 at 11:53:01PM +0530, Abhilash Mhaisne wrote:
> opening lock file `/gnu/store/nzn085plv54xgja2zqdh5wyc7zm1lc4m-tar.lock':
> Permission denied
> How to solve this error ?
Did you install the daemon as root?
Andreas
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2015-03-06 22:07 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-03-05 8:17 [PATCH] gnu: grub: Add patch to fix new version of freetype Tomáš Čech
2015-03-05 23:47 ` Ludovic Courtès
2015-03-06 18:23 ` Abhilash Mhaisne
2015-03-06 22:07 ` Andreas Enge
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).