Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=797d38d3d1d69318d3d271ab7ecb58acda9be539
commit 797d38d3d1d69318d3d271ab7ecb58acda9be539 Author: bouleetbil <bouleet...@frogdev.info> Date: Fri Sep 11 22:05:52 2009 +0200 gigi-0.7.0-1-i686 *new package diff --git a/source/xlib-extra/gigi/FrugalBuild b/source/xlib-extra/gigi/FrugalBuild new file mode 100644 index 0000000..ee0f7fa --- /dev/null +++ b/source/xlib-extra/gigi/FrugalBuild @@ -0,0 +1,29 @@ +# Compiling Time: 0.40 SBU +# Maintainer: bouleetbil <bouleet...@frogdev.info> + +pkgname=gigi +_F_sourceforge_name=GG +pkgver=0.7.0 +pkgrel=1 +pkgdesc="GiGi is a small, efficient, and feature-rich C++ GUI for SDL and OpenGL" +groups=('xlib-extra') +depends=('devil' 'freetype2' 'sdl_net' 'libboost-mt' 'ogre') +makedepends=('scons') +archs=('i686') +Finclude sourceforge +source=($source boost136.diff) +sha1sums=('5e6f928b4a27506d620946819eb3166ed9f32314' \ + '5995f32d100264c1929d258864e2d250f60ed3f5') +_F_cd_path=$_F_sourceforge_name-$pkgver + +build() { + Fcd + Fpatchall + scons || Fdie + scons prefix="${Fdestdir}/usr/" pkgconfigdir="${Fdestdir}/usr/lib/pkgconfig" install || Fdie + + for dir in GiGi GiGiSDL; do + sed "s_${Fdestdir}_/_g" -i ${Fdestdir}/usr/lib/pkgconfig/${dir}.pc || Fdie + done + +} diff --git a/source/xlib-extra/gigi/boost136.diff b/source/xlib-extra/gigi/boost136.diff new file mode 100644 index 0000000..7d1781d --- /dev/null +++ b/source/xlib-extra/gigi/boost136.diff @@ -0,0 +1,87 @@ +--- trunk/GG/Control.h 2008/05/11 02:49:22 647 ++++ trunk/GG/Control.h 2008/11/15 17:08:16 658 +@@ -31,8 +31,6 @@ + + #include <GG/Wnd.h> + +-#include <boost/serialization/is_abstract.hpp> +- + + namespace GG { + +@@ -83,8 +81,6 @@ + + } // namespace GG + +-BOOST_IS_ABSTRACT(GG::Control); +- + // template implementations + template <class Archive> + void GG::Control::serialize(Archive& ar, const unsigned int version) + +--- trunk/GG/BrowseInfoWnd.h 2008/05/11 02:49:22 647 ++++ trunk/GG/BrowseInfoWnd.h 2008/11/15 17:08:16 658 +@@ -33,7 +33,6 @@ + #include <GG/Wnd.h> + #include <GG/Font.h> + +-#include <boost/serialization/is_abstract.hpp> + #include <boost/serialization/version.hpp> + + +@@ -150,7 +149,6 @@ + + } // namespace GG + +-BOOST_IS_ABSTRACT(GG::BrowseInfoWnd); + BOOST_CLASS_VERSION(GG::BrowseInfoWnd, 1); + BOOST_CLASS_VERSION(GG::TextBoxBrowseInfoWnd, 1); + + +--- GG-0.7.0/src/dialogs/FileDlg.cpp 2009-09-11 21:46:04.000000000 +0200 ++++ GG-0.7.0/src/dialogs/FileDlg.cpp 2009-09-11 21:57:46.000000000 +0200 +@@ -42,10 +42,10 @@ + + #include <boost/algorithm/string/predicate.hpp> + #include <boost/filesystem/operations.hpp> +-#include <boost/filesystem/cerrno.hpp> + #include <boost/format.hpp> + #include <boost/spirit.hpp> + #include <boost/spirit/dynamic.hpp> ++#include <boost/system/system_error.hpp> + + + using namespace GG; +@@ -704,7 +704,7 @@ + } + for (fs::directory_iterator it(s_working_dir); it != end_it; ++it) { + try { +- if (fs::exists(*it) && fs::is_directory(*it) && it->leaf()[0] != '.') { ++ if (fs::exists(*it) && fs::is_directory(*it) && it->filename()[0] != '.') { + ListBox::Row* row = new ListBox::Row(); + row->push_back("[" + it->leaf() + "]", m_font, m_text_color); + m_files_list->Insert(row); +@@ -718,12 +718,12 @@ + if (fs::exists(*it) && !fs::is_directory(*it) && it->leaf()[0] != '.') { + bool meets_filters = file_filters.empty(); + for (unsigned int i = 0; i < file_filters.size() && !meets_filters; ++i) { +- if (parse(it->leaf().c_str(), file_filters[i]).full) ++ if (parse(it->filename().c_str(), file_filters[i]).full) + meets_filters = true; + } + if (meets_filters) { + ListBox::Row* row = new ListBox::Row(); +- row->push_back(it->leaf(), m_font, m_text_color); ++ row->push_back(it->filename(), m_font, m_text_color); + m_files_list->Insert(row); + } + } +@@ -796,7 +796,7 @@ + try { + SetWorkingDirectory(fs::path(directory + "\\")); + } catch (const fs::filesystem_error& e) { +- if (e.system_error() == EIO) { ++ if (e.code() == boost::system::posix_error::io_error) { + m_in_win32_drive_selection = true; + m_files_edit->Clear(); + m_curr_dir_text->SetText(""); _______________________________________________ Frugalware-git mailing list Frugalware-git@frugalware.org http://frugalware.org/mailman/listinfo/frugalware-git