|
|
@ -87,6 +87,7 @@ appindicator-gtk3 libraries. |
|
|
|
%autosetup -p1 |
|
|
|
%autosetup -p1 |
|
|
|
|
|
|
|
|
|
|
|
sed -i "s#gmcs#mcs#g" configure.ac |
|
|
|
sed -i "s#gmcs#mcs#g" configure.ac |
|
|
|
|
|
|
|
sed -i "s/priv->sec_activate_target = g_object_ref(G_OBJECT(menuitem));/priv->sec_activate_target = g_object_ref(menuitem);/g" src/app-indicator.c |
|
|
|
autoreconf -vif |
|
|
|
autoreconf -vif |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -96,14 +97,14 @@ mkdir build-gtk2 build-gtk3 |
|
|
|
|
|
|
|
|
|
|
|
pushd build-gtk2 |
|
|
|
pushd build-gtk2 |
|
|
|
export CFLAGS="%{optflags} $CFLAGS -Wno-deprecated-declarations" |
|
|
|
export CFLAGS="%{optflags} $CFLAGS -Wno-deprecated-declarations" |
|
|
|
%configure --with-gtk=2 --enable-gtk-doc --disable-static |
|
|
|
%configure --with-gtk=2 --disable-gtk-doc --disable-static |
|
|
|
# Parallel make, crash the build |
|
|
|
# Parallel make, crash the build |
|
|
|
make -j1 V=1 |
|
|
|
make -j1 V=1 |
|
|
|
popd |
|
|
|
popd |
|
|
|
|
|
|
|
|
|
|
|
pushd build-gtk3 |
|
|
|
pushd build-gtk3 |
|
|
|
export CFLAGS="%{optflags} $CFLAGS -Wno-deprecated-declarations" |
|
|
|
export CFLAGS="%{optflags} $CFLAGS -Wno-deprecated-declarations" |
|
|
|
%configure --with-gtk=3 --enable-gtk-doc --disable-static |
|
|
|
%configure --with-gtk=3 --disable-gtk-doc --disable-static |
|
|
|
# Parallel make, crash the build |
|
|
|
# Parallel make, crash the build |
|
|
|
make -j1 V=1 |
|
|
|
make -j1 V=1 |
|
|
|
popd |
|
|
|
popd |
|
|
|