Search
j0ke.net Open Build Service
>
Projects
>
internetx
:
desktop
>
geany-plugins
> geany-plugins-gtkrequires.patch
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File geany-plugins-gtkrequires.patch of Package geany-plugins
--- 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)