control: user debian-rele...@lists.debian.org
control: usertags -1 + bsp-2018-10-de-karlsruhe
control: tag -1 patch

Dear maintainer,

greetings from the BSP in Karlsruhe.

I have prepared a patch that teaches the build system to detect
freetype using pkg-config.

I have NMU'd to DELAYED/15; feel free to reschedule or cancel my upload
as you see fit. The debdiff is attached.

Cheers,
-Hilko
diff -Nru openmsx-0.14.0/debian/changelog openmsx-0.14.0/debian/changelog
--- openmsx-0.14.0/debian/changelog	2018-02-04 18:03:29.000000000 +0100
+++ openmsx-0.14.0/debian/changelog	2018-10-27 16:19:02.000000000 +0200
@@ -1,3 +1,10 @@
+openmsx (0.14.0-2.1) unstable; urgency=medium
+
+  * Non-maintainer upload
+  * Add patch to detect freetype2 via pkg-config (Closes: #892449)
+
+ -- Hilko Bengen <ben...@debian.org>  Sat, 27 Oct 2018 16:19:02 +0200
+
 openmsx (0.14.0-2) unstable; urgency=medium
 
   * Split dmk tools into their own binary package.
diff -Nru openmsx-0.14.0/debian/patches/freetype-pkg-config.diff openmsx-0.14.0/debian/patches/freetype-pkg-config.diff
--- openmsx-0.14.0/debian/patches/freetype-pkg-config.diff	1970-01-01 01:00:00.000000000 +0100
+++ openmsx-0.14.0/debian/patches/freetype-pkg-config.diff	2018-10-27 15:27:06.000000000 +0200
@@ -0,0 +1,14 @@
+Index: openmsx-0.14.0/build/libraries.py
+===================================================================
+--- openmsx-0.14.0.orig/build/libraries.py
++++ openmsx-0.14.0/build/libraries.py
+@@ -163,7 +163,8 @@ class FreeType(Library):
+ 	libName = 'freetype'
+ 	makeName = 'FREETYPE'
+ 	header = ('<ft2build.h>', 'FT_FREETYPE_H')
+-	configScriptName = 'freetype-config'
++	configScriptNoame = 'pkg-config'
++        dynamicLibsOption = "--libs freetype2"
+ 	function = 'FT_Open_Face'
+ 
+ 	@classmethod
diff -Nru openmsx-0.14.0/debian/patches/series openmsx-0.14.0/debian/patches/series
--- openmsx-0.14.0/debian/patches/series	2017-08-06 14:57:22.000000000 +0200
+++ openmsx-0.14.0/debian/patches/series	2018-10-27 15:03:37.000000000 +0200
@@ -3,3 +3,4 @@
 no-mips-optimization.patch
 use-packaged-font.diff
 dmk-build-rules.diff
+freetype-pkg-config.diff

Reply via email to