Changes of Revision 6
[-] [+] | Changed | geany-plugins.spec |
[-] [+] | Added | geany-plugins-gtkrequires.patch ^ |
@@ -0,0 +1,12 @@ +--- configure.orig 2014-09-01 21:52:34.585305149 +0200 ++++ configure 2014-09-01 21:52:46.741304729 +0200 +@@ -13745,7 +13745,8 @@ + export PKG_CONFIG_PATH="$geany_libdir/pkgconfig:$PKG_CONFIG_PATH" + + +- _gtk_req=$(${PKG_CONFIG} --print-requires geany | ${AWK} '/^gtk\+-/{print}') ++# _gtk_req=$(${PKG_CONFIG} --print-requires geany | ${AWK} '/^gtk\+-/{print}') ++ _gtk_req=$(cat /usr/lib64/pkgconfig/geany.pc | ${GREP} ^Requires | ${AWK} -F": " '{print $2}' | ${SED} -r s@"( [[:digit:]].[[:digit:]]+)"@"\1\n"@g | ${SED} -e s@"^ "@""@g | ${AWK} '/^gtk\+-/{print}') + GP_GTK_PACKAGE=$(echo ${_gtk_req} | ${AWK} '{print $1}') + GP_GTK_VERSION=$(echo ${_gtk_req} | ${AWK} '{print $3}') + GP_GTK_VERSION_MAJOR=$(echo ${GP_GTK_VERSION} | cut -d. -f1) |