Add 'freetype-config' to package again with '--enable-freetype-config' option 66/184166/1 accepted/tizen_5.0_unified accepted/tizen_5.5_unified accepted/tizen_5.5_unified_mobile_hotfix accepted/tizen_5.5_unified_wearable_hotfix tizen_5.0 tizen_5.5 tizen_5.5_mobile_hotfix tizen_5.5_tv tizen_5.5_wearable_hotfix accepted/tizen/5.0/unified/20181102.025257 accepted/tizen/5.5/unified/20191031.010054 accepted/tizen/5.5/unified/mobile/hotfix/20201027.063218 accepted/tizen/5.5/unified/wearable/hotfix/20201027.103056 accepted/tizen/unified/20180720.060720 submit/tizen/20180719.063101 submit/tizen_5.0/20181101.000006 submit/tizen_5.5/20191031.000006 submit/tizen_5.5_mobile_hotfix/20201026.185106 submit/tizen_5.5_wearable_hotfix/20201026.184306 tizen_5.5.m2_release
authorYoungbok Shin <youngb.shin@samsung.com>
Mon, 16 Jul 2018 04:38:55 +0000 (13:38 +0900)
committerYoungbok Shin <youngb.shin@samsung.com>
Mon, 16 Jul 2018 04:42:18 +0000 (13:42 +0900)
'freetype-config' was automatically created without any options.
I thought it was removed from the latest freetype2.
But, it was just disabled as default. It needs a explicit option to enable it.

Change-Id: If3ad6010ea2cbfcff50af3f7261cabef7781f790

packaging/freetype2.spec

index 47cf465..a1c4a1c 100644 (file)
@@ -53,7 +53,7 @@ cp %{SOURCE1001} .
 export CFLAGS+=" -fstack-protector-strong -D_FORTIFY_SOURCE=2"
 export LDFLAGS+=" -Wl,-z,relro"
 
-%configure --disable-static
+%configure --disable-static --enable-freetype-config
 sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' builds/unix/libtool
 sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' builds/unix/libtool
 make %{?_smp_mflags}
@@ -110,5 +110,6 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/*.{a,la}
 %{_datadir}/aclocal/freetype2.m4
 %{_includedir}/freetype2/*
 %{_libdir}/libfreetype.so
+%{_bindir}/freetype-config
 %{_libdir}/pkgconfig/*.pc
-
+%{_datadir}/man/man1/*