OpenPKG CVS Repository
  http://cvs.openpkg.org/
  ____________________________________________________________________________

  Server: cvs.openpkg.org                  Name:   Ralf S. Engelschall
  Root:   /e/openpkg/cvs                   Email:  [EMAIL PROTECTED]
  Module: openpkg-src openpkg-web          Date:   01-Aug-2003 08:46:16
  Branch: OPENPKG_1_STABLE HEAD            Handle: 2003080107461401

  Modified files:
    openpkg-web             news.txt
  Modified files:           (Branch: OPENPKG_1_STABLE)
    openpkg-src/mico        mico.patch mico.spec

  Log:
    MFC: Qt/Gtk/Tcl fixes

  Summary:
    Revision    Changes     Path
    1.1.2.2     +81 -0      openpkg-src/mico/mico.patch
    1.16.2.3    +20 -3      openpkg-src/mico/mico.spec
    1.5961      +1  -0      openpkg-web/news.txt
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: openpkg-src/mico/mico.patch
  ============================================================================
  $ cvs diff -u -r1.1.2.1 -r1.1.2.2 mico.patch
  --- openpkg-src/mico/mico.patch       24 Jul 2003 20:50:07 -0000      1.1.2.1
  +++ openpkg-src/mico/mico.patch       1 Aug 2003 06:46:15 -0000       1.1.2.2
  @@ -58,3 +58,84 @@
    #if defined(HAVE_ISNANL)
        return isnanl (d);
    #elif defined(HAVE_ISNAN)
  +diff -Naur mico.orig/auxdir/tclmico.cc mico/auxdir/tclmico.cc
  +--- mico.orig/auxdir/tclmico.cc      Fri Dec 11 14:24:55 1998
  ++++ mico/auxdir/tclmico.cc   Wed Jul 30 16:14:17 2003
  +@@ -46,9 +46,9 @@
  +     TclDispatcher *disp = event->disp;
  +     CORBA::Long handle = event->handle;
  + 
  +-    set<FileEvent *, less<FileEvent *> > seen;
  ++    std::set<FileEvent *, std::less<FileEvent *> > seen;
  +     while (42) {
  +-    list<FileEvent *>::iterator i;
  ++    std::list<FileEvent *>::iterator i;
  +     for (i = disp->fevents.begin(); i != disp->fevents.end(); ++i) {
  +         if ((*i)->handle != handle)
  +             continue;
  +@@ -80,7 +80,7 @@
  +     TimerEvent *event = (TimerEvent *)_event;
  +     TclDispatcher *disp = event->disp;
  + 
  +-    list<TimerEvent *>::iterator i;
  ++    std::list<TimerEvent *>::iterator i;
  +     for (i = disp->tevents.begin(); i != disp->tevents.end(); ++i) {
  +         if ((*i) == event) {
  +       disp->tevents.erase(i);
  +@@ -97,13 +97,13 @@
  + 
  + TclDispatcher::~TclDispatcher ()
  + {
  +-    list<FileEvent *>::iterator i;
  ++    std::list<FileEvent *>::iterator i;
  +     for (i = fevents.begin(); i != fevents.end(); ++i) {
  +     (*i)->cb->callback (this, Remove);
  +     delete *i;
  +     }
  + 
  +-    list<TimerEvent *>::iterator j;
  ++    std::list<TimerEvent *>::iterator j;
  +     for (j = tevents.begin(); j != tevents.end(); ++j) {
  +     (*j)->cb->callback (this, Remove);
  +     delete *j;
  +@@ -123,7 +123,7 @@
  +     ev = 0;
  +     int mask = 0;
  + 
  +-    list<FileEvent *>::iterator i;
  ++    std::list<FileEvent *>::iterator i;
  +     for (i = fevents.begin(); i != fevents.end(); ++i) {
  +     if ((*i)->handle != handle)
  +         continue;
  +@@ -183,7 +183,7 @@
  + TclDispatcher::remove (CORBA::DispatcherCallback *cb, Event e)
  + {
  +     if (e == All || e == Timer) {
  +-    list<TimerEvent *>::iterator i, next;
  ++    std::list<TimerEvent *>::iterator i, next;
  +     for (i = tevents.begin(); i != tevents.end(); i = next) {
  +         next = i;
  +         ++next;
  +@@ -195,7 +195,7 @@
  +     }
  +     }
  +     if (e == All || e == Read || e == Write || e == Except) {
  +-    list<FileEvent *>::iterator i, next;
  ++    std::list<FileEvent *>::iterator i, next;
  +     for (i = fevents.begin(); i != fevents.end(); i = next) {
  +         next = i;
  +         ++next;
  +diff -Naur mico.orig/include/mico/tclmico.h mico/include/mico/tclmico.h
  +--- mico.orig/include/mico/tclmico.h Mon May 26 12:55:46 2003
  ++++ mico/include/mico/tclmico.h      Wed Jul 30 16:13:57 2003
  +@@ -57,8 +57,8 @@
  +         : disp (_disp), token (_token), cb (_cb)
  +     {}
  +     };
  +-    list<FileEvent *> fevents;
  +-    list<TimerEvent *> tevents;
  ++    std::list<FileEvent *> fevents;
  ++    std::list<TimerEvent *> tevents;
  + 
  +     static void input_callback (ClientData, int mask);
  +     static void timer_callback (ClientData);
  @@ .
  patch -p0 <<'@@ .'
  Index: openpkg-src/mico/mico.spec
  ============================================================================
  $ cvs diff -u -r1.16.2.2 -r1.16.2.3 mico.spec
  --- openpkg-src/mico/mico.spec        24 Jul 2003 20:50:07 -0000      1.16.2.2
  +++ openpkg-src/mico/mico.spec        1 Aug 2003 06:46:15 -0000       1.16.2.3
  @@ -33,7 +33,7 @@
   Group:        System
   License:      LGPL/GPL
   Version:      2.3.10
  -Release:      1.20030724
  +Release:      1.20030801
   
   #   package options
   %option       with_ssl      no
  @@ -59,6 +59,14 @@
   BuildPreReq:  qt
   PreReq:       qt
   %endif
  +%if "%{with_gtk}" == "yes"
  +BuildPreReq:  gtk
  +PreReq:       gtk
  +%endif
  +%if "%{with_tcl}" == "yes"
  +BuildPreReq:  tcl
  +PreReq:       tcl
  +%endif
   AutoReq:      no
   AutoReqProv:  no
   
  @@ -83,10 +91,19 @@
       CXX="%{l_cxx}"
       CFLAGS="%{l_cflags -O}"
       CXXFLAGS="%{l_cxxflags -O} -Wno-deprecated"
  +    CPPFLAGS="%{l_cppflags}"
  +%if "%{with_ssl}" == "yes"
  +    CPPFLAGS="$CPPFLAGS -I%{l_prefix}/include/openssl"
  +%endif
   %if "%{with_qt}" == "yes"
  -    CXXFLAGS="$CXXFLAGS %{l_cppflags qt}"
  +    CPPFLAGS="$CPPFLAGS -I%{l_prefix}/include/qt"
  +%endif
  +%if "%{with_gtk}" == "yes"
  +    CPPFLAGS="$CPPFLAGS -I%{l_prefix}/include/gtk"
  +%endif
  +%if "%{with_tcl}" == "yes"
  +    CPPFLAGS="$CPPFLAGS -I%{l_prefix}/include/tcl"
   %endif
  -    CPPFLAGS="%{l_cppflags}"
       LDFLAGS="%{l_ldflags}"
       JAVAC=no
       export CC CXX CFLAGS CXXFLAGS CPPFLAGS LDFLAGS JAVAC
  @@ .
  patch -p0 <<'@@ .'
  Index: openpkg-web/news.txt
  ============================================================================
  $ cvs diff -u -r1.5960 -r1.5961 news.txt
  --- openpkg-web/news.txt      1 Aug 2003 06:41:52 -0000       1.5960
  +++ openpkg-web/news.txt      1 Aug 2003 06:46:14 -0000       1.5961
  @@ -1,3 +1,4 @@
  +01-Aug-2003: Upgraded package: P<mico-2.3.10-1.20030801>
   01-Aug-2003: Upgraded package: P<flex-2.5.4a-1.20030801>
   31-Jul-2003: Upgraded package: P<dss-4.1.3-20030731>
   31-Jul-2003: Upgraded package: P<gcc34-3.4s20030730-20030731>
  @@ .
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
CVS Repository Commit List                     [EMAIL PROTECTED]

Reply via email to