Wiki home
Editing page "
gtkglextmm
"
Base on previous version:
0
-
1436
-
1437
-
1441
-
1443
-
1452
-
4830
# Sorry about the mess, this package is just so outdated it requires extensive patching to work with non-ancient gtk+2/glib etc. wget -c [link]http://ftp.gnome.org/pub/GNOME/sources/gtkglextmm/1.2/gtkglextmm-1.2.0.tar.bz2[/link] tar -xjf gtkglextmm-1.2.0.tar.bz2 cd gtkglextmm-1.2.0 sed -i -e '/glshapes/d;/gl_draw_/d;' gdkglext/gdkmm/gl/drawable.cc sed -i -e 's/gdkglfont/gdk/;s/retvalue =/&(Glib::RefPtr<Pango::Font>)0;/;/gl_font/{s/.*//;n;s/.*//;n;s/.*//;}' gdkglext/gdkmm/gl/font.cc sed -i -e '/value_type/,/}/d' gdkglext/gdkmm/gl/tokens.cc gdkglext/gdkmm/gl/config.cc mkdir -p build cd build ../configure --prefix="/usr" --disable-maintainer-mode sed -i -e 's/-D\([^ ]*_DISABLE_DEPRECATED\)/-U\1/g' gdkglext/gdkmm/gl/Makefile sed -i -e 's/-D\([^ ]*_DISABLE_DEPRECATED\)/-U\1/g' gtkglext/gtkmm/gl/Makefile echo "CXXFLAGS += -DGLIBMM_DISABLE_DEPRECATED=1" >> gdkglext/gdkmm/gl/Makefile sed -i -e 's/#error .*/#undef GDKGLEXTMM_MULTIHEAD_SUPPORT/' gdkglext/gdkglextmm-config.h make # Doesn't mind -j# make install
Change summary:
Tags allowed:
[pkg]name[/pkg]
Link to another package on the buildwiki by name
[link]URL[/link]
Link to an external page